diff --git a/Makefile b/Makefile index dbb8ba1..870a2d5 100644 --- a/Makefile +++ b/Makefile @@ -6,22 +6,27 @@ SRC_DIR := proto # Output directory for compiled Go files GO_OUT_DIR := go # Output directory for compiled C++ files -CPP_OUT_DIR := cpp +CPP_OUT_DIR := cpp/include/proto # Output directory for compiled Rust files RUST_OUT_DIR := rust +# grpc install directory +GRPC_INSTALL_DIR := $(HOME)/.local/grpc + all: protos .PHONY: protos protos: check-tools mkdir -p $(GO_OUT_DIR) $(CPP_OUT_DIR) $(RUST_OUT_DIR) - protoc -I $(SRC_DIR) \ + $(GRPC_INSTALL_DIR)/bin/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) \ + --grpc_out=$(CPP_OUT_DIR) \ + --plugin=protoc-gen-grpc=$(GRPC_INSTALL_DIR)/bin/grpc_cpp_plugin \ $(SRC_DIR)/*.proto protoc-rs -I $(SRC_DIR) --out=$(RUST_OUT_DIR) $(SRC_DIR)/*.proto @@ -54,7 +59,7 @@ clean: # The tools versions we want to use -PROTOC_VERSION := 29.2 +PROTOC_VERSION := 31.1 PROTOC_GEN_GO_VERSION := 1.36.2 PROTOC_GEN_GO_GRPC_VERSION := 1.5.1 PROTOC_RS_VERSION := 0.6.0 @@ -64,7 +69,7 @@ PROTOC_RS_VERSION := 0.6.0 .ONESHELL: check-tools check-tools: @function check() { [[ "$$1" == "$$2" ]] || { echo "tool version mismatch: expected $$1, got $$2" ; exit 1 ; } } - check "libprotoc $(PROTOC_VERSION)" "$$(protoc --version)" + check "libprotoc $(PROTOC_VERSION)" "$$($(GRPC_INSTALL_DIR)/bin/protoc --version)" check "protoc-gen-go v$(PROTOC_GEN_GO_VERSION)" "$$(protoc-gen-go --version)" check "protoc-gen-go-grpc $(PROTOC_GEN_GO_GRPC_VERSION)" "$$(protoc-gen-go-grpc --version)" check "protoc-rs $(PROTOC_RS_VERSION)" "$$(protoc-rs --version)" @@ -85,10 +90,8 @@ install-tools: ( set -x - # protoc - curl -LfsSo /tmp/protoc.zip https://github.com/protocolbuffers/protobuf/releases/download/v$(PROTOC_VERSION)/protoc-$(PROTOC_VERSION)-linux-$${ARCH}.zip - rm -rf "$${HOME}/.local/bin/protoc" "$${HOME}/.local/include/google/protobuf" - unzip -o -q -d "$${HOME}/.local" /tmp/protoc.zip "bin/protoc" "include/google/protobuf/*" + # grpc installation + # TODO: do an automatic clone and install here or require to do it manually? # other tools GOBIN="$${HOME}/.local/bin" go install google.golang.org/protobuf/cmd/protoc-gen-go@v$(PROTOC_GEN_GO_VERSION) GOBIN="$${HOME}/.local/bin" go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v$(PROTOC_GEN_GO_GRPC_VERSION) 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/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/include/proto/beegfs.grpc.pb.cc b/cpp/include/proto/beegfs.grpc.pb.cc new file mode 100644 index 0000000..7cb515d --- /dev/null +++ b/cpp/include/proto/beegfs.grpc.pb.cc @@ -0,0 +1,27 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: beegfs.proto + +#include "beegfs.pb.h" +#include "beegfs.grpc.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +namespace beegfs { + +} // namespace beegfs +#include + diff --git a/cpp/include/proto/beegfs.grpc.pb.h b/cpp/include/proto/beegfs.grpc.pb.h new file mode 100644 index 0000000..1ac7cde --- /dev/null +++ b/cpp/include/proto/beegfs.grpc.pb.h @@ -0,0 +1,35 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: beegfs.proto +#ifndef GRPC_beegfs_2eproto__INCLUDED +#define GRPC_beegfs_2eproto__INCLUDED + +#include "beegfs.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace beegfs { + +} // namespace beegfs + + +#include +#endif // GRPC_beegfs_2eproto__INCLUDED diff --git a/cpp/beegfs.pb.cc b/cpp/include/proto/beegfs.pb.cc similarity index 56% rename from cpp/beegfs.pb.cc rename to cpp/include/proto/beegfs.pb.cc index a345520..5935359 100644 --- a/cpp/beegfs.pb.cc +++ b/cpp/include/proto/beegfs.pb.cc @@ -1,7 +1,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // NO CHECKED-IN PROTOBUF GENCODE // source: beegfs.proto -// Protobuf C++ Version: 5.29.2 +// Protobuf C++ Version: 6.31.1 #include "beegfs.pb.h" @@ -28,14 +28,14 @@ namespace beegfs { inline constexpr LegacyId::Impl_::Impl_( ::_pbi::ConstantInitialized) noexcept - : num_id_{0u}, - node_type_{static_cast< ::beegfs::NodeType >(0)}, - _cached_size_{0} {} + : _cached_size_{0}, + num_id_{0u}, + node_type_{static_cast< ::beegfs::NodeType >(0)} {} template PROTOBUF_CONSTEXPR LegacyId::LegacyId(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(LegacyId_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -64,7 +64,7 @@ inline constexpr EntityIdSet::Impl_::Impl_( template PROTOBUF_CONSTEXPR EntityIdSet::EntityIdSet(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(EntityIdSet_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -81,30 +81,23 @@ struct EntityIdSetDefaultTypeInternal { 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** +static const ::_pb::EnumDescriptor* PROTOBUF_NONNULL + file_level_enum_descriptors_beegfs_2eproto[8]; +static constexpr const ::_pb::ServiceDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE 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) + 0x081, // bitmap + PROTOBUF_FIELD_OFFSET(::beegfs::LegacyId, _impl_._has_bits_), + 5, // hasbit index offset PROTOBUF_FIELD_OFFSET(::beegfs::LegacyId, _impl_.num_id_), PROTOBUF_FIELD_OFFSET(::beegfs::LegacyId, _impl_.node_type_), + 0, + 1, + 0x081, // bitmap 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) + 6, // hasbit index offset PROTOBUF_FIELD_OFFSET(::beegfs::EntityIdSet, _impl_.uid_), PROTOBUF_FIELD_OFFSET(::beegfs::EntityIdSet, _impl_.alias_), PROTOBUF_FIELD_OFFSET(::beegfs::EntityIdSet, _impl_.legacy_id_), @@ -115,10 +108,10 @@ const ::uint32_t static const ::_pbi::MigrationSchema schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { - {0, -1, -1, sizeof(::beegfs::LegacyId)}, - {10, 21, -1, sizeof(::beegfs::EntityIdSet)}, + {0, sizeof(::beegfs::LegacyId)}, + {7, sizeof(::beegfs::EntityIdSet)}, }; -static const ::_pb::Message* const file_default_instances[] = { +static const ::_pb::Message* PROTOBUF_NONNULL const file_default_instances[] = { &::beegfs::_LegacyId_default_instance_._instance, &::beegfs::_EntityIdSet_default_instance_._instance, }; @@ -167,87 +160,67 @@ PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_beegfs_2eproto file_level_service_descriptors_beegfs_2eproto, }; namespace beegfs { -const ::google::protobuf::EnumDescriptor* EntityType_descriptor() { +const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL 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() { +const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL 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() { +const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL 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() { +const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL 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() { +const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL 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() { +const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL 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() { +const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL 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() { +const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL 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: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(LegacyId, _impl_._has_bits_); }; -LegacyId::LegacyId(::google::protobuf::Arena* arena) +LegacyId::LegacyId(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, LegacyId_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -255,16 +228,22 @@ LegacyId::LegacyId(::google::protobuf::Arena* arena) // @@protoc_insertion_point(arena_constructor:beegfs.LegacyId) } LegacyId::LegacyId( - ::google::protobuf::Arena* arena, const LegacyId& from) - : LegacyId(arena) { - MergeFrom(from); + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const LegacyId& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, LegacyId_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); } -inline PROTOBUF_NDEBUG_INLINE LegacyId::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE LegacyId::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : _cached_size_{0} {} -inline void LegacyId::SharedCtor(::_pb::Arena* arena) { +inline void LegacyId::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); ::memset(reinterpret_cast(&_impl_) + offsetof(Impl_, num_id_), @@ -284,45 +263,53 @@ inline void LegacyId::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* LegacyId::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL LegacyId::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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(), +constexpr auto LegacyId::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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, + &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_FIELD_OFFSET(LegacyId, _impl_._cached_size_), + false, + }, + &LegacyId::kDescriptorMethods, + &descriptor_table_beegfs_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull LegacyId_class_data_ = + LegacyId::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +LegacyId::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&LegacyId_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(LegacyId_class_data_.tc_table); + return LegacyId_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<1, 2, 0, 0, 2> LegacyId::_table_ = { +const ::_pbi::TcParseTable<1, 2, 0, 0, 2> +LegacyId::_table_ = { { - 0, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(LegacyId, _impl_._has_bits_), 0, // no _extensions_ 2, 8, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), @@ -331,7 +318,7 @@ const ::_pbi::TcParseTable<1, 2, 0, 0, 2> LegacyId::_table_ = { 2, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), + LegacyId_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -339,26 +326,25 @@ const ::_pbi::TcParseTable<1, 2, 0, 0, 2> LegacyId::_table_ = { #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_)}}, + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(LegacyId, _impl_.node_type_), 1>(), + {16, 1, 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_)}}, + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(LegacyId, _impl_.num_id_), 0>(), + {8, 0, 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)}, + {PROTOBUF_FIELD_OFFSET(LegacyId, _impl_.num_id_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, // .beegfs.NodeType node_type = 2; - {PROTOBUF_FIELD_OFFSET(LegacyId, _impl_.node_type_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, + {PROTOBUF_FIELD_OFFSET(LegacyId, _impl_.node_type_), _Internal::kHasBitsOffset + 1, 0, + (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)}, }}, // no aux_entries {{ }}, }; - PROTOBUF_NOINLINE void LegacyId::Clear() { // @@protoc_insertion_point(message_clear_start:beegfs.LegacyId) ::google::protobuf::internal::TSanWrite(&_impl_); @@ -366,80 +352,93 @@ PROTOBUF_NOINLINE void LegacyId::Clear() { // 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_)); + cached_has_bits = _impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000003u) != 0) { + ::memset(&_impl_.num_id_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.node_type_) - + reinterpret_cast(&_impl_.num_id_)) + sizeof(_impl_.node_type_)); + } + _impl_._has_bits_.Clear(); _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); +::uint8_t* PROTOBUF_NONNULL LegacyId::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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; +::uint8_t* PROTOBUF_NONNULL LegacyId::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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; - } + // @@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_._impl_._has_bits_[0] & 0x00000001u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000002u) != 0) { + if (this_._internal_node_type() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 2, this_._internal_node_type(), target); + } + } + + if (ABSL_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); +::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; +::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_); - } + // @@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_); + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000003u) != 0) { + // uint32 num_id = 1; + if ((cached_has_bits & 0x00000001u) != 0) { + if (this_._internal_num_id() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_num_id()); + } + } + // .beegfs.NodeType node_type = 2; + if ((cached_has_bits & 0x00000002u) != 0) { + 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); @@ -449,12 +448,20 @@ void LegacyId::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google ::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_; + cached_has_bits = from._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000003u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + if (from._internal_num_id() != 0) { + _this->_impl_.num_id_ = from._impl_.num_id_; + } + } + if ((cached_has_bits & 0x00000002u) != 0) { + if (from._internal_node_type() != 0) { + _this->_impl_.node_type_ = from._impl_.node_type_; + } + } } + _this->_impl_._has_bits_[0] |= cached_has_bits; _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } @@ -466,9 +473,10 @@ void LegacyId::CopyFrom(const LegacyId& from) { } -void LegacyId::InternalSwap(LegacyId* PROTOBUF_RESTRICT other) { - using std::swap; +void LegacyId::InternalSwap(LegacyId* PROTOBUF_RESTRICT PROTOBUF_NONNULL 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(LegacyId, _impl_.node_type_) + sizeof(LegacyId::_impl_.node_type_) @@ -485,32 +493,33 @@ ::google::protobuf::Metadata LegacyId::GetMetadata() const { class EntityIdSet::_Internal { public: using HasBits = - decltype(std::declval()._impl_._has_bits_); + 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) +EntityIdSet::EntityIdSet(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, EntityIdSet_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) +PROTOBUF_NDEBUG_INLINE EntityIdSet::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const EntityIdSet& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, EntityIdSet_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -520,20 +529,20 @@ EntityIdSet::EntityIdSet( 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_.legacy_id_ = ((cached_has_bits & 0x00000002u) != 0) + ? ::google::protobuf::Message::CopyConstruct(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_( +PROTOBUF_NDEBUG_INLINE EntityIdSet::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : _cached_size_{0}, alias_(arena) {} -inline void EntityIdSet::SharedCtor(::_pb::Arena* arena) { +inline void EntityIdSet::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); ::memset(reinterpret_cast(&_impl_) + offsetof(Impl_, legacy_id_), @@ -555,43 +564,51 @@ inline void EntityIdSet::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* EntityIdSet::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL EntityIdSet::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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(), +constexpr auto EntityIdSet::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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, + &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_FIELD_OFFSET(EntityIdSet, _impl_._cached_size_), + false, + }, + &EntityIdSet::kDescriptorMethods, + &descriptor_table_beegfs_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull EntityIdSet_class_data_ = + EntityIdSet::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +EntityIdSet::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&EntityIdSet_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(EntityIdSet_class_data_.tc_table); + return EntityIdSet_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<2, 3, 1, 32, 2> EntityIdSet::_table_ = { +const ::_pbi::TcParseTable<2, 3, 1, 32, 2> +EntityIdSet::_table_ = { { PROTOBUF_FIELD_OFFSET(EntityIdSet, _impl_._has_bits_), 0, // no _extensions_ @@ -602,7 +619,7 @@ const ::_pbi::TcParseTable<2, 3, 1, 32, 2> EntityIdSet::_table_ = { 3, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + EntityIdSet_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -631,15 +648,16 @@ const ::_pbi::TcParseTable<2, 3, 1, 32, 2> EntityIdSet::_table_ = { // 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>()}, - }}, {{ + }}, + {{ + {::_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_); @@ -648,11 +666,11 @@ PROTOBUF_NOINLINE void EntityIdSet::Clear() { (void) cached_has_bits; cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000003u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { _impl_.alias_.ClearNonDefaultToEmpty(); } - if (cached_has_bits & 0x00000002u) { + if ((cached_has_bits & 0x00000002u) != 0) { ABSL_DCHECK(_impl_.legacy_id_ != nullptr); _impl_.legacy_id_->Clear(); } @@ -663,88 +681,88 @@ PROTOBUF_NOINLINE void EntityIdSet::Clear() { } #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); +::uint8_t* PROTOBUF_NONNULL EntityIdSet::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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; +::uint8_t* PROTOBUF_NONNULL EntityIdSet::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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; - } + // @@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) != 0) { + target = + ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<1>( + stream, this_._internal_uid(), target); + } + + // optional string alias = 2; + if ((cached_has_bits & 0x00000001u) != 0) { + 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) != 0) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.legacy_id_, this_._impl_.legacy_id_->GetCachedSize(), target, + stream); + } + + if (ABSL_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); +::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; +::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_); - } + // @@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) != 0) { + // optional string alias = 2; + if ((cached_has_bits & 0x00000001u) != 0) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_alias()); + } + // optional .beegfs.LegacyId legacy_id = 3; + if ((cached_has_bits & 0x00000002u) != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.legacy_id_); + } + // optional int64 uid = 1; + if ((cached_has_bits & 0x00000004u) != 0) { + 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); @@ -756,20 +774,19 @@ void EntityIdSet::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::goo (void) cached_has_bits; cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000007u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { _this->_internal_set_alias(from._internal_alias()); } - if (cached_has_bits & 0x00000002u) { + if ((cached_has_bits & 0x00000002u) != 0) { 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_); + _this->_impl_.legacy_id_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.legacy_id_); } else { _this->_impl_.legacy_id_->MergeFrom(*from._impl_.legacy_id_); } } - if (cached_has_bits & 0x00000004u) { + if ((cached_has_bits & 0x00000004u) != 0) { _this->_impl_.uid_ = from._impl_.uid_; } } @@ -785,8 +802,8 @@ void EntityIdSet::CopyFrom(const EntityIdSet& from) { } -void EntityIdSet::InternalSwap(EntityIdSet* PROTOBUF_RESTRICT other) { - using std::swap; +void EntityIdSet::InternalSwap(EntityIdSet* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; auto* arena = GetArena(); ABSL_DCHECK_EQ(arena, other->GetArena()); _internal_metadata_.InternalSwap(&other->_internal_metadata_); @@ -811,7 +828,7 @@ namespace protobuf { } // namespace google // @@protoc_insertion_point(global_scope) PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type - _static_init2_ PROTOBUF_UNUSED = + _static_init2_ [[maybe_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/include/proto/beegfs.pb.h similarity index 58% rename from cpp/beegfs.pb.h rename to cpp/include/proto/beegfs.pb.h index 4f2b6fc..5865204 100644 --- a/cpp/beegfs.pb.h +++ b/cpp/include/proto/beegfs.pb.h @@ -1,7 +1,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // NO CHECKED-IN PROTOBUF GENCODE // source: beegfs.proto -// Protobuf C++ Version: 5.29.2 +// Protobuf C++ Version: 6.31.1 #ifndef beegfs_2eproto_2epb_2eh #define beegfs_2eproto_2epb_2eh @@ -12,7 +12,7 @@ #include #include "google/protobuf/runtime_version.h" -#if PROTOBUF_VERSION != 5029002 +#if PROTOBUF_VERSION != 6031001 #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" @@ -50,18 +50,61 @@ ::absl::string_view GetAnyMessageName(); struct TableStruct_beegfs_2eproto { static const ::uint32_t offsets[]; }; -extern const ::google::protobuf::internal::DescriptorTable - descriptor_table_beegfs_2eproto; +extern "C" { +extern const ::google::protobuf::internal::DescriptorTable descriptor_table_beegfs_2eproto; +} // extern "C" namespace beegfs { +enum CapacityPool : int; +extern const uint32_t CapacityPool_internal_data_[]; +enum ConsistencyState : int; +extern const uint32_t ConsistencyState_internal_data_[]; +enum EntityType : int; +extern const uint32_t EntityType_internal_data_[]; +enum NicType : int; +extern const uint32_t NicType_internal_data_[]; +enum NodeType : int; +extern const uint32_t NodeType_internal_data_[]; +enum QuotaIdType : int; +extern const uint32_t QuotaIdType_internal_data_[]; +enum QuotaType : int; +extern const uint32_t QuotaType_internal_data_[]; +enum ReachabilityState : int; +extern const uint32_t ReachabilityState_internal_data_[]; class EntityIdSet; struct EntityIdSetDefaultTypeInternal; extern EntityIdSetDefaultTypeInternal _EntityIdSet_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull EntityIdSet_class_data_; class LegacyId; struct LegacyIdDefaultTypeInternal; extern LegacyIdDefaultTypeInternal _LegacyId_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull LegacyId_class_data_; } // namespace beegfs namespace google { namespace protobuf { +template <> +internal::EnumTraitsT<::beegfs::CapacityPool_internal_data_> + internal::EnumTraitsImpl::value<::beegfs::CapacityPool>; +template <> +internal::EnumTraitsT<::beegfs::ConsistencyState_internal_data_> + internal::EnumTraitsImpl::value<::beegfs::ConsistencyState>; +template <> +internal::EnumTraitsT<::beegfs::EntityType_internal_data_> + internal::EnumTraitsImpl::value<::beegfs::EntityType>; +template <> +internal::EnumTraitsT<::beegfs::NicType_internal_data_> + internal::EnumTraitsImpl::value<::beegfs::NicType>; +template <> +internal::EnumTraitsT<::beegfs::NodeType_internal_data_> + internal::EnumTraitsImpl::value<::beegfs::NodeType>; +template <> +internal::EnumTraitsT<::beegfs::QuotaIdType_internal_data_> + internal::EnumTraitsImpl::value<::beegfs::QuotaIdType>; +template <> +internal::EnumTraitsT<::beegfs::QuotaType_internal_data_> + internal::EnumTraitsImpl::value<::beegfs::QuotaType>; +template <> +internal::EnumTraitsT<::beegfs::ReachabilityState_internal_data_> + internal::EnumTraitsImpl::value<::beegfs::ReachabilityState>; } // namespace protobuf } // namespace google @@ -73,34 +116,37 @@ enum EntityType : int { BUDDY_GROUP = 3, POOL = 4, EntityType_INT_MIN_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::min(), + ::std::numeric_limits<::int32_t>::min(), EntityType_INT_MAX_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::max(), + ::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(); +inline constexpr EntityType EntityType_MIN = + static_cast(0); +inline constexpr EntityType EntityType_MAX = + static_cast(4); +inline bool EntityType_IsValid(int value) { + return 0 <= value && value <= 4; +} +inline constexpr int EntityType_ARRAYSIZE = 4 + 1; +const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL EntityType_descriptor(); template -const std::string& EntityType_Name(T value) { - static_assert(std::is_same::value || - std::is_integral::value, +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( +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); +inline bool EntityType_Parse( + ::absl::string_view name, EntityType* PROTOBUF_NONNULL value) { + return ::google::protobuf::internal::ParseNamedEnum(EntityType_descriptor(), name, + value); } enum NodeType : int { NODE_TYPE_UNSPECIFIED = 0, @@ -109,34 +155,37 @@ enum NodeType : int { STORAGE = 3, MANAGEMENT = 4, NodeType_INT_MIN_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::min(), + ::std::numeric_limits<::int32_t>::min(), NodeType_INT_MAX_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::max(), + ::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(); +inline constexpr NodeType NodeType_MIN = + static_cast(0); +inline constexpr NodeType NodeType_MAX = + static_cast(4); +inline bool NodeType_IsValid(int value) { + return 0 <= value && value <= 4; +} +inline constexpr int NodeType_ARRAYSIZE = 4 + 1; +const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL NodeType_descriptor(); template -const std::string& NodeType_Name(T value) { - static_assert(std::is_same::value || - std::is_integral::value, +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( +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); +inline bool NodeType_Parse( + ::absl::string_view name, NodeType* PROTOBUF_NONNULL value) { + return ::google::protobuf::internal::ParseNamedEnum(NodeType_descriptor(), name, + value); } enum ReachabilityState : int { REACHABILITY_STATE_UNSPECIFIED = 0, @@ -144,34 +193,37 @@ enum ReachabilityState : int { POFFLINE = 2, OFFLINE = 3, ReachabilityState_INT_MIN_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::min(), + ::std::numeric_limits<::int32_t>::min(), ReachabilityState_INT_MAX_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::max(), + ::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(); +inline constexpr ReachabilityState ReachabilityState_MIN = + static_cast(0); +inline constexpr ReachabilityState ReachabilityState_MAX = + static_cast(3); +inline bool ReachabilityState_IsValid(int value) { + return 0 <= value && value <= 3; +} +inline constexpr int ReachabilityState_ARRAYSIZE = 3 + 1; +const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL ReachabilityState_descriptor(); template -const std::string& ReachabilityState_Name(T value) { - static_assert(std::is_same::value || - std::is_integral::value, +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( +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); +inline bool ReachabilityState_Parse( + ::absl::string_view name, ReachabilityState* PROTOBUF_NONNULL value) { + return ::google::protobuf::internal::ParseNamedEnum(ReachabilityState_descriptor(), name, + value); } enum ConsistencyState : int { CONSISTENCY_STATE_UNSPECIFIED = 0, @@ -179,34 +231,37 @@ enum ConsistencyState : int { NEEDS_RESYNC = 2, BAD = 3, ConsistencyState_INT_MIN_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::min(), + ::std::numeric_limits<::int32_t>::min(), ConsistencyState_INT_MAX_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::max(), + ::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(); +inline constexpr ConsistencyState ConsistencyState_MIN = + static_cast(0); +inline constexpr ConsistencyState ConsistencyState_MAX = + static_cast(3); +inline bool ConsistencyState_IsValid(int value) { + return 0 <= value && value <= 3; +} +inline constexpr int ConsistencyState_ARRAYSIZE = 3 + 1; +const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL ConsistencyState_descriptor(); template -const std::string& ConsistencyState_Name(T value) { - static_assert(std::is_same::value || - std::is_integral::value, +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( +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); +inline bool ConsistencyState_Parse( + ::absl::string_view name, ConsistencyState* PROTOBUF_NONNULL value) { + return ::google::protobuf::internal::ParseNamedEnum(ConsistencyState_descriptor(), name, + value); } enum CapacityPool : int { CAPACITY_POOL_UNSPECIFIED = 0, @@ -214,136 +269,148 @@ enum CapacityPool : int { LOW = 2, EMERGENCY = 3, CapacityPool_INT_MIN_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::min(), + ::std::numeric_limits<::int32_t>::min(), CapacityPool_INT_MAX_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::max(), + ::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(); +inline constexpr CapacityPool CapacityPool_MIN = + static_cast(0); +inline constexpr CapacityPool CapacityPool_MAX = + static_cast(3); +inline bool CapacityPool_IsValid(int value) { + return 0 <= value && value <= 3; +} +inline constexpr int CapacityPool_ARRAYSIZE = 3 + 1; +const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL CapacityPool_descriptor(); template -const std::string& CapacityPool_Name(T value) { - static_assert(std::is_same::value || - std::is_integral::value, +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( +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); +inline bool CapacityPool_Parse( + ::absl::string_view name, CapacityPool* PROTOBUF_NONNULL 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(), + ::std::numeric_limits<::int32_t>::min(), NicType_INT_MAX_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::max(), + ::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(); +inline constexpr NicType NicType_MIN = + static_cast(0); +inline constexpr NicType NicType_MAX = + static_cast(2); +inline bool NicType_IsValid(int value) { + return 0 <= value && value <= 2; +} +inline constexpr int NicType_ARRAYSIZE = 2 + 1; +const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL NicType_descriptor(); template -const std::string& NicType_Name(T value) { - static_assert(std::is_same::value || - std::is_integral::value, +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( +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); +inline bool NicType_Parse( + ::absl::string_view name, NicType* PROTOBUF_NONNULL 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(), + ::std::numeric_limits<::int32_t>::min(), QuotaIdType_INT_MAX_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::max(), + ::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(); +inline constexpr QuotaIdType QuotaIdType_MIN = + static_cast(0); +inline constexpr QuotaIdType QuotaIdType_MAX = + static_cast(2); +inline bool QuotaIdType_IsValid(int value) { + return 0 <= value && value <= 2; +} +inline constexpr int QuotaIdType_ARRAYSIZE = 2 + 1; +const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL QuotaIdType_descriptor(); template -const std::string& QuotaIdType_Name(T value) { - static_assert(std::is_same::value || - std::is_integral::value, +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( +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); +inline bool QuotaIdType_Parse( + ::absl::string_view name, QuotaIdType* PROTOBUF_NONNULL 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(), + ::std::numeric_limits<::int32_t>::min(), QuotaType_INT_MAX_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::max(), + ::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(); +inline constexpr QuotaType QuotaType_MIN = + static_cast(0); +inline constexpr QuotaType QuotaType_MAX = + static_cast(2); +inline bool QuotaType_IsValid(int value) { + return 0 <= value && value <= 2; +} +inline constexpr int QuotaType_ARRAYSIZE = 2 + 1; +const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL QuotaType_descriptor(); template -const std::string& QuotaType_Name(T value) { - static_assert(std::is_same::value || - std::is_integral::value, +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( +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); +inline bool QuotaType_Parse( + ::absl::string_view name, QuotaType* PROTOBUF_NONNULL value) { + return ::google::protobuf::internal::ParseNamedEnum(QuotaType_descriptor(), name, + value); } // =================================================================== @@ -358,19 +425,18 @@ class LegacyId final : public ::google::protobuf::Message ~LegacyId() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(LegacyId* msg, std::destroying_delete_t) { + void operator delete(LegacyId* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(LegacyId)); } #endif template - explicit PROTOBUF_CONSTEXPR LegacyId( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : LegacyId(nullptr, ::std::move(from)) {} inline LegacyId& operator=(const LegacyId& from) { CopyFrom(from); return *this; @@ -389,30 +455,27 @@ class LegacyId final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(LegacyId* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -420,7 +483,7 @@ class LegacyId final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(LegacyId* other) { + void UnsafeArenaSwap(LegacyId* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -428,7 +491,7 @@ class LegacyId final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - LegacyId* New(::google::protobuf::Arena* arena = nullptr) const { + LegacyId* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -437,9 +500,8 @@ class LegacyId final : public ::google::protobuf::Message void MergeFrom(const LegacyId& from) { LegacyId::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -449,49 +511,51 @@ class LegacyId final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(LegacyId* other); + void InternalSwap(LegacyId* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit LegacyId(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + LegacyId(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const LegacyId& from); + LegacyId( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -524,9 +588,9 @@ class LegacyId final : public ::google::protobuf::Message private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 1, 2, 0, - 0, 2> + static const ::google::protobuf::internal::TcParseTable<1, 2, + 0, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -536,21 +600,25 @@ class LegacyId final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const LegacyId& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; ::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; }; + +extern const ::google::protobuf::internal::ClassDataFull LegacyId_class_data_; // ------------------------------------------------------------------- class EntityIdSet final : public ::google::protobuf::Message @@ -560,19 +628,18 @@ class EntityIdSet final : public ::google::protobuf::Message ~EntityIdSet() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(EntityIdSet* msg, std::destroying_delete_t) { + void operator delete(EntityIdSet* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(EntityIdSet)); } #endif template - explicit PROTOBUF_CONSTEXPR EntityIdSet( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : EntityIdSet(nullptr, ::std::move(from)) {} inline EntityIdSet& operator=(const EntityIdSet& from) { CopyFrom(from); return *this; @@ -591,30 +658,27 @@ class EntityIdSet final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(EntityIdSet* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -622,7 +686,7 @@ class EntityIdSet final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(EntityIdSet* other) { + void UnsafeArenaSwap(EntityIdSet* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -630,7 +694,7 @@ class EntityIdSet final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - EntityIdSet* New(::google::protobuf::Arena* arena = nullptr) const { + EntityIdSet* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -639,9 +703,8 @@ class EntityIdSet final : public ::google::protobuf::Message void MergeFrom(const EntityIdSet& from) { EntityIdSet::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -651,49 +714,51 @@ class EntityIdSet final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(EntityIdSet* other); + void InternalSwap(EntityIdSet* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit EntityIdSet(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + EntityIdSet(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const EntityIdSet& from); + EntityIdSet( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -706,33 +771,32 @@ class EntityIdSet final : public ::google::protobuf::Message // optional string alias = 2; bool has_alias() const; void clear_alias() ; - const std::string& alias() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_alias(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_alias(); + void set_allocated_alias(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_alias() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_alias(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _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(); + [[nodiscard]] ::beegfs::LegacyId* PROTOBUF_NULLABLE release_legacy_id(); + ::beegfs::LegacyId* PROTOBUF_NONNULL mutable_legacy_id(); + void set_allocated_legacy_id(::beegfs::LegacyId* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_legacy_id(::beegfs::LegacyId* PROTOBUF_NULLABLE value); + ::beegfs::LegacyId* PROTOBUF_NULLABLE unsafe_arena_release_legacy_id(); private: const ::beegfs::LegacyId& _internal_legacy_id() const; - ::beegfs::LegacyId* _internal_mutable_legacy_id(); + ::beegfs::LegacyId* PROTOBUF_NONNULL _internal_mutable_legacy_id(); public: // optional int64 uid = 1; @@ -750,9 +814,9 @@ class EntityIdSet final : public ::google::protobuf::Message private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 2, 3, 1, - 32, 2> + static const ::google::protobuf::internal::TcParseTable<2, 3, + 1, 32, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -762,17 +826,18 @@ class EntityIdSet final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const 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_; + ::beegfs::LegacyId* PROTOBUF_NULLABLE legacy_id_; ::int64_t uid_; PROTOBUF_TSAN_DECLARE_MEMBER }; @@ -780,6 +845,8 @@ class EntityIdSet final : public ::google::protobuf::Message friend struct ::TableStruct_beegfs_2eproto; }; +extern const ::google::protobuf::internal::ClassDataFull EntityIdSet_class_data_; + // =================================================================== @@ -800,6 +867,7 @@ class EntityIdSet final : public ::google::protobuf::Message inline void LegacyId::clear_num_id() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.num_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; } inline ::uint32_t LegacyId::num_id() const { // @@protoc_insertion_point(field_get:beegfs.LegacyId.num_id) @@ -807,6 +875,7 @@ inline ::uint32_t LegacyId::num_id() const { } inline void LegacyId::set_num_id(::uint32_t value) { _internal_set_num_id(value); + _impl_._has_bits_[0] |= 0x00000001u; // @@protoc_insertion_point(field_set:beegfs.LegacyId.num_id) } inline ::uint32_t LegacyId::_internal_num_id() const { @@ -822,6 +891,7 @@ inline void LegacyId::_internal_set_num_id(::uint32_t value) { inline void LegacyId::clear_node_type() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.node_type_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; } inline ::beegfs::NodeType LegacyId::node_type() const { // @@protoc_insertion_point(field_get:beegfs.LegacyId.node_type) @@ -829,6 +899,7 @@ inline ::beegfs::NodeType LegacyId::node_type() const { } inline void LegacyId::set_node_type(::beegfs::NodeType value) { _internal_set_node_type(value); + _impl_._has_bits_[0] |= 0x00000002u; // @@protoc_insertion_point(field_set:beegfs.LegacyId.node_type) } inline ::beegfs::NodeType LegacyId::_internal_node_type() const { @@ -882,39 +953,39 @@ inline void EntityIdSet::clear_alias() { _impl_.alias_.ClearToEmpty(); _impl_._has_bits_[0] &= ~0x00000001u; } -inline const std::string& EntityIdSet::alias() const +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) { +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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +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() { +inline ::std::string* PROTOBUF_NONNULL 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() { +inline ::std::string* PROTOBUF_NULLABLE EntityIdSet::release_alias() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:beegfs.EntityIdSet.alias) if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { @@ -927,7 +998,7 @@ inline std::string* EntityIdSet::release_alias() { } return released; } -inline void EntityIdSet::set_allocated_alias(std::string* value) { +inline void EntityIdSet::set_allocated_alias(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (value != nullptr) { _impl_._has_bits_[0] |= 0x00000001u; @@ -961,7 +1032,8 @@ inline const ::beegfs::LegacyId& EntityIdSet::legacy_id() const ABSL_ATTRIBUTE_L // @@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) { +inline void EntityIdSet::unsafe_arena_set_allocated_legacy_id( + ::beegfs::LegacyId* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.legacy_id_); @@ -974,7 +1046,7 @@ inline void EntityIdSet::unsafe_arena_set_allocated_legacy_id(::beegfs::LegacyId } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:beegfs.EntityIdSet.legacy_id) } -inline ::beegfs::LegacyId* EntityIdSet::release_legacy_id() { +inline ::beegfs::LegacyId* PROTOBUF_NULLABLE EntityIdSet::release_legacy_id() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000002u; @@ -993,7 +1065,7 @@ inline ::beegfs::LegacyId* EntityIdSet::release_legacy_id() { } return released; } -inline ::beegfs::LegacyId* EntityIdSet::unsafe_arena_release_legacy_id() { +inline ::beegfs::LegacyId* PROTOBUF_NULLABLE EntityIdSet::unsafe_arena_release_legacy_id() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:beegfs.EntityIdSet.legacy_id) @@ -1002,7 +1074,7 @@ inline ::beegfs::LegacyId* EntityIdSet::unsafe_arena_release_legacy_id() { _impl_.legacy_id_ = nullptr; return temp; } -inline ::beegfs::LegacyId* EntityIdSet::_internal_mutable_legacy_id() { +inline ::beegfs::LegacyId* PROTOBUF_NONNULL EntityIdSet::_internal_mutable_legacy_id() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.legacy_id_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::LegacyId>(GetArena()); @@ -1010,21 +1082,22 @@ inline ::beegfs::LegacyId* EntityIdSet::_internal_mutable_legacy_id() { } return _impl_.legacy_id_; } -inline ::beegfs::LegacyId* EntityIdSet::mutable_legacy_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::beegfs::LegacyId* PROTOBUF_NONNULL 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) { +inline void EntityIdSet::set_allocated_legacy_id(::beegfs::LegacyId* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { - delete (_impl_.legacy_id_); + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.legacy_id_); } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = value->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } @@ -1051,49 +1124,49 @@ namespace protobuf { template <> struct is_proto_enum<::beegfs::EntityType> : std::true_type {}; template <> -inline const EnumDescriptor* GetEnumDescriptor<::beegfs::EntityType>() { +inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::beegfs::EntityType>() { return ::beegfs::EntityType_descriptor(); } template <> struct is_proto_enum<::beegfs::NodeType> : std::true_type {}; template <> -inline const EnumDescriptor* GetEnumDescriptor<::beegfs::NodeType>() { +inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::beegfs::NodeType>() { return ::beegfs::NodeType_descriptor(); } template <> struct is_proto_enum<::beegfs::ReachabilityState> : std::true_type {}; template <> -inline const EnumDescriptor* GetEnumDescriptor<::beegfs::ReachabilityState>() { +inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::beegfs::ReachabilityState>() { return ::beegfs::ReachabilityState_descriptor(); } template <> struct is_proto_enum<::beegfs::ConsistencyState> : std::true_type {}; template <> -inline const EnumDescriptor* GetEnumDescriptor<::beegfs::ConsistencyState>() { +inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::beegfs::ConsistencyState>() { return ::beegfs::ConsistencyState_descriptor(); } template <> struct is_proto_enum<::beegfs::CapacityPool> : std::true_type {}; template <> -inline const EnumDescriptor* GetEnumDescriptor<::beegfs::CapacityPool>() { +inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::beegfs::CapacityPool>() { return ::beegfs::CapacityPool_descriptor(); } template <> struct is_proto_enum<::beegfs::NicType> : std::true_type {}; template <> -inline const EnumDescriptor* GetEnumDescriptor<::beegfs::NicType>() { +inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::beegfs::NicType>() { return ::beegfs::NicType_descriptor(); } template <> struct is_proto_enum<::beegfs::QuotaIdType> : std::true_type {}; template <> -inline const EnumDescriptor* GetEnumDescriptor<::beegfs::QuotaIdType>() { +inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::beegfs::QuotaIdType>() { return ::beegfs::QuotaIdType_descriptor(); } template <> struct is_proto_enum<::beegfs::QuotaType> : std::true_type {}; template <> -inline const EnumDescriptor* GetEnumDescriptor<::beegfs::QuotaType>() { +inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::beegfs::QuotaType>() { return ::beegfs::QuotaType_descriptor(); } diff --git a/cpp/include/proto/beeremote.grpc.pb.cc b/cpp/include/proto/beeremote.grpc.pb.cc new file mode 100644 index 0000000..1332992 --- /dev/null +++ b/cpp/include/proto/beeremote.grpc.pb.cc @@ -0,0 +1,368 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: beeremote.proto + +#include "beeremote.pb.h" +#include "beeremote.grpc.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +namespace beeremote { + +static const char* BeeRemote_method_names[] = { + "/beeremote.BeeRemote/SubmitJob", + "/beeremote.BeeRemote/UpdatePaths", + "/beeremote.BeeRemote/UpdateJobs", + "/beeremote.BeeRemote/GetJobs", + "/beeremote.BeeRemote/UpdateWork", + "/beeremote.BeeRemote/GetRSTConfig", + "/beeremote.BeeRemote/GetStubContents", + "/beeremote.BeeRemote/GetCapabilities", +}; + +std::unique_ptr< BeeRemote::Stub> BeeRemote::NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) { + (void)options; + std::unique_ptr< BeeRemote::Stub> stub(new BeeRemote::Stub(channel, options)); + return stub; +} + +BeeRemote::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) + : channel_(channel), rpcmethod_SubmitJob_(BeeRemote_method_names[0], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_UpdatePaths_(BeeRemote_method_names[1], options.suffix_for_stats(),::grpc::internal::RpcMethod::SERVER_STREAMING, channel) + , rpcmethod_UpdateJobs_(BeeRemote_method_names[2], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_GetJobs_(BeeRemote_method_names[3], options.suffix_for_stats(),::grpc::internal::RpcMethod::SERVER_STREAMING, channel) + , rpcmethod_UpdateWork_(BeeRemote_method_names[4], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_GetRSTConfig_(BeeRemote_method_names[5], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_GetStubContents_(BeeRemote_method_names[6], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_GetCapabilities_(BeeRemote_method_names[7], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + {} + +::grpc::Status BeeRemote::Stub::SubmitJob(::grpc::ClientContext* context, const ::beeremote::SubmitJobRequest& request, ::beeremote::SubmitJobResponse* response) { + return ::grpc::internal::BlockingUnaryCall< ::beeremote::SubmitJobRequest, ::beeremote::SubmitJobResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_SubmitJob_, context, request, response); +} + +void BeeRemote::Stub::async::SubmitJob(::grpc::ClientContext* context, const ::beeremote::SubmitJobRequest* request, ::beeremote::SubmitJobResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::beeremote::SubmitJobRequest, ::beeremote::SubmitJobResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_SubmitJob_, context, request, response, std::move(f)); +} + +void BeeRemote::Stub::async::SubmitJob(::grpc::ClientContext* context, const ::beeremote::SubmitJobRequest* request, ::beeremote::SubmitJobResponse* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_SubmitJob_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::beeremote::SubmitJobResponse>* BeeRemote::Stub::PrepareAsyncSubmitJobRaw(::grpc::ClientContext* context, const ::beeremote::SubmitJobRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::beeremote::SubmitJobResponse, ::beeremote::SubmitJobRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_SubmitJob_, context, request); +} + +::grpc::ClientAsyncResponseReader< ::beeremote::SubmitJobResponse>* BeeRemote::Stub::AsyncSubmitJobRaw(::grpc::ClientContext* context, const ::beeremote::SubmitJobRequest& request, ::grpc::CompletionQueue* cq) { + auto* result = + this->PrepareAsyncSubmitJobRaw(context, request, cq); + result->StartCall(); + return result; +} + +::grpc::ClientReader< ::beeremote::UpdatePathsResponse>* BeeRemote::Stub::UpdatePathsRaw(::grpc::ClientContext* context, const ::beeremote::UpdatePathsRequest& request) { + return ::grpc::internal::ClientReaderFactory< ::beeremote::UpdatePathsResponse>::Create(channel_.get(), rpcmethod_UpdatePaths_, context, request); +} + +void BeeRemote::Stub::async::UpdatePaths(::grpc::ClientContext* context, const ::beeremote::UpdatePathsRequest* request, ::grpc::ClientReadReactor< ::beeremote::UpdatePathsResponse>* reactor) { + ::grpc::internal::ClientCallbackReaderFactory< ::beeremote::UpdatePathsResponse>::Create(stub_->channel_.get(), stub_->rpcmethod_UpdatePaths_, context, request, reactor); +} + +::grpc::ClientAsyncReader< ::beeremote::UpdatePathsResponse>* BeeRemote::Stub::AsyncUpdatePathsRaw(::grpc::ClientContext* context, const ::beeremote::UpdatePathsRequest& request, ::grpc::CompletionQueue* cq, void* tag) { + return ::grpc::internal::ClientAsyncReaderFactory< ::beeremote::UpdatePathsResponse>::Create(channel_.get(), cq, rpcmethod_UpdatePaths_, context, request, true, tag); +} + +::grpc::ClientAsyncReader< ::beeremote::UpdatePathsResponse>* BeeRemote::Stub::PrepareAsyncUpdatePathsRaw(::grpc::ClientContext* context, const ::beeremote::UpdatePathsRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncReaderFactory< ::beeremote::UpdatePathsResponse>::Create(channel_.get(), cq, rpcmethod_UpdatePaths_, context, request, false, nullptr); +} + +::grpc::Status BeeRemote::Stub::UpdateJobs(::grpc::ClientContext* context, const ::beeremote::UpdateJobsRequest& request, ::beeremote::UpdateJobsResponse* response) { + return ::grpc::internal::BlockingUnaryCall< ::beeremote::UpdateJobsRequest, ::beeremote::UpdateJobsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_UpdateJobs_, context, request, response); +} + +void BeeRemote::Stub::async::UpdateJobs(::grpc::ClientContext* context, const ::beeremote::UpdateJobsRequest* request, ::beeremote::UpdateJobsResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::beeremote::UpdateJobsRequest, ::beeremote::UpdateJobsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_UpdateJobs_, context, request, response, std::move(f)); +} + +void BeeRemote::Stub::async::UpdateJobs(::grpc::ClientContext* context, const ::beeremote::UpdateJobsRequest* request, ::beeremote::UpdateJobsResponse* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_UpdateJobs_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::beeremote::UpdateJobsResponse>* BeeRemote::Stub::PrepareAsyncUpdateJobsRaw(::grpc::ClientContext* context, const ::beeremote::UpdateJobsRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::beeremote::UpdateJobsResponse, ::beeremote::UpdateJobsRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_UpdateJobs_, context, request); +} + +::grpc::ClientAsyncResponseReader< ::beeremote::UpdateJobsResponse>* BeeRemote::Stub::AsyncUpdateJobsRaw(::grpc::ClientContext* context, const ::beeremote::UpdateJobsRequest& request, ::grpc::CompletionQueue* cq) { + auto* result = + this->PrepareAsyncUpdateJobsRaw(context, request, cq); + result->StartCall(); + return result; +} + +::grpc::ClientReader< ::beeremote::GetJobsResponse>* BeeRemote::Stub::GetJobsRaw(::grpc::ClientContext* context, const ::beeremote::GetJobsRequest& request) { + return ::grpc::internal::ClientReaderFactory< ::beeremote::GetJobsResponse>::Create(channel_.get(), rpcmethod_GetJobs_, context, request); +} + +void BeeRemote::Stub::async::GetJobs(::grpc::ClientContext* context, const ::beeremote::GetJobsRequest* request, ::grpc::ClientReadReactor< ::beeremote::GetJobsResponse>* reactor) { + ::grpc::internal::ClientCallbackReaderFactory< ::beeremote::GetJobsResponse>::Create(stub_->channel_.get(), stub_->rpcmethod_GetJobs_, context, request, reactor); +} + +::grpc::ClientAsyncReader< ::beeremote::GetJobsResponse>* BeeRemote::Stub::AsyncGetJobsRaw(::grpc::ClientContext* context, const ::beeremote::GetJobsRequest& request, ::grpc::CompletionQueue* cq, void* tag) { + return ::grpc::internal::ClientAsyncReaderFactory< ::beeremote::GetJobsResponse>::Create(channel_.get(), cq, rpcmethod_GetJobs_, context, request, true, tag); +} + +::grpc::ClientAsyncReader< ::beeremote::GetJobsResponse>* BeeRemote::Stub::PrepareAsyncGetJobsRaw(::grpc::ClientContext* context, const ::beeremote::GetJobsRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncReaderFactory< ::beeremote::GetJobsResponse>::Create(channel_.get(), cq, rpcmethod_GetJobs_, context, request, false, nullptr); +} + +::grpc::Status BeeRemote::Stub::UpdateWork(::grpc::ClientContext* context, const ::beeremote::UpdateWorkRequest& request, ::beeremote::UpdateWorkResponse* response) { + return ::grpc::internal::BlockingUnaryCall< ::beeremote::UpdateWorkRequest, ::beeremote::UpdateWorkResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_UpdateWork_, context, request, response); +} + +void BeeRemote::Stub::async::UpdateWork(::grpc::ClientContext* context, const ::beeremote::UpdateWorkRequest* request, ::beeremote::UpdateWorkResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::beeremote::UpdateWorkRequest, ::beeremote::UpdateWorkResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_UpdateWork_, context, request, response, std::move(f)); +} + +void BeeRemote::Stub::async::UpdateWork(::grpc::ClientContext* context, const ::beeremote::UpdateWorkRequest* request, ::beeremote::UpdateWorkResponse* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_UpdateWork_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::beeremote::UpdateWorkResponse>* BeeRemote::Stub::PrepareAsyncUpdateWorkRaw(::grpc::ClientContext* context, const ::beeremote::UpdateWorkRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::beeremote::UpdateWorkResponse, ::beeremote::UpdateWorkRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_UpdateWork_, context, request); +} + +::grpc::ClientAsyncResponseReader< ::beeremote::UpdateWorkResponse>* BeeRemote::Stub::AsyncUpdateWorkRaw(::grpc::ClientContext* context, const ::beeremote::UpdateWorkRequest& request, ::grpc::CompletionQueue* cq) { + auto* result = + this->PrepareAsyncUpdateWorkRaw(context, request, cq); + result->StartCall(); + return result; +} + +::grpc::Status BeeRemote::Stub::GetRSTConfig(::grpc::ClientContext* context, const ::beeremote::GetRSTConfigRequest& request, ::beeremote::GetRSTConfigResponse* response) { + return ::grpc::internal::BlockingUnaryCall< ::beeremote::GetRSTConfigRequest, ::beeremote::GetRSTConfigResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_GetRSTConfig_, context, request, response); +} + +void BeeRemote::Stub::async::GetRSTConfig(::grpc::ClientContext* context, const ::beeremote::GetRSTConfigRequest* request, ::beeremote::GetRSTConfigResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::beeremote::GetRSTConfigRequest, ::beeremote::GetRSTConfigResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_GetRSTConfig_, context, request, response, std::move(f)); +} + +void BeeRemote::Stub::async::GetRSTConfig(::grpc::ClientContext* context, const ::beeremote::GetRSTConfigRequest* request, ::beeremote::GetRSTConfigResponse* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_GetRSTConfig_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::beeremote::GetRSTConfigResponse>* BeeRemote::Stub::PrepareAsyncGetRSTConfigRaw(::grpc::ClientContext* context, const ::beeremote::GetRSTConfigRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::beeremote::GetRSTConfigResponse, ::beeremote::GetRSTConfigRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_GetRSTConfig_, context, request); +} + +::grpc::ClientAsyncResponseReader< ::beeremote::GetRSTConfigResponse>* BeeRemote::Stub::AsyncGetRSTConfigRaw(::grpc::ClientContext* context, const ::beeremote::GetRSTConfigRequest& request, ::grpc::CompletionQueue* cq) { + auto* result = + this->PrepareAsyncGetRSTConfigRaw(context, request, cq); + result->StartCall(); + return result; +} + +::grpc::Status BeeRemote::Stub::GetStubContents(::grpc::ClientContext* context, const ::beeremote::GetStubContentsRequest& request, ::beeremote::GetStubContentsResponse* response) { + return ::grpc::internal::BlockingUnaryCall< ::beeremote::GetStubContentsRequest, ::beeremote::GetStubContentsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_GetStubContents_, context, request, response); +} + +void BeeRemote::Stub::async::GetStubContents(::grpc::ClientContext* context, const ::beeremote::GetStubContentsRequest* request, ::beeremote::GetStubContentsResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::beeremote::GetStubContentsRequest, ::beeremote::GetStubContentsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_GetStubContents_, context, request, response, std::move(f)); +} + +void BeeRemote::Stub::async::GetStubContents(::grpc::ClientContext* context, const ::beeremote::GetStubContentsRequest* request, ::beeremote::GetStubContentsResponse* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_GetStubContents_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::beeremote::GetStubContentsResponse>* BeeRemote::Stub::PrepareAsyncGetStubContentsRaw(::grpc::ClientContext* context, const ::beeremote::GetStubContentsRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::beeremote::GetStubContentsResponse, ::beeremote::GetStubContentsRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_GetStubContents_, context, request); +} + +::grpc::ClientAsyncResponseReader< ::beeremote::GetStubContentsResponse>* BeeRemote::Stub::AsyncGetStubContentsRaw(::grpc::ClientContext* context, const ::beeremote::GetStubContentsRequest& request, ::grpc::CompletionQueue* cq) { + auto* result = + this->PrepareAsyncGetStubContentsRaw(context, request, cq); + result->StartCall(); + return result; +} + +::grpc::Status BeeRemote::Stub::GetCapabilities(::grpc::ClientContext* context, const ::flex::GetCapabilitiesRequest& request, ::flex::GetCapabilitiesResponse* response) { + return ::grpc::internal::BlockingUnaryCall< ::flex::GetCapabilitiesRequest, ::flex::GetCapabilitiesResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_GetCapabilities_, context, request, response); +} + +void BeeRemote::Stub::async::GetCapabilities(::grpc::ClientContext* context, const ::flex::GetCapabilitiesRequest* request, ::flex::GetCapabilitiesResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::flex::GetCapabilitiesRequest, ::flex::GetCapabilitiesResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_GetCapabilities_, context, request, response, std::move(f)); +} + +void BeeRemote::Stub::async::GetCapabilities(::grpc::ClientContext* context, const ::flex::GetCapabilitiesRequest* request, ::flex::GetCapabilitiesResponse* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_GetCapabilities_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::flex::GetCapabilitiesResponse>* BeeRemote::Stub::PrepareAsyncGetCapabilitiesRaw(::grpc::ClientContext* context, const ::flex::GetCapabilitiesRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::flex::GetCapabilitiesResponse, ::flex::GetCapabilitiesRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_GetCapabilities_, context, request); +} + +::grpc::ClientAsyncResponseReader< ::flex::GetCapabilitiesResponse>* BeeRemote::Stub::AsyncGetCapabilitiesRaw(::grpc::ClientContext* context, const ::flex::GetCapabilitiesRequest& request, ::grpc::CompletionQueue* cq) { + auto* result = + this->PrepareAsyncGetCapabilitiesRaw(context, request, cq); + result->StartCall(); + return result; +} + +BeeRemote::Service::Service() { + AddMethod(new ::grpc::internal::RpcServiceMethod( + BeeRemote_method_names[0], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< BeeRemote::Service, ::beeremote::SubmitJobRequest, ::beeremote::SubmitJobResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + [](BeeRemote::Service* service, + ::grpc::ServerContext* ctx, + const ::beeremote::SubmitJobRequest* req, + ::beeremote::SubmitJobResponse* resp) { + return service->SubmitJob(ctx, req, resp); + }, this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + BeeRemote_method_names[1], + ::grpc::internal::RpcMethod::SERVER_STREAMING, + new ::grpc::internal::ServerStreamingHandler< BeeRemote::Service, ::beeremote::UpdatePathsRequest, ::beeremote::UpdatePathsResponse>( + [](BeeRemote::Service* service, + ::grpc::ServerContext* ctx, + const ::beeremote::UpdatePathsRequest* req, + ::grpc::ServerWriter<::beeremote::UpdatePathsResponse>* writer) { + return service->UpdatePaths(ctx, req, writer); + }, this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + BeeRemote_method_names[2], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< BeeRemote::Service, ::beeremote::UpdateJobsRequest, ::beeremote::UpdateJobsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + [](BeeRemote::Service* service, + ::grpc::ServerContext* ctx, + const ::beeremote::UpdateJobsRequest* req, + ::beeremote::UpdateJobsResponse* resp) { + return service->UpdateJobs(ctx, req, resp); + }, this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + BeeRemote_method_names[3], + ::grpc::internal::RpcMethod::SERVER_STREAMING, + new ::grpc::internal::ServerStreamingHandler< BeeRemote::Service, ::beeremote::GetJobsRequest, ::beeremote::GetJobsResponse>( + [](BeeRemote::Service* service, + ::grpc::ServerContext* ctx, + const ::beeremote::GetJobsRequest* req, + ::grpc::ServerWriter<::beeremote::GetJobsResponse>* writer) { + return service->GetJobs(ctx, req, writer); + }, this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + BeeRemote_method_names[4], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< BeeRemote::Service, ::beeremote::UpdateWorkRequest, ::beeremote::UpdateWorkResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + [](BeeRemote::Service* service, + ::grpc::ServerContext* ctx, + const ::beeremote::UpdateWorkRequest* req, + ::beeremote::UpdateWorkResponse* resp) { + return service->UpdateWork(ctx, req, resp); + }, this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + BeeRemote_method_names[5], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< BeeRemote::Service, ::beeremote::GetRSTConfigRequest, ::beeremote::GetRSTConfigResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + [](BeeRemote::Service* service, + ::grpc::ServerContext* ctx, + const ::beeremote::GetRSTConfigRequest* req, + ::beeremote::GetRSTConfigResponse* resp) { + return service->GetRSTConfig(ctx, req, resp); + }, this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + BeeRemote_method_names[6], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< BeeRemote::Service, ::beeremote::GetStubContentsRequest, ::beeremote::GetStubContentsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + [](BeeRemote::Service* service, + ::grpc::ServerContext* ctx, + const ::beeremote::GetStubContentsRequest* req, + ::beeremote::GetStubContentsResponse* resp) { + return service->GetStubContents(ctx, req, resp); + }, this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + BeeRemote_method_names[7], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< BeeRemote::Service, ::flex::GetCapabilitiesRequest, ::flex::GetCapabilitiesResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + [](BeeRemote::Service* service, + ::grpc::ServerContext* ctx, + const ::flex::GetCapabilitiesRequest* req, + ::flex::GetCapabilitiesResponse* resp) { + return service->GetCapabilities(ctx, req, resp); + }, this))); +} + +BeeRemote::Service::~Service() { +} + +::grpc::Status BeeRemote::Service::SubmitJob(::grpc::ServerContext* context, const ::beeremote::SubmitJobRequest* request, ::beeremote::SubmitJobResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status BeeRemote::Service::UpdatePaths(::grpc::ServerContext* context, const ::beeremote::UpdatePathsRequest* request, ::grpc::ServerWriter< ::beeremote::UpdatePathsResponse>* writer) { + (void) context; + (void) request; + (void) writer; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status BeeRemote::Service::UpdateJobs(::grpc::ServerContext* context, const ::beeremote::UpdateJobsRequest* request, ::beeremote::UpdateJobsResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status BeeRemote::Service::GetJobs(::grpc::ServerContext* context, const ::beeremote::GetJobsRequest* request, ::grpc::ServerWriter< ::beeremote::GetJobsResponse>* writer) { + (void) context; + (void) request; + (void) writer; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status BeeRemote::Service::UpdateWork(::grpc::ServerContext* context, const ::beeremote::UpdateWorkRequest* request, ::beeremote::UpdateWorkResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status BeeRemote::Service::GetRSTConfig(::grpc::ServerContext* context, const ::beeremote::GetRSTConfigRequest* request, ::beeremote::GetRSTConfigResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status BeeRemote::Service::GetStubContents(::grpc::ServerContext* context, const ::beeremote::GetStubContentsRequest* request, ::beeremote::GetStubContentsResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status BeeRemote::Service::GetCapabilities(::grpc::ServerContext* context, const ::flex::GetCapabilitiesRequest* request, ::flex::GetCapabilitiesResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + + +} // namespace beeremote +#include + diff --git a/cpp/include/proto/beeremote.grpc.pb.h b/cpp/include/proto/beeremote.grpc.pb.h new file mode 100644 index 0000000..eade662 --- /dev/null +++ b/cpp/include/proto/beeremote.grpc.pb.h @@ -0,0 +1,1368 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: beeremote.proto +#ifndef GRPC_beeremote_2eproto__INCLUDED +#define GRPC_beeremote_2eproto__INCLUDED + +#include "beeremote.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace beeremote { + +// Externally facing RPCs and messages clients and worker nodes use to interact +// with BeeRemote. +class BeeRemote final { + public: + static constexpr char const* service_full_name() { + return "beeremote.BeeRemote"; + } + class StubInterface { + public: + virtual ~StubInterface() {} + virtual ::grpc::Status SubmitJob(::grpc::ClientContext* context, const ::beeremote::SubmitJobRequest& request, ::beeremote::SubmitJobResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::beeremote::SubmitJobResponse>> AsyncSubmitJob(::grpc::ClientContext* context, const ::beeremote::SubmitJobRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::beeremote::SubmitJobResponse>>(AsyncSubmitJobRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::beeremote::SubmitJobResponse>> PrepareAsyncSubmitJob(::grpc::ClientContext* context, const ::beeremote::SubmitJobRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::beeremote::SubmitJobResponse>>(PrepareAsyncSubmitJobRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientReaderInterface< ::beeremote::UpdatePathsResponse>> UpdatePaths(::grpc::ClientContext* context, const ::beeremote::UpdatePathsRequest& request) { + return std::unique_ptr< ::grpc::ClientReaderInterface< ::beeremote::UpdatePathsResponse>>(UpdatePathsRaw(context, request)); + } + std::unique_ptr< ::grpc::ClientAsyncReaderInterface< ::beeremote::UpdatePathsResponse>> AsyncUpdatePaths(::grpc::ClientContext* context, const ::beeremote::UpdatePathsRequest& request, ::grpc::CompletionQueue* cq, void* tag) { + return std::unique_ptr< ::grpc::ClientAsyncReaderInterface< ::beeremote::UpdatePathsResponse>>(AsyncUpdatePathsRaw(context, request, cq, tag)); + } + std::unique_ptr< ::grpc::ClientAsyncReaderInterface< ::beeremote::UpdatePathsResponse>> PrepareAsyncUpdatePaths(::grpc::ClientContext* context, const ::beeremote::UpdatePathsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncReaderInterface< ::beeremote::UpdatePathsResponse>>(PrepareAsyncUpdatePathsRaw(context, request, cq)); + } + virtual ::grpc::Status UpdateJobs(::grpc::ClientContext* context, const ::beeremote::UpdateJobsRequest& request, ::beeremote::UpdateJobsResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::beeremote::UpdateJobsResponse>> AsyncUpdateJobs(::grpc::ClientContext* context, const ::beeremote::UpdateJobsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::beeremote::UpdateJobsResponse>>(AsyncUpdateJobsRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::beeremote::UpdateJobsResponse>> PrepareAsyncUpdateJobs(::grpc::ClientContext* context, const ::beeremote::UpdateJobsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::beeremote::UpdateJobsResponse>>(PrepareAsyncUpdateJobsRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientReaderInterface< ::beeremote::GetJobsResponse>> GetJobs(::grpc::ClientContext* context, const ::beeremote::GetJobsRequest& request) { + return std::unique_ptr< ::grpc::ClientReaderInterface< ::beeremote::GetJobsResponse>>(GetJobsRaw(context, request)); + } + std::unique_ptr< ::grpc::ClientAsyncReaderInterface< ::beeremote::GetJobsResponse>> AsyncGetJobs(::grpc::ClientContext* context, const ::beeremote::GetJobsRequest& request, ::grpc::CompletionQueue* cq, void* tag) { + return std::unique_ptr< ::grpc::ClientAsyncReaderInterface< ::beeremote::GetJobsResponse>>(AsyncGetJobsRaw(context, request, cq, tag)); + } + std::unique_ptr< ::grpc::ClientAsyncReaderInterface< ::beeremote::GetJobsResponse>> PrepareAsyncGetJobs(::grpc::ClientContext* context, const ::beeremote::GetJobsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncReaderInterface< ::beeremote::GetJobsResponse>>(PrepareAsyncGetJobsRaw(context, request, cq)); + } + // Rather then BeeRemote connecting to a worker node and using a streaming RPC to return work + // results, we have BeeRemote expose a unary RPC that is used to send results back as they are + // available. This allows us to avoid complex error handling needed to reliably use streams, and + // more easily adhere to our requirement that work requests are always owned by BeeRemote or its + // worker nodes and no polling is needed to check on the state of the requests. With this + // approach either side can make an unary request for a particular work request, and look at the + // response to verify ownership has successfully move to the other node (i.e., the node has + // committed the request to its on-disk database). IMPORTANT: This is only intended to be called + // by worker nodes. + virtual ::grpc::Status UpdateWork(::grpc::ClientContext* context, const ::beeremote::UpdateWorkRequest& request, ::beeremote::UpdateWorkResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::beeremote::UpdateWorkResponse>> AsyncUpdateWork(::grpc::ClientContext* context, const ::beeremote::UpdateWorkRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::beeremote::UpdateWorkResponse>>(AsyncUpdateWorkRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::beeremote::UpdateWorkResponse>> PrepareAsyncUpdateWork(::grpc::ClientContext* context, const ::beeremote::UpdateWorkRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::beeremote::UpdateWorkResponse>>(PrepareAsyncUpdateWorkRaw(context, request, cq)); + } + virtual ::grpc::Status GetRSTConfig(::grpc::ClientContext* context, const ::beeremote::GetRSTConfigRequest& request, ::beeremote::GetRSTConfigResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::beeremote::GetRSTConfigResponse>> AsyncGetRSTConfig(::grpc::ClientContext* context, const ::beeremote::GetRSTConfigRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::beeremote::GetRSTConfigResponse>>(AsyncGetRSTConfigRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::beeremote::GetRSTConfigResponse>> PrepareAsyncGetRSTConfig(::grpc::ClientContext* context, const ::beeremote::GetRSTConfigRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::beeremote::GetRSTConfigResponse>>(PrepareAsyncGetRSTConfigRaw(context, request, cq)); + } + virtual ::grpc::Status GetStubContents(::grpc::ClientContext* context, const ::beeremote::GetStubContentsRequest& request, ::beeremote::GetStubContentsResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::beeremote::GetStubContentsResponse>> AsyncGetStubContents(::grpc::ClientContext* context, const ::beeremote::GetStubContentsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::beeremote::GetStubContentsResponse>>(AsyncGetStubContentsRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::beeremote::GetStubContentsResponse>> PrepareAsyncGetStubContents(::grpc::ClientContext* context, const ::beeremote::GetStubContentsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::beeremote::GetStubContentsResponse>>(PrepareAsyncGetStubContentsRaw(context, request, cq)); + } + virtual ::grpc::Status GetCapabilities(::grpc::ClientContext* context, const ::flex::GetCapabilitiesRequest& request, ::flex::GetCapabilitiesResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flex::GetCapabilitiesResponse>> AsyncGetCapabilities(::grpc::ClientContext* context, const ::flex::GetCapabilitiesRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flex::GetCapabilitiesResponse>>(AsyncGetCapabilitiesRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flex::GetCapabilitiesResponse>> PrepareAsyncGetCapabilities(::grpc::ClientContext* context, const ::flex::GetCapabilitiesRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flex::GetCapabilitiesResponse>>(PrepareAsyncGetCapabilitiesRaw(context, request, cq)); + } + class async_interface { + public: + virtual ~async_interface() {} + virtual void SubmitJob(::grpc::ClientContext* context, const ::beeremote::SubmitJobRequest* request, ::beeremote::SubmitJobResponse* response, std::function) = 0; + virtual void SubmitJob(::grpc::ClientContext* context, const ::beeremote::SubmitJobRequest* request, ::beeremote::SubmitJobResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void UpdatePaths(::grpc::ClientContext* context, const ::beeremote::UpdatePathsRequest* request, ::grpc::ClientReadReactor< ::beeremote::UpdatePathsResponse>* reactor) = 0; + virtual void UpdateJobs(::grpc::ClientContext* context, const ::beeremote::UpdateJobsRequest* request, ::beeremote::UpdateJobsResponse* response, std::function) = 0; + virtual void UpdateJobs(::grpc::ClientContext* context, const ::beeremote::UpdateJobsRequest* request, ::beeremote::UpdateJobsResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void GetJobs(::grpc::ClientContext* context, const ::beeremote::GetJobsRequest* request, ::grpc::ClientReadReactor< ::beeremote::GetJobsResponse>* reactor) = 0; + // Rather then BeeRemote connecting to a worker node and using a streaming RPC to return work + // results, we have BeeRemote expose a unary RPC that is used to send results back as they are + // available. This allows us to avoid complex error handling needed to reliably use streams, and + // more easily adhere to our requirement that work requests are always owned by BeeRemote or its + // worker nodes and no polling is needed to check on the state of the requests. With this + // approach either side can make an unary request for a particular work request, and look at the + // response to verify ownership has successfully move to the other node (i.e., the node has + // committed the request to its on-disk database). IMPORTANT: This is only intended to be called + // by worker nodes. + virtual void UpdateWork(::grpc::ClientContext* context, const ::beeremote::UpdateWorkRequest* request, ::beeremote::UpdateWorkResponse* response, std::function) = 0; + virtual void UpdateWork(::grpc::ClientContext* context, const ::beeremote::UpdateWorkRequest* request, ::beeremote::UpdateWorkResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void GetRSTConfig(::grpc::ClientContext* context, const ::beeremote::GetRSTConfigRequest* request, ::beeremote::GetRSTConfigResponse* response, std::function) = 0; + virtual void GetRSTConfig(::grpc::ClientContext* context, const ::beeremote::GetRSTConfigRequest* request, ::beeremote::GetRSTConfigResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void GetStubContents(::grpc::ClientContext* context, const ::beeremote::GetStubContentsRequest* request, ::beeremote::GetStubContentsResponse* response, std::function) = 0; + virtual void GetStubContents(::grpc::ClientContext* context, const ::beeremote::GetStubContentsRequest* request, ::beeremote::GetStubContentsResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void GetCapabilities(::grpc::ClientContext* context, const ::flex::GetCapabilitiesRequest* request, ::flex::GetCapabilitiesResponse* response, std::function) = 0; + virtual void GetCapabilities(::grpc::ClientContext* context, const ::flex::GetCapabilitiesRequest* request, ::flex::GetCapabilitiesResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + }; + typedef class async_interface experimental_async_interface; + virtual class async_interface* async() { return nullptr; } + class async_interface* experimental_async() { return async(); } + private: + virtual ::grpc::ClientAsyncResponseReaderInterface< ::beeremote::SubmitJobResponse>* AsyncSubmitJobRaw(::grpc::ClientContext* context, const ::beeremote::SubmitJobRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::beeremote::SubmitJobResponse>* PrepareAsyncSubmitJobRaw(::grpc::ClientContext* context, const ::beeremote::SubmitJobRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientReaderInterface< ::beeremote::UpdatePathsResponse>* UpdatePathsRaw(::grpc::ClientContext* context, const ::beeremote::UpdatePathsRequest& request) = 0; + virtual ::grpc::ClientAsyncReaderInterface< ::beeremote::UpdatePathsResponse>* AsyncUpdatePathsRaw(::grpc::ClientContext* context, const ::beeremote::UpdatePathsRequest& request, ::grpc::CompletionQueue* cq, void* tag) = 0; + virtual ::grpc::ClientAsyncReaderInterface< ::beeremote::UpdatePathsResponse>* PrepareAsyncUpdatePathsRaw(::grpc::ClientContext* context, const ::beeremote::UpdatePathsRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::beeremote::UpdateJobsResponse>* AsyncUpdateJobsRaw(::grpc::ClientContext* context, const ::beeremote::UpdateJobsRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::beeremote::UpdateJobsResponse>* PrepareAsyncUpdateJobsRaw(::grpc::ClientContext* context, const ::beeremote::UpdateJobsRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientReaderInterface< ::beeremote::GetJobsResponse>* GetJobsRaw(::grpc::ClientContext* context, const ::beeremote::GetJobsRequest& request) = 0; + virtual ::grpc::ClientAsyncReaderInterface< ::beeremote::GetJobsResponse>* AsyncGetJobsRaw(::grpc::ClientContext* context, const ::beeremote::GetJobsRequest& request, ::grpc::CompletionQueue* cq, void* tag) = 0; + virtual ::grpc::ClientAsyncReaderInterface< ::beeremote::GetJobsResponse>* PrepareAsyncGetJobsRaw(::grpc::ClientContext* context, const ::beeremote::GetJobsRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::beeremote::UpdateWorkResponse>* AsyncUpdateWorkRaw(::grpc::ClientContext* context, const ::beeremote::UpdateWorkRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::beeremote::UpdateWorkResponse>* PrepareAsyncUpdateWorkRaw(::grpc::ClientContext* context, const ::beeremote::UpdateWorkRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::beeremote::GetRSTConfigResponse>* AsyncGetRSTConfigRaw(::grpc::ClientContext* context, const ::beeremote::GetRSTConfigRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::beeremote::GetRSTConfigResponse>* PrepareAsyncGetRSTConfigRaw(::grpc::ClientContext* context, const ::beeremote::GetRSTConfigRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::beeremote::GetStubContentsResponse>* AsyncGetStubContentsRaw(::grpc::ClientContext* context, const ::beeremote::GetStubContentsRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::beeremote::GetStubContentsResponse>* PrepareAsyncGetStubContentsRaw(::grpc::ClientContext* context, const ::beeremote::GetStubContentsRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flex::GetCapabilitiesResponse>* AsyncGetCapabilitiesRaw(::grpc::ClientContext* context, const ::flex::GetCapabilitiesRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flex::GetCapabilitiesResponse>* PrepareAsyncGetCapabilitiesRaw(::grpc::ClientContext* context, const ::flex::GetCapabilitiesRequest& request, ::grpc::CompletionQueue* cq) = 0; + }; + class Stub final : public StubInterface { + public: + Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options = ::grpc::StubOptions()); + ::grpc::Status SubmitJob(::grpc::ClientContext* context, const ::beeremote::SubmitJobRequest& request, ::beeremote::SubmitJobResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::beeremote::SubmitJobResponse>> AsyncSubmitJob(::grpc::ClientContext* context, const ::beeremote::SubmitJobRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::beeremote::SubmitJobResponse>>(AsyncSubmitJobRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::beeremote::SubmitJobResponse>> PrepareAsyncSubmitJob(::grpc::ClientContext* context, const ::beeremote::SubmitJobRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::beeremote::SubmitJobResponse>>(PrepareAsyncSubmitJobRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientReader< ::beeremote::UpdatePathsResponse>> UpdatePaths(::grpc::ClientContext* context, const ::beeremote::UpdatePathsRequest& request) { + return std::unique_ptr< ::grpc::ClientReader< ::beeremote::UpdatePathsResponse>>(UpdatePathsRaw(context, request)); + } + std::unique_ptr< ::grpc::ClientAsyncReader< ::beeremote::UpdatePathsResponse>> AsyncUpdatePaths(::grpc::ClientContext* context, const ::beeremote::UpdatePathsRequest& request, ::grpc::CompletionQueue* cq, void* tag) { + return std::unique_ptr< ::grpc::ClientAsyncReader< ::beeremote::UpdatePathsResponse>>(AsyncUpdatePathsRaw(context, request, cq, tag)); + } + std::unique_ptr< ::grpc::ClientAsyncReader< ::beeremote::UpdatePathsResponse>> PrepareAsyncUpdatePaths(::grpc::ClientContext* context, const ::beeremote::UpdatePathsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncReader< ::beeremote::UpdatePathsResponse>>(PrepareAsyncUpdatePathsRaw(context, request, cq)); + } + ::grpc::Status UpdateJobs(::grpc::ClientContext* context, const ::beeremote::UpdateJobsRequest& request, ::beeremote::UpdateJobsResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::beeremote::UpdateJobsResponse>> AsyncUpdateJobs(::grpc::ClientContext* context, const ::beeremote::UpdateJobsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::beeremote::UpdateJobsResponse>>(AsyncUpdateJobsRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::beeremote::UpdateJobsResponse>> PrepareAsyncUpdateJobs(::grpc::ClientContext* context, const ::beeremote::UpdateJobsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::beeremote::UpdateJobsResponse>>(PrepareAsyncUpdateJobsRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientReader< ::beeremote::GetJobsResponse>> GetJobs(::grpc::ClientContext* context, const ::beeremote::GetJobsRequest& request) { + return std::unique_ptr< ::grpc::ClientReader< ::beeremote::GetJobsResponse>>(GetJobsRaw(context, request)); + } + std::unique_ptr< ::grpc::ClientAsyncReader< ::beeremote::GetJobsResponse>> AsyncGetJobs(::grpc::ClientContext* context, const ::beeremote::GetJobsRequest& request, ::grpc::CompletionQueue* cq, void* tag) { + return std::unique_ptr< ::grpc::ClientAsyncReader< ::beeremote::GetJobsResponse>>(AsyncGetJobsRaw(context, request, cq, tag)); + } + std::unique_ptr< ::grpc::ClientAsyncReader< ::beeremote::GetJobsResponse>> PrepareAsyncGetJobs(::grpc::ClientContext* context, const ::beeremote::GetJobsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncReader< ::beeremote::GetJobsResponse>>(PrepareAsyncGetJobsRaw(context, request, cq)); + } + ::grpc::Status UpdateWork(::grpc::ClientContext* context, const ::beeremote::UpdateWorkRequest& request, ::beeremote::UpdateWorkResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::beeremote::UpdateWorkResponse>> AsyncUpdateWork(::grpc::ClientContext* context, const ::beeremote::UpdateWorkRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::beeremote::UpdateWorkResponse>>(AsyncUpdateWorkRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::beeremote::UpdateWorkResponse>> PrepareAsyncUpdateWork(::grpc::ClientContext* context, const ::beeremote::UpdateWorkRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::beeremote::UpdateWorkResponse>>(PrepareAsyncUpdateWorkRaw(context, request, cq)); + } + ::grpc::Status GetRSTConfig(::grpc::ClientContext* context, const ::beeremote::GetRSTConfigRequest& request, ::beeremote::GetRSTConfigResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::beeremote::GetRSTConfigResponse>> AsyncGetRSTConfig(::grpc::ClientContext* context, const ::beeremote::GetRSTConfigRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::beeremote::GetRSTConfigResponse>>(AsyncGetRSTConfigRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::beeremote::GetRSTConfigResponse>> PrepareAsyncGetRSTConfig(::grpc::ClientContext* context, const ::beeremote::GetRSTConfigRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::beeremote::GetRSTConfigResponse>>(PrepareAsyncGetRSTConfigRaw(context, request, cq)); + } + ::grpc::Status GetStubContents(::grpc::ClientContext* context, const ::beeremote::GetStubContentsRequest& request, ::beeremote::GetStubContentsResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::beeremote::GetStubContentsResponse>> AsyncGetStubContents(::grpc::ClientContext* context, const ::beeremote::GetStubContentsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::beeremote::GetStubContentsResponse>>(AsyncGetStubContentsRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::beeremote::GetStubContentsResponse>> PrepareAsyncGetStubContents(::grpc::ClientContext* context, const ::beeremote::GetStubContentsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::beeremote::GetStubContentsResponse>>(PrepareAsyncGetStubContentsRaw(context, request, cq)); + } + ::grpc::Status GetCapabilities(::grpc::ClientContext* context, const ::flex::GetCapabilitiesRequest& request, ::flex::GetCapabilitiesResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flex::GetCapabilitiesResponse>> AsyncGetCapabilities(::grpc::ClientContext* context, const ::flex::GetCapabilitiesRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flex::GetCapabilitiesResponse>>(AsyncGetCapabilitiesRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flex::GetCapabilitiesResponse>> PrepareAsyncGetCapabilities(::grpc::ClientContext* context, const ::flex::GetCapabilitiesRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flex::GetCapabilitiesResponse>>(PrepareAsyncGetCapabilitiesRaw(context, request, cq)); + } + class async final : + public StubInterface::async_interface { + public: + void SubmitJob(::grpc::ClientContext* context, const ::beeremote::SubmitJobRequest* request, ::beeremote::SubmitJobResponse* response, std::function) override; + void SubmitJob(::grpc::ClientContext* context, const ::beeremote::SubmitJobRequest* request, ::beeremote::SubmitJobResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + void UpdatePaths(::grpc::ClientContext* context, const ::beeremote::UpdatePathsRequest* request, ::grpc::ClientReadReactor< ::beeremote::UpdatePathsResponse>* reactor) override; + void UpdateJobs(::grpc::ClientContext* context, const ::beeremote::UpdateJobsRequest* request, ::beeremote::UpdateJobsResponse* response, std::function) override; + void UpdateJobs(::grpc::ClientContext* context, const ::beeremote::UpdateJobsRequest* request, ::beeremote::UpdateJobsResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + void GetJobs(::grpc::ClientContext* context, const ::beeremote::GetJobsRequest* request, ::grpc::ClientReadReactor< ::beeremote::GetJobsResponse>* reactor) override; + void UpdateWork(::grpc::ClientContext* context, const ::beeremote::UpdateWorkRequest* request, ::beeremote::UpdateWorkResponse* response, std::function) override; + void UpdateWork(::grpc::ClientContext* context, const ::beeremote::UpdateWorkRequest* request, ::beeremote::UpdateWorkResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + void GetRSTConfig(::grpc::ClientContext* context, const ::beeremote::GetRSTConfigRequest* request, ::beeremote::GetRSTConfigResponse* response, std::function) override; + void GetRSTConfig(::grpc::ClientContext* context, const ::beeremote::GetRSTConfigRequest* request, ::beeremote::GetRSTConfigResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + void GetStubContents(::grpc::ClientContext* context, const ::beeremote::GetStubContentsRequest* request, ::beeremote::GetStubContentsResponse* response, std::function) override; + void GetStubContents(::grpc::ClientContext* context, const ::beeremote::GetStubContentsRequest* request, ::beeremote::GetStubContentsResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + void GetCapabilities(::grpc::ClientContext* context, const ::flex::GetCapabilitiesRequest* request, ::flex::GetCapabilitiesResponse* response, std::function) override; + void GetCapabilities(::grpc::ClientContext* context, const ::flex::GetCapabilitiesRequest* request, ::flex::GetCapabilitiesResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + private: + friend class Stub; + explicit async(Stub* stub): stub_(stub) { } + Stub* stub() { return stub_; } + Stub* stub_; + }; + class async* async() override { return &async_stub_; } + + private: + std::shared_ptr< ::grpc::ChannelInterface> channel_; + class async async_stub_{this}; + ::grpc::ClientAsyncResponseReader< ::beeremote::SubmitJobResponse>* AsyncSubmitJobRaw(::grpc::ClientContext* context, const ::beeremote::SubmitJobRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::beeremote::SubmitJobResponse>* PrepareAsyncSubmitJobRaw(::grpc::ClientContext* context, const ::beeremote::SubmitJobRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientReader< ::beeremote::UpdatePathsResponse>* UpdatePathsRaw(::grpc::ClientContext* context, const ::beeremote::UpdatePathsRequest& request) override; + ::grpc::ClientAsyncReader< ::beeremote::UpdatePathsResponse>* AsyncUpdatePathsRaw(::grpc::ClientContext* context, const ::beeremote::UpdatePathsRequest& request, ::grpc::CompletionQueue* cq, void* tag) override; + ::grpc::ClientAsyncReader< ::beeremote::UpdatePathsResponse>* PrepareAsyncUpdatePathsRaw(::grpc::ClientContext* context, const ::beeremote::UpdatePathsRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::beeremote::UpdateJobsResponse>* AsyncUpdateJobsRaw(::grpc::ClientContext* context, const ::beeremote::UpdateJobsRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::beeremote::UpdateJobsResponse>* PrepareAsyncUpdateJobsRaw(::grpc::ClientContext* context, const ::beeremote::UpdateJobsRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientReader< ::beeremote::GetJobsResponse>* GetJobsRaw(::grpc::ClientContext* context, const ::beeremote::GetJobsRequest& request) override; + ::grpc::ClientAsyncReader< ::beeremote::GetJobsResponse>* AsyncGetJobsRaw(::grpc::ClientContext* context, const ::beeremote::GetJobsRequest& request, ::grpc::CompletionQueue* cq, void* tag) override; + ::grpc::ClientAsyncReader< ::beeremote::GetJobsResponse>* PrepareAsyncGetJobsRaw(::grpc::ClientContext* context, const ::beeremote::GetJobsRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::beeremote::UpdateWorkResponse>* AsyncUpdateWorkRaw(::grpc::ClientContext* context, const ::beeremote::UpdateWorkRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::beeremote::UpdateWorkResponse>* PrepareAsyncUpdateWorkRaw(::grpc::ClientContext* context, const ::beeremote::UpdateWorkRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::beeremote::GetRSTConfigResponse>* AsyncGetRSTConfigRaw(::grpc::ClientContext* context, const ::beeremote::GetRSTConfigRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::beeremote::GetRSTConfigResponse>* PrepareAsyncGetRSTConfigRaw(::grpc::ClientContext* context, const ::beeremote::GetRSTConfigRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::beeremote::GetStubContentsResponse>* AsyncGetStubContentsRaw(::grpc::ClientContext* context, const ::beeremote::GetStubContentsRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::beeremote::GetStubContentsResponse>* PrepareAsyncGetStubContentsRaw(::grpc::ClientContext* context, const ::beeremote::GetStubContentsRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flex::GetCapabilitiesResponse>* AsyncGetCapabilitiesRaw(::grpc::ClientContext* context, const ::flex::GetCapabilitiesRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flex::GetCapabilitiesResponse>* PrepareAsyncGetCapabilitiesRaw(::grpc::ClientContext* context, const ::flex::GetCapabilitiesRequest& request, ::grpc::CompletionQueue* cq) override; + const ::grpc::internal::RpcMethod rpcmethod_SubmitJob_; + const ::grpc::internal::RpcMethod rpcmethod_UpdatePaths_; + const ::grpc::internal::RpcMethod rpcmethod_UpdateJobs_; + const ::grpc::internal::RpcMethod rpcmethod_GetJobs_; + const ::grpc::internal::RpcMethod rpcmethod_UpdateWork_; + const ::grpc::internal::RpcMethod rpcmethod_GetRSTConfig_; + const ::grpc::internal::RpcMethod rpcmethod_GetStubContents_; + const ::grpc::internal::RpcMethod rpcmethod_GetCapabilities_; + }; + static std::unique_ptr NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options = ::grpc::StubOptions()); + + class Service : public ::grpc::Service { + public: + Service(); + virtual ~Service(); + virtual ::grpc::Status SubmitJob(::grpc::ServerContext* context, const ::beeremote::SubmitJobRequest* request, ::beeremote::SubmitJobResponse* response); + virtual ::grpc::Status UpdatePaths(::grpc::ServerContext* context, const ::beeremote::UpdatePathsRequest* request, ::grpc::ServerWriter< ::beeremote::UpdatePathsResponse>* writer); + virtual ::grpc::Status UpdateJobs(::grpc::ServerContext* context, const ::beeremote::UpdateJobsRequest* request, ::beeremote::UpdateJobsResponse* response); + virtual ::grpc::Status GetJobs(::grpc::ServerContext* context, const ::beeremote::GetJobsRequest* request, ::grpc::ServerWriter< ::beeremote::GetJobsResponse>* writer); + // Rather then BeeRemote connecting to a worker node and using a streaming RPC to return work + // results, we have BeeRemote expose a unary RPC that is used to send results back as they are + // available. This allows us to avoid complex error handling needed to reliably use streams, and + // more easily adhere to our requirement that work requests are always owned by BeeRemote or its + // worker nodes and no polling is needed to check on the state of the requests. With this + // approach either side can make an unary request for a particular work request, and look at the + // response to verify ownership has successfully move to the other node (i.e., the node has + // committed the request to its on-disk database). IMPORTANT: This is only intended to be called + // by worker nodes. + virtual ::grpc::Status UpdateWork(::grpc::ServerContext* context, const ::beeremote::UpdateWorkRequest* request, ::beeremote::UpdateWorkResponse* response); + virtual ::grpc::Status GetRSTConfig(::grpc::ServerContext* context, const ::beeremote::GetRSTConfigRequest* request, ::beeremote::GetRSTConfigResponse* response); + virtual ::grpc::Status GetStubContents(::grpc::ServerContext* context, const ::beeremote::GetStubContentsRequest* request, ::beeremote::GetStubContentsResponse* response); + virtual ::grpc::Status GetCapabilities(::grpc::ServerContext* context, const ::flex::GetCapabilitiesRequest* request, ::flex::GetCapabilitiesResponse* response); + }; + template + class WithAsyncMethod_SubmitJob : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_SubmitJob() { + ::grpc::Service::MarkMethodAsync(0); + } + ~WithAsyncMethod_SubmitJob() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status SubmitJob(::grpc::ServerContext* /*context*/, const ::beeremote::SubmitJobRequest* /*request*/, ::beeremote::SubmitJobResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestSubmitJob(::grpc::ServerContext* context, ::beeremote::SubmitJobRequest* request, ::grpc::ServerAsyncResponseWriter< ::beeremote::SubmitJobResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(0, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_UpdatePaths : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_UpdatePaths() { + ::grpc::Service::MarkMethodAsync(1); + } + ~WithAsyncMethod_UpdatePaths() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status UpdatePaths(::grpc::ServerContext* /*context*/, const ::beeremote::UpdatePathsRequest* /*request*/, ::grpc::ServerWriter< ::beeremote::UpdatePathsResponse>* /*writer*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestUpdatePaths(::grpc::ServerContext* context, ::beeremote::UpdatePathsRequest* request, ::grpc::ServerAsyncWriter< ::beeremote::UpdatePathsResponse>* writer, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncServerStreaming(1, context, request, writer, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_UpdateJobs : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_UpdateJobs() { + ::grpc::Service::MarkMethodAsync(2); + } + ~WithAsyncMethod_UpdateJobs() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status UpdateJobs(::grpc::ServerContext* /*context*/, const ::beeremote::UpdateJobsRequest* /*request*/, ::beeremote::UpdateJobsResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestUpdateJobs(::grpc::ServerContext* context, ::beeremote::UpdateJobsRequest* request, ::grpc::ServerAsyncResponseWriter< ::beeremote::UpdateJobsResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(2, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_GetJobs : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_GetJobs() { + ::grpc::Service::MarkMethodAsync(3); + } + ~WithAsyncMethod_GetJobs() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetJobs(::grpc::ServerContext* /*context*/, const ::beeremote::GetJobsRequest* /*request*/, ::grpc::ServerWriter< ::beeremote::GetJobsResponse>* /*writer*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGetJobs(::grpc::ServerContext* context, ::beeremote::GetJobsRequest* request, ::grpc::ServerAsyncWriter< ::beeremote::GetJobsResponse>* writer, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncServerStreaming(3, context, request, writer, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_UpdateWork : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_UpdateWork() { + ::grpc::Service::MarkMethodAsync(4); + } + ~WithAsyncMethod_UpdateWork() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status UpdateWork(::grpc::ServerContext* /*context*/, const ::beeremote::UpdateWorkRequest* /*request*/, ::beeremote::UpdateWorkResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestUpdateWork(::grpc::ServerContext* context, ::beeremote::UpdateWorkRequest* request, ::grpc::ServerAsyncResponseWriter< ::beeremote::UpdateWorkResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(4, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_GetRSTConfig : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_GetRSTConfig() { + ::grpc::Service::MarkMethodAsync(5); + } + ~WithAsyncMethod_GetRSTConfig() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetRSTConfig(::grpc::ServerContext* /*context*/, const ::beeremote::GetRSTConfigRequest* /*request*/, ::beeremote::GetRSTConfigResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGetRSTConfig(::grpc::ServerContext* context, ::beeremote::GetRSTConfigRequest* request, ::grpc::ServerAsyncResponseWriter< ::beeremote::GetRSTConfigResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(5, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_GetStubContents : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_GetStubContents() { + ::grpc::Service::MarkMethodAsync(6); + } + ~WithAsyncMethod_GetStubContents() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetStubContents(::grpc::ServerContext* /*context*/, const ::beeremote::GetStubContentsRequest* /*request*/, ::beeremote::GetStubContentsResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGetStubContents(::grpc::ServerContext* context, ::beeremote::GetStubContentsRequest* request, ::grpc::ServerAsyncResponseWriter< ::beeremote::GetStubContentsResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(6, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_GetCapabilities : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_GetCapabilities() { + ::grpc::Service::MarkMethodAsync(7); + } + ~WithAsyncMethod_GetCapabilities() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetCapabilities(::grpc::ServerContext* /*context*/, const ::flex::GetCapabilitiesRequest* /*request*/, ::flex::GetCapabilitiesResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGetCapabilities(::grpc::ServerContext* context, ::flex::GetCapabilitiesRequest* request, ::grpc::ServerAsyncResponseWriter< ::flex::GetCapabilitiesResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(7, context, request, response, new_call_cq, notification_cq, tag); + } + }; + typedef WithAsyncMethod_SubmitJob > > > > > > > AsyncService; + template + class WithCallbackMethod_SubmitJob : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithCallbackMethod_SubmitJob() { + ::grpc::Service::MarkMethodCallback(0, + new ::grpc::internal::CallbackUnaryHandler< ::beeremote::SubmitJobRequest, ::beeremote::SubmitJobResponse>( + [this]( + ::grpc::CallbackServerContext* context, const ::beeremote::SubmitJobRequest* request, ::beeremote::SubmitJobResponse* response) { return this->SubmitJob(context, request, response); }));} + void SetMessageAllocatorFor_SubmitJob( + ::grpc::MessageAllocator< ::beeremote::SubmitJobRequest, ::beeremote::SubmitJobResponse>* allocator) { + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(0); + static_cast<::grpc::internal::CallbackUnaryHandler< ::beeremote::SubmitJobRequest, ::beeremote::SubmitJobResponse>*>(handler) + ->SetMessageAllocator(allocator); + } + ~WithCallbackMethod_SubmitJob() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status SubmitJob(::grpc::ServerContext* /*context*/, const ::beeremote::SubmitJobRequest* /*request*/, ::beeremote::SubmitJobResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* SubmitJob( + ::grpc::CallbackServerContext* /*context*/, const ::beeremote::SubmitJobRequest* /*request*/, ::beeremote::SubmitJobResponse* /*response*/) { return nullptr; } + }; + template + class WithCallbackMethod_UpdatePaths : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithCallbackMethod_UpdatePaths() { + ::grpc::Service::MarkMethodCallback(1, + new ::grpc::internal::CallbackServerStreamingHandler< ::beeremote::UpdatePathsRequest, ::beeremote::UpdatePathsResponse>( + [this]( + ::grpc::CallbackServerContext* context, const ::beeremote::UpdatePathsRequest* request) { return this->UpdatePaths(context, request); })); + } + ~WithCallbackMethod_UpdatePaths() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status UpdatePaths(::grpc::ServerContext* /*context*/, const ::beeremote::UpdatePathsRequest* /*request*/, ::grpc::ServerWriter< ::beeremote::UpdatePathsResponse>* /*writer*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerWriteReactor< ::beeremote::UpdatePathsResponse>* UpdatePaths( + ::grpc::CallbackServerContext* /*context*/, const ::beeremote::UpdatePathsRequest* /*request*/) { return nullptr; } + }; + template + class WithCallbackMethod_UpdateJobs : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithCallbackMethod_UpdateJobs() { + ::grpc::Service::MarkMethodCallback(2, + new ::grpc::internal::CallbackUnaryHandler< ::beeremote::UpdateJobsRequest, ::beeremote::UpdateJobsResponse>( + [this]( + ::grpc::CallbackServerContext* context, const ::beeremote::UpdateJobsRequest* request, ::beeremote::UpdateJobsResponse* response) { return this->UpdateJobs(context, request, response); }));} + void SetMessageAllocatorFor_UpdateJobs( + ::grpc::MessageAllocator< ::beeremote::UpdateJobsRequest, ::beeremote::UpdateJobsResponse>* allocator) { + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(2); + static_cast<::grpc::internal::CallbackUnaryHandler< ::beeremote::UpdateJobsRequest, ::beeremote::UpdateJobsResponse>*>(handler) + ->SetMessageAllocator(allocator); + } + ~WithCallbackMethod_UpdateJobs() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status UpdateJobs(::grpc::ServerContext* /*context*/, const ::beeremote::UpdateJobsRequest* /*request*/, ::beeremote::UpdateJobsResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* UpdateJobs( + ::grpc::CallbackServerContext* /*context*/, const ::beeremote::UpdateJobsRequest* /*request*/, ::beeremote::UpdateJobsResponse* /*response*/) { return nullptr; } + }; + template + class WithCallbackMethod_GetJobs : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithCallbackMethod_GetJobs() { + ::grpc::Service::MarkMethodCallback(3, + new ::grpc::internal::CallbackServerStreamingHandler< ::beeremote::GetJobsRequest, ::beeremote::GetJobsResponse>( + [this]( + ::grpc::CallbackServerContext* context, const ::beeremote::GetJobsRequest* request) { return this->GetJobs(context, request); })); + } + ~WithCallbackMethod_GetJobs() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetJobs(::grpc::ServerContext* /*context*/, const ::beeremote::GetJobsRequest* /*request*/, ::grpc::ServerWriter< ::beeremote::GetJobsResponse>* /*writer*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerWriteReactor< ::beeremote::GetJobsResponse>* GetJobs( + ::grpc::CallbackServerContext* /*context*/, const ::beeremote::GetJobsRequest* /*request*/) { return nullptr; } + }; + template + class WithCallbackMethod_UpdateWork : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithCallbackMethod_UpdateWork() { + ::grpc::Service::MarkMethodCallback(4, + new ::grpc::internal::CallbackUnaryHandler< ::beeremote::UpdateWorkRequest, ::beeremote::UpdateWorkResponse>( + [this]( + ::grpc::CallbackServerContext* context, const ::beeremote::UpdateWorkRequest* request, ::beeremote::UpdateWorkResponse* response) { return this->UpdateWork(context, request, response); }));} + void SetMessageAllocatorFor_UpdateWork( + ::grpc::MessageAllocator< ::beeremote::UpdateWorkRequest, ::beeremote::UpdateWorkResponse>* allocator) { + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(4); + static_cast<::grpc::internal::CallbackUnaryHandler< ::beeremote::UpdateWorkRequest, ::beeremote::UpdateWorkResponse>*>(handler) + ->SetMessageAllocator(allocator); + } + ~WithCallbackMethod_UpdateWork() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status UpdateWork(::grpc::ServerContext* /*context*/, const ::beeremote::UpdateWorkRequest* /*request*/, ::beeremote::UpdateWorkResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* UpdateWork( + ::grpc::CallbackServerContext* /*context*/, const ::beeremote::UpdateWorkRequest* /*request*/, ::beeremote::UpdateWorkResponse* /*response*/) { return nullptr; } + }; + template + class WithCallbackMethod_GetRSTConfig : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithCallbackMethod_GetRSTConfig() { + ::grpc::Service::MarkMethodCallback(5, + new ::grpc::internal::CallbackUnaryHandler< ::beeremote::GetRSTConfigRequest, ::beeremote::GetRSTConfigResponse>( + [this]( + ::grpc::CallbackServerContext* context, const ::beeremote::GetRSTConfigRequest* request, ::beeremote::GetRSTConfigResponse* response) { return this->GetRSTConfig(context, request, response); }));} + void SetMessageAllocatorFor_GetRSTConfig( + ::grpc::MessageAllocator< ::beeremote::GetRSTConfigRequest, ::beeremote::GetRSTConfigResponse>* allocator) { + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(5); + static_cast<::grpc::internal::CallbackUnaryHandler< ::beeremote::GetRSTConfigRequest, ::beeremote::GetRSTConfigResponse>*>(handler) + ->SetMessageAllocator(allocator); + } + ~WithCallbackMethod_GetRSTConfig() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetRSTConfig(::grpc::ServerContext* /*context*/, const ::beeremote::GetRSTConfigRequest* /*request*/, ::beeremote::GetRSTConfigResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* GetRSTConfig( + ::grpc::CallbackServerContext* /*context*/, const ::beeremote::GetRSTConfigRequest* /*request*/, ::beeremote::GetRSTConfigResponse* /*response*/) { return nullptr; } + }; + template + class WithCallbackMethod_GetStubContents : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithCallbackMethod_GetStubContents() { + ::grpc::Service::MarkMethodCallback(6, + new ::grpc::internal::CallbackUnaryHandler< ::beeremote::GetStubContentsRequest, ::beeremote::GetStubContentsResponse>( + [this]( + ::grpc::CallbackServerContext* context, const ::beeremote::GetStubContentsRequest* request, ::beeremote::GetStubContentsResponse* response) { return this->GetStubContents(context, request, response); }));} + void SetMessageAllocatorFor_GetStubContents( + ::grpc::MessageAllocator< ::beeremote::GetStubContentsRequest, ::beeremote::GetStubContentsResponse>* allocator) { + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(6); + static_cast<::grpc::internal::CallbackUnaryHandler< ::beeremote::GetStubContentsRequest, ::beeremote::GetStubContentsResponse>*>(handler) + ->SetMessageAllocator(allocator); + } + ~WithCallbackMethod_GetStubContents() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetStubContents(::grpc::ServerContext* /*context*/, const ::beeremote::GetStubContentsRequest* /*request*/, ::beeremote::GetStubContentsResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* GetStubContents( + ::grpc::CallbackServerContext* /*context*/, const ::beeremote::GetStubContentsRequest* /*request*/, ::beeremote::GetStubContentsResponse* /*response*/) { return nullptr; } + }; + template + class WithCallbackMethod_GetCapabilities : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithCallbackMethod_GetCapabilities() { + ::grpc::Service::MarkMethodCallback(7, + new ::grpc::internal::CallbackUnaryHandler< ::flex::GetCapabilitiesRequest, ::flex::GetCapabilitiesResponse>( + [this]( + ::grpc::CallbackServerContext* context, const ::flex::GetCapabilitiesRequest* request, ::flex::GetCapabilitiesResponse* response) { return this->GetCapabilities(context, request, response); }));} + void SetMessageAllocatorFor_GetCapabilities( + ::grpc::MessageAllocator< ::flex::GetCapabilitiesRequest, ::flex::GetCapabilitiesResponse>* allocator) { + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(7); + static_cast<::grpc::internal::CallbackUnaryHandler< ::flex::GetCapabilitiesRequest, ::flex::GetCapabilitiesResponse>*>(handler) + ->SetMessageAllocator(allocator); + } + ~WithCallbackMethod_GetCapabilities() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetCapabilities(::grpc::ServerContext* /*context*/, const ::flex::GetCapabilitiesRequest* /*request*/, ::flex::GetCapabilitiesResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* GetCapabilities( + ::grpc::CallbackServerContext* /*context*/, const ::flex::GetCapabilitiesRequest* /*request*/, ::flex::GetCapabilitiesResponse* /*response*/) { return nullptr; } + }; + typedef WithCallbackMethod_SubmitJob > > > > > > > CallbackService; + typedef CallbackService ExperimentalCallbackService; + template + class WithGenericMethod_SubmitJob : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_SubmitJob() { + ::grpc::Service::MarkMethodGeneric(0); + } + ~WithGenericMethod_SubmitJob() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status SubmitJob(::grpc::ServerContext* /*context*/, const ::beeremote::SubmitJobRequest* /*request*/, ::beeremote::SubmitJobResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_UpdatePaths : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_UpdatePaths() { + ::grpc::Service::MarkMethodGeneric(1); + } + ~WithGenericMethod_UpdatePaths() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status UpdatePaths(::grpc::ServerContext* /*context*/, const ::beeremote::UpdatePathsRequest* /*request*/, ::grpc::ServerWriter< ::beeremote::UpdatePathsResponse>* /*writer*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_UpdateJobs : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_UpdateJobs() { + ::grpc::Service::MarkMethodGeneric(2); + } + ~WithGenericMethod_UpdateJobs() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status UpdateJobs(::grpc::ServerContext* /*context*/, const ::beeremote::UpdateJobsRequest* /*request*/, ::beeremote::UpdateJobsResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_GetJobs : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_GetJobs() { + ::grpc::Service::MarkMethodGeneric(3); + } + ~WithGenericMethod_GetJobs() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetJobs(::grpc::ServerContext* /*context*/, const ::beeremote::GetJobsRequest* /*request*/, ::grpc::ServerWriter< ::beeremote::GetJobsResponse>* /*writer*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_UpdateWork : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_UpdateWork() { + ::grpc::Service::MarkMethodGeneric(4); + } + ~WithGenericMethod_UpdateWork() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status UpdateWork(::grpc::ServerContext* /*context*/, const ::beeremote::UpdateWorkRequest* /*request*/, ::beeremote::UpdateWorkResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_GetRSTConfig : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_GetRSTConfig() { + ::grpc::Service::MarkMethodGeneric(5); + } + ~WithGenericMethod_GetRSTConfig() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetRSTConfig(::grpc::ServerContext* /*context*/, const ::beeremote::GetRSTConfigRequest* /*request*/, ::beeremote::GetRSTConfigResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_GetStubContents : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_GetStubContents() { + ::grpc::Service::MarkMethodGeneric(6); + } + ~WithGenericMethod_GetStubContents() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetStubContents(::grpc::ServerContext* /*context*/, const ::beeremote::GetStubContentsRequest* /*request*/, ::beeremote::GetStubContentsResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_GetCapabilities : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_GetCapabilities() { + ::grpc::Service::MarkMethodGeneric(7); + } + ~WithGenericMethod_GetCapabilities() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetCapabilities(::grpc::ServerContext* /*context*/, const ::flex::GetCapabilitiesRequest* /*request*/, ::flex::GetCapabilitiesResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithRawMethod_SubmitJob : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_SubmitJob() { + ::grpc::Service::MarkMethodRaw(0); + } + ~WithRawMethod_SubmitJob() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status SubmitJob(::grpc::ServerContext* /*context*/, const ::beeremote::SubmitJobRequest* /*request*/, ::beeremote::SubmitJobResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestSubmitJob(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(0, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_UpdatePaths : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_UpdatePaths() { + ::grpc::Service::MarkMethodRaw(1); + } + ~WithRawMethod_UpdatePaths() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status UpdatePaths(::grpc::ServerContext* /*context*/, const ::beeremote::UpdatePathsRequest* /*request*/, ::grpc::ServerWriter< ::beeremote::UpdatePathsResponse>* /*writer*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestUpdatePaths(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncWriter< ::grpc::ByteBuffer>* writer, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncServerStreaming(1, context, request, writer, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_UpdateJobs : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_UpdateJobs() { + ::grpc::Service::MarkMethodRaw(2); + } + ~WithRawMethod_UpdateJobs() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status UpdateJobs(::grpc::ServerContext* /*context*/, const ::beeremote::UpdateJobsRequest* /*request*/, ::beeremote::UpdateJobsResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestUpdateJobs(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(2, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_GetJobs : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_GetJobs() { + ::grpc::Service::MarkMethodRaw(3); + } + ~WithRawMethod_GetJobs() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetJobs(::grpc::ServerContext* /*context*/, const ::beeremote::GetJobsRequest* /*request*/, ::grpc::ServerWriter< ::beeremote::GetJobsResponse>* /*writer*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGetJobs(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncWriter< ::grpc::ByteBuffer>* writer, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncServerStreaming(3, context, request, writer, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_UpdateWork : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_UpdateWork() { + ::grpc::Service::MarkMethodRaw(4); + } + ~WithRawMethod_UpdateWork() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status UpdateWork(::grpc::ServerContext* /*context*/, const ::beeremote::UpdateWorkRequest* /*request*/, ::beeremote::UpdateWorkResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestUpdateWork(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(4, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_GetRSTConfig : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_GetRSTConfig() { + ::grpc::Service::MarkMethodRaw(5); + } + ~WithRawMethod_GetRSTConfig() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetRSTConfig(::grpc::ServerContext* /*context*/, const ::beeremote::GetRSTConfigRequest* /*request*/, ::beeremote::GetRSTConfigResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGetRSTConfig(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(5, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_GetStubContents : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_GetStubContents() { + ::grpc::Service::MarkMethodRaw(6); + } + ~WithRawMethod_GetStubContents() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetStubContents(::grpc::ServerContext* /*context*/, const ::beeremote::GetStubContentsRequest* /*request*/, ::beeremote::GetStubContentsResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGetStubContents(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(6, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_GetCapabilities : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_GetCapabilities() { + ::grpc::Service::MarkMethodRaw(7); + } + ~WithRawMethod_GetCapabilities() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetCapabilities(::grpc::ServerContext* /*context*/, const ::flex::GetCapabilitiesRequest* /*request*/, ::flex::GetCapabilitiesResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGetCapabilities(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(7, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawCallbackMethod_SubmitJob : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawCallbackMethod_SubmitJob() { + ::grpc::Service::MarkMethodRawCallback(0, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->SubmitJob(context, request, response); })); + } + ~WithRawCallbackMethod_SubmitJob() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status SubmitJob(::grpc::ServerContext* /*context*/, const ::beeremote::SubmitJobRequest* /*request*/, ::beeremote::SubmitJobResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* SubmitJob( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } + }; + template + class WithRawCallbackMethod_UpdatePaths : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawCallbackMethod_UpdatePaths() { + ::grpc::Service::MarkMethodRawCallback(1, + new ::grpc::internal::CallbackServerStreamingHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + ::grpc::CallbackServerContext* context, const::grpc::ByteBuffer* request) { return this->UpdatePaths(context, request); })); + } + ~WithRawCallbackMethod_UpdatePaths() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status UpdatePaths(::grpc::ServerContext* /*context*/, const ::beeremote::UpdatePathsRequest* /*request*/, ::grpc::ServerWriter< ::beeremote::UpdatePathsResponse>* /*writer*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerWriteReactor< ::grpc::ByteBuffer>* UpdatePaths( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/) { return nullptr; } + }; + template + class WithRawCallbackMethod_UpdateJobs : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawCallbackMethod_UpdateJobs() { + ::grpc::Service::MarkMethodRawCallback(2, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->UpdateJobs(context, request, response); })); + } + ~WithRawCallbackMethod_UpdateJobs() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status UpdateJobs(::grpc::ServerContext* /*context*/, const ::beeremote::UpdateJobsRequest* /*request*/, ::beeremote::UpdateJobsResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* UpdateJobs( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } + }; + template + class WithRawCallbackMethod_GetJobs : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawCallbackMethod_GetJobs() { + ::grpc::Service::MarkMethodRawCallback(3, + new ::grpc::internal::CallbackServerStreamingHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + ::grpc::CallbackServerContext* context, const::grpc::ByteBuffer* request) { return this->GetJobs(context, request); })); + } + ~WithRawCallbackMethod_GetJobs() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetJobs(::grpc::ServerContext* /*context*/, const ::beeremote::GetJobsRequest* /*request*/, ::grpc::ServerWriter< ::beeremote::GetJobsResponse>* /*writer*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerWriteReactor< ::grpc::ByteBuffer>* GetJobs( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/) { return nullptr; } + }; + template + class WithRawCallbackMethod_UpdateWork : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawCallbackMethod_UpdateWork() { + ::grpc::Service::MarkMethodRawCallback(4, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->UpdateWork(context, request, response); })); + } + ~WithRawCallbackMethod_UpdateWork() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status UpdateWork(::grpc::ServerContext* /*context*/, const ::beeremote::UpdateWorkRequest* /*request*/, ::beeremote::UpdateWorkResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* UpdateWork( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } + }; + template + class WithRawCallbackMethod_GetRSTConfig : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawCallbackMethod_GetRSTConfig() { + ::grpc::Service::MarkMethodRawCallback(5, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->GetRSTConfig(context, request, response); })); + } + ~WithRawCallbackMethod_GetRSTConfig() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetRSTConfig(::grpc::ServerContext* /*context*/, const ::beeremote::GetRSTConfigRequest* /*request*/, ::beeremote::GetRSTConfigResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* GetRSTConfig( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } + }; + template + class WithRawCallbackMethod_GetStubContents : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawCallbackMethod_GetStubContents() { + ::grpc::Service::MarkMethodRawCallback(6, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->GetStubContents(context, request, response); })); + } + ~WithRawCallbackMethod_GetStubContents() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetStubContents(::grpc::ServerContext* /*context*/, const ::beeremote::GetStubContentsRequest* /*request*/, ::beeremote::GetStubContentsResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* GetStubContents( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } + }; + template + class WithRawCallbackMethod_GetCapabilities : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawCallbackMethod_GetCapabilities() { + ::grpc::Service::MarkMethodRawCallback(7, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->GetCapabilities(context, request, response); })); + } + ~WithRawCallbackMethod_GetCapabilities() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetCapabilities(::grpc::ServerContext* /*context*/, const ::flex::GetCapabilitiesRequest* /*request*/, ::flex::GetCapabilitiesResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* GetCapabilities( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } + }; + template + class WithStreamedUnaryMethod_SubmitJob : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithStreamedUnaryMethod_SubmitJob() { + ::grpc::Service::MarkMethodStreamed(0, + new ::grpc::internal::StreamedUnaryHandler< + ::beeremote::SubmitJobRequest, ::beeremote::SubmitJobResponse>( + [this](::grpc::ServerContext* context, + ::grpc::ServerUnaryStreamer< + ::beeremote::SubmitJobRequest, ::beeremote::SubmitJobResponse>* streamer) { + return this->StreamedSubmitJob(context, + streamer); + })); + } + ~WithStreamedUnaryMethod_SubmitJob() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status SubmitJob(::grpc::ServerContext* /*context*/, const ::beeremote::SubmitJobRequest* /*request*/, ::beeremote::SubmitJobResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedSubmitJob(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::beeremote::SubmitJobRequest,::beeremote::SubmitJobResponse>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_UpdateJobs : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithStreamedUnaryMethod_UpdateJobs() { + ::grpc::Service::MarkMethodStreamed(2, + new ::grpc::internal::StreamedUnaryHandler< + ::beeremote::UpdateJobsRequest, ::beeremote::UpdateJobsResponse>( + [this](::grpc::ServerContext* context, + ::grpc::ServerUnaryStreamer< + ::beeremote::UpdateJobsRequest, ::beeremote::UpdateJobsResponse>* streamer) { + return this->StreamedUpdateJobs(context, + streamer); + })); + } + ~WithStreamedUnaryMethod_UpdateJobs() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status UpdateJobs(::grpc::ServerContext* /*context*/, const ::beeremote::UpdateJobsRequest* /*request*/, ::beeremote::UpdateJobsResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedUpdateJobs(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::beeremote::UpdateJobsRequest,::beeremote::UpdateJobsResponse>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_UpdateWork : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithStreamedUnaryMethod_UpdateWork() { + ::grpc::Service::MarkMethodStreamed(4, + new ::grpc::internal::StreamedUnaryHandler< + ::beeremote::UpdateWorkRequest, ::beeremote::UpdateWorkResponse>( + [this](::grpc::ServerContext* context, + ::grpc::ServerUnaryStreamer< + ::beeremote::UpdateWorkRequest, ::beeremote::UpdateWorkResponse>* streamer) { + return this->StreamedUpdateWork(context, + streamer); + })); + } + ~WithStreamedUnaryMethod_UpdateWork() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status UpdateWork(::grpc::ServerContext* /*context*/, const ::beeremote::UpdateWorkRequest* /*request*/, ::beeremote::UpdateWorkResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedUpdateWork(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::beeremote::UpdateWorkRequest,::beeremote::UpdateWorkResponse>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_GetRSTConfig : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithStreamedUnaryMethod_GetRSTConfig() { + ::grpc::Service::MarkMethodStreamed(5, + new ::grpc::internal::StreamedUnaryHandler< + ::beeremote::GetRSTConfigRequest, ::beeremote::GetRSTConfigResponse>( + [this](::grpc::ServerContext* context, + ::grpc::ServerUnaryStreamer< + ::beeremote::GetRSTConfigRequest, ::beeremote::GetRSTConfigResponse>* streamer) { + return this->StreamedGetRSTConfig(context, + streamer); + })); + } + ~WithStreamedUnaryMethod_GetRSTConfig() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status GetRSTConfig(::grpc::ServerContext* /*context*/, const ::beeremote::GetRSTConfigRequest* /*request*/, ::beeremote::GetRSTConfigResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedGetRSTConfig(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::beeremote::GetRSTConfigRequest,::beeremote::GetRSTConfigResponse>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_GetStubContents : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithStreamedUnaryMethod_GetStubContents() { + ::grpc::Service::MarkMethodStreamed(6, + new ::grpc::internal::StreamedUnaryHandler< + ::beeremote::GetStubContentsRequest, ::beeremote::GetStubContentsResponse>( + [this](::grpc::ServerContext* context, + ::grpc::ServerUnaryStreamer< + ::beeremote::GetStubContentsRequest, ::beeremote::GetStubContentsResponse>* streamer) { + return this->StreamedGetStubContents(context, + streamer); + })); + } + ~WithStreamedUnaryMethod_GetStubContents() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status GetStubContents(::grpc::ServerContext* /*context*/, const ::beeremote::GetStubContentsRequest* /*request*/, ::beeremote::GetStubContentsResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedGetStubContents(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::beeremote::GetStubContentsRequest,::beeremote::GetStubContentsResponse>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_GetCapabilities : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithStreamedUnaryMethod_GetCapabilities() { + ::grpc::Service::MarkMethodStreamed(7, + new ::grpc::internal::StreamedUnaryHandler< + ::flex::GetCapabilitiesRequest, ::flex::GetCapabilitiesResponse>( + [this](::grpc::ServerContext* context, + ::grpc::ServerUnaryStreamer< + ::flex::GetCapabilitiesRequest, ::flex::GetCapabilitiesResponse>* streamer) { + return this->StreamedGetCapabilities(context, + streamer); + })); + } + ~WithStreamedUnaryMethod_GetCapabilities() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status GetCapabilities(::grpc::ServerContext* /*context*/, const ::flex::GetCapabilitiesRequest* /*request*/, ::flex::GetCapabilitiesResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedGetCapabilities(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flex::GetCapabilitiesRequest,::flex::GetCapabilitiesResponse>* server_unary_streamer) = 0; + }; + typedef WithStreamedUnaryMethod_SubmitJob > > > > > StreamedUnaryService; + template + class WithSplitStreamingMethod_UpdatePaths : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithSplitStreamingMethod_UpdatePaths() { + ::grpc::Service::MarkMethodStreamed(1, + new ::grpc::internal::SplitServerStreamingHandler< + ::beeremote::UpdatePathsRequest, ::beeremote::UpdatePathsResponse>( + [this](::grpc::ServerContext* context, + ::grpc::ServerSplitStreamer< + ::beeremote::UpdatePathsRequest, ::beeremote::UpdatePathsResponse>* streamer) { + return this->StreamedUpdatePaths(context, + streamer); + })); + } + ~WithSplitStreamingMethod_UpdatePaths() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status UpdatePaths(::grpc::ServerContext* /*context*/, const ::beeremote::UpdatePathsRequest* /*request*/, ::grpc::ServerWriter< ::beeremote::UpdatePathsResponse>* /*writer*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with split streamed + virtual ::grpc::Status StreamedUpdatePaths(::grpc::ServerContext* context, ::grpc::ServerSplitStreamer< ::beeremote::UpdatePathsRequest,::beeremote::UpdatePathsResponse>* server_split_streamer) = 0; + }; + template + class WithSplitStreamingMethod_GetJobs : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithSplitStreamingMethod_GetJobs() { + ::grpc::Service::MarkMethodStreamed(3, + new ::grpc::internal::SplitServerStreamingHandler< + ::beeremote::GetJobsRequest, ::beeremote::GetJobsResponse>( + [this](::grpc::ServerContext* context, + ::grpc::ServerSplitStreamer< + ::beeremote::GetJobsRequest, ::beeremote::GetJobsResponse>* streamer) { + return this->StreamedGetJobs(context, + streamer); + })); + } + ~WithSplitStreamingMethod_GetJobs() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status GetJobs(::grpc::ServerContext* /*context*/, const ::beeremote::GetJobsRequest* /*request*/, ::grpc::ServerWriter< ::beeremote::GetJobsResponse>* /*writer*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with split streamed + virtual ::grpc::Status StreamedGetJobs(::grpc::ServerContext* context, ::grpc::ServerSplitStreamer< ::beeremote::GetJobsRequest,::beeremote::GetJobsResponse>* server_split_streamer) = 0; + }; + typedef WithSplitStreamingMethod_UpdatePaths > SplitStreamedService; + typedef WithStreamedUnaryMethod_SubmitJob > > > > > > > StreamedService; +}; + +} // namespace beeremote + + +#include +#endif // GRPC_beeremote_2eproto__INCLUDED diff --git a/cpp/beeremote.pb.cc b/cpp/include/proto/beeremote.pb.cc similarity index 51% rename from cpp/beeremote.pb.cc rename to cpp/include/proto/beeremote.pb.cc index 4e05298..a6bda7b 100644 --- a/cpp/beeremote.pb.cc +++ b/cpp/include/proto/beeremote.pb.cc @@ -1,7 +1,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // NO CHECKED-IN PROTOBUF GENCODE // source: beeremote.proto -// Protobuf C++ Version: 5.29.2 +// Protobuf C++ Version: 6.31.1 #include "beeremote.pb.h" @@ -25,10 +25,10 @@ namespace _pb = ::google::protobuf; namespace _pbi = ::google::protobuf::internal; namespace _fl = ::google::protobuf::internal::field_layout; namespace beeremote { - template +template PROTOBUF_CONSTEXPR UpdateWorkResponse::UpdateWorkResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} + : ::google::protobuf::internal::ZeroFieldsBase(UpdateWorkResponse_class_data_.base()){} #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::internal::ZeroFieldsBase() { } @@ -43,10 +43,10 @@ struct UpdateWorkResponseDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UpdateWorkResponseDefaultTypeInternal _UpdateWorkResponse_default_instance_; - template +template PROTOBUF_CONSTEXPR UpdateJobsRequest_RemoteTargetsEntry_DoNotUse::UpdateJobsRequest_RemoteTargetsEntry_DoNotUse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : UpdateJobsRequest_RemoteTargetsEntry_DoNotUse::MapEntry(_class_data_.base()){} + : UpdateJobsRequest_RemoteTargetsEntry_DoNotUse::MapEntry(UpdateJobsRequest_RemoteTargetsEntry_DoNotUse_class_data_.base()){} #else // PROTOBUF_CUSTOM_VTABLE : UpdateJobsRequest_RemoteTargetsEntry_DoNotUse::MapEntry() { } @@ -64,16 +64,16 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT inline constexpr JobRequest_GenerationStatus::Impl_::Impl_( ::_pbi::ConstantInitialized) noexcept - : message_( + : _cached_size_{0}, + message_( &::google::protobuf::internal::fixed_address_empty_string, ::_pbi::ConstantInitialized()), - state_{static_cast< ::beeremote::JobRequest_GenerationStatus_State >(0)}, - _cached_size_{0} {} + state_{static_cast< ::beeremote::JobRequest_GenerationStatus_State >(0)} {} template PROTOBUF_CONSTEXPR JobRequest_GenerationStatus::JobRequest_GenerationStatus(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(JobRequest_GenerationStatus_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -101,7 +101,7 @@ inline constexpr GetStubContentsResponse::Impl_::Impl_( template PROTOBUF_CONSTEXPR GetStubContentsResponse::GetStubContentsResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(GetStubContentsResponse_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -120,15 +120,15 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT inline constexpr GetStubContentsRequest::Impl_::Impl_( ::_pbi::ConstantInitialized) noexcept - : path_( + : _cached_size_{0}, + path_( &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - _cached_size_{0} {} + ::_pbi::ConstantInitialized()) {} template PROTOBUF_CONSTEXPR GetStubContentsRequest::GetStubContentsRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(GetStubContentsRequest_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -144,10 +144,10 @@ struct GetStubContentsRequestDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetStubContentsRequestDefaultTypeInternal _GetStubContentsRequest_default_instance_; - template +template PROTOBUF_CONSTEXPR GetRSTConfigRequest::GetRSTConfigRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} + : ::google::protobuf::internal::ZeroFieldsBase(GetRSTConfigRequest_class_data_.base()){} #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::internal::ZeroFieldsBase() { } @@ -165,18 +165,18 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT inline constexpr GetJobsRequest_QueryIdAndPath::Impl_::Impl_( ::_pbi::ConstantInitialized) noexcept - : job_id_( + : _cached_size_{0}, + job_id_( &::google::protobuf::internal::fixed_address_empty_string, ::_pbi::ConstantInitialized()), path_( &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - _cached_size_{0} {} + ::_pbi::ConstantInitialized()) {} template PROTOBUF_CONSTEXPR GetJobsRequest_QueryIdAndPath::GetJobsRequest_QueryIdAndPath(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(GetJobsRequest_QueryIdAndPath_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -209,7 +209,7 @@ inline constexpr UpdateJobsRequest::Impl_::Impl_( template PROTOBUF_CONSTEXPR UpdateJobsRequest::UpdateJobsRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(UpdateJobsRequest_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -238,7 +238,7 @@ inline constexpr Job_Status::Impl_::Impl_( template PROTOBUF_CONSTEXPR Job_Status::Job_Status(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(Job_Status_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -257,17 +257,17 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT inline constexpr GetJobsRequest::Impl_::Impl_( ::_pbi::ConstantInitialized) noexcept - : include_work_requests_{false}, + : _cached_size_{0}, + 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()), + : ::google::protobuf::Message(GetJobsRequest_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -292,7 +292,7 @@ inline constexpr UpdateWorkRequest::Impl_::Impl_( template PROTOBUF_CONSTEXPR UpdateWorkRequest::UpdateWorkRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(UpdateWorkRequest_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -320,7 +320,7 @@ inline constexpr UpdatePathsRequest::Impl_::Impl_( template PROTOBUF_CONSTEXPR UpdatePathsRequest::UpdatePathsRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(UpdatePathsRequest_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -351,7 +351,7 @@ inline constexpr JobResult_WorkResult::Impl_::Impl_( template PROTOBUF_CONSTEXPR JobResult_WorkResult::JobResult_WorkResult(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(JobResult_WorkResult_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -389,7 +389,7 @@ inline constexpr JobRequest::Impl_::Impl_( template PROTOBUF_CONSTEXPR JobRequest::JobRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(JobRequest_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -414,7 +414,7 @@ inline constexpr SubmitJobRequest::Impl_::Impl_( template PROTOBUF_CONSTEXPR SubmitJobRequest::SubmitJobRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(SubmitJobRequest_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -449,7 +449,7 @@ inline constexpr Job::Impl_::Impl_( template PROTOBUF_CONSTEXPR Job::Job(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(Job_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -474,7 +474,7 @@ inline constexpr GetRSTConfigResponse::Impl_::Impl_( template PROTOBUF_CONSTEXPR GetRSTConfigResponse::GetRSTConfigResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(GetRSTConfigResponse_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -501,7 +501,7 @@ inline constexpr JobResult::Impl_::Impl_( template PROTOBUF_CONSTEXPR JobResult::JobResult(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(JobResult_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -520,17 +520,17 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT inline constexpr UpdateJobsResponse::Impl_::Impl_( ::_pbi::ConstantInitialized) noexcept - : results_{}, + : _cached_size_{0}, + results_{}, message_( &::google::protobuf::internal::fixed_address_empty_string, ::_pbi::ConstantInitialized()), - ok_{false}, - _cached_size_{0} {} + ok_{false} {} template PROTOBUF_CONSTEXPR UpdateJobsResponse::UpdateJobsResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(UpdateJobsResponse_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -556,7 +556,7 @@ inline constexpr SubmitJobResponse::Impl_::Impl_( template PROTOBUF_CONSTEXPR SubmitJobResponse::SubmitJobResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(SubmitJobResponse_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -575,16 +575,16 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT inline constexpr GetJobsResponse::Impl_::Impl_( ::_pbi::ConstantInitialized) noexcept - : results_{}, + : _cached_size_{0}, + results_{}, path_( &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - _cached_size_{0} {} + ::_pbi::ConstantInitialized()) {} template PROTOBUF_CONSTEXPR GetJobsResponse::GetJobsResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(GetJobsResponse_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -612,7 +612,7 @@ inline constexpr UpdatePathsResponse::Impl_::Impl_( template PROTOBUF_CONSTEXPR UpdatePathsResponse::UpdatePathsResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(UpdatePathsResponse_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -629,52 +629,36 @@ struct UpdatePathsResponseDefaultTypeInternal { 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** +static const ::_pb::EnumDescriptor* PROTOBUF_NONNULL + file_level_enum_descriptors_beeremote_2eproto[4]; +static constexpr const ::_pb::ServiceDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE file_level_service_descriptors_beeremote_2eproto = nullptr; const ::uint32_t TableStruct_beeremote_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( protodesc_cold) = { + 0x081, // bitmap 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) + 4, // hasbit index offset PROTOBUF_FIELD_OFFSET(::beeremote::SubmitJobRequest, _impl_.request_), 0, + 0x081, // bitmap 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) + 5, // hasbit index offset 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) + 1, + 0x081, // bitmap + PROTOBUF_FIELD_OFFSET(::beeremote::JobRequest_GenerationStatus, _impl_._has_bits_), + 5, // hasbit index offset PROTOBUF_FIELD_OFFSET(::beeremote::JobRequest_GenerationStatus, _impl_.state_), PROTOBUF_FIELD_OFFSET(::beeremote::JobRequest_GenerationStatus, _impl_.message_), + 1, + 0, + 0x085, // bitmap 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) + 16, // hasbit index offset PROTOBUF_FIELD_OFFSET(::beeremote::JobRequest, _impl_.path_), PROTOBUF_FIELD_OFFSET(::beeremote::JobRequest, _impl_.name_), PROTOBUF_FIELD_OFFSET(::beeremote::JobRequest, _impl_.priority_), @@ -687,39 +671,29 @@ const ::uint32_t PROTOBUF_FIELD_OFFSET(::beeremote::JobRequest, _impl_.generation_status_), PROTOBUF_FIELD_OFFSET(::beeremote::JobRequest, _impl_.update_), PROTOBUF_FIELD_OFFSET(::beeremote::JobRequest, _impl_.type_), + 0, + 1, + 3, + 4, ~0u, ~0u, ~0u, - ~0u, - ~0u, - ~0u, - ~0u, - ~0u, - ~0u, - 0, - 1, + 5, + 6, + 2, + 7, + 0x081, // bitmap 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) + 6, // hasbit index offset 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, + 2, 0, + 1, + 0x081, // bitmap 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) + 10, // hasbit index offset PROTOBUF_FIELD_OFFSET(::beeremote::Job, _impl_.id_), PROTOBUF_FIELD_OFFSET(::beeremote::Job, _impl_.request_), PROTOBUF_FIELD_OFFSET(::beeremote::Job, _impl_.created_), @@ -727,124 +701,85 @@ const ::uint32_t 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, + 1, + 5, + 6, + 0x081, // bitmap 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) + 6, // hasbit index offset 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_), + 2, 0, - ~0u, - ~0u, + 1, + 0x081, // bitmap 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) + 6, // hasbit index offset 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, + 0x081, // bitmap 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) + 5, // hasbit index offset PROTOBUF_FIELD_OFFSET(::beeremote::UpdatePathsRequest, _impl_.path_prefix_), PROTOBUF_FIELD_OFFSET(::beeremote::UpdatePathsRequest, _impl_.requested_update_), - ~0u, 0, + 1, + 0x081, // bitmap 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) + 5, // hasbit index offset PROTOBUF_FIELD_OFFSET(::beeremote::UpdatePathsResponse, _impl_.path_), PROTOBUF_FIELD_OFFSET(::beeremote::UpdatePathsResponse, _impl_.update_result_), - ~0u, 0, + 1, + 0x081, // bitmap 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) + 5, // hasbit index offset PROTOBUF_FIELD_OFFSET(::beeremote::UpdateJobsRequest_RemoteTargetsEntry_DoNotUse, _impl_.key_), PROTOBUF_FIELD_OFFSET(::beeremote::UpdateJobsRequest_RemoteTargetsEntry_DoNotUse, _impl_.value_), 0, 1, + 0x081, // bitmap 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) + 8, // hasbit index offset 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, + 1, ~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) + 3, + 2, + 0x081, // bitmap + PROTOBUF_FIELD_OFFSET(::beeremote::UpdateJobsResponse, _impl_._has_bits_), + 6, // hasbit index offset 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) + 1, + 0, + ~0u, + 0x081, // bitmap + PROTOBUF_FIELD_OFFSET(::beeremote::GetJobsRequest_QueryIdAndPath, _impl_._has_bits_), + 5, // hasbit index offset 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_ + 0, + 1, + 0x085, // bitmap + PROTOBUF_FIELD_OFFSET(::beeremote::GetJobsRequest, _impl_._has_bits_), 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) + 11, // hasbit index offset ::_pbi::kInvalidFieldOffsetTag, ::_pbi::kInvalidFieldOffsetTag, ::_pbi::kInvalidFieldOffsetTag, @@ -852,68 +787,36 @@ const ::uint32_t 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) + ~0u, + ~0u, + ~0u, + 0, + 1, + 2, + 0x081, // bitmap + PROTOBUF_FIELD_OFFSET(::beeremote::GetJobsResponse, _impl_._has_bits_), + 5, // hasbit index offset PROTOBUF_FIELD_OFFSET(::beeremote::GetJobsResponse, _impl_.path_), PROTOBUF_FIELD_OFFSET(::beeremote::GetJobsResponse, _impl_.results_), + 0, + ~0u, + 0x081, // bitmap 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) + 4, // hasbit index offset 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) + 0x000, // bitmap + 0x000, // bitmap + 0x000, // bitmap 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) + 0x081, // bitmap + PROTOBUF_FIELD_OFFSET(::beeremote::GetStubContentsRequest, _impl_._has_bits_), + 4, // hasbit index offset PROTOBUF_FIELD_OFFSET(::beeremote::GetStubContentsRequest, _impl_.path_), + 0, + 0x081, // bitmap 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) + 5, // hasbit index offset PROTOBUF_FIELD_OFFSET(::beeremote::GetStubContentsResponse, _impl_.rst_id_), PROTOBUF_FIELD_OFFSET(::beeremote::GetStubContentsResponse, _impl_.url_), 1, @@ -922,30 +825,30 @@ const ::uint32_t 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)}, + {0, sizeof(::beeremote::SubmitJobRequest)}, + {5, sizeof(::beeremote::SubmitJobResponse)}, + {12, sizeof(::beeremote::JobRequest_GenerationStatus)}, + {19, sizeof(::beeremote::JobRequest)}, + {46, sizeof(::beeremote::Job_Status)}, + {55, sizeof(::beeremote::Job)}, + {72, sizeof(::beeremote::JobResult_WorkResult)}, + {81, sizeof(::beeremote::JobResult)}, + {90, sizeof(::beeremote::UpdatePathsRequest)}, + {97, sizeof(::beeremote::UpdatePathsResponse)}, + {104, sizeof(::beeremote::UpdateJobsRequest_RemoteTargetsEntry_DoNotUse)}, + {111, sizeof(::beeremote::UpdateJobsRequest)}, + {124, sizeof(::beeremote::UpdateJobsResponse)}, + {133, sizeof(::beeremote::GetJobsRequest_QueryIdAndPath)}, + {140, sizeof(::beeremote::GetJobsRequest)}, + {157, sizeof(::beeremote::GetJobsResponse)}, + {164, sizeof(::beeremote::UpdateWorkRequest)}, + {169, sizeof(::beeremote::UpdateWorkResponse)}, + {170, sizeof(::beeremote::GetRSTConfigRequest)}, + {171, sizeof(::beeremote::GetRSTConfigResponse)}, + {173, sizeof(::beeremote::GetStubContentsRequest)}, + {178, sizeof(::beeremote::GetStubContentsResponse)}, }; -static const ::_pb::Message* const file_default_instances[] = { +static const ::_pb::Message* PROTOBUF_NONNULL const file_default_instances[] = { &::beeremote::_SubmitJobRequest_default_instance_._instance, &::beeremote::_SubmitJobResponse_default_instance_._instance, &::beeremote::_JobRequest_GenerationStatus_default_instance_._instance, @@ -1064,8 +967,8 @@ const char descriptor_table_protodef_beeremote_2eproto[] ABSL_ATTRIBUTE_SECTION_ "apabilitiesResponseB,Z*github.com/thinkp" "arq/protobuf/go/beeremoteb\006proto3" }; -static const ::_pbi::DescriptorTable* const descriptor_table_beeremote_2eproto_deps[2] = - { +static const ::_pbi::DescriptorTable* PROTOBUF_NONNULL const + descriptor_table_beeremote_2eproto_deps[2] = { &::descriptor_table_flex_2eproto, &::descriptor_table_google_2fprotobuf_2ftimestamp_2eproto, }; @@ -1087,133 +990,61 @@ PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_beeremote_2epr file_level_service_descriptors_beeremote_2eproto, }; namespace beeremote { -const ::google::protobuf::EnumDescriptor* SubmitJobResponse_ResponseStatus_descriptor() { +const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL 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() { +const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL 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() { +const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL 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() { +const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL 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_); + 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) +SubmitJobRequest::SubmitJobRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, SubmitJobRequest_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) +PROTOBUF_NDEBUG_INLINE SubmitJobRequest::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::beeremote::SubmitJobRequest& from_msg) : _has_bits_{from._has_bits_}, _cached_size_{0} {} SubmitJobRequest::SubmitJobRequest( - ::google::protobuf::Arena* arena, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SubmitJobRequest& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, SubmitJobRequest_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -1223,18 +1054,18 @@ SubmitJobRequest::SubmitJobRequest( 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_.request_ = ((cached_has_bits & 0x00000001u) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.request_) + : nullptr; // @@protoc_insertion_point(copy_constructor:beeremote.SubmitJobRequest) } -inline PROTOBUF_NDEBUG_INLINE SubmitJobRequest::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE SubmitJobRequest::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : _cached_size_{0} {} -inline void SubmitJobRequest::SharedCtor(::_pb::Arena* arena) { +inline void SubmitJobRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); _impl_.request_ = {}; } @@ -1250,43 +1081,51 @@ inline void SubmitJobRequest::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* SubmitJobRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL SubmitJobRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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(), +constexpr auto SubmitJobRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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, + &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_FIELD_OFFSET(SubmitJobRequest, _impl_._cached_size_), + false, + }, + &SubmitJobRequest::kDescriptorMethods, + &descriptor_table_beeremote_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull SubmitJobRequest_class_data_ = + SubmitJobRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +SubmitJobRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&SubmitJobRequest_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(SubmitJobRequest_class_data_.tc_table); + return SubmitJobRequest_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 1, 1, 0, 2> SubmitJobRequest::_table_ = { +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> +SubmitJobRequest::_table_ = { { PROTOBUF_FIELD_OFFSET(SubmitJobRequest, _impl_._has_bits_), 0, // no _extensions_ @@ -1297,7 +1136,7 @@ const ::_pbi::TcParseTable<0, 1, 1, 0, 2> SubmitJobRequest::_table_ = { 1, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + SubmitJobRequest_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -1313,12 +1152,13 @@ const ::_pbi::TcParseTable<0, 1, 1, 0, 2> SubmitJobRequest::_table_ = { // .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>()}, - }}, {{ + }}, + {{ + {::_pbi::TcParser::GetTable<::beeremote::JobRequest>()}, + }}, + {{ }}, }; - PROTOBUF_NOINLINE void SubmitJobRequest::Clear() { // @@protoc_insertion_point(message_clear_start:beeremote.SubmitJobRequest) ::google::protobuf::internal::TSanWrite(&_impl_); @@ -1327,7 +1167,7 @@ PROTOBUF_NOINLINE void SubmitJobRequest::Clear() { (void) cached_has_bits; cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000001u) != 0) { ABSL_DCHECK(_impl_.request_ != nullptr); _impl_.request_->Clear(); } @@ -1336,62 +1176,62 @@ PROTOBUF_NOINLINE void SubmitJobRequest::Clear() { } #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); +::uint8_t* PROTOBUF_NONNULL SubmitJobRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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; +::uint8_t* PROTOBUF_NONNULL SubmitJobRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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; - } + // @@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) != 0) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.request_, this_._impl_.request_->GetCachedSize(), target, + stream); + } + + if (ABSL_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); +::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; +::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_); - } + // @@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) != 0) { + 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); @@ -1403,11 +1243,10 @@ void SubmitJobRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const (void) cached_has_bits; cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000001u) != 0) { ABSL_DCHECK(from._impl_.request_ != nullptr); if (_this->_impl_.request_ == nullptr) { - _this->_impl_.request_ = - ::google::protobuf::Message::CopyConstruct<::beeremote::JobRequest>(arena, *from._impl_.request_); + _this->_impl_.request_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.request_); } else { _this->_impl_.request_->MergeFrom(*from._impl_.request_); } @@ -1424,8 +1263,8 @@ void SubmitJobRequest::CopyFrom(const SubmitJobRequest& from) { } -void SubmitJobRequest::InternalSwap(SubmitJobRequest* PROTOBUF_RESTRICT other) { - using std::swap; +void SubmitJobRequest::InternalSwap(SubmitJobRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL 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_); @@ -1439,31 +1278,32 @@ ::google::protobuf::Metadata SubmitJobRequest::GetMetadata() const { class SubmitJobResponse::_Internal { public: using HasBits = - decltype(std::declval()._impl_._has_bits_); + 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) +SubmitJobResponse::SubmitJobResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, SubmitJobResponse_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) +PROTOBUF_NDEBUG_INLINE SubmitJobResponse::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::beeremote::SubmitJobResponse& from_msg) : _has_bits_{from._has_bits_}, _cached_size_{0} {} SubmitJobResponse::SubmitJobResponse( - ::google::protobuf::Arena* arena, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SubmitJobResponse& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, SubmitJobResponse_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -1473,19 +1313,19 @@ SubmitJobResponse::SubmitJobResponse( 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_.result_ = ((cached_has_bits & 0x00000001u) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.result_) + : nullptr; _impl_.status_ = from._impl_.status_; // @@protoc_insertion_point(copy_constructor:beeremote.SubmitJobResponse) } -inline PROTOBUF_NDEBUG_INLINE SubmitJobResponse::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE SubmitJobResponse::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : _cached_size_{0} {} -inline void SubmitJobResponse::SharedCtor(::_pb::Arena* arena) { +inline void SubmitJobResponse::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); ::memset(reinterpret_cast(&_impl_) + offsetof(Impl_, result_), @@ -1506,43 +1346,51 @@ inline void SubmitJobResponse::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* SubmitJobResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL SubmitJobResponse::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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(), +constexpr auto SubmitJobResponse::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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, + &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_FIELD_OFFSET(SubmitJobResponse, _impl_._cached_size_), + false, + }, + &SubmitJobResponse::kDescriptorMethods, + &descriptor_table_beeremote_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull SubmitJobResponse_class_data_ = + SubmitJobResponse::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +SubmitJobResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&SubmitJobResponse_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(SubmitJobResponse_class_data_.tc_table); + return SubmitJobResponse_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<1, 2, 1, 0, 2> SubmitJobResponse::_table_ = { +const ::_pbi::TcParseTable<1, 2, 1, 0, 2> +SubmitJobResponse::_table_ = { { PROTOBUF_FIELD_OFFSET(SubmitJobResponse, _impl_._has_bits_), 0, // no _extensions_ @@ -1553,7 +1401,7 @@ const ::_pbi::TcParseTable<1, 2, 1, 0, 2> SubmitJobResponse::_table_ = { 2, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + SubmitJobResponse_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -1561,8 +1409,8 @@ const ::_pbi::TcParseTable<1, 2, 1, 0, 2> SubmitJobResponse::_table_ = { #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_)}}, + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SubmitJobResponse, _impl_.status_), 1>(), + {16, 1, 0, PROTOBUF_FIELD_OFFSET(SubmitJobResponse, _impl_.status_)}}, // .beeremote.JobResult result = 1; {::_pbi::TcParser::FastMtS1, {10, 0, 0, PROTOBUF_FIELD_OFFSET(SubmitJobResponse, _impl_.result_)}}, @@ -1573,14 +1421,15 @@ const ::_pbi::TcParseTable<1, 2, 1, 0, 2> SubmitJobResponse::_table_ = { {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_FIELD_OFFSET(SubmitJobResponse, _impl_.status_), _Internal::kHasBitsOffset + 1, 0, + (0 | ::_fl::kFcOptional | ::_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_); @@ -1589,7 +1438,7 @@ PROTOBUF_NOINLINE void SubmitJobResponse::Clear() { (void) cached_has_bits; cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000001u) != 0) { ABSL_DCHECK(_impl_.result_ != nullptr); _impl_.result_->Clear(); } @@ -1599,77 +1448,79 @@ PROTOBUF_NOINLINE void SubmitJobResponse::Clear() { } #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); +::uint8_t* PROTOBUF_NONNULL SubmitJobResponse::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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; +::uint8_t* PROTOBUF_NONNULL SubmitJobResponse::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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; - } + // @@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) != 0) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.result_, this_._impl_.result_->GetCachedSize(), target, + stream); + } + + // .beeremote.SubmitJobResponse.ResponseStatus status = 2; + if ((cached_has_bits & 0x00000002u) != 0) { + if (this_._internal_status() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 2, this_._internal_status(), target); + } + } + + if (ABSL_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); +::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; +::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_); - } + // @@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_); + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000003u) != 0) { + // .beeremote.JobResult result = 1; + if ((cached_has_bits & 0x00000001u) != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.result_); + } + // .beeremote.SubmitJobResponse.ResponseStatus status = 2; + if ((cached_has_bits & 0x00000002u) != 0) { + 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); @@ -1681,17 +1532,20 @@ void SubmitJobResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const (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 ((cached_has_bits & 0x00000003u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + ABSL_DCHECK(from._impl_.result_ != nullptr); + if (_this->_impl_.result_ == nullptr) { + _this->_impl_.result_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.result_); + } else { + _this->_impl_.result_->MergeFrom(*from._impl_.result_); + } + } + if ((cached_has_bits & 0x00000002u) != 0) { + if (from._internal_status() != 0) { + _this->_impl_.status_ = from._impl_.status_; + } } - } - 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_); @@ -1705,8 +1559,8 @@ void SubmitJobResponse::CopyFrom(const SubmitJobResponse& from) { } -void SubmitJobResponse::InternalSwap(SubmitJobResponse* PROTOBUF_RESTRICT other) { - using std::swap; +void SubmitJobResponse::InternalSwap(SubmitJobResponse* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); ::google::protobuf::internal::memswap< @@ -1724,28 +1578,34 @@ ::google::protobuf::Metadata SubmitJobResponse::GetMetadata() const { class JobRequest_GenerationStatus::_Internal { public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(JobRequest_GenerationStatus, _impl_._has_bits_); }; -JobRequest_GenerationStatus::JobRequest_GenerationStatus(::google::protobuf::Arena* arena) +JobRequest_GenerationStatus::JobRequest_GenerationStatus(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, JobRequest_GenerationStatus_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} {} +PROTOBUF_NDEBUG_INLINE JobRequest_GenerationStatus::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::beeremote::JobRequest_GenerationStatus& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + message_(arena, from.message_) {} JobRequest_GenerationStatus::JobRequest_GenerationStatus( - ::google::protobuf::Arena* arena, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const JobRequest_GenerationStatus& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, JobRequest_GenerationStatus_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -1758,13 +1618,13 @@ JobRequest_GenerationStatus::JobRequest_GenerationStatus( // @@protoc_insertion_point(copy_constructor:beeremote.JobRequest.GenerationStatus) } -inline PROTOBUF_NDEBUG_INLINE JobRequest_GenerationStatus::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE JobRequest_GenerationStatus::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : message_(arena), - _cached_size_{0} {} + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + message_(arena) {} -inline void JobRequest_GenerationStatus::SharedCtor(::_pb::Arena* arena) { +inline void JobRequest_GenerationStatus::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); _impl_.state_ = {}; } @@ -1780,45 +1640,53 @@ inline void JobRequest_GenerationStatus::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* JobRequest_GenerationStatus::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL JobRequest_GenerationStatus::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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(), +constexpr auto JobRequest_GenerationStatus::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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, + &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_FIELD_OFFSET(JobRequest_GenerationStatus, _impl_._cached_size_), + false, + }, + &JobRequest_GenerationStatus::kDescriptorMethods, + &descriptor_table_beeremote_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull JobRequest_GenerationStatus_class_data_ = + JobRequest_GenerationStatus::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +JobRequest_GenerationStatus::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&JobRequest_GenerationStatus_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(JobRequest_GenerationStatus_class_data_.tc_table); + return JobRequest_GenerationStatus_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<1, 2, 0, 53, 2> JobRequest_GenerationStatus::_table_ = { +const ::_pbi::TcParseTable<1, 2, 0, 53, 2> +JobRequest_GenerationStatus::_table_ = { { - 0, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(JobRequest_GenerationStatus, _impl_._has_bits_), 0, // no _extensions_ 2, 8, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), @@ -1827,7 +1695,7 @@ const ::_pbi::TcParseTable<1, 2, 0, 53, 2> JobRequest_GenerationStatus::_table_ 2, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), + JobRequest_GenerationStatus_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -1836,19 +1704,19 @@ const ::_pbi::TcParseTable<1, 2, 0, 53, 2> JobRequest_GenerationStatus::_table_ }, {{ // string message = 2; {::_pbi::TcParser::FastUS1, - {18, 63, 0, PROTOBUF_FIELD_OFFSET(JobRequest_GenerationStatus, _impl_.message_)}}, + {18, 0, 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_)}}, + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(JobRequest_GenerationStatus, _impl_.state_), 1>(), + {8, 1, 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)}, + {PROTOBUF_FIELD_OFFSET(JobRequest_GenerationStatus, _impl_.state_), _Internal::kHasBitsOffset + 1, 0, + (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)}, // string message = 2; - {PROTOBUF_FIELD_OFFSET(JobRequest_GenerationStatus, _impl_.message_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + {PROTOBUF_FIELD_OFFSET(JobRequest_GenerationStatus, _impl_.message_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, }}, // no aux_entries {{ @@ -1857,7 +1725,6 @@ const ::_pbi::TcParseTable<1, 2, 0, 53, 2> JobRequest_GenerationStatus::_table_ "message" }}, }; - PROTOBUF_NOINLINE void JobRequest_GenerationStatus::Clear() { // @@protoc_insertion_point(message_clear_start:beeremote.JobRequest.GenerationStatus) ::google::protobuf::internal::TSanWrite(&_impl_); @@ -1865,80 +1732,93 @@ PROTOBUF_NOINLINE void JobRequest_GenerationStatus::Clear() { // 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) != 0) { + _impl_.message_.ClearNonDefaultToEmpty(); + } _impl_.state_ = 0; + _impl_._has_bits_.Clear(); _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); +::uint8_t* PROTOBUF_NONNULL JobRequest_GenerationStatus::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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; +::uint8_t* PROTOBUF_NONNULL JobRequest_GenerationStatus::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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; - } + // @@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_._impl_._has_bits_[0] & 0x00000002u) != 0) { + if (this_._internal_state() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 1, this_._internal_state(), target); + } + } + + // string message = 2; + if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { + 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 (ABSL_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); +::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; +::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_); - } + // @@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_); + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000003u) != 0) { + // string message = 2; + if ((cached_has_bits & 0x00000001u) != 0) { + if (!this_._internal_message().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_message()); + } + } + // .beeremote.JobRequest.GenerationStatus.State state = 1; + if ((cached_has_bits & 0x00000002u) != 0) { + 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); @@ -1948,12 +1828,24 @@ void JobRequest_GenerationStatus::MergeImpl(::google::protobuf::MessageLite& to_ ::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_; + cached_has_bits = from._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000003u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + if (!from._internal_message().empty()) { + _this->_internal_set_message(from._internal_message()); + } else { + if (_this->_impl_.message_.IsDefault()) { + _this->_internal_set_message(""); + } + } + } + if ((cached_has_bits & 0x00000002u) != 0) { + 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_); } @@ -1965,11 +1857,12 @@ void JobRequest_GenerationStatus::CopyFrom(const JobRequest_GenerationStatus& fr } -void JobRequest_GenerationStatus::InternalSwap(JobRequest_GenerationStatus* PROTOBUF_RESTRICT other) { - using std::swap; +void JobRequest_GenerationStatus::InternalSwap(JobRequest_GenerationStatus* PROTOBUF_RESTRICT PROTOBUF_NONNULL 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); swap(_impl_.state_, other->_impl_.state_); } @@ -1982,18 +1875,18 @@ ::google::protobuf::Metadata JobRequest_GenerationStatus::GetMetadata() const { class JobRequest::_Internal { public: using HasBits = - decltype(std::declval()._impl_._has_bits_); + 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) { +void JobRequest::set_allocated_sync(::flex::SyncJob* PROTOBUF_NULLABLE sync) { ::google::protobuf::Arena* message_arena = GetArena(); clear_type(); if (sync) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(sync)->GetArena(); + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(sync)->GetArena(); if (message_arena != submessage_arena) { sync = ::google::protobuf::internal::GetOwnedMessage(message_arena, sync, submessage_arena); } @@ -2013,11 +1906,11 @@ void JobRequest::clear_sync() { clear_has_type(); } } -void JobRequest::set_allocated_mock(::flex::MockJob* mock) { +void JobRequest::set_allocated_mock(::flex::MockJob* PROTOBUF_NULLABLE mock) { ::google::protobuf::Arena* message_arena = GetArena(); clear_type(); if (mock) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(mock)->GetArena(); + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(mock)->GetArena(); if (message_arena != submessage_arena) { mock = ::google::protobuf::internal::GetOwnedMessage(message_arena, mock, submessage_arena); } @@ -2037,11 +1930,11 @@ void JobRequest::clear_mock() { clear_has_type(); } } -void JobRequest::set_allocated_builder(::flex::BuilderJob* builder) { +void JobRequest::set_allocated_builder(::flex::BuilderJob* PROTOBUF_NULLABLE builder) { ::google::protobuf::Arena* message_arena = GetArena(); clear_type(); if (builder) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(builder)->GetArena(); + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(builder)->GetArena(); if (message_arena != submessage_arena) { builder = ::google::protobuf::internal::GetOwnedMessage(message_arena, builder, submessage_arena); } @@ -2061,18 +1954,19 @@ void JobRequest::clear_builder() { clear_has_type(); } } -JobRequest::JobRequest(::google::protobuf::Arena* arena) +JobRequest::JobRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, JobRequest_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) +PROTOBUF_NDEBUG_INLINE JobRequest::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::beeremote::JobRequest& from_msg) : _has_bits_{from._has_bits_}, _cached_size_{0}, path_(arena, from.path_), @@ -2081,10 +1975,10 @@ inline PROTOBUF_NDEBUG_INLINE JobRequest::Impl_::Impl_( _oneof_case_{from._oneof_case_[0]} {} JobRequest::JobRequest( - ::google::protobuf::Arena* arena, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const JobRequest& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, JobRequest_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -2094,9 +1988,9 @@ JobRequest::JobRequest( 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; + _impl_.generation_status_ = ((cached_has_bits & 0x00000004u) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.generation_status_) + : nullptr; ::memcpy(reinterpret_cast(&_impl_) + offsetof(Impl_, priority_), reinterpret_cast(&from._impl_) + @@ -2108,28 +2002,28 @@ JobRequest::JobRequest( case TYPE_NOT_SET: break; case kSync: - _impl_.type_.sync_ = ::google::protobuf::Message::CopyConstruct<::flex::SyncJob>(arena, *from._impl_.type_.sync_); + _impl_.type_.sync_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.type_.sync_); break; case kMock: - _impl_.type_.mock_ = ::google::protobuf::Message::CopyConstruct<::flex::MockJob>(arena, *from._impl_.type_.mock_); + _impl_.type_.mock_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.type_.mock_); break; case kBuilder: - _impl_.type_.builder_ = ::google::protobuf::Message::CopyConstruct<::flex::BuilderJob>(arena, *from._impl_.type_.builder_); + _impl_.type_.builder_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.type_.builder_); break; } // @@protoc_insertion_point(copy_constructor:beeremote.JobRequest) } -inline PROTOBUF_NDEBUG_INLINE JobRequest::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE JobRequest::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : _cached_size_{0}, path_(arena), name_(arena), type_{}, _oneof_case_{} {} -inline void JobRequest::SharedCtor(::_pb::Arena* arena) { +inline void JobRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); ::memset(reinterpret_cast(&_impl_) + offsetof(Impl_, generation_status_), @@ -2191,43 +2085,51 @@ void JobRequest::clear_type() { } -inline void* JobRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL JobRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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(), +constexpr auto JobRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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, + &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_FIELD_OFFSET(JobRequest, _impl_._cached_size_), + false, + }, + &JobRequest::kDescriptorMethods, + &descriptor_table_beeremote_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull JobRequest_class_data_ = + JobRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +JobRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&JobRequest_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(JobRequest_class_data_.tc_table); + return JobRequest_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<4, 11, 4, 45, 2> JobRequest::_table_ = { +const ::_pbi::TcParseTable<4, 11, 4, 45, 2> +JobRequest::_table_ = { { PROTOBUF_FIELD_OFFSET(JobRequest, _impl_._has_bits_), 0, // no _extensions_ @@ -2238,7 +2140,7 @@ const ::_pbi::TcParseTable<4, 11, 4, 45, 2> JobRequest::_table_ = { 11, // num_field_entries 4, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + JobRequest_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -2248,29 +2150,29 @@ const ::_pbi::TcParseTable<4, 11, 4, 45, 2> JobRequest::_table_ = { {::_pbi::TcParser::MiniParse, {}}, // string path = 1; {::_pbi::TcParser::FastUS1, - {10, 63, 0, PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.path_)}}, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.path_)}}, // string name = 2; {::_pbi::TcParser::FastUS1, - {18, 63, 0, PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.name_)}}, + {18, 1, 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_)}}, + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(JobRequest, _impl_.priority_), 3>(), + {24, 3, 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_)}}, + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(JobRequest, _impl_.remote_storage_target_), 4>(), + {32, 4, 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::SingularVarintNoZag1(), + {40, 5, 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_)}}, + {::_pbi::TcParser::SingularVarintNoZag1(), + {56, 6, 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_)}}, + {66, 2, 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::SingularVarintNoZag1(), + {72, 7, 0, PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.update_)}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, @@ -2281,28 +2183,28 @@ const ::_pbi::TcParseTable<4, 11, 4, 45, 2> JobRequest::_table_ = { 65535, 65535 }}, {{ // string path = 1; - {PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.path_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + {PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.path_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, // string name = 2; - {PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.name_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + {PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.name_), _Internal::kHasBitsOffset + 1, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, // int32 priority = 3; - {PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.priority_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, + {PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.priority_), _Internal::kHasBitsOffset + 3, 0, + (0 | ::_fl::kFcOptional | ::_fl::kInt32)}, // uint32 remote_storage_target = 4; - {PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.remote_storage_target_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, + {PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.remote_storage_target_), _Internal::kHasBitsOffset + 4, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, // bool force = 5; - {PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.force_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, + {PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.force_), _Internal::kHasBitsOffset + 5, 0, + (0 | ::_fl::kFcOptional | ::_fl::kBool)}, // bool stub_local = 7; - {PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.stub_local_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, + {PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.stub_local_), _Internal::kHasBitsOffset + 6, 0, + (0 | ::_fl::kFcOptional | ::_fl::kBool)}, // .beeremote.JobRequest.GenerationStatus generation_status = 8; - {PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.generation_status_), _Internal::kHasBitsOffset + 0, 0, + {PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.generation_status_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, // optional bool update = 9; - {PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.update_), _Internal::kHasBitsOffset + 1, 0, + {PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.update_), _Internal::kHasBitsOffset + 7, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)}, // .flex.SyncJob sync = 10; {PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.type_.sync_), _Internal::kOneofCaseOffset + 0, 1, @@ -2313,19 +2215,20 @@ const ::_pbi::TcParseTable<4, 11, 4, 45, 2> JobRequest::_table_ = { // .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>()}, - }}, {{ + }}, + {{ + {::_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_); @@ -2333,259 +2236,302 @@ PROTOBUF_NOINLINE void JobRequest::Clear() { // 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; + if ((cached_has_bits & 0x00000007u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + _impl_.path_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000002u) != 0) { + _impl_.name_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000004u) != 0) { + ABSL_DCHECK(_impl_.generation_status_ != nullptr); + _impl_.generation_status_->Clear(); + } + } + if ((cached_has_bits & 0x000000f8u) != 0) { + ::memset(&_impl_.priority_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.update_) - + reinterpret_cast(&_impl_.priority_)) + sizeof(_impl_.update_)); + } 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); +::uint8_t* PROTOBUF_NONNULL JobRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const JobRequest& this_ = static_cast(base); #else // PROTOBUF_CUSTOM_VTABLE - ::size_t JobRequest::ByteSizeLong() const { - const JobRequest& this_ = *this; +::uint8_t* PROTOBUF_NONNULL JobRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) 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); + // @@protoc_insertion_point(serialize_to_array_start:beeremote.JobRequest) ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_path().empty()) { - _this->_internal_set_path(from._internal_path()); + (void)cached_has_bits; + + // string path = 1; + if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { + 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); + } } - if (!from._internal_name().empty()) { - _this->_internal_set_name(from._internal_name()); + + // string name = 2; + if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) { + 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); + } } - 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_); + + // int32 priority = 3; + if ((this_._impl_._has_bits_[0] & 0x00000008u) != 0) { + if (this_._internal_priority() != 0) { + target = + ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<3>( + stream, this_._internal_priority(), target); } } - if (from._internal_priority() != 0) { - _this->_impl_.priority_ = from._impl_.priority_; + + // uint32 remote_storage_target = 4; + if ((this_._impl_._has_bits_[0] & 0x00000010u) != 0) { + if (this_._internal_remote_storage_target() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 4, this_._internal_remote_storage_target(), target); + } } - if (from._internal_remote_storage_target() != 0) { - _this->_impl_.remote_storage_target_ = from._impl_.remote_storage_target_; + + // bool force = 5; + if ((this_._impl_._has_bits_[0] & 0x00000020u) != 0) { + if (this_._internal_force() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 5, this_._internal_force(), target); + } } - if (from._internal_force() != 0) { - _this->_impl_.force_ = from._impl_.force_; + + // bool stub_local = 7; + if ((this_._impl_._has_bits_[0] & 0x00000040u) != 0) { + if (this_._internal_stub_local() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 7, this_._internal_stub_local(), target); + } } - if (from._internal_stub_local() != 0) { - _this->_impl_.stub_local_ = from._impl_.stub_local_; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .beeremote.JobRequest.GenerationStatus generation_status = 8; + if ((cached_has_bits & 0x00000004u) != 0) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 8, *this_._impl_.generation_status_, this_._impl_.generation_status_->GetCachedSize(), target, + stream); } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.update_ = from._impl_.update_; + + // optional bool update = 9; + if ((cached_has_bits & 0x00000080u) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 9, this_._internal_update(), target); } - _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; + + 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 (ABSL_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_); + cached_has_bits = this_._impl_._has_bits_[0]; + total_size += static_cast(0x00000080u & cached_has_bits) * 2; + if ((cached_has_bits & 0x0000007fu) != 0) { + // string path = 1; + if ((cached_has_bits & 0x00000001u) != 0) { + if (!this_._internal_path().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_path()); + } + } + // string name = 2; + if ((cached_has_bits & 0x00000002u) != 0) { + if (!this_._internal_name().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_name()); + } + } + // .beeremote.JobRequest.GenerationStatus generation_status = 8; + if ((cached_has_bits & 0x00000004u) != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.generation_status_); + } + // int32 priority = 3; + if ((cached_has_bits & 0x00000008u) != 0) { + if (this_._internal_priority() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this_._internal_priority()); + } + } + // uint32 remote_storage_target = 4; + if ((cached_has_bits & 0x00000010u) != 0) { + if (this_._internal_remote_storage_target() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_remote_storage_target()); + } + } + // bool force = 5; + if ((cached_has_bits & 0x00000020u) != 0) { + if (this_._internal_force() != 0) { + total_size += 2; + } + } + // bool stub_local = 7; + if ((cached_has_bits & 0x00000040u) != 0) { + if (this_._internal_stub_local() != 0) { + 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; + + cached_has_bits = from._impl_._has_bits_[0]; + if ((cached_has_bits & 0x000000ffu) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + if (!from._internal_path().empty()) { + _this->_internal_set_path(from._internal_path()); + } else { + if (_this->_impl_.path_.IsDefault()) { + _this->_internal_set_path(""); + } + } + } + if ((cached_has_bits & 0x00000002u) != 0) { + if (!from._internal_name().empty()) { + _this->_internal_set_name(from._internal_name()); + } else { + if (_this->_impl_.name_.IsDefault()) { + _this->_internal_set_name(""); + } + } + } + if ((cached_has_bits & 0x00000004u) != 0) { + ABSL_DCHECK(from._impl_.generation_status_ != nullptr); + if (_this->_impl_.generation_status_ == nullptr) { + _this->_impl_.generation_status_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.generation_status_); + } else { + _this->_impl_.generation_status_->MergeFrom(*from._impl_.generation_status_); + } + } + if ((cached_has_bits & 0x00000008u) != 0) { + if (from._internal_priority() != 0) { + _this->_impl_.priority_ = from._impl_.priority_; + } + } + if ((cached_has_bits & 0x00000010u) != 0) { + if (from._internal_remote_storage_target() != 0) { + _this->_impl_.remote_storage_target_ = from._impl_.remote_storage_target_; + } + } + if ((cached_has_bits & 0x00000020u) != 0) { + if (from._internal_force() != 0) { + _this->_impl_.force_ = from._impl_.force_; + } + } + if ((cached_has_bits & 0x00000040u) != 0) { + if (from._internal_stub_local() != 0) { + _this->_impl_.stub_local_ = from._impl_.stub_local_; + } + } + if ((cached_has_bits & 0x00000080u) != 0) { + _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(); @@ -2596,28 +2542,25 @@ void JobRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::goog 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_); + _this->_impl_.type_.sync_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.type_.sync_); } else { - _this->_impl_.type_.sync_->MergeFrom(from._internal_sync()); + _this->_impl_.type_.sync_->MergeFrom(*from._impl_.type_.sync_); } break; } case kMock: { if (oneof_needs_init) { - _this->_impl_.type_.mock_ = - ::google::protobuf::Message::CopyConstruct<::flex::MockJob>(arena, *from._impl_.type_.mock_); + _this->_impl_.type_.mock_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.type_.mock_); } else { - _this->_impl_.type_.mock_->MergeFrom(from._internal_mock()); + _this->_impl_.type_.mock_->MergeFrom(*from._impl_.type_.mock_); } break; } case kBuilder: { if (oneof_needs_init) { - _this->_impl_.type_.builder_ = - ::google::protobuf::Message::CopyConstruct<::flex::BuilderJob>(arena, *from._impl_.type_.builder_); + _this->_impl_.type_.builder_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.type_.builder_); } else { - _this->_impl_.type_.builder_->MergeFrom(from._internal_builder()); + _this->_impl_.type_.builder_->MergeFrom(*from._impl_.type_.builder_); } break; } @@ -2636,8 +2579,8 @@ void JobRequest::CopyFrom(const JobRequest& from) { } -void JobRequest::InternalSwap(JobRequest* PROTOBUF_RESTRICT other) { - using std::swap; +void JobRequest::InternalSwap(JobRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; auto* arena = GetArena(); ABSL_DCHECK_EQ(arena, other->GetArena()); _internal_metadata_.InternalSwap(&other->_internal_metadata_); @@ -2662,7 +2605,7 @@ ::google::protobuf::Metadata JobRequest::GetMetadata() const { class Job_Status::_Internal { public: using HasBits = - decltype(std::declval()._impl_._has_bits_); + decltype(::std::declval()._impl_._has_bits_); static constexpr ::int32_t kHasBitsOffset = 8 * PROTOBUF_FIELD_OFFSET(Job_Status, _impl_._has_bits_); }; @@ -2670,29 +2613,30 @@ class Job_Status::_Internal { void Job_Status::clear_updated() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.updated_ != nullptr) _impl_.updated_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000002u; } -Job_Status::Job_Status(::google::protobuf::Arena* arena) +Job_Status::Job_Status(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, Job_Status_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) +PROTOBUF_NDEBUG_INLINE Job_Status::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Job_Status& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, Job_Status_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -2702,20 +2646,20 @@ Job_Status::Job_Status( 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_.updated_ = ((cached_has_bits & 0x00000002u) != 0) + ? ::google::protobuf::Message::CopyConstruct(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_( +PROTOBUF_NDEBUG_INLINE Job_Status::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : _cached_size_{0}, message_(arena) {} -inline void Job_Status::SharedCtor(::_pb::Arena* arena) { +inline void Job_Status::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); ::memset(reinterpret_cast(&_impl_) + offsetof(Impl_, updated_), @@ -2737,43 +2681,51 @@ inline void Job_Status::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* Job_Status::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL Job_Status::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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(), +constexpr auto Job_Status::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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, + &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_FIELD_OFFSET(Job_Status, _impl_._cached_size_), + false, + }, + &Job_Status::kDescriptorMethods, + &descriptor_table_beeremote_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull Job_Status_class_data_ = + Job_Status::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +Job_Status::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&Job_Status_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(Job_Status_class_data_.tc_table); + return Job_Status_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<2, 3, 1, 36, 2> Job_Status::_table_ = { +const ::_pbi::TcParseTable<2, 3, 1, 36, 2> +Job_Status::_table_ = { { PROTOBUF_FIELD_OFFSET(Job_Status, _impl_._has_bits_), 0, // no _extensions_ @@ -2784,7 +2736,7 @@ const ::_pbi::TcParseTable<2, 3, 1, 36, 2> Job_Status::_table_ = { 3, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + Job_Status_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -2793,35 +2745,36 @@ const ::_pbi::TcParseTable<2, 3, 1, 36, 2> Job_Status::_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_)}}, + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Job_Status, _impl_.state_), 2>(), + {8, 2, 0, PROTOBUF_FIELD_OFFSET(Job_Status, _impl_.state_)}}, // string message = 2; {::_pbi::TcParser::FastUS1, - {18, 63, 0, PROTOBUF_FIELD_OFFSET(Job_Status, _impl_.message_)}}, + {18, 0, 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_)}}, + {26, 1, 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)}, + {PROTOBUF_FIELD_OFFSET(Job_Status, _impl_.state_), _Internal::kHasBitsOffset + 2, 0, + (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)}, // string message = 2; - {PROTOBUF_FIELD_OFFSET(Job_Status, _impl_.message_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + {PROTOBUF_FIELD_OFFSET(Job_Status, _impl_.message_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, // .google.protobuf.Timestamp updated = 3; - {PROTOBUF_FIELD_OFFSET(Job_Status, _impl_.updated_), _Internal::kHasBitsOffset + 0, 0, + {PROTOBUF_FIELD_OFFSET(Job_Status, _impl_.updated_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, {{ - {::_pbi::TcParser::GetTable<::google::protobuf::Timestamp>()}, - }}, {{ + }}, + {{ + {::_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_); @@ -2829,11 +2782,15 @@ PROTOBUF_NOINLINE void Job_Status::Clear() { // 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(); + if ((cached_has_bits & 0x00000003u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + _impl_.message_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000002u) != 0) { + ABSL_DCHECK(_impl_.updated_ != nullptr); + _impl_.updated_->Clear(); + } } _impl_.state_ = 0; _impl_._has_bits_.Clear(); @@ -2841,92 +2798,96 @@ PROTOBUF_NOINLINE void Job_Status::Clear() { } #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); +::uint8_t* PROTOBUF_NONNULL Job_Status::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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; +::uint8_t* PROTOBUF_NONNULL Job_Status::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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; - } + // @@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_._impl_._has_bits_[0] & 0x00000004u) != 0) { + if (this_._internal_state() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 1, this_._internal_state(), target); + } + } + + // string message = 2; + if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { + 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 & 0x00000002u) != 0) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.updated_, this_._impl_.updated_->GetCachedSize(), target, + stream); + } + + if (ABSL_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); +::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; +::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_); - } + // @@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_); + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000007u) != 0) { + // string message = 2; + if ((cached_has_bits & 0x00000001u) != 0) { + if (!this_._internal_message().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_message()); + } + } + // .google.protobuf.Timestamp updated = 3; + if ((cached_has_bits & 0x00000002u) != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.updated_); + } + // .beeremote.Job.State state = 1; + if ((cached_has_bits & 0x00000004u) != 0) { + 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); @@ -2937,21 +2898,30 @@ void Job_Status::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::goog ::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 ((cached_has_bits & 0x00000007u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + if (!from._internal_message().empty()) { + _this->_internal_set_message(from._internal_message()); + } else { + if (_this->_impl_.message_.IsDefault()) { + _this->_internal_set_message(""); + } + } + } + if ((cached_has_bits & 0x00000002u) != 0) { + ABSL_DCHECK(from._impl_.updated_ != nullptr); + if (_this->_impl_.updated_ == nullptr) { + _this->_impl_.updated_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.updated_); + } else { + _this->_impl_.updated_->MergeFrom(*from._impl_.updated_); + } + } + if ((cached_has_bits & 0x00000004u) != 0) { + if (from._internal_state() != 0) { + _this->_impl_.state_ = from._impl_.state_; + } } - } - 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_); @@ -2965,8 +2935,8 @@ void Job_Status::CopyFrom(const Job_Status& from) { } -void Job_Status::InternalSwap(Job_Status* PROTOBUF_RESTRICT other) { - using std::swap; +void Job_Status::InternalSwap(Job_Status* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; auto* arena = GetArena(); ABSL_DCHECK_EQ(arena, other->GetArena()); _internal_metadata_.InternalSwap(&other->_internal_metadata_); @@ -2988,7 +2958,7 @@ ::google::protobuf::Metadata Job_Status::GetMetadata() const { class Job::_Internal { public: using HasBits = - decltype(std::declval()._impl_._has_bits_); + decltype(::std::declval()._impl_._has_bits_); static constexpr ::int32_t kHasBitsOffset = 8 * PROTOBUF_FIELD_OFFSET(Job, _impl_._has_bits_); }; @@ -2996,40 +2966,41 @@ class Job::_Internal { void Job::clear_created() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.created_ != nullptr) _impl_.created_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; + _impl_._has_bits_[0] &= ~0x00000008u; } void Job::clear_start_mtime() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.start_mtime_ != nullptr) _impl_.start_mtime_->Clear(); - _impl_._has_bits_[0] &= ~0x00000008u; + _impl_._has_bits_[0] &= ~0x00000020u; } void Job::clear_stop_mtime() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.stop_mtime_ != nullptr) _impl_.stop_mtime_->Clear(); - _impl_._has_bits_[0] &= ~0x00000010u; + _impl_._has_bits_[0] &= ~0x00000040u; } -Job::Job(::google::protobuf::Arena* arena) +Job::Job(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, Job_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) +PROTOBUF_NDEBUG_INLINE Job::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Job& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, Job_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -3039,32 +3010,32 @@ Job::Job( 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; + _impl_.request_ = ((cached_has_bits & 0x00000004u) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.request_) + : nullptr; + _impl_.created_ = ((cached_has_bits & 0x00000008u) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.created_) + : nullptr; + _impl_.status_ = ((cached_has_bits & 0x00000010u) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.status_) + : nullptr; + _impl_.start_mtime_ = ((cached_has_bits & 0x00000020u) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.start_mtime_) + : nullptr; + _impl_.stop_mtime_ = ((cached_has_bits & 0x00000040u) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.stop_mtime_) + : nullptr; // @@protoc_insertion_point(copy_constructor:beeremote.Job) } -inline PROTOBUF_NDEBUG_INLINE Job::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE Job::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : _cached_size_{0}, id_(arena), external_id_(arena) {} -inline void Job::SharedCtor(::_pb::Arena* arena) { +inline void Job::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); ::memset(reinterpret_cast(&_impl_) + offsetof(Impl_, request_), @@ -3091,43 +3062,51 @@ inline void Job::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* Job::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL Job::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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(), +constexpr auto Job::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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, + &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_FIELD_OFFSET(Job, _impl_._cached_size_), + false, + }, + &Job::kDescriptorMethods, + &descriptor_table_beeremote_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull Job_class_data_ = + Job::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +Job::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&Job_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(Job_class_data_.tc_table); + return Job_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<3, 7, 5, 35, 2> Job::_table_ = { +const ::_pbi::TcParseTable<3, 7, 5, 35, 2> +Job::_table_ = { { PROTOBUF_FIELD_OFFSET(Job, _impl_._has_bits_), 0, // no _extensions_ @@ -3138,7 +3117,7 @@ const ::_pbi::TcParseTable<3, 7, 5, 35, 2> Job::_table_ = { 7, // num_field_entries 5, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + Job_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -3148,63 +3127,64 @@ const ::_pbi::TcParseTable<3, 7, 5, 35, 2> Job::_table_ = { {::_pbi::TcParser::MiniParse, {}}, // string id = 1; {::_pbi::TcParser::FastUS1, - {10, 63, 0, PROTOBUF_FIELD_OFFSET(Job, _impl_.id_)}}, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(Job, _impl_.id_)}}, // .beeremote.JobRequest request = 2; {::_pbi::TcParser::FastMtS1, - {18, 0, 0, PROTOBUF_FIELD_OFFSET(Job, _impl_.request_)}}, + {18, 2, 0, PROTOBUF_FIELD_OFFSET(Job, _impl_.request_)}}, // .google.protobuf.Timestamp created = 3; {::_pbi::TcParser::FastMtS1, - {26, 1, 1, PROTOBUF_FIELD_OFFSET(Job, _impl_.created_)}}, + {26, 3, 1, PROTOBUF_FIELD_OFFSET(Job, _impl_.created_)}}, // .beeremote.Job.Status status = 4; {::_pbi::TcParser::FastMtS1, - {34, 2, 2, PROTOBUF_FIELD_OFFSET(Job, _impl_.status_)}}, + {34, 4, 2, PROTOBUF_FIELD_OFFSET(Job, _impl_.status_)}}, // string external_id = 5; {::_pbi::TcParser::FastUS1, - {42, 63, 0, PROTOBUF_FIELD_OFFSET(Job, _impl_.external_id_)}}, + {42, 1, 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_)}}, + {50, 5, 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_)}}, + {58, 6, 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)}, + {PROTOBUF_FIELD_OFFSET(Job, _impl_.id_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, // .beeremote.JobRequest request = 2; - {PROTOBUF_FIELD_OFFSET(Job, _impl_.request_), _Internal::kHasBitsOffset + 0, 0, + {PROTOBUF_FIELD_OFFSET(Job, _impl_.request_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, // .google.protobuf.Timestamp created = 3; - {PROTOBUF_FIELD_OFFSET(Job, _impl_.created_), _Internal::kHasBitsOffset + 1, 1, + {PROTOBUF_FIELD_OFFSET(Job, _impl_.created_), _Internal::kHasBitsOffset + 3, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, // .beeremote.Job.Status status = 4; - {PROTOBUF_FIELD_OFFSET(Job, _impl_.status_), _Internal::kHasBitsOffset + 2, 2, + {PROTOBUF_FIELD_OFFSET(Job, _impl_.status_), _Internal::kHasBitsOffset + 4, 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)}, + {PROTOBUF_FIELD_OFFSET(Job, _impl_.external_id_), _Internal::kHasBitsOffset + 1, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, // optional .google.protobuf.Timestamp start_mtime = 6; - {PROTOBUF_FIELD_OFFSET(Job, _impl_.start_mtime_), _Internal::kHasBitsOffset + 3, 3, + {PROTOBUF_FIELD_OFFSET(Job, _impl_.start_mtime_), _Internal::kHasBitsOffset + 5, 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, + {PROTOBUF_FIELD_OFFSET(Job, _impl_.stop_mtime_), _Internal::kHasBitsOffset + 6, 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>()}, - }}, {{ + }}, + {{ + {::_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_); @@ -3212,27 +3192,31 @@ PROTOBUF_NOINLINE void Job::Clear() { // 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) { + if ((cached_has_bits & 0x0000007fu) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + _impl_.id_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000002u) != 0) { + _impl_.external_id_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000004u) != 0) { ABSL_DCHECK(_impl_.request_ != nullptr); _impl_.request_->Clear(); } - if (cached_has_bits & 0x00000002u) { + if ((cached_has_bits & 0x00000008u) != 0) { ABSL_DCHECK(_impl_.created_ != nullptr); _impl_.created_->Clear(); } - if (cached_has_bits & 0x00000004u) { + if ((cached_has_bits & 0x00000010u) != 0) { ABSL_DCHECK(_impl_.status_ != nullptr); _impl_.status_->Clear(); } - if (cached_has_bits & 0x00000008u) { + if ((cached_has_bits & 0x00000020u) != 0) { ABSL_DCHECK(_impl_.start_mtime_ != nullptr); _impl_.start_mtime_->Clear(); } - if (cached_has_bits & 0x00000010u) { + if ((cached_has_bits & 0x00000040u) != 0) { ABSL_DCHECK(_impl_.stop_mtime_ != nullptr); _impl_.stop_mtime_->Clear(); } @@ -3242,139 +3226,145 @@ PROTOBUF_NOINLINE void Job::Clear() { } #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); +::uint8_t* PROTOBUF_NONNULL Job::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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; +::uint8_t* PROTOBUF_NONNULL Job::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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; - } + // @@protoc_insertion_point(serialize_to_array_start:beeremote.Job) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // string id = 1; + if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { + 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 & 0x00000004u) != 0) { + 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 & 0x00000008u) != 0) { + 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 & 0x00000010u) != 0) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 4, *this_._impl_.status_, this_._impl_.status_->GetCachedSize(), target, + stream); + } + + // string external_id = 5; + if ((cached_has_bits & 0x00000002u) != 0) { + 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 & 0x00000020u) != 0) { + 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 & 0x00000040u) != 0) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 7, *this_._impl_.stop_mtime_, this_._impl_.stop_mtime_->GetCachedSize(), target, + stream); + } + + if (ABSL_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); +::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; +::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_); - } + // @@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_); + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x0000007fu) != 0) { + // string id = 1; + if ((cached_has_bits & 0x00000001u) != 0) { + if (!this_._internal_id().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_id()); + } + } + // string external_id = 5; + if ((cached_has_bits & 0x00000002u) != 0) { + if (!this_._internal_external_id().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_external_id()); + } + } + // .beeremote.JobRequest request = 2; + if ((cached_has_bits & 0x00000004u) != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.request_); + } + // .google.protobuf.Timestamp created = 3; + if ((cached_has_bits & 0x00000008u) != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.created_); + } + // .beeremote.Job.Status status = 4; + if ((cached_has_bits & 0x00000010u) != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.status_); + } + // optional .google.protobuf.Timestamp start_mtime = 6; + if ((cached_has_bits & 0x00000020u) != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.start_mtime_); + } + // optional .google.protobuf.Timestamp stop_mtime = 7; + if ((cached_has_bits & 0x00000040u) != 0) { + 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); @@ -3385,55 +3375,62 @@ void Job::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::pro ::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) { + if ((cached_has_bits & 0x0000007fu) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + if (!from._internal_id().empty()) { + _this->_internal_set_id(from._internal_id()); + } else { + if (_this->_impl_.id_.IsDefault()) { + _this->_internal_set_id(""); + } + } + } + if ((cached_has_bits & 0x00000002u) != 0) { + if (!from._internal_external_id().empty()) { + _this->_internal_set_external_id(from._internal_external_id()); + } else { + if (_this->_impl_.external_id_.IsDefault()) { + _this->_internal_set_external_id(""); + } + } + } + if ((cached_has_bits & 0x00000004u) != 0) { ABSL_DCHECK(from._impl_.request_ != nullptr); if (_this->_impl_.request_ == nullptr) { - _this->_impl_.request_ = - ::google::protobuf::Message::CopyConstruct<::beeremote::JobRequest>(arena, *from._impl_.request_); + _this->_impl_.request_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.request_); } else { _this->_impl_.request_->MergeFrom(*from._impl_.request_); } } - if (cached_has_bits & 0x00000002u) { + if ((cached_has_bits & 0x00000008u) != 0) { 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_); + _this->_impl_.created_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.created_); } else { _this->_impl_.created_->MergeFrom(*from._impl_.created_); } } - if (cached_has_bits & 0x00000004u) { + if ((cached_has_bits & 0x00000010u) != 0) { 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_); + _this->_impl_.status_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.status_); } else { _this->_impl_.status_->MergeFrom(*from._impl_.status_); } } - if (cached_has_bits & 0x00000008u) { + if ((cached_has_bits & 0x00000020u) != 0) { 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_); + _this->_impl_.start_mtime_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.start_mtime_); } else { _this->_impl_.start_mtime_->MergeFrom(*from._impl_.start_mtime_); } } - if (cached_has_bits & 0x00000010u) { + if ((cached_has_bits & 0x00000040u) != 0) { 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_); + _this->_impl_.stop_mtime_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.stop_mtime_); } else { _this->_impl_.stop_mtime_->MergeFrom(*from._impl_.stop_mtime_); } @@ -3451,8 +3448,8 @@ void Job::CopyFrom(const Job& from) { } -void Job::InternalSwap(Job* PROTOBUF_RESTRICT other) { - using std::swap; +void Job::InternalSwap(Job* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; auto* arena = GetArena(); ABSL_DCHECK_EQ(arena, other->GetArena()); _internal_metadata_.InternalSwap(&other->_internal_metadata_); @@ -3475,7 +3472,7 @@ ::google::protobuf::Metadata Job::GetMetadata() const { class JobResult_WorkResult::_Internal { public: using HasBits = - decltype(std::declval()._impl_._has_bits_); + decltype(::std::declval()._impl_._has_bits_); static constexpr ::int32_t kHasBitsOffset = 8 * PROTOBUF_FIELD_OFFSET(JobResult_WorkResult, _impl_._has_bits_); }; @@ -3483,30 +3480,31 @@ class JobResult_WorkResult::_Internal { void JobResult_WorkResult::clear_work() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.work_ != nullptr) _impl_.work_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000004u; } -JobResult_WorkResult::JobResult_WorkResult(::google::protobuf::Arena* arena) +JobResult_WorkResult::JobResult_WorkResult(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, JobResult_WorkResult_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) +PROTOBUF_NDEBUG_INLINE JobResult_WorkResult::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const JobResult_WorkResult& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, JobResult_WorkResult_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -3516,20 +3514,20 @@ JobResult_WorkResult::JobResult_WorkResult( 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; + _impl_.work_ = ((cached_has_bits & 0x00000004u) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.work_) + : nullptr; // @@protoc_insertion_point(copy_constructor:beeremote.JobResult.WorkResult) } -inline PROTOBUF_NDEBUG_INLINE JobResult_WorkResult::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE JobResult_WorkResult::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : _cached_size_{0}, assigned_node_(arena), assigned_pool_(arena) {} -inline void JobResult_WorkResult::SharedCtor(::_pb::Arena* arena) { +inline void JobResult_WorkResult::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); _impl_.work_ = {}; } @@ -3547,43 +3545,51 @@ inline void JobResult_WorkResult::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* JobResult_WorkResult::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL JobResult_WorkResult::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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(), +constexpr auto JobResult_WorkResult::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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, + &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_FIELD_OFFSET(JobResult_WorkResult, _impl_._cached_size_), + false, + }, + &JobResult_WorkResult::kDescriptorMethods, + &descriptor_table_beeremote_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull JobResult_WorkResult_class_data_ = + JobResult_WorkResult::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +JobResult_WorkResult::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&JobResult_WorkResult_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(JobResult_WorkResult_class_data_.tc_table); + return JobResult_WorkResult_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<2, 3, 1, 65, 2> JobResult_WorkResult::_table_ = { +const ::_pbi::TcParseTable<2, 3, 1, 65, 2> +JobResult_WorkResult::_table_ = { { PROTOBUF_FIELD_OFFSET(JobResult_WorkResult, _impl_._has_bits_), 0, // no _extensions_ @@ -3594,7 +3600,7 @@ const ::_pbi::TcParseTable<2, 3, 1, 65, 2> JobResult_WorkResult::_table_ = { 3, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + JobResult_WorkResult_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -3604,35 +3610,36 @@ const ::_pbi::TcParseTable<2, 3, 1, 65, 2> JobResult_WorkResult::_table_ = { {::_pbi::TcParser::MiniParse, {}}, // .flex.Work work = 1; {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(JobResult_WorkResult, _impl_.work_)}}, + {10, 2, 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_)}}, + {18, 0, 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_)}}, + {26, 1, 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, + {PROTOBUF_FIELD_OFFSET(JobResult_WorkResult, _impl_.work_), _Internal::kHasBitsOffset + 2, 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)}, + {PROTOBUF_FIELD_OFFSET(JobResult_WorkResult, _impl_.assigned_node_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_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>()}, - }}, {{ + {PROTOBUF_FIELD_OFFSET(JobResult_WorkResult, _impl_.assigned_pool_), _Internal::kHasBitsOffset + 1, 0, + (0 | ::_fl::kFcOptional | ::_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_); @@ -3640,103 +3647,115 @@ PROTOBUF_NOINLINE void JobResult_WorkResult::Clear() { // 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(); + if ((cached_has_bits & 0x00000007u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + _impl_.assigned_node_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000002u) != 0) { + _impl_.assigned_pool_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000004u) != 0) { + 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); +::uint8_t* PROTOBUF_NONNULL JobResult_WorkResult::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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; +::uint8_t* PROTOBUF_NONNULL JobResult_WorkResult::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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; - } + // @@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 & 0x00000004u) != 0) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.work_, this_._impl_.work_->GetCachedSize(), target, + stream); + } + + // string assigned_node = 2; + if ((cached_has_bits & 0x00000001u) != 0) { + 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 ((cached_has_bits & 0x00000002u) != 0) { + 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 (ABSL_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); +::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; +::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_); - } + // @@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_); + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000007u) != 0) { + // string assigned_node = 2; + if ((cached_has_bits & 0x00000001u) != 0) { + if (!this_._internal_assigned_node().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_assigned_node()); + } + } + // string assigned_pool = 3; + if ((cached_has_bits & 0x00000002u) != 0) { + if (!this_._internal_assigned_pool().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_assigned_pool()); + } + } + // .flex.Work work = 1; + if ((cached_has_bits & 0x00000004u) != 0) { + 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); @@ -3747,20 +3766,33 @@ void JobResult_WorkResult::MergeImpl(::google::protobuf::MessageLite& to_msg, co ::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_); + if ((cached_has_bits & 0x00000007u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + if (!from._internal_assigned_node().empty()) { + _this->_internal_set_assigned_node(from._internal_assigned_node()); + } else { + if (_this->_impl_.assigned_node_.IsDefault()) { + _this->_internal_set_assigned_node(""); + } + } + } + if ((cached_has_bits & 0x00000002u) != 0) { + if (!from._internal_assigned_pool().empty()) { + _this->_internal_set_assigned_pool(from._internal_assigned_pool()); + } else { + if (_this->_impl_.assigned_pool_.IsDefault()) { + _this->_internal_set_assigned_pool(""); + } + } + } + if ((cached_has_bits & 0x00000004u) != 0) { + ABSL_DCHECK(from._impl_.work_ != nullptr); + if (_this->_impl_.work_ == nullptr) { + _this->_impl_.work_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.work_); + } else { + _this->_impl_.work_->MergeFrom(*from._impl_.work_); + } } } _this->_impl_._has_bits_[0] |= cached_has_bits; @@ -3775,8 +3807,8 @@ void JobResult_WorkResult::CopyFrom(const JobResult_WorkResult& from) { } -void JobResult_WorkResult::InternalSwap(JobResult_WorkResult* PROTOBUF_RESTRICT other) { - using std::swap; +void JobResult_WorkResult::InternalSwap(JobResult_WorkResult* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; auto* arena = GetArena(); ABSL_DCHECK_EQ(arena, other->GetArena()); _internal_metadata_.InternalSwap(&other->_internal_metadata_); @@ -3794,7 +3826,7 @@ ::google::protobuf::Metadata JobResult_WorkResult::GetMetadata() const { class JobResult::_Internal { public: using HasBits = - decltype(std::declval()._impl_._has_bits_); + decltype(::std::declval()._impl_._has_bits_); static constexpr ::int32_t kHasBitsOffset = 8 * PROTOBUF_FIELD_OFFSET(JobResult, _impl_._has_bits_); }; @@ -3803,28 +3835,29 @@ void JobResult::clear_work_requests() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.work_requests_.Clear(); } -JobResult::JobResult(::google::protobuf::Arena* arena) +JobResult::JobResult(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, JobResult_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) +PROTOBUF_NDEBUG_INLINE JobResult::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const JobResult& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, JobResult_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -3834,20 +3867,20 @@ JobResult::JobResult( 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; + _impl_.job_ = ((cached_has_bits & 0x00000001u) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.job_) + : nullptr; // @@protoc_insertion_point(copy_constructor:beeremote.JobResult) } -inline PROTOBUF_NDEBUG_INLINE JobResult::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE JobResult::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : _cached_size_{0}, work_requests_{visibility, arena}, work_results_{visibility, arena} {} -inline void JobResult::SharedCtor(::_pb::Arena* arena) { +inline void JobResult::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); _impl_.job_ = {}; } @@ -3863,8 +3896,9 @@ inline void JobResult::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* JobResult::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL JobResult::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { return ::new (mem) JobResult(arena); } constexpr auto JobResult::InternalNewImpl_() { @@ -3887,35 +3921,42 @@ constexpr auto JobResult::InternalNewImpl_() { 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(), +constexpr auto JobResult::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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, + &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_FIELD_OFFSET(JobResult, _impl_._cached_size_), + false, + }, + &JobResult::kDescriptorMethods, + &descriptor_table_beeremote_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull JobResult_class_data_ = + JobResult::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +JobResult::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&JobResult_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(JobResult_class_data_.tc_table); + return JobResult_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<2, 3, 3, 0, 2> JobResult::_table_ = { +const ::_pbi::TcParseTable<2, 3, 3, 0, 2> +JobResult::_table_ = { { PROTOBUF_FIELD_OFFSET(JobResult, _impl_._has_bits_), 0, // no _extensions_ @@ -3926,7 +3967,7 @@ const ::_pbi::TcParseTable<2, 3, 3, 0, 2> JobResult::_table_ = { 3, // num_field_entries 3, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + JobResult_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -3955,14 +3996,15 @@ const ::_pbi::TcParseTable<2, 3, 3, 0, 2> JobResult::_table_ = { // 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>()}, - }}, {{ + }}, + {{ + {::_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_); @@ -3973,7 +4015,7 @@ PROTOBUF_NOINLINE void JobResult::Clear() { _impl_.work_requests_.Clear(); _impl_.work_results_.Clear(); cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000001u) != 0) { ABSL_DCHECK(_impl_.job_ != nullptr); _impl_.job_->Clear(); } @@ -3982,101 +4024,101 @@ PROTOBUF_NOINLINE void JobResult::Clear() { } #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); +::uint8_t* PROTOBUF_NONNULL JobResult::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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; +::uint8_t* PROTOBUF_NONNULL JobResult::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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; - } + // @@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) != 0) { + 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 (ABSL_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); +::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; +::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_); - } + // @@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) != 0) { + 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); @@ -4092,11 +4134,10 @@ void JobResult::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::googl _this->_internal_mutable_work_results()->MergeFrom( from._internal_work_results()); cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000001u) != 0) { ABSL_DCHECK(from._impl_.job_ != nullptr); if (_this->_impl_.job_ == nullptr) { - _this->_impl_.job_ = - ::google::protobuf::Message::CopyConstruct<::beeremote::Job>(arena, *from._impl_.job_); + _this->_impl_.job_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.job_); } else { _this->_impl_.job_->MergeFrom(*from._impl_.job_); } @@ -4113,8 +4154,8 @@ void JobResult::CopyFrom(const JobResult& from) { } -void JobResult::InternalSwap(JobResult* PROTOBUF_RESTRICT other) { - using std::swap; +void JobResult::InternalSwap(JobResult* PROTOBUF_RESTRICT PROTOBUF_NONNULL 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_); @@ -4130,32 +4171,33 @@ ::google::protobuf::Metadata JobResult::GetMetadata() const { class UpdatePathsRequest::_Internal { public: using HasBits = - decltype(std::declval()._impl_._has_bits_); + 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) +UpdatePathsRequest::UpdatePathsRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, UpdatePathsRequest_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) +PROTOBUF_NDEBUG_INLINE UpdatePathsRequest::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const UpdatePathsRequest& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, UpdatePathsRequest_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -4165,19 +4207,19 @@ UpdatePathsRequest::UpdatePathsRequest( 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; + _impl_.requested_update_ = ((cached_has_bits & 0x00000002u) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.requested_update_) + : nullptr; // @@protoc_insertion_point(copy_constructor:beeremote.UpdatePathsRequest) } -inline PROTOBUF_NDEBUG_INLINE UpdatePathsRequest::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE UpdatePathsRequest::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : _cached_size_{0}, path_prefix_(arena) {} -inline void UpdatePathsRequest::SharedCtor(::_pb::Arena* arena) { +inline void UpdatePathsRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); _impl_.requested_update_ = {}; } @@ -4194,43 +4236,51 @@ inline void UpdatePathsRequest::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* UpdatePathsRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL UpdatePathsRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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(), +constexpr auto UpdatePathsRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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, + &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_FIELD_OFFSET(UpdatePathsRequest, _impl_._cached_size_), + false, + }, + &UpdatePathsRequest::kDescriptorMethods, + &descriptor_table_beeremote_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull UpdatePathsRequest_class_data_ = + UpdatePathsRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +UpdatePathsRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&UpdatePathsRequest_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(UpdatePathsRequest_class_data_.tc_table); + return UpdatePathsRequest_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<1, 2, 1, 48, 2> UpdatePathsRequest::_table_ = { +const ::_pbi::TcParseTable<1, 2, 1, 48, 2> +UpdatePathsRequest::_table_ = { { PROTOBUF_FIELD_OFFSET(UpdatePathsRequest, _impl_._has_bits_), 0, // no _extensions_ @@ -4241,7 +4291,7 @@ const ::_pbi::TcParseTable<1, 2, 1, 48, 2> UpdatePathsRequest::_table_ = { 2, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + UpdatePathsRequest_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -4250,28 +4300,29 @@ const ::_pbi::TcParseTable<1, 2, 1, 48, 2> UpdatePathsRequest::_table_ = { }, {{ // .beeremote.UpdateJobsRequest requested_update = 2; {::_pbi::TcParser::FastMtS1, - {18, 0, 0, PROTOBUF_FIELD_OFFSET(UpdatePathsRequest, _impl_.requested_update_)}}, + {18, 1, 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_)}}, + {10, 0, 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)}, + {PROTOBUF_FIELD_OFFSET(UpdatePathsRequest, _impl_.path_prefix_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, // .beeremote.UpdateJobsRequest requested_update = 2; - {PROTOBUF_FIELD_OFFSET(UpdatePathsRequest, _impl_.requested_update_), _Internal::kHasBitsOffset + 0, 0, + {PROTOBUF_FIELD_OFFSET(UpdatePathsRequest, _impl_.requested_update_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, {{ - {::_pbi::TcParser::GetTable<::beeremote::UpdateJobsRequest>()}, - }}, {{ + }}, + {{ + {::_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_); @@ -4279,89 +4330,95 @@ PROTOBUF_NOINLINE void UpdatePathsRequest::Clear() { // 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(); + if ((cached_has_bits & 0x00000003u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + _impl_.path_prefix_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000002u) != 0) { + 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); +::uint8_t* PROTOBUF_NONNULL UpdatePathsRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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; +::uint8_t* PROTOBUF_NONNULL UpdatePathsRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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; - } + // @@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_._impl_._has_bits_[0] & 0x00000001u) != 0) { + 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 & 0x00000002u) != 0) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.requested_update_, this_._impl_.requested_update_->GetCachedSize(), target, + stream); + } + + if (ABSL_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); +::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; +::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_); - } + // @@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_); + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000003u) != 0) { + // string path_prefix = 1; + if ((cached_has_bits & 0x00000001u) != 0) { + if (!this_._internal_path_prefix().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_path_prefix()); + } + } + // .beeremote.UpdateJobsRequest requested_update = 2; + if ((cached_has_bits & 0x00000002u) != 0) { + 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); @@ -4372,17 +4429,24 @@ void UpdatePathsRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, cons ::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_); + if ((cached_has_bits & 0x00000003u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + if (!from._internal_path_prefix().empty()) { + _this->_internal_set_path_prefix(from._internal_path_prefix()); + } else { + if (_this->_impl_.path_prefix_.IsDefault()) { + _this->_internal_set_path_prefix(""); + } + } + } + if ((cached_has_bits & 0x00000002u) != 0) { + ABSL_DCHECK(from._impl_.requested_update_ != nullptr); + if (_this->_impl_.requested_update_ == nullptr) { + _this->_impl_.requested_update_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.requested_update_); + } else { + _this->_impl_.requested_update_->MergeFrom(*from._impl_.requested_update_); + } } } _this->_impl_._has_bits_[0] |= cached_has_bits; @@ -4397,8 +4461,8 @@ void UpdatePathsRequest::CopyFrom(const UpdatePathsRequest& from) { } -void UpdatePathsRequest::InternalSwap(UpdatePathsRequest* PROTOBUF_RESTRICT other) { - using std::swap; +void UpdatePathsRequest::InternalSwap(UpdatePathsRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; auto* arena = GetArena(); ABSL_DCHECK_EQ(arena, other->GetArena()); _internal_metadata_.InternalSwap(&other->_internal_metadata_); @@ -4415,32 +4479,33 @@ ::google::protobuf::Metadata UpdatePathsRequest::GetMetadata() const { class UpdatePathsResponse::_Internal { public: using HasBits = - decltype(std::declval()._impl_._has_bits_); + 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) +UpdatePathsResponse::UpdatePathsResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, UpdatePathsResponse_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) +PROTOBUF_NDEBUG_INLINE UpdatePathsResponse::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const UpdatePathsResponse& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, UpdatePathsResponse_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -4450,19 +4515,19 @@ UpdatePathsResponse::UpdatePathsResponse( 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; + _impl_.update_result_ = ((cached_has_bits & 0x00000002u) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.update_result_) + : nullptr; // @@protoc_insertion_point(copy_constructor:beeremote.UpdatePathsResponse) } -inline PROTOBUF_NDEBUG_INLINE UpdatePathsResponse::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE UpdatePathsResponse::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : _cached_size_{0}, path_(arena) {} -inline void UpdatePathsResponse::SharedCtor(::_pb::Arena* arena) { +inline void UpdatePathsResponse::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); _impl_.update_result_ = {}; } @@ -4479,43 +4544,51 @@ inline void UpdatePathsResponse::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* UpdatePathsResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL UpdatePathsResponse::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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(), +constexpr auto UpdatePathsResponse::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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, + &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_FIELD_OFFSET(UpdatePathsResponse, _impl_._cached_size_), + false, + }, + &UpdatePathsResponse::kDescriptorMethods, + &descriptor_table_beeremote_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull UpdatePathsResponse_class_data_ = + UpdatePathsResponse::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +UpdatePathsResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&UpdatePathsResponse_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(UpdatePathsResponse_class_data_.tc_table); + return UpdatePathsResponse_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<1, 2, 1, 42, 2> UpdatePathsResponse::_table_ = { +const ::_pbi::TcParseTable<1, 2, 1, 42, 2> +UpdatePathsResponse::_table_ = { { PROTOBUF_FIELD_OFFSET(UpdatePathsResponse, _impl_._has_bits_), 0, // no _extensions_ @@ -4526,7 +4599,7 @@ const ::_pbi::TcParseTable<1, 2, 1, 42, 2> UpdatePathsResponse::_table_ = { 2, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + UpdatePathsResponse_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -4535,28 +4608,29 @@ const ::_pbi::TcParseTable<1, 2, 1, 42, 2> UpdatePathsResponse::_table_ = { }, {{ // .beeremote.UpdateJobsResponse update_result = 2; {::_pbi::TcParser::FastMtS1, - {18, 0, 0, PROTOBUF_FIELD_OFFSET(UpdatePathsResponse, _impl_.update_result_)}}, + {18, 1, 0, PROTOBUF_FIELD_OFFSET(UpdatePathsResponse, _impl_.update_result_)}}, // string path = 1; {::_pbi::TcParser::FastUS1, - {10, 63, 0, PROTOBUF_FIELD_OFFSET(UpdatePathsResponse, _impl_.path_)}}, + {10, 0, 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)}, + {PROTOBUF_FIELD_OFFSET(UpdatePathsResponse, _impl_.path_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, // .beeremote.UpdateJobsResponse update_result = 2; - {PROTOBUF_FIELD_OFFSET(UpdatePathsResponse, _impl_.update_result_), _Internal::kHasBitsOffset + 0, 0, + {PROTOBUF_FIELD_OFFSET(UpdatePathsResponse, _impl_.update_result_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, {{ - {::_pbi::TcParser::GetTable<::beeremote::UpdateJobsResponse>()}, - }}, {{ + }}, + {{ + {::_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_); @@ -4564,89 +4638,95 @@ PROTOBUF_NOINLINE void UpdatePathsResponse::Clear() { // 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(); + if ((cached_has_bits & 0x00000003u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + _impl_.path_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000002u) != 0) { + 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); +::uint8_t* PROTOBUF_NONNULL UpdatePathsResponse::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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; +::uint8_t* PROTOBUF_NONNULL UpdatePathsResponse::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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; - } + // @@protoc_insertion_point(serialize_to_array_start:beeremote.UpdatePathsResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // string path = 1; + if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { + 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 & 0x00000002u) != 0) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.update_result_, this_._impl_.update_result_->GetCachedSize(), target, + stream); + } + + if (ABSL_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); +::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; +::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_); - } + // @@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_); + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000003u) != 0) { + // string path = 1; + if ((cached_has_bits & 0x00000001u) != 0) { + if (!this_._internal_path().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_path()); + } + } + // .beeremote.UpdateJobsResponse update_result = 2; + if ((cached_has_bits & 0x00000002u) != 0) { + 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); @@ -4657,17 +4737,24 @@ void UpdatePathsResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, con ::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_); + if ((cached_has_bits & 0x00000003u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + if (!from._internal_path().empty()) { + _this->_internal_set_path(from._internal_path()); + } else { + if (_this->_impl_.path_.IsDefault()) { + _this->_internal_set_path(""); + } + } + } + if ((cached_has_bits & 0x00000002u) != 0) { + ABSL_DCHECK(from._impl_.update_result_ != nullptr); + if (_this->_impl_.update_result_ == nullptr) { + _this->_impl_.update_result_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.update_result_); + } else { + _this->_impl_.update_result_->MergeFrom(*from._impl_.update_result_); + } } } _this->_impl_._has_bits_[0] |= cached_has_bits; @@ -4682,8 +4769,8 @@ void UpdatePathsResponse::CopyFrom(const UpdatePathsResponse& from) { } -void UpdatePathsResponse::InternalSwap(UpdatePathsResponse* PROTOBUF_RESTRICT other) { - using std::swap; +void UpdatePathsResponse::InternalSwap(UpdatePathsResponse* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; auto* arena = GetArena(); ABSL_DCHECK_EQ(arena, other->GetArena()); _internal_metadata_.InternalSwap(&other->_internal_metadata_); @@ -4698,52 +4785,60 @@ ::google::protobuf::Metadata UpdatePathsResponse::GetMetadata() const { // =================================================================== #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()) {} +UpdateJobsRequest_RemoteTargetsEntry_DoNotUse::UpdateJobsRequest_RemoteTargetsEntry_DoNotUse() + : SuperType(UpdateJobsRequest_RemoteTargetsEntry_DoNotUse_class_data_.base()) {} +UpdateJobsRequest_RemoteTargetsEntry_DoNotUse::UpdateJobsRequest_RemoteTargetsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : SuperType(arena, UpdateJobsRequest_RemoteTargetsEntry_DoNotUse_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) {} +UpdateJobsRequest_RemoteTargetsEntry_DoNotUse::UpdateJobsRequest_RemoteTargetsEntry_DoNotUse() : SuperType() {} +UpdateJobsRequest_RemoteTargetsEntry_DoNotUse::UpdateJobsRequest_RemoteTargetsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {} +#endif // PROTOBUF_CUSTOM_VTABLE +inline void* PROTOBUF_NONNULL UpdateJobsRequest_RemoteTargetsEntry_DoNotUse::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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)); +} +constexpr auto UpdateJobsRequest_RemoteTargetsEntry_DoNotUse::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 - 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_FIELD_OFFSET(UpdateJobsRequest_RemoteTargetsEntry_DoNotUse, _impl_._cached_size_), + false, + }, + &UpdateJobsRequest_RemoteTargetsEntry_DoNotUse::kDescriptorMethods, + &descriptor_table_beeremote_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull UpdateJobsRequest_RemoteTargetsEntry_DoNotUse_class_data_ = + UpdateJobsRequest_RemoteTargetsEntry_DoNotUse::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +UpdateJobsRequest_RemoteTargetsEntry_DoNotUse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&UpdateJobsRequest_RemoteTargetsEntry_DoNotUse_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(UpdateJobsRequest_RemoteTargetsEntry_DoNotUse_class_data_.tc_table); + return UpdateJobsRequest_RemoteTargetsEntry_DoNotUse_class_data_.base(); +} PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<1, 2, 0, 0, 2> UpdateJobsRequest_RemoteTargetsEntry_DoNotUse::_table_ = { +const ::_pbi::TcParseTable<1, 2, 0, 0, 2> +UpdateJobsRequest_RemoteTargetsEntry_DoNotUse::_table_ = { { PROTOBUF_FIELD_OFFSET(UpdateJobsRequest_RemoteTargetsEntry_DoNotUse, _impl_._has_bits_), 0, // no _extensions_ @@ -4754,7 +4849,7 @@ const ::_pbi::TcParseTable<1, 2, 0, 0, 2> UpdateJobsRequest_RemoteTargetsEntry_D 2, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), + UpdateJobsRequest_RemoteTargetsEntry_DoNotUse_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::DiscardEverythingFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -4762,48 +4857,48 @@ const ::_pbi::TcParseTable<1, 2, 0, 0, 2> UpdateJobsRequest_RemoteTargetsEntry_D #endif // PROTOBUF_PREFETCH_PARSE_TABLE }, {{ // bool value = 2; - {::_pbi::TcParser::SingularVarintNoZag1(), - {16, 63, 0, PROTOBUF_FIELD_OFFSET(UpdateJobsRequest_RemoteTargetsEntry_DoNotUse, _impl_.value_)}}, + {::_pbi::TcParser::SingularVarintNoZag1(), + {16, 1, 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_)}}, + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(UpdateJobsRequest_RemoteTargetsEntry_DoNotUse, _impl_.key_), 0>(), + {8, 0, 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)}, + {PROTOBUF_FIELD_OFFSET(UpdateJobsRequest_RemoteTargetsEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, // bool value = 2; - {PROTOBUF_FIELD_OFFSET(UpdateJobsRequest_RemoteTargetsEntry_DoNotUse, _impl_.value_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, + {PROTOBUF_FIELD_OFFSET(UpdateJobsRequest_RemoteTargetsEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, + (0 | ::_fl::kFcOptional | ::_fl::kBool)}, }}, // no aux_entries {{ }}, }; - // =================================================================== class UpdateJobsRequest::_Internal { public: using HasBits = - decltype(std::declval()._impl_._has_bits_); + 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) +UpdateJobsRequest::UpdateJobsRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, UpdateJobsRequest_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) +PROTOBUF_NDEBUG_INLINE UpdateJobsRequest::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::beeremote::UpdateJobsRequest& from_msg) : _has_bits_{from._has_bits_}, _cached_size_{0}, remote_targets_{visibility, arena, from.remote_targets_}, @@ -4811,10 +4906,10 @@ inline PROTOBUF_NDEBUG_INLINE UpdateJobsRequest::Impl_::Impl_( job_id_(arena, from.job_id_) {} UpdateJobsRequest::UpdateJobsRequest( - ::google::protobuf::Arena* arena, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const UpdateJobsRequest& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, UpdateJobsRequest_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -4833,15 +4928,15 @@ UpdateJobsRequest::UpdateJobsRequest( // @@protoc_insertion_point(copy_constructor:beeremote.UpdateJobsRequest) } -inline PROTOBUF_NDEBUG_INLINE UpdateJobsRequest::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE UpdateJobsRequest::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : _cached_size_{0}, remote_targets_{visibility, arena}, path_(arena), job_id_(arena) {} -inline void UpdateJobsRequest::SharedCtor(::_pb::Arena* arena) { +inline void UpdateJobsRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); ::memset(reinterpret_cast(&_impl_) + offsetof(Impl_, force_update_), @@ -4863,8 +4958,9 @@ inline void UpdateJobsRequest::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* UpdateJobsRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL UpdateJobsRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { return ::new (mem) UpdateJobsRequest(arena); } constexpr auto UpdateJobsRequest::InternalNewImpl_() { @@ -4887,35 +4983,42 @@ constexpr auto UpdateJobsRequest::InternalNewImpl_() { 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(), +constexpr auto UpdateJobsRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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, + &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_FIELD_OFFSET(UpdateJobsRequest, _impl_._cached_size_), + false, + }, + &UpdateJobsRequest::kDescriptorMethods, + &descriptor_table_beeremote_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull UpdateJobsRequest_class_data_ = + UpdateJobsRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +UpdateJobsRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&UpdateJobsRequest_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(UpdateJobsRequest_class_data_.tc_table); + return UpdateJobsRequest_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<2, 5, 1, 46, 2> UpdateJobsRequest::_table_ = { +const ::_pbi::TcParseTable<2, 5, 1, 46, 2> +UpdateJobsRequest::_table_ = { { PROTOBUF_FIELD_OFFSET(UpdateJobsRequest, _impl_._has_bits_), 0, // no _extensions_ @@ -4926,7 +5029,7 @@ const ::_pbi::TcParseTable<2, 5, 1, 46, 2> UpdateJobsRequest::_table_ = { 5, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + UpdateJobsRequest_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -4934,46 +5037,46 @@ const ::_pbi::TcParseTable<2, 5, 1, 46, 2> UpdateJobsRequest::_table_ = { #endif // PROTOBUF_PREFETCH_PARSE_TABLE }, {{ // bool force_update = 4; - {::_pbi::TcParser::SingularVarintNoZag1(), - {32, 63, 0, PROTOBUF_FIELD_OFFSET(UpdateJobsRequest, _impl_.force_update_)}}, + {::_pbi::TcParser::SingularVarintNoZag1(), + {32, 2, 0, PROTOBUF_FIELD_OFFSET(UpdateJobsRequest, _impl_.force_update_)}}, // string path = 1; {::_pbi::TcParser::FastUS1, - {10, 63, 0, PROTOBUF_FIELD_OFFSET(UpdateJobsRequest, _impl_.path_)}}, + {10, 0, 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_)}}, + {18, 1, 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)}, + {PROTOBUF_FIELD_OFFSET(UpdateJobsRequest, _impl_.path_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, // optional string job_id = 2; - {PROTOBUF_FIELD_OFFSET(UpdateJobsRequest, _impl_.job_id_), _Internal::kHasBitsOffset + 0, 0, + {PROTOBUF_FIELD_OFFSET(UpdateJobsRequest, _impl_.job_id_), _Internal::kHasBitsOffset + 1, 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)}, + {PROTOBUF_FIELD_OFFSET(UpdateJobsRequest, _impl_.force_update_), _Internal::kHasBitsOffset + 2, 0, + (0 | ::_fl::kFcOptional | ::_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)}, - }}, {{ + {PROTOBUF_FIELD_OFFSET(UpdateJobsRequest, _impl_.new_state_), _Internal::kHasBitsOffset + 3, 0, + (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)}, + }}, + {{ + {::_pbi::TcParser::GetMapAuxInfo(0, 0, 0, + 13, 8, + 0)}, + }}, + {{ "\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_); @@ -4982,150 +5085,164 @@ PROTOBUF_NOINLINE void UpdateJobsRequest::Clear() { (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(); + if ((cached_has_bits & 0x00000003u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + _impl_.path_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000002u) != 0) { + _impl_.job_id_.ClearNonDefaultToEmpty(); + } + } + if ((cached_has_bits & 0x0000000cu) != 0) { + ::memset(&_impl_.force_update_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.new_state_) - + reinterpret_cast(&_impl_.force_update_)) + sizeof(_impl_.new_state_)); } - ::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); +::uint8_t* PROTOBUF_NONNULL UpdateJobsRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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; +::uint8_t* PROTOBUF_NONNULL UpdateJobsRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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; - } + // @@protoc_insertion_point(serialize_to_array_start:beeremote.UpdateJobsRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // string path = 1; + if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { + 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 & 0x00000002u) != 0) { + 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 ((cached_has_bits & 0x00000004u) != 0) { + 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 ((cached_has_bits & 0x00000008u) != 0) { + if (this_._internal_new_state() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 10, this_._internal_new_state(), target); + } + } + + if (ABSL_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); +::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; +::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_); - } + // @@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); + } + } + } + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x0000000fu) != 0) { + // string path = 1; + if ((cached_has_bits & 0x00000001u) != 0) { + if (!this_._internal_path().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_path()); + } + } + // optional string job_id = 2; + if ((cached_has_bits & 0x00000002u) != 0) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_job_id()); + } + // bool force_update = 4; + if ((cached_has_bits & 0x00000004u) != 0) { + if (this_._internal_force_update() != 0) { + total_size += 2; + } + } + // .beeremote.UpdateJobsRequest.NewState new_state = 10; + if ((cached_has_bits & 0x00000008u) != 0) { + 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); @@ -5136,18 +5253,30 @@ void UpdateJobsRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const (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_; + if ((cached_has_bits & 0x0000000fu) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + if (!from._internal_path().empty()) { + _this->_internal_set_path(from._internal_path()); + } else { + if (_this->_impl_.path_.IsDefault()) { + _this->_internal_set_path(""); + } + } + } + if ((cached_has_bits & 0x00000002u) != 0) { + _this->_internal_set_job_id(from._internal_job_id()); + } + if ((cached_has_bits & 0x00000004u) != 0) { + if (from._internal_force_update() != 0) { + _this->_impl_.force_update_ = from._impl_.force_update_; + } + } + if ((cached_has_bits & 0x00000008u) != 0) { + 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_); @@ -5161,8 +5290,8 @@ void UpdateJobsRequest::CopyFrom(const UpdateJobsRequest& from) { } -void UpdateJobsRequest::InternalSwap(UpdateJobsRequest* PROTOBUF_RESTRICT other) { - using std::swap; +void UpdateJobsRequest::InternalSwap(UpdateJobsRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; auto* arena = GetArena(); ABSL_DCHECK_EQ(arena, other->GetArena()); _internal_metadata_.InternalSwap(&other->_internal_metadata_); @@ -5185,29 +5314,35 @@ ::google::protobuf::Metadata UpdateJobsRequest::GetMetadata() const { class UpdateJobsResponse::_Internal { public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(UpdateJobsResponse, _impl_._has_bits_); }; -UpdateJobsResponse::UpdateJobsResponse(::google::protobuf::Arena* arena) +UpdateJobsResponse::UpdateJobsResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, UpdateJobsResponse_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} {} +PROTOBUF_NDEBUG_INLINE UpdateJobsResponse::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::beeremote::UpdateJobsResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + results_{visibility, arena, from.results_}, + message_(arena, from.message_) {} UpdateJobsResponse::UpdateJobsResponse( - ::google::protobuf::Arena* arena, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const UpdateJobsResponse& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, UpdateJobsResponse_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -5220,14 +5355,14 @@ UpdateJobsResponse::UpdateJobsResponse( // @@protoc_insertion_point(copy_constructor:beeremote.UpdateJobsResponse) } -inline PROTOBUF_NDEBUG_INLINE UpdateJobsResponse::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE UpdateJobsResponse::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : results_{visibility, arena}, - message_(arena), - _cached_size_{0} {} + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + results_{visibility, arena}, + message_(arena) {} -inline void UpdateJobsResponse::SharedCtor(::_pb::Arena* arena) { +inline void UpdateJobsResponse::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); _impl_.ok_ = {}; } @@ -5243,8 +5378,9 @@ inline void UpdateJobsResponse::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* UpdateJobsResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL UpdateJobsResponse::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { return ::new (mem) UpdateJobsResponse(arena); } constexpr auto UpdateJobsResponse::InternalNewImpl_() { @@ -5263,37 +5399,44 @@ constexpr auto UpdateJobsResponse::InternalNewImpl_() { 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(), +constexpr auto UpdateJobsResponse::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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, + &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_FIELD_OFFSET(UpdateJobsResponse, _impl_._cached_size_), + false, + }, + &UpdateJobsResponse::kDescriptorMethods, + &descriptor_table_beeremote_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull UpdateJobsResponse_class_data_ = + UpdateJobsResponse::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +UpdateJobsResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&UpdateJobsResponse_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(UpdateJobsResponse_class_data_.tc_table); + return UpdateJobsResponse_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<2, 3, 1, 44, 2> UpdateJobsResponse::_table_ = { +const ::_pbi::TcParseTable<2, 3, 1, 44, 2> +UpdateJobsResponse::_table_ = { { - 0, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(UpdateJobsResponse, _impl_._has_bits_), 0, // no _extensions_ 3, 24, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), @@ -5302,7 +5445,7 @@ const ::_pbi::TcParseTable<2, 3, 1, 44, 2> UpdateJobsResponse::_table_ = { 3, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + UpdateJobsResponse_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -5311,11 +5454,11 @@ const ::_pbi::TcParseTable<2, 3, 1, 44, 2> UpdateJobsResponse::_table_ = { }, {{ {::_pbi::TcParser::MiniParse, {}}, // bool ok = 1; - {::_pbi::TcParser::SingularVarintNoZag1(), - {8, 63, 0, PROTOBUF_FIELD_OFFSET(UpdateJobsResponse, _impl_.ok_)}}, + {::_pbi::TcParser::SingularVarintNoZag1(), + {8, 1, 0, PROTOBUF_FIELD_OFFSET(UpdateJobsResponse, _impl_.ok_)}}, // string message = 2; {::_pbi::TcParser::FastUS1, - {18, 63, 0, PROTOBUF_FIELD_OFFSET(UpdateJobsResponse, _impl_.message_)}}, + {18, 0, 0, PROTOBUF_FIELD_OFFSET(UpdateJobsResponse, _impl_.message_)}}, // repeated .beeremote.JobResult results = 3; {::_pbi::TcParser::FastMtR1, {26, 63, 0, PROTOBUF_FIELD_OFFSET(UpdateJobsResponse, _impl_.results_)}}, @@ -5323,23 +5466,24 @@ const ::_pbi::TcParseTable<2, 3, 1, 44, 2> UpdateJobsResponse::_table_ = { 65535, 65535 }}, {{ // bool ok = 1; - {PROTOBUF_FIELD_OFFSET(UpdateJobsResponse, _impl_.ok_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, + {PROTOBUF_FIELD_OFFSET(UpdateJobsResponse, _impl_.ok_), _Internal::kHasBitsOffset + 1, 0, + (0 | ::_fl::kFcOptional | ::_fl::kBool)}, // string message = 2; - {PROTOBUF_FIELD_OFFSET(UpdateJobsResponse, _impl_.message_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + {PROTOBUF_FIELD_OFFSET(UpdateJobsResponse, _impl_.message_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, // repeated .beeremote.JobResult results = 3; - {PROTOBUF_FIELD_OFFSET(UpdateJobsResponse, _impl_.results_), 0, 0, + {PROTOBUF_FIELD_OFFSET(UpdateJobsResponse, _impl_.results_), -1, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, {{ - {::_pbi::TcParser::GetTable<::beeremote::JobResult>()}, - }}, {{ + }}, + {{ + {::_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_); @@ -5348,99 +5492,112 @@ PROTOBUF_NOINLINE void UpdateJobsResponse::Clear() { (void) cached_has_bits; _impl_.results_.Clear(); - _impl_.message_.ClearToEmpty(); + cached_has_bits = _impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000001u) != 0) { + _impl_.message_.ClearNonDefaultToEmpty(); + } _impl_.ok_ = false; + _impl_._has_bits_.Clear(); _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); +::uint8_t* PROTOBUF_NONNULL UpdateJobsResponse::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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; +::uint8_t* PROTOBUF_NONNULL UpdateJobsResponse::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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; - } + // @@protoc_insertion_point(serialize_to_array_start:beeremote.UpdateJobsResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // bool ok = 1; + if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) { + if (this_._internal_ok() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this_._internal_ok(), target); + } + } + + // string message = 2; + if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { + 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 (ABSL_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); +::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; +::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_); - } + // @@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); + } + } + } + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000003u) != 0) { + // string message = 2; + if ((cached_has_bits & 0x00000001u) != 0) { + if (!this_._internal_message().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_message()); + } + } + // bool ok = 1; + if ((cached_has_bits & 0x00000002u) != 0) { + 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); @@ -5452,12 +5609,24 @@ void UpdateJobsResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, cons _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_; + cached_has_bits = from._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000003u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + if (!from._internal_message().empty()) { + _this->_internal_set_message(from._internal_message()); + } else { + if (_this->_impl_.message_.IsDefault()) { + _this->_internal_set_message(""); + } + } + } + if ((cached_has_bits & 0x00000002u) != 0) { + if (from._internal_ok() != 0) { + _this->_impl_.ok_ = from._impl_.ok_; + } + } } + _this->_impl_._has_bits_[0] |= cached_has_bits; _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } @@ -5469,14 +5638,15 @@ void UpdateJobsResponse::CopyFrom(const UpdateJobsResponse& from) { } -void UpdateJobsResponse::InternalSwap(UpdateJobsResponse* PROTOBUF_RESTRICT other) { - using std::swap; +void UpdateJobsResponse::InternalSwap(UpdateJobsResponse* PROTOBUF_RESTRICT PROTOBUF_NONNULL 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_.results_.InternalSwap(&other->_impl_.results_); ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.message_, &other->_impl_.message_, arena); - swap(_impl_.ok_, other->_impl_.ok_); + swap(_impl_.ok_, other->_impl_.ok_); } ::google::protobuf::Metadata UpdateJobsResponse::GetMetadata() const { @@ -5486,29 +5656,35 @@ ::google::protobuf::Metadata UpdateJobsResponse::GetMetadata() const { class GetJobsRequest_QueryIdAndPath::_Internal { public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(GetJobsRequest_QueryIdAndPath, _impl_._has_bits_); }; -GetJobsRequest_QueryIdAndPath::GetJobsRequest_QueryIdAndPath(::google::protobuf::Arena* arena) +GetJobsRequest_QueryIdAndPath::GetJobsRequest_QueryIdAndPath(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, GetJobsRequest_QueryIdAndPath_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} {} +PROTOBUF_NDEBUG_INLINE GetJobsRequest_QueryIdAndPath::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::beeremote::GetJobsRequest_QueryIdAndPath& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + job_id_(arena, from.job_id_), + path_(arena, from.path_) {} GetJobsRequest_QueryIdAndPath::GetJobsRequest_QueryIdAndPath( - ::google::protobuf::Arena* arena, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetJobsRequest_QueryIdAndPath& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, GetJobsRequest_QueryIdAndPath_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -5520,14 +5696,14 @@ GetJobsRequest_QueryIdAndPath::GetJobsRequest_QueryIdAndPath( // @@protoc_insertion_point(copy_constructor:beeremote.GetJobsRequest.QueryIdAndPath) } -inline PROTOBUF_NDEBUG_INLINE GetJobsRequest_QueryIdAndPath::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE GetJobsRequest_QueryIdAndPath::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : job_id_(arena), - path_(arena), - _cached_size_{0} {} + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + job_id_(arena), + path_(arena) {} -inline void GetJobsRequest_QueryIdAndPath::SharedCtor(::_pb::Arena* arena) { +inline void GetJobsRequest_QueryIdAndPath::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); } GetJobsRequest_QueryIdAndPath::~GetJobsRequest_QueryIdAndPath() { @@ -5543,45 +5719,53 @@ inline void GetJobsRequest_QueryIdAndPath::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* GetJobsRequest_QueryIdAndPath::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL GetJobsRequest_QueryIdAndPath::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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(), +constexpr auto GetJobsRequest_QueryIdAndPath::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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, + &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_FIELD_OFFSET(GetJobsRequest_QueryIdAndPath, _impl_._cached_size_), + false, + }, + &GetJobsRequest_QueryIdAndPath::kDescriptorMethods, + &descriptor_table_beeremote_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull GetJobsRequest_QueryIdAndPath_class_data_ = + GetJobsRequest_QueryIdAndPath::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +GetJobsRequest_QueryIdAndPath::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&GetJobsRequest_QueryIdAndPath_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(GetJobsRequest_QueryIdAndPath_class_data_.tc_table); + return GetJobsRequest_QueryIdAndPath_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<1, 2, 0, 58, 2> GetJobsRequest_QueryIdAndPath::_table_ = { +const ::_pbi::TcParseTable<1, 2, 0, 58, 2> +GetJobsRequest_QueryIdAndPath::_table_ = { { - 0, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(GetJobsRequest_QueryIdAndPath, _impl_._has_bits_), 0, // no _extensions_ 2, 8, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), @@ -5590,7 +5774,7 @@ const ::_pbi::TcParseTable<1, 2, 0, 58, 2> GetJobsRequest_QueryIdAndPath::_table 2, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), + GetJobsRequest_QueryIdAndPath_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -5599,19 +5783,19 @@ const ::_pbi::TcParseTable<1, 2, 0, 58, 2> GetJobsRequest_QueryIdAndPath::_table }, {{ // string path = 2; {::_pbi::TcParser::FastUS1, - {18, 63, 0, PROTOBUF_FIELD_OFFSET(GetJobsRequest_QueryIdAndPath, _impl_.path_)}}, + {18, 1, 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_)}}, + {10, 0, 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)}, + {PROTOBUF_FIELD_OFFSET(GetJobsRequest_QueryIdAndPath, _impl_.job_id_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, // string path = 2; - {PROTOBUF_FIELD_OFFSET(GetJobsRequest_QueryIdAndPath, _impl_.path_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + {PROTOBUF_FIELD_OFFSET(GetJobsRequest_QueryIdAndPath, _impl_.path_), _Internal::kHasBitsOffset + 1, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, }}, // no aux_entries {{ @@ -5621,7 +5805,6 @@ const ::_pbi::TcParseTable<1, 2, 0, 58, 2> GetJobsRequest_QueryIdAndPath::_table "path" }}, }; - PROTOBUF_NOINLINE void GetJobsRequest_QueryIdAndPath::Clear() { // @@protoc_insertion_point(message_clear_start:beeremote.GetJobsRequest.QueryIdAndPath) ::google::protobuf::internal::TSanWrite(&_impl_); @@ -5629,81 +5812,98 @@ PROTOBUF_NOINLINE void GetJobsRequest_QueryIdAndPath::Clear() { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - _impl_.job_id_.ClearToEmpty(); - _impl_.path_.ClearToEmpty(); + cached_has_bits = _impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000003u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + _impl_.job_id_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000002u) != 0) { + _impl_.path_.ClearNonDefaultToEmpty(); + } + } + _impl_._has_bits_.Clear(); _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); +::uint8_t* PROTOBUF_NONNULL GetJobsRequest_QueryIdAndPath::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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; +::uint8_t* PROTOBUF_NONNULL GetJobsRequest_QueryIdAndPath::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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; - } + // @@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_._impl_._has_bits_[0] & 0x00000001u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000002u) != 0) { + 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 (ABSL_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); +::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; +::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_); - } + // @@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_); + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000003u) != 0) { + // string job_id = 1; + if ((cached_has_bits & 0x00000001u) != 0) { + if (!this_._internal_job_id().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_job_id()); + } + } + // string path = 2; + if ((cached_has_bits & 0x00000002u) != 0) { + 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); @@ -5713,12 +5913,28 @@ void GetJobsRequest_QueryIdAndPath::MergeImpl(::google::protobuf::MessageLite& t ::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()); + cached_has_bits = from._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000003u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + if (!from._internal_job_id().empty()) { + _this->_internal_set_job_id(from._internal_job_id()); + } else { + if (_this->_impl_.job_id_.IsDefault()) { + _this->_internal_set_job_id(""); + } + } + } + if ((cached_has_bits & 0x00000002u) != 0) { + if (!from._internal_path().empty()) { + _this->_internal_set_path(from._internal_path()); + } else { + if (_this->_impl_.path_.IsDefault()) { + _this->_internal_set_path(""); + } + } + } } + _this->_impl_._has_bits_[0] |= cached_has_bits; _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } @@ -5730,11 +5946,12 @@ void GetJobsRequest_QueryIdAndPath::CopyFrom(const GetJobsRequest_QueryIdAndPath } -void GetJobsRequest_QueryIdAndPath::InternalSwap(GetJobsRequest_QueryIdAndPath* PROTOBUF_RESTRICT other) { - using std::swap; +void GetJobsRequest_QueryIdAndPath::InternalSwap(GetJobsRequest_QueryIdAndPath* PROTOBUF_RESTRICT PROTOBUF_NONNULL 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_.path_, &other->_impl_.path_, arena); } @@ -5746,11 +5963,15 @@ ::google::protobuf::Metadata GetJobsRequest_QueryIdAndPath::GetMetadata() const class GetJobsRequest::_Internal { public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(GetJobsRequest, _impl_._has_bits_); 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) { +void GetJobsRequest::set_allocated_by_job_id_and_path(::beeremote::GetJobsRequest_QueryIdAndPath* PROTOBUF_NULLABLE by_job_id_and_path) { ::google::protobuf::Arena* message_arena = GetArena(); clear_query(); if (by_job_id_and_path) { @@ -5763,27 +5984,29 @@ void GetJobsRequest::set_allocated_by_job_id_and_path(::beeremote::GetJobsReques } // @@protoc_insertion_point(field_set_allocated:beeremote.GetJobsRequest.by_job_id_and_path) } -GetJobsRequest::GetJobsRequest(::google::protobuf::Arena* arena) +GetJobsRequest::GetJobsRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, GetJobsRequest_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_{}, +PROTOBUF_NDEBUG_INLINE GetJobsRequest::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::beeremote::GetJobsRequest& from_msg) + : _has_bits_{from._has_bits_}, _cached_size_{0}, + query_{}, _oneof_case_{from._oneof_case_[0]} {} GetJobsRequest::GetJobsRequest( - ::google::protobuf::Arena* arena, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetJobsRequest& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, GetJobsRequest_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -5803,7 +6026,7 @@ GetJobsRequest::GetJobsRequest( 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_); + _impl_.query_.by_job_id_and_path_ = ::google::protobuf::Message::CopyConstruct(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_}; @@ -5815,14 +6038,14 @@ GetJobsRequest::GetJobsRequest( // @@protoc_insertion_point(copy_constructor:beeremote.GetJobsRequest) } -inline PROTOBUF_NDEBUG_INLINE GetJobsRequest::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE GetJobsRequest::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : query_{}, - _cached_size_{0}, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + query_{}, _oneof_case_{} {} -inline void GetJobsRequest::SharedCtor(::_pb::Arena* arena) { +inline void GetJobsRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); ::memset(reinterpret_cast(&_impl_) + offsetof(Impl_, include_work_requests_), @@ -5873,45 +6096,53 @@ void GetJobsRequest::clear_query() { } -inline void* GetJobsRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL GetJobsRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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(), +constexpr auto GetJobsRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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, + &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_FIELD_OFFSET(GetJobsRequest, _impl_._cached_size_), + false, + }, + &GetJobsRequest::kDescriptorMethods, + &descriptor_table_beeremote_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull GetJobsRequest_class_data_ = + GetJobsRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +GetJobsRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&GetJobsRequest_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(GetJobsRequest_class_data_.tc_table); + return GetJobsRequest_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<2, 6, 1, 60, 2> GetJobsRequest::_table_ = { +const ::_pbi::TcParseTable<2, 6, 1, 60, 2> +GetJobsRequest::_table_ = { { - 0, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(GetJobsRequest, _impl_._has_bits_), 0, // no _extensions_ 6, 24, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), @@ -5920,7 +6151,7 @@ const ::_pbi::TcParseTable<2, 6, 1, 60, 2> GetJobsRequest::_table_ = { 6, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + GetJobsRequest_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -5928,14 +6159,14 @@ const ::_pbi::TcParseTable<2, 6, 1, 60, 2> GetJobsRequest::_table_ = { #endif // PROTOBUF_PREFETCH_PARSE_TABLE }, {{ // bool include_work_requests = 4; - {::_pbi::TcParser::SingularVarintNoZag1(), - {32, 63, 0, PROTOBUF_FIELD_OFFSET(GetJobsRequest, _impl_.include_work_requests_)}}, + {::_pbi::TcParser::SingularVarintNoZag1(), + {32, 0, 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_)}}, + {::_pbi::TcParser::SingularVarintNoZag1(), + {40, 1, 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::SingularVarintNoZag1(), + {48, 2, 0, PROTOBUF_FIELD_OFFSET(GetJobsRequest, _impl_.update_work_results_)}}, {::_pbi::TcParser::MiniParse, {}}, }}, {{ 65535, 65535 @@ -5950,24 +6181,25 @@ const ::_pbi::TcParseTable<2, 6, 1, 60, 2> GetJobsRequest::_table_ = { {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)}, + {PROTOBUF_FIELD_OFFSET(GetJobsRequest, _impl_.include_work_requests_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kBool)}, // bool include_work_results = 5; - {PROTOBUF_FIELD_OFFSET(GetJobsRequest, _impl_.include_work_results_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, + {PROTOBUF_FIELD_OFFSET(GetJobsRequest, _impl_.include_work_results_), _Internal::kHasBitsOffset + 1, 0, + (0 | ::_fl::kFcOptional | ::_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>()}, - }}, {{ + {PROTOBUF_FIELD_OFFSET(GetJobsRequest, _impl_.update_work_results_), _Internal::kHasBitsOffset + 2, 0, + (0 | ::_fl::kFcOptional | ::_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_); @@ -5975,137 +6207,151 @@ PROTOBUF_NOINLINE void GetJobsRequest::Clear() { // 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>(); + ::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(); + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL GetJobsRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const GetJobsRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL GetJobsRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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_._impl_._has_bits_[0] & 0x00000001u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000002u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000004u) != 0) { + if (this_._internal_update_work_results() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 6, this_._internal_update_work_results(), target); + } + } + + if (ABSL_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) - ::uint8_t* GetJobsRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const GetJobsRequest& this_ = static_cast(base); +::size_t GetJobsRequest::ByteSizeLong(const MessageLite& base) { + 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; +::size_t GetJobsRequest::ByteSizeLong() 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; - } + // @@protoc_insertion_point(message_byte_size_start:beeremote.GetJobsRequest) + ::size_t total_size = 0; -#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_); - } + ::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) != 0) { + // bool include_work_requests = 4; + if ((cached_has_bits & 0x00000001u) != 0) { + if (this_._internal_include_work_requests() != 0) { + total_size += 2; + } + } + // bool include_work_results = 5; + if ((cached_has_bits & 0x00000002u) != 0) { + if (this_._internal_include_work_results() != 0) { + total_size += 2; + } + } + // bool update_work_results = 6; + if ((cached_has_bits & 0x00000004u) != 0) { + 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); @@ -6116,15 +6362,25 @@ void GetJobsRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const :: ::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_; + cached_has_bits = from._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000007u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + if (from._internal_include_work_requests() != 0) { + _this->_impl_.include_work_requests_ = from._impl_.include_work_requests_; + } + } + if ((cached_has_bits & 0x00000002u) != 0) { + if (from._internal_include_work_results() != 0) { + _this->_impl_.include_work_results_ = from._impl_.include_work_results_; + } + } + if ((cached_has_bits & 0x00000004u) != 0) { + if (from._internal_update_work_results() != 0) { + _this->_impl_.update_work_results_ = from._impl_.update_work_results_; + } + } } + _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; @@ -6138,10 +6394,9 @@ void GetJobsRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const :: 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_); + _this->_impl_.query_.by_job_id_and_path_ = ::google::protobuf::Message::CopyConstruct(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()); + _this->_impl_.query_.by_job_id_and_path_->MergeFrom(*from._impl_.query_.by_job_id_and_path_); } break; } @@ -6174,9 +6429,10 @@ void GetJobsRequest::CopyFrom(const GetJobsRequest& from) { } -void GetJobsRequest::InternalSwap(GetJobsRequest* PROTOBUF_RESTRICT other) { - using std::swap; +void GetJobsRequest::InternalSwap(GetJobsRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL 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(GetJobsRequest, _impl_.update_work_results_) + sizeof(GetJobsRequest::_impl_.update_work_results_) @@ -6194,29 +6450,35 @@ ::google::protobuf::Metadata GetJobsRequest::GetMetadata() const { class GetJobsResponse::_Internal { public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(GetJobsResponse, _impl_._has_bits_); }; -GetJobsResponse::GetJobsResponse(::google::protobuf::Arena* arena) +GetJobsResponse::GetJobsResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, GetJobsResponse_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} {} +PROTOBUF_NDEBUG_INLINE GetJobsResponse::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::beeremote::GetJobsResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + results_{visibility, arena, from.results_}, + path_(arena, from.path_) {} GetJobsResponse::GetJobsResponse( - ::google::protobuf::Arena* arena, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetJobsResponse& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, GetJobsResponse_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -6228,14 +6490,14 @@ GetJobsResponse::GetJobsResponse( // @@protoc_insertion_point(copy_constructor:beeremote.GetJobsResponse) } -inline PROTOBUF_NDEBUG_INLINE GetJobsResponse::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE GetJobsResponse::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : results_{visibility, arena}, - path_(arena), - _cached_size_{0} {} + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + results_{visibility, arena}, + path_(arena) {} -inline void GetJobsResponse::SharedCtor(::_pb::Arena* arena) { +inline void GetJobsResponse::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); } GetJobsResponse::~GetJobsResponse() { @@ -6250,8 +6512,9 @@ inline void GetJobsResponse::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* GetJobsResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL GetJobsResponse::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { return ::new (mem) GetJobsResponse(arena); } constexpr auto GetJobsResponse::InternalNewImpl_() { @@ -6270,37 +6533,44 @@ constexpr auto GetJobsResponse::InternalNewImpl_() { 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(), +constexpr auto GetJobsResponse::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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, + &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_FIELD_OFFSET(GetJobsResponse, _impl_._cached_size_), + false, + }, + &GetJobsResponse::kDescriptorMethods, + &descriptor_table_beeremote_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull GetJobsResponse_class_data_ = + GetJobsResponse::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +GetJobsResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&GetJobsResponse_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(GetJobsResponse_class_data_.tc_table); + return GetJobsResponse_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<1, 2, 1, 38, 2> GetJobsResponse::_table_ = { +const ::_pbi::TcParseTable<1, 2, 1, 38, 2> +GetJobsResponse::_table_ = { { - 0, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(GetJobsResponse, _impl_._has_bits_), 0, // no _extensions_ 2, 8, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), @@ -6309,7 +6579,7 @@ const ::_pbi::TcParseTable<1, 2, 1, 38, 2> GetJobsResponse::_table_ = { 2, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + GetJobsResponse_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -6321,25 +6591,26 @@ const ::_pbi::TcParseTable<1, 2, 1, 38, 2> GetJobsResponse::_table_ = { {18, 63, 0, PROTOBUF_FIELD_OFFSET(GetJobsResponse, _impl_.results_)}}, // string path = 1; {::_pbi::TcParser::FastUS1, - {10, 63, 0, PROTOBUF_FIELD_OFFSET(GetJobsResponse, _impl_.path_)}}, + {10, 0, 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)}, + {PROTOBUF_FIELD_OFFSET(GetJobsResponse, _impl_.path_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, // repeated .beeremote.JobResult results = 2; - {PROTOBUF_FIELD_OFFSET(GetJobsResponse, _impl_.results_), 0, 0, + {PROTOBUF_FIELD_OFFSET(GetJobsResponse, _impl_.results_), -1, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, {{ - {::_pbi::TcParser::GetTable<::beeremote::JobResult>()}, - }}, {{ + }}, + {{ + {::_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_); @@ -6348,87 +6619,96 @@ PROTOBUF_NOINLINE void GetJobsResponse::Clear() { (void) cached_has_bits; _impl_.results_.Clear(); - _impl_.path_.ClearToEmpty(); + cached_has_bits = _impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000001u) != 0) { + _impl_.path_.ClearNonDefaultToEmpty(); + } + _impl_._has_bits_.Clear(); _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); +::uint8_t* PROTOBUF_NONNULL GetJobsResponse::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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; +::uint8_t* PROTOBUF_NONNULL GetJobsResponse::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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; - } + // @@protoc_insertion_point(serialize_to_array_start:beeremote.GetJobsResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // string path = 1; + if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { + 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 (ABSL_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); +::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; +::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_); - } + // @@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; + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000001u) != 0) { + 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); @@ -6440,9 +6720,17 @@ void GetJobsResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const : _this->_internal_mutable_results()->MergeFrom( from._internal_results()); - 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) != 0) { + if (!from._internal_path().empty()) { + _this->_internal_set_path(from._internal_path()); + } else { + if (_this->_impl_.path_.IsDefault()) { + _this->_internal_set_path(""); + } + } } + _this->_impl_._has_bits_[0] |= cached_has_bits; _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } @@ -6454,11 +6742,12 @@ void GetJobsResponse::CopyFrom(const GetJobsResponse& from) { } -void GetJobsResponse::InternalSwap(GetJobsResponse* PROTOBUF_RESTRICT other) { - using std::swap; +void GetJobsResponse::InternalSwap(GetJobsResponse* PROTOBUF_RESTRICT PROTOBUF_NONNULL 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_.results_.InternalSwap(&other->_impl_.results_); ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.path_, &other->_impl_.path_, arena); } @@ -6471,7 +6760,7 @@ ::google::protobuf::Metadata GetJobsResponse::GetMetadata() const { class UpdateWorkRequest::_Internal { public: using HasBits = - decltype(std::declval()._impl_._has_bits_); + decltype(::std::declval()._impl_._has_bits_); static constexpr ::int32_t kHasBitsOffset = 8 * PROTOBUF_FIELD_OFFSET(UpdateWorkRequest, _impl_._has_bits_); }; @@ -6481,26 +6770,27 @@ void UpdateWorkRequest::clear_work() { if (_impl_.work_ != nullptr) _impl_.work_->Clear(); _impl_._has_bits_[0] &= ~0x00000001u; } -UpdateWorkRequest::UpdateWorkRequest(::google::protobuf::Arena* arena) +UpdateWorkRequest::UpdateWorkRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, UpdateWorkRequest_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) +PROTOBUF_NDEBUG_INLINE UpdateWorkRequest::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::beeremote::UpdateWorkRequest& from_msg) : _has_bits_{from._has_bits_}, _cached_size_{0} {} UpdateWorkRequest::UpdateWorkRequest( - ::google::protobuf::Arena* arena, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const UpdateWorkRequest& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, UpdateWorkRequest_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -6510,18 +6800,18 @@ UpdateWorkRequest::UpdateWorkRequest( 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; + _impl_.work_ = ((cached_has_bits & 0x00000001u) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.work_) + : nullptr; // @@protoc_insertion_point(copy_constructor:beeremote.UpdateWorkRequest) } -inline PROTOBUF_NDEBUG_INLINE UpdateWorkRequest::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE UpdateWorkRequest::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : _cached_size_{0} {} -inline void UpdateWorkRequest::SharedCtor(::_pb::Arena* arena) { +inline void UpdateWorkRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); _impl_.work_ = {}; } @@ -6537,43 +6827,51 @@ inline void UpdateWorkRequest::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* UpdateWorkRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL UpdateWorkRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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(), +constexpr auto UpdateWorkRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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, + &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_FIELD_OFFSET(UpdateWorkRequest, _impl_._cached_size_), + false, + }, + &UpdateWorkRequest::kDescriptorMethods, + &descriptor_table_beeremote_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull UpdateWorkRequest_class_data_ = + UpdateWorkRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +UpdateWorkRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&UpdateWorkRequest_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(UpdateWorkRequest_class_data_.tc_table); + return UpdateWorkRequest_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 1, 1, 0, 2> UpdateWorkRequest::_table_ = { +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> +UpdateWorkRequest::_table_ = { { PROTOBUF_FIELD_OFFSET(UpdateWorkRequest, _impl_._has_bits_), 0, // no _extensions_ @@ -6584,7 +6882,7 @@ const ::_pbi::TcParseTable<0, 1, 1, 0, 2> UpdateWorkRequest::_table_ = { 1, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + UpdateWorkRequest_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -6600,12 +6898,13 @@ const ::_pbi::TcParseTable<0, 1, 1, 0, 2> UpdateWorkRequest::_table_ = { // .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>()}, - }}, {{ + }}, + {{ + {::_pbi::TcParser::GetTable<::flex::Work>()}, + }}, + {{ }}, }; - PROTOBUF_NOINLINE void UpdateWorkRequest::Clear() { // @@protoc_insertion_point(message_clear_start:beeremote.UpdateWorkRequest) ::google::protobuf::internal::TSanWrite(&_impl_); @@ -6614,7 +6913,7 @@ PROTOBUF_NOINLINE void UpdateWorkRequest::Clear() { (void) cached_has_bits; cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000001u) != 0) { ABSL_DCHECK(_impl_.work_ != nullptr); _impl_.work_->Clear(); } @@ -6623,62 +6922,62 @@ PROTOBUF_NOINLINE void UpdateWorkRequest::Clear() { } #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); +::uint8_t* PROTOBUF_NONNULL UpdateWorkRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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; +::uint8_t* PROTOBUF_NONNULL UpdateWorkRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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; - } + // @@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) != 0) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.work_, this_._impl_.work_->GetCachedSize(), target, + stream); + } + + if (ABSL_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); +::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; +::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_); - } + // @@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) != 0) { + 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); @@ -6690,11 +6989,10 @@ void UpdateWorkRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const (void) cached_has_bits; cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000001u) != 0) { ABSL_DCHECK(from._impl_.work_ != nullptr); if (_this->_impl_.work_ == nullptr) { - _this->_impl_.work_ = - ::google::protobuf::Message::CopyConstruct<::flex::Work>(arena, *from._impl_.work_); + _this->_impl_.work_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.work_); } else { _this->_impl_.work_->MergeFrom(*from._impl_.work_); } @@ -6711,8 +7009,8 @@ void UpdateWorkRequest::CopyFrom(const UpdateWorkRequest& from) { } -void UpdateWorkRequest::InternalSwap(UpdateWorkRequest* PROTOBUF_RESTRICT other) { - using std::swap; +void UpdateWorkRequest::InternalSwap(UpdateWorkRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL 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_); @@ -6727,19 +7025,19 @@ class UpdateWorkResponse::_Internal { public: }; -UpdateWorkResponse::UpdateWorkResponse(::google::protobuf::Arena* arena) +UpdateWorkResponse::UpdateWorkResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { + : ::google::protobuf::internal::ZeroFieldsBase(arena, UpdateWorkResponse_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, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const UpdateWorkResponse& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { + : ::google::protobuf::internal::ZeroFieldsBase(arena, UpdateWorkResponse_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::internal::ZeroFieldsBase(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -6751,43 +7049,51 @@ UpdateWorkResponse::UpdateWorkResponse( // @@protoc_insertion_point(copy_constructor:beeremote.UpdateWorkResponse) } -inline void* UpdateWorkResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL UpdateWorkResponse::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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(), +constexpr auto UpdateWorkResponse::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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, + &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_FIELD_OFFSET(UpdateWorkResponse, _impl_._cached_size_), + false, + }, + &UpdateWorkResponse::kDescriptorMethods, + &descriptor_table_beeremote_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull UpdateWorkResponse_class_data_ = + UpdateWorkResponse::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +UpdateWorkResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&UpdateWorkResponse_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(UpdateWorkResponse_class_data_.tc_table); + return UpdateWorkResponse_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 0, 0, 0, 2> UpdateWorkResponse::_table_ = { +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> +UpdateWorkResponse::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ @@ -6798,7 +7104,7 @@ const ::_pbi::TcParseTable<0, 0, 0, 0, 2> UpdateWorkResponse::_table_ = { 0, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), + UpdateWorkResponse_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -6808,8 +7114,7 @@ const ::_pbi::TcParseTable<0, 0, 0, 0, 2> UpdateWorkResponse::_table_ = { {::_pbi::TcParser::MiniParse, {}}, }}, {{ 65535, 65535 - }}, - // no field_entries, or aux_entries + }}, // no field_entries, or aux_entries {{ }}, }; @@ -6820,7 +7125,6 @@ const ::_pbi::TcParseTable<0, 0, 0, 0, 2> UpdateWorkResponse::_table_ = { - ::google::protobuf::Metadata UpdateWorkResponse::GetMetadata() const { return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } @@ -6830,19 +7134,19 @@ class GetRSTConfigRequest::_Internal { public: }; -GetRSTConfigRequest::GetRSTConfigRequest(::google::protobuf::Arena* arena) +GetRSTConfigRequest::GetRSTConfigRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { + : ::google::protobuf::internal::ZeroFieldsBase(arena, GetRSTConfigRequest_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, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetRSTConfigRequest& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { + : ::google::protobuf::internal::ZeroFieldsBase(arena, GetRSTConfigRequest_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::internal::ZeroFieldsBase(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -6854,43 +7158,51 @@ GetRSTConfigRequest::GetRSTConfigRequest( // @@protoc_insertion_point(copy_constructor:beeremote.GetRSTConfigRequest) } -inline void* GetRSTConfigRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL GetRSTConfigRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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(), +constexpr auto GetRSTConfigRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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, + &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_FIELD_OFFSET(GetRSTConfigRequest, _impl_._cached_size_), + false, + }, + &GetRSTConfigRequest::kDescriptorMethods, + &descriptor_table_beeremote_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull GetRSTConfigRequest_class_data_ = + GetRSTConfigRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +GetRSTConfigRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&GetRSTConfigRequest_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(GetRSTConfigRequest_class_data_.tc_table); + return GetRSTConfigRequest_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 0, 0, 0, 2> GetRSTConfigRequest::_table_ = { +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> +GetRSTConfigRequest::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ @@ -6901,7 +7213,7 @@ const ::_pbi::TcParseTable<0, 0, 0, 0, 2> GetRSTConfigRequest::_table_ = { 0, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), + GetRSTConfigRequest_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -6911,8 +7223,7 @@ const ::_pbi::TcParseTable<0, 0, 0, 0, 2> GetRSTConfigRequest::_table_ = { {::_pbi::TcParser::MiniParse, {}}, }}, {{ 65535, 65535 - }}, - // no field_entries, or aux_entries + }}, // no field_entries, or aux_entries {{ }}, }; @@ -6923,7 +7234,6 @@ const ::_pbi::TcParseTable<0, 0, 0, 0, 2> GetRSTConfigRequest::_table_ = { - ::google::protobuf::Metadata GetRSTConfigRequest::GetMetadata() const { return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } @@ -6937,26 +7247,27 @@ void GetRSTConfigResponse::clear_rsts() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.rsts_.Clear(); } -GetRSTConfigResponse::GetRSTConfigResponse(::google::protobuf::Arena* arena) +GetRSTConfigResponse::GetRSTConfigResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, GetRSTConfigResponse_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) +PROTOBUF_NDEBUG_INLINE GetRSTConfigResponse::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::beeremote::GetRSTConfigResponse& from_msg) : rsts_{visibility, arena, from.rsts_}, _cached_size_{0} {} GetRSTConfigResponse::GetRSTConfigResponse( - ::google::protobuf::Arena* arena, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetRSTConfigResponse& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, GetRSTConfigResponse_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -6968,13 +7279,13 @@ GetRSTConfigResponse::GetRSTConfigResponse( // @@protoc_insertion_point(copy_constructor:beeremote.GetRSTConfigResponse) } -inline PROTOBUF_NDEBUG_INLINE GetRSTConfigResponse::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE GetRSTConfigResponse::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : rsts_{visibility, arena}, _cached_size_{0} {} -inline void GetRSTConfigResponse::SharedCtor(::_pb::Arena* arena) { +inline void GetRSTConfigResponse::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); } GetRSTConfigResponse::~GetRSTConfigResponse() { @@ -6988,8 +7299,9 @@ inline void GetRSTConfigResponse::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* GetRSTConfigResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL GetRSTConfigResponse::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { return ::new (mem) GetRSTConfigResponse(arena); } constexpr auto GetRSTConfigResponse::InternalNewImpl_() { @@ -7008,35 +7320,42 @@ constexpr auto GetRSTConfigResponse::InternalNewImpl_() { 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(), +constexpr auto GetRSTConfigResponse::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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, + &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_FIELD_OFFSET(GetRSTConfigResponse, _impl_._cached_size_), + false, + }, + &GetRSTConfigResponse::kDescriptorMethods, + &descriptor_table_beeremote_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull GetRSTConfigResponse_class_data_ = + GetRSTConfigResponse::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +GetRSTConfigResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&GetRSTConfigResponse_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(GetRSTConfigResponse_class_data_.tc_table); + return GetRSTConfigResponse_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 1, 1, 0, 2> GetRSTConfigResponse::_table_ = { +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> +GetRSTConfigResponse::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ @@ -7047,7 +7366,7 @@ const ::_pbi::TcParseTable<0, 1, 1, 0, 2> GetRSTConfigResponse::_table_ = { 1, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + GetRSTConfigResponse_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -7063,12 +7382,13 @@ const ::_pbi::TcParseTable<0, 1, 1, 0, 2> GetRSTConfigResponse::_table_ = { // 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>()}, - }}, {{ + }}, + {{ + {::_pbi::TcParser::GetTable<::flex::RemoteStorageTarget>()}, + }}, + {{ }}, }; - PROTOBUF_NOINLINE void GetRSTConfigResponse::Clear() { // @@protoc_insertion_point(message_clear_start:beeremote.GetRSTConfigResponse) ::google::protobuf::internal::TSanWrite(&_impl_); @@ -7081,67 +7401,67 @@ PROTOBUF_NOINLINE void GetRSTConfigResponse::Clear() { } #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); +::uint8_t* PROTOBUF_NONNULL GetRSTConfigResponse::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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; +::uint8_t* PROTOBUF_NONNULL GetRSTConfigResponse::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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; - } + // @@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 (ABSL_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); +::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; +::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_); - } + // @@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); @@ -7164,8 +7484,8 @@ void GetRSTConfigResponse::CopyFrom(const GetRSTConfigResponse& from) { } -void GetRSTConfigResponse::InternalSwap(GetRSTConfigResponse* PROTOBUF_RESTRICT other) { - using std::swap; +void GetRSTConfigResponse::InternalSwap(GetRSTConfigResponse* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); _impl_.rsts_.InternalSwap(&other->_impl_.rsts_); } @@ -7177,28 +7497,34 @@ ::google::protobuf::Metadata GetRSTConfigResponse::GetMetadata() const { class GetStubContentsRequest::_Internal { public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(GetStubContentsRequest, _impl_._has_bits_); }; -GetStubContentsRequest::GetStubContentsRequest(::google::protobuf::Arena* arena) +GetStubContentsRequest::GetStubContentsRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, GetStubContentsRequest_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} {} +PROTOBUF_NDEBUG_INLINE GetStubContentsRequest::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::beeremote::GetStubContentsRequest& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + path_(arena, from.path_) {} GetStubContentsRequest::GetStubContentsRequest( - ::google::protobuf::Arena* arena, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetStubContentsRequest& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, GetStubContentsRequest_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -7210,13 +7536,13 @@ GetStubContentsRequest::GetStubContentsRequest( // @@protoc_insertion_point(copy_constructor:beeremote.GetStubContentsRequest) } -inline PROTOBUF_NDEBUG_INLINE GetStubContentsRequest::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE GetStubContentsRequest::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : path_(arena), - _cached_size_{0} {} + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + path_(arena) {} -inline void GetStubContentsRequest::SharedCtor(::_pb::Arena* arena) { +inline void GetStubContentsRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); } GetStubContentsRequest::~GetStubContentsRequest() { @@ -7231,45 +7557,53 @@ inline void GetStubContentsRequest::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* GetStubContentsRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL GetStubContentsRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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(), +constexpr auto GetStubContentsRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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, + &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_FIELD_OFFSET(GetStubContentsRequest, _impl_._cached_size_), + false, + }, + &GetStubContentsRequest::kDescriptorMethods, + &descriptor_table_beeremote_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull GetStubContentsRequest_class_data_ = + GetStubContentsRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +GetStubContentsRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&GetStubContentsRequest_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(GetStubContentsRequest_class_data_.tc_table); + return GetStubContentsRequest_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 1, 0, 45, 2> GetStubContentsRequest::_table_ = { +const ::_pbi::TcParseTable<0, 1, 0, 45, 2> +GetStubContentsRequest::_table_ = { { - 0, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(GetStubContentsRequest, _impl_._has_bits_), 0, // no _extensions_ 1, 0, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), @@ -7278,7 +7612,7 @@ const ::_pbi::TcParseTable<0, 1, 0, 45, 2> GetStubContentsRequest::_table_ = { 1, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), + GetStubContentsRequest_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -7287,13 +7621,13 @@ const ::_pbi::TcParseTable<0, 1, 0, 45, 2> GetStubContentsRequest::_table_ = { }, {{ // string path = 1; {::_pbi::TcParser::FastUS1, - {10, 63, 0, PROTOBUF_FIELD_OFFSET(GetStubContentsRequest, _impl_.path_)}}, + {10, 0, 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)}, + {PROTOBUF_FIELD_OFFSET(GetStubContentsRequest, _impl_.path_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, }}, // no aux_entries {{ @@ -7302,7 +7636,6 @@ const ::_pbi::TcParseTable<0, 1, 0, 45, 2> GetStubContentsRequest::_table_ = { "path" }}, }; - PROTOBUF_NOINLINE void GetStubContentsRequest::Clear() { // @@protoc_insertion_point(message_clear_start:beeremote.GetStubContentsRequest) ::google::protobuf::internal::TSanWrite(&_impl_); @@ -7310,66 +7643,75 @@ PROTOBUF_NOINLINE void GetStubContentsRequest::Clear() { // 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) != 0) { + _impl_.path_.ClearNonDefaultToEmpty(); + } + _impl_._has_bits_.Clear(); _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); +::uint8_t* PROTOBUF_NONNULL GetStubContentsRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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; +::uint8_t* PROTOBUF_NONNULL GetStubContentsRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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; - } + // @@protoc_insertion_point(serialize_to_array_start:beeremote.GetStubContentsRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // string path = 1; + if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { + 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 (ABSL_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); +::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; +::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_); - } + // @@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; + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000001u) != 0) { + 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); @@ -7379,9 +7721,17 @@ void GetStubContentsRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, ::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) != 0) { + if (!from._internal_path().empty()) { + _this->_internal_set_path(from._internal_path()); + } else { + if (_this->_impl_.path_.IsDefault()) { + _this->_internal_set_path(""); + } + } } + _this->_impl_._has_bits_[0] |= cached_has_bits; _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } @@ -7393,11 +7743,12 @@ void GetStubContentsRequest::CopyFrom(const GetStubContentsRequest& from) { } -void GetStubContentsRequest::InternalSwap(GetStubContentsRequest* PROTOBUF_RESTRICT other) { - using std::swap; +void GetStubContentsRequest::InternalSwap(GetStubContentsRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL 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); } @@ -7409,32 +7760,33 @@ ::google::protobuf::Metadata GetStubContentsRequest::GetMetadata() const { class GetStubContentsResponse::_Internal { public: using HasBits = - decltype(std::declval()._impl_._has_bits_); + 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) +GetStubContentsResponse::GetStubContentsResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, GetStubContentsResponse_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) +PROTOBUF_NDEBUG_INLINE GetStubContentsResponse::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetStubContentsResponse& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, GetStubContentsResponse_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -7447,13 +7799,13 @@ GetStubContentsResponse::GetStubContentsResponse( // @@protoc_insertion_point(copy_constructor:beeremote.GetStubContentsResponse) } -inline PROTOBUF_NDEBUG_INLINE GetStubContentsResponse::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE GetStubContentsResponse::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : _cached_size_{0}, url_(arena) {} -inline void GetStubContentsResponse::SharedCtor(::_pb::Arena* arena) { +inline void GetStubContentsResponse::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); _impl_.rst_id_ = {}; } @@ -7469,43 +7821,51 @@ inline void GetStubContentsResponse::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* GetStubContentsResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL GetStubContentsResponse::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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(), +constexpr auto GetStubContentsResponse::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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, + &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_FIELD_OFFSET(GetStubContentsResponse, _impl_._cached_size_), + false, + }, + &GetStubContentsResponse::kDescriptorMethods, + &descriptor_table_beeremote_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull GetStubContentsResponse_class_data_ = + GetStubContentsResponse::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +GetStubContentsResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&GetStubContentsResponse_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(GetStubContentsResponse_class_data_.tc_table); + return GetStubContentsResponse_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<1, 2, 0, 45, 2> GetStubContentsResponse::_table_ = { +const ::_pbi::TcParseTable<1, 2, 0, 45, 2> +GetStubContentsResponse::_table_ = { { PROTOBUF_FIELD_OFFSET(GetStubContentsResponse, _impl_._has_bits_), 0, // no _extensions_ @@ -7516,7 +7876,7 @@ const ::_pbi::TcParseTable<1, 2, 0, 45, 2> GetStubContentsResponse::_table_ = { 2, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), + GetStubContentsResponse_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -7546,7 +7906,6 @@ const ::_pbi::TcParseTable<1, 2, 0, 45, 2> GetStubContentsResponse::_table_ = { "url" }}, }; - PROTOBUF_NOINLINE void GetStubContentsResponse::Clear() { // @@protoc_insertion_point(message_clear_start:beeremote.GetStubContentsResponse) ::google::protobuf::internal::TSanWrite(&_impl_); @@ -7555,7 +7914,7 @@ PROTOBUF_NOINLINE void GetStubContentsResponse::Clear() { (void) cached_has_bits; cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000001u) != 0) { _impl_.url_.ClearNonDefaultToEmpty(); } _impl_.rst_id_ = 0u; @@ -7564,76 +7923,76 @@ PROTOBUF_NOINLINE void GetStubContentsResponse::Clear() { } #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); +::uint8_t* PROTOBUF_NONNULL GetStubContentsResponse::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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; +::uint8_t* PROTOBUF_NONNULL GetStubContentsResponse::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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; - } + // @@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) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this_._internal_rst_id(), target); + } + + // optional string url = 2; + if ((cached_has_bits & 0x00000001u) != 0) { + 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 (ABSL_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); +::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; +::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_); - } + // @@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) != 0) { + // optional string url = 2; + if ((cached_has_bits & 0x00000001u) != 0) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_url()); + } + // optional uint32 rst_id = 1; + if ((cached_has_bits & 0x00000002u) != 0) { + 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); @@ -7644,11 +8003,11 @@ void GetStubContentsResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, (void) cached_has_bits; cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000003u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { _this->_internal_set_url(from._internal_url()); } - if (cached_has_bits & 0x00000002u) { + if ((cached_has_bits & 0x00000002u) != 0) { _this->_impl_.rst_id_ = from._impl_.rst_id_; } } @@ -7664,14 +8023,14 @@ void GetStubContentsResponse::CopyFrom(const GetStubContentsResponse& from) { } -void GetStubContentsResponse::InternalSwap(GetStubContentsResponse* PROTOBUF_RESTRICT other) { - using std::swap; +void GetStubContentsResponse::InternalSwap(GetStubContentsResponse* PROTOBUF_RESTRICT PROTOBUF_NONNULL 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_); + swap(_impl_.rst_id_, other->_impl_.rst_id_); } ::google::protobuf::Metadata GetStubContentsResponse::GetMetadata() const { @@ -7685,7 +8044,7 @@ namespace protobuf { } // namespace google // @@protoc_insertion_point(global_scope) PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type - _static_init2_ PROTOBUF_UNUSED = + _static_init2_ [[maybe_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/include/proto/beeremote.pb.h similarity index 64% rename from cpp/beeremote.pb.h rename to cpp/include/proto/beeremote.pb.h index 0a665f7..94eb9b0 100644 --- a/cpp/beeremote.pb.h +++ b/cpp/include/proto/beeremote.pb.h @@ -1,7 +1,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // NO CHECKED-IN PROTOBUF GENCODE // source: beeremote.proto -// Protobuf C++ Version: 5.29.2 +// Protobuf C++ Version: 6.31.1 #ifndef beeremote_2eproto_2epb_2eh #define beeremote_2eproto_2epb_2eh @@ -12,7 +12,7 @@ #include #include "google/protobuf/runtime_version.h" -#if PROTOBUF_VERSION != 5029002 +#if PROTOBUF_VERSION != 6031001 #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" @@ -30,8 +30,9 @@ #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_type_handler.h" // IWYU pragma: export #include "google/protobuf/map_entry.h" -#include "google/protobuf/map_field_inl.h" +#include "google/protobuf/map_field.h" #include "google/protobuf/generated_enum_reflection.h" #include "google/protobuf/unknown_field_set.h" #include "flex.pb.h" @@ -56,78 +57,121 @@ ::absl::string_view GetAnyMessageName(); struct TableStruct_beeremote_2eproto { static const ::uint32_t offsets[]; }; -extern const ::google::protobuf::internal::DescriptorTable - descriptor_table_beeremote_2eproto; +extern "C" { +extern const ::google::protobuf::internal::DescriptorTable descriptor_table_beeremote_2eproto; +} // extern "C" namespace beeremote { +enum JobRequest_GenerationStatus_State : int; +extern const uint32_t JobRequest_GenerationStatus_State_internal_data_[]; +enum Job_State : int; +extern const uint32_t Job_State_internal_data_[]; +enum SubmitJobResponse_ResponseStatus : int; +extern const uint32_t SubmitJobResponse_ResponseStatus_internal_data_[]; +enum UpdateJobsRequest_NewState : int; +extern const uint32_t UpdateJobsRequest_NewState_internal_data_[]; class GetJobsRequest; struct GetJobsRequestDefaultTypeInternal; extern GetJobsRequestDefaultTypeInternal _GetJobsRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull GetJobsRequest_class_data_; class GetJobsRequest_QueryIdAndPath; struct GetJobsRequest_QueryIdAndPathDefaultTypeInternal; extern GetJobsRequest_QueryIdAndPathDefaultTypeInternal _GetJobsRequest_QueryIdAndPath_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull GetJobsRequest_QueryIdAndPath_class_data_; class GetJobsResponse; struct GetJobsResponseDefaultTypeInternal; extern GetJobsResponseDefaultTypeInternal _GetJobsResponse_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull GetJobsResponse_class_data_; class GetRSTConfigRequest; struct GetRSTConfigRequestDefaultTypeInternal; extern GetRSTConfigRequestDefaultTypeInternal _GetRSTConfigRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull GetRSTConfigRequest_class_data_; class GetRSTConfigResponse; struct GetRSTConfigResponseDefaultTypeInternal; extern GetRSTConfigResponseDefaultTypeInternal _GetRSTConfigResponse_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull GetRSTConfigResponse_class_data_; class GetStubContentsRequest; struct GetStubContentsRequestDefaultTypeInternal; extern GetStubContentsRequestDefaultTypeInternal _GetStubContentsRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull GetStubContentsRequest_class_data_; class GetStubContentsResponse; struct GetStubContentsResponseDefaultTypeInternal; extern GetStubContentsResponseDefaultTypeInternal _GetStubContentsResponse_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull GetStubContentsResponse_class_data_; class Job; struct JobDefaultTypeInternal; extern JobDefaultTypeInternal _Job_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull Job_class_data_; class JobRequest; struct JobRequestDefaultTypeInternal; extern JobRequestDefaultTypeInternal _JobRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull JobRequest_class_data_; class JobRequest_GenerationStatus; struct JobRequest_GenerationStatusDefaultTypeInternal; extern JobRequest_GenerationStatusDefaultTypeInternal _JobRequest_GenerationStatus_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull JobRequest_GenerationStatus_class_data_; class JobResult; struct JobResultDefaultTypeInternal; extern JobResultDefaultTypeInternal _JobResult_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull JobResult_class_data_; class JobResult_WorkResult; struct JobResult_WorkResultDefaultTypeInternal; extern JobResult_WorkResultDefaultTypeInternal _JobResult_WorkResult_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull JobResult_WorkResult_class_data_; class Job_Status; struct Job_StatusDefaultTypeInternal; extern Job_StatusDefaultTypeInternal _Job_Status_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull Job_Status_class_data_; class SubmitJobRequest; struct SubmitJobRequestDefaultTypeInternal; extern SubmitJobRequestDefaultTypeInternal _SubmitJobRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull SubmitJobRequest_class_data_; class SubmitJobResponse; struct SubmitJobResponseDefaultTypeInternal; extern SubmitJobResponseDefaultTypeInternal _SubmitJobResponse_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull SubmitJobResponse_class_data_; class UpdateJobsRequest; struct UpdateJobsRequestDefaultTypeInternal; extern UpdateJobsRequestDefaultTypeInternal _UpdateJobsRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull UpdateJobsRequest_class_data_; class UpdateJobsRequest_RemoteTargetsEntry_DoNotUse; struct UpdateJobsRequest_RemoteTargetsEntry_DoNotUseDefaultTypeInternal; extern UpdateJobsRequest_RemoteTargetsEntry_DoNotUseDefaultTypeInternal _UpdateJobsRequest_RemoteTargetsEntry_DoNotUse_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull UpdateJobsRequest_RemoteTargetsEntry_DoNotUse_class_data_; class UpdateJobsResponse; struct UpdateJobsResponseDefaultTypeInternal; extern UpdateJobsResponseDefaultTypeInternal _UpdateJobsResponse_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull UpdateJobsResponse_class_data_; class UpdatePathsRequest; struct UpdatePathsRequestDefaultTypeInternal; extern UpdatePathsRequestDefaultTypeInternal _UpdatePathsRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull UpdatePathsRequest_class_data_; class UpdatePathsResponse; struct UpdatePathsResponseDefaultTypeInternal; extern UpdatePathsResponseDefaultTypeInternal _UpdatePathsResponse_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull UpdatePathsResponse_class_data_; class UpdateWorkRequest; struct UpdateWorkRequestDefaultTypeInternal; extern UpdateWorkRequestDefaultTypeInternal _UpdateWorkRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull UpdateWorkRequest_class_data_; class UpdateWorkResponse; struct UpdateWorkResponseDefaultTypeInternal; extern UpdateWorkResponseDefaultTypeInternal _UpdateWorkResponse_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull UpdateWorkResponse_class_data_; } // namespace beeremote namespace google { namespace protobuf { +template <> +internal::EnumTraitsT<::beeremote::JobRequest_GenerationStatus_State_internal_data_> + internal::EnumTraitsImpl::value<::beeremote::JobRequest_GenerationStatus_State>; +template <> +internal::EnumTraitsT<::beeremote::Job_State_internal_data_> + internal::EnumTraitsImpl::value<::beeremote::Job_State>; +template <> +internal::EnumTraitsT<::beeremote::SubmitJobResponse_ResponseStatus_internal_data_> + internal::EnumTraitsImpl::value<::beeremote::SubmitJobResponse_ResponseStatus>; +template <> +internal::EnumTraitsT<::beeremote::UpdateJobsRequest_NewState_internal_data_> + internal::EnumTraitsImpl::value<::beeremote::UpdateJobsRequest_NewState>; } // namespace protobuf } // namespace google @@ -141,34 +185,37 @@ enum SubmitJobResponse_ResponseStatus : int { 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(), + ::std::numeric_limits<::int32_t>::min(), SubmitJobResponse_ResponseStatus_SubmitJobResponse_ResponseStatus_INT_MAX_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::max(), + ::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(); +inline constexpr SubmitJobResponse_ResponseStatus SubmitJobResponse_ResponseStatus_ResponseStatus_MIN = + static_cast(0); +inline constexpr SubmitJobResponse_ResponseStatus SubmitJobResponse_ResponseStatus_ResponseStatus_MAX = + static_cast(6); +inline bool SubmitJobResponse_ResponseStatus_IsValid(int value) { + return 0 <= value && value <= 6; +} +inline constexpr int SubmitJobResponse_ResponseStatus_ResponseStatus_ARRAYSIZE = 6 + 1; +const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL SubmitJobResponse_ResponseStatus_descriptor(); template -const std::string& SubmitJobResponse_ResponseStatus_Name(T value) { - static_assert(std::is_same::value || - std::is_integral::value, +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( +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); +inline bool SubmitJobResponse_ResponseStatus_Parse( + ::absl::string_view name, SubmitJobResponse_ResponseStatus* PROTOBUF_NONNULL value) { + return ::google::protobuf::internal::ParseNamedEnum(SubmitJobResponse_ResponseStatus_descriptor(), name, + value); } enum JobRequest_GenerationStatus_State : int { JobRequest_GenerationStatus_State_UNSPECIFIED = 0, @@ -177,34 +224,37 @@ enum JobRequest_GenerationStatus_State : int { 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(), + ::std::numeric_limits<::int32_t>::min(), JobRequest_GenerationStatus_State_JobRequest_GenerationStatus_State_INT_MAX_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::max(), + ::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(); +inline constexpr JobRequest_GenerationStatus_State JobRequest_GenerationStatus_State_State_MIN = + static_cast(0); +inline constexpr JobRequest_GenerationStatus_State JobRequest_GenerationStatus_State_State_MAX = + static_cast(4); +inline bool JobRequest_GenerationStatus_State_IsValid(int value) { + return 0 <= value && value <= 4; +} +inline constexpr int JobRequest_GenerationStatus_State_State_ARRAYSIZE = 4 + 1; +const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL JobRequest_GenerationStatus_State_descriptor(); template -const std::string& JobRequest_GenerationStatus_State_Name(T value) { - static_assert(std::is_same::value || - std::is_integral::value, +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( +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); +inline bool JobRequest_GenerationStatus_State_Parse( + ::absl::string_view name, JobRequest_GenerationStatus_State* PROTOBUF_NONNULL value) { + return ::google::protobuf::internal::ParseNamedEnum(JobRequest_GenerationStatus_State_descriptor(), name, + value); } enum Job_State : int { Job_State_UNSPECIFIED = 0, @@ -218,68 +268,74 @@ enum Job_State : int { Job_State_COMPLETED = 9, Job_State_OFFLOADED = 10, Job_State_Job_State_INT_MIN_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::min(), + ::std::numeric_limits<::int32_t>::min(), Job_State_Job_State_INT_MAX_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::max(), + ::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(); +inline constexpr Job_State Job_State_State_MIN = + static_cast(0); +inline constexpr Job_State Job_State_State_MAX = + static_cast(10); +inline bool Job_State_IsValid(int value) { + return 0 <= value && value <= 10 && ((2015u >> value) & 1) != 0; +} +inline constexpr int Job_State_State_ARRAYSIZE = 10 + 1; +const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL Job_State_descriptor(); template -const std::string& Job_State_Name(T value) { - static_assert(std::is_same::value || - std::is_integral::value, +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( +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); +inline bool Job_State_Parse( + ::absl::string_view name, Job_State* PROTOBUF_NONNULL 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(), + ::std::numeric_limits<::int32_t>::min(), UpdateJobsRequest_NewState_UpdateJobsRequest_NewState_INT_MAX_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::max(), + ::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(); +inline constexpr UpdateJobsRequest_NewState UpdateJobsRequest_NewState_NewState_MIN = + static_cast(0); +inline constexpr UpdateJobsRequest_NewState UpdateJobsRequest_NewState_NewState_MAX = + static_cast(2); +inline bool UpdateJobsRequest_NewState_IsValid(int value) { + return 0 <= value && value <= 2; +} +inline constexpr int UpdateJobsRequest_NewState_NewState_ARRAYSIZE = 2 + 1; +const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL UpdateJobsRequest_NewState_descriptor(); template -const std::string& UpdateJobsRequest_NewState_Name(T value) { - static_assert(std::is_same::value || - std::is_integral::value, +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( +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); +inline bool UpdateJobsRequest_NewState_Parse( + ::absl::string_view name, UpdateJobsRequest_NewState* PROTOBUF_NONNULL value) { + return ::google::protobuf::internal::ParseNamedEnum(UpdateJobsRequest_NewState_descriptor(), name, + value); } // =================================================================== @@ -293,19 +349,18 @@ class UpdateWorkResponse final : public ::google::protobuf::internal::ZeroFields inline UpdateWorkResponse() : UpdateWorkResponse(nullptr) {} #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(UpdateWorkResponse* msg, std::destroying_delete_t) { + void operator delete(UpdateWorkResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(UpdateWorkResponse)); } #endif template - explicit PROTOBUF_CONSTEXPR UpdateWorkResponse( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : UpdateWorkResponse(nullptr, ::std::move(from)) {} inline UpdateWorkResponse& operator=(const UpdateWorkResponse& from) { CopyFrom(from); return *this; @@ -324,30 +379,27 @@ class UpdateWorkResponse final : public ::google::protobuf::internal::ZeroFields ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(UpdateWorkResponse* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -355,7 +407,7 @@ class UpdateWorkResponse final : public ::google::protobuf::internal::ZeroFields ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(UpdateWorkResponse* other) { + void UnsafeArenaSwap(UpdateWorkResponse* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -363,7 +415,7 @@ class UpdateWorkResponse final : public ::google::protobuf::internal::ZeroFields // implements Message ---------------------------------------------- - UpdateWorkResponse* New(::google::protobuf::Arena* arena = nullptr) const { + UpdateWorkResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); } using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; @@ -381,24 +433,26 @@ class UpdateWorkResponse final : public ::google::protobuf::internal::ZeroFields } private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit UpdateWorkResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + UpdateWorkResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const UpdateWorkResponse& from); + UpdateWorkResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -407,9 +461,9 @@ class UpdateWorkResponse final : public ::google::protobuf::internal::ZeroFields private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 0, 0, 0, - 0, 2> + static const ::google::protobuf::internal::TcParseTable<0, 0, + 0, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -419,56 +473,59 @@ class UpdateWorkResponse final : public ::google::protobuf::internal::ZeroFields 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const UpdateWorkResponse& from_msg); PROTOBUF_TSAN_DECLARE_MEMBER }; friend struct ::TableStruct_beeremote_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull UpdateWorkResponse_class_data_; // ------------------------------------------------------------------- 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 ::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>; + 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_); + explicit PROTOBUF_CONSTEXPR UpdateJobsRequest_RemoteTargetsEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized); + explicit UpdateJobsRequest_RemoteTargetsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr const void* PROTOBUF_NONNULL internal_default_instance() { + return &_UpdateJobsRequest_RemoteTargetsEntry_DoNotUse_default_instance_; } + static constexpr auto InternalGenerateClassData_(); + 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> + 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; }; +extern const ::google::protobuf::internal::ClassDataFull UpdateJobsRequest_RemoteTargetsEntry_DoNotUse_class_data_; // ------------------------------------------------------------------- class JobRequest_GenerationStatus final : public ::google::protobuf::Message @@ -478,19 +535,18 @@ class JobRequest_GenerationStatus final : public ::google::protobuf::Message ~JobRequest_GenerationStatus() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(JobRequest_GenerationStatus* msg, std::destroying_delete_t) { + void operator delete(JobRequest_GenerationStatus* PROTOBUF_NONNULL 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); + 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)) {} + : JobRequest_GenerationStatus(nullptr, ::std::move(from)) {} inline JobRequest_GenerationStatus& operator=(const JobRequest_GenerationStatus& from) { CopyFrom(from); return *this; @@ -509,30 +565,27 @@ class JobRequest_GenerationStatus final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(JobRequest_GenerationStatus* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -540,7 +593,7 @@ class JobRequest_GenerationStatus final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(JobRequest_GenerationStatus* other) { + void UnsafeArenaSwap(JobRequest_GenerationStatus* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -548,7 +601,7 @@ class JobRequest_GenerationStatus final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - JobRequest_GenerationStatus* New(::google::protobuf::Arena* arena = nullptr) const { + JobRequest_GenerationStatus* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -557,9 +610,8 @@ class JobRequest_GenerationStatus final : public ::google::protobuf::Message 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); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -569,49 +621,51 @@ class JobRequest_GenerationStatus final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(JobRequest_GenerationStatus* other); + void InternalSwap(JobRequest_GenerationStatus* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit JobRequest_GenerationStatus(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + JobRequest_GenerationStatus(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const JobRequest_GenerationStatus& from); + JobRequest_GenerationStatus( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- using State = JobRequest_GenerationStatus_State; @@ -626,14 +680,15 @@ class JobRequest_GenerationStatus final : public ::google::protobuf::Message 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() { + static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL State_descriptor() { return JobRequest_GenerationStatus_State_descriptor(); } template - static inline const std::string& State_Name(T value) { + 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) { + static inline bool State_Parse( + ::absl::string_view name, State* PROTOBUF_NONNULL value) { return JobRequest_GenerationStatus_State_Parse(name, value); } @@ -644,18 +699,17 @@ class JobRequest_GenerationStatus final : public ::google::protobuf::Message }; // string message = 2; void clear_message() ; - const std::string& message() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_message(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_message(); + void set_allocated_message(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_message() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_message(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_message(); public: // .beeremote.JobRequest.GenerationStatus.State state = 1; @@ -672,9 +726,9 @@ class JobRequest_GenerationStatus final : public ::google::protobuf::Message private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 1, 2, 0, - 53, 2> + static const ::google::protobuf::internal::TcParseTable<1, 2, + 0, 53, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -684,21 +738,25 @@ class JobRequest_GenerationStatus final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const JobRequest_GenerationStatus& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; ::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; }; + +extern const ::google::protobuf::internal::ClassDataFull JobRequest_GenerationStatus_class_data_; // ------------------------------------------------------------------- class GetStubContentsResponse final : public ::google::protobuf::Message @@ -708,19 +766,18 @@ class GetStubContentsResponse final : public ::google::protobuf::Message ~GetStubContentsResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetStubContentsResponse* msg, std::destroying_delete_t) { + void operator delete(GetStubContentsResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(GetStubContentsResponse)); } #endif template - explicit PROTOBUF_CONSTEXPR GetStubContentsResponse( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : GetStubContentsResponse(nullptr, ::std::move(from)) {} inline GetStubContentsResponse& operator=(const GetStubContentsResponse& from) { CopyFrom(from); return *this; @@ -739,30 +796,27 @@ class GetStubContentsResponse final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(GetStubContentsResponse* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -770,7 +824,7 @@ class GetStubContentsResponse final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(GetStubContentsResponse* other) { + void UnsafeArenaSwap(GetStubContentsResponse* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -778,7 +832,7 @@ class GetStubContentsResponse final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - GetStubContentsResponse* New(::google::protobuf::Arena* arena = nullptr) const { + GetStubContentsResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -787,9 +841,8 @@ class GetStubContentsResponse final : public ::google::protobuf::Message void MergeFrom(const GetStubContentsResponse& from) { GetStubContentsResponse::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -799,49 +852,51 @@ class GetStubContentsResponse final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(GetStubContentsResponse* other); + void InternalSwap(GetStubContentsResponse* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit GetStubContentsResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + GetStubContentsResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetStubContentsResponse& from); + GetStubContentsResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -853,18 +908,17 @@ class GetStubContentsResponse final : public ::google::protobuf::Message // optional string url = 2; bool has_url() const; void clear_url() ; - const std::string& url() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_url(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_url(); + void set_allocated_url(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_url() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_url(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_url(); public: // optional uint32 rst_id = 1; @@ -882,9 +936,9 @@ class GetStubContentsResponse final : public ::google::protobuf::Message private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 1, 2, 0, - 45, 2> + static const ::google::protobuf::internal::TcParseTable<1, 2, + 0, 45, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -894,13 +948,14 @@ class GetStubContentsResponse final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const GetStubContentsResponse& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; ::google::protobuf::internal::ArenaStringPtr url_; @@ -910,6 +965,8 @@ class GetStubContentsResponse final : public ::google::protobuf::Message union { Impl_ _impl_; }; friend struct ::TableStruct_beeremote_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull GetStubContentsResponse_class_data_; // ------------------------------------------------------------------- class GetStubContentsRequest final : public ::google::protobuf::Message @@ -919,19 +976,18 @@ class GetStubContentsRequest final : public ::google::protobuf::Message ~GetStubContentsRequest() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetStubContentsRequest* msg, std::destroying_delete_t) { + void operator delete(GetStubContentsRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(GetStubContentsRequest)); } #endif template - explicit PROTOBUF_CONSTEXPR GetStubContentsRequest( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : GetStubContentsRequest(nullptr, ::std::move(from)) {} inline GetStubContentsRequest& operator=(const GetStubContentsRequest& from) { CopyFrom(from); return *this; @@ -950,30 +1006,27 @@ class GetStubContentsRequest final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(GetStubContentsRequest* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -981,7 +1034,7 @@ class GetStubContentsRequest final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(GetStubContentsRequest* other) { + void UnsafeArenaSwap(GetStubContentsRequest* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -989,7 +1042,7 @@ class GetStubContentsRequest final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - GetStubContentsRequest* New(::google::protobuf::Arena* arena = nullptr) const { + GetStubContentsRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -998,9 +1051,8 @@ class GetStubContentsRequest final : public ::google::protobuf::Message void MergeFrom(const GetStubContentsRequest& from) { GetStubContentsRequest::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -1010,49 +1062,51 @@ class GetStubContentsRequest final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(GetStubContentsRequest* other); + void InternalSwap(GetStubContentsRequest* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit GetStubContentsRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + GetStubContentsRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetStubContentsRequest& from); + GetStubContentsRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -1062,27 +1116,26 @@ class GetStubContentsRequest final : public ::google::protobuf::Message }; // string path = 1; void clear_path() ; - const std::string& path() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_path(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_path(); + void set_allocated_path(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_path() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_path(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _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> + static const ::google::protobuf::internal::TcParseTable<0, 1, + 0, 45, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -1092,20 +1145,24 @@ class GetStubContentsRequest final : public ::google::protobuf::Message 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_; + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const GetStubContentsRequest& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr path_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_beeremote_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull GetStubContentsRequest_class_data_; // ------------------------------------------------------------------- class GetRSTConfigRequest final : public ::google::protobuf::internal::ZeroFieldsBase @@ -1114,19 +1171,18 @@ class GetRSTConfigRequest final : public ::google::protobuf::internal::ZeroField inline GetRSTConfigRequest() : GetRSTConfigRequest(nullptr) {} #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetRSTConfigRequest* msg, std::destroying_delete_t) { + void operator delete(GetRSTConfigRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(GetRSTConfigRequest)); } #endif template - explicit PROTOBUF_CONSTEXPR GetRSTConfigRequest( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : GetRSTConfigRequest(nullptr, ::std::move(from)) {} inline GetRSTConfigRequest& operator=(const GetRSTConfigRequest& from) { CopyFrom(from); return *this; @@ -1145,30 +1201,27 @@ class GetRSTConfigRequest final : public ::google::protobuf::internal::ZeroField ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(GetRSTConfigRequest* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -1176,7 +1229,7 @@ class GetRSTConfigRequest final : public ::google::protobuf::internal::ZeroField ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(GetRSTConfigRequest* other) { + void UnsafeArenaSwap(GetRSTConfigRequest* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -1184,7 +1237,7 @@ class GetRSTConfigRequest final : public ::google::protobuf::internal::ZeroField // implements Message ---------------------------------------------- - GetRSTConfigRequest* New(::google::protobuf::Arena* arena = nullptr) const { + GetRSTConfigRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); } using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; @@ -1202,24 +1255,26 @@ class GetRSTConfigRequest final : public ::google::protobuf::internal::ZeroField } private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit GetRSTConfigRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + GetRSTConfigRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetRSTConfigRequest& from); + GetRSTConfigRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -1228,9 +1283,9 @@ class GetRSTConfigRequest final : public ::google::protobuf::internal::ZeroField private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 0, 0, 0, - 0, 2> + static const ::google::protobuf::internal::TcParseTable<0, 0, + 0, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -1240,17 +1295,20 @@ class GetRSTConfigRequest final : public ::google::protobuf::internal::ZeroField 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const GetRSTConfigRequest& from_msg); PROTOBUF_TSAN_DECLARE_MEMBER }; friend struct ::TableStruct_beeremote_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull GetRSTConfigRequest_class_data_; // ------------------------------------------------------------------- class GetJobsRequest_QueryIdAndPath final : public ::google::protobuf::Message @@ -1260,19 +1318,18 @@ class GetJobsRequest_QueryIdAndPath final : public ::google::protobuf::Message ~GetJobsRequest_QueryIdAndPath() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetJobsRequest_QueryIdAndPath* msg, std::destroying_delete_t) { + void operator delete(GetJobsRequest_QueryIdAndPath* PROTOBUF_NONNULL 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); + 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)) {} + : GetJobsRequest_QueryIdAndPath(nullptr, ::std::move(from)) {} inline GetJobsRequest_QueryIdAndPath& operator=(const GetJobsRequest_QueryIdAndPath& from) { CopyFrom(from); return *this; @@ -1291,30 +1348,27 @@ class GetJobsRequest_QueryIdAndPath final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(GetJobsRequest_QueryIdAndPath* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -1322,7 +1376,7 @@ class GetJobsRequest_QueryIdAndPath final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(GetJobsRequest_QueryIdAndPath* other) { + void UnsafeArenaSwap(GetJobsRequest_QueryIdAndPath* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -1330,7 +1384,7 @@ class GetJobsRequest_QueryIdAndPath final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - GetJobsRequest_QueryIdAndPath* New(::google::protobuf::Arena* arena = nullptr) const { + GetJobsRequest_QueryIdAndPath* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -1339,9 +1393,8 @@ class GetJobsRequest_QueryIdAndPath final : public ::google::protobuf::Message 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); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -1351,49 +1404,51 @@ class GetJobsRequest_QueryIdAndPath final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(GetJobsRequest_QueryIdAndPath* other); + void InternalSwap(GetJobsRequest_QueryIdAndPath* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit GetJobsRequest_QueryIdAndPath(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + GetJobsRequest_QueryIdAndPath(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetJobsRequest_QueryIdAndPath& from); + GetJobsRequest_QueryIdAndPath( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -1404,43 +1459,41 @@ class GetJobsRequest_QueryIdAndPath final : public ::google::protobuf::Message }; // string job_id = 1; void clear_job_id() ; - const std::string& job_id() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_job_id(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_job_id(); + void set_allocated_job_id(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_job_id() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_job_id(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_job_id(); public: // string path = 2; void clear_path() ; - const std::string& path() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_path(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_path(); + void set_allocated_path(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_path() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_path(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _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> + static const ::google::protobuf::internal::TcParseTable<1, 2, + 0, 58, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -1450,21 +1503,25 @@ class GetJobsRequest_QueryIdAndPath final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const GetJobsRequest_QueryIdAndPath& 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 path_; - ::google::protobuf::internal::CachedSize _cached_size_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_beeremote_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull GetJobsRequest_QueryIdAndPath_class_data_; // ------------------------------------------------------------------- class UpdateJobsRequest final : public ::google::protobuf::Message @@ -1474,19 +1531,18 @@ class UpdateJobsRequest final : public ::google::protobuf::Message ~UpdateJobsRequest() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(UpdateJobsRequest* msg, std::destroying_delete_t) { + void operator delete(UpdateJobsRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(UpdateJobsRequest)); } #endif template - explicit PROTOBUF_CONSTEXPR UpdateJobsRequest( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : UpdateJobsRequest(nullptr, ::std::move(from)) {} inline UpdateJobsRequest& operator=(const UpdateJobsRequest& from) { CopyFrom(from); return *this; @@ -1505,30 +1561,27 @@ class UpdateJobsRequest final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(UpdateJobsRequest* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -1536,7 +1589,7 @@ class UpdateJobsRequest final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(UpdateJobsRequest* other) { + void UnsafeArenaSwap(UpdateJobsRequest* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -1544,7 +1597,7 @@ class UpdateJobsRequest final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - UpdateJobsRequest* New(::google::protobuf::Arena* arena = nullptr) const { + UpdateJobsRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -1553,9 +1606,8 @@ class UpdateJobsRequest final : public ::google::protobuf::Message void MergeFrom(const UpdateJobsRequest& from) { UpdateJobsRequest::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -1565,49 +1617,51 @@ class UpdateJobsRequest final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(UpdateJobsRequest* other); + void InternalSwap(UpdateJobsRequest* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit UpdateJobsRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + UpdateJobsRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const UpdateJobsRequest& from); + UpdateJobsRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- using NewState = UpdateJobsRequest_NewState; @@ -1620,14 +1674,15 @@ class UpdateJobsRequest final : public ::google::protobuf::Message 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() { + static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL NewState_descriptor() { return UpdateJobsRequest_NewState_descriptor(); } template - static inline const std::string& NewState_Name(T value) { + 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) { + static inline bool NewState_Parse( + ::absl::string_view name, NewState* PROTOBUF_NONNULL value) { return UpdateJobsRequest_NewState_Parse(name, value); } @@ -1647,44 +1702,42 @@ class UpdateJobsRequest final : public ::google::protobuf::Message public: void clear_remote_targets() ; const ::google::protobuf::Map<::uint32_t, bool>& remote_targets() const; - ::google::protobuf::Map<::uint32_t, bool>* mutable_remote_targets(); + ::google::protobuf::Map<::uint32_t, bool>* PROTOBUF_NONNULL 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(); + ::google::protobuf::Map<::uint32_t, bool>* PROTOBUF_NONNULL _internal_mutable_remote_targets(); public: // string path = 1; void clear_path() ; - const std::string& path() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_path(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_path(); + void set_allocated_path(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_path() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_path(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _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 + 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); + ::std::string* PROTOBUF_NONNULL mutable_job_id(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_job_id(); + void set_allocated_job_id(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_job_id() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_job_id(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_job_id(); public: // bool force_update = 4; @@ -1711,9 +1764,9 @@ class UpdateJobsRequest final : public ::google::protobuf::Message private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 2, 5, 1, - 46, 2> + static const ::google::protobuf::internal::TcParseTable<2, 5, + 1, 46, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -1723,13 +1776,14 @@ class UpdateJobsRequest final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const UpdateJobsRequest& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; ::google::protobuf::internal::MapField - explicit PROTOBUF_CONSTEXPR Job_Status( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : Job_Status(nullptr, ::std::move(from)) {} inline Job_Status& operator=(const Job_Status& from) { CopyFrom(from); return *this; @@ -1785,30 +1840,27 @@ class Job_Status final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(Job_Status* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -1816,7 +1868,7 @@ class Job_Status final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(Job_Status* other) { + void UnsafeArenaSwap(Job_Status* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -1824,7 +1876,7 @@ class Job_Status final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - Job_Status* New(::google::protobuf::Arena* arena = nullptr) const { + Job_Status* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -1833,9 +1885,8 @@ class Job_Status final : public ::google::protobuf::Message 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); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -1845,49 +1896,51 @@ class Job_Status final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(Job_Status* other); + void InternalSwap(Job_Status* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit Job_Status(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + Job_Status(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Job_Status& from); + Job_Status( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -1899,33 +1952,32 @@ class Job_Status final : public ::google::protobuf::Message }; // string message = 2; void clear_message() ; - const std::string& message() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_message(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_message(); + void set_allocated_message(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_message() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_message(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _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(); + [[nodiscard]] ::google::protobuf::Timestamp* PROTOBUF_NULLABLE release_updated(); + ::google::protobuf::Timestamp* PROTOBUF_NONNULL mutable_updated(); + void set_allocated_updated(::google::protobuf::Timestamp* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_updated(::google::protobuf::Timestamp* PROTOBUF_NULLABLE value); + ::google::protobuf::Timestamp* PROTOBUF_NULLABLE unsafe_arena_release_updated(); private: const ::google::protobuf::Timestamp& _internal_updated() const; - ::google::protobuf::Timestamp* _internal_mutable_updated(); + ::google::protobuf::Timestamp* PROTOBUF_NONNULL _internal_mutable_updated(); public: // .beeremote.Job.State state = 1; @@ -1942,9 +1994,9 @@ class Job_Status final : public ::google::protobuf::Message private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 2, 3, 1, - 36, 2> + static const ::google::protobuf::internal::TcParseTable<2, 3, + 1, 36, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -1954,23 +2006,26 @@ class Job_Status final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const 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_; + ::google::protobuf::Timestamp* PROTOBUF_NULLABLE updated_; int state_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_beeremote_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull Job_Status_class_data_; // ------------------------------------------------------------------- class GetJobsRequest final : public ::google::protobuf::Message @@ -1980,19 +2035,18 @@ class GetJobsRequest final : public ::google::protobuf::Message ~GetJobsRequest() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetJobsRequest* msg, std::destroying_delete_t) { + void operator delete(GetJobsRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(GetJobsRequest)); } #endif template - explicit PROTOBUF_CONSTEXPR GetJobsRequest( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : GetJobsRequest(nullptr, ::std::move(from)) {} inline GetJobsRequest& operator=(const GetJobsRequest& from) { CopyFrom(from); return *this; @@ -2011,22 +2065,23 @@ class GetJobsRequest final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() { return default_instance().GetMetadata().reflection; } static const GetJobsRequest& default_instance() { - return *internal_default_instance(); + return *reinterpret_cast( + &_GetJobsRequest_default_instance_); } enum QueryCase { kByJobIdAndPath = 1, @@ -2034,13 +2089,9 @@ class GetJobsRequest final : public ::google::protobuf::Message 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) { + inline void Swap(GetJobsRequest* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -2048,7 +2099,7 @@ class GetJobsRequest final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(GetJobsRequest* other) { + void UnsafeArenaSwap(GetJobsRequest* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -2056,7 +2107,7 @@ class GetJobsRequest final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - GetJobsRequest* New(::google::protobuf::Arena* arena = nullptr) const { + GetJobsRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -2065,9 +2116,8 @@ class GetJobsRequest final : public ::google::protobuf::Message void MergeFrom(const GetJobsRequest& from) { GetJobsRequest::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -2077,49 +2127,51 @@ class GetJobsRequest final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(GetJobsRequest* other); + void InternalSwap(GetJobsRequest* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit GetJobsRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + GetJobsRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetJobsRequest& from); + GetJobsRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- using QueryIdAndPath = GetJobsRequest_QueryIdAndPath; @@ -2171,49 +2223,47 @@ class GetJobsRequest final : public ::google::protobuf::Message 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(); + [[nodiscard]] ::beeremote::GetJobsRequest_QueryIdAndPath* PROTOBUF_NULLABLE release_by_job_id_and_path(); + ::beeremote::GetJobsRequest_QueryIdAndPath* PROTOBUF_NONNULL mutable_by_job_id_and_path(); + void set_allocated_by_job_id_and_path(::beeremote::GetJobsRequest_QueryIdAndPath* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_by_job_id_and_path(::beeremote::GetJobsRequest_QueryIdAndPath* PROTOBUF_NULLABLE value); + ::beeremote::GetJobsRequest_QueryIdAndPath* PROTOBUF_NULLABLE 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(); + ::beeremote::GetJobsRequest_QueryIdAndPath* PROTOBUF_NONNULL _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 + 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); + ::std::string* PROTOBUF_NONNULL mutable_by_exact_path(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_by_exact_path(); + void set_allocated_by_exact_path(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_by_exact_path() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_by_exact_path(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _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 + 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); + ::std::string* PROTOBUF_NONNULL mutable_by_path_prefix(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_by_path_prefix(); + void set_allocated_by_path_prefix(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_by_path_prefix() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_by_path_prefix(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_by_path_prefix(); public: void clear_query(); @@ -2227,9 +2277,9 @@ class GetJobsRequest final : public ::google::protobuf::Message 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> + static const ::google::protobuf::internal::TcParseTable<2, 6, + 1, 60, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -2239,30 +2289,34 @@ class GetJobsRequest final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const GetJobsRequest& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; 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_; + ::beeremote::GetJobsRequest_QueryIdAndPath* PROTOBUF_NULLABLE 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; }; + +extern const ::google::protobuf::internal::ClassDataFull GetJobsRequest_class_data_; // ------------------------------------------------------------------- class UpdateWorkRequest final : public ::google::protobuf::Message @@ -2272,19 +2326,18 @@ class UpdateWorkRequest final : public ::google::protobuf::Message ~UpdateWorkRequest() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(UpdateWorkRequest* msg, std::destroying_delete_t) { + void operator delete(UpdateWorkRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(UpdateWorkRequest)); } #endif template - explicit PROTOBUF_CONSTEXPR UpdateWorkRequest( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : UpdateWorkRequest(nullptr, ::std::move(from)) {} inline UpdateWorkRequest& operator=(const UpdateWorkRequest& from) { CopyFrom(from); return *this; @@ -2303,30 +2356,27 @@ class UpdateWorkRequest final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(UpdateWorkRequest* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -2334,7 +2384,7 @@ class UpdateWorkRequest final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(UpdateWorkRequest* other) { + void UnsafeArenaSwap(UpdateWorkRequest* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -2342,7 +2392,7 @@ class UpdateWorkRequest final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - UpdateWorkRequest* New(::google::protobuf::Arena* arena = nullptr) const { + UpdateWorkRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -2351,9 +2401,8 @@ class UpdateWorkRequest final : public ::google::protobuf::Message void MergeFrom(const UpdateWorkRequest& from) { UpdateWorkRequest::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -2363,49 +2412,51 @@ class UpdateWorkRequest final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(UpdateWorkRequest* other); + void InternalSwap(UpdateWorkRequest* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit UpdateWorkRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + UpdateWorkRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const UpdateWorkRequest& from); + UpdateWorkRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -2417,24 +2468,24 @@ class UpdateWorkRequest final : public ::google::protobuf::Message 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(); + [[nodiscard]] ::flex::Work* PROTOBUF_NULLABLE release_work(); + ::flex::Work* PROTOBUF_NONNULL mutable_work(); + void set_allocated_work(::flex::Work* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_work(::flex::Work* PROTOBUF_NULLABLE value); + ::flex::Work* PROTOBUF_NULLABLE unsafe_arena_release_work(); private: const ::flex::Work& _internal_work() const; - ::flex::Work* _internal_mutable_work(); + ::flex::Work* PROTOBUF_NONNULL _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> + static const ::google::protobuf::internal::TcParseTable<0, 1, + 1, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -2444,21 +2495,24 @@ class UpdateWorkRequest final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const UpdateWorkRequest& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; - ::flex::Work* work_; + ::flex::Work* PROTOBUF_NULLABLE work_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_beeremote_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull UpdateWorkRequest_class_data_; // ------------------------------------------------------------------- class UpdatePathsRequest final : public ::google::protobuf::Message @@ -2468,19 +2522,18 @@ class UpdatePathsRequest final : public ::google::protobuf::Message ~UpdatePathsRequest() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(UpdatePathsRequest* msg, std::destroying_delete_t) { + void operator delete(UpdatePathsRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(UpdatePathsRequest)); } #endif template - explicit PROTOBUF_CONSTEXPR UpdatePathsRequest( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : UpdatePathsRequest(nullptr, ::std::move(from)) {} inline UpdatePathsRequest& operator=(const UpdatePathsRequest& from) { CopyFrom(from); return *this; @@ -2499,30 +2552,27 @@ class UpdatePathsRequest final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(UpdatePathsRequest* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -2530,7 +2580,7 @@ class UpdatePathsRequest final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(UpdatePathsRequest* other) { + void UnsafeArenaSwap(UpdatePathsRequest* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -2538,7 +2588,7 @@ class UpdatePathsRequest final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - UpdatePathsRequest* New(::google::protobuf::Arena* arena = nullptr) const { + UpdatePathsRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -2547,9 +2597,8 @@ class UpdatePathsRequest final : public ::google::protobuf::Message void MergeFrom(const UpdatePathsRequest& from) { UpdatePathsRequest::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -2559,49 +2608,51 @@ class UpdatePathsRequest final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(UpdatePathsRequest* other); + void InternalSwap(UpdatePathsRequest* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit UpdatePathsRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + UpdatePathsRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const UpdatePathsRequest& from); + UpdatePathsRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -2612,42 +2663,41 @@ class UpdatePathsRequest final : public ::google::protobuf::Message }; // string path_prefix = 1; void clear_path_prefix() ; - const std::string& path_prefix() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_path_prefix(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_path_prefix(); + void set_allocated_path_prefix(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_path_prefix() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_path_prefix(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _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(); + [[nodiscard]] ::beeremote::UpdateJobsRequest* PROTOBUF_NULLABLE release_requested_update(); + ::beeremote::UpdateJobsRequest* PROTOBUF_NONNULL mutable_requested_update(); + void set_allocated_requested_update(::beeremote::UpdateJobsRequest* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_requested_update(::beeremote::UpdateJobsRequest* PROTOBUF_NULLABLE value); + ::beeremote::UpdateJobsRequest* PROTOBUF_NULLABLE unsafe_arena_release_requested_update(); private: const ::beeremote::UpdateJobsRequest& _internal_requested_update() const; - ::beeremote::UpdateJobsRequest* _internal_mutable_requested_update(); + ::beeremote::UpdateJobsRequest* PROTOBUF_NONNULL _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> + static const ::google::protobuf::internal::TcParseTable<1, 2, + 1, 48, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -2657,22 +2707,25 @@ class UpdatePathsRequest final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const 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_; + ::beeremote::UpdateJobsRequest* PROTOBUF_NULLABLE requested_update_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_beeremote_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull UpdatePathsRequest_class_data_; // ------------------------------------------------------------------- class JobResult_WorkResult final : public ::google::protobuf::Message @@ -2682,19 +2735,18 @@ class JobResult_WorkResult final : public ::google::protobuf::Message ~JobResult_WorkResult() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(JobResult_WorkResult* msg, std::destroying_delete_t) { + void operator delete(JobResult_WorkResult* PROTOBUF_NONNULL 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); + 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)) {} + : JobResult_WorkResult(nullptr, ::std::move(from)) {} inline JobResult_WorkResult& operator=(const JobResult_WorkResult& from) { CopyFrom(from); return *this; @@ -2713,30 +2765,27 @@ class JobResult_WorkResult final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(JobResult_WorkResult* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -2744,7 +2793,7 @@ class JobResult_WorkResult final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(JobResult_WorkResult* other) { + void UnsafeArenaSwap(JobResult_WorkResult* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -2752,7 +2801,7 @@ class JobResult_WorkResult final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - JobResult_WorkResult* New(::google::protobuf::Arena* arena = nullptr) const { + JobResult_WorkResult* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -2761,9 +2810,8 @@ class JobResult_WorkResult final : public ::google::protobuf::Message 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); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -2773,49 +2821,51 @@ class JobResult_WorkResult final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(JobResult_WorkResult* other); + void InternalSwap(JobResult_WorkResult* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit JobResult_WorkResult(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + JobResult_WorkResult(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const JobResult_WorkResult& from); + JobResult_WorkResult( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -2827,58 +2877,56 @@ class JobResult_WorkResult final : public ::google::protobuf::Message }; // string assigned_node = 2; void clear_assigned_node() ; - const std::string& assigned_node() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_assigned_node(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_assigned_node(); + void set_allocated_assigned_node(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_assigned_node() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_assigned_node(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_assigned_node(); public: // string assigned_pool = 3; void clear_assigned_pool() ; - const std::string& assigned_pool() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_assigned_pool(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_assigned_pool(); + void set_allocated_assigned_pool(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_assigned_pool() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_assigned_pool(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _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(); + [[nodiscard]] ::flex::Work* PROTOBUF_NULLABLE release_work(); + ::flex::Work* PROTOBUF_NONNULL mutable_work(); + void set_allocated_work(::flex::Work* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_work(::flex::Work* PROTOBUF_NULLABLE value); + ::flex::Work* PROTOBUF_NULLABLE unsafe_arena_release_work(); private: const ::flex::Work& _internal_work() const; - ::flex::Work* _internal_mutable_work(); + ::flex::Work* PROTOBUF_NONNULL _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> + static const ::google::protobuf::internal::TcParseTable<2, 3, + 1, 65, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -2888,23 +2936,26 @@ class JobResult_WorkResult final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const 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_; + ::flex::Work* PROTOBUF_NULLABLE work_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_beeremote_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull JobResult_WorkResult_class_data_; // ------------------------------------------------------------------- class JobRequest final : public ::google::protobuf::Message @@ -2914,19 +2965,18 @@ class JobRequest final : public ::google::protobuf::Message ~JobRequest() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(JobRequest* msg, std::destroying_delete_t) { + void operator delete(JobRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(JobRequest)); } #endif template - explicit PROTOBUF_CONSTEXPR JobRequest( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : JobRequest(nullptr, ::std::move(from)) {} inline JobRequest& operator=(const JobRequest& from) { CopyFrom(from); return *this; @@ -2945,22 +2995,23 @@ class JobRequest final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() { return default_instance().GetMetadata().reflection; } static const JobRequest& default_instance() { - return *internal_default_instance(); + return *reinterpret_cast( + &_JobRequest_default_instance_); } enum TypeCase { kSync = 10, @@ -2968,13 +3019,9 @@ class JobRequest final : public ::google::protobuf::Message 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) { + inline void Swap(JobRequest* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -2982,7 +3029,7 @@ class JobRequest final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(JobRequest* other) { + void UnsafeArenaSwap(JobRequest* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -2990,7 +3037,7 @@ class JobRequest final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - JobRequest* New(::google::protobuf::Arena* arena = nullptr) const { + JobRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -2999,9 +3046,8 @@ class JobRequest final : public ::google::protobuf::Message void MergeFrom(const JobRequest& from) { JobRequest::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -3011,49 +3057,51 @@ class JobRequest final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(JobRequest* other); + void InternalSwap(JobRequest* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit JobRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + JobRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const JobRequest& from); + JobRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- using GenerationStatus = JobRequest_GenerationStatus; @@ -3074,49 +3122,47 @@ class JobRequest final : public ::google::protobuf::Message }; // string path = 1; void clear_path() ; - const std::string& path() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_path(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_path(); + void set_allocated_path(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_path() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_path(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_path(); public: // string name = 2; void clear_name() ; - const std::string& name() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_name(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_name(); + void set_allocated_name(::std::string* PROTOBUF_NULLABLE value); private: - const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( - const std::string& value); - std::string* _internal_mutable_name(); + const ::std::string& _internal_name() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_name(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_name(); public: // .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(); + [[nodiscard]] ::beeremote::JobRequest_GenerationStatus* PROTOBUF_NULLABLE release_generation_status(); + ::beeremote::JobRequest_GenerationStatus* PROTOBUF_NONNULL mutable_generation_status(); + void set_allocated_generation_status(::beeremote::JobRequest_GenerationStatus* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_generation_status(::beeremote::JobRequest_GenerationStatus* PROTOBUF_NULLABLE value); + ::beeremote::JobRequest_GenerationStatus* PROTOBUF_NULLABLE unsafe_arena_release_generation_status(); private: const ::beeremote::JobRequest_GenerationStatus& _internal_generation_status() const; - ::beeremote::JobRequest_GenerationStatus* _internal_mutable_generation_status(); + ::beeremote::JobRequest_GenerationStatus* PROTOBUF_NONNULL _internal_mutable_generation_status(); public: // int32 priority = 3; @@ -3178,15 +3224,15 @@ class JobRequest final : public ::google::protobuf::Message 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(); + [[nodiscard]] ::flex::SyncJob* PROTOBUF_NULLABLE release_sync(); + ::flex::SyncJob* PROTOBUF_NONNULL mutable_sync(); + void set_allocated_sync(::flex::SyncJob* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_sync(::flex::SyncJob* PROTOBUF_NULLABLE value); + ::flex::SyncJob* PROTOBUF_NULLABLE unsafe_arena_release_sync(); private: const ::flex::SyncJob& _internal_sync() const; - ::flex::SyncJob* _internal_mutable_sync(); + ::flex::SyncJob* PROTOBUF_NONNULL _internal_mutable_sync(); public: // .flex.MockJob mock = 11; @@ -3197,15 +3243,15 @@ class JobRequest final : public ::google::protobuf::Message 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(); + [[nodiscard]] ::flex::MockJob* PROTOBUF_NULLABLE release_mock(); + ::flex::MockJob* PROTOBUF_NONNULL mutable_mock(); + void set_allocated_mock(::flex::MockJob* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_mock(::flex::MockJob* PROTOBUF_NULLABLE value); + ::flex::MockJob* PROTOBUF_NULLABLE unsafe_arena_release_mock(); private: const ::flex::MockJob& _internal_mock() const; - ::flex::MockJob* _internal_mutable_mock(); + ::flex::MockJob* PROTOBUF_NONNULL _internal_mutable_mock(); public: // .flex.BuilderJob builder = 12; @@ -3216,15 +3262,15 @@ class JobRequest final : public ::google::protobuf::Message 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(); + [[nodiscard]] ::flex::BuilderJob* PROTOBUF_NULLABLE release_builder(); + ::flex::BuilderJob* PROTOBUF_NONNULL mutable_builder(); + void set_allocated_builder(::flex::BuilderJob* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_builder(::flex::BuilderJob* PROTOBUF_NULLABLE value); + ::flex::BuilderJob* PROTOBUF_NULLABLE unsafe_arena_release_builder(); private: const ::flex::BuilderJob& _internal_builder() const; - ::flex::BuilderJob* _internal_mutable_builder(); + ::flex::BuilderJob* PROTOBUF_NONNULL _internal_mutable_builder(); public: void clear_type(); @@ -3238,9 +3284,9 @@ class JobRequest final : public ::google::protobuf::Message 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> + static const ::google::protobuf::internal::TcParseTable<4, 11, + 4, 45, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -3250,18 +3296,19 @@ class JobRequest final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const 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_; + ::beeremote::JobRequest_GenerationStatus* PROTOBUF_NULLABLE generation_status_; ::int32_t priority_; ::uint32_t remote_storage_target_; bool force_; @@ -3270,9 +3317,9 @@ class JobRequest final : public ::google::protobuf::Message union TypeUnion { constexpr TypeUnion() : _constinit_{} {} ::google::protobuf::internal::ConstantInitialized _constinit_; - ::flex::SyncJob* sync_; - ::flex::MockJob* mock_; - ::flex::BuilderJob* builder_; + ::google::protobuf::Message* PROTOBUF_NULLABLE sync_; + ::google::protobuf::Message* PROTOBUF_NULLABLE mock_; + ::google::protobuf::Message* PROTOBUF_NULLABLE builder_; } type_; ::uint32_t _oneof_case_[1]; PROTOBUF_TSAN_DECLARE_MEMBER @@ -3280,6 +3327,8 @@ class JobRequest final : public ::google::protobuf::Message union { Impl_ _impl_; }; friend struct ::TableStruct_beeremote_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull JobRequest_class_data_; // ------------------------------------------------------------------- class SubmitJobRequest final : public ::google::protobuf::Message @@ -3289,19 +3338,18 @@ class SubmitJobRequest final : public ::google::protobuf::Message ~SubmitJobRequest() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SubmitJobRequest* msg, std::destroying_delete_t) { + void operator delete(SubmitJobRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(SubmitJobRequest)); } #endif template - explicit PROTOBUF_CONSTEXPR SubmitJobRequest( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : SubmitJobRequest(nullptr, ::std::move(from)) {} inline SubmitJobRequest& operator=(const SubmitJobRequest& from) { CopyFrom(from); return *this; @@ -3320,30 +3368,27 @@ class SubmitJobRequest final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(SubmitJobRequest* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -3351,7 +3396,7 @@ class SubmitJobRequest final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(SubmitJobRequest* other) { + void UnsafeArenaSwap(SubmitJobRequest* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -3359,7 +3404,7 @@ class SubmitJobRequest final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - SubmitJobRequest* New(::google::protobuf::Arena* arena = nullptr) const { + SubmitJobRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -3368,9 +3413,8 @@ class SubmitJobRequest final : public ::google::protobuf::Message void MergeFrom(const SubmitJobRequest& from) { SubmitJobRequest::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -3380,49 +3424,51 @@ class SubmitJobRequest final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(SubmitJobRequest* other); + void InternalSwap(SubmitJobRequest* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit SubmitJobRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + SubmitJobRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SubmitJobRequest& from); + SubmitJobRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -3434,24 +3480,24 @@ class SubmitJobRequest final : public ::google::protobuf::Message 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(); + [[nodiscard]] ::beeremote::JobRequest* PROTOBUF_NULLABLE release_request(); + ::beeremote::JobRequest* PROTOBUF_NONNULL mutable_request(); + void set_allocated_request(::beeremote::JobRequest* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_request(::beeremote::JobRequest* PROTOBUF_NULLABLE value); + ::beeremote::JobRequest* PROTOBUF_NULLABLE unsafe_arena_release_request(); private: const ::beeremote::JobRequest& _internal_request() const; - ::beeremote::JobRequest* _internal_mutable_request(); + ::beeremote::JobRequest* PROTOBUF_NONNULL _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> + static const ::google::protobuf::internal::TcParseTable<0, 1, + 1, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -3461,21 +3507,24 @@ class SubmitJobRequest final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const SubmitJobRequest& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; - ::beeremote::JobRequest* request_; + ::beeremote::JobRequest* PROTOBUF_NULLABLE request_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_beeremote_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull SubmitJobRequest_class_data_; // ------------------------------------------------------------------- class Job final : public ::google::protobuf::Message @@ -3485,19 +3534,18 @@ class Job final : public ::google::protobuf::Message ~Job() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(Job* msg, std::destroying_delete_t) { + void operator delete(Job* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(Job)); } #endif template - explicit PROTOBUF_CONSTEXPR Job( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : Job(nullptr, ::std::move(from)) {} inline Job& operator=(const Job& from) { CopyFrom(from); return *this; @@ -3516,30 +3564,27 @@ class Job final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(Job* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -3547,7 +3592,7 @@ class Job final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(Job* other) { + void UnsafeArenaSwap(Job* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -3555,7 +3600,7 @@ class Job final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - Job* New(::google::protobuf::Arena* arena = nullptr) const { + Job* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -3564,9 +3609,8 @@ class Job final : public ::google::protobuf::Message void MergeFrom(const Job& from) { Job::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -3576,49 +3620,51 @@ class Job final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(Job* other); + void InternalSwap(Job* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit Job(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + Job(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Job& from); + Job( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- using Status = Job_Status; @@ -3639,14 +3685,15 @@ class Job final : public ::google::protobuf::Message 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() { + static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL State_descriptor() { return Job_State_descriptor(); } template - static inline const std::string& State_Name(T value) { + 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) { + static inline bool State_Parse( + ::absl::string_view name, State* PROTOBUF_NONNULL value) { return Job_State_Parse(name, value); } @@ -3662,118 +3709,116 @@ class Job final : public ::google::protobuf::Message }; // string id = 1; void clear_id() ; - const std::string& id() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_id(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_id(); + void set_allocated_id(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_id() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_id(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_id(); public: // string external_id = 5; void clear_external_id() ; - const std::string& external_id() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_external_id(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_external_id(); + void set_allocated_external_id(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_external_id() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_external_id(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _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(); + [[nodiscard]] ::beeremote::JobRequest* PROTOBUF_NULLABLE release_request(); + ::beeremote::JobRequest* PROTOBUF_NONNULL mutable_request(); + void set_allocated_request(::beeremote::JobRequest* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_request(::beeremote::JobRequest* PROTOBUF_NULLABLE value); + ::beeremote::JobRequest* PROTOBUF_NULLABLE unsafe_arena_release_request(); private: const ::beeremote::JobRequest& _internal_request() const; - ::beeremote::JobRequest* _internal_mutable_request(); + ::beeremote::JobRequest* PROTOBUF_NONNULL _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(); + [[nodiscard]] ::google::protobuf::Timestamp* PROTOBUF_NULLABLE release_created(); + ::google::protobuf::Timestamp* PROTOBUF_NONNULL mutable_created(); + void set_allocated_created(::google::protobuf::Timestamp* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_created(::google::protobuf::Timestamp* PROTOBUF_NULLABLE value); + ::google::protobuf::Timestamp* PROTOBUF_NULLABLE unsafe_arena_release_created(); private: const ::google::protobuf::Timestamp& _internal_created() const; - ::google::protobuf::Timestamp* _internal_mutable_created(); + ::google::protobuf::Timestamp* PROTOBUF_NONNULL _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(); + [[nodiscard]] ::beeremote::Job_Status* PROTOBUF_NULLABLE release_status(); + ::beeremote::Job_Status* PROTOBUF_NONNULL mutable_status(); + void set_allocated_status(::beeremote::Job_Status* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_status(::beeremote::Job_Status* PROTOBUF_NULLABLE value); + ::beeremote::Job_Status* PROTOBUF_NULLABLE unsafe_arena_release_status(); private: const ::beeremote::Job_Status& _internal_status() const; - ::beeremote::Job_Status* _internal_mutable_status(); + ::beeremote::Job_Status* PROTOBUF_NONNULL _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(); + [[nodiscard]] ::google::protobuf::Timestamp* PROTOBUF_NULLABLE release_start_mtime(); + ::google::protobuf::Timestamp* PROTOBUF_NONNULL mutable_start_mtime(); + void set_allocated_start_mtime(::google::protobuf::Timestamp* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_start_mtime(::google::protobuf::Timestamp* PROTOBUF_NULLABLE value); + ::google::protobuf::Timestamp* PROTOBUF_NULLABLE unsafe_arena_release_start_mtime(); private: const ::google::protobuf::Timestamp& _internal_start_mtime() const; - ::google::protobuf::Timestamp* _internal_mutable_start_mtime(); + ::google::protobuf::Timestamp* PROTOBUF_NONNULL _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(); + [[nodiscard]] ::google::protobuf::Timestamp* PROTOBUF_NULLABLE release_stop_mtime(); + ::google::protobuf::Timestamp* PROTOBUF_NONNULL mutable_stop_mtime(); + void set_allocated_stop_mtime(::google::protobuf::Timestamp* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_stop_mtime(::google::protobuf::Timestamp* PROTOBUF_NULLABLE value); + ::google::protobuf::Timestamp* PROTOBUF_NULLABLE unsafe_arena_release_stop_mtime(); private: const ::google::protobuf::Timestamp& _internal_stop_mtime() const; - ::google::protobuf::Timestamp* _internal_mutable_stop_mtime(); + ::google::protobuf::Timestamp* PROTOBUF_NONNULL _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> + static const ::google::protobuf::internal::TcParseTable<3, 7, + 5, 35, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -3783,27 +3828,30 @@ class Job final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const 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_; + ::beeremote::JobRequest* PROTOBUF_NULLABLE request_; + ::google::protobuf::Timestamp* PROTOBUF_NULLABLE created_; + ::beeremote::Job_Status* PROTOBUF_NULLABLE status_; + ::google::protobuf::Timestamp* PROTOBUF_NULLABLE start_mtime_; + ::google::protobuf::Timestamp* PROTOBUF_NULLABLE stop_mtime_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_beeremote_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull Job_class_data_; // ------------------------------------------------------------------- class GetRSTConfigResponse final : public ::google::protobuf::Message @@ -3813,19 +3861,18 @@ class GetRSTConfigResponse final : public ::google::protobuf::Message ~GetRSTConfigResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetRSTConfigResponse* msg, std::destroying_delete_t) { + void operator delete(GetRSTConfigResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(GetRSTConfigResponse)); } #endif template - explicit PROTOBUF_CONSTEXPR GetRSTConfigResponse( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : GetRSTConfigResponse(nullptr, ::std::move(from)) {} inline GetRSTConfigResponse& operator=(const GetRSTConfigResponse& from) { CopyFrom(from); return *this; @@ -3844,30 +3891,27 @@ class GetRSTConfigResponse final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(GetRSTConfigResponse* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -3875,7 +3919,7 @@ class GetRSTConfigResponse final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(GetRSTConfigResponse* other) { + void UnsafeArenaSwap(GetRSTConfigResponse* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -3883,7 +3927,7 @@ class GetRSTConfigResponse final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - GetRSTConfigResponse* New(::google::protobuf::Arena* arena = nullptr) const { + GetRSTConfigResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -3892,9 +3936,8 @@ class GetRSTConfigResponse final : public ::google::protobuf::Message void MergeFrom(const GetRSTConfigResponse& from) { GetRSTConfigResponse::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -3904,49 +3947,51 @@ class GetRSTConfigResponse final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(GetRSTConfigResponse* other); + void InternalSwap(GetRSTConfigResponse* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit GetRSTConfigResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + GetRSTConfigResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetRSTConfigResponse& from); + GetRSTConfigResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -3961,23 +4006,23 @@ class GetRSTConfigResponse final : public ::google::protobuf::Message public: void clear_rsts() ; - ::flex::RemoteStorageTarget* mutable_rsts(int index); - ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget>* mutable_rsts(); + ::flex::RemoteStorageTarget* PROTOBUF_NONNULL mutable_rsts(int index); + ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget>* PROTOBUF_NONNULL mutable_rsts(); private: const ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget>& _internal_rsts() const; - ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget>* _internal_mutable_rsts(); + ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget>* PROTOBUF_NONNULL _internal_mutable_rsts(); public: const ::flex::RemoteStorageTarget& rsts(int index) const; - ::flex::RemoteStorageTarget* add_rsts(); + ::flex::RemoteStorageTarget* PROTOBUF_NONNULL 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> + static const ::google::protobuf::internal::TcParseTable<0, 1, + 1, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -3987,13 +4032,14 @@ class GetRSTConfigResponse final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const GetRSTConfigResponse& from_msg); ::google::protobuf::RepeatedPtrField< ::flex::RemoteStorageTarget > rsts_; ::google::protobuf::internal::CachedSize _cached_size_; PROTOBUF_TSAN_DECLARE_MEMBER @@ -4001,6 +4047,8 @@ class GetRSTConfigResponse final : public ::google::protobuf::Message union { Impl_ _impl_; }; friend struct ::TableStruct_beeremote_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull GetRSTConfigResponse_class_data_; // ------------------------------------------------------------------- class JobResult final : public ::google::protobuf::Message @@ -4010,19 +4058,18 @@ class JobResult final : public ::google::protobuf::Message ~JobResult() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(JobResult* msg, std::destroying_delete_t) { + void operator delete(JobResult* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(JobResult)); } #endif template - explicit PROTOBUF_CONSTEXPR JobResult( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : JobResult(nullptr, ::std::move(from)) {} inline JobResult& operator=(const JobResult& from) { CopyFrom(from); return *this; @@ -4041,30 +4088,27 @@ class JobResult final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(JobResult* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -4072,7 +4116,7 @@ class JobResult final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(JobResult* other) { + void UnsafeArenaSwap(JobResult* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -4080,7 +4124,7 @@ class JobResult final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - JobResult* New(::google::protobuf::Arena* arena = nullptr) const { + JobResult* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -4089,9 +4133,8 @@ class JobResult final : public ::google::protobuf::Message void MergeFrom(const JobResult& from) { JobResult::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -4101,49 +4144,51 @@ class JobResult final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(JobResult* other); + void InternalSwap(JobResult* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit JobResult(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + JobResult(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const JobResult& from); + JobResult( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- using WorkResult = JobResult_WorkResult; @@ -4161,15 +4206,15 @@ class JobResult final : public ::google::protobuf::Message public: void clear_work_requests() ; - ::flex::WorkRequest* mutable_work_requests(int index); - ::google::protobuf::RepeatedPtrField<::flex::WorkRequest>* mutable_work_requests(); + ::flex::WorkRequest* PROTOBUF_NONNULL mutable_work_requests(int index); + ::google::protobuf::RepeatedPtrField<::flex::WorkRequest>* PROTOBUF_NONNULL mutable_work_requests(); private: const ::google::protobuf::RepeatedPtrField<::flex::WorkRequest>& _internal_work_requests() const; - ::google::protobuf::RepeatedPtrField<::flex::WorkRequest>* _internal_mutable_work_requests(); + ::google::protobuf::RepeatedPtrField<::flex::WorkRequest>* PROTOBUF_NONNULL _internal_mutable_work_requests(); public: const ::flex::WorkRequest& work_requests(int index) const; - ::flex::WorkRequest* add_work_requests(); + ::flex::WorkRequest* PROTOBUF_NONNULL add_work_requests(); const ::google::protobuf::RepeatedPtrField<::flex::WorkRequest>& work_requests() const; // repeated .beeremote.JobResult.WorkResult work_results = 3; int work_results_size() const; @@ -4178,38 +4223,38 @@ class JobResult final : public ::google::protobuf::Message public: void clear_work_results() ; - ::beeremote::JobResult_WorkResult* mutable_work_results(int index); - ::google::protobuf::RepeatedPtrField<::beeremote::JobResult_WorkResult>* mutable_work_results(); + ::beeremote::JobResult_WorkResult* PROTOBUF_NONNULL mutable_work_results(int index); + ::google::protobuf::RepeatedPtrField<::beeremote::JobResult_WorkResult>* PROTOBUF_NONNULL 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(); + ::google::protobuf::RepeatedPtrField<::beeremote::JobResult_WorkResult>* PROTOBUF_NONNULL _internal_mutable_work_results(); public: const ::beeremote::JobResult_WorkResult& work_results(int index) const; - ::beeremote::JobResult_WorkResult* add_work_results(); + ::beeremote::JobResult_WorkResult* PROTOBUF_NONNULL 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(); + [[nodiscard]] ::beeremote::Job* PROTOBUF_NULLABLE release_job(); + ::beeremote::Job* PROTOBUF_NONNULL mutable_job(); + void set_allocated_job(::beeremote::Job* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_job(::beeremote::Job* PROTOBUF_NULLABLE value); + ::beeremote::Job* PROTOBUF_NULLABLE unsafe_arena_release_job(); private: const ::beeremote::Job& _internal_job() const; - ::beeremote::Job* _internal_mutable_job(); + ::beeremote::Job* PROTOBUF_NONNULL _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> + static const ::google::protobuf::internal::TcParseTable<2, 3, + 3, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -4219,23 +4264,26 @@ class JobResult final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const 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_; + ::beeremote::Job* PROTOBUF_NULLABLE job_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_beeremote_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull JobResult_class_data_; // ------------------------------------------------------------------- class UpdateJobsResponse final : public ::google::protobuf::Message @@ -4245,19 +4293,18 @@ class UpdateJobsResponse final : public ::google::protobuf::Message ~UpdateJobsResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(UpdateJobsResponse* msg, std::destroying_delete_t) { + void operator delete(UpdateJobsResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(UpdateJobsResponse)); } #endif template - explicit PROTOBUF_CONSTEXPR UpdateJobsResponse( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : UpdateJobsResponse(nullptr, ::std::move(from)) {} inline UpdateJobsResponse& operator=(const UpdateJobsResponse& from) { CopyFrom(from); return *this; @@ -4276,30 +4323,27 @@ class UpdateJobsResponse final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(UpdateJobsResponse* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -4307,7 +4351,7 @@ class UpdateJobsResponse final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(UpdateJobsResponse* other) { + void UnsafeArenaSwap(UpdateJobsResponse* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -4315,7 +4359,7 @@ class UpdateJobsResponse final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - UpdateJobsResponse* New(::google::protobuf::Arena* arena = nullptr) const { + UpdateJobsResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -4324,9 +4368,8 @@ class UpdateJobsResponse final : public ::google::protobuf::Message void MergeFrom(const UpdateJobsResponse& from) { UpdateJobsResponse::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -4336,49 +4379,51 @@ class UpdateJobsResponse final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(UpdateJobsResponse* other); + void InternalSwap(UpdateJobsResponse* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit UpdateJobsResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + UpdateJobsResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const UpdateJobsResponse& from); + UpdateJobsResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -4395,30 +4440,29 @@ class UpdateJobsResponse final : public ::google::protobuf::Message public: void clear_results() ; - ::beeremote::JobResult* mutable_results(int index); - ::google::protobuf::RepeatedPtrField<::beeremote::JobResult>* mutable_results(); + ::beeremote::JobResult* PROTOBUF_NONNULL mutable_results(int index); + ::google::protobuf::RepeatedPtrField<::beeremote::JobResult>* PROTOBUF_NONNULL mutable_results(); private: const ::google::protobuf::RepeatedPtrField<::beeremote::JobResult>& _internal_results() const; - ::google::protobuf::RepeatedPtrField<::beeremote::JobResult>* _internal_mutable_results(); + ::google::protobuf::RepeatedPtrField<::beeremote::JobResult>* PROTOBUF_NONNULL _internal_mutable_results(); public: const ::beeremote::JobResult& results(int index) const; - ::beeremote::JobResult* add_results(); + ::beeremote::JobResult* PROTOBUF_NONNULL add_results(); const ::google::protobuf::RepeatedPtrField<::beeremote::JobResult>& results() const; // string message = 2; void clear_message() ; - const std::string& message() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_message(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_message(); + void set_allocated_message(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_message() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_message(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_message(); public: // bool ok = 1; @@ -4435,9 +4479,9 @@ class UpdateJobsResponse final : public ::google::protobuf::Message private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 2, 3, 1, - 44, 2> + static const ::google::protobuf::internal::TcParseTable<2, 3, + 1, 44, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -4447,22 +4491,26 @@ class UpdateJobsResponse final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const UpdateJobsResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; ::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; }; + +extern const ::google::protobuf::internal::ClassDataFull UpdateJobsResponse_class_data_; // ------------------------------------------------------------------- class SubmitJobResponse final : public ::google::protobuf::Message @@ -4472,19 +4520,18 @@ class SubmitJobResponse final : public ::google::protobuf::Message ~SubmitJobResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SubmitJobResponse* msg, std::destroying_delete_t) { + void operator delete(SubmitJobResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(SubmitJobResponse)); } #endif template - explicit PROTOBUF_CONSTEXPR SubmitJobResponse( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : SubmitJobResponse(nullptr, ::std::move(from)) {} inline SubmitJobResponse& operator=(const SubmitJobResponse& from) { CopyFrom(from); return *this; @@ -4503,30 +4550,27 @@ class SubmitJobResponse final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(SubmitJobResponse* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -4534,7 +4578,7 @@ class SubmitJobResponse final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(SubmitJobResponse* other) { + void UnsafeArenaSwap(SubmitJobResponse* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -4542,7 +4586,7 @@ class SubmitJobResponse final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - SubmitJobResponse* New(::google::protobuf::Arena* arena = nullptr) const { + SubmitJobResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -4551,9 +4595,8 @@ class SubmitJobResponse final : public ::google::protobuf::Message void MergeFrom(const SubmitJobResponse& from) { SubmitJobResponse::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -4563,49 +4606,51 @@ class SubmitJobResponse final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(SubmitJobResponse* other); + void InternalSwap(SubmitJobResponse* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit SubmitJobResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + SubmitJobResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SubmitJobResponse& from); + SubmitJobResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- using ResponseStatus = SubmitJobResponse_ResponseStatus; @@ -4622,14 +4667,15 @@ class SubmitJobResponse final : public ::google::protobuf::Message 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() { + static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL ResponseStatus_descriptor() { return SubmitJobResponse_ResponseStatus_descriptor(); } template - static inline const std::string& ResponseStatus_Name(T value) { + 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) { + static inline bool ResponseStatus_Parse( + ::absl::string_view name, ResponseStatus* PROTOBUF_NONNULL value) { return SubmitJobResponse_ResponseStatus_Parse(name, value); } @@ -4642,15 +4688,15 @@ class SubmitJobResponse final : public ::google::protobuf::Message 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(); + [[nodiscard]] ::beeremote::JobResult* PROTOBUF_NULLABLE release_result(); + ::beeremote::JobResult* PROTOBUF_NONNULL mutable_result(); + void set_allocated_result(::beeremote::JobResult* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_result(::beeremote::JobResult* PROTOBUF_NULLABLE value); + ::beeremote::JobResult* PROTOBUF_NULLABLE unsafe_arena_release_result(); private: const ::beeremote::JobResult& _internal_result() const; - ::beeremote::JobResult* _internal_mutable_result(); + ::beeremote::JobResult* PROTOBUF_NONNULL _internal_mutable_result(); public: // .beeremote.SubmitJobResponse.ResponseStatus status = 2; @@ -4667,9 +4713,9 @@ class SubmitJobResponse final : public ::google::protobuf::Message private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 1, 2, 1, - 0, 2> + static const ::google::protobuf::internal::TcParseTable<1, 2, + 1, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -4679,22 +4725,25 @@ class SubmitJobResponse final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const SubmitJobResponse& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; - ::beeremote::JobResult* result_; + ::beeremote::JobResult* PROTOBUF_NULLABLE result_; int status_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_beeremote_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull SubmitJobResponse_class_data_; // ------------------------------------------------------------------- class GetJobsResponse final : public ::google::protobuf::Message @@ -4704,19 +4753,18 @@ class GetJobsResponse final : public ::google::protobuf::Message ~GetJobsResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetJobsResponse* msg, std::destroying_delete_t) { + void operator delete(GetJobsResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(GetJobsResponse)); } #endif template - explicit PROTOBUF_CONSTEXPR GetJobsResponse( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : GetJobsResponse(nullptr, ::std::move(from)) {} inline GetJobsResponse& operator=(const GetJobsResponse& from) { CopyFrom(from); return *this; @@ -4735,30 +4783,27 @@ class GetJobsResponse final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(GetJobsResponse* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -4766,7 +4811,7 @@ class GetJobsResponse final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(GetJobsResponse* other) { + void UnsafeArenaSwap(GetJobsResponse* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -4774,7 +4819,7 @@ class GetJobsResponse final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - GetJobsResponse* New(::google::protobuf::Arena* arena = nullptr) const { + GetJobsResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -4783,9 +4828,8 @@ class GetJobsResponse final : public ::google::protobuf::Message void MergeFrom(const GetJobsResponse& from) { GetJobsResponse::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -4795,49 +4839,51 @@ class GetJobsResponse final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(GetJobsResponse* other); + void InternalSwap(GetJobsResponse* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit GetJobsResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + GetJobsResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetJobsResponse& from); + GetJobsResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -4853,39 +4899,38 @@ class GetJobsResponse final : public ::google::protobuf::Message public: void clear_results() ; - ::beeremote::JobResult* mutable_results(int index); - ::google::protobuf::RepeatedPtrField<::beeremote::JobResult>* mutable_results(); + ::beeremote::JobResult* PROTOBUF_NONNULL mutable_results(int index); + ::google::protobuf::RepeatedPtrField<::beeremote::JobResult>* PROTOBUF_NONNULL mutable_results(); private: const ::google::protobuf::RepeatedPtrField<::beeremote::JobResult>& _internal_results() const; - ::google::protobuf::RepeatedPtrField<::beeremote::JobResult>* _internal_mutable_results(); + ::google::protobuf::RepeatedPtrField<::beeremote::JobResult>* PROTOBUF_NONNULL _internal_mutable_results(); public: const ::beeremote::JobResult& results(int index) const; - ::beeremote::JobResult* add_results(); + ::beeremote::JobResult* PROTOBUF_NONNULL add_results(); const ::google::protobuf::RepeatedPtrField<::beeremote::JobResult>& results() const; // string path = 1; void clear_path() ; - const std::string& path() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_path(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_path(); + void set_allocated_path(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_path() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_path(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _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> + static const ::google::protobuf::internal::TcParseTable<1, 2, + 1, 38, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -4895,21 +4940,25 @@ class GetJobsResponse final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const GetJobsResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; ::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; }; + +extern const ::google::protobuf::internal::ClassDataFull GetJobsResponse_class_data_; // ------------------------------------------------------------------- class UpdatePathsResponse final : public ::google::protobuf::Message @@ -4919,19 +4968,18 @@ class UpdatePathsResponse final : public ::google::protobuf::Message ~UpdatePathsResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(UpdatePathsResponse* msg, std::destroying_delete_t) { + void operator delete(UpdatePathsResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(UpdatePathsResponse)); } #endif template - explicit PROTOBUF_CONSTEXPR UpdatePathsResponse( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : UpdatePathsResponse(nullptr, ::std::move(from)) {} inline UpdatePathsResponse& operator=(const UpdatePathsResponse& from) { CopyFrom(from); return *this; @@ -4950,30 +4998,27 @@ class UpdatePathsResponse final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(UpdatePathsResponse* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -4981,7 +5026,7 @@ class UpdatePathsResponse final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(UpdatePathsResponse* other) { + void UnsafeArenaSwap(UpdatePathsResponse* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -4989,7 +5034,7 @@ class UpdatePathsResponse final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - UpdatePathsResponse* New(::google::protobuf::Arena* arena = nullptr) const { + UpdatePathsResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -4998,9 +5043,8 @@ class UpdatePathsResponse final : public ::google::protobuf::Message void MergeFrom(const UpdatePathsResponse& from) { UpdatePathsResponse::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -5010,49 +5054,51 @@ class UpdatePathsResponse final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(UpdatePathsResponse* other); + void InternalSwap(UpdatePathsResponse* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit UpdatePathsResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + UpdatePathsResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const UpdatePathsResponse& from); + UpdatePathsResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -5063,42 +5109,41 @@ class UpdatePathsResponse final : public ::google::protobuf::Message }; // string path = 1; void clear_path() ; - const std::string& path() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_path(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_path(); + void set_allocated_path(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_path() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_path(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _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(); + [[nodiscard]] ::beeremote::UpdateJobsResponse* PROTOBUF_NULLABLE release_update_result(); + ::beeremote::UpdateJobsResponse* PROTOBUF_NONNULL mutable_update_result(); + void set_allocated_update_result(::beeremote::UpdateJobsResponse* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_update_result(::beeremote::UpdateJobsResponse* PROTOBUF_NULLABLE value); + ::beeremote::UpdateJobsResponse* PROTOBUF_NULLABLE unsafe_arena_release_update_result(); private: const ::beeremote::UpdateJobsResponse& _internal_update_result() const; - ::beeremote::UpdateJobsResponse* _internal_mutable_update_result(); + ::beeremote::UpdateJobsResponse* PROTOBUF_NONNULL _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> + static const ::google::protobuf::internal::TcParseTable<1, 2, + 1, 42, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -5108,23 +5153,26 @@ class UpdatePathsResponse final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const 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_; + ::beeremote::UpdateJobsResponse* PROTOBUF_NULLABLE update_result_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_beeremote_2eproto; }; +extern const ::google::protobuf::internal::ClassDataFull UpdatePathsResponse_class_data_; + // =================================================================== @@ -5161,7 +5209,8 @@ inline const ::beeremote::JobRequest& SubmitJobRequest::request() const ABSL_ATT // @@protoc_insertion_point(field_get:beeremote.SubmitJobRequest.request) return _internal_request(); } -inline void SubmitJobRequest::unsafe_arena_set_allocated_request(::beeremote::JobRequest* value) { +inline void SubmitJobRequest::unsafe_arena_set_allocated_request( + ::beeremote::JobRequest* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.request_); @@ -5174,7 +5223,7 @@ inline void SubmitJobRequest::unsafe_arena_set_allocated_request(::beeremote::Jo } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:beeremote.SubmitJobRequest.request) } -inline ::beeremote::JobRequest* SubmitJobRequest::release_request() { +inline ::beeremote::JobRequest* PROTOBUF_NULLABLE SubmitJobRequest::release_request() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000001u; @@ -5193,7 +5242,7 @@ inline ::beeremote::JobRequest* SubmitJobRequest::release_request() { } return released; } -inline ::beeremote::JobRequest* SubmitJobRequest::unsafe_arena_release_request() { +inline ::beeremote::JobRequest* PROTOBUF_NULLABLE SubmitJobRequest::unsafe_arena_release_request() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:beeremote.SubmitJobRequest.request) @@ -5202,7 +5251,7 @@ inline ::beeremote::JobRequest* SubmitJobRequest::unsafe_arena_release_request() _impl_.request_ = nullptr; return temp; } -inline ::beeremote::JobRequest* SubmitJobRequest::_internal_mutable_request() { +inline ::beeremote::JobRequest* PROTOBUF_NONNULL SubmitJobRequest::_internal_mutable_request() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.request_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::beeremote::JobRequest>(GetArena()); @@ -5210,21 +5259,22 @@ inline ::beeremote::JobRequest* SubmitJobRequest::_internal_mutable_request() { } return _impl_.request_; } -inline ::beeremote::JobRequest* SubmitJobRequest::mutable_request() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::beeremote::JobRequest* PROTOBUF_NONNULL 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) { +inline void SubmitJobRequest::set_allocated_request(::beeremote::JobRequest* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { - delete (_impl_.request_); + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.request_); } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = value->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } @@ -5261,7 +5311,8 @@ inline const ::beeremote::JobResult& SubmitJobResponse::result() const ABSL_ATTR // @@protoc_insertion_point(field_get:beeremote.SubmitJobResponse.result) return _internal_result(); } -inline void SubmitJobResponse::unsafe_arena_set_allocated_result(::beeremote::JobResult* value) { +inline void SubmitJobResponse::unsafe_arena_set_allocated_result( + ::beeremote::JobResult* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.result_); @@ -5274,7 +5325,7 @@ inline void SubmitJobResponse::unsafe_arena_set_allocated_result(::beeremote::Jo } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:beeremote.SubmitJobResponse.result) } -inline ::beeremote::JobResult* SubmitJobResponse::release_result() { +inline ::beeremote::JobResult* PROTOBUF_NULLABLE SubmitJobResponse::release_result() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000001u; @@ -5293,7 +5344,7 @@ inline ::beeremote::JobResult* SubmitJobResponse::release_result() { } return released; } -inline ::beeremote::JobResult* SubmitJobResponse::unsafe_arena_release_result() { +inline ::beeremote::JobResult* PROTOBUF_NULLABLE SubmitJobResponse::unsafe_arena_release_result() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:beeremote.SubmitJobResponse.result) @@ -5302,7 +5353,7 @@ inline ::beeremote::JobResult* SubmitJobResponse::unsafe_arena_release_result() _impl_.result_ = nullptr; return temp; } -inline ::beeremote::JobResult* SubmitJobResponse::_internal_mutable_result() { +inline ::beeremote::JobResult* PROTOBUF_NONNULL SubmitJobResponse::_internal_mutable_result() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.result_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::beeremote::JobResult>(GetArena()); @@ -5310,21 +5361,22 @@ inline ::beeremote::JobResult* SubmitJobResponse::_internal_mutable_result() { } return _impl_.result_; } -inline ::beeremote::JobResult* SubmitJobResponse::mutable_result() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::beeremote::JobResult* PROTOBUF_NONNULL 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) { +inline void SubmitJobResponse::set_allocated_result(::beeremote::JobResult* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { - delete (_impl_.result_); + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.result_); } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = value->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } @@ -5341,6 +5393,7 @@ inline void SubmitJobResponse::set_allocated_result(::beeremote::JobResult* valu inline void SubmitJobResponse::clear_status() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.status_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; } inline ::beeremote::SubmitJobResponse_ResponseStatus SubmitJobResponse::status() const { // @@protoc_insertion_point(field_get:beeremote.SubmitJobResponse.status) @@ -5348,6 +5401,7 @@ inline ::beeremote::SubmitJobResponse_ResponseStatus SubmitJobResponse::status() } inline void SubmitJobResponse::set_status(::beeremote::SubmitJobResponse_ResponseStatus value) { _internal_set_status(value); + _impl_._has_bits_[0] |= 0x00000002u; // @@protoc_insertion_point(field_set:beeremote.SubmitJobResponse.status) } inline ::beeremote::SubmitJobResponse_ResponseStatus SubmitJobResponse::_internal_status() const { @@ -5367,6 +5421,7 @@ inline void SubmitJobResponse::_internal_set_status(::beeremote::SubmitJobRespon inline void JobRequest_GenerationStatus::clear_state() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.state_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; } inline ::beeremote::JobRequest_GenerationStatus_State JobRequest_GenerationStatus::state() const { // @@protoc_insertion_point(field_get:beeremote.JobRequest.GenerationStatus.state) @@ -5374,6 +5429,7 @@ inline ::beeremote::JobRequest_GenerationStatus_State JobRequest_GenerationStatu } inline void JobRequest_GenerationStatus::set_state(::beeremote::JobRequest_GenerationStatus_State value) { _internal_set_state(value); + _impl_._has_bits_[0] |= 0x00000002u; // @@protoc_insertion_point(field_set:beeremote.JobRequest.GenerationStatus.state) } inline ::beeremote::JobRequest_GenerationStatus_State JobRequest_GenerationStatus::_internal_state() const { @@ -5389,43 +5445,60 @@ inline void JobRequest_GenerationStatus::_internal_set_state(::beeremote::JobReq inline void JobRequest_GenerationStatus::clear_message() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.message_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; } -inline const std::string& JobRequest_GenerationStatus::message() const +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) { +PROTOBUF_ALWAYS_INLINE void JobRequest_GenerationStatus::set_message(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void JobRequest_GenerationStatus::_internal_set_message(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _impl_.message_.Set(value, GetArena()); } -inline std::string* JobRequest_GenerationStatus::_internal_mutable_message() { +inline ::std::string* PROTOBUF_NONNULL JobRequest_GenerationStatus::_internal_mutable_message() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; return _impl_.message_.Mutable( GetArena()); } -inline std::string* JobRequest_GenerationStatus::release_message() { +inline ::std::string* PROTOBUF_NULLABLE JobRequest_GenerationStatus::release_message() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:beeremote.JobRequest.GenerationStatus.message) - return _impl_.message_.Release(); + if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* released = _impl_.message_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.message_.Set("", GetArena()); + } + return released; } -inline void JobRequest_GenerationStatus::set_allocated_message(std::string* value) { +inline void JobRequest_GenerationStatus::set_allocated_message(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } _impl_.message_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.message_.IsDefault()) { _impl_.message_.Set("", GetArena()); @@ -5441,43 +5514,60 @@ inline void JobRequest_GenerationStatus::set_allocated_message(std::string* valu inline void JobRequest::clear_path() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.path_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; } -inline const std::string& JobRequest::path() const +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) { +PROTOBUF_ALWAYS_INLINE void JobRequest::set_path(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void JobRequest::_internal_set_path(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _impl_.path_.Set(value, GetArena()); } -inline std::string* JobRequest::_internal_mutable_path() { +inline ::std::string* PROTOBUF_NONNULL JobRequest::_internal_mutable_path() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; return _impl_.path_.Mutable( GetArena()); } -inline std::string* JobRequest::release_path() { +inline ::std::string* PROTOBUF_NULLABLE JobRequest::release_path() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:beeremote.JobRequest.path) - return _impl_.path_.Release(); + if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* released = _impl_.path_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.path_.Set("", GetArena()); + } + return released; } -inline void JobRequest::set_allocated_path(std::string* value) { +inline void JobRequest::set_allocated_path(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } _impl_.path_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.path_.IsDefault()) { _impl_.path_.Set("", GetArena()); @@ -5489,43 +5579,60 @@ inline void JobRequest::set_allocated_path(std::string* value) { inline void JobRequest::clear_name() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; } -inline const std::string& JobRequest::name() const +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) { +PROTOBUF_ALWAYS_INLINE void JobRequest::set_name(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void JobRequest::_internal_set_name(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; _impl_.name_.Set(value, GetArena()); } -inline std::string* JobRequest::_internal_mutable_name() { +inline ::std::string* PROTOBUF_NONNULL JobRequest::_internal_mutable_name() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; return _impl_.name_.Mutable( GetArena()); } -inline std::string* JobRequest::release_name() { +inline ::std::string* PROTOBUF_NULLABLE JobRequest::release_name() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:beeremote.JobRequest.name) - return _impl_.name_.Release(); + if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* released = _impl_.name_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.name_.Set("", GetArena()); + } + return released; } -inline void JobRequest::set_allocated_name(std::string* value) { +inline void JobRequest::set_allocated_name(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } _impl_.name_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) { _impl_.name_.Set("", GetArena()); @@ -5537,6 +5644,7 @@ inline void JobRequest::set_allocated_name(std::string* value) { inline void JobRequest::clear_priority() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.priority_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; } inline ::int32_t JobRequest::priority() const { // @@protoc_insertion_point(field_get:beeremote.JobRequest.priority) @@ -5544,6 +5652,7 @@ inline ::int32_t JobRequest::priority() const { } inline void JobRequest::set_priority(::int32_t value) { _internal_set_priority(value); + _impl_._has_bits_[0] |= 0x00000008u; // @@protoc_insertion_point(field_set:beeremote.JobRequest.priority) } inline ::int32_t JobRequest::_internal_priority() const { @@ -5559,6 +5668,7 @@ inline void JobRequest::_internal_set_priority(::int32_t value) { inline void JobRequest::clear_remote_storage_target() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.remote_storage_target_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; } inline ::uint32_t JobRequest::remote_storage_target() const { // @@protoc_insertion_point(field_get:beeremote.JobRequest.remote_storage_target) @@ -5566,6 +5676,7 @@ inline ::uint32_t JobRequest::remote_storage_target() const { } inline void JobRequest::set_remote_storage_target(::uint32_t value) { _internal_set_remote_storage_target(value); + _impl_._has_bits_[0] |= 0x00000010u; // @@protoc_insertion_point(field_set:beeremote.JobRequest.remote_storage_target) } inline ::uint32_t JobRequest::_internal_remote_storage_target() const { @@ -5587,11 +5698,11 @@ inline bool JobRequest::_internal_has_sync() const { inline void JobRequest::set_has_sync() { _impl_._oneof_case_[0] = kSync; } -inline ::flex::SyncJob* JobRequest::release_sync() { +inline ::flex::SyncJob* PROTOBUF_NULLABLE JobRequest::release_sync() { // @@protoc_insertion_point(field_release:beeremote.JobRequest.sync) if (type_case() == kSync) { clear_has_type(); - auto* temp = _impl_.type_.sync_; + auto* temp = reinterpret_cast<::flex::SyncJob*>(_impl_.type_.sync_); if (GetArena() != nullptr) { temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); } @@ -5602,44 +5713,46 @@ inline ::flex::SyncJob* JobRequest::release_sync() { } } inline const ::flex::SyncJob& JobRequest::_internal_sync() const { - return type_case() == kSync ? *_impl_.type_.sync_ : reinterpret_cast<::flex::SyncJob&>(::flex::_SyncJob_default_instance_); + return type_case() == kSync ? *reinterpret_cast<::flex::SyncJob*>(_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() { +inline ::flex::SyncJob* PROTOBUF_NULLABLE 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_; + auto* temp = reinterpret_cast<::flex::SyncJob*>(_impl_.type_.sync_); _impl_.type_.sync_ = nullptr; return temp; } else { return nullptr; } } -inline void JobRequest::unsafe_arena_set_allocated_sync(::flex::SyncJob* value) { +inline void JobRequest::unsafe_arena_set_allocated_sync( + ::flex::SyncJob* PROTOBUF_NULLABLE 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; + _impl_.type_.sync_ = reinterpret_cast<::google::protobuf::Message*>(value); } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:beeremote.JobRequest.sync) } -inline ::flex::SyncJob* JobRequest::_internal_mutable_sync() { +inline ::flex::SyncJob* PROTOBUF_NONNULL JobRequest::_internal_mutable_sync() { if (type_case() != kSync) { clear_type(); set_has_sync(); - _impl_.type_.sync_ = - ::google::protobuf::Message::DefaultConstruct<::flex::SyncJob>(GetArena()); + _impl_.type_.sync_ = reinterpret_cast<::google::protobuf::Message*>( + ::google::protobuf::Message::DefaultConstruct<::flex::SyncJob>(GetArena())); } - return _impl_.type_.sync_; + return reinterpret_cast<::flex::SyncJob*>(_impl_.type_.sync_); } -inline ::flex::SyncJob* JobRequest::mutable_sync() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::flex::SyncJob* PROTOBUF_NONNULL JobRequest::mutable_sync() + ABSL_ATTRIBUTE_LIFETIME_BOUND { ::flex::SyncJob* _msg = _internal_mutable_sync(); // @@protoc_insertion_point(field_mutable:beeremote.JobRequest.sync) return _msg; @@ -5655,11 +5768,11 @@ inline bool JobRequest::_internal_has_mock() const { inline void JobRequest::set_has_mock() { _impl_._oneof_case_[0] = kMock; } -inline ::flex::MockJob* JobRequest::release_mock() { +inline ::flex::MockJob* PROTOBUF_NULLABLE JobRequest::release_mock() { // @@protoc_insertion_point(field_release:beeremote.JobRequest.mock) if (type_case() == kMock) { clear_has_type(); - auto* temp = _impl_.type_.mock_; + auto* temp = reinterpret_cast<::flex::MockJob*>(_impl_.type_.mock_); if (GetArena() != nullptr) { temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); } @@ -5670,44 +5783,46 @@ inline ::flex::MockJob* JobRequest::release_mock() { } } inline const ::flex::MockJob& JobRequest::_internal_mock() const { - return type_case() == kMock ? *_impl_.type_.mock_ : reinterpret_cast<::flex::MockJob&>(::flex::_MockJob_default_instance_); + return type_case() == kMock ? *reinterpret_cast<::flex::MockJob*>(_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() { +inline ::flex::MockJob* PROTOBUF_NULLABLE 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_; + auto* temp = reinterpret_cast<::flex::MockJob*>(_impl_.type_.mock_); _impl_.type_.mock_ = nullptr; return temp; } else { return nullptr; } } -inline void JobRequest::unsafe_arena_set_allocated_mock(::flex::MockJob* value) { +inline void JobRequest::unsafe_arena_set_allocated_mock( + ::flex::MockJob* PROTOBUF_NULLABLE 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; + _impl_.type_.mock_ = reinterpret_cast<::google::protobuf::Message*>(value); } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:beeremote.JobRequest.mock) } -inline ::flex::MockJob* JobRequest::_internal_mutable_mock() { +inline ::flex::MockJob* PROTOBUF_NONNULL JobRequest::_internal_mutable_mock() { if (type_case() != kMock) { clear_type(); set_has_mock(); - _impl_.type_.mock_ = - ::google::protobuf::Message::DefaultConstruct<::flex::MockJob>(GetArena()); + _impl_.type_.mock_ = reinterpret_cast<::google::protobuf::Message*>( + ::google::protobuf::Message::DefaultConstruct<::flex::MockJob>(GetArena())); } - return _impl_.type_.mock_; + return reinterpret_cast<::flex::MockJob*>(_impl_.type_.mock_); } -inline ::flex::MockJob* JobRequest::mutable_mock() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::flex::MockJob* PROTOBUF_NONNULL JobRequest::mutable_mock() + ABSL_ATTRIBUTE_LIFETIME_BOUND { ::flex::MockJob* _msg = _internal_mutable_mock(); // @@protoc_insertion_point(field_mutable:beeremote.JobRequest.mock) return _msg; @@ -5723,11 +5838,11 @@ inline bool JobRequest::_internal_has_builder() const { inline void JobRequest::set_has_builder() { _impl_._oneof_case_[0] = kBuilder; } -inline ::flex::BuilderJob* JobRequest::release_builder() { +inline ::flex::BuilderJob* PROTOBUF_NULLABLE JobRequest::release_builder() { // @@protoc_insertion_point(field_release:beeremote.JobRequest.builder) if (type_case() == kBuilder) { clear_has_type(); - auto* temp = _impl_.type_.builder_; + auto* temp = reinterpret_cast<::flex::BuilderJob*>(_impl_.type_.builder_); if (GetArena() != nullptr) { temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); } @@ -5738,44 +5853,46 @@ inline ::flex::BuilderJob* JobRequest::release_builder() { } } inline const ::flex::BuilderJob& JobRequest::_internal_builder() const { - return type_case() == kBuilder ? *_impl_.type_.builder_ : reinterpret_cast<::flex::BuilderJob&>(::flex::_BuilderJob_default_instance_); + return type_case() == kBuilder ? *reinterpret_cast<::flex::BuilderJob*>(_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() { +inline ::flex::BuilderJob* PROTOBUF_NULLABLE 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_; + auto* temp = reinterpret_cast<::flex::BuilderJob*>(_impl_.type_.builder_); _impl_.type_.builder_ = nullptr; return temp; } else { return nullptr; } } -inline void JobRequest::unsafe_arena_set_allocated_builder(::flex::BuilderJob* value) { +inline void JobRequest::unsafe_arena_set_allocated_builder( + ::flex::BuilderJob* PROTOBUF_NULLABLE 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; + _impl_.type_.builder_ = reinterpret_cast<::google::protobuf::Message*>(value); } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:beeremote.JobRequest.builder) } -inline ::flex::BuilderJob* JobRequest::_internal_mutable_builder() { +inline ::flex::BuilderJob* PROTOBUF_NONNULL JobRequest::_internal_mutable_builder() { if (type_case() != kBuilder) { clear_type(); set_has_builder(); - _impl_.type_.builder_ = - ::google::protobuf::Message::DefaultConstruct<::flex::BuilderJob>(GetArena()); + _impl_.type_.builder_ = reinterpret_cast<::google::protobuf::Message*>( + ::google::protobuf::Message::DefaultConstruct<::flex::BuilderJob>(GetArena())); } - return _impl_.type_.builder_; + return reinterpret_cast<::flex::BuilderJob*>(_impl_.type_.builder_); } -inline ::flex::BuilderJob* JobRequest::mutable_builder() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::flex::BuilderJob* PROTOBUF_NONNULL JobRequest::mutable_builder() + ABSL_ATTRIBUTE_LIFETIME_BOUND { ::flex::BuilderJob* _msg = _internal_mutable_builder(); // @@protoc_insertion_point(field_mutable:beeremote.JobRequest.builder) return _msg; @@ -5785,6 +5902,7 @@ inline ::flex::BuilderJob* JobRequest::mutable_builder() ABSL_ATTRIBUTE_LIFETIME inline void JobRequest::clear_force() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.force_ = false; + _impl_._has_bits_[0] &= ~0x00000020u; } inline bool JobRequest::force() const { // @@protoc_insertion_point(field_get:beeremote.JobRequest.force) @@ -5792,6 +5910,7 @@ inline bool JobRequest::force() const { } inline void JobRequest::set_force(bool value) { _internal_set_force(value); + _impl_._has_bits_[0] |= 0x00000020u; // @@protoc_insertion_point(field_set:beeremote.JobRequest.force) } inline bool JobRequest::_internal_force() const { @@ -5807,6 +5926,7 @@ inline void JobRequest::_internal_set_force(bool value) { inline void JobRequest::clear_stub_local() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.stub_local_ = false; + _impl_._has_bits_[0] &= ~0x00000040u; } inline bool JobRequest::stub_local() const { // @@protoc_insertion_point(field_get:beeremote.JobRequest.stub_local) @@ -5814,6 +5934,7 @@ inline bool JobRequest::stub_local() const { } inline void JobRequest::set_stub_local(bool value) { _internal_set_stub_local(value); + _impl_._has_bits_[0] |= 0x00000040u; // @@protoc_insertion_point(field_set:beeremote.JobRequest.stub_local) } inline bool JobRequest::_internal_stub_local() const { @@ -5827,14 +5948,14 @@ inline void JobRequest::_internal_set_stub_local(bool value) { // .beeremote.JobRequest.GenerationStatus generation_status = 8; inline bool JobRequest::has_generation_status() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 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; + _impl_._has_bits_[0] &= ~0x00000004u; } inline const ::beeremote::JobRequest_GenerationStatus& JobRequest::_internal_generation_status() const { ::google::protobuf::internal::TSanRead(&_impl_); @@ -5845,23 +5966,24 @@ inline const ::beeremote::JobRequest_GenerationStatus& JobRequest::generation_st // @@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) { +inline void JobRequest::unsafe_arena_set_allocated_generation_status( + ::beeremote::JobRequest_GenerationStatus* PROTOBUF_NULLABLE 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; + _impl_._has_bits_[0] |= 0x00000004u; } else { - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000004u; } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:beeremote.JobRequest.generation_status) } -inline ::beeremote::JobRequest_GenerationStatus* JobRequest::release_generation_status() { +inline ::beeremote::JobRequest_GenerationStatus* PROTOBUF_NULLABLE JobRequest::release_generation_status() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000004u; ::beeremote::JobRequest_GenerationStatus* released = _impl_.generation_status_; _impl_.generation_status_ = nullptr; if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { @@ -5877,16 +5999,16 @@ inline ::beeremote::JobRequest_GenerationStatus* JobRequest::release_generation_ } return released; } -inline ::beeremote::JobRequest_GenerationStatus* JobRequest::unsafe_arena_release_generation_status() { +inline ::beeremote::JobRequest_GenerationStatus* PROTOBUF_NULLABLE 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; + _impl_._has_bits_[0] &= ~0x00000004u; ::beeremote::JobRequest_GenerationStatus* temp = _impl_.generation_status_; _impl_.generation_status_ = nullptr; return temp; } -inline ::beeremote::JobRequest_GenerationStatus* JobRequest::_internal_mutable_generation_status() { +inline ::beeremote::JobRequest_GenerationStatus* PROTOBUF_NONNULL 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()); @@ -5894,27 +6016,28 @@ inline ::beeremote::JobRequest_GenerationStatus* JobRequest::_internal_mutable_g } return _impl_.generation_status_; } -inline ::beeremote::JobRequest_GenerationStatus* JobRequest::mutable_generation_status() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; +inline ::beeremote::JobRequest_GenerationStatus* PROTOBUF_NONNULL JobRequest::mutable_generation_status() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000004u; ::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) { +inline void JobRequest::set_allocated_generation_status(::beeremote::JobRequest_GenerationStatus* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { - delete (_impl_.generation_status_); + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.generation_status_); } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + ::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; + _impl_._has_bits_[0] |= 0x00000004u; } else { - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000004u; } _impl_.generation_status_ = reinterpret_cast<::beeremote::JobRequest_GenerationStatus*>(value); @@ -5923,13 +6046,13 @@ inline void JobRequest::set_allocated_generation_status(::beeremote::JobRequest_ // optional bool update = 9; inline bool JobRequest::has_update() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; return value; } inline void JobRequest::clear_update() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.update_ = false; - _impl_._has_bits_[0] &= ~0x00000002u; + _impl_._has_bits_[0] &= ~0x00000080u; } inline bool JobRequest::update() const { // @@protoc_insertion_point(field_get:beeremote.JobRequest.update) @@ -5937,7 +6060,7 @@ inline bool JobRequest::update() const { } inline void JobRequest::set_update(bool value) { _internal_set_update(value); - _impl_._has_bits_[0] |= 0x00000002u; + _impl_._has_bits_[0] |= 0x00000080u; // @@protoc_insertion_point(field_set:beeremote.JobRequest.update) } inline bool JobRequest::_internal_update() const { @@ -5966,6 +6089,7 @@ inline JobRequest::TypeCase JobRequest::type_case() const { inline void Job_Status::clear_state() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.state_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; } inline ::beeremote::Job_State Job_Status::state() const { // @@protoc_insertion_point(field_get:beeremote.Job.Status.state) @@ -5973,6 +6097,7 @@ inline ::beeremote::Job_State Job_Status::state() const { } inline void Job_Status::set_state(::beeremote::Job_State value) { _internal_set_state(value); + _impl_._has_bits_[0] |= 0x00000004u; // @@protoc_insertion_point(field_set:beeremote.Job.Status.state) } inline ::beeremote::Job_State Job_Status::_internal_state() const { @@ -5988,43 +6113,60 @@ inline void Job_Status::_internal_set_state(::beeremote::Job_State value) { inline void Job_Status::clear_message() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.message_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; } -inline const std::string& Job_Status::message() const +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) { +PROTOBUF_ALWAYS_INLINE void Job_Status::set_message(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void Job_Status::_internal_set_message(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _impl_.message_.Set(value, GetArena()); } -inline std::string* Job_Status::_internal_mutable_message() { +inline ::std::string* PROTOBUF_NONNULL Job_Status::_internal_mutable_message() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; return _impl_.message_.Mutable( GetArena()); } -inline std::string* Job_Status::release_message() { +inline ::std::string* PROTOBUF_NULLABLE Job_Status::release_message() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:beeremote.Job.Status.message) - return _impl_.message_.Release(); + if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* released = _impl_.message_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.message_.Set("", GetArena()); + } + return released; } -inline void Job_Status::set_allocated_message(std::string* value) { +inline void Job_Status::set_allocated_message(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } _impl_.message_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.message_.IsDefault()) { _impl_.message_.Set("", GetArena()); @@ -6034,7 +6176,7 @@ inline void Job_Status::set_allocated_message(std::string* value) { // .google.protobuf.Timestamp updated = 3; inline bool Job_Status::has_updated() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; PROTOBUF_ASSUME(!value || _impl_.updated_ != nullptr); return value; } @@ -6047,23 +6189,24 @@ inline const ::google::protobuf::Timestamp& Job_Status::updated() const ABSL_ATT // @@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) { +inline void Job_Status::unsafe_arena_set_allocated_updated( + ::google::protobuf::Timestamp* PROTOBUF_NULLABLE 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; + _impl_._has_bits_[0] |= 0x00000002u; } else { - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000002u; } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:beeremote.Job.Status.updated) } -inline ::google::protobuf::Timestamp* Job_Status::release_updated() { +inline ::google::protobuf::Timestamp* PROTOBUF_NULLABLE Job_Status::release_updated() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000002u; ::google::protobuf::Timestamp* released = _impl_.updated_; _impl_.updated_ = nullptr; if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { @@ -6079,16 +6222,16 @@ inline ::google::protobuf::Timestamp* Job_Status::release_updated() { } return released; } -inline ::google::protobuf::Timestamp* Job_Status::unsafe_arena_release_updated() { +inline ::google::protobuf::Timestamp* PROTOBUF_NULLABLE 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; + _impl_._has_bits_[0] &= ~0x00000002u; ::google::protobuf::Timestamp* temp = _impl_.updated_; _impl_.updated_ = nullptr; return temp; } -inline ::google::protobuf::Timestamp* Job_Status::_internal_mutable_updated() { +inline ::google::protobuf::Timestamp* PROTOBUF_NONNULL Job_Status::_internal_mutable_updated() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.updated_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Timestamp>(GetArena()); @@ -6096,13 +6239,14 @@ inline ::google::protobuf::Timestamp* Job_Status::_internal_mutable_updated() { } return _impl_.updated_; } -inline ::google::protobuf::Timestamp* Job_Status::mutable_updated() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; +inline ::google::protobuf::Timestamp* PROTOBUF_NONNULL Job_Status::mutable_updated() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; ::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) { +inline void Job_Status::set_allocated_updated(::google::protobuf::Timestamp* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { @@ -6110,13 +6254,13 @@ inline void Job_Status::set_allocated_updated(::google::protobuf::Timestamp* val } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - _impl_._has_bits_[0] |= 0x00000001u; + _impl_._has_bits_[0] |= 0x00000002u; } else { - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000002u; } _impl_.updated_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); @@ -6131,43 +6275,60 @@ inline void Job_Status::set_allocated_updated(::google::protobuf::Timestamp* val inline void Job::clear_id() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.id_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; } -inline const std::string& Job::id() const +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) { +PROTOBUF_ALWAYS_INLINE void Job::set_id(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void Job::_internal_set_id(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _impl_.id_.Set(value, GetArena()); } -inline std::string* Job::_internal_mutable_id() { +inline ::std::string* PROTOBUF_NONNULL Job::_internal_mutable_id() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; return _impl_.id_.Mutable( GetArena()); } -inline std::string* Job::release_id() { +inline ::std::string* PROTOBUF_NULLABLE Job::release_id() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:beeremote.Job.id) - return _impl_.id_.Release(); + if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* released = _impl_.id_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.id_.Set("", GetArena()); + } + return released; } -inline void Job::set_allocated_id(std::string* value) { +inline void Job::set_allocated_id(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } _impl_.id_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.id_.IsDefault()) { _impl_.id_.Set("", GetArena()); @@ -6177,14 +6338,14 @@ inline void Job::set_allocated_id(std::string* value) { // .beeremote.JobRequest request = 2; inline bool Job::has_request() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 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; + _impl_._has_bits_[0] &= ~0x00000004u; } inline const ::beeremote::JobRequest& Job::_internal_request() const { ::google::protobuf::internal::TSanRead(&_impl_); @@ -6195,23 +6356,24 @@ inline const ::beeremote::JobRequest& Job::request() const ABSL_ATTRIBUTE_LIFETI // @@protoc_insertion_point(field_get:beeremote.Job.request) return _internal_request(); } -inline void Job::unsafe_arena_set_allocated_request(::beeremote::JobRequest* value) { +inline void Job::unsafe_arena_set_allocated_request( + ::beeremote::JobRequest* PROTOBUF_NULLABLE 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; + _impl_._has_bits_[0] |= 0x00000004u; } else { - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000004u; } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:beeremote.Job.request) } -inline ::beeremote::JobRequest* Job::release_request() { +inline ::beeremote::JobRequest* PROTOBUF_NULLABLE Job::release_request() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000004u; ::beeremote::JobRequest* released = _impl_.request_; _impl_.request_ = nullptr; if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { @@ -6227,16 +6389,16 @@ inline ::beeremote::JobRequest* Job::release_request() { } return released; } -inline ::beeremote::JobRequest* Job::unsafe_arena_release_request() { +inline ::beeremote::JobRequest* PROTOBUF_NULLABLE Job::unsafe_arena_release_request() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:beeremote.Job.request) - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000004u; ::beeremote::JobRequest* temp = _impl_.request_; _impl_.request_ = nullptr; return temp; } -inline ::beeremote::JobRequest* Job::_internal_mutable_request() { +inline ::beeremote::JobRequest* PROTOBUF_NONNULL Job::_internal_mutable_request() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.request_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::beeremote::JobRequest>(GetArena()); @@ -6244,27 +6406,28 @@ inline ::beeremote::JobRequest* Job::_internal_mutable_request() { } return _impl_.request_; } -inline ::beeremote::JobRequest* Job::mutable_request() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; +inline ::beeremote::JobRequest* PROTOBUF_NONNULL Job::mutable_request() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000004u; ::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) { +inline void Job::set_allocated_request(::beeremote::JobRequest* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { - delete (_impl_.request_); + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.request_); } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + ::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; + _impl_._has_bits_[0] |= 0x00000004u; } else { - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000004u; } _impl_.request_ = reinterpret_cast<::beeremote::JobRequest*>(value); @@ -6273,7 +6436,7 @@ inline void Job::set_allocated_request(::beeremote::JobRequest* value) { // .google.protobuf.Timestamp created = 3; inline bool Job::has_created() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; PROTOBUF_ASSUME(!value || _impl_.created_ != nullptr); return value; } @@ -6286,23 +6449,24 @@ inline const ::google::protobuf::Timestamp& Job::created() const ABSL_ATTRIBUTE_ // @@protoc_insertion_point(field_get:beeremote.Job.created) return _internal_created(); } -inline void Job::unsafe_arena_set_allocated_created(::google::protobuf::Timestamp* value) { +inline void Job::unsafe_arena_set_allocated_created( + ::google::protobuf::Timestamp* PROTOBUF_NULLABLE 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; + _impl_._has_bits_[0] |= 0x00000008u; } else { - _impl_._has_bits_[0] &= ~0x00000002u; + _impl_._has_bits_[0] &= ~0x00000008u; } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:beeremote.Job.created) } -inline ::google::protobuf::Timestamp* Job::release_created() { +inline ::google::protobuf::Timestamp* PROTOBUF_NULLABLE Job::release_created() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] &= ~0x00000002u; + _impl_._has_bits_[0] &= ~0x00000008u; ::google::protobuf::Timestamp* released = _impl_.created_; _impl_.created_ = nullptr; if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { @@ -6318,16 +6482,16 @@ inline ::google::protobuf::Timestamp* Job::release_created() { } return released; } -inline ::google::protobuf::Timestamp* Job::unsafe_arena_release_created() { +inline ::google::protobuf::Timestamp* PROTOBUF_NULLABLE Job::unsafe_arena_release_created() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:beeremote.Job.created) - _impl_._has_bits_[0] &= ~0x00000002u; + _impl_._has_bits_[0] &= ~0x00000008u; ::google::protobuf::Timestamp* temp = _impl_.created_; _impl_.created_ = nullptr; return temp; } -inline ::google::protobuf::Timestamp* Job::_internal_mutable_created() { +inline ::google::protobuf::Timestamp* PROTOBUF_NONNULL Job::_internal_mutable_created() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.created_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Timestamp>(GetArena()); @@ -6335,13 +6499,14 @@ inline ::google::protobuf::Timestamp* Job::_internal_mutable_created() { } return _impl_.created_; } -inline ::google::protobuf::Timestamp* Job::mutable_created() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000002u; +inline ::google::protobuf::Timestamp* PROTOBUF_NONNULL Job::mutable_created() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000008u; ::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) { +inline void Job::set_allocated_created(::google::protobuf::Timestamp* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { @@ -6349,13 +6514,13 @@ inline void Job::set_allocated_created(::google::protobuf::Timestamp* value) { } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - _impl_._has_bits_[0] |= 0x00000002u; + _impl_._has_bits_[0] |= 0x00000008u; } else { - _impl_._has_bits_[0] &= ~0x00000002u; + _impl_._has_bits_[0] &= ~0x00000008u; } _impl_.created_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); @@ -6364,14 +6529,14 @@ inline void Job::set_allocated_created(::google::protobuf::Timestamp* value) { // .beeremote.Job.Status status = 4; inline bool Job::has_status() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 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; + _impl_._has_bits_[0] &= ~0x00000010u; } inline const ::beeremote::Job_Status& Job::_internal_status() const { ::google::protobuf::internal::TSanRead(&_impl_); @@ -6382,23 +6547,24 @@ inline const ::beeremote::Job_Status& Job::status() const ABSL_ATTRIBUTE_LIFETIM // @@protoc_insertion_point(field_get:beeremote.Job.status) return _internal_status(); } -inline void Job::unsafe_arena_set_allocated_status(::beeremote::Job_Status* value) { +inline void Job::unsafe_arena_set_allocated_status( + ::beeremote::Job_Status* PROTOBUF_NULLABLE 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; + _impl_._has_bits_[0] |= 0x00000010u; } else { - _impl_._has_bits_[0] &= ~0x00000004u; + _impl_._has_bits_[0] &= ~0x00000010u; } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:beeremote.Job.status) } -inline ::beeremote::Job_Status* Job::release_status() { +inline ::beeremote::Job_Status* PROTOBUF_NULLABLE Job::release_status() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] &= ~0x00000004u; + _impl_._has_bits_[0] &= ~0x00000010u; ::beeremote::Job_Status* released = _impl_.status_; _impl_.status_ = nullptr; if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { @@ -6414,16 +6580,16 @@ inline ::beeremote::Job_Status* Job::release_status() { } return released; } -inline ::beeremote::Job_Status* Job::unsafe_arena_release_status() { +inline ::beeremote::Job_Status* PROTOBUF_NULLABLE Job::unsafe_arena_release_status() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:beeremote.Job.status) - _impl_._has_bits_[0] &= ~0x00000004u; + _impl_._has_bits_[0] &= ~0x00000010u; ::beeremote::Job_Status* temp = _impl_.status_; _impl_.status_ = nullptr; return temp; } -inline ::beeremote::Job_Status* Job::_internal_mutable_status() { +inline ::beeremote::Job_Status* PROTOBUF_NONNULL Job::_internal_mutable_status() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.status_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::beeremote::Job_Status>(GetArena()); @@ -6431,27 +6597,28 @@ inline ::beeremote::Job_Status* Job::_internal_mutable_status() { } return _impl_.status_; } -inline ::beeremote::Job_Status* Job::mutable_status() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000004u; +inline ::beeremote::Job_Status* PROTOBUF_NONNULL Job::mutable_status() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000010u; ::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) { +inline void Job::set_allocated_status(::beeremote::Job_Status* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { - delete (_impl_.status_); + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.status_); } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + ::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; + _impl_._has_bits_[0] |= 0x00000010u; } else { - _impl_._has_bits_[0] &= ~0x00000004u; + _impl_._has_bits_[0] &= ~0x00000010u; } _impl_.status_ = reinterpret_cast<::beeremote::Job_Status*>(value); @@ -6462,43 +6629,60 @@ inline void Job::set_allocated_status(::beeremote::Job_Status* value) { inline void Job::clear_external_id() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.external_id_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; } -inline const std::string& Job::external_id() const +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) { +PROTOBUF_ALWAYS_INLINE void Job::set_external_id(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void Job::_internal_set_external_id(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; _impl_.external_id_.Set(value, GetArena()); } -inline std::string* Job::_internal_mutable_external_id() { +inline ::std::string* PROTOBUF_NONNULL Job::_internal_mutable_external_id() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; return _impl_.external_id_.Mutable( GetArena()); } -inline std::string* Job::release_external_id() { +inline ::std::string* PROTOBUF_NULLABLE Job::release_external_id() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:beeremote.Job.external_id) - return _impl_.external_id_.Release(); + if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* released = _impl_.external_id_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.external_id_.Set("", GetArena()); + } + return released; } -inline void Job::set_allocated_external_id(std::string* value) { +inline void Job::set_allocated_external_id(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } _impl_.external_id_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.external_id_.IsDefault()) { _impl_.external_id_.Set("", GetArena()); @@ -6508,7 +6692,7 @@ inline void Job::set_allocated_external_id(std::string* value) { // optional .google.protobuf.Timestamp start_mtime = 6; inline bool Job::has_start_mtime() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; PROTOBUF_ASSUME(!value || _impl_.start_mtime_ != nullptr); return value; } @@ -6521,23 +6705,24 @@ inline const ::google::protobuf::Timestamp& Job::start_mtime() const ABSL_ATTRIB // @@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) { +inline void Job::unsafe_arena_set_allocated_start_mtime( + ::google::protobuf::Timestamp* PROTOBUF_NULLABLE 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; + _impl_._has_bits_[0] |= 0x00000020u; } else { - _impl_._has_bits_[0] &= ~0x00000008u; + _impl_._has_bits_[0] &= ~0x00000020u; } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:beeremote.Job.start_mtime) } -inline ::google::protobuf::Timestamp* Job::release_start_mtime() { +inline ::google::protobuf::Timestamp* PROTOBUF_NULLABLE Job::release_start_mtime() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] &= ~0x00000008u; + _impl_._has_bits_[0] &= ~0x00000020u; ::google::protobuf::Timestamp* released = _impl_.start_mtime_; _impl_.start_mtime_ = nullptr; if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { @@ -6553,16 +6738,16 @@ inline ::google::protobuf::Timestamp* Job::release_start_mtime() { } return released; } -inline ::google::protobuf::Timestamp* Job::unsafe_arena_release_start_mtime() { +inline ::google::protobuf::Timestamp* PROTOBUF_NULLABLE 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; + _impl_._has_bits_[0] &= ~0x00000020u; ::google::protobuf::Timestamp* temp = _impl_.start_mtime_; _impl_.start_mtime_ = nullptr; return temp; } -inline ::google::protobuf::Timestamp* Job::_internal_mutable_start_mtime() { +inline ::google::protobuf::Timestamp* PROTOBUF_NONNULL 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()); @@ -6570,13 +6755,14 @@ inline ::google::protobuf::Timestamp* Job::_internal_mutable_start_mtime() { } return _impl_.start_mtime_; } -inline ::google::protobuf::Timestamp* Job::mutable_start_mtime() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000008u; +inline ::google::protobuf::Timestamp* PROTOBUF_NONNULL Job::mutable_start_mtime() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000020u; ::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) { +inline void Job::set_allocated_start_mtime(::google::protobuf::Timestamp* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { @@ -6584,13 +6770,13 @@ inline void Job::set_allocated_start_mtime(::google::protobuf::Timestamp* value) } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - _impl_._has_bits_[0] |= 0x00000008u; + _impl_._has_bits_[0] |= 0x00000020u; } else { - _impl_._has_bits_[0] &= ~0x00000008u; + _impl_._has_bits_[0] &= ~0x00000020u; } _impl_.start_mtime_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); @@ -6599,7 +6785,7 @@ inline void Job::set_allocated_start_mtime(::google::protobuf::Timestamp* value) // optional .google.protobuf.Timestamp stop_mtime = 7; inline bool Job::has_stop_mtime() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; PROTOBUF_ASSUME(!value || _impl_.stop_mtime_ != nullptr); return value; } @@ -6612,23 +6798,24 @@ inline const ::google::protobuf::Timestamp& Job::stop_mtime() const ABSL_ATTRIBU // @@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) { +inline void Job::unsafe_arena_set_allocated_stop_mtime( + ::google::protobuf::Timestamp* PROTOBUF_NULLABLE 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; + _impl_._has_bits_[0] |= 0x00000040u; } else { - _impl_._has_bits_[0] &= ~0x00000010u; + _impl_._has_bits_[0] &= ~0x00000040u; } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:beeremote.Job.stop_mtime) } -inline ::google::protobuf::Timestamp* Job::release_stop_mtime() { +inline ::google::protobuf::Timestamp* PROTOBUF_NULLABLE Job::release_stop_mtime() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] &= ~0x00000010u; + _impl_._has_bits_[0] &= ~0x00000040u; ::google::protobuf::Timestamp* released = _impl_.stop_mtime_; _impl_.stop_mtime_ = nullptr; if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { @@ -6644,16 +6831,16 @@ inline ::google::protobuf::Timestamp* Job::release_stop_mtime() { } return released; } -inline ::google::protobuf::Timestamp* Job::unsafe_arena_release_stop_mtime() { +inline ::google::protobuf::Timestamp* PROTOBUF_NULLABLE 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; + _impl_._has_bits_[0] &= ~0x00000040u; ::google::protobuf::Timestamp* temp = _impl_.stop_mtime_; _impl_.stop_mtime_ = nullptr; return temp; } -inline ::google::protobuf::Timestamp* Job::_internal_mutable_stop_mtime() { +inline ::google::protobuf::Timestamp* PROTOBUF_NONNULL 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()); @@ -6661,13 +6848,14 @@ inline ::google::protobuf::Timestamp* Job::_internal_mutable_stop_mtime() { } return _impl_.stop_mtime_; } -inline ::google::protobuf::Timestamp* Job::mutable_stop_mtime() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000010u; +inline ::google::protobuf::Timestamp* PROTOBUF_NONNULL Job::mutable_stop_mtime() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000040u; ::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) { +inline void Job::set_allocated_stop_mtime(::google::protobuf::Timestamp* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { @@ -6675,13 +6863,13 @@ inline void Job::set_allocated_stop_mtime(::google::protobuf::Timestamp* value) } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - _impl_._has_bits_[0] |= 0x00000010u; + _impl_._has_bits_[0] |= 0x00000040u; } else { - _impl_._has_bits_[0] &= ~0x00000010u; + _impl_._has_bits_[0] &= ~0x00000040u; } _impl_.stop_mtime_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); @@ -6694,7 +6882,7 @@ inline void Job::set_allocated_stop_mtime(::google::protobuf::Timestamp* value) // .flex.Work work = 1; inline bool JobResult_WorkResult::has_work() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; PROTOBUF_ASSUME(!value || _impl_.work_ != nullptr); return value; } @@ -6707,23 +6895,24 @@ inline const ::flex::Work& JobResult_WorkResult::work() const ABSL_ATTRIBUTE_LIF // @@protoc_insertion_point(field_get:beeremote.JobResult.WorkResult.work) return _internal_work(); } -inline void JobResult_WorkResult::unsafe_arena_set_allocated_work(::flex::Work* value) { +inline void JobResult_WorkResult::unsafe_arena_set_allocated_work( + ::flex::Work* PROTOBUF_NULLABLE 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; + _impl_._has_bits_[0] |= 0x00000004u; } else { - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000004u; } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:beeremote.JobResult.WorkResult.work) } -inline ::flex::Work* JobResult_WorkResult::release_work() { +inline ::flex::Work* PROTOBUF_NULLABLE JobResult_WorkResult::release_work() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000004u; ::flex::Work* released = _impl_.work_; _impl_.work_ = nullptr; if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { @@ -6739,16 +6928,16 @@ inline ::flex::Work* JobResult_WorkResult::release_work() { } return released; } -inline ::flex::Work* JobResult_WorkResult::unsafe_arena_release_work() { +inline ::flex::Work* PROTOBUF_NULLABLE 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; + _impl_._has_bits_[0] &= ~0x00000004u; ::flex::Work* temp = _impl_.work_; _impl_.work_ = nullptr; return temp; } -inline ::flex::Work* JobResult_WorkResult::_internal_mutable_work() { +inline ::flex::Work* PROTOBUF_NONNULL JobResult_WorkResult::_internal_mutable_work() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.work_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::flex::Work>(GetArena()); @@ -6756,13 +6945,14 @@ inline ::flex::Work* JobResult_WorkResult::_internal_mutable_work() { } return _impl_.work_; } -inline ::flex::Work* JobResult_WorkResult::mutable_work() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; +inline ::flex::Work* PROTOBUF_NONNULL JobResult_WorkResult::mutable_work() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000004u; ::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) { +inline void JobResult_WorkResult::set_allocated_work(::flex::Work* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { @@ -6770,13 +6960,13 @@ inline void JobResult_WorkResult::set_allocated_work(::flex::Work* value) { } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - _impl_._has_bits_[0] |= 0x00000001u; + _impl_._has_bits_[0] |= 0x00000004u; } else { - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000004u; } _impl_.work_ = reinterpret_cast<::flex::Work*>(value); @@ -6787,43 +6977,60 @@ inline void JobResult_WorkResult::set_allocated_work(::flex::Work* value) { inline void JobResult_WorkResult::clear_assigned_node() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.assigned_node_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; } -inline const std::string& JobResult_WorkResult::assigned_node() const +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) { +PROTOBUF_ALWAYS_INLINE void JobResult_WorkResult::set_assigned_node(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void JobResult_WorkResult::_internal_set_assigned_node(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _impl_.assigned_node_.Set(value, GetArena()); } -inline std::string* JobResult_WorkResult::_internal_mutable_assigned_node() { +inline ::std::string* PROTOBUF_NONNULL JobResult_WorkResult::_internal_mutable_assigned_node() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; return _impl_.assigned_node_.Mutable( GetArena()); } -inline std::string* JobResult_WorkResult::release_assigned_node() { +inline ::std::string* PROTOBUF_NULLABLE 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(); + if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* released = _impl_.assigned_node_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.assigned_node_.Set("", GetArena()); + } + return released; } -inline void JobResult_WorkResult::set_allocated_assigned_node(std::string* value) { +inline void JobResult_WorkResult::set_allocated_assigned_node(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } _impl_.assigned_node_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.assigned_node_.IsDefault()) { _impl_.assigned_node_.Set("", GetArena()); @@ -6835,43 +7042,60 @@ inline void JobResult_WorkResult::set_allocated_assigned_node(std::string* value inline void JobResult_WorkResult::clear_assigned_pool() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.assigned_pool_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; } -inline const std::string& JobResult_WorkResult::assigned_pool() const +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) { +PROTOBUF_ALWAYS_INLINE void JobResult_WorkResult::set_assigned_pool(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void JobResult_WorkResult::_internal_set_assigned_pool(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; _impl_.assigned_pool_.Set(value, GetArena()); } -inline std::string* JobResult_WorkResult::_internal_mutable_assigned_pool() { +inline ::std::string* PROTOBUF_NONNULL JobResult_WorkResult::_internal_mutable_assigned_pool() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; return _impl_.assigned_pool_.Mutable( GetArena()); } -inline std::string* JobResult_WorkResult::release_assigned_pool() { +inline ::std::string* PROTOBUF_NULLABLE 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(); + if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* released = _impl_.assigned_pool_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.assigned_pool_.Set("", GetArena()); + } + return released; } -inline void JobResult_WorkResult::set_allocated_assigned_pool(std::string* value) { +inline void JobResult_WorkResult::set_allocated_assigned_pool(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } _impl_.assigned_pool_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.assigned_pool_.IsDefault()) { _impl_.assigned_pool_.Set("", GetArena()); @@ -6903,7 +7127,8 @@ inline const ::beeremote::Job& JobResult::job() const ABSL_ATTRIBUTE_LIFETIME_BO // @@protoc_insertion_point(field_get:beeremote.JobResult.job) return _internal_job(); } -inline void JobResult::unsafe_arena_set_allocated_job(::beeremote::Job* value) { +inline void JobResult::unsafe_arena_set_allocated_job( + ::beeremote::Job* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.job_); @@ -6916,7 +7141,7 @@ inline void JobResult::unsafe_arena_set_allocated_job(::beeremote::Job* value) { } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:beeremote.JobResult.job) } -inline ::beeremote::Job* JobResult::release_job() { +inline ::beeremote::Job* PROTOBUF_NULLABLE JobResult::release_job() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000001u; @@ -6935,7 +7160,7 @@ inline ::beeremote::Job* JobResult::release_job() { } return released; } -inline ::beeremote::Job* JobResult::unsafe_arena_release_job() { +inline ::beeremote::Job* PROTOBUF_NULLABLE JobResult::unsafe_arena_release_job() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:beeremote.JobResult.job) @@ -6944,7 +7169,7 @@ inline ::beeremote::Job* JobResult::unsafe_arena_release_job() { _impl_.job_ = nullptr; return temp; } -inline ::beeremote::Job* JobResult::_internal_mutable_job() { +inline ::beeremote::Job* PROTOBUF_NONNULL JobResult::_internal_mutable_job() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.job_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::beeremote::Job>(GetArena()); @@ -6952,21 +7177,22 @@ inline ::beeremote::Job* JobResult::_internal_mutable_job() { } return _impl_.job_; } -inline ::beeremote::Job* JobResult::mutable_job() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::beeremote::Job* PROTOBUF_NONNULL 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) { +inline void JobResult::set_allocated_job(::beeremote::Job* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { - delete (_impl_.job_); + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.job_); } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = value->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } @@ -6986,12 +7212,12 @@ inline int JobResult::_internal_work_requests_size() const { inline int JobResult::work_requests_size() const { return _internal_work_requests_size(); } -inline ::flex::WorkRequest* JobResult::mutable_work_requests(int index) +inline ::flex::WorkRequest* PROTOBUF_NONNULL 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() +inline ::google::protobuf::RepeatedPtrField<::flex::WorkRequest>* PROTOBUF_NONNULL JobResult::mutable_work_requests() ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_mutable_list:beeremote.JobResult.work_requests) ::google::protobuf::internal::TSanWrite(&_impl_); @@ -7002,7 +7228,8 @@ inline const ::flex::WorkRequest& JobResult::work_requests(int index) const // @@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 { +inline ::flex::WorkRequest* PROTOBUF_NONNULL 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) @@ -7018,7 +7245,7 @@ JobResult::_internal_work_requests() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.work_requests_; } -inline ::google::protobuf::RepeatedPtrField<::flex::WorkRequest>* +inline ::google::protobuf::RepeatedPtrField<::flex::WorkRequest>* PROTOBUF_NONNULL JobResult::_internal_mutable_work_requests() { ::google::protobuf::internal::TSanRead(&_impl_); return &_impl_.work_requests_; @@ -7035,12 +7262,12 @@ 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) +inline ::beeremote::JobResult_WorkResult* PROTOBUF_NONNULL 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() +inline ::google::protobuf::RepeatedPtrField<::beeremote::JobResult_WorkResult>* PROTOBUF_NONNULL JobResult::mutable_work_results() ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_mutable_list:beeremote.JobResult.work_results) ::google::protobuf::internal::TSanWrite(&_impl_); @@ -7051,7 +7278,8 @@ inline const ::beeremote::JobResult_WorkResult& JobResult::work_results(int inde // @@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 { +inline ::beeremote::JobResult_WorkResult* PROTOBUF_NONNULL 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) @@ -7067,7 +7295,7 @@ JobResult::_internal_work_results() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.work_results_; } -inline ::google::protobuf::RepeatedPtrField<::beeremote::JobResult_WorkResult>* +inline ::google::protobuf::RepeatedPtrField<::beeremote::JobResult_WorkResult>* PROTOBUF_NONNULL JobResult::_internal_mutable_work_results() { ::google::protobuf::internal::TSanRead(&_impl_); return &_impl_.work_results_; @@ -7081,43 +7309,60 @@ JobResult::_internal_mutable_work_results() { inline void UpdatePathsRequest::clear_path_prefix() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.path_prefix_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; } -inline const std::string& UpdatePathsRequest::path_prefix() const +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) { +PROTOBUF_ALWAYS_INLINE void UpdatePathsRequest::set_path_prefix(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void UpdatePathsRequest::_internal_set_path_prefix(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _impl_.path_prefix_.Set(value, GetArena()); } -inline std::string* UpdatePathsRequest::_internal_mutable_path_prefix() { +inline ::std::string* PROTOBUF_NONNULL UpdatePathsRequest::_internal_mutable_path_prefix() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; return _impl_.path_prefix_.Mutable( GetArena()); } -inline std::string* UpdatePathsRequest::release_path_prefix() { +inline ::std::string* PROTOBUF_NULLABLE UpdatePathsRequest::release_path_prefix() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:beeremote.UpdatePathsRequest.path_prefix) - return _impl_.path_prefix_.Release(); + if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* released = _impl_.path_prefix_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.path_prefix_.Set("", GetArena()); + } + return released; } -inline void UpdatePathsRequest::set_allocated_path_prefix(std::string* value) { +inline void UpdatePathsRequest::set_allocated_path_prefix(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } _impl_.path_prefix_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.path_prefix_.IsDefault()) { _impl_.path_prefix_.Set("", GetArena()); @@ -7127,14 +7372,14 @@ inline void UpdatePathsRequest::set_allocated_path_prefix(std::string* value) { // .beeremote.UpdateJobsRequest requested_update = 2; inline bool UpdatePathsRequest::has_requested_update() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 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; + _impl_._has_bits_[0] &= ~0x00000002u; } inline const ::beeremote::UpdateJobsRequest& UpdatePathsRequest::_internal_requested_update() const { ::google::protobuf::internal::TSanRead(&_impl_); @@ -7145,23 +7390,24 @@ inline const ::beeremote::UpdateJobsRequest& UpdatePathsRequest::requested_updat // @@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) { +inline void UpdatePathsRequest::unsafe_arena_set_allocated_requested_update( + ::beeremote::UpdateJobsRequest* PROTOBUF_NULLABLE 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; + _impl_._has_bits_[0] |= 0x00000002u; } else { - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000002u; } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:beeremote.UpdatePathsRequest.requested_update) } -inline ::beeremote::UpdateJobsRequest* UpdatePathsRequest::release_requested_update() { +inline ::beeremote::UpdateJobsRequest* PROTOBUF_NULLABLE UpdatePathsRequest::release_requested_update() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000002u; ::beeremote::UpdateJobsRequest* released = _impl_.requested_update_; _impl_.requested_update_ = nullptr; if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { @@ -7177,16 +7423,16 @@ inline ::beeremote::UpdateJobsRequest* UpdatePathsRequest::release_requested_upd } return released; } -inline ::beeremote::UpdateJobsRequest* UpdatePathsRequest::unsafe_arena_release_requested_update() { +inline ::beeremote::UpdateJobsRequest* PROTOBUF_NULLABLE 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; + _impl_._has_bits_[0] &= ~0x00000002u; ::beeremote::UpdateJobsRequest* temp = _impl_.requested_update_; _impl_.requested_update_ = nullptr; return temp; } -inline ::beeremote::UpdateJobsRequest* UpdatePathsRequest::_internal_mutable_requested_update() { +inline ::beeremote::UpdateJobsRequest* PROTOBUF_NONNULL UpdatePathsRequest::_internal_mutable_requested_update() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.requested_update_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::beeremote::UpdateJobsRequest>(GetArena()); @@ -7194,27 +7440,28 @@ inline ::beeremote::UpdateJobsRequest* UpdatePathsRequest::_internal_mutable_req } return _impl_.requested_update_; } -inline ::beeremote::UpdateJobsRequest* UpdatePathsRequest::mutable_requested_update() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; +inline ::beeremote::UpdateJobsRequest* PROTOBUF_NONNULL UpdatePathsRequest::mutable_requested_update() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; ::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) { +inline void UpdatePathsRequest::set_allocated_requested_update(::beeremote::UpdateJobsRequest* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { - delete (_impl_.requested_update_); + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.requested_update_); } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + ::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; + _impl_._has_bits_[0] |= 0x00000002u; } else { - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000002u; } _impl_.requested_update_ = reinterpret_cast<::beeremote::UpdateJobsRequest*>(value); @@ -7229,43 +7476,60 @@ inline void UpdatePathsRequest::set_allocated_requested_update(::beeremote::Upda inline void UpdatePathsResponse::clear_path() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.path_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; } -inline const std::string& UpdatePathsResponse::path() const +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) { +PROTOBUF_ALWAYS_INLINE void UpdatePathsResponse::set_path(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void UpdatePathsResponse::_internal_set_path(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _impl_.path_.Set(value, GetArena()); } -inline std::string* UpdatePathsResponse::_internal_mutable_path() { +inline ::std::string* PROTOBUF_NONNULL UpdatePathsResponse::_internal_mutable_path() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; return _impl_.path_.Mutable( GetArena()); } -inline std::string* UpdatePathsResponse::release_path() { +inline ::std::string* PROTOBUF_NULLABLE UpdatePathsResponse::release_path() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:beeremote.UpdatePathsResponse.path) - return _impl_.path_.Release(); + if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* released = _impl_.path_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.path_.Set("", GetArena()); + } + return released; } -inline void UpdatePathsResponse::set_allocated_path(std::string* value) { +inline void UpdatePathsResponse::set_allocated_path(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } _impl_.path_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.path_.IsDefault()) { _impl_.path_.Set("", GetArena()); @@ -7275,14 +7539,14 @@ inline void UpdatePathsResponse::set_allocated_path(std::string* value) { // .beeremote.UpdateJobsResponse update_result = 2; inline bool UpdatePathsResponse::has_update_result() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 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; + _impl_._has_bits_[0] &= ~0x00000002u; } inline const ::beeremote::UpdateJobsResponse& UpdatePathsResponse::_internal_update_result() const { ::google::protobuf::internal::TSanRead(&_impl_); @@ -7293,23 +7557,24 @@ inline const ::beeremote::UpdateJobsResponse& UpdatePathsResponse::update_result // @@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) { +inline void UpdatePathsResponse::unsafe_arena_set_allocated_update_result( + ::beeremote::UpdateJobsResponse* PROTOBUF_NULLABLE 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; + _impl_._has_bits_[0] |= 0x00000002u; } else { - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000002u; } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:beeremote.UpdatePathsResponse.update_result) } -inline ::beeremote::UpdateJobsResponse* UpdatePathsResponse::release_update_result() { +inline ::beeremote::UpdateJobsResponse* PROTOBUF_NULLABLE UpdatePathsResponse::release_update_result() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000002u; ::beeremote::UpdateJobsResponse* released = _impl_.update_result_; _impl_.update_result_ = nullptr; if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { @@ -7325,16 +7590,16 @@ inline ::beeremote::UpdateJobsResponse* UpdatePathsResponse::release_update_resu } return released; } -inline ::beeremote::UpdateJobsResponse* UpdatePathsResponse::unsafe_arena_release_update_result() { +inline ::beeremote::UpdateJobsResponse* PROTOBUF_NULLABLE 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; + _impl_._has_bits_[0] &= ~0x00000002u; ::beeremote::UpdateJobsResponse* temp = _impl_.update_result_; _impl_.update_result_ = nullptr; return temp; } -inline ::beeremote::UpdateJobsResponse* UpdatePathsResponse::_internal_mutable_update_result() { +inline ::beeremote::UpdateJobsResponse* PROTOBUF_NONNULL UpdatePathsResponse::_internal_mutable_update_result() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.update_result_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::beeremote::UpdateJobsResponse>(GetArena()); @@ -7342,27 +7607,28 @@ inline ::beeremote::UpdateJobsResponse* UpdatePathsResponse::_internal_mutable_u } return _impl_.update_result_; } -inline ::beeremote::UpdateJobsResponse* UpdatePathsResponse::mutable_update_result() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; +inline ::beeremote::UpdateJobsResponse* PROTOBUF_NONNULL UpdatePathsResponse::mutable_update_result() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; ::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) { +inline void UpdatePathsResponse::set_allocated_update_result(::beeremote::UpdateJobsResponse* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { - delete (_impl_.update_result_); + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.update_result_); } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + ::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; + _impl_._has_bits_[0] |= 0x00000002u; } else { - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000002u; } _impl_.update_result_ = reinterpret_cast<::beeremote::UpdateJobsResponse*>(value); @@ -7379,43 +7645,60 @@ inline void UpdatePathsResponse::set_allocated_update_result(::beeremote::Update inline void UpdateJobsRequest::clear_path() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.path_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; } -inline const std::string& UpdateJobsRequest::path() const +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) { +PROTOBUF_ALWAYS_INLINE void UpdateJobsRequest::set_path(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void UpdateJobsRequest::_internal_set_path(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _impl_.path_.Set(value, GetArena()); } -inline std::string* UpdateJobsRequest::_internal_mutable_path() { +inline ::std::string* PROTOBUF_NONNULL UpdateJobsRequest::_internal_mutable_path() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; return _impl_.path_.Mutable( GetArena()); } -inline std::string* UpdateJobsRequest::release_path() { +inline ::std::string* PROTOBUF_NULLABLE UpdateJobsRequest::release_path() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:beeremote.UpdateJobsRequest.path) - return _impl_.path_.Release(); + if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* released = _impl_.path_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.path_.Set("", GetArena()); + } + return released; } -inline void UpdateJobsRequest::set_allocated_path(std::string* value) { +inline void UpdateJobsRequest::set_allocated_path(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } _impl_.path_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.path_.IsDefault()) { _impl_.path_.Set("", GetArena()); @@ -7425,65 +7708,65 @@ inline void UpdateJobsRequest::set_allocated_path(std::string* value) { // optional string job_id = 2; inline bool UpdateJobsRequest::has_job_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; return value; } inline void UpdateJobsRequest::clear_job_id() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.job_id_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000002u; } -inline const std::string& UpdateJobsRequest::job_id() const +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) { +PROTOBUF_ALWAYS_INLINE void UpdateJobsRequest::set_job_id(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000001u; + _impl_._has_bits_[0] |= 0x00000002u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void UpdateJobsRequest::_internal_set_job_id(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000001u; + _impl_._has_bits_[0] |= 0x00000002u; _impl_.job_id_.Set(value, GetArena()); } -inline std::string* UpdateJobsRequest::_internal_mutable_job_id() { +inline ::std::string* PROTOBUF_NONNULL UpdateJobsRequest::_internal_mutable_job_id() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000001u; + _impl_._has_bits_[0] |= 0x00000002u; return _impl_.job_id_.Mutable( GetArena()); } -inline std::string* UpdateJobsRequest::release_job_id() { +inline ::std::string* PROTOBUF_NULLABLE 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) { + if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { return nullptr; } - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000002u; 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) { +inline void UpdateJobsRequest::set_allocated_job_id(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; + _impl_._has_bits_[0] |= 0x00000002u; } else { - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000002u; } _impl_.job_id_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.job_id_.IsDefault()) { @@ -7511,11 +7794,12 @@ inline const ::google::protobuf::Map<::uint32_t, bool>& UpdateJobsRequest::remot // @@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() { +inline ::google::protobuf::Map<::uint32_t, bool>* PROTOBUF_NONNULL 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 { +inline ::google::protobuf::Map<::uint32_t, bool>* PROTOBUF_NONNULL UpdateJobsRequest::mutable_remote_targets() + ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_mutable_map:beeremote.UpdateJobsRequest.remote_targets) return _internal_mutable_remote_targets(); } @@ -7524,6 +7808,7 @@ inline ::google::protobuf::Map<::uint32_t, bool>* UpdateJobsRequest::mutable_rem inline void UpdateJobsRequest::clear_new_state() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.new_state_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; } inline ::beeremote::UpdateJobsRequest_NewState UpdateJobsRequest::new_state() const { // @@protoc_insertion_point(field_get:beeremote.UpdateJobsRequest.new_state) @@ -7531,6 +7816,7 @@ inline ::beeremote::UpdateJobsRequest_NewState UpdateJobsRequest::new_state() co } inline void UpdateJobsRequest::set_new_state(::beeremote::UpdateJobsRequest_NewState value) { _internal_set_new_state(value); + _impl_._has_bits_[0] |= 0x00000008u; // @@protoc_insertion_point(field_set:beeremote.UpdateJobsRequest.new_state) } inline ::beeremote::UpdateJobsRequest_NewState UpdateJobsRequest::_internal_new_state() const { @@ -7546,6 +7832,7 @@ inline void UpdateJobsRequest::_internal_set_new_state(::beeremote::UpdateJobsRe inline void UpdateJobsRequest::clear_force_update() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.force_update_ = false; + _impl_._has_bits_[0] &= ~0x00000004u; } inline bool UpdateJobsRequest::force_update() const { // @@protoc_insertion_point(field_get:beeremote.UpdateJobsRequest.force_update) @@ -7553,6 +7840,7 @@ inline bool UpdateJobsRequest::force_update() const { } inline void UpdateJobsRequest::set_force_update(bool value) { _internal_set_force_update(value); + _impl_._has_bits_[0] |= 0x00000004u; // @@protoc_insertion_point(field_set:beeremote.UpdateJobsRequest.force_update) } inline bool UpdateJobsRequest::_internal_force_update() const { @@ -7572,6 +7860,7 @@ inline void UpdateJobsRequest::_internal_set_force_update(bool value) { inline void UpdateJobsResponse::clear_ok() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.ok_ = false; + _impl_._has_bits_[0] &= ~0x00000002u; } inline bool UpdateJobsResponse::ok() const { // @@protoc_insertion_point(field_get:beeremote.UpdateJobsResponse.ok) @@ -7579,6 +7868,7 @@ inline bool UpdateJobsResponse::ok() const { } inline void UpdateJobsResponse::set_ok(bool value) { _internal_set_ok(value); + _impl_._has_bits_[0] |= 0x00000002u; // @@protoc_insertion_point(field_set:beeremote.UpdateJobsResponse.ok) } inline bool UpdateJobsResponse::_internal_ok() const { @@ -7594,43 +7884,60 @@ inline void UpdateJobsResponse::_internal_set_ok(bool value) { inline void UpdateJobsResponse::clear_message() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.message_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; } -inline const std::string& UpdateJobsResponse::message() const +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) { +PROTOBUF_ALWAYS_INLINE void UpdateJobsResponse::set_message(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void UpdateJobsResponse::_internal_set_message(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _impl_.message_.Set(value, GetArena()); } -inline std::string* UpdateJobsResponse::_internal_mutable_message() { +inline ::std::string* PROTOBUF_NONNULL UpdateJobsResponse::_internal_mutable_message() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; return _impl_.message_.Mutable( GetArena()); } -inline std::string* UpdateJobsResponse::release_message() { +inline ::std::string* PROTOBUF_NULLABLE UpdateJobsResponse::release_message() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:beeremote.UpdateJobsResponse.message) - return _impl_.message_.Release(); + if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* released = _impl_.message_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.message_.Set("", GetArena()); + } + return released; } -inline void UpdateJobsResponse::set_allocated_message(std::string* value) { +inline void UpdateJobsResponse::set_allocated_message(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } _impl_.message_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.message_.IsDefault()) { _impl_.message_.Set("", GetArena()); @@ -7649,12 +7956,12 @@ inline void UpdateJobsResponse::clear_results() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.results_.Clear(); } -inline ::beeremote::JobResult* UpdateJobsResponse::mutable_results(int index) +inline ::beeremote::JobResult* PROTOBUF_NONNULL 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() +inline ::google::protobuf::RepeatedPtrField<::beeremote::JobResult>* PROTOBUF_NONNULL UpdateJobsResponse::mutable_results() ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_mutable_list:beeremote.UpdateJobsResponse.results) ::google::protobuf::internal::TSanWrite(&_impl_); @@ -7665,7 +7972,8 @@ inline const ::beeremote::JobResult& UpdateJobsResponse::results(int index) cons // @@protoc_insertion_point(field_get:beeremote.UpdateJobsResponse.results) return _internal_results().Get(index); } -inline ::beeremote::JobResult* UpdateJobsResponse::add_results() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::beeremote::JobResult* PROTOBUF_NONNULL 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) @@ -7681,7 +7989,7 @@ UpdateJobsResponse::_internal_results() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.results_; } -inline ::google::protobuf::RepeatedPtrField<::beeremote::JobResult>* +inline ::google::protobuf::RepeatedPtrField<::beeremote::JobResult>* PROTOBUF_NONNULL UpdateJobsResponse::_internal_mutable_results() { ::google::protobuf::internal::TSanRead(&_impl_); return &_impl_.results_; @@ -7695,43 +8003,60 @@ UpdateJobsResponse::_internal_mutable_results() { inline void GetJobsRequest_QueryIdAndPath::clear_job_id() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.job_id_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; } -inline const std::string& GetJobsRequest_QueryIdAndPath::job_id() const +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) { +PROTOBUF_ALWAYS_INLINE void GetJobsRequest_QueryIdAndPath::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.GetJobsRequest.QueryIdAndPath.job_id) } -inline std::string* GetJobsRequest_QueryIdAndPath::mutable_job_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_job_id(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void GetJobsRequest_QueryIdAndPath::_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* GetJobsRequest_QueryIdAndPath::_internal_mutable_job_id() { +inline ::std::string* PROTOBUF_NONNULL GetJobsRequest_QueryIdAndPath::_internal_mutable_job_id() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; return _impl_.job_id_.Mutable( GetArena()); } -inline std::string* GetJobsRequest_QueryIdAndPath::release_job_id() { +inline ::std::string* PROTOBUF_NULLABLE 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(); + 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 GetJobsRequest_QueryIdAndPath::set_allocated_job_id(std::string* value) { +inline void GetJobsRequest_QueryIdAndPath::set_allocated_job_id(::std::string* PROTOBUF_NULLABLE 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()); @@ -7743,43 +8068,60 @@ inline void GetJobsRequest_QueryIdAndPath::set_allocated_job_id(std::string* val inline void GetJobsRequest_QueryIdAndPath::clear_path() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.path_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; } -inline const std::string& GetJobsRequest_QueryIdAndPath::path() const +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) { +PROTOBUF_ALWAYS_INLINE void GetJobsRequest_QueryIdAndPath::set_path(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void GetJobsRequest_QueryIdAndPath::_internal_set_path(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; _impl_.path_.Set(value, GetArena()); } -inline std::string* GetJobsRequest_QueryIdAndPath::_internal_mutable_path() { +inline ::std::string* PROTOBUF_NONNULL GetJobsRequest_QueryIdAndPath::_internal_mutable_path() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; return _impl_.path_.Mutable( GetArena()); } -inline std::string* GetJobsRequest_QueryIdAndPath::release_path() { +inline ::std::string* PROTOBUF_NULLABLE GetJobsRequest_QueryIdAndPath::release_path() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:beeremote.GetJobsRequest.QueryIdAndPath.path) - return _impl_.path_.Release(); + if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* released = _impl_.path_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.path_.Set("", GetArena()); + } + return released; } -inline void GetJobsRequest_QueryIdAndPath::set_allocated_path(std::string* value) { +inline void GetJobsRequest_QueryIdAndPath::set_allocated_path(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } _impl_.path_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.path_.IsDefault()) { _impl_.path_.Set("", GetArena()); @@ -7812,7 +8154,7 @@ inline void GetJobsRequest::clear_by_job_id_and_path() { clear_has_query(); } } -inline ::beeremote::GetJobsRequest_QueryIdAndPath* GetJobsRequest::release_by_job_id_and_path() { +inline ::beeremote::GetJobsRequest_QueryIdAndPath* PROTOBUF_NULLABLE 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(); @@ -7833,7 +8175,7 @@ inline const ::beeremote::GetJobsRequest_QueryIdAndPath& GetJobsRequest::by_job_ // @@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() { +inline ::beeremote::GetJobsRequest_QueryIdAndPath* PROTOBUF_NULLABLE 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(); @@ -7844,7 +8186,8 @@ inline ::beeremote::GetJobsRequest_QueryIdAndPath* GetJobsRequest::unsafe_arena_ return nullptr; } } -inline void GetJobsRequest::unsafe_arena_set_allocated_by_job_id_and_path(::beeremote::GetJobsRequest_QueryIdAndPath* value) { +inline void GetJobsRequest::unsafe_arena_set_allocated_by_job_id_and_path( + ::beeremote::GetJobsRequest_QueryIdAndPath* PROTOBUF_NULLABLE 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. @@ -7855,16 +8198,17 @@ inline void GetJobsRequest::unsafe_arena_set_allocated_by_job_id_and_path(::beer } // @@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() { +inline ::beeremote::GetJobsRequest_QueryIdAndPath* PROTOBUF_NONNULL 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_ = + _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 { +inline ::beeremote::GetJobsRequest_QueryIdAndPath* PROTOBUF_NONNULL 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; @@ -7884,14 +8228,13 @@ inline void GetJobsRequest::clear_by_exact_path() { clear_has_query(); } } -inline const std::string& GetJobsRequest::by_exact_path() const +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) { +PROTOBUF_ALWAYS_INLINE void GetJobsRequest::set_by_exact_path(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); if (query_case() != kByExactPath) { clear_query(); @@ -7902,19 +8245,20 @@ inline PROTOBUF_ALWAYS_INLINE void GetJobsRequest::set_by_exact_path(Arg_&& arg, _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void GetJobsRequest::_internal_set_by_exact_path(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (query_case() != kByExactPath) { clear_query(); @@ -7924,7 +8268,7 @@ inline void GetJobsRequest::_internal_set_by_exact_path(const std::string& value } _impl_.query_.by_exact_path_.Set(value, GetArena()); } -inline std::string* GetJobsRequest::_internal_mutable_by_exact_path() { +inline ::std::string* PROTOBUF_NONNULL GetJobsRequest::_internal_mutable_by_exact_path() { ::google::protobuf::internal::TSanWrite(&_impl_); if (query_case() != kByExactPath) { clear_query(); @@ -7934,7 +8278,7 @@ inline std::string* GetJobsRequest::_internal_mutable_by_exact_path() { } return _impl_.query_.by_exact_path_.Mutable( GetArena()); } -inline std::string* GetJobsRequest::release_by_exact_path() { +inline ::std::string* PROTOBUF_NULLABLE GetJobsRequest::release_by_exact_path() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:beeremote.GetJobsRequest.by_exact_path) if (query_case() != kByExactPath) { @@ -7943,7 +8287,7 @@ inline std::string* GetJobsRequest::release_by_exact_path() { clear_has_query(); return _impl_.query_.by_exact_path_.Release(); } -inline void GetJobsRequest::set_allocated_by_exact_path(std::string* value) { +inline void GetJobsRequest::set_allocated_by_exact_path(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (has_query()) { clear_query(); @@ -7969,14 +8313,13 @@ inline void GetJobsRequest::clear_by_path_prefix() { clear_has_query(); } } -inline const std::string& GetJobsRequest::by_path_prefix() const +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) { +PROTOBUF_ALWAYS_INLINE void GetJobsRequest::set_by_path_prefix(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); if (query_case() != kByPathPrefix) { clear_query(); @@ -7987,19 +8330,20 @@ inline PROTOBUF_ALWAYS_INLINE void GetJobsRequest::set_by_path_prefix(Arg_&& arg _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void GetJobsRequest::_internal_set_by_path_prefix(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (query_case() != kByPathPrefix) { clear_query(); @@ -8009,7 +8353,7 @@ inline void GetJobsRequest::_internal_set_by_path_prefix(const std::string& valu } _impl_.query_.by_path_prefix_.Set(value, GetArena()); } -inline std::string* GetJobsRequest::_internal_mutable_by_path_prefix() { +inline ::std::string* PROTOBUF_NONNULL GetJobsRequest::_internal_mutable_by_path_prefix() { ::google::protobuf::internal::TSanWrite(&_impl_); if (query_case() != kByPathPrefix) { clear_query(); @@ -8019,7 +8363,7 @@ inline std::string* GetJobsRequest::_internal_mutable_by_path_prefix() { } return _impl_.query_.by_path_prefix_.Mutable( GetArena()); } -inline std::string* GetJobsRequest::release_by_path_prefix() { +inline ::std::string* PROTOBUF_NULLABLE GetJobsRequest::release_by_path_prefix() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:beeremote.GetJobsRequest.by_path_prefix) if (query_case() != kByPathPrefix) { @@ -8028,7 +8372,7 @@ inline std::string* GetJobsRequest::release_by_path_prefix() { clear_has_query(); return _impl_.query_.by_path_prefix_.Release(); } -inline void GetJobsRequest::set_allocated_by_path_prefix(std::string* value) { +inline void GetJobsRequest::set_allocated_by_path_prefix(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (has_query()) { clear_query(); @@ -8044,6 +8388,7 @@ inline void GetJobsRequest::set_allocated_by_path_prefix(std::string* value) { inline void GetJobsRequest::clear_include_work_requests() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.include_work_requests_ = false; + _impl_._has_bits_[0] &= ~0x00000001u; } inline bool GetJobsRequest::include_work_requests() const { // @@protoc_insertion_point(field_get:beeremote.GetJobsRequest.include_work_requests) @@ -8051,6 +8396,7 @@ inline bool GetJobsRequest::include_work_requests() const { } inline void GetJobsRequest::set_include_work_requests(bool value) { _internal_set_include_work_requests(value); + _impl_._has_bits_[0] |= 0x00000001u; // @@protoc_insertion_point(field_set:beeremote.GetJobsRequest.include_work_requests) } inline bool GetJobsRequest::_internal_include_work_requests() const { @@ -8066,6 +8412,7 @@ inline void GetJobsRequest::_internal_set_include_work_requests(bool value) { inline void GetJobsRequest::clear_include_work_results() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.include_work_results_ = false; + _impl_._has_bits_[0] &= ~0x00000002u; } inline bool GetJobsRequest::include_work_results() const { // @@protoc_insertion_point(field_get:beeremote.GetJobsRequest.include_work_results) @@ -8073,6 +8420,7 @@ inline bool GetJobsRequest::include_work_results() const { } inline void GetJobsRequest::set_include_work_results(bool value) { _internal_set_include_work_results(value); + _impl_._has_bits_[0] |= 0x00000002u; // @@protoc_insertion_point(field_set:beeremote.GetJobsRequest.include_work_results) } inline bool GetJobsRequest::_internal_include_work_results() const { @@ -8088,6 +8436,7 @@ inline void GetJobsRequest::_internal_set_include_work_results(bool value) { inline void GetJobsRequest::clear_update_work_results() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.update_work_results_ = false; + _impl_._has_bits_[0] &= ~0x00000004u; } inline bool GetJobsRequest::update_work_results() const { // @@protoc_insertion_point(field_get:beeremote.GetJobsRequest.update_work_results) @@ -8095,6 +8444,7 @@ inline bool GetJobsRequest::update_work_results() const { } inline void GetJobsRequest::set_update_work_results(bool value) { _internal_set_update_work_results(value); + _impl_._has_bits_[0] |= 0x00000004u; // @@protoc_insertion_point(field_set:beeremote.GetJobsRequest.update_work_results) } inline bool GetJobsRequest::_internal_update_work_results() const { @@ -8123,43 +8473,60 @@ inline GetJobsRequest::QueryCase GetJobsRequest::query_case() const { inline void GetJobsResponse::clear_path() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.path_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; } -inline const std::string& GetJobsResponse::path() const +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) { +PROTOBUF_ALWAYS_INLINE void GetJobsResponse::set_path(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void GetJobsResponse::_internal_set_path(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _impl_.path_.Set(value, GetArena()); } -inline std::string* GetJobsResponse::_internal_mutable_path() { +inline ::std::string* PROTOBUF_NONNULL GetJobsResponse::_internal_mutable_path() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; return _impl_.path_.Mutable( GetArena()); } -inline std::string* GetJobsResponse::release_path() { +inline ::std::string* PROTOBUF_NULLABLE GetJobsResponse::release_path() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:beeremote.GetJobsResponse.path) - return _impl_.path_.Release(); + if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* released = _impl_.path_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.path_.Set("", GetArena()); + } + return released; } -inline void GetJobsResponse::set_allocated_path(std::string* value) { +inline void GetJobsResponse::set_allocated_path(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } _impl_.path_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.path_.IsDefault()) { _impl_.path_.Set("", GetArena()); @@ -8178,12 +8545,12 @@ inline void GetJobsResponse::clear_results() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.results_.Clear(); } -inline ::beeremote::JobResult* GetJobsResponse::mutable_results(int index) +inline ::beeremote::JobResult* PROTOBUF_NONNULL 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() +inline ::google::protobuf::RepeatedPtrField<::beeremote::JobResult>* PROTOBUF_NONNULL GetJobsResponse::mutable_results() ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_mutable_list:beeremote.GetJobsResponse.results) ::google::protobuf::internal::TSanWrite(&_impl_); @@ -8194,7 +8561,8 @@ inline const ::beeremote::JobResult& GetJobsResponse::results(int index) const // @@protoc_insertion_point(field_get:beeremote.GetJobsResponse.results) return _internal_results().Get(index); } -inline ::beeremote::JobResult* GetJobsResponse::add_results() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::beeremote::JobResult* PROTOBUF_NONNULL 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) @@ -8210,7 +8578,7 @@ GetJobsResponse::_internal_results() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.results_; } -inline ::google::protobuf::RepeatedPtrField<::beeremote::JobResult>* +inline ::google::protobuf::RepeatedPtrField<::beeremote::JobResult>* PROTOBUF_NONNULL GetJobsResponse::_internal_mutable_results() { ::google::protobuf::internal::TSanRead(&_impl_); return &_impl_.results_; @@ -8235,7 +8603,8 @@ inline const ::flex::Work& UpdateWorkRequest::work() const ABSL_ATTRIBUTE_LIFETI // @@protoc_insertion_point(field_get:beeremote.UpdateWorkRequest.work) return _internal_work(); } -inline void UpdateWorkRequest::unsafe_arena_set_allocated_work(::flex::Work* value) { +inline void UpdateWorkRequest::unsafe_arena_set_allocated_work( + ::flex::Work* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.work_); @@ -8248,7 +8617,7 @@ inline void UpdateWorkRequest::unsafe_arena_set_allocated_work(::flex::Work* val } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:beeremote.UpdateWorkRequest.work) } -inline ::flex::Work* UpdateWorkRequest::release_work() { +inline ::flex::Work* PROTOBUF_NULLABLE UpdateWorkRequest::release_work() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000001u; @@ -8267,7 +8636,7 @@ inline ::flex::Work* UpdateWorkRequest::release_work() { } return released; } -inline ::flex::Work* UpdateWorkRequest::unsafe_arena_release_work() { +inline ::flex::Work* PROTOBUF_NULLABLE UpdateWorkRequest::unsafe_arena_release_work() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:beeremote.UpdateWorkRequest.work) @@ -8276,7 +8645,7 @@ inline ::flex::Work* UpdateWorkRequest::unsafe_arena_release_work() { _impl_.work_ = nullptr; return temp; } -inline ::flex::Work* UpdateWorkRequest::_internal_mutable_work() { +inline ::flex::Work* PROTOBUF_NONNULL UpdateWorkRequest::_internal_mutable_work() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.work_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::flex::Work>(GetArena()); @@ -8284,13 +8653,14 @@ inline ::flex::Work* UpdateWorkRequest::_internal_mutable_work() { } return _impl_.work_; } -inline ::flex::Work* UpdateWorkRequest::mutable_work() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::flex::Work* PROTOBUF_NONNULL 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) { +inline void UpdateWorkRequest::set_allocated_work(::flex::Work* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { @@ -8298,7 +8668,7 @@ inline void UpdateWorkRequest::set_allocated_work(::flex::Work* value) { } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } @@ -8330,12 +8700,12 @@ inline int GetRSTConfigResponse::_internal_rsts_size() const { inline int GetRSTConfigResponse::rsts_size() const { return _internal_rsts_size(); } -inline ::flex::RemoteStorageTarget* GetRSTConfigResponse::mutable_rsts(int index) +inline ::flex::RemoteStorageTarget* PROTOBUF_NONNULL 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() +inline ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget>* PROTOBUF_NONNULL GetRSTConfigResponse::mutable_rsts() ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_mutable_list:beeremote.GetRSTConfigResponse.rsts) ::google::protobuf::internal::TSanWrite(&_impl_); @@ -8346,7 +8716,8 @@ inline const ::flex::RemoteStorageTarget& GetRSTConfigResponse::rsts(int index) // @@protoc_insertion_point(field_get:beeremote.GetRSTConfigResponse.rsts) return _internal_rsts().Get(index); } -inline ::flex::RemoteStorageTarget* GetRSTConfigResponse::add_rsts() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::flex::RemoteStorageTarget* PROTOBUF_NONNULL 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) @@ -8362,7 +8733,7 @@ GetRSTConfigResponse::_internal_rsts() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.rsts_; } -inline ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget>* +inline ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget>* PROTOBUF_NONNULL GetRSTConfigResponse::_internal_mutable_rsts() { ::google::protobuf::internal::TSanRead(&_impl_); return &_impl_.rsts_; @@ -8376,43 +8747,60 @@ GetRSTConfigResponse::_internal_mutable_rsts() { inline void GetStubContentsRequest::clear_path() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.path_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; } -inline const std::string& GetStubContentsRequest::path() const +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) { +PROTOBUF_ALWAYS_INLINE void GetStubContentsRequest::set_path(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void GetStubContentsRequest::_internal_set_path(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _impl_.path_.Set(value, GetArena()); } -inline std::string* GetStubContentsRequest::_internal_mutable_path() { +inline ::std::string* PROTOBUF_NONNULL GetStubContentsRequest::_internal_mutable_path() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; return _impl_.path_.Mutable( GetArena()); } -inline std::string* GetStubContentsRequest::release_path() { +inline ::std::string* PROTOBUF_NULLABLE GetStubContentsRequest::release_path() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:beeremote.GetStubContentsRequest.path) - return _impl_.path_.Release(); + if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* released = _impl_.path_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.path_.Set("", GetArena()); + } + return released; } -inline void GetStubContentsRequest::set_allocated_path(std::string* value) { +inline void GetStubContentsRequest::set_allocated_path(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } _impl_.path_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.path_.IsDefault()) { _impl_.path_.Set("", GetArena()); @@ -8462,39 +8850,39 @@ inline void GetStubContentsResponse::clear_url() { _impl_.url_.ClearToEmpty(); _impl_._has_bits_[0] &= ~0x00000001u; } -inline const std::string& GetStubContentsResponse::url() const +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) { +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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +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() { +inline ::std::string* PROTOBUF_NONNULL 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() { +inline ::std::string* PROTOBUF_NULLABLE GetStubContentsResponse::release_url() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:beeremote.GetStubContentsResponse.url) if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { @@ -8507,7 +8895,7 @@ inline std::string* GetStubContentsResponse::release_url() { } return released; } -inline void GetStubContentsResponse::set_allocated_url(std::string* value) { +inline void GetStubContentsResponse::set_allocated_url(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (value != nullptr) { _impl_._has_bits_[0] |= 0x00000001u; @@ -8535,25 +8923,25 @@ namespace protobuf { template <> struct is_proto_enum<::beeremote::SubmitJobResponse_ResponseStatus> : std::true_type {}; template <> -inline const EnumDescriptor* GetEnumDescriptor<::beeremote::SubmitJobResponse_ResponseStatus>() { +inline const EnumDescriptor* PROTOBUF_NONNULL 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>() { +inline const EnumDescriptor* PROTOBUF_NONNULL 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>() { +inline const EnumDescriptor* PROTOBUF_NONNULL 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>() { +inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::beeremote::UpdateJobsRequest_NewState>() { return ::beeremote::UpdateJobsRequest_NewState_descriptor(); } diff --git a/cpp/include/proto/beewatch.grpc.pb.cc b/cpp/include/proto/beewatch.grpc.pb.cc new file mode 100644 index 0000000..00542c2 --- /dev/null +++ b/cpp/include/proto/beewatch.grpc.pb.cc @@ -0,0 +1,80 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: beewatch.proto + +#include "beewatch.pb.h" +#include "beewatch.grpc.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +namespace beewatch { + +static const char* Subscriber_method_names[] = { + "/beewatch.Subscriber/ReceiveEvents", +}; + +std::unique_ptr< Subscriber::Stub> Subscriber::NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) { + (void)options; + std::unique_ptr< Subscriber::Stub> stub(new Subscriber::Stub(channel, options)); + return stub; +} + +Subscriber::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) + : channel_(channel), rpcmethod_ReceiveEvents_(Subscriber_method_names[0], options.suffix_for_stats(),::grpc::internal::RpcMethod::BIDI_STREAMING, channel) + {} + +::grpc::ClientReaderWriter< ::beewatch::Event, ::beewatch::Response>* Subscriber::Stub::ReceiveEventsRaw(::grpc::ClientContext* context) { + return ::grpc::internal::ClientReaderWriterFactory< ::beewatch::Event, ::beewatch::Response>::Create(channel_.get(), rpcmethod_ReceiveEvents_, context); +} + +void Subscriber::Stub::async::ReceiveEvents(::grpc::ClientContext* context, ::grpc::ClientBidiReactor< ::beewatch::Event,::beewatch::Response>* reactor) { + ::grpc::internal::ClientCallbackReaderWriterFactory< ::beewatch::Event,::beewatch::Response>::Create(stub_->channel_.get(), stub_->rpcmethod_ReceiveEvents_, context, reactor); +} + +::grpc::ClientAsyncReaderWriter< ::beewatch::Event, ::beewatch::Response>* Subscriber::Stub::AsyncReceiveEventsRaw(::grpc::ClientContext* context, ::grpc::CompletionQueue* cq, void* tag) { + return ::grpc::internal::ClientAsyncReaderWriterFactory< ::beewatch::Event, ::beewatch::Response>::Create(channel_.get(), cq, rpcmethod_ReceiveEvents_, context, true, tag); +} + +::grpc::ClientAsyncReaderWriter< ::beewatch::Event, ::beewatch::Response>* Subscriber::Stub::PrepareAsyncReceiveEventsRaw(::grpc::ClientContext* context, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncReaderWriterFactory< ::beewatch::Event, ::beewatch::Response>::Create(channel_.get(), cq, rpcmethod_ReceiveEvents_, context, false, nullptr); +} + +Subscriber::Service::Service() { + AddMethod(new ::grpc::internal::RpcServiceMethod( + Subscriber_method_names[0], + ::grpc::internal::RpcMethod::BIDI_STREAMING, + new ::grpc::internal::BidiStreamingHandler< Subscriber::Service, ::beewatch::Event, ::beewatch::Response>( + [](Subscriber::Service* service, + ::grpc::ServerContext* ctx, + ::grpc::ServerReaderWriter<::beewatch::Response, + ::beewatch::Event>* stream) { + return service->ReceiveEvents(ctx, stream); + }, this))); +} + +Subscriber::Service::~Service() { +} + +::grpc::Status Subscriber::Service::ReceiveEvents(::grpc::ServerContext* context, ::grpc::ServerReaderWriter< ::beewatch::Response, ::beewatch::Event>* stream) { + (void) context; + (void) stream; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + + +} // namespace beewatch +#include + diff --git a/cpp/include/proto/beewatch.grpc.pb.h b/cpp/include/proto/beewatch.grpc.pb.h new file mode 100644 index 0000000..ade955e --- /dev/null +++ b/cpp/include/proto/beewatch.grpc.pb.h @@ -0,0 +1,216 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: beewatch.proto +#ifndef GRPC_beewatch_2eproto__INCLUDED +#define GRPC_beewatch_2eproto__INCLUDED + +#include "beewatch.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace beewatch { + +class Subscriber final { + public: + static constexpr char const* service_full_name() { + return "beewatch.Subscriber"; + } + class StubInterface { + public: + virtual ~StubInterface() {} + std::unique_ptr< ::grpc::ClientReaderWriterInterface< ::beewatch::Event, ::beewatch::Response>> ReceiveEvents(::grpc::ClientContext* context) { + return std::unique_ptr< ::grpc::ClientReaderWriterInterface< ::beewatch::Event, ::beewatch::Response>>(ReceiveEventsRaw(context)); + } + std::unique_ptr< ::grpc::ClientAsyncReaderWriterInterface< ::beewatch::Event, ::beewatch::Response>> AsyncReceiveEvents(::grpc::ClientContext* context, ::grpc::CompletionQueue* cq, void* tag) { + return std::unique_ptr< ::grpc::ClientAsyncReaderWriterInterface< ::beewatch::Event, ::beewatch::Response>>(AsyncReceiveEventsRaw(context, cq, tag)); + } + std::unique_ptr< ::grpc::ClientAsyncReaderWriterInterface< ::beewatch::Event, ::beewatch::Response>> PrepareAsyncReceiveEvents(::grpc::ClientContext* context, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncReaderWriterInterface< ::beewatch::Event, ::beewatch::Response>>(PrepareAsyncReceiveEventsRaw(context, cq)); + } + class async_interface { + public: + virtual ~async_interface() {} + virtual void ReceiveEvents(::grpc::ClientContext* context, ::grpc::ClientBidiReactor< ::beewatch::Event,::beewatch::Response>* reactor) = 0; + }; + typedef class async_interface experimental_async_interface; + virtual class async_interface* async() { return nullptr; } + class async_interface* experimental_async() { return async(); } + private: + virtual ::grpc::ClientReaderWriterInterface< ::beewatch::Event, ::beewatch::Response>* ReceiveEventsRaw(::grpc::ClientContext* context) = 0; + virtual ::grpc::ClientAsyncReaderWriterInterface< ::beewatch::Event, ::beewatch::Response>* AsyncReceiveEventsRaw(::grpc::ClientContext* context, ::grpc::CompletionQueue* cq, void* tag) = 0; + virtual ::grpc::ClientAsyncReaderWriterInterface< ::beewatch::Event, ::beewatch::Response>* PrepareAsyncReceiveEventsRaw(::grpc::ClientContext* context, ::grpc::CompletionQueue* cq) = 0; + }; + class Stub final : public StubInterface { + public: + Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options = ::grpc::StubOptions()); + std::unique_ptr< ::grpc::ClientReaderWriter< ::beewatch::Event, ::beewatch::Response>> ReceiveEvents(::grpc::ClientContext* context) { + return std::unique_ptr< ::grpc::ClientReaderWriter< ::beewatch::Event, ::beewatch::Response>>(ReceiveEventsRaw(context)); + } + std::unique_ptr< ::grpc::ClientAsyncReaderWriter< ::beewatch::Event, ::beewatch::Response>> AsyncReceiveEvents(::grpc::ClientContext* context, ::grpc::CompletionQueue* cq, void* tag) { + return std::unique_ptr< ::grpc::ClientAsyncReaderWriter< ::beewatch::Event, ::beewatch::Response>>(AsyncReceiveEventsRaw(context, cq, tag)); + } + std::unique_ptr< ::grpc::ClientAsyncReaderWriter< ::beewatch::Event, ::beewatch::Response>> PrepareAsyncReceiveEvents(::grpc::ClientContext* context, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncReaderWriter< ::beewatch::Event, ::beewatch::Response>>(PrepareAsyncReceiveEventsRaw(context, cq)); + } + class async final : + public StubInterface::async_interface { + public: + void ReceiveEvents(::grpc::ClientContext* context, ::grpc::ClientBidiReactor< ::beewatch::Event,::beewatch::Response>* reactor) override; + private: + friend class Stub; + explicit async(Stub* stub): stub_(stub) { } + Stub* stub() { return stub_; } + Stub* stub_; + }; + class async* async() override { return &async_stub_; } + + private: + std::shared_ptr< ::grpc::ChannelInterface> channel_; + class async async_stub_{this}; + ::grpc::ClientReaderWriter< ::beewatch::Event, ::beewatch::Response>* ReceiveEventsRaw(::grpc::ClientContext* context) override; + ::grpc::ClientAsyncReaderWriter< ::beewatch::Event, ::beewatch::Response>* AsyncReceiveEventsRaw(::grpc::ClientContext* context, ::grpc::CompletionQueue* cq, void* tag) override; + ::grpc::ClientAsyncReaderWriter< ::beewatch::Event, ::beewatch::Response>* PrepareAsyncReceiveEventsRaw(::grpc::ClientContext* context, ::grpc::CompletionQueue* cq) override; + const ::grpc::internal::RpcMethod rpcmethod_ReceiveEvents_; + }; + static std::unique_ptr NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options = ::grpc::StubOptions()); + + class Service : public ::grpc::Service { + public: + Service(); + virtual ~Service(); + virtual ::grpc::Status ReceiveEvents(::grpc::ServerContext* context, ::grpc::ServerReaderWriter< ::beewatch::Response, ::beewatch::Event>* stream); + }; + template + class WithAsyncMethod_ReceiveEvents : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_ReceiveEvents() { + ::grpc::Service::MarkMethodAsync(0); + } + ~WithAsyncMethod_ReceiveEvents() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status ReceiveEvents(::grpc::ServerContext* /*context*/, ::grpc::ServerReaderWriter< ::beewatch::Response, ::beewatch::Event>* /*stream*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestReceiveEvents(::grpc::ServerContext* context, ::grpc::ServerAsyncReaderWriter< ::beewatch::Response, ::beewatch::Event>* stream, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncBidiStreaming(0, context, stream, new_call_cq, notification_cq, tag); + } + }; + typedef WithAsyncMethod_ReceiveEvents AsyncService; + template + class WithCallbackMethod_ReceiveEvents : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithCallbackMethod_ReceiveEvents() { + ::grpc::Service::MarkMethodCallback(0, + new ::grpc::internal::CallbackBidiHandler< ::beewatch::Event, ::beewatch::Response>( + [this]( + ::grpc::CallbackServerContext* context) { return this->ReceiveEvents(context); })); + } + ~WithCallbackMethod_ReceiveEvents() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status ReceiveEvents(::grpc::ServerContext* /*context*/, ::grpc::ServerReaderWriter< ::beewatch::Response, ::beewatch::Event>* /*stream*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerBidiReactor< ::beewatch::Event, ::beewatch::Response>* ReceiveEvents( + ::grpc::CallbackServerContext* /*context*/) + { return nullptr; } + }; + typedef WithCallbackMethod_ReceiveEvents CallbackService; + typedef CallbackService ExperimentalCallbackService; + template + class WithGenericMethod_ReceiveEvents : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_ReceiveEvents() { + ::grpc::Service::MarkMethodGeneric(0); + } + ~WithGenericMethod_ReceiveEvents() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status ReceiveEvents(::grpc::ServerContext* /*context*/, ::grpc::ServerReaderWriter< ::beewatch::Response, ::beewatch::Event>* /*stream*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithRawMethod_ReceiveEvents : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_ReceiveEvents() { + ::grpc::Service::MarkMethodRaw(0); + } + ~WithRawMethod_ReceiveEvents() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status ReceiveEvents(::grpc::ServerContext* /*context*/, ::grpc::ServerReaderWriter< ::beewatch::Response, ::beewatch::Event>* /*stream*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestReceiveEvents(::grpc::ServerContext* context, ::grpc::ServerAsyncReaderWriter< ::grpc::ByteBuffer, ::grpc::ByteBuffer>* stream, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncBidiStreaming(0, context, stream, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawCallbackMethod_ReceiveEvents : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawCallbackMethod_ReceiveEvents() { + ::grpc::Service::MarkMethodRawCallback(0, + new ::grpc::internal::CallbackBidiHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + ::grpc::CallbackServerContext* context) { return this->ReceiveEvents(context); })); + } + ~WithRawCallbackMethod_ReceiveEvents() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status ReceiveEvents(::grpc::ServerContext* /*context*/, ::grpc::ServerReaderWriter< ::beewatch::Response, ::beewatch::Event>* /*stream*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerBidiReactor< ::grpc::ByteBuffer, ::grpc::ByteBuffer>* ReceiveEvents( + ::grpc::CallbackServerContext* /*context*/) + { return nullptr; } + }; + typedef Service StreamedUnaryService; + typedef Service SplitStreamedService; + typedef Service StreamedService; +}; + +} // namespace beewatch + + +#include +#endif // GRPC_beewatch_2eproto__INCLUDED diff --git a/cpp/include/proto/beewatch.pb.cc b/cpp/include/proto/beewatch.pb.cc new file mode 100644 index 0000000..3152880 --- /dev/null +++ b/cpp/include/proto/beewatch.pb.cc @@ -0,0 +1,2211 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: beewatch.proto +// Protobuf C++ Version: 6.31.1 + +#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 + : _cached_size_{0}, + 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}} {} + +template +PROTOBUF_CONSTEXPR V2Event::V2Event(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(V2Event_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 + : _cached_size_{0}, + 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)} {} + +template +PROTOBUF_CONSTEXPR V1Event::V1Event(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(V1Event_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 + : _cached_size_{0}, + completed_seq_{::uint64_t{0u}}, + shutting_down_{false} {} + +template +PROTOBUF_CONSTEXPR Response::Response(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(Response_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(Event_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* PROTOBUF_NONNULL + file_level_enum_descriptors_beewatch_2eproto[2]; +static constexpr const ::_pb::ServiceDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE + file_level_service_descriptors_beewatch_2eproto = nullptr; +const ::uint32_t + TableStruct_beewatch_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + 0x085, // bitmap + PROTOBUF_FIELD_OFFSET(::beewatch::Event, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::beewatch::Event, _impl_._oneof_case_[0]), + 11, // hasbit index offset + 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_), + 0, + 1, + 2, + 3, + ~0u, + ~0u, + 0x081, // bitmap + PROTOBUF_FIELD_OFFSET(::beewatch::V1Event, _impl_._has_bits_), + 11, // hasbit index offset + 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_), + 7, + 5, + 6, + 0, + 1, + 2, + 3, + 4, + 0x081, // bitmap + PROTOBUF_FIELD_OFFSET(::beewatch::V2Event, _impl_._has_bits_), + 12, // hasbit index offset + 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_), + 6, + 5, + 0, + 1, + 2, + 3, + 4, + 7, + 8, + 0x081, // bitmap + PROTOBUF_FIELD_OFFSET(::beewatch::Response, _impl_._has_bits_), + 5, // hasbit index offset + PROTOBUF_FIELD_OFFSET(::beewatch::Response, _impl_.completed_seq_), + PROTOBUF_FIELD_OFFSET(::beewatch::Response, _impl_.shutting_down_), + 0, + 1, +}; + +static const ::_pbi::MigrationSchema + schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + {0, sizeof(::beewatch::Event)}, + {17, sizeof(::beewatch::V1Event)}, + {36, sizeof(::beewatch::V2Event)}, + {57, sizeof(::beewatch::Response)}, +}; +static const ::_pb::Message* PROTOBUF_NONNULL 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* PROTOBUF_NONNULL 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, }; +const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL 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, }; +// =================================================================== + +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* PROTOBUF_NULLABLE 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* PROTOBUF_NULLABLE 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* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, Event_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:beewatch.Event) +} +PROTOBUF_NDEBUG_INLINE Event::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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* PROTOBUF_NULLABLE arena, + const Event& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, Event_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(arena, *from._impl_.event_data_.v1_); + break; + case kV2: + _impl_.event_data_.v2_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.event_data_.v2_); + break; + } + + // @@protoc_insertion_point(copy_constructor:beewatch.Event) +} +PROTOBUF_NDEBUG_INLINE Event::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + event_data_{}, + _oneof_case_{} {} + +inline void Event::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE 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* PROTOBUF_NONNULL Event::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) Event(arena); +} +constexpr auto Event::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Event), + alignof(Event)); +} +constexpr auto Event::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull Event_class_data_ = + Event::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +Event::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&Event_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(Event_class_data_.tc_table); + return Event_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), + Event_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_), 3>(), + {32, 3, 0, PROTOBUF_FIELD_OFFSET(Event, _impl_.event_flags_)}}, + // uint64 seq_id = 1; + {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(Event, _impl_.seq_id_), 0>(), + {8, 0, 0, PROTOBUF_FIELD_OFFSET(Event, _impl_.seq_id_)}}, + // uint32 meta_id = 2; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Event, _impl_.meta_id_), 1>(), + {16, 1, 0, PROTOBUF_FIELD_OFFSET(Event, _impl_.meta_id_)}}, + // optional uint32 meta_mirror = 3; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Event, _impl_.meta_mirror_), 2>(), + {24, 2, 0, PROTOBUF_FIELD_OFFSET(Event, _impl_.meta_mirror_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // uint64 seq_id = 1; + {PROTOBUF_FIELD_OFFSET(Event, _impl_.seq_id_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, + // uint32 meta_id = 2; + {PROTOBUF_FIELD_OFFSET(Event, _impl_.meta_id_), _Internal::kHasBitsOffset + 1, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // optional uint32 meta_mirror = 3; + {PROTOBUF_FIELD_OFFSET(Event, _impl_.meta_mirror_), _Internal::kHasBitsOffset + 2, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // uint32 event_flags = 4; + {PROTOBUF_FIELD_OFFSET(Event, _impl_.event_flags_), _Internal::kHasBitsOffset + 3, 0, + (0 | ::_fl::kFcOptional | ::_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; + + cached_has_bits = _impl_._has_bits_[0]; + if ((cached_has_bits & 0x0000000fu) != 0) { + ::memset(&_impl_.seq_id_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.event_flags_) - + reinterpret_cast(&_impl_.seq_id_)) + sizeof(_impl_.event_flags_)); + } + clear_event_data(); + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL Event::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const Event& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL Event::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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_._impl_._has_bits_[0] & 0x00000001u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000002u) != 0) { + 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 & 0x00000004u) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 3, this_._internal_meta_mirror(), target); + } + + // uint32 event_flags = 4; + if ((cached_has_bits & 0x00000008u) != 0) { + 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 (ABSL_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_); + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x0000000fu) != 0) { + // uint64 seq_id = 1; + if ((cached_has_bits & 0x00000001u) != 0) { + if (this_._internal_seq_id() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( + this_._internal_seq_id()); + } + } + // uint32 meta_id = 2; + if ((cached_has_bits & 0x00000002u) != 0) { + if (this_._internal_meta_id() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_meta_id()); + } + } + // optional uint32 meta_mirror = 3; + if ((cached_has_bits & 0x00000004u) != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_meta_mirror()); + } + // uint32 event_flags = 4; + if ((cached_has_bits & 0x00000008u) != 0) { + 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; + + cached_has_bits = from._impl_._has_bits_[0]; + if ((cached_has_bits & 0x0000000fu) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + if (from._internal_seq_id() != 0) { + _this->_impl_.seq_id_ = from._impl_.seq_id_; + } + } + if ((cached_has_bits & 0x00000002u) != 0) { + if (from._internal_meta_id() != 0) { + _this->_impl_.meta_id_ = from._impl_.meta_id_; + } + } + if ((cached_has_bits & 0x00000004u) != 0) { + _this->_impl_.meta_mirror_ = from._impl_.meta_mirror_; + } + if ((cached_has_bits & 0x00000008u) != 0) { + 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(arena, *from._impl_.event_data_.v1_); + } else { + _this->_impl_.event_data_.v1_->MergeFrom(*from._impl_.event_data_.v1_); + } + break; + } + case kV2: { + if (oneof_needs_init) { + _this->_impl_.event_data_.v2_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.event_data_.v2_); + } else { + _this->_impl_.event_data_.v2_->MergeFrom(*from._impl_.event_data_.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 PROTOBUF_NONNULL 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: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(V1Event, _impl_._has_bits_); +}; + +V1Event::V1Event(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, V1Event_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:beewatch.V1Event) +} +PROTOBUF_NDEBUG_INLINE V1Event::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::beewatch::V1Event& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + 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_) {} + +V1Event::V1Event( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const V1Event& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, V1Event_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) +} +PROTOBUF_NDEBUG_INLINE V1Event::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + path_(arena), + entry_id_(arena), + parent_entry_id_(arena), + target_path_(arena), + target_parent_id_(arena) {} + +inline void V1Event::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE 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* PROTOBUF_NONNULL V1Event::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) V1Event(arena); +} +constexpr auto V1Event::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(V1Event), + alignof(V1Event)); +} +constexpr auto V1Event::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull V1Event_class_data_ = + V1Event::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +V1Event::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&V1Event_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(V1Event_class_data_.tc_table); + return V1Event_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<3, 8, 0, 87, 2> +V1Event::_table_ = { + { + PROTOBUF_FIELD_OFFSET(V1Event, _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 + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + V1Event_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, 4, 0, PROTOBUF_FIELD_OFFSET(V1Event, _impl_.target_parent_id_)}}, + // .beewatch.V1Event.Type type = 1; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(V1Event, _impl_.type_), 7>(), + {8, 7, 0, PROTOBUF_FIELD_OFFSET(V1Event, _impl_.type_)}}, + // uint64 dropped_seq = 2; + {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(V1Event, _impl_.dropped_seq_), 5>(), + {16, 5, 0, PROTOBUF_FIELD_OFFSET(V1Event, _impl_.dropped_seq_)}}, + // uint64 missed_seq = 3; + {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(V1Event, _impl_.missed_seq_), 6>(), + {24, 6, 0, PROTOBUF_FIELD_OFFSET(V1Event, _impl_.missed_seq_)}}, + // string path = 4; + {::_pbi::TcParser::FastUS1, + {34, 0, 0, PROTOBUF_FIELD_OFFSET(V1Event, _impl_.path_)}}, + // string entry_id = 5; + {::_pbi::TcParser::FastUS1, + {42, 1, 0, PROTOBUF_FIELD_OFFSET(V1Event, _impl_.entry_id_)}}, + // string parent_entry_id = 6; + {::_pbi::TcParser::FastUS1, + {50, 2, 0, PROTOBUF_FIELD_OFFSET(V1Event, _impl_.parent_entry_id_)}}, + // string target_path = 7; + {::_pbi::TcParser::FastUS1, + {58, 3, 0, PROTOBUF_FIELD_OFFSET(V1Event, _impl_.target_path_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .beewatch.V1Event.Type type = 1; + {PROTOBUF_FIELD_OFFSET(V1Event, _impl_.type_), _Internal::kHasBitsOffset + 7, 0, + (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)}, + // uint64 dropped_seq = 2; + {PROTOBUF_FIELD_OFFSET(V1Event, _impl_.dropped_seq_), _Internal::kHasBitsOffset + 5, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, + // uint64 missed_seq = 3; + {PROTOBUF_FIELD_OFFSET(V1Event, _impl_.missed_seq_), _Internal::kHasBitsOffset + 6, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, + // string path = 4; + {PROTOBUF_FIELD_OFFSET(V1Event, _impl_.path_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string entry_id = 5; + {PROTOBUF_FIELD_OFFSET(V1Event, _impl_.entry_id_), _Internal::kHasBitsOffset + 1, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string parent_entry_id = 6; + {PROTOBUF_FIELD_OFFSET(V1Event, _impl_.parent_entry_id_), _Internal::kHasBitsOffset + 2, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string target_path = 7; + {PROTOBUF_FIELD_OFFSET(V1Event, _impl_.target_path_), _Internal::kHasBitsOffset + 3, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string target_parent_id = 8; + {PROTOBUF_FIELD_OFFSET(V1Event, _impl_.target_parent_id_), _Internal::kHasBitsOffset + 4, 0, + (0 | ::_fl::kFcOptional | ::_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; + + cached_has_bits = _impl_._has_bits_[0]; + if ((cached_has_bits & 0x0000001fu) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + _impl_.path_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000002u) != 0) { + _impl_.entry_id_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000004u) != 0) { + _impl_.parent_entry_id_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000008u) != 0) { + _impl_.target_path_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000010u) != 0) { + _impl_.target_parent_id_.ClearNonDefaultToEmpty(); + } + } + if ((cached_has_bits & 0x000000e0u) != 0) { + ::memset(&_impl_.dropped_seq_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.type_) - + reinterpret_cast(&_impl_.dropped_seq_)) + sizeof(_impl_.type_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL V1Event::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const V1Event& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL V1Event::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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_._impl_._has_bits_[0] & 0x00000080u) != 0) { + if (this_._internal_type() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 1, this_._internal_type(), target); + } + } + + // uint64 dropped_seq = 2; + if ((this_._impl_._has_bits_[0] & 0x00000020u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000040u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000001u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000002u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000004u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000008u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000010u) != 0) { + 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 (ABSL_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_); + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x000000ffu) != 0) { + // string path = 4; + if ((cached_has_bits & 0x00000001u) != 0) { + if (!this_._internal_path().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_path()); + } + } + // string entry_id = 5; + if ((cached_has_bits & 0x00000002u) != 0) { + if (!this_._internal_entry_id().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_entry_id()); + } + } + // string parent_entry_id = 6; + if ((cached_has_bits & 0x00000004u) != 0) { + 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 ((cached_has_bits & 0x00000008u) != 0) { + if (!this_._internal_target_path().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_target_path()); + } + } + // string target_parent_id = 8; + if ((cached_has_bits & 0x00000010u) != 0) { + 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 ((cached_has_bits & 0x00000020u) != 0) { + if (this_._internal_dropped_seq() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( + this_._internal_dropped_seq()); + } + } + // uint64 missed_seq = 3; + if ((cached_has_bits & 0x00000040u) != 0) { + if (this_._internal_missed_seq() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( + this_._internal_missed_seq()); + } + } + // .beewatch.V1Event.Type type = 1; + if ((cached_has_bits & 0x00000080u) != 0) { + 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; + + cached_has_bits = from._impl_._has_bits_[0]; + if ((cached_has_bits & 0x000000ffu) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + if (!from._internal_path().empty()) { + _this->_internal_set_path(from._internal_path()); + } else { + if (_this->_impl_.path_.IsDefault()) { + _this->_internal_set_path(""); + } + } + } + if ((cached_has_bits & 0x00000002u) != 0) { + if (!from._internal_entry_id().empty()) { + _this->_internal_set_entry_id(from._internal_entry_id()); + } else { + if (_this->_impl_.entry_id_.IsDefault()) { + _this->_internal_set_entry_id(""); + } + } + } + if ((cached_has_bits & 0x00000004u) != 0) { + if (!from._internal_parent_entry_id().empty()) { + _this->_internal_set_parent_entry_id(from._internal_parent_entry_id()); + } else { + if (_this->_impl_.parent_entry_id_.IsDefault()) { + _this->_internal_set_parent_entry_id(""); + } + } + } + if ((cached_has_bits & 0x00000008u) != 0) { + if (!from._internal_target_path().empty()) { + _this->_internal_set_target_path(from._internal_target_path()); + } else { + if (_this->_impl_.target_path_.IsDefault()) { + _this->_internal_set_target_path(""); + } + } + } + if ((cached_has_bits & 0x00000010u) != 0) { + if (!from._internal_target_parent_id().empty()) { + _this->_internal_set_target_parent_id(from._internal_target_parent_id()); + } else { + if (_this->_impl_.target_parent_id_.IsDefault()) { + _this->_internal_set_target_parent_id(""); + } + } + } + if ((cached_has_bits & 0x00000020u) != 0) { + if (from._internal_dropped_seq() != 0) { + _this->_impl_.dropped_seq_ = from._impl_.dropped_seq_; + } + } + if ((cached_has_bits & 0x00000040u) != 0) { + if (from._internal_missed_seq() != 0) { + _this->_impl_.missed_seq_ = from._impl_.missed_seq_; + } + } + if ((cached_has_bits & 0x00000080u) != 0) { + if (from._internal_type() != 0) { + _this->_impl_.type_ = from._impl_.type_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _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 PROTOBUF_NONNULL 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_.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: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(V2Event, _impl_._has_bits_); +}; + +V2Event::V2Event(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, V2Event_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:beewatch.V2Event) +} +PROTOBUF_NDEBUG_INLINE V2Event::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::beewatch::V2Event& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + 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_) {} + +V2Event::V2Event( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const V2Event& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, V2Event_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) +} +PROTOBUF_NDEBUG_INLINE V2Event::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + path_(arena), + entry_id_(arena), + parent_entry_id_(arena), + target_path_(arena), + target_parent_id_(arena) {} + +inline void V2Event::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE 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* PROTOBUF_NONNULL V2Event::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) V2Event(arena); +} +constexpr auto V2Event::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(V2Event), + alignof(V2Event)); +} +constexpr auto V2Event::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull V2Event_class_data_ = + V2Event::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +V2Event::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&V2Event_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(V2Event_class_data_.tc_table); + return V2Event_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<4, 9, 0, 87, 2> +V2Event::_table_ = { + { + PROTOBUF_FIELD_OFFSET(V2Event, _impl_._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 + V2Event_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_), 6>(), + {8, 6, 0, PROTOBUF_FIELD_OFFSET(V2Event, _impl_.type_)}}, + // uint64 num_links = 2; + {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(V2Event, _impl_.num_links_), 5>(), + {16, 5, 0, PROTOBUF_FIELD_OFFSET(V2Event, _impl_.num_links_)}}, + // string path = 3; + {::_pbi::TcParser::FastUS1, + {26, 0, 0, PROTOBUF_FIELD_OFFSET(V2Event, _impl_.path_)}}, + // string entry_id = 4; + {::_pbi::TcParser::FastUS1, + {34, 1, 0, PROTOBUF_FIELD_OFFSET(V2Event, _impl_.entry_id_)}}, + // string parent_entry_id = 5; + {::_pbi::TcParser::FastUS1, + {42, 2, 0, PROTOBUF_FIELD_OFFSET(V2Event, _impl_.parent_entry_id_)}}, + // string target_path = 6; + {::_pbi::TcParser::FastUS1, + {50, 3, 0, PROTOBUF_FIELD_OFFSET(V2Event, _impl_.target_path_)}}, + // string target_parent_id = 7; + {::_pbi::TcParser::FastUS1, + {58, 4, 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_), 7>(), + {64, 7, 0, PROTOBUF_FIELD_OFFSET(V2Event, _impl_.msg_user_id_)}}, + // int64 timestamp = 9; + {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(V2Event, _impl_.timestamp_), 8>(), + {72, 8, 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_), _Internal::kHasBitsOffset + 6, 0, + (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)}, + // uint64 num_links = 2; + {PROTOBUF_FIELD_OFFSET(V2Event, _impl_.num_links_), _Internal::kHasBitsOffset + 5, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, + // string path = 3; + {PROTOBUF_FIELD_OFFSET(V2Event, _impl_.path_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string entry_id = 4; + {PROTOBUF_FIELD_OFFSET(V2Event, _impl_.entry_id_), _Internal::kHasBitsOffset + 1, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string parent_entry_id = 5; + {PROTOBUF_FIELD_OFFSET(V2Event, _impl_.parent_entry_id_), _Internal::kHasBitsOffset + 2, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string target_path = 6; + {PROTOBUF_FIELD_OFFSET(V2Event, _impl_.target_path_), _Internal::kHasBitsOffset + 3, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string target_parent_id = 7; + {PROTOBUF_FIELD_OFFSET(V2Event, _impl_.target_parent_id_), _Internal::kHasBitsOffset + 4, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // uint32 msg_user_id = 8; + {PROTOBUF_FIELD_OFFSET(V2Event, _impl_.msg_user_id_), _Internal::kHasBitsOffset + 7, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // int64 timestamp = 9; + {PROTOBUF_FIELD_OFFSET(V2Event, _impl_.timestamp_), _Internal::kHasBitsOffset + 8, 0, + (0 | ::_fl::kFcOptional | ::_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; + + cached_has_bits = _impl_._has_bits_[0]; + if ((cached_has_bits & 0x0000001fu) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + _impl_.path_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000002u) != 0) { + _impl_.entry_id_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000004u) != 0) { + _impl_.parent_entry_id_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000008u) != 0) { + _impl_.target_path_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000010u) != 0) { + _impl_.target_parent_id_.ClearNonDefaultToEmpty(); + } + } + if ((cached_has_bits & 0x000000e0u) != 0) { + ::memset(&_impl_.num_links_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.msg_user_id_) - + reinterpret_cast(&_impl_.num_links_)) + sizeof(_impl_.msg_user_id_)); + } + _impl_.timestamp_ = ::int64_t{0}; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL V2Event::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const V2Event& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL V2Event::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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_._impl_._has_bits_[0] & 0x00000040u) != 0) { + if (this_._internal_type() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 1, this_._internal_type(), target); + } + } + + // uint64 num_links = 2; + if ((this_._impl_._has_bits_[0] & 0x00000020u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000001u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000002u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000004u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000008u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000010u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000080u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000100u) != 0) { + if (this_._internal_timestamp() != 0) { + target = + ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<9>( + stream, this_._internal_timestamp(), target); + } + } + + if (ABSL_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_); + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x000000ffu) != 0) { + // string path = 3; + if ((cached_has_bits & 0x00000001u) != 0) { + if (!this_._internal_path().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_path()); + } + } + // string entry_id = 4; + if ((cached_has_bits & 0x00000002u) != 0) { + if (!this_._internal_entry_id().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_entry_id()); + } + } + // string parent_entry_id = 5; + if ((cached_has_bits & 0x00000004u) != 0) { + 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 ((cached_has_bits & 0x00000008u) != 0) { + if (!this_._internal_target_path().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_target_path()); + } + } + // string target_parent_id = 7; + if ((cached_has_bits & 0x00000010u) != 0) { + 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 ((cached_has_bits & 0x00000020u) != 0) { + if (this_._internal_num_links() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( + this_._internal_num_links()); + } + } + // .beewatch.V2Event.Type type = 1; + if ((cached_has_bits & 0x00000040u) != 0) { + if (this_._internal_type() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_type()); + } + } + // uint32 msg_user_id = 8; + if ((cached_has_bits & 0x00000080u) != 0) { + if (this_._internal_msg_user_id() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_msg_user_id()); + } + } + } + { + // int64 timestamp = 9; + if ((cached_has_bits & 0x00000100u) != 0) { + 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; + + cached_has_bits = from._impl_._has_bits_[0]; + if ((cached_has_bits & 0x000000ffu) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + if (!from._internal_path().empty()) { + _this->_internal_set_path(from._internal_path()); + } else { + if (_this->_impl_.path_.IsDefault()) { + _this->_internal_set_path(""); + } + } + } + if ((cached_has_bits & 0x00000002u) != 0) { + if (!from._internal_entry_id().empty()) { + _this->_internal_set_entry_id(from._internal_entry_id()); + } else { + if (_this->_impl_.entry_id_.IsDefault()) { + _this->_internal_set_entry_id(""); + } + } + } + if ((cached_has_bits & 0x00000004u) != 0) { + if (!from._internal_parent_entry_id().empty()) { + _this->_internal_set_parent_entry_id(from._internal_parent_entry_id()); + } else { + if (_this->_impl_.parent_entry_id_.IsDefault()) { + _this->_internal_set_parent_entry_id(""); + } + } + } + if ((cached_has_bits & 0x00000008u) != 0) { + if (!from._internal_target_path().empty()) { + _this->_internal_set_target_path(from._internal_target_path()); + } else { + if (_this->_impl_.target_path_.IsDefault()) { + _this->_internal_set_target_path(""); + } + } + } + if ((cached_has_bits & 0x00000010u) != 0) { + if (!from._internal_target_parent_id().empty()) { + _this->_internal_set_target_parent_id(from._internal_target_parent_id()); + } else { + if (_this->_impl_.target_parent_id_.IsDefault()) { + _this->_internal_set_target_parent_id(""); + } + } + } + if ((cached_has_bits & 0x00000020u) != 0) { + if (from._internal_num_links() != 0) { + _this->_impl_.num_links_ = from._impl_.num_links_; + } + } + if ((cached_has_bits & 0x00000040u) != 0) { + if (from._internal_type() != 0) { + _this->_impl_.type_ = from._impl_.type_; + } + } + if ((cached_has_bits & 0x00000080u) != 0) { + if (from._internal_msg_user_id() != 0) { + _this->_impl_.msg_user_id_ = from._impl_.msg_user_id_; + } + } + } + if ((cached_has_bits & 0x00000100u) != 0) { + if (from._internal_timestamp() != 0) { + _this->_impl_.timestamp_ = from._impl_.timestamp_; + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _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 PROTOBUF_NONNULL 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_.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: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(Response, _impl_._has_bits_); +}; + +Response::Response(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, Response_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* PROTOBUF_NULLABLE arena, const Response& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, Response_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); +} +PROTOBUF_NDEBUG_INLINE Response::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0} {} + +inline void Response::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE 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* PROTOBUF_NONNULL Response::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) Response(arena); +} +constexpr auto Response::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Response), + alignof(Response)); +} +constexpr auto Response::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull Response_class_data_ = + Response::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +Response::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&Response_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(Response_class_data_.tc_table); + return Response_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 0, 0, 2> +Response::_table_ = { + { + PROTOBUF_FIELD_OFFSET(Response, _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 + Response_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, 1, 0, PROTOBUF_FIELD_OFFSET(Response, _impl_.shutting_down_)}}, + // uint64 completed_seq = 1; + {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(Response, _impl_.completed_seq_), 0>(), + {8, 0, 0, PROTOBUF_FIELD_OFFSET(Response, _impl_.completed_seq_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // uint64 completed_seq = 1; + {PROTOBUF_FIELD_OFFSET(Response, _impl_.completed_seq_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, + // bool shutting_down = 2; + {PROTOBUF_FIELD_OFFSET(Response, _impl_.shutting_down_), _Internal::kHasBitsOffset + 1, 0, + (0 | ::_fl::kFcOptional | ::_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; + + cached_has_bits = _impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000003u) != 0) { + ::memset(&_impl_.completed_seq_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.shutting_down_) - + reinterpret_cast(&_impl_.completed_seq_)) + sizeof(_impl_.shutting_down_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL Response::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const Response& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL Response::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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_._impl_._has_bits_[0] & 0x00000001u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000002u) != 0) { + if (this_._internal_shutting_down() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this_._internal_shutting_down(), target); + } + } + + if (ABSL_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_); + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000003u) != 0) { + // uint64 completed_seq = 1; + if ((cached_has_bits & 0x00000001u) != 0) { + if (this_._internal_completed_seq() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( + this_._internal_completed_seq()); + } + } + // bool shutting_down = 2; + if ((cached_has_bits & 0x00000002u) != 0) { + 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; + + cached_has_bits = from._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000003u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + if (from._internal_completed_seq() != 0) { + _this->_impl_.completed_seq_ = from._impl_.completed_seq_; + } + } + if ((cached_has_bits & 0x00000002u) != 0) { + if (from._internal_shutting_down() != 0) { + _this->_impl_.shutting_down_ = from._impl_.shutting_down_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _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 PROTOBUF_NONNULL 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(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_ [[maybe_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/include/proto/beewatch.pb.h similarity index 62% rename from cpp/beewatch.pb.h rename to cpp/include/proto/beewatch.pb.h index 6fc9bbb..0399ec7 100644 --- a/cpp/beewatch.pb.h +++ b/cpp/include/proto/beewatch.pb.h @@ -1,7 +1,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // NO CHECKED-IN PROTOBUF GENCODE // source: beewatch.proto -// Protobuf C++ Version: 5.29.2 +// Protobuf C++ Version: 6.31.1 #ifndef beewatch_2eproto_2epb_2eh #define beewatch_2eproto_2epb_2eh @@ -12,7 +12,7 @@ #include #include "google/protobuf/runtime_version.h" -#if PROTOBUF_VERSION != 5029002 +#if PROTOBUF_VERSION != 6031001 #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" @@ -50,24 +50,39 @@ ::absl::string_view GetAnyMessageName(); struct TableStruct_beewatch_2eproto { static const ::uint32_t offsets[]; }; -extern const ::google::protobuf::internal::DescriptorTable - descriptor_table_beewatch_2eproto; +extern "C" { +extern const ::google::protobuf::internal::DescriptorTable descriptor_table_beewatch_2eproto; +} // extern "C" namespace beewatch { +enum V1Event_Type : int; +extern const uint32_t V1Event_Type_internal_data_[]; +enum V2Event_Type : int; +extern const uint32_t V2Event_Type_internal_data_[]; class Event; struct EventDefaultTypeInternal; extern EventDefaultTypeInternal _Event_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull Event_class_data_; class Response; struct ResponseDefaultTypeInternal; extern ResponseDefaultTypeInternal _Response_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull Response_class_data_; class V1Event; struct V1EventDefaultTypeInternal; extern V1EventDefaultTypeInternal _V1Event_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull V1Event_class_data_; class V2Event; struct V2EventDefaultTypeInternal; extern V2EventDefaultTypeInternal _V2Event_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull V2Event_class_data_; } // namespace beewatch namespace google { namespace protobuf { +template <> +internal::EnumTraitsT<::beewatch::V1Event_Type_internal_data_> + internal::EnumTraitsImpl::value<::beewatch::V1Event_Type>; +template <> +internal::EnumTraitsT<::beewatch::V2Event_Type_internal_data_> + internal::EnumTraitsImpl::value<::beewatch::V2Event_Type>; } // namespace protobuf } // namespace google @@ -87,34 +102,37 @@ enum V1Event_Type : int { V1Event_Type_RENAME = 11, V1Event_Type_READ = 12, V1Event_Type_V1Event_Type_INT_MIN_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::min(), + ::std::numeric_limits<::int32_t>::min(), V1Event_Type_V1Event_Type_INT_MAX_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::max(), + ::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(); +inline constexpr V1Event_Type V1Event_Type_Type_MIN = + static_cast(0); +inline constexpr V1Event_Type V1Event_Type_Type_MAX = + static_cast(12); +inline bool V1Event_Type_IsValid(int value) { + return 0 <= value && value <= 12; +} +inline constexpr int V1Event_Type_Type_ARRAYSIZE = 12 + 1; +const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL V1Event_Type_descriptor(); template -const std::string& V1Event_Type_Name(T value) { - static_assert(std::is_same::value || - std::is_integral::value, +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( +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); +inline bool V1Event_Type_Parse( + ::absl::string_view name, V1Event_Type* PROTOBUF_NONNULL value) { + return ::google::protobuf::internal::ParseNamedEnum(V1Event_Type_descriptor(), name, + value); } enum V2Event_Type : int { V2Event_Type_INVALID = 0, @@ -138,34 +156,37 @@ enum V2Event_Type : int { 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(), + ::std::numeric_limits<::int32_t>::min(), V2Event_Type_V2Event_Type_INT_MAX_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::max(), + ::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(); +inline constexpr V2Event_Type V2Event_Type_Type_MIN = + static_cast(0); +inline constexpr V2Event_Type V2Event_Type_Type_MAX = + static_cast(19); +inline bool V2Event_Type_IsValid(int value) { + return 0 <= value && value <= 19; +} +inline constexpr int V2Event_Type_Type_ARRAYSIZE = 19 + 1; +const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL V2Event_Type_descriptor(); template -const std::string& V2Event_Type_Name(T value) { - static_assert(std::is_same::value || - std::is_integral::value, +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( +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); +inline bool V2Event_Type_Parse( + ::absl::string_view name, V2Event_Type* PROTOBUF_NONNULL value) { + return ::google::protobuf::internal::ParseNamedEnum(V2Event_Type_descriptor(), name, + value); } // =================================================================== @@ -180,19 +201,18 @@ class V2Event final : public ::google::protobuf::Message ~V2Event() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(V2Event* msg, std::destroying_delete_t) { + void operator delete(V2Event* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(V2Event)); } #endif template - explicit PROTOBUF_CONSTEXPR V2Event( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : V2Event(nullptr, ::std::move(from)) {} inline V2Event& operator=(const V2Event& from) { CopyFrom(from); return *this; @@ -211,30 +231,27 @@ class V2Event final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(V2Event* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -242,7 +259,7 @@ class V2Event final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(V2Event* other) { + void UnsafeArenaSwap(V2Event* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -250,7 +267,7 @@ class V2Event final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - V2Event* New(::google::protobuf::Arena* arena = nullptr) const { + V2Event* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -259,9 +276,8 @@ class V2Event final : public ::google::protobuf::Message void MergeFrom(const V2Event& from) { V2Event::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -271,49 +287,51 @@ class V2Event final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(V2Event* other); + void InternalSwap(V2Event* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit V2Event(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + V2Event(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const V2Event& from); + V2Event( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- using Type = V2Event_Type; @@ -343,14 +361,15 @@ class V2Event final : public ::google::protobuf::Message 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() { + static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL Type_descriptor() { return V2Event_Type_descriptor(); } template - static inline const std::string& Type_Name(T value) { + 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) { + static inline bool Type_Parse( + ::absl::string_view name, Type* PROTOBUF_NONNULL value) { return V2Event_Type_Parse(name, value); } @@ -368,82 +387,77 @@ class V2Event final : public ::google::protobuf::Message }; // string path = 3; void clear_path() ; - const std::string& path() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_path(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_path(); + void set_allocated_path(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_path() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_path(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_path(); public: // string entry_id = 4; void clear_entry_id() ; - const std::string& entry_id() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_entry_id(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_entry_id(); + void set_allocated_entry_id(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_entry_id() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_entry_id(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_entry_id(); public: // string parent_entry_id = 5; void clear_parent_entry_id() ; - const std::string& parent_entry_id() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_parent_entry_id(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_parent_entry_id(); + void set_allocated_parent_entry_id(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_parent_entry_id() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_parent_entry_id(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_parent_entry_id(); public: // string target_path = 6; void clear_target_path() ; - const std::string& target_path() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_target_path(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_target_path(); + void set_allocated_target_path(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_target_path() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_target_path(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_target_path(); public: // string target_parent_id = 7; void clear_target_parent_id() ; - const std::string& target_parent_id() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_target_parent_id(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_target_parent_id(); + void set_allocated_target_parent_id(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_target_parent_id() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_target_parent_id(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_target_parent_id(); public: // uint64 num_links = 2; @@ -490,9 +504,9 @@ class V2Event final : public ::google::protobuf::Message private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 4, 9, 0, - 87, 2> + static const ::google::protobuf::internal::TcParseTable<4, 9, + 0, 87, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -502,13 +516,16 @@ class V2Event final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const V2Event& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; ::google::protobuf::internal::ArenaStringPtr path_; ::google::protobuf::internal::ArenaStringPtr entry_id_; ::google::protobuf::internal::ArenaStringPtr parent_entry_id_; @@ -518,12 +535,13 @@ class V2Event final : public ::google::protobuf::Message 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; }; + +extern const ::google::protobuf::internal::ClassDataFull V2Event_class_data_; // ------------------------------------------------------------------- class V1Event final : public ::google::protobuf::Message @@ -533,19 +551,18 @@ class V1Event final : public ::google::protobuf::Message ~V1Event() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(V1Event* msg, std::destroying_delete_t) { + void operator delete(V1Event* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(V1Event)); } #endif template - explicit PROTOBUF_CONSTEXPR V1Event( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : V1Event(nullptr, ::std::move(from)) {} inline V1Event& operator=(const V1Event& from) { CopyFrom(from); return *this; @@ -564,30 +581,27 @@ class V1Event final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(V1Event* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -595,7 +609,7 @@ class V1Event final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(V1Event* other) { + void UnsafeArenaSwap(V1Event* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -603,7 +617,7 @@ class V1Event final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - V1Event* New(::google::protobuf::Arena* arena = nullptr) const { + V1Event* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -612,9 +626,8 @@ class V1Event final : public ::google::protobuf::Message void MergeFrom(const V1Event& from) { V1Event::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -624,49 +637,51 @@ class V1Event final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(V1Event* other); + void InternalSwap(V1Event* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit V1Event(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + V1Event(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const V1Event& from); + V1Event( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- using Type = V1Event_Type; @@ -689,14 +704,15 @@ class V1Event final : public ::google::protobuf::Message 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() { + static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL Type_descriptor() { return V1Event_Type_descriptor(); } template - static inline const std::string& Type_Name(T value) { + 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) { + static inline bool Type_Parse( + ::absl::string_view name, Type* PROTOBUF_NONNULL value) { return V1Event_Type_Parse(name, value); } @@ -713,82 +729,77 @@ class V1Event final : public ::google::protobuf::Message }; // string path = 4; void clear_path() ; - const std::string& path() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_path(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_path(); + void set_allocated_path(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_path() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_path(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_path(); public: // string entry_id = 5; void clear_entry_id() ; - const std::string& entry_id() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_entry_id(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_entry_id(); + void set_allocated_entry_id(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_entry_id() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_entry_id(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_entry_id(); public: // string parent_entry_id = 6; void clear_parent_entry_id() ; - const std::string& parent_entry_id() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_parent_entry_id(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_parent_entry_id(); + void set_allocated_parent_entry_id(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_parent_entry_id() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_parent_entry_id(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_parent_entry_id(); public: // string target_path = 7; void clear_target_path() ; - const std::string& target_path() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_target_path(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_target_path(); + void set_allocated_target_path(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_target_path() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_target_path(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_target_path(); public: // string target_parent_id = 8; void clear_target_parent_id() ; - const std::string& target_parent_id() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_target_parent_id(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_target_parent_id(); + void set_allocated_target_parent_id(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_target_parent_id() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_target_parent_id(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_target_parent_id(); public: // uint64 dropped_seq = 2; @@ -825,9 +836,9 @@ class V1Event final : public ::google::protobuf::Message private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 3, 8, 0, - 87, 2> + static const ::google::protobuf::internal::TcParseTable<3, 8, + 0, 87, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -837,13 +848,16 @@ class V1Event final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const V1Event& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; ::google::protobuf::internal::ArenaStringPtr path_; ::google::protobuf::internal::ArenaStringPtr entry_id_; ::google::protobuf::internal::ArenaStringPtr parent_entry_id_; @@ -852,12 +866,13 @@ class V1Event final : public ::google::protobuf::Message ::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; }; + +extern const ::google::protobuf::internal::ClassDataFull V1Event_class_data_; // ------------------------------------------------------------------- class Response final : public ::google::protobuf::Message @@ -867,19 +882,18 @@ class Response final : public ::google::protobuf::Message ~Response() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(Response* msg, std::destroying_delete_t) { + void operator delete(Response* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(Response)); } #endif template - explicit PROTOBUF_CONSTEXPR Response( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : Response(nullptr, ::std::move(from)) {} inline Response& operator=(const Response& from) { CopyFrom(from); return *this; @@ -898,30 +912,27 @@ class Response final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(Response* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -929,7 +940,7 @@ class Response final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(Response* other) { + void UnsafeArenaSwap(Response* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -937,7 +948,7 @@ class Response final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - Response* New(::google::protobuf::Arena* arena = nullptr) const { + Response* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -946,9 +957,8 @@ class Response final : public ::google::protobuf::Message void MergeFrom(const Response& from) { Response::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -958,49 +968,51 @@ class Response final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(Response* other); + void InternalSwap(Response* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit Response(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + Response(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Response& from); + Response( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -1033,9 +1045,9 @@ class Response final : public ::google::protobuf::Message private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 1, 2, 0, - 0, 2> + static const ::google::protobuf::internal::TcParseTable<1, 2, + 0, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -1045,21 +1057,25 @@ class Response final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const Response& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; ::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; }; + +extern const ::google::protobuf::internal::ClassDataFull Response_class_data_; // ------------------------------------------------------------------- class Event final : public ::google::protobuf::Message @@ -1069,19 +1085,18 @@ class Event final : public ::google::protobuf::Message ~Event() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(Event* msg, std::destroying_delete_t) { + void operator delete(Event* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(Event)); } #endif template - explicit PROTOBUF_CONSTEXPR Event( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : Event(nullptr, ::std::move(from)) {} inline Event& operator=(const Event& from) { CopyFrom(from); return *this; @@ -1100,35 +1115,32 @@ class Event final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() { return default_instance().GetMetadata().reflection; } static const Event& default_instance() { - return *internal_default_instance(); + return *reinterpret_cast( + &_Event_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) { + inline void Swap(Event* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -1136,7 +1148,7 @@ class Event final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(Event* other) { + void UnsafeArenaSwap(Event* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -1144,7 +1156,7 @@ class Event final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - Event* New(::google::protobuf::Arena* arena = nullptr) const { + Event* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -1153,9 +1165,8 @@ class Event final : public ::google::protobuf::Message void MergeFrom(const Event& from) { Event::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -1165,49 +1176,51 @@ class Event final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(Event* other); + void InternalSwap(Event* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit Event(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + Event(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Event& from); + Event( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -1269,15 +1282,15 @@ class Event final : public ::google::protobuf::Message 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(); + [[nodiscard]] ::beewatch::V1Event* PROTOBUF_NULLABLE release_v1(); + ::beewatch::V1Event* PROTOBUF_NONNULL mutable_v1(); + void set_allocated_v1(::beewatch::V1Event* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_v1(::beewatch::V1Event* PROTOBUF_NULLABLE value); + ::beewatch::V1Event* PROTOBUF_NULLABLE unsafe_arena_release_v1(); private: const ::beewatch::V1Event& _internal_v1() const; - ::beewatch::V1Event* _internal_mutable_v1(); + ::beewatch::V1Event* PROTOBUF_NONNULL _internal_mutable_v1(); public: // .beewatch.V2Event v2 = 12; @@ -1288,15 +1301,15 @@ class Event final : public ::google::protobuf::Message 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(); + [[nodiscard]] ::beewatch::V2Event* PROTOBUF_NULLABLE release_v2(); + ::beewatch::V2Event* PROTOBUF_NONNULL mutable_v2(); + void set_allocated_v2(::beewatch::V2Event* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_v2(::beewatch::V2Event* PROTOBUF_NULLABLE value); + ::beewatch::V2Event* PROTOBUF_NULLABLE unsafe_arena_release_v2(); private: const ::beewatch::V2Event& _internal_v2() const; - ::beewatch::V2Event* _internal_mutable_v2(); + ::beewatch::V2Event* PROTOBUF_NONNULL _internal_mutable_v2(); public: void clear_event_data(); @@ -1309,9 +1322,9 @@ class Event final : public ::google::protobuf::Message 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> + static const ::google::protobuf::internal::TcParseTable<2, 6, + 2, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -1321,13 +1334,14 @@ class Event final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const Event& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; ::uint64_t seq_id_; @@ -1337,8 +1351,8 @@ class Event final : public ::google::protobuf::Message union EventDataUnion { constexpr EventDataUnion() : _constinit_{} {} ::google::protobuf::internal::ConstantInitialized _constinit_; - ::beewatch::V1Event* v1_; - ::beewatch::V2Event* v2_; + ::beewatch::V1Event* PROTOBUF_NULLABLE v1_; + ::beewatch::V2Event* PROTOBUF_NULLABLE v2_; } event_data_; ::uint32_t _oneof_case_[1]; PROTOBUF_TSAN_DECLARE_MEMBER @@ -1347,6 +1361,8 @@ class Event final : public ::google::protobuf::Message friend struct ::TableStruct_beewatch_2eproto; }; +extern const ::google::protobuf::internal::ClassDataFull Event_class_data_; + // =================================================================== @@ -1367,6 +1383,7 @@ class Event final : public ::google::protobuf::Message inline void Event::clear_seq_id() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.seq_id_ = ::uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; } inline ::uint64_t Event::seq_id() const { // @@protoc_insertion_point(field_get:beewatch.Event.seq_id) @@ -1374,6 +1391,7 @@ inline ::uint64_t Event::seq_id() const { } inline void Event::set_seq_id(::uint64_t value) { _internal_set_seq_id(value); + _impl_._has_bits_[0] |= 0x00000001u; // @@protoc_insertion_point(field_set:beewatch.Event.seq_id) } inline ::uint64_t Event::_internal_seq_id() const { @@ -1389,6 +1407,7 @@ inline void Event::_internal_set_seq_id(::uint64_t value) { inline void Event::clear_meta_id() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.meta_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; } inline ::uint32_t Event::meta_id() const { // @@protoc_insertion_point(field_get:beewatch.Event.meta_id) @@ -1396,6 +1415,7 @@ inline ::uint32_t Event::meta_id() const { } inline void Event::set_meta_id(::uint32_t value) { _internal_set_meta_id(value); + _impl_._has_bits_[0] |= 0x00000002u; // @@protoc_insertion_point(field_set:beewatch.Event.meta_id) } inline ::uint32_t Event::_internal_meta_id() const { @@ -1409,13 +1429,13 @@ inline void Event::_internal_set_meta_id(::uint32_t value) { // optional uint32 meta_mirror = 3; inline bool Event::has_meta_mirror() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; return value; } inline void Event::clear_meta_mirror() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.meta_mirror_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000004u; } inline ::uint32_t Event::meta_mirror() const { // @@protoc_insertion_point(field_get:beewatch.Event.meta_mirror) @@ -1423,7 +1443,7 @@ inline ::uint32_t Event::meta_mirror() const { } inline void Event::set_meta_mirror(::uint32_t value) { _internal_set_meta_mirror(value); - _impl_._has_bits_[0] |= 0x00000001u; + _impl_._has_bits_[0] |= 0x00000004u; // @@protoc_insertion_point(field_set:beewatch.Event.meta_mirror) } inline ::uint32_t Event::_internal_meta_mirror() const { @@ -1439,6 +1459,7 @@ inline void Event::_internal_set_meta_mirror(::uint32_t value) { inline void Event::clear_event_flags() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.event_flags_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; } inline ::uint32_t Event::event_flags() const { // @@protoc_insertion_point(field_get:beewatch.Event.event_flags) @@ -1446,6 +1467,7 @@ inline ::uint32_t Event::event_flags() const { } inline void Event::set_event_flags(::uint32_t value) { _internal_set_event_flags(value); + _impl_._has_bits_[0] |= 0x00000008u; // @@protoc_insertion_point(field_set:beewatch.Event.event_flags) } inline ::uint32_t Event::_internal_event_flags() const { @@ -1478,7 +1500,7 @@ inline void Event::clear_v1() { clear_has_event_data(); } } -inline ::beewatch::V1Event* Event::release_v1() { +inline ::beewatch::V1Event* PROTOBUF_NULLABLE Event::release_v1() { // @@protoc_insertion_point(field_release:beewatch.Event.v1) if (event_data_case() == kV1) { clear_has_event_data(); @@ -1499,7 +1521,7 @@ inline const ::beewatch::V1Event& Event::v1() const ABSL_ATTRIBUTE_LIFETIME_BOUN // @@protoc_insertion_point(field_get:beewatch.Event.v1) return _internal_v1(); } -inline ::beewatch::V1Event* Event::unsafe_arena_release_v1() { +inline ::beewatch::V1Event* PROTOBUF_NULLABLE Event::unsafe_arena_release_v1() { // @@protoc_insertion_point(field_unsafe_arena_release:beewatch.Event.v1) if (event_data_case() == kV1) { clear_has_event_data(); @@ -1510,7 +1532,8 @@ inline ::beewatch::V1Event* Event::unsafe_arena_release_v1() { return nullptr; } } -inline void Event::unsafe_arena_set_allocated_v1(::beewatch::V1Event* value) { +inline void Event::unsafe_arena_set_allocated_v1( + ::beewatch::V1Event* PROTOBUF_NULLABLE 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. @@ -1521,16 +1544,17 @@ inline void Event::unsafe_arena_set_allocated_v1(::beewatch::V1Event* value) { } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:beewatch.Event.v1) } -inline ::beewatch::V1Event* Event::_internal_mutable_v1() { +inline ::beewatch::V1Event* PROTOBUF_NONNULL Event::_internal_mutable_v1() { if (event_data_case() != kV1) { clear_event_data(); set_has_v1(); - _impl_.event_data_.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 { +inline ::beewatch::V1Event* PROTOBUF_NONNULL Event::mutable_v1() + ABSL_ATTRIBUTE_LIFETIME_BOUND { ::beewatch::V1Event* _msg = _internal_mutable_v1(); // @@protoc_insertion_point(field_mutable:beewatch.Event.v1) return _msg; @@ -1557,7 +1581,7 @@ inline void Event::clear_v2() { clear_has_event_data(); } } -inline ::beewatch::V2Event* Event::release_v2() { +inline ::beewatch::V2Event* PROTOBUF_NULLABLE Event::release_v2() { // @@protoc_insertion_point(field_release:beewatch.Event.v2) if (event_data_case() == kV2) { clear_has_event_data(); @@ -1578,7 +1602,7 @@ inline const ::beewatch::V2Event& Event::v2() const ABSL_ATTRIBUTE_LIFETIME_BOUN // @@protoc_insertion_point(field_get:beewatch.Event.v2) return _internal_v2(); } -inline ::beewatch::V2Event* Event::unsafe_arena_release_v2() { +inline ::beewatch::V2Event* PROTOBUF_NULLABLE Event::unsafe_arena_release_v2() { // @@protoc_insertion_point(field_unsafe_arena_release:beewatch.Event.v2) if (event_data_case() == kV2) { clear_has_event_data(); @@ -1589,7 +1613,8 @@ inline ::beewatch::V2Event* Event::unsafe_arena_release_v2() { return nullptr; } } -inline void Event::unsafe_arena_set_allocated_v2(::beewatch::V2Event* value) { +inline void Event::unsafe_arena_set_allocated_v2( + ::beewatch::V2Event* PROTOBUF_NULLABLE 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. @@ -1600,16 +1625,17 @@ inline void Event::unsafe_arena_set_allocated_v2(::beewatch::V2Event* value) { } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:beewatch.Event.v2) } -inline ::beewatch::V2Event* Event::_internal_mutable_v2() { +inline ::beewatch::V2Event* PROTOBUF_NONNULL Event::_internal_mutable_v2() { if (event_data_case() != kV2) { clear_event_data(); set_has_v2(); - _impl_.event_data_.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 { +inline ::beewatch::V2Event* PROTOBUF_NONNULL Event::mutable_v2() + ABSL_ATTRIBUTE_LIFETIME_BOUND { ::beewatch::V2Event* _msg = _internal_mutable_v2(); // @@protoc_insertion_point(field_mutable:beewatch.Event.v2) return _msg; @@ -1632,6 +1658,7 @@ inline Event::EventDataCase Event::event_data_case() const { inline void V1Event::clear_type() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.type_ = 0; + _impl_._has_bits_[0] &= ~0x00000080u; } inline ::beewatch::V1Event_Type V1Event::type() const { // @@protoc_insertion_point(field_get:beewatch.V1Event.type) @@ -1639,6 +1666,7 @@ inline ::beewatch::V1Event_Type V1Event::type() const { } inline void V1Event::set_type(::beewatch::V1Event_Type value) { _internal_set_type(value); + _impl_._has_bits_[0] |= 0x00000080u; // @@protoc_insertion_point(field_set:beewatch.V1Event.type) } inline ::beewatch::V1Event_Type V1Event::_internal_type() const { @@ -1654,6 +1682,7 @@ inline void V1Event::_internal_set_type(::beewatch::V1Event_Type value) { inline void V1Event::clear_dropped_seq() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.dropped_seq_ = ::uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000020u; } inline ::uint64_t V1Event::dropped_seq() const { // @@protoc_insertion_point(field_get:beewatch.V1Event.dropped_seq) @@ -1661,6 +1690,7 @@ inline ::uint64_t V1Event::dropped_seq() const { } inline void V1Event::set_dropped_seq(::uint64_t value) { _internal_set_dropped_seq(value); + _impl_._has_bits_[0] |= 0x00000020u; // @@protoc_insertion_point(field_set:beewatch.V1Event.dropped_seq) } inline ::uint64_t V1Event::_internal_dropped_seq() const { @@ -1676,6 +1706,7 @@ inline void V1Event::_internal_set_dropped_seq(::uint64_t value) { inline void V1Event::clear_missed_seq() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.missed_seq_ = ::uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000040u; } inline ::uint64_t V1Event::missed_seq() const { // @@protoc_insertion_point(field_get:beewatch.V1Event.missed_seq) @@ -1683,6 +1714,7 @@ inline ::uint64_t V1Event::missed_seq() const { } inline void V1Event::set_missed_seq(::uint64_t value) { _internal_set_missed_seq(value); + _impl_._has_bits_[0] |= 0x00000040u; // @@protoc_insertion_point(field_set:beewatch.V1Event.missed_seq) } inline ::uint64_t V1Event::_internal_missed_seq() const { @@ -1698,43 +1730,60 @@ inline void V1Event::_internal_set_missed_seq(::uint64_t value) { inline void V1Event::clear_path() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.path_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; } -inline const std::string& V1Event::path() const +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) { +PROTOBUF_ALWAYS_INLINE void V1Event::set_path(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void V1Event::_internal_set_path(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _impl_.path_.Set(value, GetArena()); } -inline std::string* V1Event::_internal_mutable_path() { +inline ::std::string* PROTOBUF_NONNULL V1Event::_internal_mutable_path() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; return _impl_.path_.Mutable( GetArena()); } -inline std::string* V1Event::release_path() { +inline ::std::string* PROTOBUF_NULLABLE V1Event::release_path() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:beewatch.V1Event.path) - return _impl_.path_.Release(); + if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* released = _impl_.path_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.path_.Set("", GetArena()); + } + return released; } -inline void V1Event::set_allocated_path(std::string* value) { +inline void V1Event::set_allocated_path(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } _impl_.path_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.path_.IsDefault()) { _impl_.path_.Set("", GetArena()); @@ -1746,43 +1795,60 @@ inline void V1Event::set_allocated_path(std::string* value) { inline void V1Event::clear_entry_id() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.entry_id_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; } -inline const std::string& V1Event::entry_id() const +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) { +PROTOBUF_ALWAYS_INLINE void V1Event::set_entry_id(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void V1Event::_internal_set_entry_id(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; _impl_.entry_id_.Set(value, GetArena()); } -inline std::string* V1Event::_internal_mutable_entry_id() { +inline ::std::string* PROTOBUF_NONNULL V1Event::_internal_mutable_entry_id() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; return _impl_.entry_id_.Mutable( GetArena()); } -inline std::string* V1Event::release_entry_id() { +inline ::std::string* PROTOBUF_NULLABLE V1Event::release_entry_id() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:beewatch.V1Event.entry_id) - return _impl_.entry_id_.Release(); + if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* released = _impl_.entry_id_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.entry_id_.Set("", GetArena()); + } + return released; } -inline void V1Event::set_allocated_entry_id(std::string* value) { +inline void V1Event::set_allocated_entry_id(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } _impl_.entry_id_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.entry_id_.IsDefault()) { _impl_.entry_id_.Set("", GetArena()); @@ -1794,43 +1860,60 @@ inline void V1Event::set_allocated_entry_id(std::string* value) { inline void V1Event::clear_parent_entry_id() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.parent_entry_id_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000004u; } -inline const std::string& V1Event::parent_entry_id() const +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) { +PROTOBUF_ALWAYS_INLINE void V1Event::set_parent_entry_id(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000004u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void V1Event::_internal_set_parent_entry_id(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000004u; _impl_.parent_entry_id_.Set(value, GetArena()); } -inline std::string* V1Event::_internal_mutable_parent_entry_id() { +inline ::std::string* PROTOBUF_NONNULL V1Event::_internal_mutable_parent_entry_id() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000004u; return _impl_.parent_entry_id_.Mutable( GetArena()); } -inline std::string* V1Event::release_parent_entry_id() { +inline ::std::string* PROTOBUF_NULLABLE 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(); + if ((_impl_._has_bits_[0] & 0x00000004u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000004u; + auto* released = _impl_.parent_entry_id_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.parent_entry_id_.Set("", GetArena()); + } + return released; } -inline void V1Event::set_allocated_parent_entry_id(std::string* value) { +inline void V1Event::set_allocated_parent_entry_id(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } _impl_.parent_entry_id_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.parent_entry_id_.IsDefault()) { _impl_.parent_entry_id_.Set("", GetArena()); @@ -1842,43 +1925,60 @@ inline void V1Event::set_allocated_parent_entry_id(std::string* value) { inline void V1Event::clear_target_path() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.target_path_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000008u; } -inline const std::string& V1Event::target_path() const +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) { +PROTOBUF_ALWAYS_INLINE void V1Event::set_target_path(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000008u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void V1Event::_internal_set_target_path(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000008u; _impl_.target_path_.Set(value, GetArena()); } -inline std::string* V1Event::_internal_mutable_target_path() { +inline ::std::string* PROTOBUF_NONNULL V1Event::_internal_mutable_target_path() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000008u; return _impl_.target_path_.Mutable( GetArena()); } -inline std::string* V1Event::release_target_path() { +inline ::std::string* PROTOBUF_NULLABLE V1Event::release_target_path() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:beewatch.V1Event.target_path) - return _impl_.target_path_.Release(); + if ((_impl_._has_bits_[0] & 0x00000008u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000008u; + auto* released = _impl_.target_path_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.target_path_.Set("", GetArena()); + } + return released; } -inline void V1Event::set_allocated_target_path(std::string* value) { +inline void V1Event::set_allocated_target_path(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } _impl_.target_path_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.target_path_.IsDefault()) { _impl_.target_path_.Set("", GetArena()); @@ -1890,43 +1990,60 @@ inline void V1Event::set_allocated_target_path(std::string* value) { inline void V1Event::clear_target_parent_id() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.target_parent_id_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000010u; } -inline const std::string& V1Event::target_parent_id() const +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) { +PROTOBUF_ALWAYS_INLINE void V1Event::set_target_parent_id(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000010u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void V1Event::_internal_set_target_parent_id(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000010u; _impl_.target_parent_id_.Set(value, GetArena()); } -inline std::string* V1Event::_internal_mutable_target_parent_id() { +inline ::std::string* PROTOBUF_NONNULL V1Event::_internal_mutable_target_parent_id() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000010u; return _impl_.target_parent_id_.Mutable( GetArena()); } -inline std::string* V1Event::release_target_parent_id() { +inline ::std::string* PROTOBUF_NULLABLE 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(); + if ((_impl_._has_bits_[0] & 0x00000010u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000010u; + auto* released = _impl_.target_parent_id_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.target_parent_id_.Set("", GetArena()); + } + return released; } -inline void V1Event::set_allocated_target_parent_id(std::string* value) { +inline void V1Event::set_allocated_target_parent_id(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } _impl_.target_parent_id_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.target_parent_id_.IsDefault()) { _impl_.target_parent_id_.Set("", GetArena()); @@ -1942,6 +2059,7 @@ inline void V1Event::set_allocated_target_parent_id(std::string* value) { inline void V2Event::clear_type() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.type_ = 0; + _impl_._has_bits_[0] &= ~0x00000040u; } inline ::beewatch::V2Event_Type V2Event::type() const { // @@protoc_insertion_point(field_get:beewatch.V2Event.type) @@ -1949,6 +2067,7 @@ inline ::beewatch::V2Event_Type V2Event::type() const { } inline void V2Event::set_type(::beewatch::V2Event_Type value) { _internal_set_type(value); + _impl_._has_bits_[0] |= 0x00000040u; // @@protoc_insertion_point(field_set:beewatch.V2Event.type) } inline ::beewatch::V2Event_Type V2Event::_internal_type() const { @@ -1964,6 +2083,7 @@ inline void V2Event::_internal_set_type(::beewatch::V2Event_Type value) { inline void V2Event::clear_num_links() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.num_links_ = ::uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000020u; } inline ::uint64_t V2Event::num_links() const { // @@protoc_insertion_point(field_get:beewatch.V2Event.num_links) @@ -1971,6 +2091,7 @@ inline ::uint64_t V2Event::num_links() const { } inline void V2Event::set_num_links(::uint64_t value) { _internal_set_num_links(value); + _impl_._has_bits_[0] |= 0x00000020u; // @@protoc_insertion_point(field_set:beewatch.V2Event.num_links) } inline ::uint64_t V2Event::_internal_num_links() const { @@ -1986,43 +2107,60 @@ inline void V2Event::_internal_set_num_links(::uint64_t value) { inline void V2Event::clear_path() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.path_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; } -inline const std::string& V2Event::path() const +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) { +PROTOBUF_ALWAYS_INLINE void V2Event::set_path(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void V2Event::_internal_set_path(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _impl_.path_.Set(value, GetArena()); } -inline std::string* V2Event::_internal_mutable_path() { +inline ::std::string* PROTOBUF_NONNULL V2Event::_internal_mutable_path() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; return _impl_.path_.Mutable( GetArena()); } -inline std::string* V2Event::release_path() { +inline ::std::string* PROTOBUF_NULLABLE V2Event::release_path() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:beewatch.V2Event.path) - return _impl_.path_.Release(); + if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* released = _impl_.path_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.path_.Set("", GetArena()); + } + return released; } -inline void V2Event::set_allocated_path(std::string* value) { +inline void V2Event::set_allocated_path(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } _impl_.path_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.path_.IsDefault()) { _impl_.path_.Set("", GetArena()); @@ -2034,43 +2172,60 @@ inline void V2Event::set_allocated_path(std::string* value) { inline void V2Event::clear_entry_id() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.entry_id_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; } -inline const std::string& V2Event::entry_id() const +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) { +PROTOBUF_ALWAYS_INLINE void V2Event::set_entry_id(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void V2Event::_internal_set_entry_id(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; _impl_.entry_id_.Set(value, GetArena()); } -inline std::string* V2Event::_internal_mutable_entry_id() { +inline ::std::string* PROTOBUF_NONNULL V2Event::_internal_mutable_entry_id() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; return _impl_.entry_id_.Mutable( GetArena()); } -inline std::string* V2Event::release_entry_id() { +inline ::std::string* PROTOBUF_NULLABLE V2Event::release_entry_id() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:beewatch.V2Event.entry_id) - return _impl_.entry_id_.Release(); + if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* released = _impl_.entry_id_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.entry_id_.Set("", GetArena()); + } + return released; } -inline void V2Event::set_allocated_entry_id(std::string* value) { +inline void V2Event::set_allocated_entry_id(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } _impl_.entry_id_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.entry_id_.IsDefault()) { _impl_.entry_id_.Set("", GetArena()); @@ -2082,43 +2237,60 @@ inline void V2Event::set_allocated_entry_id(std::string* value) { inline void V2Event::clear_parent_entry_id() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.parent_entry_id_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000004u; } -inline const std::string& V2Event::parent_entry_id() const +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) { +PROTOBUF_ALWAYS_INLINE void V2Event::set_parent_entry_id(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000004u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void V2Event::_internal_set_parent_entry_id(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000004u; _impl_.parent_entry_id_.Set(value, GetArena()); } -inline std::string* V2Event::_internal_mutable_parent_entry_id() { +inline ::std::string* PROTOBUF_NONNULL V2Event::_internal_mutable_parent_entry_id() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000004u; return _impl_.parent_entry_id_.Mutable( GetArena()); } -inline std::string* V2Event::release_parent_entry_id() { +inline ::std::string* PROTOBUF_NULLABLE 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(); + if ((_impl_._has_bits_[0] & 0x00000004u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000004u; + auto* released = _impl_.parent_entry_id_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.parent_entry_id_.Set("", GetArena()); + } + return released; } -inline void V2Event::set_allocated_parent_entry_id(std::string* value) { +inline void V2Event::set_allocated_parent_entry_id(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } _impl_.parent_entry_id_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.parent_entry_id_.IsDefault()) { _impl_.parent_entry_id_.Set("", GetArena()); @@ -2130,43 +2302,60 @@ inline void V2Event::set_allocated_parent_entry_id(std::string* value) { inline void V2Event::clear_target_path() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.target_path_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000008u; } -inline const std::string& V2Event::target_path() const +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) { +PROTOBUF_ALWAYS_INLINE void V2Event::set_target_path(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000008u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void V2Event::_internal_set_target_path(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000008u; _impl_.target_path_.Set(value, GetArena()); } -inline std::string* V2Event::_internal_mutable_target_path() { +inline ::std::string* PROTOBUF_NONNULL V2Event::_internal_mutable_target_path() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000008u; return _impl_.target_path_.Mutable( GetArena()); } -inline std::string* V2Event::release_target_path() { +inline ::std::string* PROTOBUF_NULLABLE V2Event::release_target_path() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:beewatch.V2Event.target_path) - return _impl_.target_path_.Release(); + if ((_impl_._has_bits_[0] & 0x00000008u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000008u; + auto* released = _impl_.target_path_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.target_path_.Set("", GetArena()); + } + return released; } -inline void V2Event::set_allocated_target_path(std::string* value) { +inline void V2Event::set_allocated_target_path(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } _impl_.target_path_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.target_path_.IsDefault()) { _impl_.target_path_.Set("", GetArena()); @@ -2178,43 +2367,60 @@ inline void V2Event::set_allocated_target_path(std::string* value) { inline void V2Event::clear_target_parent_id() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.target_parent_id_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000010u; } -inline const std::string& V2Event::target_parent_id() const +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) { +PROTOBUF_ALWAYS_INLINE void V2Event::set_target_parent_id(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000010u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void V2Event::_internal_set_target_parent_id(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000010u; _impl_.target_parent_id_.Set(value, GetArena()); } -inline std::string* V2Event::_internal_mutable_target_parent_id() { +inline ::std::string* PROTOBUF_NONNULL V2Event::_internal_mutable_target_parent_id() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000010u; return _impl_.target_parent_id_.Mutable( GetArena()); } -inline std::string* V2Event::release_target_parent_id() { +inline ::std::string* PROTOBUF_NULLABLE 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(); + if ((_impl_._has_bits_[0] & 0x00000010u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000010u; + auto* released = _impl_.target_parent_id_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.target_parent_id_.Set("", GetArena()); + } + return released; } -inline void V2Event::set_allocated_target_parent_id(std::string* value) { +inline void V2Event::set_allocated_target_parent_id(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } _impl_.target_parent_id_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.target_parent_id_.IsDefault()) { _impl_.target_parent_id_.Set("", GetArena()); @@ -2226,6 +2432,7 @@ inline void V2Event::set_allocated_target_parent_id(std::string* value) { inline void V2Event::clear_msg_user_id() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.msg_user_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; } inline ::uint32_t V2Event::msg_user_id() const { // @@protoc_insertion_point(field_get:beewatch.V2Event.msg_user_id) @@ -2233,6 +2440,7 @@ inline ::uint32_t V2Event::msg_user_id() const { } inline void V2Event::set_msg_user_id(::uint32_t value) { _internal_set_msg_user_id(value); + _impl_._has_bits_[0] |= 0x00000080u; // @@protoc_insertion_point(field_set:beewatch.V2Event.msg_user_id) } inline ::uint32_t V2Event::_internal_msg_user_id() const { @@ -2248,6 +2456,7 @@ inline void V2Event::_internal_set_msg_user_id(::uint32_t value) { inline void V2Event::clear_timestamp() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.timestamp_ = ::int64_t{0}; + _impl_._has_bits_[0] &= ~0x00000100u; } inline ::int64_t V2Event::timestamp() const { // @@protoc_insertion_point(field_get:beewatch.V2Event.timestamp) @@ -2255,6 +2464,7 @@ inline ::int64_t V2Event::timestamp() const { } inline void V2Event::set_timestamp(::int64_t value) { _internal_set_timestamp(value); + _impl_._has_bits_[0] |= 0x00000100u; // @@protoc_insertion_point(field_set:beewatch.V2Event.timestamp) } inline ::int64_t V2Event::_internal_timestamp() const { @@ -2274,6 +2484,7 @@ inline void V2Event::_internal_set_timestamp(::int64_t value) { inline void Response::clear_completed_seq() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.completed_seq_ = ::uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; } inline ::uint64_t Response::completed_seq() const { // @@protoc_insertion_point(field_get:beewatch.Response.completed_seq) @@ -2281,6 +2492,7 @@ inline ::uint64_t Response::completed_seq() const { } inline void Response::set_completed_seq(::uint64_t value) { _internal_set_completed_seq(value); + _impl_._has_bits_[0] |= 0x00000001u; // @@protoc_insertion_point(field_set:beewatch.Response.completed_seq) } inline ::uint64_t Response::_internal_completed_seq() const { @@ -2296,6 +2508,7 @@ inline void Response::_internal_set_completed_seq(::uint64_t value) { inline void Response::clear_shutting_down() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.shutting_down_ = false; + _impl_._has_bits_[0] &= ~0x00000002u; } inline bool Response::shutting_down() const { // @@protoc_insertion_point(field_get:beewatch.Response.shutting_down) @@ -2303,6 +2516,7 @@ inline bool Response::shutting_down() const { } inline void Response::set_shutting_down(bool value) { _internal_set_shutting_down(value); + _impl_._has_bits_[0] |= 0x00000002u; // @@protoc_insertion_point(field_set:beewatch.Response.shutting_down) } inline bool Response::_internal_shutting_down() const { @@ -2328,13 +2542,13 @@ namespace protobuf { template <> struct is_proto_enum<::beewatch::V1Event_Type> : std::true_type {}; template <> -inline const EnumDescriptor* GetEnumDescriptor<::beewatch::V1Event_Type>() { +inline const EnumDescriptor* PROTOBUF_NONNULL 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>() { +inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::beewatch::V2Event_Type>() { return ::beewatch::V2Event_Type_descriptor(); } diff --git a/cpp/include/proto/flex.grpc.pb.cc b/cpp/include/proto/flex.grpc.pb.cc new file mode 100644 index 0000000..d4dcb7f --- /dev/null +++ b/cpp/include/proto/flex.grpc.pb.cc @@ -0,0 +1,298 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: flex.proto + +#include "flex.pb.h" +#include "flex.grpc.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +namespace flex { + +static const char* WorkerNode_method_names[] = { + "/flex.WorkerNode/UpdateConfig", + "/flex.WorkerNode/Heartbeat", + "/flex.WorkerNode/SubmitWork", + "/flex.WorkerNode/UpdateWork", + "/flex.WorkerNode/BulkUpdateWork", + "/flex.WorkerNode/GetCapabilities", +}; + +std::unique_ptr< WorkerNode::Stub> WorkerNode::NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) { + (void)options; + std::unique_ptr< WorkerNode::Stub> stub(new WorkerNode::Stub(channel, options)); + return stub; +} + +WorkerNode::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) + : channel_(channel), rpcmethod_UpdateConfig_(WorkerNode_method_names[0], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_Heartbeat_(WorkerNode_method_names[1], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_SubmitWork_(WorkerNode_method_names[2], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_UpdateWork_(WorkerNode_method_names[3], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_BulkUpdateWork_(WorkerNode_method_names[4], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_GetCapabilities_(WorkerNode_method_names[5], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + {} + +::grpc::Status WorkerNode::Stub::UpdateConfig(::grpc::ClientContext* context, const ::flex::UpdateConfigRequest& request, ::flex::UpdateConfigResponse* response) { + return ::grpc::internal::BlockingUnaryCall< ::flex::UpdateConfigRequest, ::flex::UpdateConfigResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_UpdateConfig_, context, request, response); +} + +void WorkerNode::Stub::async::UpdateConfig(::grpc::ClientContext* context, const ::flex::UpdateConfigRequest* request, ::flex::UpdateConfigResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::flex::UpdateConfigRequest, ::flex::UpdateConfigResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_UpdateConfig_, context, request, response, std::move(f)); +} + +void WorkerNode::Stub::async::UpdateConfig(::grpc::ClientContext* context, const ::flex::UpdateConfigRequest* request, ::flex::UpdateConfigResponse* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_UpdateConfig_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::flex::UpdateConfigResponse>* WorkerNode::Stub::PrepareAsyncUpdateConfigRaw(::grpc::ClientContext* context, const ::flex::UpdateConfigRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::flex::UpdateConfigResponse, ::flex::UpdateConfigRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_UpdateConfig_, context, request); +} + +::grpc::ClientAsyncResponseReader< ::flex::UpdateConfigResponse>* WorkerNode::Stub::AsyncUpdateConfigRaw(::grpc::ClientContext* context, const ::flex::UpdateConfigRequest& request, ::grpc::CompletionQueue* cq) { + auto* result = + this->PrepareAsyncUpdateConfigRaw(context, request, cq); + result->StartCall(); + return result; +} + +::grpc::Status WorkerNode::Stub::Heartbeat(::grpc::ClientContext* context, const ::flex::HeartbeatRequest& request, ::flex::HeartbeatResponse* response) { + return ::grpc::internal::BlockingUnaryCall< ::flex::HeartbeatRequest, ::flex::HeartbeatResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_Heartbeat_, context, request, response); +} + +void WorkerNode::Stub::async::Heartbeat(::grpc::ClientContext* context, const ::flex::HeartbeatRequest* request, ::flex::HeartbeatResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::flex::HeartbeatRequest, ::flex::HeartbeatResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_Heartbeat_, context, request, response, std::move(f)); +} + +void WorkerNode::Stub::async::Heartbeat(::grpc::ClientContext* context, const ::flex::HeartbeatRequest* request, ::flex::HeartbeatResponse* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_Heartbeat_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::flex::HeartbeatResponse>* WorkerNode::Stub::PrepareAsyncHeartbeatRaw(::grpc::ClientContext* context, const ::flex::HeartbeatRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::flex::HeartbeatResponse, ::flex::HeartbeatRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_Heartbeat_, context, request); +} + +::grpc::ClientAsyncResponseReader< ::flex::HeartbeatResponse>* WorkerNode::Stub::AsyncHeartbeatRaw(::grpc::ClientContext* context, const ::flex::HeartbeatRequest& request, ::grpc::CompletionQueue* cq) { + auto* result = + this->PrepareAsyncHeartbeatRaw(context, request, cq); + result->StartCall(); + return result; +} + +::grpc::Status WorkerNode::Stub::SubmitWork(::grpc::ClientContext* context, const ::flex::SubmitWorkRequest& request, ::flex::SubmitWorkResponse* response) { + return ::grpc::internal::BlockingUnaryCall< ::flex::SubmitWorkRequest, ::flex::SubmitWorkResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_SubmitWork_, context, request, response); +} + +void WorkerNode::Stub::async::SubmitWork(::grpc::ClientContext* context, const ::flex::SubmitWorkRequest* request, ::flex::SubmitWorkResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::flex::SubmitWorkRequest, ::flex::SubmitWorkResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_SubmitWork_, context, request, response, std::move(f)); +} + +void WorkerNode::Stub::async::SubmitWork(::grpc::ClientContext* context, const ::flex::SubmitWorkRequest* request, ::flex::SubmitWorkResponse* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_SubmitWork_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::flex::SubmitWorkResponse>* WorkerNode::Stub::PrepareAsyncSubmitWorkRaw(::grpc::ClientContext* context, const ::flex::SubmitWorkRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::flex::SubmitWorkResponse, ::flex::SubmitWorkRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_SubmitWork_, context, request); +} + +::grpc::ClientAsyncResponseReader< ::flex::SubmitWorkResponse>* WorkerNode::Stub::AsyncSubmitWorkRaw(::grpc::ClientContext* context, const ::flex::SubmitWorkRequest& request, ::grpc::CompletionQueue* cq) { + auto* result = + this->PrepareAsyncSubmitWorkRaw(context, request, cq); + result->StartCall(); + return result; +} + +::grpc::Status WorkerNode::Stub::UpdateWork(::grpc::ClientContext* context, const ::flex::UpdateWorkRequest& request, ::flex::UpdateWorkResponse* response) { + return ::grpc::internal::BlockingUnaryCall< ::flex::UpdateWorkRequest, ::flex::UpdateWorkResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_UpdateWork_, context, request, response); +} + +void WorkerNode::Stub::async::UpdateWork(::grpc::ClientContext* context, const ::flex::UpdateWorkRequest* request, ::flex::UpdateWorkResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::flex::UpdateWorkRequest, ::flex::UpdateWorkResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_UpdateWork_, context, request, response, std::move(f)); +} + +void WorkerNode::Stub::async::UpdateWork(::grpc::ClientContext* context, const ::flex::UpdateWorkRequest* request, ::flex::UpdateWorkResponse* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_UpdateWork_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::flex::UpdateWorkResponse>* WorkerNode::Stub::PrepareAsyncUpdateWorkRaw(::grpc::ClientContext* context, const ::flex::UpdateWorkRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::flex::UpdateWorkResponse, ::flex::UpdateWorkRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_UpdateWork_, context, request); +} + +::grpc::ClientAsyncResponseReader< ::flex::UpdateWorkResponse>* WorkerNode::Stub::AsyncUpdateWorkRaw(::grpc::ClientContext* context, const ::flex::UpdateWorkRequest& request, ::grpc::CompletionQueue* cq) { + auto* result = + this->PrepareAsyncUpdateWorkRaw(context, request, cq); + result->StartCall(); + return result; +} + +::grpc::Status WorkerNode::Stub::BulkUpdateWork(::grpc::ClientContext* context, const ::flex::BulkUpdateWorkRequest& request, ::flex::BulkUpdateWorkResponse* response) { + return ::grpc::internal::BlockingUnaryCall< ::flex::BulkUpdateWorkRequest, ::flex::BulkUpdateWorkResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_BulkUpdateWork_, context, request, response); +} + +void WorkerNode::Stub::async::BulkUpdateWork(::grpc::ClientContext* context, const ::flex::BulkUpdateWorkRequest* request, ::flex::BulkUpdateWorkResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::flex::BulkUpdateWorkRequest, ::flex::BulkUpdateWorkResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_BulkUpdateWork_, context, request, response, std::move(f)); +} + +void WorkerNode::Stub::async::BulkUpdateWork(::grpc::ClientContext* context, const ::flex::BulkUpdateWorkRequest* request, ::flex::BulkUpdateWorkResponse* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_BulkUpdateWork_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::flex::BulkUpdateWorkResponse>* WorkerNode::Stub::PrepareAsyncBulkUpdateWorkRaw(::grpc::ClientContext* context, const ::flex::BulkUpdateWorkRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::flex::BulkUpdateWorkResponse, ::flex::BulkUpdateWorkRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_BulkUpdateWork_, context, request); +} + +::grpc::ClientAsyncResponseReader< ::flex::BulkUpdateWorkResponse>* WorkerNode::Stub::AsyncBulkUpdateWorkRaw(::grpc::ClientContext* context, const ::flex::BulkUpdateWorkRequest& request, ::grpc::CompletionQueue* cq) { + auto* result = + this->PrepareAsyncBulkUpdateWorkRaw(context, request, cq); + result->StartCall(); + return result; +} + +::grpc::Status WorkerNode::Stub::GetCapabilities(::grpc::ClientContext* context, const ::flex::GetCapabilitiesRequest& request, ::flex::GetCapabilitiesResponse* response) { + return ::grpc::internal::BlockingUnaryCall< ::flex::GetCapabilitiesRequest, ::flex::GetCapabilitiesResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_GetCapabilities_, context, request, response); +} + +void WorkerNode::Stub::async::GetCapabilities(::grpc::ClientContext* context, const ::flex::GetCapabilitiesRequest* request, ::flex::GetCapabilitiesResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::flex::GetCapabilitiesRequest, ::flex::GetCapabilitiesResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_GetCapabilities_, context, request, response, std::move(f)); +} + +void WorkerNode::Stub::async::GetCapabilities(::grpc::ClientContext* context, const ::flex::GetCapabilitiesRequest* request, ::flex::GetCapabilitiesResponse* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_GetCapabilities_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::flex::GetCapabilitiesResponse>* WorkerNode::Stub::PrepareAsyncGetCapabilitiesRaw(::grpc::ClientContext* context, const ::flex::GetCapabilitiesRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::flex::GetCapabilitiesResponse, ::flex::GetCapabilitiesRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_GetCapabilities_, context, request); +} + +::grpc::ClientAsyncResponseReader< ::flex::GetCapabilitiesResponse>* WorkerNode::Stub::AsyncGetCapabilitiesRaw(::grpc::ClientContext* context, const ::flex::GetCapabilitiesRequest& request, ::grpc::CompletionQueue* cq) { + auto* result = + this->PrepareAsyncGetCapabilitiesRaw(context, request, cq); + result->StartCall(); + return result; +} + +WorkerNode::Service::Service() { + AddMethod(new ::grpc::internal::RpcServiceMethod( + WorkerNode_method_names[0], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< WorkerNode::Service, ::flex::UpdateConfigRequest, ::flex::UpdateConfigResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + [](WorkerNode::Service* service, + ::grpc::ServerContext* ctx, + const ::flex::UpdateConfigRequest* req, + ::flex::UpdateConfigResponse* resp) { + return service->UpdateConfig(ctx, req, resp); + }, this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + WorkerNode_method_names[1], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< WorkerNode::Service, ::flex::HeartbeatRequest, ::flex::HeartbeatResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + [](WorkerNode::Service* service, + ::grpc::ServerContext* ctx, + const ::flex::HeartbeatRequest* req, + ::flex::HeartbeatResponse* resp) { + return service->Heartbeat(ctx, req, resp); + }, this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + WorkerNode_method_names[2], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< WorkerNode::Service, ::flex::SubmitWorkRequest, ::flex::SubmitWorkResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + [](WorkerNode::Service* service, + ::grpc::ServerContext* ctx, + const ::flex::SubmitWorkRequest* req, + ::flex::SubmitWorkResponse* resp) { + return service->SubmitWork(ctx, req, resp); + }, this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + WorkerNode_method_names[3], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< WorkerNode::Service, ::flex::UpdateWorkRequest, ::flex::UpdateWorkResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + [](WorkerNode::Service* service, + ::grpc::ServerContext* ctx, + const ::flex::UpdateWorkRequest* req, + ::flex::UpdateWorkResponse* resp) { + return service->UpdateWork(ctx, req, resp); + }, this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + WorkerNode_method_names[4], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< WorkerNode::Service, ::flex::BulkUpdateWorkRequest, ::flex::BulkUpdateWorkResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + [](WorkerNode::Service* service, + ::grpc::ServerContext* ctx, + const ::flex::BulkUpdateWorkRequest* req, + ::flex::BulkUpdateWorkResponse* resp) { + return service->BulkUpdateWork(ctx, req, resp); + }, this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + WorkerNode_method_names[5], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< WorkerNode::Service, ::flex::GetCapabilitiesRequest, ::flex::GetCapabilitiesResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + [](WorkerNode::Service* service, + ::grpc::ServerContext* ctx, + const ::flex::GetCapabilitiesRequest* req, + ::flex::GetCapabilitiesResponse* resp) { + return service->GetCapabilities(ctx, req, resp); + }, this))); +} + +WorkerNode::Service::~Service() { +} + +::grpc::Status WorkerNode::Service::UpdateConfig(::grpc::ServerContext* context, const ::flex::UpdateConfigRequest* request, ::flex::UpdateConfigResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status WorkerNode::Service::Heartbeat(::grpc::ServerContext* context, const ::flex::HeartbeatRequest* request, ::flex::HeartbeatResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status WorkerNode::Service::SubmitWork(::grpc::ServerContext* context, const ::flex::SubmitWorkRequest* request, ::flex::SubmitWorkResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status WorkerNode::Service::UpdateWork(::grpc::ServerContext* context, const ::flex::UpdateWorkRequest* request, ::flex::UpdateWorkResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status WorkerNode::Service::BulkUpdateWork(::grpc::ServerContext* context, const ::flex::BulkUpdateWorkRequest* request, ::flex::BulkUpdateWorkResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status WorkerNode::Service::GetCapabilities(::grpc::ServerContext* context, const ::flex::GetCapabilitiesRequest* request, ::flex::GetCapabilitiesResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + + +} // namespace flex +#include + diff --git a/cpp/include/proto/flex.grpc.pb.h b/cpp/include/proto/flex.grpc.pb.h new file mode 100644 index 0000000..c428f5a --- /dev/null +++ b/cpp/include/proto/flex.grpc.pb.h @@ -0,0 +1,1045 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: flex.proto +// Original file comments: +// Package Flex contains common messages used across multiple Flex services. +#ifndef GRPC_flex_2eproto__INCLUDED +#define GRPC_flex_2eproto__INCLUDED + +#include "flex.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace flex { + +// A WorkerNode is able to handle one or more types of work requests. +class WorkerNode final { + public: + static constexpr char const* service_full_name() { + return "flex.WorkerNode"; + } + class StubInterface { + public: + virtual ~StubInterface() {} + virtual ::grpc::Status UpdateConfig(::grpc::ClientContext* context, const ::flex::UpdateConfigRequest& request, ::flex::UpdateConfigResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flex::UpdateConfigResponse>> AsyncUpdateConfig(::grpc::ClientContext* context, const ::flex::UpdateConfigRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flex::UpdateConfigResponse>>(AsyncUpdateConfigRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flex::UpdateConfigResponse>> PrepareAsyncUpdateConfig(::grpc::ClientContext* context, const ::flex::UpdateConfigRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flex::UpdateConfigResponse>>(PrepareAsyncUpdateConfigRaw(context, request, cq)); + } + virtual ::grpc::Status Heartbeat(::grpc::ClientContext* context, const ::flex::HeartbeatRequest& request, ::flex::HeartbeatResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flex::HeartbeatResponse>> AsyncHeartbeat(::grpc::ClientContext* context, const ::flex::HeartbeatRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flex::HeartbeatResponse>>(AsyncHeartbeatRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flex::HeartbeatResponse>> PrepareAsyncHeartbeat(::grpc::ClientContext* context, const ::flex::HeartbeatRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flex::HeartbeatResponse>>(PrepareAsyncHeartbeatRaw(context, request, cq)); + } + virtual ::grpc::Status SubmitWork(::grpc::ClientContext* context, const ::flex::SubmitWorkRequest& request, ::flex::SubmitWorkResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flex::SubmitWorkResponse>> AsyncSubmitWork(::grpc::ClientContext* context, const ::flex::SubmitWorkRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flex::SubmitWorkResponse>>(AsyncSubmitWorkRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flex::SubmitWorkResponse>> PrepareAsyncSubmitWork(::grpc::ClientContext* context, const ::flex::SubmitWorkRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flex::SubmitWorkResponse>>(PrepareAsyncSubmitWorkRaw(context, request, cq)); + } + // UpdateWork is used to change the state of existing work, such as cancelling work at a users + // request. + virtual ::grpc::Status UpdateWork(::grpc::ClientContext* context, const ::flex::UpdateWorkRequest& request, ::flex::UpdateWorkResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flex::UpdateWorkResponse>> AsyncUpdateWork(::grpc::ClientContext* context, const ::flex::UpdateWorkRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flex::UpdateWorkResponse>>(AsyncUpdateWorkRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flex::UpdateWorkResponse>> PrepareAsyncUpdateWork(::grpc::ClientContext* context, const ::flex::UpdateWorkRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flex::UpdateWorkResponse>>(PrepareAsyncUpdateWorkRaw(context, request, cq)); + } + // Used to change the state of all WRs assigned to a particular node. This is typically only + // used when initially connecting to a node, or if we want to drain the WRs assigned to a node + // if it is being removed. + virtual ::grpc::Status BulkUpdateWork(::grpc::ClientContext* context, const ::flex::BulkUpdateWorkRequest& request, ::flex::BulkUpdateWorkResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flex::BulkUpdateWorkResponse>> AsyncBulkUpdateWork(::grpc::ClientContext* context, const ::flex::BulkUpdateWorkRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flex::BulkUpdateWorkResponse>>(AsyncBulkUpdateWorkRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flex::BulkUpdateWorkResponse>> PrepareAsyncBulkUpdateWork(::grpc::ClientContext* context, const ::flex::BulkUpdateWorkRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flex::BulkUpdateWorkResponse>>(PrepareAsyncBulkUpdateWorkRaw(context, request, cq)); + } + virtual ::grpc::Status GetCapabilities(::grpc::ClientContext* context, const ::flex::GetCapabilitiesRequest& request, ::flex::GetCapabilitiesResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flex::GetCapabilitiesResponse>> AsyncGetCapabilities(::grpc::ClientContext* context, const ::flex::GetCapabilitiesRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flex::GetCapabilitiesResponse>>(AsyncGetCapabilitiesRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flex::GetCapabilitiesResponse>> PrepareAsyncGetCapabilities(::grpc::ClientContext* context, const ::flex::GetCapabilitiesRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flex::GetCapabilitiesResponse>>(PrepareAsyncGetCapabilitiesRaw(context, request, cq)); + } + class async_interface { + public: + virtual ~async_interface() {} + virtual void UpdateConfig(::grpc::ClientContext* context, const ::flex::UpdateConfigRequest* request, ::flex::UpdateConfigResponse* response, std::function) = 0; + virtual void UpdateConfig(::grpc::ClientContext* context, const ::flex::UpdateConfigRequest* request, ::flex::UpdateConfigResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void Heartbeat(::grpc::ClientContext* context, const ::flex::HeartbeatRequest* request, ::flex::HeartbeatResponse* response, std::function) = 0; + virtual void Heartbeat(::grpc::ClientContext* context, const ::flex::HeartbeatRequest* request, ::flex::HeartbeatResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void SubmitWork(::grpc::ClientContext* context, const ::flex::SubmitWorkRequest* request, ::flex::SubmitWorkResponse* response, std::function) = 0; + virtual void SubmitWork(::grpc::ClientContext* context, const ::flex::SubmitWorkRequest* request, ::flex::SubmitWorkResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + // UpdateWork is used to change the state of existing work, such as cancelling work at a users + // request. + virtual void UpdateWork(::grpc::ClientContext* context, const ::flex::UpdateWorkRequest* request, ::flex::UpdateWorkResponse* response, std::function) = 0; + virtual void UpdateWork(::grpc::ClientContext* context, const ::flex::UpdateWorkRequest* request, ::flex::UpdateWorkResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + // Used to change the state of all WRs assigned to a particular node. This is typically only + // used when initially connecting to a node, or if we want to drain the WRs assigned to a node + // if it is being removed. + virtual void BulkUpdateWork(::grpc::ClientContext* context, const ::flex::BulkUpdateWorkRequest* request, ::flex::BulkUpdateWorkResponse* response, std::function) = 0; + virtual void BulkUpdateWork(::grpc::ClientContext* context, const ::flex::BulkUpdateWorkRequest* request, ::flex::BulkUpdateWorkResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void GetCapabilities(::grpc::ClientContext* context, const ::flex::GetCapabilitiesRequest* request, ::flex::GetCapabilitiesResponse* response, std::function) = 0; + virtual void GetCapabilities(::grpc::ClientContext* context, const ::flex::GetCapabilitiesRequest* request, ::flex::GetCapabilitiesResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + }; + typedef class async_interface experimental_async_interface; + virtual class async_interface* async() { return nullptr; } + class async_interface* experimental_async() { return async(); } + private: + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flex::UpdateConfigResponse>* AsyncUpdateConfigRaw(::grpc::ClientContext* context, const ::flex::UpdateConfigRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flex::UpdateConfigResponse>* PrepareAsyncUpdateConfigRaw(::grpc::ClientContext* context, const ::flex::UpdateConfigRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flex::HeartbeatResponse>* AsyncHeartbeatRaw(::grpc::ClientContext* context, const ::flex::HeartbeatRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flex::HeartbeatResponse>* PrepareAsyncHeartbeatRaw(::grpc::ClientContext* context, const ::flex::HeartbeatRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flex::SubmitWorkResponse>* AsyncSubmitWorkRaw(::grpc::ClientContext* context, const ::flex::SubmitWorkRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flex::SubmitWorkResponse>* PrepareAsyncSubmitWorkRaw(::grpc::ClientContext* context, const ::flex::SubmitWorkRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flex::UpdateWorkResponse>* AsyncUpdateWorkRaw(::grpc::ClientContext* context, const ::flex::UpdateWorkRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flex::UpdateWorkResponse>* PrepareAsyncUpdateWorkRaw(::grpc::ClientContext* context, const ::flex::UpdateWorkRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flex::BulkUpdateWorkResponse>* AsyncBulkUpdateWorkRaw(::grpc::ClientContext* context, const ::flex::BulkUpdateWorkRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flex::BulkUpdateWorkResponse>* PrepareAsyncBulkUpdateWorkRaw(::grpc::ClientContext* context, const ::flex::BulkUpdateWorkRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flex::GetCapabilitiesResponse>* AsyncGetCapabilitiesRaw(::grpc::ClientContext* context, const ::flex::GetCapabilitiesRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flex::GetCapabilitiesResponse>* PrepareAsyncGetCapabilitiesRaw(::grpc::ClientContext* context, const ::flex::GetCapabilitiesRequest& request, ::grpc::CompletionQueue* cq) = 0; + }; + class Stub final : public StubInterface { + public: + Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options = ::grpc::StubOptions()); + ::grpc::Status UpdateConfig(::grpc::ClientContext* context, const ::flex::UpdateConfigRequest& request, ::flex::UpdateConfigResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flex::UpdateConfigResponse>> AsyncUpdateConfig(::grpc::ClientContext* context, const ::flex::UpdateConfigRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flex::UpdateConfigResponse>>(AsyncUpdateConfigRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flex::UpdateConfigResponse>> PrepareAsyncUpdateConfig(::grpc::ClientContext* context, const ::flex::UpdateConfigRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flex::UpdateConfigResponse>>(PrepareAsyncUpdateConfigRaw(context, request, cq)); + } + ::grpc::Status Heartbeat(::grpc::ClientContext* context, const ::flex::HeartbeatRequest& request, ::flex::HeartbeatResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flex::HeartbeatResponse>> AsyncHeartbeat(::grpc::ClientContext* context, const ::flex::HeartbeatRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flex::HeartbeatResponse>>(AsyncHeartbeatRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flex::HeartbeatResponse>> PrepareAsyncHeartbeat(::grpc::ClientContext* context, const ::flex::HeartbeatRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flex::HeartbeatResponse>>(PrepareAsyncHeartbeatRaw(context, request, cq)); + } + ::grpc::Status SubmitWork(::grpc::ClientContext* context, const ::flex::SubmitWorkRequest& request, ::flex::SubmitWorkResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flex::SubmitWorkResponse>> AsyncSubmitWork(::grpc::ClientContext* context, const ::flex::SubmitWorkRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flex::SubmitWorkResponse>>(AsyncSubmitWorkRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flex::SubmitWorkResponse>> PrepareAsyncSubmitWork(::grpc::ClientContext* context, const ::flex::SubmitWorkRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flex::SubmitWorkResponse>>(PrepareAsyncSubmitWorkRaw(context, request, cq)); + } + ::grpc::Status UpdateWork(::grpc::ClientContext* context, const ::flex::UpdateWorkRequest& request, ::flex::UpdateWorkResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flex::UpdateWorkResponse>> AsyncUpdateWork(::grpc::ClientContext* context, const ::flex::UpdateWorkRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flex::UpdateWorkResponse>>(AsyncUpdateWorkRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flex::UpdateWorkResponse>> PrepareAsyncUpdateWork(::grpc::ClientContext* context, const ::flex::UpdateWorkRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flex::UpdateWorkResponse>>(PrepareAsyncUpdateWorkRaw(context, request, cq)); + } + ::grpc::Status BulkUpdateWork(::grpc::ClientContext* context, const ::flex::BulkUpdateWorkRequest& request, ::flex::BulkUpdateWorkResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flex::BulkUpdateWorkResponse>> AsyncBulkUpdateWork(::grpc::ClientContext* context, const ::flex::BulkUpdateWorkRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flex::BulkUpdateWorkResponse>>(AsyncBulkUpdateWorkRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flex::BulkUpdateWorkResponse>> PrepareAsyncBulkUpdateWork(::grpc::ClientContext* context, const ::flex::BulkUpdateWorkRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flex::BulkUpdateWorkResponse>>(PrepareAsyncBulkUpdateWorkRaw(context, request, cq)); + } + ::grpc::Status GetCapabilities(::grpc::ClientContext* context, const ::flex::GetCapabilitiesRequest& request, ::flex::GetCapabilitiesResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flex::GetCapabilitiesResponse>> AsyncGetCapabilities(::grpc::ClientContext* context, const ::flex::GetCapabilitiesRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flex::GetCapabilitiesResponse>>(AsyncGetCapabilitiesRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flex::GetCapabilitiesResponse>> PrepareAsyncGetCapabilities(::grpc::ClientContext* context, const ::flex::GetCapabilitiesRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flex::GetCapabilitiesResponse>>(PrepareAsyncGetCapabilitiesRaw(context, request, cq)); + } + class async final : + public StubInterface::async_interface { + public: + void UpdateConfig(::grpc::ClientContext* context, const ::flex::UpdateConfigRequest* request, ::flex::UpdateConfigResponse* response, std::function) override; + void UpdateConfig(::grpc::ClientContext* context, const ::flex::UpdateConfigRequest* request, ::flex::UpdateConfigResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + void Heartbeat(::grpc::ClientContext* context, const ::flex::HeartbeatRequest* request, ::flex::HeartbeatResponse* response, std::function) override; + void Heartbeat(::grpc::ClientContext* context, const ::flex::HeartbeatRequest* request, ::flex::HeartbeatResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + void SubmitWork(::grpc::ClientContext* context, const ::flex::SubmitWorkRequest* request, ::flex::SubmitWorkResponse* response, std::function) override; + void SubmitWork(::grpc::ClientContext* context, const ::flex::SubmitWorkRequest* request, ::flex::SubmitWorkResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + void UpdateWork(::grpc::ClientContext* context, const ::flex::UpdateWorkRequest* request, ::flex::UpdateWorkResponse* response, std::function) override; + void UpdateWork(::grpc::ClientContext* context, const ::flex::UpdateWorkRequest* request, ::flex::UpdateWorkResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + void BulkUpdateWork(::grpc::ClientContext* context, const ::flex::BulkUpdateWorkRequest* request, ::flex::BulkUpdateWorkResponse* response, std::function) override; + void BulkUpdateWork(::grpc::ClientContext* context, const ::flex::BulkUpdateWorkRequest* request, ::flex::BulkUpdateWorkResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + void GetCapabilities(::grpc::ClientContext* context, const ::flex::GetCapabilitiesRequest* request, ::flex::GetCapabilitiesResponse* response, std::function) override; + void GetCapabilities(::grpc::ClientContext* context, const ::flex::GetCapabilitiesRequest* request, ::flex::GetCapabilitiesResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + private: + friend class Stub; + explicit async(Stub* stub): stub_(stub) { } + Stub* stub() { return stub_; } + Stub* stub_; + }; + class async* async() override { return &async_stub_; } + + private: + std::shared_ptr< ::grpc::ChannelInterface> channel_; + class async async_stub_{this}; + ::grpc::ClientAsyncResponseReader< ::flex::UpdateConfigResponse>* AsyncUpdateConfigRaw(::grpc::ClientContext* context, const ::flex::UpdateConfigRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flex::UpdateConfigResponse>* PrepareAsyncUpdateConfigRaw(::grpc::ClientContext* context, const ::flex::UpdateConfigRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flex::HeartbeatResponse>* AsyncHeartbeatRaw(::grpc::ClientContext* context, const ::flex::HeartbeatRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flex::HeartbeatResponse>* PrepareAsyncHeartbeatRaw(::grpc::ClientContext* context, const ::flex::HeartbeatRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flex::SubmitWorkResponse>* AsyncSubmitWorkRaw(::grpc::ClientContext* context, const ::flex::SubmitWorkRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flex::SubmitWorkResponse>* PrepareAsyncSubmitWorkRaw(::grpc::ClientContext* context, const ::flex::SubmitWorkRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flex::UpdateWorkResponse>* AsyncUpdateWorkRaw(::grpc::ClientContext* context, const ::flex::UpdateWorkRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flex::UpdateWorkResponse>* PrepareAsyncUpdateWorkRaw(::grpc::ClientContext* context, const ::flex::UpdateWorkRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flex::BulkUpdateWorkResponse>* AsyncBulkUpdateWorkRaw(::grpc::ClientContext* context, const ::flex::BulkUpdateWorkRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flex::BulkUpdateWorkResponse>* PrepareAsyncBulkUpdateWorkRaw(::grpc::ClientContext* context, const ::flex::BulkUpdateWorkRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flex::GetCapabilitiesResponse>* AsyncGetCapabilitiesRaw(::grpc::ClientContext* context, const ::flex::GetCapabilitiesRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flex::GetCapabilitiesResponse>* PrepareAsyncGetCapabilitiesRaw(::grpc::ClientContext* context, const ::flex::GetCapabilitiesRequest& request, ::grpc::CompletionQueue* cq) override; + const ::grpc::internal::RpcMethod rpcmethod_UpdateConfig_; + const ::grpc::internal::RpcMethod rpcmethod_Heartbeat_; + const ::grpc::internal::RpcMethod rpcmethod_SubmitWork_; + const ::grpc::internal::RpcMethod rpcmethod_UpdateWork_; + const ::grpc::internal::RpcMethod rpcmethod_BulkUpdateWork_; + const ::grpc::internal::RpcMethod rpcmethod_GetCapabilities_; + }; + static std::unique_ptr NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options = ::grpc::StubOptions()); + + class Service : public ::grpc::Service { + public: + Service(); + virtual ~Service(); + virtual ::grpc::Status UpdateConfig(::grpc::ServerContext* context, const ::flex::UpdateConfigRequest* request, ::flex::UpdateConfigResponse* response); + virtual ::grpc::Status Heartbeat(::grpc::ServerContext* context, const ::flex::HeartbeatRequest* request, ::flex::HeartbeatResponse* response); + virtual ::grpc::Status SubmitWork(::grpc::ServerContext* context, const ::flex::SubmitWorkRequest* request, ::flex::SubmitWorkResponse* response); + // UpdateWork is used to change the state of existing work, such as cancelling work at a users + // request. + virtual ::grpc::Status UpdateWork(::grpc::ServerContext* context, const ::flex::UpdateWorkRequest* request, ::flex::UpdateWorkResponse* response); + // Used to change the state of all WRs assigned to a particular node. This is typically only + // used when initially connecting to a node, or if we want to drain the WRs assigned to a node + // if it is being removed. + virtual ::grpc::Status BulkUpdateWork(::grpc::ServerContext* context, const ::flex::BulkUpdateWorkRequest* request, ::flex::BulkUpdateWorkResponse* response); + virtual ::grpc::Status GetCapabilities(::grpc::ServerContext* context, const ::flex::GetCapabilitiesRequest* request, ::flex::GetCapabilitiesResponse* response); + }; + template + class WithAsyncMethod_UpdateConfig : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_UpdateConfig() { + ::grpc::Service::MarkMethodAsync(0); + } + ~WithAsyncMethod_UpdateConfig() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status UpdateConfig(::grpc::ServerContext* /*context*/, const ::flex::UpdateConfigRequest* /*request*/, ::flex::UpdateConfigResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestUpdateConfig(::grpc::ServerContext* context, ::flex::UpdateConfigRequest* request, ::grpc::ServerAsyncResponseWriter< ::flex::UpdateConfigResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(0, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_Heartbeat : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_Heartbeat() { + ::grpc::Service::MarkMethodAsync(1); + } + ~WithAsyncMethod_Heartbeat() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status Heartbeat(::grpc::ServerContext* /*context*/, const ::flex::HeartbeatRequest* /*request*/, ::flex::HeartbeatResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestHeartbeat(::grpc::ServerContext* context, ::flex::HeartbeatRequest* request, ::grpc::ServerAsyncResponseWriter< ::flex::HeartbeatResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(1, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_SubmitWork : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_SubmitWork() { + ::grpc::Service::MarkMethodAsync(2); + } + ~WithAsyncMethod_SubmitWork() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status SubmitWork(::grpc::ServerContext* /*context*/, const ::flex::SubmitWorkRequest* /*request*/, ::flex::SubmitWorkResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestSubmitWork(::grpc::ServerContext* context, ::flex::SubmitWorkRequest* request, ::grpc::ServerAsyncResponseWriter< ::flex::SubmitWorkResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(2, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_UpdateWork : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_UpdateWork() { + ::grpc::Service::MarkMethodAsync(3); + } + ~WithAsyncMethod_UpdateWork() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status UpdateWork(::grpc::ServerContext* /*context*/, const ::flex::UpdateWorkRequest* /*request*/, ::flex::UpdateWorkResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestUpdateWork(::grpc::ServerContext* context, ::flex::UpdateWorkRequest* request, ::grpc::ServerAsyncResponseWriter< ::flex::UpdateWorkResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(3, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_BulkUpdateWork : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_BulkUpdateWork() { + ::grpc::Service::MarkMethodAsync(4); + } + ~WithAsyncMethod_BulkUpdateWork() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status BulkUpdateWork(::grpc::ServerContext* /*context*/, const ::flex::BulkUpdateWorkRequest* /*request*/, ::flex::BulkUpdateWorkResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestBulkUpdateWork(::grpc::ServerContext* context, ::flex::BulkUpdateWorkRequest* request, ::grpc::ServerAsyncResponseWriter< ::flex::BulkUpdateWorkResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(4, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_GetCapabilities : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_GetCapabilities() { + ::grpc::Service::MarkMethodAsync(5); + } + ~WithAsyncMethod_GetCapabilities() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetCapabilities(::grpc::ServerContext* /*context*/, const ::flex::GetCapabilitiesRequest* /*request*/, ::flex::GetCapabilitiesResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGetCapabilities(::grpc::ServerContext* context, ::flex::GetCapabilitiesRequest* request, ::grpc::ServerAsyncResponseWriter< ::flex::GetCapabilitiesResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(5, context, request, response, new_call_cq, notification_cq, tag); + } + }; + typedef WithAsyncMethod_UpdateConfig > > > > > AsyncService; + template + class WithCallbackMethod_UpdateConfig : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithCallbackMethod_UpdateConfig() { + ::grpc::Service::MarkMethodCallback(0, + new ::grpc::internal::CallbackUnaryHandler< ::flex::UpdateConfigRequest, ::flex::UpdateConfigResponse>( + [this]( + ::grpc::CallbackServerContext* context, const ::flex::UpdateConfigRequest* request, ::flex::UpdateConfigResponse* response) { return this->UpdateConfig(context, request, response); }));} + void SetMessageAllocatorFor_UpdateConfig( + ::grpc::MessageAllocator< ::flex::UpdateConfigRequest, ::flex::UpdateConfigResponse>* allocator) { + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(0); + static_cast<::grpc::internal::CallbackUnaryHandler< ::flex::UpdateConfigRequest, ::flex::UpdateConfigResponse>*>(handler) + ->SetMessageAllocator(allocator); + } + ~WithCallbackMethod_UpdateConfig() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status UpdateConfig(::grpc::ServerContext* /*context*/, const ::flex::UpdateConfigRequest* /*request*/, ::flex::UpdateConfigResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* UpdateConfig( + ::grpc::CallbackServerContext* /*context*/, const ::flex::UpdateConfigRequest* /*request*/, ::flex::UpdateConfigResponse* /*response*/) { return nullptr; } + }; + template + class WithCallbackMethod_Heartbeat : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithCallbackMethod_Heartbeat() { + ::grpc::Service::MarkMethodCallback(1, + new ::grpc::internal::CallbackUnaryHandler< ::flex::HeartbeatRequest, ::flex::HeartbeatResponse>( + [this]( + ::grpc::CallbackServerContext* context, const ::flex::HeartbeatRequest* request, ::flex::HeartbeatResponse* response) { return this->Heartbeat(context, request, response); }));} + void SetMessageAllocatorFor_Heartbeat( + ::grpc::MessageAllocator< ::flex::HeartbeatRequest, ::flex::HeartbeatResponse>* allocator) { + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(1); + static_cast<::grpc::internal::CallbackUnaryHandler< ::flex::HeartbeatRequest, ::flex::HeartbeatResponse>*>(handler) + ->SetMessageAllocator(allocator); + } + ~WithCallbackMethod_Heartbeat() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status Heartbeat(::grpc::ServerContext* /*context*/, const ::flex::HeartbeatRequest* /*request*/, ::flex::HeartbeatResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* Heartbeat( + ::grpc::CallbackServerContext* /*context*/, const ::flex::HeartbeatRequest* /*request*/, ::flex::HeartbeatResponse* /*response*/) { return nullptr; } + }; + template + class WithCallbackMethod_SubmitWork : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithCallbackMethod_SubmitWork() { + ::grpc::Service::MarkMethodCallback(2, + new ::grpc::internal::CallbackUnaryHandler< ::flex::SubmitWorkRequest, ::flex::SubmitWorkResponse>( + [this]( + ::grpc::CallbackServerContext* context, const ::flex::SubmitWorkRequest* request, ::flex::SubmitWorkResponse* response) { return this->SubmitWork(context, request, response); }));} + void SetMessageAllocatorFor_SubmitWork( + ::grpc::MessageAllocator< ::flex::SubmitWorkRequest, ::flex::SubmitWorkResponse>* allocator) { + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(2); + static_cast<::grpc::internal::CallbackUnaryHandler< ::flex::SubmitWorkRequest, ::flex::SubmitWorkResponse>*>(handler) + ->SetMessageAllocator(allocator); + } + ~WithCallbackMethod_SubmitWork() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status SubmitWork(::grpc::ServerContext* /*context*/, const ::flex::SubmitWorkRequest* /*request*/, ::flex::SubmitWorkResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* SubmitWork( + ::grpc::CallbackServerContext* /*context*/, const ::flex::SubmitWorkRequest* /*request*/, ::flex::SubmitWorkResponse* /*response*/) { return nullptr; } + }; + template + class WithCallbackMethod_UpdateWork : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithCallbackMethod_UpdateWork() { + ::grpc::Service::MarkMethodCallback(3, + new ::grpc::internal::CallbackUnaryHandler< ::flex::UpdateWorkRequest, ::flex::UpdateWorkResponse>( + [this]( + ::grpc::CallbackServerContext* context, const ::flex::UpdateWorkRequest* request, ::flex::UpdateWorkResponse* response) { return this->UpdateWork(context, request, response); }));} + void SetMessageAllocatorFor_UpdateWork( + ::grpc::MessageAllocator< ::flex::UpdateWorkRequest, ::flex::UpdateWorkResponse>* allocator) { + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(3); + static_cast<::grpc::internal::CallbackUnaryHandler< ::flex::UpdateWorkRequest, ::flex::UpdateWorkResponse>*>(handler) + ->SetMessageAllocator(allocator); + } + ~WithCallbackMethod_UpdateWork() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status UpdateWork(::grpc::ServerContext* /*context*/, const ::flex::UpdateWorkRequest* /*request*/, ::flex::UpdateWorkResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* UpdateWork( + ::grpc::CallbackServerContext* /*context*/, const ::flex::UpdateWorkRequest* /*request*/, ::flex::UpdateWorkResponse* /*response*/) { return nullptr; } + }; + template + class WithCallbackMethod_BulkUpdateWork : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithCallbackMethod_BulkUpdateWork() { + ::grpc::Service::MarkMethodCallback(4, + new ::grpc::internal::CallbackUnaryHandler< ::flex::BulkUpdateWorkRequest, ::flex::BulkUpdateWorkResponse>( + [this]( + ::grpc::CallbackServerContext* context, const ::flex::BulkUpdateWorkRequest* request, ::flex::BulkUpdateWorkResponse* response) { return this->BulkUpdateWork(context, request, response); }));} + void SetMessageAllocatorFor_BulkUpdateWork( + ::grpc::MessageAllocator< ::flex::BulkUpdateWorkRequest, ::flex::BulkUpdateWorkResponse>* allocator) { + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(4); + static_cast<::grpc::internal::CallbackUnaryHandler< ::flex::BulkUpdateWorkRequest, ::flex::BulkUpdateWorkResponse>*>(handler) + ->SetMessageAllocator(allocator); + } + ~WithCallbackMethod_BulkUpdateWork() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status BulkUpdateWork(::grpc::ServerContext* /*context*/, const ::flex::BulkUpdateWorkRequest* /*request*/, ::flex::BulkUpdateWorkResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* BulkUpdateWork( + ::grpc::CallbackServerContext* /*context*/, const ::flex::BulkUpdateWorkRequest* /*request*/, ::flex::BulkUpdateWorkResponse* /*response*/) { return nullptr; } + }; + template + class WithCallbackMethod_GetCapabilities : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithCallbackMethod_GetCapabilities() { + ::grpc::Service::MarkMethodCallback(5, + new ::grpc::internal::CallbackUnaryHandler< ::flex::GetCapabilitiesRequest, ::flex::GetCapabilitiesResponse>( + [this]( + ::grpc::CallbackServerContext* context, const ::flex::GetCapabilitiesRequest* request, ::flex::GetCapabilitiesResponse* response) { return this->GetCapabilities(context, request, response); }));} + void SetMessageAllocatorFor_GetCapabilities( + ::grpc::MessageAllocator< ::flex::GetCapabilitiesRequest, ::flex::GetCapabilitiesResponse>* allocator) { + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(5); + static_cast<::grpc::internal::CallbackUnaryHandler< ::flex::GetCapabilitiesRequest, ::flex::GetCapabilitiesResponse>*>(handler) + ->SetMessageAllocator(allocator); + } + ~WithCallbackMethod_GetCapabilities() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetCapabilities(::grpc::ServerContext* /*context*/, const ::flex::GetCapabilitiesRequest* /*request*/, ::flex::GetCapabilitiesResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* GetCapabilities( + ::grpc::CallbackServerContext* /*context*/, const ::flex::GetCapabilitiesRequest* /*request*/, ::flex::GetCapabilitiesResponse* /*response*/) { return nullptr; } + }; + typedef WithCallbackMethod_UpdateConfig > > > > > CallbackService; + typedef CallbackService ExperimentalCallbackService; + template + class WithGenericMethod_UpdateConfig : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_UpdateConfig() { + ::grpc::Service::MarkMethodGeneric(0); + } + ~WithGenericMethod_UpdateConfig() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status UpdateConfig(::grpc::ServerContext* /*context*/, const ::flex::UpdateConfigRequest* /*request*/, ::flex::UpdateConfigResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_Heartbeat : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_Heartbeat() { + ::grpc::Service::MarkMethodGeneric(1); + } + ~WithGenericMethod_Heartbeat() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status Heartbeat(::grpc::ServerContext* /*context*/, const ::flex::HeartbeatRequest* /*request*/, ::flex::HeartbeatResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_SubmitWork : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_SubmitWork() { + ::grpc::Service::MarkMethodGeneric(2); + } + ~WithGenericMethod_SubmitWork() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status SubmitWork(::grpc::ServerContext* /*context*/, const ::flex::SubmitWorkRequest* /*request*/, ::flex::SubmitWorkResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_UpdateWork : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_UpdateWork() { + ::grpc::Service::MarkMethodGeneric(3); + } + ~WithGenericMethod_UpdateWork() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status UpdateWork(::grpc::ServerContext* /*context*/, const ::flex::UpdateWorkRequest* /*request*/, ::flex::UpdateWorkResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_BulkUpdateWork : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_BulkUpdateWork() { + ::grpc::Service::MarkMethodGeneric(4); + } + ~WithGenericMethod_BulkUpdateWork() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status BulkUpdateWork(::grpc::ServerContext* /*context*/, const ::flex::BulkUpdateWorkRequest* /*request*/, ::flex::BulkUpdateWorkResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_GetCapabilities : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_GetCapabilities() { + ::grpc::Service::MarkMethodGeneric(5); + } + ~WithGenericMethod_GetCapabilities() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetCapabilities(::grpc::ServerContext* /*context*/, const ::flex::GetCapabilitiesRequest* /*request*/, ::flex::GetCapabilitiesResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithRawMethod_UpdateConfig : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_UpdateConfig() { + ::grpc::Service::MarkMethodRaw(0); + } + ~WithRawMethod_UpdateConfig() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status UpdateConfig(::grpc::ServerContext* /*context*/, const ::flex::UpdateConfigRequest* /*request*/, ::flex::UpdateConfigResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestUpdateConfig(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(0, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_Heartbeat : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_Heartbeat() { + ::grpc::Service::MarkMethodRaw(1); + } + ~WithRawMethod_Heartbeat() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status Heartbeat(::grpc::ServerContext* /*context*/, const ::flex::HeartbeatRequest* /*request*/, ::flex::HeartbeatResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestHeartbeat(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(1, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_SubmitWork : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_SubmitWork() { + ::grpc::Service::MarkMethodRaw(2); + } + ~WithRawMethod_SubmitWork() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status SubmitWork(::grpc::ServerContext* /*context*/, const ::flex::SubmitWorkRequest* /*request*/, ::flex::SubmitWorkResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestSubmitWork(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(2, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_UpdateWork : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_UpdateWork() { + ::grpc::Service::MarkMethodRaw(3); + } + ~WithRawMethod_UpdateWork() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status UpdateWork(::grpc::ServerContext* /*context*/, const ::flex::UpdateWorkRequest* /*request*/, ::flex::UpdateWorkResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestUpdateWork(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(3, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_BulkUpdateWork : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_BulkUpdateWork() { + ::grpc::Service::MarkMethodRaw(4); + } + ~WithRawMethod_BulkUpdateWork() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status BulkUpdateWork(::grpc::ServerContext* /*context*/, const ::flex::BulkUpdateWorkRequest* /*request*/, ::flex::BulkUpdateWorkResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestBulkUpdateWork(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(4, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_GetCapabilities : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_GetCapabilities() { + ::grpc::Service::MarkMethodRaw(5); + } + ~WithRawMethod_GetCapabilities() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetCapabilities(::grpc::ServerContext* /*context*/, const ::flex::GetCapabilitiesRequest* /*request*/, ::flex::GetCapabilitiesResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGetCapabilities(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(5, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawCallbackMethod_UpdateConfig : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawCallbackMethod_UpdateConfig() { + ::grpc::Service::MarkMethodRawCallback(0, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->UpdateConfig(context, request, response); })); + } + ~WithRawCallbackMethod_UpdateConfig() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status UpdateConfig(::grpc::ServerContext* /*context*/, const ::flex::UpdateConfigRequest* /*request*/, ::flex::UpdateConfigResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* UpdateConfig( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } + }; + template + class WithRawCallbackMethod_Heartbeat : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawCallbackMethod_Heartbeat() { + ::grpc::Service::MarkMethodRawCallback(1, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->Heartbeat(context, request, response); })); + } + ~WithRawCallbackMethod_Heartbeat() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status Heartbeat(::grpc::ServerContext* /*context*/, const ::flex::HeartbeatRequest* /*request*/, ::flex::HeartbeatResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* Heartbeat( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } + }; + template + class WithRawCallbackMethod_SubmitWork : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawCallbackMethod_SubmitWork() { + ::grpc::Service::MarkMethodRawCallback(2, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->SubmitWork(context, request, response); })); + } + ~WithRawCallbackMethod_SubmitWork() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status SubmitWork(::grpc::ServerContext* /*context*/, const ::flex::SubmitWorkRequest* /*request*/, ::flex::SubmitWorkResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* SubmitWork( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } + }; + template + class WithRawCallbackMethod_UpdateWork : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawCallbackMethod_UpdateWork() { + ::grpc::Service::MarkMethodRawCallback(3, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->UpdateWork(context, request, response); })); + } + ~WithRawCallbackMethod_UpdateWork() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status UpdateWork(::grpc::ServerContext* /*context*/, const ::flex::UpdateWorkRequest* /*request*/, ::flex::UpdateWorkResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* UpdateWork( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } + }; + template + class WithRawCallbackMethod_BulkUpdateWork : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawCallbackMethod_BulkUpdateWork() { + ::grpc::Service::MarkMethodRawCallback(4, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->BulkUpdateWork(context, request, response); })); + } + ~WithRawCallbackMethod_BulkUpdateWork() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status BulkUpdateWork(::grpc::ServerContext* /*context*/, const ::flex::BulkUpdateWorkRequest* /*request*/, ::flex::BulkUpdateWorkResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* BulkUpdateWork( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } + }; + template + class WithRawCallbackMethod_GetCapabilities : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawCallbackMethod_GetCapabilities() { + ::grpc::Service::MarkMethodRawCallback(5, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->GetCapabilities(context, request, response); })); + } + ~WithRawCallbackMethod_GetCapabilities() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetCapabilities(::grpc::ServerContext* /*context*/, const ::flex::GetCapabilitiesRequest* /*request*/, ::flex::GetCapabilitiesResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* GetCapabilities( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } + }; + template + class WithStreamedUnaryMethod_UpdateConfig : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithStreamedUnaryMethod_UpdateConfig() { + ::grpc::Service::MarkMethodStreamed(0, + new ::grpc::internal::StreamedUnaryHandler< + ::flex::UpdateConfigRequest, ::flex::UpdateConfigResponse>( + [this](::grpc::ServerContext* context, + ::grpc::ServerUnaryStreamer< + ::flex::UpdateConfigRequest, ::flex::UpdateConfigResponse>* streamer) { + return this->StreamedUpdateConfig(context, + streamer); + })); + } + ~WithStreamedUnaryMethod_UpdateConfig() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status UpdateConfig(::grpc::ServerContext* /*context*/, const ::flex::UpdateConfigRequest* /*request*/, ::flex::UpdateConfigResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedUpdateConfig(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flex::UpdateConfigRequest,::flex::UpdateConfigResponse>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_Heartbeat : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithStreamedUnaryMethod_Heartbeat() { + ::grpc::Service::MarkMethodStreamed(1, + new ::grpc::internal::StreamedUnaryHandler< + ::flex::HeartbeatRequest, ::flex::HeartbeatResponse>( + [this](::grpc::ServerContext* context, + ::grpc::ServerUnaryStreamer< + ::flex::HeartbeatRequest, ::flex::HeartbeatResponse>* streamer) { + return this->StreamedHeartbeat(context, + streamer); + })); + } + ~WithStreamedUnaryMethod_Heartbeat() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status Heartbeat(::grpc::ServerContext* /*context*/, const ::flex::HeartbeatRequest* /*request*/, ::flex::HeartbeatResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedHeartbeat(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flex::HeartbeatRequest,::flex::HeartbeatResponse>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_SubmitWork : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithStreamedUnaryMethod_SubmitWork() { + ::grpc::Service::MarkMethodStreamed(2, + new ::grpc::internal::StreamedUnaryHandler< + ::flex::SubmitWorkRequest, ::flex::SubmitWorkResponse>( + [this](::grpc::ServerContext* context, + ::grpc::ServerUnaryStreamer< + ::flex::SubmitWorkRequest, ::flex::SubmitWorkResponse>* streamer) { + return this->StreamedSubmitWork(context, + streamer); + })); + } + ~WithStreamedUnaryMethod_SubmitWork() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status SubmitWork(::grpc::ServerContext* /*context*/, const ::flex::SubmitWorkRequest* /*request*/, ::flex::SubmitWorkResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedSubmitWork(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flex::SubmitWorkRequest,::flex::SubmitWorkResponse>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_UpdateWork : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithStreamedUnaryMethod_UpdateWork() { + ::grpc::Service::MarkMethodStreamed(3, + new ::grpc::internal::StreamedUnaryHandler< + ::flex::UpdateWorkRequest, ::flex::UpdateWorkResponse>( + [this](::grpc::ServerContext* context, + ::grpc::ServerUnaryStreamer< + ::flex::UpdateWorkRequest, ::flex::UpdateWorkResponse>* streamer) { + return this->StreamedUpdateWork(context, + streamer); + })); + } + ~WithStreamedUnaryMethod_UpdateWork() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status UpdateWork(::grpc::ServerContext* /*context*/, const ::flex::UpdateWorkRequest* /*request*/, ::flex::UpdateWorkResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedUpdateWork(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flex::UpdateWorkRequest,::flex::UpdateWorkResponse>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_BulkUpdateWork : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithStreamedUnaryMethod_BulkUpdateWork() { + ::grpc::Service::MarkMethodStreamed(4, + new ::grpc::internal::StreamedUnaryHandler< + ::flex::BulkUpdateWorkRequest, ::flex::BulkUpdateWorkResponse>( + [this](::grpc::ServerContext* context, + ::grpc::ServerUnaryStreamer< + ::flex::BulkUpdateWorkRequest, ::flex::BulkUpdateWorkResponse>* streamer) { + return this->StreamedBulkUpdateWork(context, + streamer); + })); + } + ~WithStreamedUnaryMethod_BulkUpdateWork() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status BulkUpdateWork(::grpc::ServerContext* /*context*/, const ::flex::BulkUpdateWorkRequest* /*request*/, ::flex::BulkUpdateWorkResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedBulkUpdateWork(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flex::BulkUpdateWorkRequest,::flex::BulkUpdateWorkResponse>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_GetCapabilities : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithStreamedUnaryMethod_GetCapabilities() { + ::grpc::Service::MarkMethodStreamed(5, + new ::grpc::internal::StreamedUnaryHandler< + ::flex::GetCapabilitiesRequest, ::flex::GetCapabilitiesResponse>( + [this](::grpc::ServerContext* context, + ::grpc::ServerUnaryStreamer< + ::flex::GetCapabilitiesRequest, ::flex::GetCapabilitiesResponse>* streamer) { + return this->StreamedGetCapabilities(context, + streamer); + })); + } + ~WithStreamedUnaryMethod_GetCapabilities() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status GetCapabilities(::grpc::ServerContext* /*context*/, const ::flex::GetCapabilitiesRequest* /*request*/, ::flex::GetCapabilitiesResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedGetCapabilities(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flex::GetCapabilitiesRequest,::flex::GetCapabilitiesResponse>* server_unary_streamer) = 0; + }; + typedef WithStreamedUnaryMethod_UpdateConfig > > > > > StreamedUnaryService; + typedef Service SplitStreamedService; + typedef WithStreamedUnaryMethod_UpdateConfig > > > > > StreamedService; +}; + +} // namespace flex + + +#include +#endif // GRPC_flex_2eproto__INCLUDED diff --git a/cpp/include/proto/flex.pb.cc b/cpp/include/proto/flex.pb.cc new file mode 100644 index 0000000..adacdb6 --- /dev/null +++ b/cpp/include/proto/flex.pb.cc @@ -0,0 +1,14638 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: flex.proto +// Protobuf C++ Version: 6.31.1 + +#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 + : _cached_size_{0}, + offset_start_{::int64_t{0}}, + offset_stop_{::int64_t{0}}, + parts_start_{0}, + parts_stop_{0} {} + +template +PROTOBUF_CONSTEXPR WorkRequest_Segment::WorkRequest_Segment(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(WorkRequest_Segment_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 + : _cached_size_{0}, + message_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + state_{static_cast< ::flex::Work_State >(0)} {} + +template +PROTOBUF_CONSTEXPR Work_Status::Work_Status(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(Work_Status_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 + : _cached_size_{0}, + 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} {} + +template +PROTOBUF_CONSTEXPR Work_Part::Work_Part(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(Work_Part_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 + : _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()), + new_state_{static_cast< ::flex::UpdateWorkRequest_NewState >(0)} {} + +template +PROTOBUF_CONSTEXPR UpdateWorkRequest::UpdateWorkRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(UpdateWorkRequest_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 + : _cached_size_{0}, + message_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + result_{static_cast< ::flex::UpdateConfigResponse_Result >(0)} {} + +template +PROTOBUF_CONSTEXPR UpdateConfigResponse::UpdateConfigResponse(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(UpdateConfigResponse_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(SyncJob_MetadataEntry_DoNotUse_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 + : _cached_size_{0}, + 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} {} + +template +PROTOBUF_CONSTEXPR RemoteStorageTarget_S3_StorageClass_Archival::RemoteStorageTarget_S3_StorageClass_Archival(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(RemoteStorageTarget_S3_StorageClass_Archival_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 + : _cached_size_{0}, + fast_start_max_size_{::int64_t{0}} {} + +template +PROTOBUF_CONSTEXPR RemoteStorageTarget_Policies::RemoteStorageTarget_Policies(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(RemoteStorageTarget_Policies_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 + : _cached_size_{0}, + path_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()) {} + +template +PROTOBUF_CONSTEXPR RemoteStorageTarget_POSIX::RemoteStorageTarget_POSIX(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(RemoteStorageTarget_POSIX_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(JobRequestCfg_MetadataEntry_DoNotUse_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 + : _cached_size_{0}, + include_stats_{false} {} + +template +PROTOBUF_CONSTEXPR HeartbeatRequest::HeartbeatRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(HeartbeatRequest_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(GetCapabilitiesRequest_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(Feature_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(Feature_SubFeatureEntry_DoNotUse_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 + : _cached_size_{0}, + message_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + success_{false} {} + +template +PROTOBUF_CONSTEXPR BulkUpdateWorkResponse::BulkUpdateWorkResponse(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(BulkUpdateWorkResponse_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 + : _cached_size_{0}, + new_state_{static_cast< ::flex::BulkUpdateWorkRequest_NewState >(0)} {} + +template +PROTOBUF_CONSTEXPR BulkUpdateWorkRequest::BulkUpdateWorkRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(BulkUpdateWorkRequest_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 + : _cached_size_{0}, + 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()) {} + +template +PROTOBUF_CONSTEXPR BuildInfo::BuildInfo(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(BuildInfo_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 + : _cached_size_{0}, + 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}, + auth_disable_{false}, + mgmtd_use_proxy_{false} {} + +template +PROTOBUF_CONSTEXPR BeeRemoteNode::BeeRemoteNode(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(BeeRemoteNode_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(Work_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(RemoteStorageTarget_S3_StorageClass_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(NodeStats_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(JobLockedInfo_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(GetCapabilitiesResponse_FeaturesEntry_DoNotUse_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(UpdateWorkResponse_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(SyncJob_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(SubmitWorkResponse_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 + : _cached_size_{0}, + 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()) {} + +template +PROTOBUF_CONSTEXPR RemoteStorageTarget_S3::RemoteStorageTarget_S3(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(RemoteStorageTarget_S3_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(JobRequestCfg_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(HeartbeatResponse_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(GetCapabilitiesResponse_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(RemoteStorageTarget_Azure_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(MockJob_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(BuilderJob_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(WorkRequest_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(RemoteStorageTarget_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(UpdateConfigRequest_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(SubmitWorkRequest_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* PROTOBUF_NONNULL + file_level_enum_descriptors_flex_2eproto[5]; +static constexpr const ::_pb::ServiceDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE + file_level_service_descriptors_flex_2eproto = nullptr; +const ::uint32_t + TableStruct_flex_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + 0x081, // bitmap + PROTOBUF_FIELD_OFFSET(::flex::HeartbeatRequest, _impl_._has_bits_), + 4, // hasbit index offset + PROTOBUF_FIELD_OFFSET(::flex::HeartbeatRequest, _impl_.include_stats_), + 0, + 0x081, // bitmap + PROTOBUF_FIELD_OFFSET(::flex::HeartbeatResponse, _impl_._has_bits_), + 5, // hasbit index offset + PROTOBUF_FIELD_OFFSET(::flex::HeartbeatResponse, _impl_.is_ready_), + PROTOBUF_FIELD_OFFSET(::flex::HeartbeatResponse, _impl_.node_stats_), + 1, + 0, + 0x081, // bitmap + PROTOBUF_FIELD_OFFSET(::flex::NodeStats, _impl_._has_bits_), + 5, // hasbit index offset + PROTOBUF_FIELD_OFFSET(::flex::NodeStats, _impl_.timestamp_), + PROTOBUF_FIELD_OFFSET(::flex::NodeStats, _impl_.active_requests_), + 0, + 1, + 0x081, // bitmap + PROTOBUF_FIELD_OFFSET(::flex::SubmitWorkRequest, _impl_._has_bits_), + 4, // hasbit index offset + PROTOBUF_FIELD_OFFSET(::flex::SubmitWorkRequest, _impl_.request_), + 0, + 0x081, // bitmap + PROTOBUF_FIELD_OFFSET(::flex::SubmitWorkResponse, _impl_._has_bits_), + 4, // hasbit index offset + PROTOBUF_FIELD_OFFSET(::flex::SubmitWorkResponse, _impl_.work_), + 0, + 0x081, // bitmap + PROTOBUF_FIELD_OFFSET(::flex::UpdateWorkRequest, _impl_._has_bits_), + 6, // hasbit index offset + PROTOBUF_FIELD_OFFSET(::flex::UpdateWorkRequest, _impl_.job_id_), + PROTOBUF_FIELD_OFFSET(::flex::UpdateWorkRequest, _impl_.request_id_), + PROTOBUF_FIELD_OFFSET(::flex::UpdateWorkRequest, _impl_.new_state_), + 0, + 1, + 2, + 0x081, // bitmap + PROTOBUF_FIELD_OFFSET(::flex::UpdateWorkResponse, _impl_._has_bits_), + 4, // hasbit index offset + PROTOBUF_FIELD_OFFSET(::flex::UpdateWorkResponse, _impl_.work_), + 0, + 0x081, // bitmap + PROTOBUF_FIELD_OFFSET(::flex::BulkUpdateWorkRequest, _impl_._has_bits_), + 4, // hasbit index offset + PROTOBUF_FIELD_OFFSET(::flex::BulkUpdateWorkRequest, _impl_.new_state_), + 0, + 0x081, // bitmap + PROTOBUF_FIELD_OFFSET(::flex::BulkUpdateWorkResponse, _impl_._has_bits_), + 5, // hasbit index offset + PROTOBUF_FIELD_OFFSET(::flex::BulkUpdateWorkResponse, _impl_.success_), + PROTOBUF_FIELD_OFFSET(::flex::BulkUpdateWorkResponse, _impl_.message_), + 1, + 0, + 0x081, // bitmap + PROTOBUF_FIELD_OFFSET(::flex::JobLockedInfo, _impl_._has_bits_), + 14, // hasbit index offset + 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_), + 6, + 7, + 4, + 5, + 2, + 9, + 3, + 10, + 0, + 1, + 8, + 0x081, // bitmap + PROTOBUF_FIELD_OFFSET(::flex::JobRequestCfg_MetadataEntry_DoNotUse, _impl_._has_bits_), + 5, // hasbit index offset + PROTOBUF_FIELD_OFFSET(::flex::JobRequestCfg_MetadataEntry_DoNotUse, _impl_.key_), + PROTOBUF_FIELD_OFFSET(::flex::JobRequestCfg_MetadataEntry_DoNotUse, _impl_.value_), + 0, + 1, + 0x081, // bitmap + PROTOBUF_FIELD_OFFSET(::flex::JobRequestCfg, _impl_._has_bits_), + 19, // hasbit index offset + 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_), + 6, + 0, + 1, + 7, + 8, + 9, + 10, + 12, + 5, + 13, + ~0u, + 3, + 11, + 2, + 14, + 4, + 0x081, // bitmap + PROTOBUF_FIELD_OFFSET(::flex::WorkRequest_Segment, _impl_._has_bits_), + 7, // hasbit index offset + 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_), + 0, + 1, + 2, + 3, + 0x085, // bitmap + PROTOBUF_FIELD_OFFSET(::flex::WorkRequest, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::flex::WorkRequest, _impl_._oneof_case_[0]), + 16, // hasbit index offset + 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_), + 0, + 1, + 2, + 3, + 4, + 5, + ~0u, + ~0u, + ~0u, + 6, + 7, + 0x081, // bitmap + PROTOBUF_FIELD_OFFSET(::flex::BuilderJob, _impl_._has_bits_), + 6, // hasbit index offset + PROTOBUF_FIELD_OFFSET(::flex::BuilderJob, _impl_.cfg_), + PROTOBUF_FIELD_OFFSET(::flex::BuilderJob, _impl_.submitted_), + PROTOBUF_FIELD_OFFSET(::flex::BuilderJob, _impl_.errors_), + 0, + 1, + 2, + 0x081, // bitmap + PROTOBUF_FIELD_OFFSET(::flex::MockJob, _impl_._has_bits_), + 9, // hasbit index offset + 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_), + 4, + 3, + 0, + 5, + 1, + 2, + 0x081, // bitmap + PROTOBUF_FIELD_OFFSET(::flex::SyncJob_MetadataEntry_DoNotUse, _impl_._has_bits_), + 5, // hasbit index offset + PROTOBUF_FIELD_OFFSET(::flex::SyncJob_MetadataEntry_DoNotUse, _impl_.key_), + PROTOBUF_FIELD_OFFSET(::flex::SyncJob_MetadataEntry_DoNotUse, _impl_.value_), + 0, + 1, + 0x081, // bitmap + PROTOBUF_FIELD_OFFSET(::flex::SyncJob, _impl_._has_bits_), + 13, // hasbit index offset + 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_), + 4, + 5, + 0, + 6, + 3, + 7, + ~0u, + 1, + 2, + 8, + 0x081, // bitmap + PROTOBUF_FIELD_OFFSET(::flex::Work_Status, _impl_._has_bits_), + 5, // hasbit index offset + PROTOBUF_FIELD_OFFSET(::flex::Work_Status, _impl_.state_), + PROTOBUF_FIELD_OFFSET(::flex::Work_Status, _impl_.message_), + 1, + 0, + 0x081, // bitmap + PROTOBUF_FIELD_OFFSET(::flex::Work_Part, _impl_._has_bits_), + 9, // hasbit index offset + 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_), + 4, + 2, + 3, + 0, + 1, + 5, + 0x081, // bitmap + PROTOBUF_FIELD_OFFSET(::flex::Work, _impl_._has_bits_), + 9, // hasbit index offset + 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_), + 0, + 1, + 2, + 3, + ~0u, + 4, + 0x081, // bitmap + PROTOBUF_FIELD_OFFSET(::flex::UpdateConfigRequest, _impl_._has_bits_), + 5, // hasbit index offset + PROTOBUF_FIELD_OFFSET(::flex::UpdateConfigRequest, _impl_.bee_remote_), + PROTOBUF_FIELD_OFFSET(::flex::UpdateConfigRequest, _impl_.rsts_), + 0, + ~0u, + 0x081, // bitmap + PROTOBUF_FIELD_OFFSET(::flex::UpdateConfigResponse, _impl_._has_bits_), + 5, // hasbit index offset + PROTOBUF_FIELD_OFFSET(::flex::UpdateConfigResponse, _impl_.result_), + PROTOBUF_FIELD_OFFSET(::flex::UpdateConfigResponse, _impl_.message_), + 1, + 0, + 0x081, // bitmap + PROTOBUF_FIELD_OFFSET(::flex::BeeRemoteNode, _impl_._has_bits_), + 12, // hasbit index offset + 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_), + 0, + 1, + 2, + 3, + 5, + 6, + 8, + 4, + 7, + 0x081, // bitmap + PROTOBUF_FIELD_OFFSET(::flex::RemoteStorageTarget_Policies, _impl_._has_bits_), + 4, // hasbit index offset + PROTOBUF_FIELD_OFFSET(::flex::RemoteStorageTarget_Policies, _impl_.fast_start_max_size_), + 0, + 0x081, // bitmap + PROTOBUF_FIELD_OFFSET(::flex::RemoteStorageTarget_S3_StorageClass_Archival, _impl_._has_bits_), + 8, // hasbit index offset + 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_), + 0, + 3, + 1, + 2, + 4, + 0x081, // bitmap + PROTOBUF_FIELD_OFFSET(::flex::RemoteStorageTarget_S3_StorageClass, _impl_._has_bits_), + 5, // hasbit index offset + PROTOBUF_FIELD_OFFSET(::flex::RemoteStorageTarget_S3_StorageClass, _impl_.name_), + PROTOBUF_FIELD_OFFSET(::flex::RemoteStorageTarget_S3_StorageClass, _impl_.archival_), + 0, + 1, + 0x081, // bitmap + PROTOBUF_FIELD_OFFSET(::flex::RemoteStorageTarget_S3, _impl_._has_bits_), + 10, // hasbit index offset + 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_), + 0, + 1, + 2, + 3, + 4, + 5, + ~0u, + 0x081, // bitmap + PROTOBUF_FIELD_OFFSET(::flex::RemoteStorageTarget_Azure, _impl_._has_bits_), + 5, // hasbit index offset + PROTOBUF_FIELD_OFFSET(::flex::RemoteStorageTarget_Azure, _impl_.s3_), + PROTOBUF_FIELD_OFFSET(::flex::RemoteStorageTarget_Azure, _impl_.account_), + 1, + 0, + 0x081, // bitmap + PROTOBUF_FIELD_OFFSET(::flex::RemoteStorageTarget_POSIX, _impl_._has_bits_), + 4, // hasbit index offset + PROTOBUF_FIELD_OFFSET(::flex::RemoteStorageTarget_POSIX, _impl_.path_), + 0, + 0x085, // bitmap + PROTOBUF_FIELD_OFFSET(::flex::RemoteStorageTarget, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::flex::RemoteStorageTarget, _impl_._oneof_case_[0]), + 12, // hasbit index offset + 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_), + 2, + 0, + 1, + ~0u, + ~0u, + ~0u, + ~0u, + 0x000, // bitmap + 0x081, // bitmap + PROTOBUF_FIELD_OFFSET(::flex::GetCapabilitiesResponse_FeaturesEntry_DoNotUse, _impl_._has_bits_), + 5, // hasbit index offset + PROTOBUF_FIELD_OFFSET(::flex::GetCapabilitiesResponse_FeaturesEntry_DoNotUse, _impl_.key_), + PROTOBUF_FIELD_OFFSET(::flex::GetCapabilitiesResponse_FeaturesEntry_DoNotUse, _impl_.value_), + 0, + 1, + 0x081, // bitmap + PROTOBUF_FIELD_OFFSET(::flex::GetCapabilitiesResponse, _impl_._has_bits_), + 6, // hasbit index offset + 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, + 0x081, // bitmap + PROTOBUF_FIELD_OFFSET(::flex::Feature_SubFeatureEntry_DoNotUse, _impl_._has_bits_), + 5, // hasbit index offset + PROTOBUF_FIELD_OFFSET(::flex::Feature_SubFeatureEntry_DoNotUse, _impl_.key_), + PROTOBUF_FIELD_OFFSET(::flex::Feature_SubFeatureEntry_DoNotUse, _impl_.value_), + 0, + 1, + 0x000, // bitmap + PROTOBUF_FIELD_OFFSET(::flex::Feature, _impl_.sub_feature_), + 0x081, // bitmap + PROTOBUF_FIELD_OFFSET(::flex::BuildInfo, _impl_._has_bits_), + 7, // hasbit index offset + 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_), + 0, + 1, + 2, + 3, +}; + +static const ::_pbi::MigrationSchema + schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + {0, sizeof(::flex::HeartbeatRequest)}, + {5, sizeof(::flex::HeartbeatResponse)}, + {12, sizeof(::flex::NodeStats)}, + {19, sizeof(::flex::SubmitWorkRequest)}, + {24, sizeof(::flex::SubmitWorkResponse)}, + {29, sizeof(::flex::UpdateWorkRequest)}, + {38, sizeof(::flex::UpdateWorkResponse)}, + {43, sizeof(::flex::BulkUpdateWorkRequest)}, + {48, sizeof(::flex::BulkUpdateWorkResponse)}, + {55, sizeof(::flex::JobLockedInfo)}, + {80, sizeof(::flex::JobRequestCfg_MetadataEntry_DoNotUse)}, + {87, sizeof(::flex::JobRequestCfg)}, + {122, sizeof(::flex::WorkRequest_Segment)}, + {133, sizeof(::flex::WorkRequest)}, + {160, sizeof(::flex::BuilderJob)}, + {169, sizeof(::flex::MockJob)}, + {184, sizeof(::flex::SyncJob_MetadataEntry_DoNotUse)}, + {191, sizeof(::flex::SyncJob)}, + {214, sizeof(::flex::Work_Status)}, + {221, sizeof(::flex::Work_Part)}, + {236, sizeof(::flex::Work)}, + {251, sizeof(::flex::UpdateConfigRequest)}, + {258, sizeof(::flex::UpdateConfigResponse)}, + {265, sizeof(::flex::BeeRemoteNode)}, + {286, sizeof(::flex::RemoteStorageTarget_Policies)}, + {291, sizeof(::flex::RemoteStorageTarget_S3_StorageClass_Archival)}, + {304, sizeof(::flex::RemoteStorageTarget_S3_StorageClass)}, + {311, sizeof(::flex::RemoteStorageTarget_S3)}, + {328, sizeof(::flex::RemoteStorageTarget_Azure)}, + {335, sizeof(::flex::RemoteStorageTarget_POSIX)}, + {340, sizeof(::flex::RemoteStorageTarget)}, + {359, sizeof(::flex::GetCapabilitiesRequest)}, + {360, sizeof(::flex::GetCapabilitiesResponse_FeaturesEntry_DoNotUse)}, + {367, sizeof(::flex::GetCapabilitiesResponse)}, + {376, sizeof(::flex::Feature_SubFeatureEntry_DoNotUse)}, + {383, sizeof(::flex::Feature)}, + {385, sizeof(::flex::BuildInfo)}, +}; +static const ::_pb::Message* PROTOBUF_NONNULL 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* PROTOBUF_NONNULL 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* PROTOBUF_NONNULL 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, }; +const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL 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, }; +const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL 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, }; +const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL 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, }; +const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL 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, }; +// =================================================================== + +class HeartbeatRequest::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(HeartbeatRequest, _impl_._has_bits_); +}; + +HeartbeatRequest::HeartbeatRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, HeartbeatRequest_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* PROTOBUF_NULLABLE arena, const HeartbeatRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, HeartbeatRequest_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); +} +PROTOBUF_NDEBUG_INLINE HeartbeatRequest::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0} {} + +inline void HeartbeatRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE 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* PROTOBUF_NONNULL HeartbeatRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) HeartbeatRequest(arena); +} +constexpr auto HeartbeatRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(HeartbeatRequest), + alignof(HeartbeatRequest)); +} +constexpr auto HeartbeatRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull HeartbeatRequest_class_data_ = + HeartbeatRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +HeartbeatRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&HeartbeatRequest_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(HeartbeatRequest_class_data_.tc_table); + return HeartbeatRequest_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 0, 0, 2> +HeartbeatRequest::_table_ = { + { + PROTOBUF_FIELD_OFFSET(HeartbeatRequest, _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 + HeartbeatRequest_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, 0, 0, PROTOBUF_FIELD_OFFSET(HeartbeatRequest, _impl_.include_stats_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // bool include_stats = 1; + {PROTOBUF_FIELD_OFFSET(HeartbeatRequest, _impl_.include_stats_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_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; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL HeartbeatRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const HeartbeatRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL HeartbeatRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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_._impl_._has_bits_[0] & 0x00000001u) != 0) { + if (this_._internal_include_stats() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this_._internal_include_stats(), target); + } + } + + if (ABSL_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; + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000001u) != 0) { + 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; + + cached_has_bits = from._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000001u) != 0) { + if (from._internal_include_stats() != 0) { + _this->_impl_.include_stats_ = from._impl_.include_stats_; + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _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 PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + 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* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, HeartbeatResponse_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:flex.HeartbeatResponse) +} +PROTOBUF_NDEBUG_INLINE HeartbeatResponse::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::flex::HeartbeatResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +HeartbeatResponse::HeartbeatResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const HeartbeatResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, HeartbeatResponse_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) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.node_stats_) + : nullptr; + _impl_.is_ready_ = from._impl_.is_ready_; + + // @@protoc_insertion_point(copy_constructor:flex.HeartbeatResponse) +} +PROTOBUF_NDEBUG_INLINE HeartbeatResponse::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0} {} + +inline void HeartbeatResponse::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE 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* PROTOBUF_NONNULL HeartbeatResponse::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) HeartbeatResponse(arena); +} +constexpr auto HeartbeatResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(HeartbeatResponse), + alignof(HeartbeatResponse)); +} +constexpr auto HeartbeatResponse::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull HeartbeatResponse_class_data_ = + HeartbeatResponse::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +HeartbeatResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&HeartbeatResponse_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(HeartbeatResponse_class_data_.tc_table); + return HeartbeatResponse_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), + HeartbeatResponse_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, 1, 0, PROTOBUF_FIELD_OFFSET(HeartbeatResponse, _impl_.is_ready_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // bool is_ready = 1; + {PROTOBUF_FIELD_OFFSET(HeartbeatResponse, _impl_.is_ready_), _Internal::kHasBitsOffset + 1, 0, + (0 | ::_fl::kFcOptional | ::_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) != 0) { + 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* PROTOBUF_NONNULL HeartbeatResponse::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const HeartbeatResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL HeartbeatResponse::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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_._impl_._has_bits_[0] & 0x00000002u) != 0) { + 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) != 0) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.node_stats_, this_._impl_.node_stats_->GetCachedSize(), target, + stream); + } + + if (ABSL_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_); + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000003u) != 0) { + // .flex.NodeStats node_stats = 2; + if ((cached_has_bits & 0x00000001u) != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.node_stats_); + } + // bool is_ready = 1; + if ((cached_has_bits & 0x00000002u) != 0) { + 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 & 0x00000003u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + ABSL_DCHECK(from._impl_.node_stats_ != nullptr); + if (_this->_impl_.node_stats_ == nullptr) { + _this->_impl_.node_stats_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.node_stats_); + } else { + _this->_impl_.node_stats_->MergeFrom(*from._impl_.node_stats_); + } + } + if ((cached_has_bits & 0x00000002u) != 0) { + 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 PROTOBUF_NONNULL 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* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, NodeStats_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:flex.NodeStats) +} +PROTOBUF_NDEBUG_INLINE NodeStats::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::flex::NodeStats& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +NodeStats::NodeStats( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const NodeStats& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, NodeStats_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) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.timestamp_) + : nullptr; + _impl_.active_requests_ = from._impl_.active_requests_; + + // @@protoc_insertion_point(copy_constructor:flex.NodeStats) +} +PROTOBUF_NDEBUG_INLINE NodeStats::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0} {} + +inline void NodeStats::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE 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* PROTOBUF_NONNULL NodeStats::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) NodeStats(arena); +} +constexpr auto NodeStats::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(NodeStats), + alignof(NodeStats)); +} +constexpr auto NodeStats::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull NodeStats_class_data_ = + NodeStats::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +NodeStats::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&NodeStats_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(NodeStats_class_data_.tc_table); + return NodeStats_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), + NodeStats_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_), 1>(), + {16, 1, 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_), _Internal::kHasBitsOffset + 1, 0, + (0 | ::_fl::kFcOptional | ::_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) != 0) { + 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* PROTOBUF_NONNULL NodeStats::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const NodeStats& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL NodeStats::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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) != 0) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.timestamp_, this_._impl_.timestamp_->GetCachedSize(), target, + stream); + } + + // int64 active_requests = 2; + if ((cached_has_bits & 0x00000002u) != 0) { + if (this_._internal_active_requests() != 0) { + target = + ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<2>( + stream, this_._internal_active_requests(), target); + } + } + + if (ABSL_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_); + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000003u) != 0) { + // .google.protobuf.Timestamp timestamp = 1; + if ((cached_has_bits & 0x00000001u) != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.timestamp_); + } + // int64 active_requests = 2; + if ((cached_has_bits & 0x00000002u) != 0) { + 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 & 0x00000003u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + ABSL_DCHECK(from._impl_.timestamp_ != nullptr); + if (_this->_impl_.timestamp_ == nullptr) { + _this->_impl_.timestamp_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.timestamp_); + } else { + _this->_impl_.timestamp_->MergeFrom(*from._impl_.timestamp_); + } + } + if ((cached_has_bits & 0x00000002u) != 0) { + 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 PROTOBUF_NONNULL 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* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, SubmitWorkRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:flex.SubmitWorkRequest) +} +PROTOBUF_NDEBUG_INLINE SubmitWorkRequest::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::flex::SubmitWorkRequest& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +SubmitWorkRequest::SubmitWorkRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const SubmitWorkRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, SubmitWorkRequest_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) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.request_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:flex.SubmitWorkRequest) +} +PROTOBUF_NDEBUG_INLINE SubmitWorkRequest::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0} {} + +inline void SubmitWorkRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE 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* PROTOBUF_NONNULL SubmitWorkRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) SubmitWorkRequest(arena); +} +constexpr auto SubmitWorkRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SubmitWorkRequest), + alignof(SubmitWorkRequest)); +} +constexpr auto SubmitWorkRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull SubmitWorkRequest_class_data_ = + SubmitWorkRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +SubmitWorkRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&SubmitWorkRequest_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(SubmitWorkRequest_class_data_.tc_table); + return SubmitWorkRequest_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), + SubmitWorkRequest_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) != 0) { + 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* PROTOBUF_NONNULL SubmitWorkRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const SubmitWorkRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL SubmitWorkRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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) != 0) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.request_, this_._impl_.request_->GetCachedSize(), target, + stream); + } + + if (ABSL_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) != 0) { + 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) != 0) { + ABSL_DCHECK(from._impl_.request_ != nullptr); + if (_this->_impl_.request_ == nullptr) { + _this->_impl_.request_ = ::google::protobuf::Message::CopyConstruct(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 PROTOBUF_NONNULL 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* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, SubmitWorkResponse_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:flex.SubmitWorkResponse) +} +PROTOBUF_NDEBUG_INLINE SubmitWorkResponse::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::flex::SubmitWorkResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +SubmitWorkResponse::SubmitWorkResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const SubmitWorkResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, SubmitWorkResponse_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) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.work_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:flex.SubmitWorkResponse) +} +PROTOBUF_NDEBUG_INLINE SubmitWorkResponse::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0} {} + +inline void SubmitWorkResponse::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE 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* PROTOBUF_NONNULL SubmitWorkResponse::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) SubmitWorkResponse(arena); +} +constexpr auto SubmitWorkResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SubmitWorkResponse), + alignof(SubmitWorkResponse)); +} +constexpr auto SubmitWorkResponse::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull SubmitWorkResponse_class_data_ = + SubmitWorkResponse::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +SubmitWorkResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&SubmitWorkResponse_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(SubmitWorkResponse_class_data_.tc_table); + return SubmitWorkResponse_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), + SubmitWorkResponse_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) != 0) { + 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* PROTOBUF_NONNULL SubmitWorkResponse::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const SubmitWorkResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL SubmitWorkResponse::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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) != 0) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.work_, this_._impl_.work_->GetCachedSize(), target, + stream); + } + + if (ABSL_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) != 0) { + 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) != 0) { + ABSL_DCHECK(from._impl_.work_ != nullptr); + if (_this->_impl_.work_ == nullptr) { + _this->_impl_.work_ = ::google::protobuf::Message::CopyConstruct(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 PROTOBUF_NONNULL 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: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(UpdateWorkRequest, _impl_._has_bits_); +}; + +UpdateWorkRequest::UpdateWorkRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, UpdateWorkRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:flex.UpdateWorkRequest) +} +PROTOBUF_NDEBUG_INLINE UpdateWorkRequest::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::flex::UpdateWorkRequest& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + job_id_(arena, from.job_id_), + request_id_(arena, from.request_id_) {} + +UpdateWorkRequest::UpdateWorkRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const UpdateWorkRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, UpdateWorkRequest_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) +} +PROTOBUF_NDEBUG_INLINE UpdateWorkRequest::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + job_id_(arena), + request_id_(arena) {} + +inline void UpdateWorkRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE 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* PROTOBUF_NONNULL UpdateWorkRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) UpdateWorkRequest(arena); +} +constexpr auto UpdateWorkRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(UpdateWorkRequest), + alignof(UpdateWorkRequest)); +} +constexpr auto UpdateWorkRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull UpdateWorkRequest_class_data_ = + UpdateWorkRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +UpdateWorkRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&UpdateWorkRequest_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(UpdateWorkRequest_class_data_.tc_table); + return UpdateWorkRequest_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 0, 47, 2> +UpdateWorkRequest::_table_ = { + { + PROTOBUF_FIELD_OFFSET(UpdateWorkRequest, _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 + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + UpdateWorkRequest_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, 0, 0, PROTOBUF_FIELD_OFFSET(UpdateWorkRequest, _impl_.job_id_)}}, + // string request_id = 2; + {::_pbi::TcParser::FastUS1, + {18, 1, 0, PROTOBUF_FIELD_OFFSET(UpdateWorkRequest, _impl_.request_id_)}}, + // .flex.UpdateWorkRequest.NewState new_state = 3; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(UpdateWorkRequest, _impl_.new_state_), 2>(), + {24, 2, 0, PROTOBUF_FIELD_OFFSET(UpdateWorkRequest, _impl_.new_state_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string job_id = 1; + {PROTOBUF_FIELD_OFFSET(UpdateWorkRequest, _impl_.job_id_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string request_id = 2; + {PROTOBUF_FIELD_OFFSET(UpdateWorkRequest, _impl_.request_id_), _Internal::kHasBitsOffset + 1, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // .flex.UpdateWorkRequest.NewState new_state = 3; + {PROTOBUF_FIELD_OFFSET(UpdateWorkRequest, _impl_.new_state_), _Internal::kHasBitsOffset + 2, 0, + (0 | ::_fl::kFcOptional | ::_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; + + cached_has_bits = _impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000003u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + _impl_.job_id_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000002u) != 0) { + _impl_.request_id_.ClearNonDefaultToEmpty(); + } + } + _impl_.new_state_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL UpdateWorkRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const UpdateWorkRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL UpdateWorkRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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_._impl_._has_bits_[0] & 0x00000001u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000002u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000004u) != 0) { + if (this_._internal_new_state() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 3, this_._internal_new_state(), target); + } + } + + if (ABSL_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_); + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000007u) != 0) { + // string job_id = 1; + if ((cached_has_bits & 0x00000001u) != 0) { + if (!this_._internal_job_id().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_job_id()); + } + } + // string request_id = 2; + if ((cached_has_bits & 0x00000002u) != 0) { + 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 ((cached_has_bits & 0x00000004u) != 0) { + 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; + + cached_has_bits = from._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000007u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + if (!from._internal_job_id().empty()) { + _this->_internal_set_job_id(from._internal_job_id()); + } else { + if (_this->_impl_.job_id_.IsDefault()) { + _this->_internal_set_job_id(""); + } + } + } + if ((cached_has_bits & 0x00000002u) != 0) { + if (!from._internal_request_id().empty()) { + _this->_internal_set_request_id(from._internal_request_id()); + } else { + if (_this->_impl_.request_id_.IsDefault()) { + _this->_internal_set_request_id(""); + } + } + } + if ((cached_has_bits & 0x00000004u) != 0) { + 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 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 PROTOBUF_NONNULL 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); + 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* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, UpdateWorkResponse_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:flex.UpdateWorkResponse) +} +PROTOBUF_NDEBUG_INLINE UpdateWorkResponse::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::flex::UpdateWorkResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +UpdateWorkResponse::UpdateWorkResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const UpdateWorkResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, UpdateWorkResponse_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) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.work_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:flex.UpdateWorkResponse) +} +PROTOBUF_NDEBUG_INLINE UpdateWorkResponse::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0} {} + +inline void UpdateWorkResponse::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE 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* PROTOBUF_NONNULL UpdateWorkResponse::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) UpdateWorkResponse(arena); +} +constexpr auto UpdateWorkResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(UpdateWorkResponse), + alignof(UpdateWorkResponse)); +} +constexpr auto UpdateWorkResponse::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull UpdateWorkResponse_class_data_ = + UpdateWorkResponse::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +UpdateWorkResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&UpdateWorkResponse_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(UpdateWorkResponse_class_data_.tc_table); + return UpdateWorkResponse_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), + UpdateWorkResponse_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) != 0) { + 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* PROTOBUF_NONNULL UpdateWorkResponse::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const UpdateWorkResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL UpdateWorkResponse::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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) != 0) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.work_, this_._impl_.work_->GetCachedSize(), target, + stream); + } + + if (ABSL_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) != 0) { + 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) != 0) { + ABSL_DCHECK(from._impl_.work_ != nullptr); + if (_this->_impl_.work_ == nullptr) { + _this->_impl_.work_ = ::google::protobuf::Message::CopyConstruct(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 PROTOBUF_NONNULL 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: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(BulkUpdateWorkRequest, _impl_._has_bits_); +}; + +BulkUpdateWorkRequest::BulkUpdateWorkRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, BulkUpdateWorkRequest_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* PROTOBUF_NULLABLE arena, const BulkUpdateWorkRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, BulkUpdateWorkRequest_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); +} +PROTOBUF_NDEBUG_INLINE BulkUpdateWorkRequest::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0} {} + +inline void BulkUpdateWorkRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE 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* PROTOBUF_NONNULL BulkUpdateWorkRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) BulkUpdateWorkRequest(arena); +} +constexpr auto BulkUpdateWorkRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(BulkUpdateWorkRequest), + alignof(BulkUpdateWorkRequest)); +} +constexpr auto BulkUpdateWorkRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull BulkUpdateWorkRequest_class_data_ = + BulkUpdateWorkRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +BulkUpdateWorkRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&BulkUpdateWorkRequest_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(BulkUpdateWorkRequest_class_data_.tc_table); + return BulkUpdateWorkRequest_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 0, 0, 2> +BulkUpdateWorkRequest::_table_ = { + { + PROTOBUF_FIELD_OFFSET(BulkUpdateWorkRequest, _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 + BulkUpdateWorkRequest_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_), 0>(), + {8, 0, 0, PROTOBUF_FIELD_OFFSET(BulkUpdateWorkRequest, _impl_.new_state_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .flex.BulkUpdateWorkRequest.NewState new_state = 1; + {PROTOBUF_FIELD_OFFSET(BulkUpdateWorkRequest, _impl_.new_state_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_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; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL BulkUpdateWorkRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const BulkUpdateWorkRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL BulkUpdateWorkRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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_._impl_._has_bits_[0] & 0x00000001u) != 0) { + if (this_._internal_new_state() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 1, this_._internal_new_state(), target); + } + } + + if (ABSL_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; + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000001u) != 0) { + 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; + + cached_has_bits = from._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000001u) != 0) { + 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 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 PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + 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: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(BulkUpdateWorkResponse, _impl_._has_bits_); +}; + +BulkUpdateWorkResponse::BulkUpdateWorkResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, BulkUpdateWorkResponse_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:flex.BulkUpdateWorkResponse) +} +PROTOBUF_NDEBUG_INLINE BulkUpdateWorkResponse::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::flex::BulkUpdateWorkResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + message_(arena, from.message_) {} + +BulkUpdateWorkResponse::BulkUpdateWorkResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const BulkUpdateWorkResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, BulkUpdateWorkResponse_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) +} +PROTOBUF_NDEBUG_INLINE BulkUpdateWorkResponse::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + message_(arena) {} + +inline void BulkUpdateWorkResponse::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE 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* PROTOBUF_NONNULL BulkUpdateWorkResponse::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) BulkUpdateWorkResponse(arena); +} +constexpr auto BulkUpdateWorkResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(BulkUpdateWorkResponse), + alignof(BulkUpdateWorkResponse)); +} +constexpr auto BulkUpdateWorkResponse::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull BulkUpdateWorkResponse_class_data_ = + BulkUpdateWorkResponse::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +BulkUpdateWorkResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&BulkUpdateWorkResponse_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(BulkUpdateWorkResponse_class_data_.tc_table); + return BulkUpdateWorkResponse_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 0, 43, 2> +BulkUpdateWorkResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(BulkUpdateWorkResponse, _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 + BulkUpdateWorkResponse_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, 0, 0, PROTOBUF_FIELD_OFFSET(BulkUpdateWorkResponse, _impl_.message_)}}, + // bool success = 1; + {::_pbi::TcParser::SingularVarintNoZag1(), + {8, 1, 0, PROTOBUF_FIELD_OFFSET(BulkUpdateWorkResponse, _impl_.success_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // bool success = 1; + {PROTOBUF_FIELD_OFFSET(BulkUpdateWorkResponse, _impl_.success_), _Internal::kHasBitsOffset + 1, 0, + (0 | ::_fl::kFcOptional | ::_fl::kBool)}, + // string message = 2; + {PROTOBUF_FIELD_OFFSET(BulkUpdateWorkResponse, _impl_.message_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_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; + + cached_has_bits = _impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000001u) != 0) { + _impl_.message_.ClearNonDefaultToEmpty(); + } + _impl_.success_ = false; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL BulkUpdateWorkResponse::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const BulkUpdateWorkResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL BulkUpdateWorkResponse::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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_._impl_._has_bits_[0] & 0x00000002u) != 0) { + if (this_._internal_success() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this_._internal_success(), target); + } + } + + // string message = 2; + if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { + 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 (ABSL_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_); + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000003u) != 0) { + // string message = 2; + if ((cached_has_bits & 0x00000001u) != 0) { + if (!this_._internal_message().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_message()); + } + } + // bool success = 1; + if ((cached_has_bits & 0x00000002u) != 0) { + 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; + + cached_has_bits = from._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000003u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + if (!from._internal_message().empty()) { + _this->_internal_set_message(from._internal_message()); + } else { + if (_this->_impl_.message_.IsDefault()) { + _this->_internal_set_message(""); + } + } + } + if ((cached_has_bits & 0x00000002u) != 0) { + if (from._internal_success() != 0) { + _this->_impl_.success_ = from._impl_.success_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _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 PROTOBUF_NONNULL 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); + 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] &= ~0x00000004u; +} +void JobLockedInfo::clear_remote_mtime() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.remote_mtime_ != nullptr) _impl_.remote_mtime_->Clear(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +JobLockedInfo::JobLockedInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, JobLockedInfo_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:flex.JobLockedInfo) +} +PROTOBUF_NDEBUG_INLINE JobLockedInfo::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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* PROTOBUF_NULLABLE arena, + const JobLockedInfo& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, JobLockedInfo_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 & 0x00000004u) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.mtime_) + : nullptr; + _impl_.remote_mtime_ = ((cached_has_bits & 0x00000008u) != 0) + ? ::google::protobuf::Message::CopyConstruct(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) +} +PROTOBUF_NDEBUG_INLINE JobLockedInfo::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + stub_url_path_(arena), + externalid_(arena) {} + +inline void JobLockedInfo::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE 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* PROTOBUF_NONNULL JobLockedInfo::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) JobLockedInfo(arena); +} +constexpr auto JobLockedInfo::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(JobLockedInfo), + alignof(JobLockedInfo)); +} +constexpr auto JobLockedInfo::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull JobLockedInfo_class_data_ = + JobLockedInfo::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +JobLockedInfo::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&JobLockedInfo_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(JobLockedInfo_class_data_.tc_table); + return JobLockedInfo_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), + JobLockedInfo_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, 6, 0, PROTOBUF_FIELD_OFFSET(JobLockedInfo, _impl_.read_write_locked_)}}, + // bool exists = 2; + {::_pbi::TcParser::SingularVarintNoZag1(), + {16, 7, 0, PROTOBUF_FIELD_OFFSET(JobLockedInfo, _impl_.exists_)}}, + // int64 size = 3; + {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(JobLockedInfo, _impl_.size_), 4>(), + {24, 4, 0, PROTOBUF_FIELD_OFFSET(JobLockedInfo, _impl_.size_)}}, + // uint32 mode = 4; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(JobLockedInfo, _impl_.mode_), 5>(), + {32, 5, 0, PROTOBUF_FIELD_OFFSET(JobLockedInfo, _impl_.mode_)}}, + // .google.protobuf.Timestamp mtime = 5; + {::_pbi::TcParser::FastMtS1, + {42, 2, 0, PROTOBUF_FIELD_OFFSET(JobLockedInfo, _impl_.mtime_)}}, + // int64 remote_size = 6; + {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(JobLockedInfo, _impl_.remote_size_), 9>(), + {48, 9, 0, PROTOBUF_FIELD_OFFSET(JobLockedInfo, _impl_.remote_size_)}}, + // .google.protobuf.Timestamp remote_mtime = 7; + {::_pbi::TcParser::FastMtS1, + {58, 3, 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_), 10>(), + {64, 10, 0, PROTOBUF_FIELD_OFFSET(JobLockedInfo, _impl_.stub_url_rst_id_)}}, + // string stub_url_path = 9; + {::_pbi::TcParser::FastUS1, + {74, 0, 0, PROTOBUF_FIELD_OFFSET(JobLockedInfo, _impl_.stub_url_path_)}}, + // string externalId = 10; + {::_pbi::TcParser::FastUS1, + {82, 1, 0, PROTOBUF_FIELD_OFFSET(JobLockedInfo, _impl_.externalid_)}}, + // bool is_archived = 11; + {::_pbi::TcParser::SingularVarintNoZag1(), + {88, 8, 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_), _Internal::kHasBitsOffset + 6, 0, + (0 | ::_fl::kFcOptional | ::_fl::kBool)}, + // bool exists = 2; + {PROTOBUF_FIELD_OFFSET(JobLockedInfo, _impl_.exists_), _Internal::kHasBitsOffset + 7, 0, + (0 | ::_fl::kFcOptional | ::_fl::kBool)}, + // int64 size = 3; + {PROTOBUF_FIELD_OFFSET(JobLockedInfo, _impl_.size_), _Internal::kHasBitsOffset + 4, 0, + (0 | ::_fl::kFcOptional | ::_fl::kInt64)}, + // uint32 mode = 4; + {PROTOBUF_FIELD_OFFSET(JobLockedInfo, _impl_.mode_), _Internal::kHasBitsOffset + 5, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // .google.protobuf.Timestamp mtime = 5; + {PROTOBUF_FIELD_OFFSET(JobLockedInfo, _impl_.mtime_), _Internal::kHasBitsOffset + 2, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // int64 remote_size = 6; + {PROTOBUF_FIELD_OFFSET(JobLockedInfo, _impl_.remote_size_), _Internal::kHasBitsOffset + 9, 0, + (0 | ::_fl::kFcOptional | ::_fl::kInt64)}, + // .google.protobuf.Timestamp remote_mtime = 7; + {PROTOBUF_FIELD_OFFSET(JobLockedInfo, _impl_.remote_mtime_), _Internal::kHasBitsOffset + 3, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // uint32 stub_url_rst_id = 8; + {PROTOBUF_FIELD_OFFSET(JobLockedInfo, _impl_.stub_url_rst_id_), _Internal::kHasBitsOffset + 10, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // string stub_url_path = 9; + {PROTOBUF_FIELD_OFFSET(JobLockedInfo, _impl_.stub_url_path_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string externalId = 10; + {PROTOBUF_FIELD_OFFSET(JobLockedInfo, _impl_.externalid_), _Internal::kHasBitsOffset + 1, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // bool is_archived = 11; + {PROTOBUF_FIELD_OFFSET(JobLockedInfo, _impl_.is_archived_), _Internal::kHasBitsOffset + 8, 0, + (0 | ::_fl::kFcOptional | ::_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; + + cached_has_bits = _impl_._has_bits_[0]; + if ((cached_has_bits & 0x0000000fu) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + _impl_.stub_url_path_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000002u) != 0) { + _impl_.externalid_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000004u) != 0) { + ABSL_DCHECK(_impl_.mtime_ != nullptr); + _impl_.mtime_->Clear(); + } + if ((cached_has_bits & 0x00000008u) != 0) { + ABSL_DCHECK(_impl_.remote_mtime_ != nullptr); + _impl_.remote_mtime_->Clear(); + } + } + if ((cached_has_bits & 0x000000f0u) != 0) { + ::memset(&_impl_.size_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.exists_) - + reinterpret_cast(&_impl_.size_)) + sizeof(_impl_.exists_)); + } + if ((cached_has_bits & 0x00000700u) != 0) { + ::memset(&_impl_.is_archived_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.stub_url_rst_id_) - + reinterpret_cast(&_impl_.is_archived_)) + sizeof(_impl_.stub_url_rst_id_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL JobLockedInfo::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const JobLockedInfo& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL JobLockedInfo::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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_._impl_._has_bits_[0] & 0x00000040u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000080u) != 0) { + if (this_._internal_exists() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this_._internal_exists(), target); + } + } + + // int64 size = 3; + if ((this_._impl_._has_bits_[0] & 0x00000010u) != 0) { + if (this_._internal_size() != 0) { + target = + ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<3>( + stream, this_._internal_size(), target); + } + } + + // uint32 mode = 4; + if ((this_._impl_._has_bits_[0] & 0x00000020u) != 0) { + 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 & 0x00000004u) != 0) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 5, *this_._impl_.mtime_, this_._impl_.mtime_->GetCachedSize(), target, + stream); + } + + // int64 remote_size = 6; + if ((cached_has_bits & 0x00000200u) != 0) { + 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 & 0x00000008u) != 0) { + 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 ((cached_has_bits & 0x00000400u) != 0) { + 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 ((cached_has_bits & 0x00000001u) != 0) { + 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 ((cached_has_bits & 0x00000002u) != 0) { + 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 ((cached_has_bits & 0x00000100u) != 0) { + if (this_._internal_is_archived() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 11, this_._internal_is_archived(), target); + } + } + + if (ABSL_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_); + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x000000ffu) != 0) { + // string stub_url_path = 9; + if ((cached_has_bits & 0x00000001u) != 0) { + if (!this_._internal_stub_url_path().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_stub_url_path()); + } + } + // string externalId = 10; + if ((cached_has_bits & 0x00000002u) != 0) { + if (!this_._internal_externalid().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_externalid()); + } + } + // .google.protobuf.Timestamp mtime = 5; + if ((cached_has_bits & 0x00000004u) != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.mtime_); + } + // .google.protobuf.Timestamp remote_mtime = 7; + if ((cached_has_bits & 0x00000008u) != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.remote_mtime_); + } + // int64 size = 3; + if ((cached_has_bits & 0x00000010u) != 0) { + if (this_._internal_size() != 0) { + total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( + this_._internal_size()); + } + } + // uint32 mode = 4; + if ((cached_has_bits & 0x00000020u) != 0) { + if (this_._internal_mode() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_mode()); + } + } + // bool read_write_locked = 1; + if ((cached_has_bits & 0x00000040u) != 0) { + if (this_._internal_read_write_locked() != 0) { + total_size += 2; + } + } + // bool exists = 2; + if ((cached_has_bits & 0x00000080u) != 0) { + if (this_._internal_exists() != 0) { + total_size += 2; + } + } + } + if ((cached_has_bits & 0x00000700u) != 0) { + // bool is_archived = 11; + if ((cached_has_bits & 0x00000100u) != 0) { + if (this_._internal_is_archived() != 0) { + total_size += 2; + } + } + // int64 remote_size = 6; + if ((cached_has_bits & 0x00000200u) != 0) { + if (this_._internal_remote_size() != 0) { + total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( + this_._internal_remote_size()); + } + } + // uint32 stub_url_rst_id = 8; + if ((cached_has_bits & 0x00000400u) != 0) { + 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; + + cached_has_bits = from._impl_._has_bits_[0]; + if ((cached_has_bits & 0x000000ffu) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + if (!from._internal_stub_url_path().empty()) { + _this->_internal_set_stub_url_path(from._internal_stub_url_path()); + } else { + if (_this->_impl_.stub_url_path_.IsDefault()) { + _this->_internal_set_stub_url_path(""); + } + } + } + if ((cached_has_bits & 0x00000002u) != 0) { + if (!from._internal_externalid().empty()) { + _this->_internal_set_externalid(from._internal_externalid()); + } else { + if (_this->_impl_.externalid_.IsDefault()) { + _this->_internal_set_externalid(""); + } + } + } + if ((cached_has_bits & 0x00000004u) != 0) { + ABSL_DCHECK(from._impl_.mtime_ != nullptr); + if (_this->_impl_.mtime_ == nullptr) { + _this->_impl_.mtime_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.mtime_); + } else { + _this->_impl_.mtime_->MergeFrom(*from._impl_.mtime_); + } + } + if ((cached_has_bits & 0x00000008u) != 0) { + ABSL_DCHECK(from._impl_.remote_mtime_ != nullptr); + if (_this->_impl_.remote_mtime_ == nullptr) { + _this->_impl_.remote_mtime_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.remote_mtime_); + } else { + _this->_impl_.remote_mtime_->MergeFrom(*from._impl_.remote_mtime_); + } + } + if ((cached_has_bits & 0x00000010u) != 0) { + if (from._internal_size() != 0) { + _this->_impl_.size_ = from._impl_.size_; + } + } + if ((cached_has_bits & 0x00000020u) != 0) { + if (from._internal_mode() != 0) { + _this->_impl_.mode_ = from._impl_.mode_; + } + } + if ((cached_has_bits & 0x00000040u) != 0) { + if (from._internal_read_write_locked() != 0) { + _this->_impl_.read_write_locked_ = from._impl_.read_write_locked_; + } + } + if ((cached_has_bits & 0x00000080u) != 0) { + if (from._internal_exists() != 0) { + _this->_impl_.exists_ = from._impl_.exists_; + } + } + } + if ((cached_has_bits & 0x00000700u) != 0) { + if ((cached_has_bits & 0x00000100u) != 0) { + if (from._internal_is_archived() != 0) { + _this->_impl_.is_archived_ = from._impl_.is_archived_; + } + } + if ((cached_has_bits & 0x00000200u) != 0) { + if (from._internal_remote_size() != 0) { + _this->_impl_.remote_size_ = from._impl_.remote_size_; + } + } + if ((cached_has_bits & 0x00000400u) != 0) { + 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 PROTOBUF_NONNULL 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(JobRequestCfg_MetadataEntry_DoNotUse_class_data_.base()) {} +JobRequestCfg_MetadataEntry_DoNotUse::JobRequestCfg_MetadataEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : SuperType(arena, JobRequestCfg_MetadataEntry_DoNotUse_class_data_.base()) {} +#else // PROTOBUF_CUSTOM_VTABLE +JobRequestCfg_MetadataEntry_DoNotUse::JobRequestCfg_MetadataEntry_DoNotUse() : SuperType() {} +JobRequestCfg_MetadataEntry_DoNotUse::JobRequestCfg_MetadataEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {} +#endif // PROTOBUF_CUSTOM_VTABLE +inline void* PROTOBUF_NONNULL JobRequestCfg_MetadataEntry_DoNotUse::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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)); +} +constexpr auto JobRequestCfg_MetadataEntry_DoNotUse::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull JobRequestCfg_MetadataEntry_DoNotUse_class_data_ = + JobRequestCfg_MetadataEntry_DoNotUse::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +JobRequestCfg_MetadataEntry_DoNotUse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&JobRequestCfg_MetadataEntry_DoNotUse_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(JobRequestCfg_MetadataEntry_DoNotUse_class_data_.tc_table); + return JobRequestCfg_MetadataEntry_DoNotUse_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 + JobRequestCfg_MetadataEntry_DoNotUse_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, 1, 0, PROTOBUF_FIELD_OFFSET(JobRequestCfg_MetadataEntry_DoNotUse, _impl_.value_)}}, + // string key = 1; + {::_pbi::TcParser::FastUS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(JobRequestCfg_MetadataEntry_DoNotUse, _impl_.key_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string key = 1; + {PROTOBUF_FIELD_OFFSET(JobRequestCfg_MetadataEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string value = 2; + {PROTOBUF_FIELD_OFFSET(JobRequestCfg_MetadataEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, + (0 | ::_fl::kFcOptional | ::_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* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, JobRequestCfg_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:flex.JobRequestCfg) +} +PROTOBUF_NDEBUG_INLINE JobRequestCfg::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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* PROTOBUF_NULLABLE arena, + const JobRequestCfg& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, JobRequestCfg_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 & 0x00000020u) != 0) + ? ::google::protobuf::Message::CopyConstruct(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) +} +PROTOBUF_NDEBUG_INLINE JobRequestCfg::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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* PROTOBUF_NULLABLE 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* PROTOBUF_NONNULL JobRequestCfg::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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)); + } +} +constexpr auto JobRequestCfg::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull JobRequestCfg_class_data_ = + JobRequestCfg::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +JobRequestCfg::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&JobRequestCfg_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(JobRequestCfg_class_data_.tc_table); + return JobRequestCfg_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), + JobRequestCfg_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, 4, 0, PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.filter_expr_)}}, + // uint32 remoteStorageTarget = 1; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(JobRequestCfg, _impl_.remotestoragetarget_), 6>(), + {8, 6, 0, PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.remotestoragetarget_)}}, + // string path = 2; + {::_pbi::TcParser::FastUS1, + {18, 0, 0, PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.path_)}}, + // string remotePath = 3; + {::_pbi::TcParser::FastUS1, + {26, 1, 0, PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.remotepath_)}}, + // bool download = 4; + {::_pbi::TcParser::SingularVarintNoZag1(), + {32, 7, 0, PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.download_)}}, + // bool stub_local = 5; + {::_pbi::TcParser::SingularVarintNoZag1(), + {40, 8, 0, PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.stub_local_)}}, + // bool overwrite = 6; + {::_pbi::TcParser::SingularVarintNoZag1(), + {48, 9, 0, PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.overwrite_)}}, + // bool flatten = 7; + {::_pbi::TcParser::SingularVarintNoZag1(), + {56, 10, 0, PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.flatten_)}}, + // bool force = 8; + {::_pbi::TcParser::SingularVarintNoZag1(), + {64, 12, 0, PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.force_)}}, + // .flex.JobLockedInfo locked_info = 9; + {::_pbi::TcParser::FastMtS1, + {74, 5, 0, PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.locked_info_)}}, + // optional bool update = 10; + {::_pbi::TcParser::SingularVarintNoZag1(), + {80, 13, 0, PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.update_)}}, + // optional int32 priority = 11; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(JobRequestCfg, _impl_.priority_), 11>(), + {88, 11, 0, PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.priority_)}}, + // optional string storage_class = 12; + {::_pbi::TcParser::FastUS1, + {98, 2, 0, PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.storage_class_)}}, + {::_pbi::TcParser::MiniParse, {}}, + // optional string tagging = 14; + {::_pbi::TcParser::FastUS1, + {114, 3, 0, PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.tagging_)}}, + // optional bool allow_restore = 15; + {::_pbi::TcParser::SingularVarintNoZag1(), + {120, 14, 0, PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.allow_restore_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // uint32 remoteStorageTarget = 1; + {PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.remotestoragetarget_), _Internal::kHasBitsOffset + 6, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // string path = 2; + {PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.path_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string remotePath = 3; + {PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.remotepath_), _Internal::kHasBitsOffset + 1, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // bool download = 4; + {PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.download_), _Internal::kHasBitsOffset + 7, 0, + (0 | ::_fl::kFcOptional | ::_fl::kBool)}, + // bool stub_local = 5; + {PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.stub_local_), _Internal::kHasBitsOffset + 8, 0, + (0 | ::_fl::kFcOptional | ::_fl::kBool)}, + // bool overwrite = 6; + {PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.overwrite_), _Internal::kHasBitsOffset + 9, 0, + (0 | ::_fl::kFcOptional | ::_fl::kBool)}, + // bool flatten = 7; + {PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.flatten_), _Internal::kHasBitsOffset + 10, 0, + (0 | ::_fl::kFcOptional | ::_fl::kBool)}, + // bool force = 8; + {PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.force_), _Internal::kHasBitsOffset + 12, 0, + (0 | ::_fl::kFcOptional | ::_fl::kBool)}, + // .flex.JobLockedInfo locked_info = 9; + {PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.locked_info_), _Internal::kHasBitsOffset + 5, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // optional bool update = 10; + {PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.update_), _Internal::kHasBitsOffset + 13, 0, + (0 | ::_fl::kFcOptional | ::_fl::kBool)}, + // optional int32 priority = 11; + {PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.priority_), _Internal::kHasBitsOffset + 11, 0, + (0 | ::_fl::kFcOptional | ::_fl::kInt32)}, + // optional string storage_class = 12; + {PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.storage_class_), _Internal::kHasBitsOffset + 2, 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 + 3, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // optional bool allow_restore = 15; + {PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.allow_restore_), _Internal::kHasBitsOffset + 14, 0, + (0 | ::_fl::kFcOptional | ::_fl::kBool)}, + // optional string filter_expr = 16; + {PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.filter_expr_), _Internal::kHasBitsOffset + 4, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::flex::JobLockedInfo>()}, + {::_pbi::TcParser::GetMapAuxInfo(1, 0, 0, + 9, 9, + 0)}, + }}, + {{ + "\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(); + cached_has_bits = _impl_._has_bits_[0]; + if ((cached_has_bits & 0x0000003fu) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + _impl_.path_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000002u) != 0) { + _impl_.remotepath_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000004u) != 0) { + _impl_.storage_class_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000008u) != 0) { + _impl_.tagging_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000010u) != 0) { + _impl_.filter_expr_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000020u) != 0) { + ABSL_DCHECK(_impl_.locked_info_ != nullptr); + _impl_.locked_info_->Clear(); + } + } + if ((cached_has_bits & 0x000000c0u) != 0) { + ::memset(&_impl_.remotestoragetarget_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.download_) - + reinterpret_cast(&_impl_.remotestoragetarget_)) + sizeof(_impl_.download_)); + } + if ((cached_has_bits & 0x00007f00u) != 0) { + ::memset(&_impl_.stub_local_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.allow_restore_) - + reinterpret_cast(&_impl_.stub_local_)) + sizeof(_impl_.allow_restore_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL JobRequestCfg::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const JobRequestCfg& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL JobRequestCfg::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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_._impl_._has_bits_[0] & 0x00000040u) != 0) { + if (this_._internal_remotestoragetarget() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this_._internal_remotestoragetarget(), target); + } + } + + // string path = 2; + if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000002u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000080u) != 0) { + if (this_._internal_download() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 4, this_._internal_download(), target); + } + } + + // bool stub_local = 5; + if ((this_._impl_._has_bits_[0] & 0x00000100u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000200u) != 0) { + if (this_._internal_overwrite() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 6, this_._internal_overwrite(), target); + } + } + + // bool flatten = 7; + if ((this_._impl_._has_bits_[0] & 0x00000400u) != 0) { + if (this_._internal_flatten() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 7, this_._internal_flatten(), target); + } + } + + // bool force = 8; + if ((this_._impl_._has_bits_[0] & 0x00001000u) != 0) { + 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 & 0x00000020u) != 0) { + 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 & 0x00002000u) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 10, this_._internal_update(), target); + } + + // optional int32 priority = 11; + if ((cached_has_bits & 0x00000800u) != 0) { + target = + ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<11>( + stream, this_._internal_priority(), target); + } + + // optional string storage_class = 12; + if ((cached_has_bits & 0x00000004u) != 0) { + 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 & 0x00000008u) != 0) { + 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 & 0x00004000u) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 15, this_._internal_allow_restore(), target); + } + + // optional string filter_expr = 16; + if ((cached_has_bits & 0x00000010u) != 0) { + 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 (ABSL_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); + } + } + } + cached_has_bits = this_._impl_._has_bits_[0]; + total_size += ::absl::popcount(0x00006000u & cached_has_bits) * 2; + if ((cached_has_bits & 0x000000ffu) != 0) { + // string path = 2; + if ((cached_has_bits & 0x00000001u) != 0) { + if (!this_._internal_path().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_path()); + } + } + // string remotePath = 3; + if ((cached_has_bits & 0x00000002u) != 0) { + if (!this_._internal_remotepath().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_remotepath()); + } + } + // optional string storage_class = 12; + if ((cached_has_bits & 0x00000004u) != 0) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_storage_class()); + } + // optional string tagging = 14; + if ((cached_has_bits & 0x00000008u) != 0) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_tagging()); + } + // optional string filter_expr = 16; + if ((cached_has_bits & 0x00000010u) != 0) { + total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_filter_expr()); + } + // .flex.JobLockedInfo locked_info = 9; + if ((cached_has_bits & 0x00000020u) != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.locked_info_); + } + // uint32 remoteStorageTarget = 1; + if ((cached_has_bits & 0x00000040u) != 0) { + if (this_._internal_remotestoragetarget() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_remotestoragetarget()); + } + } + // bool download = 4; + if ((cached_has_bits & 0x00000080u) != 0) { + if (this_._internal_download() != 0) { + total_size += 2; + } + } + } + if ((cached_has_bits & 0x00001f00u) != 0) { + // bool stub_local = 5; + if ((cached_has_bits & 0x00000100u) != 0) { + if (this_._internal_stub_local() != 0) { + total_size += 2; + } + } + // bool overwrite = 6; + if ((cached_has_bits & 0x00000200u) != 0) { + if (this_._internal_overwrite() != 0) { + total_size += 2; + } + } + // bool flatten = 7; + if ((cached_has_bits & 0x00000400u) != 0) { + if (this_._internal_flatten() != 0) { + total_size += 2; + } + } + // optional int32 priority = 11; + if ((cached_has_bits & 0x00000800u) != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this_._internal_priority()); + } + // bool force = 8; + if ((cached_has_bits & 0x00001000u) != 0) { + if (this_._internal_force() != 0) { + 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_); + cached_has_bits = from._impl_._has_bits_[0]; + if ((cached_has_bits & 0x000000ffu) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + if (!from._internal_path().empty()) { + _this->_internal_set_path(from._internal_path()); + } else { + if (_this->_impl_.path_.IsDefault()) { + _this->_internal_set_path(""); + } + } + } + if ((cached_has_bits & 0x00000002u) != 0) { + if (!from._internal_remotepath().empty()) { + _this->_internal_set_remotepath(from._internal_remotepath()); + } else { + if (_this->_impl_.remotepath_.IsDefault()) { + _this->_internal_set_remotepath(""); + } + } + } + if ((cached_has_bits & 0x00000004u) != 0) { + _this->_internal_set_storage_class(from._internal_storage_class()); + } + if ((cached_has_bits & 0x00000008u) != 0) { + _this->_internal_set_tagging(from._internal_tagging()); + } + if ((cached_has_bits & 0x00000010u) != 0) { + _this->_internal_set_filter_expr(from._internal_filter_expr()); + } + if ((cached_has_bits & 0x00000020u) != 0) { + ABSL_DCHECK(from._impl_.locked_info_ != nullptr); + if (_this->_impl_.locked_info_ == nullptr) { + _this->_impl_.locked_info_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.locked_info_); + } else { + _this->_impl_.locked_info_->MergeFrom(*from._impl_.locked_info_); + } + } + if ((cached_has_bits & 0x00000040u) != 0) { + if (from._internal_remotestoragetarget() != 0) { + _this->_impl_.remotestoragetarget_ = from._impl_.remotestoragetarget_; + } + } + if ((cached_has_bits & 0x00000080u) != 0) { + if (from._internal_download() != 0) { + _this->_impl_.download_ = from._impl_.download_; + } + } + } + if ((cached_has_bits & 0x00007f00u) != 0) { + if ((cached_has_bits & 0x00000100u) != 0) { + if (from._internal_stub_local() != 0) { + _this->_impl_.stub_local_ = from._impl_.stub_local_; + } + } + if ((cached_has_bits & 0x00000200u) != 0) { + if (from._internal_overwrite() != 0) { + _this->_impl_.overwrite_ = from._impl_.overwrite_; + } + } + if ((cached_has_bits & 0x00000400u) != 0) { + if (from._internal_flatten() != 0) { + _this->_impl_.flatten_ = from._impl_.flatten_; + } + } + if ((cached_has_bits & 0x00000800u) != 0) { + _this->_impl_.priority_ = from._impl_.priority_; + } + if ((cached_has_bits & 0x00001000u) != 0) { + if (from._internal_force() != 0) { + _this->_impl_.force_ = from._impl_.force_; + } + } + if ((cached_has_bits & 0x00002000u) != 0) { + _this->_impl_.update_ = from._impl_.update_; + } + if ((cached_has_bits & 0x00004000u) != 0) { + _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 PROTOBUF_NONNULL 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: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(WorkRequest_Segment, _impl_._has_bits_); +}; + +WorkRequest_Segment::WorkRequest_Segment(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, WorkRequest_Segment_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* PROTOBUF_NULLABLE arena, const WorkRequest_Segment& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, WorkRequest_Segment_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); +} +PROTOBUF_NDEBUG_INLINE WorkRequest_Segment::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0} {} + +inline void WorkRequest_Segment::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE 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* PROTOBUF_NONNULL WorkRequest_Segment::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) WorkRequest_Segment(arena); +} +constexpr auto WorkRequest_Segment::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(WorkRequest_Segment), + alignof(WorkRequest_Segment)); +} +constexpr auto WorkRequest_Segment::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull WorkRequest_Segment_class_data_ = + WorkRequest_Segment::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +WorkRequest_Segment::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&WorkRequest_Segment_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(WorkRequest_Segment_class_data_.tc_table); + return WorkRequest_Segment_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 4, 0, 0, 2> +WorkRequest_Segment::_table_ = { + { + PROTOBUF_FIELD_OFFSET(WorkRequest_Segment, _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 + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + WorkRequest_Segment_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_), 3>(), + {32, 3, 0, PROTOBUF_FIELD_OFFSET(WorkRequest_Segment, _impl_.parts_stop_)}}, + // int64 offset_start = 1; + {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(WorkRequest_Segment, _impl_.offset_start_), 0>(), + {8, 0, 0, PROTOBUF_FIELD_OFFSET(WorkRequest_Segment, _impl_.offset_start_)}}, + // int64 offset_stop = 2; + {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(WorkRequest_Segment, _impl_.offset_stop_), 1>(), + {16, 1, 0, PROTOBUF_FIELD_OFFSET(WorkRequest_Segment, _impl_.offset_stop_)}}, + // int32 parts_start = 3; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(WorkRequest_Segment, _impl_.parts_start_), 2>(), + {24, 2, 0, PROTOBUF_FIELD_OFFSET(WorkRequest_Segment, _impl_.parts_start_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // int64 offset_start = 1; + {PROTOBUF_FIELD_OFFSET(WorkRequest_Segment, _impl_.offset_start_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kInt64)}, + // int64 offset_stop = 2; + {PROTOBUF_FIELD_OFFSET(WorkRequest_Segment, _impl_.offset_stop_), _Internal::kHasBitsOffset + 1, 0, + (0 | ::_fl::kFcOptional | ::_fl::kInt64)}, + // int32 parts_start = 3; + {PROTOBUF_FIELD_OFFSET(WorkRequest_Segment, _impl_.parts_start_), _Internal::kHasBitsOffset + 2, 0, + (0 | ::_fl::kFcOptional | ::_fl::kInt32)}, + // int32 parts_stop = 4; + {PROTOBUF_FIELD_OFFSET(WorkRequest_Segment, _impl_.parts_stop_), _Internal::kHasBitsOffset + 3, 0, + (0 | ::_fl::kFcOptional | ::_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; + + cached_has_bits = _impl_._has_bits_[0]; + if ((cached_has_bits & 0x0000000fu) != 0) { + ::memset(&_impl_.offset_start_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.parts_stop_) - + reinterpret_cast(&_impl_.offset_start_)) + sizeof(_impl_.parts_stop_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL WorkRequest_Segment::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const WorkRequest_Segment& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL WorkRequest_Segment::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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_._impl_._has_bits_[0] & 0x00000001u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000002u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000004u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000008u) != 0) { + if (this_._internal_parts_stop() != 0) { + target = + ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<4>( + stream, this_._internal_parts_stop(), target); + } + } + + if (ABSL_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_); + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x0000000fu) != 0) { + // int64 offset_start = 1; + if ((cached_has_bits & 0x00000001u) != 0) { + if (this_._internal_offset_start() != 0) { + total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( + this_._internal_offset_start()); + } + } + // int64 offset_stop = 2; + if ((cached_has_bits & 0x00000002u) != 0) { + if (this_._internal_offset_stop() != 0) { + total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( + this_._internal_offset_stop()); + } + } + // int32 parts_start = 3; + if ((cached_has_bits & 0x00000004u) != 0) { + if (this_._internal_parts_start() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this_._internal_parts_start()); + } + } + // int32 parts_stop = 4; + if ((cached_has_bits & 0x00000008u) != 0) { + 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; + + cached_has_bits = from._impl_._has_bits_[0]; + if ((cached_has_bits & 0x0000000fu) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + if (from._internal_offset_start() != 0) { + _this->_impl_.offset_start_ = from._impl_.offset_start_; + } + } + if ((cached_has_bits & 0x00000002u) != 0) { + if (from._internal_offset_stop() != 0) { + _this->_impl_.offset_stop_ = from._impl_.offset_stop_; + } + } + if ((cached_has_bits & 0x00000004u) != 0) { + if (from._internal_parts_start() != 0) { + _this->_impl_.parts_start_ = from._impl_.parts_start_; + } + } + if ((cached_has_bits & 0x00000008u) != 0) { + if (from._internal_parts_stop() != 0) { + _this->_impl_.parts_stop_ = from._impl_.parts_stop_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _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 PROTOBUF_NONNULL 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(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* PROTOBUF_NULLABLE 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* PROTOBUF_NULLABLE 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* PROTOBUF_NULLABLE 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* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, WorkRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:flex.WorkRequest) +} +PROTOBUF_NDEBUG_INLINE WorkRequest::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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* PROTOBUF_NULLABLE arena, + const WorkRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, WorkRequest_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 & 0x00000010u) != 0) + ? ::google::protobuf::Message::CopyConstruct(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(arena, *from._impl_.Type_.mock_); + break; + case kSync: + _impl_.Type_.sync_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.Type_.sync_); + break; + case kBuilder: + _impl_.Type_.builder_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.Type_.builder_); + break; + } + + // @@protoc_insertion_point(copy_constructor:flex.WorkRequest) +} +PROTOBUF_NDEBUG_INLINE WorkRequest::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + job_id_(arena), + request_id_(arena), + external_id_(arena), + path_(arena), + Type_{}, + _oneof_case_{} {} + +inline void WorkRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE 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* PROTOBUF_NONNULL WorkRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) WorkRequest(arena); +} +constexpr auto WorkRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(WorkRequest), + alignof(WorkRequest)); +} +constexpr auto WorkRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull WorkRequest_class_data_ = + WorkRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +WorkRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&WorkRequest_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(WorkRequest_class_data_.tc_table); + return WorkRequest_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), + WorkRequest_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, 0, 0, PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.job_id_)}}, + // string request_id = 2; + {::_pbi::TcParser::FastUS1, + {18, 1, 0, PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.request_id_)}}, + // string external_id = 3; + {::_pbi::TcParser::FastUS1, + {26, 2, 0, PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.external_id_)}}, + // string path = 4; + {::_pbi::TcParser::FastUS1, + {34, 3, 0, PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.path_)}}, + // .flex.WorkRequest.Segment segment = 5; + {::_pbi::TcParser::FastMtS1, + {42, 4, 0, PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.segment_)}}, + // uint32 remote_storage_target = 6; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(WorkRequest, _impl_.remote_storage_target_), 5>(), + {48, 5, 0, PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.remote_storage_target_)}}, + {::_pbi::TcParser::MiniParse, {}}, + // bool stub_local = 8; + {::_pbi::TcParser::SingularVarintNoZag1(), + {64, 6, 0, PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.stub_local_)}}, + // optional int32 priority = 9; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(WorkRequest, _impl_.priority_), 7>(), + {72, 7, 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_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string request_id = 2; + {PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.request_id_), _Internal::kHasBitsOffset + 1, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string external_id = 3; + {PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.external_id_), _Internal::kHasBitsOffset + 2, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string path = 4; + {PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.path_), _Internal::kHasBitsOffset + 3, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // .flex.WorkRequest.Segment segment = 5; + {PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.segment_), _Internal::kHasBitsOffset + 4, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // uint32 remote_storage_target = 6; + {PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.remote_storage_target_), _Internal::kHasBitsOffset + 5, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // bool stub_local = 8; + {PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.stub_local_), _Internal::kHasBitsOffset + 6, 0, + (0 | ::_fl::kFcOptional | ::_fl::kBool)}, + // optional int32 priority = 9; + {PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.priority_), _Internal::kHasBitsOffset + 7, 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; + + cached_has_bits = _impl_._has_bits_[0]; + if ((cached_has_bits & 0x0000001fu) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + _impl_.job_id_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000002u) != 0) { + _impl_.request_id_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000004u) != 0) { + _impl_.external_id_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000008u) != 0) { + _impl_.path_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000010u) != 0) { + ABSL_DCHECK(_impl_.segment_ != nullptr); + _impl_.segment_->Clear(); + } + } + if ((cached_has_bits & 0x000000e0u) != 0) { + ::memset(&_impl_.remote_storage_target_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.priority_) - + reinterpret_cast(&_impl_.remote_storage_target_)) + sizeof(_impl_.priority_)); + } + clear_Type(); + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL WorkRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const WorkRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL WorkRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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_._impl_._has_bits_[0] & 0x00000001u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000002u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000004u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000008u) != 0) { + 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 & 0x00000010u) != 0) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 5, *this_._impl_.segment_, this_._impl_.segment_->GetCachedSize(), target, + stream); + } + + // uint32 remote_storage_target = 6; + if ((cached_has_bits & 0x00000020u) != 0) { + 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 ((cached_has_bits & 0x00000040u) != 0) { + 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 & 0x00000080u) != 0) { + 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 (ABSL_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_); + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x000000ffu) != 0) { + // string job_id = 1; + if ((cached_has_bits & 0x00000001u) != 0) { + if (!this_._internal_job_id().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_job_id()); + } + } + // string request_id = 2; + if ((cached_has_bits & 0x00000002u) != 0) { + if (!this_._internal_request_id().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_request_id()); + } + } + // string external_id = 3; + if ((cached_has_bits & 0x00000004u) != 0) { + if (!this_._internal_external_id().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_external_id()); + } + } + // string path = 4; + if ((cached_has_bits & 0x00000008u) != 0) { + if (!this_._internal_path().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_path()); + } + } + // .flex.WorkRequest.Segment segment = 5; + if ((cached_has_bits & 0x00000010u) != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.segment_); + } + // uint32 remote_storage_target = 6; + if ((cached_has_bits & 0x00000020u) != 0) { + if (this_._internal_remote_storage_target() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_remote_storage_target()); + } + } + // bool stub_local = 8; + if ((cached_has_bits & 0x00000040u) != 0) { + if (this_._internal_stub_local() != 0) { + total_size += 2; + } + } + // optional int32 priority = 9; + if ((cached_has_bits & 0x00000080u) != 0) { + 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; + + cached_has_bits = from._impl_._has_bits_[0]; + if ((cached_has_bits & 0x000000ffu) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + if (!from._internal_job_id().empty()) { + _this->_internal_set_job_id(from._internal_job_id()); + } else { + if (_this->_impl_.job_id_.IsDefault()) { + _this->_internal_set_job_id(""); + } + } + } + if ((cached_has_bits & 0x00000002u) != 0) { + if (!from._internal_request_id().empty()) { + _this->_internal_set_request_id(from._internal_request_id()); + } else { + if (_this->_impl_.request_id_.IsDefault()) { + _this->_internal_set_request_id(""); + } + } + } + if ((cached_has_bits & 0x00000004u) != 0) { + if (!from._internal_external_id().empty()) { + _this->_internal_set_external_id(from._internal_external_id()); + } else { + if (_this->_impl_.external_id_.IsDefault()) { + _this->_internal_set_external_id(""); + } + } + } + if ((cached_has_bits & 0x00000008u) != 0) { + if (!from._internal_path().empty()) { + _this->_internal_set_path(from._internal_path()); + } else { + if (_this->_impl_.path_.IsDefault()) { + _this->_internal_set_path(""); + } + } + } + if ((cached_has_bits & 0x00000010u) != 0) { + ABSL_DCHECK(from._impl_.segment_ != nullptr); + if (_this->_impl_.segment_ == nullptr) { + _this->_impl_.segment_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.segment_); + } else { + _this->_impl_.segment_->MergeFrom(*from._impl_.segment_); + } + } + if ((cached_has_bits & 0x00000020u) != 0) { + if (from._internal_remote_storage_target() != 0) { + _this->_impl_.remote_storage_target_ = from._impl_.remote_storage_target_; + } + } + if ((cached_has_bits & 0x00000040u) != 0) { + if (from._internal_stub_local() != 0) { + _this->_impl_.stub_local_ = from._impl_.stub_local_; + } + } + if ((cached_has_bits & 0x00000080u) != 0) { + _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(arena, *from._impl_.Type_.mock_); + } else { + _this->_impl_.Type_.mock_->MergeFrom(*from._impl_.Type_.mock_); + } + break; + } + case kSync: { + if (oneof_needs_init) { + _this->_impl_.Type_.sync_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.Type_.sync_); + } else { + _this->_impl_.Type_.sync_->MergeFrom(*from._impl_.Type_.sync_); + } + break; + } + case kBuilder: { + if (oneof_needs_init) { + _this->_impl_.Type_.builder_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.Type_.builder_); + } else { + _this->_impl_.Type_.builder_->MergeFrom(*from._impl_.Type_.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 PROTOBUF_NONNULL 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* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, BuilderJob_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:flex.BuilderJob) +} +PROTOBUF_NDEBUG_INLINE BuilderJob::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::flex::BuilderJob& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +BuilderJob::BuilderJob( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const BuilderJob& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, BuilderJob_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) != 0) + ? ::google::protobuf::Message::CopyConstruct(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) +} +PROTOBUF_NDEBUG_INLINE BuilderJob::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0} {} + +inline void BuilderJob::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE 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* PROTOBUF_NONNULL BuilderJob::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) BuilderJob(arena); +} +constexpr auto BuilderJob::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(BuilderJob), + alignof(BuilderJob)); +} +constexpr auto BuilderJob::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull BuilderJob_class_data_ = + BuilderJob::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +BuilderJob::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&BuilderJob_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(BuilderJob_class_data_.tc_table); + return BuilderJob_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), + BuilderJob_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_), 1>(), + {16, 1, 0, PROTOBUF_FIELD_OFFSET(BuilderJob, _impl_.submitted_)}}, + // int32 errors = 3; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(BuilderJob, _impl_.errors_), 2>(), + {24, 2, 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_), _Internal::kHasBitsOffset + 1, 0, + (0 | ::_fl::kFcOptional | ::_fl::kInt32)}, + // int32 errors = 3; + {PROTOBUF_FIELD_OFFSET(BuilderJob, _impl_.errors_), _Internal::kHasBitsOffset + 2, 0, + (0 | ::_fl::kFcOptional | ::_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) != 0) { + ABSL_DCHECK(_impl_.cfg_ != nullptr); + _impl_.cfg_->Clear(); + } + if ((cached_has_bits & 0x00000006u) != 0) { + ::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* PROTOBUF_NONNULL BuilderJob::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const BuilderJob& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL BuilderJob::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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) != 0) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.cfg_, this_._impl_.cfg_->GetCachedSize(), target, + stream); + } + + // int32 submitted = 2; + if ((cached_has_bits & 0x00000002u) != 0) { + if (this_._internal_submitted() != 0) { + target = + ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<2>( + stream, this_._internal_submitted(), target); + } + } + + // int32 errors = 3; + if ((cached_has_bits & 0x00000004u) != 0) { + if (this_._internal_errors() != 0) { + target = + ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<3>( + stream, this_._internal_errors(), target); + } + } + + if (ABSL_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_); + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000007u) != 0) { + // .flex.JobRequestCfg cfg = 1; + if ((cached_has_bits & 0x00000001u) != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.cfg_); + } + // int32 submitted = 2; + if ((cached_has_bits & 0x00000002u) != 0) { + if (this_._internal_submitted() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this_._internal_submitted()); + } + } + // int32 errors = 3; + if ((cached_has_bits & 0x00000004u) != 0) { + 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 & 0x00000007u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + ABSL_DCHECK(from._impl_.cfg_ != nullptr); + if (_this->_impl_.cfg_ == nullptr) { + _this->_impl_.cfg_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.cfg_); + } else { + _this->_impl_.cfg_->MergeFrom(*from._impl_.cfg_); + } + } + if ((cached_has_bits & 0x00000002u) != 0) { + if (from._internal_submitted() != 0) { + _this->_impl_.submitted_ = from._impl_.submitted_; + } + } + if ((cached_has_bits & 0x00000004u) != 0) { + 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 PROTOBUF_NONNULL 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* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, MockJob_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:flex.MockJob) +} +PROTOBUF_NDEBUG_INLINE MockJob::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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* PROTOBUF_NULLABLE arena, + const MockJob& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, MockJob_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 & 0x00000002u) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.locked_info_) + : nullptr; + _impl_.cfg_ = ((cached_has_bits & 0x00000004u) != 0) + ? ::google::protobuf::Message::CopyConstruct(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) +} +PROTOBUF_NDEBUG_INLINE MockJob::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + external_id_(arena) {} + +inline void MockJob::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE 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* PROTOBUF_NONNULL MockJob::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) MockJob(arena); +} +constexpr auto MockJob::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(MockJob), + alignof(MockJob)); +} +constexpr auto MockJob::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull MockJob_class_data_ = + MockJob::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +MockJob::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&MockJob_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(MockJob_class_data_.tc_table); + return MockJob_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), + MockJob_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_), 4>(), + {8, 4, 0, PROTOBUF_FIELD_OFFSET(MockJob, _impl_.num_test_segments_)}}, + // int64 file_size = 2; + {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(MockJob, _impl_.file_size_), 3>(), + {16, 3, 0, PROTOBUF_FIELD_OFFSET(MockJob, _impl_.file_size_)}}, + // string external_id = 3; + {::_pbi::TcParser::FastUS1, + {26, 0, 0, PROTOBUF_FIELD_OFFSET(MockJob, _impl_.external_id_)}}, + // bool should_fail = 4; + {::_pbi::TcParser::SingularVarintNoZag1(), + {32, 5, 0, PROTOBUF_FIELD_OFFSET(MockJob, _impl_.should_fail_)}}, + {::_pbi::TcParser::MiniParse, {}}, + // .flex.JobLockedInfo locked_info = 6; + {::_pbi::TcParser::FastMtS1, + {50, 1, 0, PROTOBUF_FIELD_OFFSET(MockJob, _impl_.locked_info_)}}, + // .flex.JobRequestCfg cfg = 7; + {::_pbi::TcParser::FastMtS1, + {58, 2, 1, PROTOBUF_FIELD_OFFSET(MockJob, _impl_.cfg_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // int32 num_test_segments = 1; + {PROTOBUF_FIELD_OFFSET(MockJob, _impl_.num_test_segments_), _Internal::kHasBitsOffset + 4, 0, + (0 | ::_fl::kFcOptional | ::_fl::kInt32)}, + // int64 file_size = 2; + {PROTOBUF_FIELD_OFFSET(MockJob, _impl_.file_size_), _Internal::kHasBitsOffset + 3, 0, + (0 | ::_fl::kFcOptional | ::_fl::kInt64)}, + // string external_id = 3; + {PROTOBUF_FIELD_OFFSET(MockJob, _impl_.external_id_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // bool should_fail = 4; + {PROTOBUF_FIELD_OFFSET(MockJob, _impl_.should_fail_), _Internal::kHasBitsOffset + 5, 0, + (0 | ::_fl::kFcOptional | ::_fl::kBool)}, + // .flex.JobLockedInfo locked_info = 6; + {PROTOBUF_FIELD_OFFSET(MockJob, _impl_.locked_info_), _Internal::kHasBitsOffset + 1, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .flex.JobRequestCfg cfg = 7; + {PROTOBUF_FIELD_OFFSET(MockJob, _impl_.cfg_), _Internal::kHasBitsOffset + 2, 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; + + cached_has_bits = _impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000007u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + _impl_.external_id_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000002u) != 0) { + ABSL_DCHECK(_impl_.locked_info_ != nullptr); + _impl_.locked_info_->Clear(); + } + if ((cached_has_bits & 0x00000004u) != 0) { + ABSL_DCHECK(_impl_.cfg_ != nullptr); + _impl_.cfg_->Clear(); + } + } + if ((cached_has_bits & 0x00000038u) != 0) { + ::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* PROTOBUF_NONNULL MockJob::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const MockJob& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL MockJob::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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_._impl_._has_bits_[0] & 0x00000010u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000008u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000001u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000020u) != 0) { + 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 & 0x00000002u) != 0) { + 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 & 0x00000004u) != 0) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 7, *this_._impl_.cfg_, this_._impl_.cfg_->GetCachedSize(), target, + stream); + } + + if (ABSL_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_); + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x0000003fu) != 0) { + // string external_id = 3; + if ((cached_has_bits & 0x00000001u) != 0) { + if (!this_._internal_external_id().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_external_id()); + } + } + // .flex.JobLockedInfo locked_info = 6; + if ((cached_has_bits & 0x00000002u) != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.locked_info_); + } + // .flex.JobRequestCfg cfg = 7; + if ((cached_has_bits & 0x00000004u) != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.cfg_); + } + // int64 file_size = 2; + if ((cached_has_bits & 0x00000008u) != 0) { + if (this_._internal_file_size() != 0) { + total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( + this_._internal_file_size()); + } + } + // int32 num_test_segments = 1; + if ((cached_has_bits & 0x00000010u) != 0) { + if (this_._internal_num_test_segments() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this_._internal_num_test_segments()); + } + } + // bool should_fail = 4; + if ((cached_has_bits & 0x00000020u) != 0) { + 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; + + cached_has_bits = from._impl_._has_bits_[0]; + if ((cached_has_bits & 0x0000003fu) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + if (!from._internal_external_id().empty()) { + _this->_internal_set_external_id(from._internal_external_id()); + } else { + if (_this->_impl_.external_id_.IsDefault()) { + _this->_internal_set_external_id(""); + } + } + } + if ((cached_has_bits & 0x00000002u) != 0) { + ABSL_DCHECK(from._impl_.locked_info_ != nullptr); + if (_this->_impl_.locked_info_ == nullptr) { + _this->_impl_.locked_info_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.locked_info_); + } else { + _this->_impl_.locked_info_->MergeFrom(*from._impl_.locked_info_); + } + } + if ((cached_has_bits & 0x00000004u) != 0) { + ABSL_DCHECK(from._impl_.cfg_ != nullptr); + if (_this->_impl_.cfg_ == nullptr) { + _this->_impl_.cfg_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.cfg_); + } else { + _this->_impl_.cfg_->MergeFrom(*from._impl_.cfg_); + } + } + if ((cached_has_bits & 0x00000008u) != 0) { + if (from._internal_file_size() != 0) { + _this->_impl_.file_size_ = from._impl_.file_size_; + } + } + if ((cached_has_bits & 0x00000010u) != 0) { + if (from._internal_num_test_segments() != 0) { + _this->_impl_.num_test_segments_ = from._impl_.num_test_segments_; + } + } + if ((cached_has_bits & 0x00000020u) != 0) { + 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 PROTOBUF_NONNULL 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(SyncJob_MetadataEntry_DoNotUse_class_data_.base()) {} +SyncJob_MetadataEntry_DoNotUse::SyncJob_MetadataEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : SuperType(arena, SyncJob_MetadataEntry_DoNotUse_class_data_.base()) {} +#else // PROTOBUF_CUSTOM_VTABLE +SyncJob_MetadataEntry_DoNotUse::SyncJob_MetadataEntry_DoNotUse() : SuperType() {} +SyncJob_MetadataEntry_DoNotUse::SyncJob_MetadataEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {} +#endif // PROTOBUF_CUSTOM_VTABLE +inline void* PROTOBUF_NONNULL SyncJob_MetadataEntry_DoNotUse::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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)); +} +constexpr auto SyncJob_MetadataEntry_DoNotUse::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull SyncJob_MetadataEntry_DoNotUse_class_data_ = + SyncJob_MetadataEntry_DoNotUse::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +SyncJob_MetadataEntry_DoNotUse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&SyncJob_MetadataEntry_DoNotUse_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(SyncJob_MetadataEntry_DoNotUse_class_data_.tc_table); + return SyncJob_MetadataEntry_DoNotUse_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 + SyncJob_MetadataEntry_DoNotUse_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, 1, 0, PROTOBUF_FIELD_OFFSET(SyncJob_MetadataEntry_DoNotUse, _impl_.value_)}}, + // string key = 1; + {::_pbi::TcParser::FastUS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(SyncJob_MetadataEntry_DoNotUse, _impl_.key_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string key = 1; + {PROTOBUF_FIELD_OFFSET(SyncJob_MetadataEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string value = 2; + {PROTOBUF_FIELD_OFFSET(SyncJob_MetadataEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, + (0 | ::_fl::kFcOptional | ::_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* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, SyncJob_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:flex.SyncJob) +} +PROTOBUF_NDEBUG_INLINE SyncJob::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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* PROTOBUF_NULLABLE arena, + const SyncJob& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, SyncJob_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 & 0x00000008u) != 0) + ? ::google::protobuf::Message::CopyConstruct(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) +} +PROTOBUF_NDEBUG_INLINE SyncJob::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + metadata_{visibility, arena}, + remote_path_(arena), + tagging_(arena), + storage_class_(arena) {} + +inline void SyncJob::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE 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* PROTOBUF_NONNULL SyncJob::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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)); + } +} +constexpr auto SyncJob::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull SyncJob_class_data_ = + SyncJob::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +SyncJob::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&SyncJob_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(SyncJob_class_data_.tc_table); + return SyncJob_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), + SyncJob_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_), 4>(), + {8, 4, 0, PROTOBUF_FIELD_OFFSET(SyncJob, _impl_.operation_)}}, + // bool overwrite = 2; + {::_pbi::TcParser::SingularVarintNoZag1(), + {16, 5, 0, PROTOBUF_FIELD_OFFSET(SyncJob, _impl_.overwrite_)}}, + // string remote_path = 3; + {::_pbi::TcParser::FastUS1, + {26, 0, 0, PROTOBUF_FIELD_OFFSET(SyncJob, _impl_.remote_path_)}}, + {::_pbi::TcParser::MiniParse, {}}, + // bool flatten = 5; + {::_pbi::TcParser::SingularVarintNoZag1(), + {40, 6, 0, PROTOBUF_FIELD_OFFSET(SyncJob, _impl_.flatten_)}}, + // .flex.JobLockedInfo locked_info = 6; + {::_pbi::TcParser::FastMtS1, + {50, 3, 0, PROTOBUF_FIELD_OFFSET(SyncJob, _impl_.locked_info_)}}, + // optional bool update = 7; + {::_pbi::TcParser::SingularVarintNoZag1(), + {56, 7, 0, PROTOBUF_FIELD_OFFSET(SyncJob, _impl_.update_)}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + // optional string tagging = 10; + {::_pbi::TcParser::FastUS1, + {82, 1, 0, PROTOBUF_FIELD_OFFSET(SyncJob, _impl_.tagging_)}}, + {::_pbi::TcParser::MiniParse, {}}, + // optional string storage_class = 12; + {::_pbi::TcParser::FastUS1, + {98, 2, 0, PROTOBUF_FIELD_OFFSET(SyncJob, _impl_.storage_class_)}}, + // optional bool allow_restore = 13; + {::_pbi::TcParser::SingularVarintNoZag1(), + {104, 8, 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_), _Internal::kHasBitsOffset + 4, 0, + (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)}, + // bool overwrite = 2; + {PROTOBUF_FIELD_OFFSET(SyncJob, _impl_.overwrite_), _Internal::kHasBitsOffset + 5, 0, + (0 | ::_fl::kFcOptional | ::_fl::kBool)}, + // string remote_path = 3; + {PROTOBUF_FIELD_OFFSET(SyncJob, _impl_.remote_path_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // bool flatten = 5; + {PROTOBUF_FIELD_OFFSET(SyncJob, _impl_.flatten_), _Internal::kHasBitsOffset + 6, 0, + (0 | ::_fl::kFcOptional | ::_fl::kBool)}, + // .flex.JobLockedInfo locked_info = 6; + {PROTOBUF_FIELD_OFFSET(SyncJob, _impl_.locked_info_), _Internal::kHasBitsOffset + 3, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // optional bool update = 7; + {PROTOBUF_FIELD_OFFSET(SyncJob, _impl_.update_), _Internal::kHasBitsOffset + 7, 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 + 1, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // optional string storage_class = 12; + {PROTOBUF_FIELD_OFFSET(SyncJob, _impl_.storage_class_), _Internal::kHasBitsOffset + 2, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // optional bool allow_restore = 13; + {PROTOBUF_FIELD_OFFSET(SyncJob, _impl_.allow_restore_), _Internal::kHasBitsOffset + 8, 0, + (0 | ::_fl::kFcOptional | ::_fl::kBool)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::flex::JobLockedInfo>()}, + {::_pbi::TcParser::GetMapAuxInfo(1, 0, 0, + 9, 9, + 0)}, + }}, + {{ + "\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(); + cached_has_bits = _impl_._has_bits_[0]; + if ((cached_has_bits & 0x0000000fu) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + _impl_.remote_path_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000002u) != 0) { + _impl_.tagging_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000004u) != 0) { + _impl_.storage_class_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000008u) != 0) { + ABSL_DCHECK(_impl_.locked_info_ != nullptr); + _impl_.locked_info_->Clear(); + } + } + if ((cached_has_bits & 0x000000f0u) != 0) { + ::memset(&_impl_.operation_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.update_) - + reinterpret_cast(&_impl_.operation_)) + sizeof(_impl_.update_)); + } + _impl_.allow_restore_ = false; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL SyncJob::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const SyncJob& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL SyncJob::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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_._impl_._has_bits_[0] & 0x00000010u) != 0) { + if (this_._internal_operation() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 1, this_._internal_operation(), target); + } + } + + // bool overwrite = 2; + if ((this_._impl_._has_bits_[0] & 0x00000020u) != 0) { + if (this_._internal_overwrite() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this_._internal_overwrite(), target); + } + } + + // string remote_path = 3; + if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000040u) != 0) { + 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 & 0x00000008u) != 0) { + 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 & 0x00000080u) != 0) { + 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 & 0x00000002u) != 0) { + 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 & 0x00000004u) != 0) { + 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 & 0x00000100u) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 13, this_._internal_allow_restore(), target); + } + + if (ABSL_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); + } + } + } + cached_has_bits = this_._impl_._has_bits_[0]; + total_size += ::absl::popcount(0x00000180u & cached_has_bits) * 2; + if ((cached_has_bits & 0x0000007fu) != 0) { + // string remote_path = 3; + if ((cached_has_bits & 0x00000001u) != 0) { + if (!this_._internal_remote_path().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_remote_path()); + } + } + // optional string tagging = 10; + if ((cached_has_bits & 0x00000002u) != 0) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_tagging()); + } + // optional string storage_class = 12; + if ((cached_has_bits & 0x00000004u) != 0) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_storage_class()); + } + // .flex.JobLockedInfo locked_info = 6; + if ((cached_has_bits & 0x00000008u) != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.locked_info_); + } + // .flex.SyncJob.Operation operation = 1; + if ((cached_has_bits & 0x00000010u) != 0) { + if (this_._internal_operation() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_operation()); + } + } + // bool overwrite = 2; + if ((cached_has_bits & 0x00000020u) != 0) { + if (this_._internal_overwrite() != 0) { + total_size += 2; + } + } + // bool flatten = 5; + if ((cached_has_bits & 0x00000040u) != 0) { + if (this_._internal_flatten() != 0) { + 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_); + cached_has_bits = from._impl_._has_bits_[0]; + if ((cached_has_bits & 0x000000ffu) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + if (!from._internal_remote_path().empty()) { + _this->_internal_set_remote_path(from._internal_remote_path()); + } else { + if (_this->_impl_.remote_path_.IsDefault()) { + _this->_internal_set_remote_path(""); + } + } + } + if ((cached_has_bits & 0x00000002u) != 0) { + _this->_internal_set_tagging(from._internal_tagging()); + } + if ((cached_has_bits & 0x00000004u) != 0) { + _this->_internal_set_storage_class(from._internal_storage_class()); + } + if ((cached_has_bits & 0x00000008u) != 0) { + ABSL_DCHECK(from._impl_.locked_info_ != nullptr); + if (_this->_impl_.locked_info_ == nullptr) { + _this->_impl_.locked_info_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.locked_info_); + } else { + _this->_impl_.locked_info_->MergeFrom(*from._impl_.locked_info_); + } + } + if ((cached_has_bits & 0x00000010u) != 0) { + if (from._internal_operation() != 0) { + _this->_impl_.operation_ = from._impl_.operation_; + } + } + if ((cached_has_bits & 0x00000020u) != 0) { + if (from._internal_overwrite() != 0) { + _this->_impl_.overwrite_ = from._impl_.overwrite_; + } + } + if ((cached_has_bits & 0x00000040u) != 0) { + if (from._internal_flatten() != 0) { + _this->_impl_.flatten_ = from._impl_.flatten_; + } + } + if ((cached_has_bits & 0x00000080u) != 0) { + _this->_impl_.update_ = from._impl_.update_; + } + } + if ((cached_has_bits & 0x00000100u) != 0) { + _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 PROTOBUF_NONNULL 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: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(Work_Status, _impl_._has_bits_); +}; + +Work_Status::Work_Status(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, Work_Status_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) +} +PROTOBUF_NDEBUG_INLINE Work_Status::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::flex::Work_Status& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + message_(arena, from.message_) {} + +Work_Status::Work_Status( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const Work_Status& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, Work_Status_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) +} +PROTOBUF_NDEBUG_INLINE Work_Status::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + message_(arena) {} + +inline void Work_Status::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE 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* PROTOBUF_NONNULL Work_Status::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) Work_Status(arena); +} +constexpr auto Work_Status::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Work_Status), + alignof(Work_Status)); +} +constexpr auto Work_Status::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull Work_Status_class_data_ = + Work_Status::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +Work_Status::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&Work_Status_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(Work_Status_class_data_.tc_table); + return Work_Status_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 0, 32, 2> +Work_Status::_table_ = { + { + PROTOBUF_FIELD_OFFSET(Work_Status, _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 + Work_Status_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, 0, 0, PROTOBUF_FIELD_OFFSET(Work_Status, _impl_.message_)}}, + // .flex.Work.State state = 1; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Work_Status, _impl_.state_), 1>(), + {8, 1, 0, PROTOBUF_FIELD_OFFSET(Work_Status, _impl_.state_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .flex.Work.State state = 1; + {PROTOBUF_FIELD_OFFSET(Work_Status, _impl_.state_), _Internal::kHasBitsOffset + 1, 0, + (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)}, + // string message = 2; + {PROTOBUF_FIELD_OFFSET(Work_Status, _impl_.message_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_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; + + cached_has_bits = _impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000001u) != 0) { + _impl_.message_.ClearNonDefaultToEmpty(); + } + _impl_.state_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL Work_Status::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const Work_Status& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL Work_Status::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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_._impl_._has_bits_[0] & 0x00000002u) != 0) { + if (this_._internal_state() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 1, this_._internal_state(), target); + } + } + + // string message = 2; + if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { + 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 (ABSL_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_); + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000003u) != 0) { + // string message = 2; + if ((cached_has_bits & 0x00000001u) != 0) { + if (!this_._internal_message().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_message()); + } + } + // .flex.Work.State state = 1; + if ((cached_has_bits & 0x00000002u) != 0) { + 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; + + cached_has_bits = from._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000003u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + if (!from._internal_message().empty()) { + _this->_internal_set_message(from._internal_message()); + } else { + if (_this->_impl_.message_.IsDefault()) { + _this->_internal_set_message(""); + } + } + } + if ((cached_has_bits & 0x00000002u) != 0) { + 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 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 PROTOBUF_NONNULL 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); + 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: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(Work_Part, _impl_._has_bits_); +}; + +Work_Part::Work_Part(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, Work_Part_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) +} +PROTOBUF_NDEBUG_INLINE Work_Part::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::flex::Work_Part& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + entity_tag_(arena, from.entity_tag_), + checksum_sha256_(arena, from.checksum_sha256_) {} + +Work_Part::Work_Part( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const Work_Part& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, Work_Part_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) +} +PROTOBUF_NDEBUG_INLINE Work_Part::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + entity_tag_(arena), + checksum_sha256_(arena) {} + +inline void Work_Part::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE 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* PROTOBUF_NONNULL Work_Part::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) Work_Part(arena); +} +constexpr auto Work_Part::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Work_Part), + alignof(Work_Part)); +} +constexpr auto Work_Part::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull Work_Part_class_data_ = + Work_Part::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +Work_Part::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&Work_Part_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(Work_Part_class_data_.tc_table); + return Work_Part_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<3, 6, 0, 48, 2> +Work_Part::_table_ = { + { + PROTOBUF_FIELD_OFFSET(Work_Part, _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 + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + Work_Part_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_), 4>(), + {8, 4, 0, PROTOBUF_FIELD_OFFSET(Work_Part, _impl_.part_number_)}}, + // int64 offset_start = 2; + {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(Work_Part, _impl_.offset_start_), 2>(), + {16, 2, 0, PROTOBUF_FIELD_OFFSET(Work_Part, _impl_.offset_start_)}}, + // int64 offset_stop = 3; + {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(Work_Part, _impl_.offset_stop_), 3>(), + {24, 3, 0, PROTOBUF_FIELD_OFFSET(Work_Part, _impl_.offset_stop_)}}, + // string entity_tag = 4; + {::_pbi::TcParser::FastUS1, + {34, 0, 0, PROTOBUF_FIELD_OFFSET(Work_Part, _impl_.entity_tag_)}}, + // string checksum_sha256 = 5; + {::_pbi::TcParser::FastUS1, + {42, 1, 0, PROTOBUF_FIELD_OFFSET(Work_Part, _impl_.checksum_sha256_)}}, + // bool completed = 6; + {::_pbi::TcParser::SingularVarintNoZag1(), + {48, 5, 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_), _Internal::kHasBitsOffset + 4, 0, + (0 | ::_fl::kFcOptional | ::_fl::kInt32)}, + // int64 offset_start = 2; + {PROTOBUF_FIELD_OFFSET(Work_Part, _impl_.offset_start_), _Internal::kHasBitsOffset + 2, 0, + (0 | ::_fl::kFcOptional | ::_fl::kInt64)}, + // int64 offset_stop = 3; + {PROTOBUF_FIELD_OFFSET(Work_Part, _impl_.offset_stop_), _Internal::kHasBitsOffset + 3, 0, + (0 | ::_fl::kFcOptional | ::_fl::kInt64)}, + // string entity_tag = 4; + {PROTOBUF_FIELD_OFFSET(Work_Part, _impl_.entity_tag_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string checksum_sha256 = 5; + {PROTOBUF_FIELD_OFFSET(Work_Part, _impl_.checksum_sha256_), _Internal::kHasBitsOffset + 1, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // bool completed = 6; + {PROTOBUF_FIELD_OFFSET(Work_Part, _impl_.completed_), _Internal::kHasBitsOffset + 5, 0, + (0 | ::_fl::kFcOptional | ::_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; + + cached_has_bits = _impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000003u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + _impl_.entity_tag_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000002u) != 0) { + _impl_.checksum_sha256_.ClearNonDefaultToEmpty(); + } + } + if ((cached_has_bits & 0x0000003cu) != 0) { + ::memset(&_impl_.offset_start_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.completed_) - + reinterpret_cast(&_impl_.offset_start_)) + sizeof(_impl_.completed_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL Work_Part::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const Work_Part& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL Work_Part::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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_._impl_._has_bits_[0] & 0x00000010u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000004u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000008u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000001u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000002u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000020u) != 0) { + if (this_._internal_completed() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 6, this_._internal_completed(), target); + } + } + + if (ABSL_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_); + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x0000003fu) != 0) { + // string entity_tag = 4; + if ((cached_has_bits & 0x00000001u) != 0) { + if (!this_._internal_entity_tag().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_entity_tag()); + } + } + // string checksum_sha256 = 5; + if ((cached_has_bits & 0x00000002u) != 0) { + if (!this_._internal_checksum_sha256().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_checksum_sha256()); + } + } + // int64 offset_start = 2; + if ((cached_has_bits & 0x00000004u) != 0) { + if (this_._internal_offset_start() != 0) { + total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( + this_._internal_offset_start()); + } + } + // int64 offset_stop = 3; + if ((cached_has_bits & 0x00000008u) != 0) { + if (this_._internal_offset_stop() != 0) { + total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( + this_._internal_offset_stop()); + } + } + // int32 part_number = 1; + if ((cached_has_bits & 0x00000010u) != 0) { + if (this_._internal_part_number() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this_._internal_part_number()); + } + } + // bool completed = 6; + if ((cached_has_bits & 0x00000020u) != 0) { + 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; + + cached_has_bits = from._impl_._has_bits_[0]; + if ((cached_has_bits & 0x0000003fu) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + if (!from._internal_entity_tag().empty()) { + _this->_internal_set_entity_tag(from._internal_entity_tag()); + } else { + if (_this->_impl_.entity_tag_.IsDefault()) { + _this->_internal_set_entity_tag(""); + } + } + } + if ((cached_has_bits & 0x00000002u) != 0) { + if (!from._internal_checksum_sha256().empty()) { + _this->_internal_set_checksum_sha256(from._internal_checksum_sha256()); + } else { + if (_this->_impl_.checksum_sha256_.IsDefault()) { + _this->_internal_set_checksum_sha256(""); + } + } + } + if ((cached_has_bits & 0x00000004u) != 0) { + if (from._internal_offset_start() != 0) { + _this->_impl_.offset_start_ = from._impl_.offset_start_; + } + } + if ((cached_has_bits & 0x00000008u) != 0) { + if (from._internal_offset_stop() != 0) { + _this->_impl_.offset_stop_ = from._impl_.offset_stop_; + } + } + if ((cached_has_bits & 0x00000010u) != 0) { + if (from._internal_part_number() != 0) { + _this->_impl_.part_number_ = from._impl_.part_number_; + } + } + if ((cached_has_bits & 0x00000020u) != 0) { + if (from._internal_completed() != 0) { + _this->_impl_.completed_ = from._impl_.completed_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _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 PROTOBUF_NONNULL 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_.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* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, Work_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:flex.Work) +} +PROTOBUF_NDEBUG_INLINE Work::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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* PROTOBUF_NULLABLE arena, + const Work& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, Work_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 & 0x00000008u) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.status_) + : nullptr; + _impl_.job_builder_ = from._impl_.job_builder_; + + // @@protoc_insertion_point(copy_constructor:flex.Work) +} +PROTOBUF_NDEBUG_INLINE Work::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + parts_{visibility, arena}, + path_(arena), + job_id_(arena), + request_id_(arena) {} + +inline void Work::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE 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* PROTOBUF_NONNULL Work::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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)); + } +} +constexpr auto Work::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull Work_class_data_ = + Work::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +Work::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&Work_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(Work_class_data_.tc_table); + return Work_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), + Work_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, 0, 0, PROTOBUF_FIELD_OFFSET(Work, _impl_.path_)}}, + // string job_id = 2; + {::_pbi::TcParser::FastUS1, + {18, 1, 0, PROTOBUF_FIELD_OFFSET(Work, _impl_.job_id_)}}, + // string request_id = 3; + {::_pbi::TcParser::FastUS1, + {26, 2, 0, PROTOBUF_FIELD_OFFSET(Work, _impl_.request_id_)}}, + // .flex.Work.Status status = 4; + {::_pbi::TcParser::FastMtS1, + {34, 3, 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, 4, 0, PROTOBUF_FIELD_OFFSET(Work, _impl_.job_builder_)}}, + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // string path = 1; + {PROTOBUF_FIELD_OFFSET(Work, _impl_.path_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string job_id = 2; + {PROTOBUF_FIELD_OFFSET(Work, _impl_.job_id_), _Internal::kHasBitsOffset + 1, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string request_id = 3; + {PROTOBUF_FIELD_OFFSET(Work, _impl_.request_id_), _Internal::kHasBitsOffset + 2, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // .flex.Work.Status status = 4; + {PROTOBUF_FIELD_OFFSET(Work, _impl_.status_), _Internal::kHasBitsOffset + 3, 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_), _Internal::kHasBitsOffset + 4, 0, + (0 | ::_fl::kFcOptional | ::_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(); + cached_has_bits = _impl_._has_bits_[0]; + if ((cached_has_bits & 0x0000000fu) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + _impl_.path_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000002u) != 0) { + _impl_.job_id_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000004u) != 0) { + _impl_.request_id_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000008u) != 0) { + 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* PROTOBUF_NONNULL Work::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const Work& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL Work::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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_._impl_._has_bits_[0] & 0x00000001u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000002u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000004u) != 0) { + 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 & 0x00000008u) != 0) { + 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 ((cached_has_bits & 0x00000010u) != 0) { + if (this_._internal_job_builder() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 6, this_._internal_job_builder(), target); + } + } + + if (ABSL_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); + } + } + } + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x0000001fu) != 0) { + // string path = 1; + if ((cached_has_bits & 0x00000001u) != 0) { + if (!this_._internal_path().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_path()); + } + } + // string job_id = 2; + if ((cached_has_bits & 0x00000002u) != 0) { + if (!this_._internal_job_id().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_job_id()); + } + } + // string request_id = 3; + if ((cached_has_bits & 0x00000004u) != 0) { + if (!this_._internal_request_id().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_request_id()); + } + } + // .flex.Work.Status status = 4; + if ((cached_has_bits & 0x00000008u) != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.status_); + } + // bool job_builder = 6; + if ((cached_has_bits & 0x00000010u) != 0) { + 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()); + cached_has_bits = from._impl_._has_bits_[0]; + if ((cached_has_bits & 0x0000001fu) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + if (!from._internal_path().empty()) { + _this->_internal_set_path(from._internal_path()); + } else { + if (_this->_impl_.path_.IsDefault()) { + _this->_internal_set_path(""); + } + } + } + if ((cached_has_bits & 0x00000002u) != 0) { + if (!from._internal_job_id().empty()) { + _this->_internal_set_job_id(from._internal_job_id()); + } else { + if (_this->_impl_.job_id_.IsDefault()) { + _this->_internal_set_job_id(""); + } + } + } + if ((cached_has_bits & 0x00000004u) != 0) { + if (!from._internal_request_id().empty()) { + _this->_internal_set_request_id(from._internal_request_id()); + } else { + if (_this->_impl_.request_id_.IsDefault()) { + _this->_internal_set_request_id(""); + } + } + } + if ((cached_has_bits & 0x00000008u) != 0) { + ABSL_DCHECK(from._impl_.status_ != nullptr); + if (_this->_impl_.status_ == nullptr) { + _this->_impl_.status_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.status_); + } else { + _this->_impl_.status_->MergeFrom(*from._impl_.status_); + } + } + if ((cached_has_bits & 0x00000010u) != 0) { + 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 PROTOBUF_NONNULL 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* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, UpdateConfigRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:flex.UpdateConfigRequest) +} +PROTOBUF_NDEBUG_INLINE UpdateConfigRequest::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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* PROTOBUF_NULLABLE arena, + const UpdateConfigRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, UpdateConfigRequest_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) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.bee_remote_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:flex.UpdateConfigRequest) +} +PROTOBUF_NDEBUG_INLINE UpdateConfigRequest::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + rsts_{visibility, arena} {} + +inline void UpdateConfigRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE 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* PROTOBUF_NONNULL UpdateConfigRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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)); + } +} +constexpr auto UpdateConfigRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull UpdateConfigRequest_class_data_ = + UpdateConfigRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +UpdateConfigRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&UpdateConfigRequest_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(UpdateConfigRequest_class_data_.tc_table); + return UpdateConfigRequest_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), + UpdateConfigRequest_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) != 0) { + 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* PROTOBUF_NONNULL UpdateConfigRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const UpdateConfigRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL UpdateConfigRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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) != 0) { + 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 (ABSL_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) != 0) { + 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) != 0) { + ABSL_DCHECK(from._impl_.bee_remote_ != nullptr); + if (_this->_impl_.bee_remote_ == nullptr) { + _this->_impl_.bee_remote_ = ::google::protobuf::Message::CopyConstruct(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 PROTOBUF_NONNULL 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: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(UpdateConfigResponse, _impl_._has_bits_); +}; + +UpdateConfigResponse::UpdateConfigResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, UpdateConfigResponse_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:flex.UpdateConfigResponse) +} +PROTOBUF_NDEBUG_INLINE UpdateConfigResponse::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::flex::UpdateConfigResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + message_(arena, from.message_) {} + +UpdateConfigResponse::UpdateConfigResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const UpdateConfigResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, UpdateConfigResponse_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) +} +PROTOBUF_NDEBUG_INLINE UpdateConfigResponse::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + message_(arena) {} + +inline void UpdateConfigResponse::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE 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* PROTOBUF_NONNULL UpdateConfigResponse::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) UpdateConfigResponse(arena); +} +constexpr auto UpdateConfigResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(UpdateConfigResponse), + alignof(UpdateConfigResponse)); +} +constexpr auto UpdateConfigResponse::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull UpdateConfigResponse_class_data_ = + UpdateConfigResponse::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +UpdateConfigResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&UpdateConfigResponse_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(UpdateConfigResponse_class_data_.tc_table); + return UpdateConfigResponse_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 0, 41, 2> +UpdateConfigResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(UpdateConfigResponse, _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 + UpdateConfigResponse_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, 0, 0, PROTOBUF_FIELD_OFFSET(UpdateConfigResponse, _impl_.message_)}}, + // .flex.UpdateConfigResponse.Result result = 1; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(UpdateConfigResponse, _impl_.result_), 1>(), + {8, 1, 0, PROTOBUF_FIELD_OFFSET(UpdateConfigResponse, _impl_.result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .flex.UpdateConfigResponse.Result result = 1; + {PROTOBUF_FIELD_OFFSET(UpdateConfigResponse, _impl_.result_), _Internal::kHasBitsOffset + 1, 0, + (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)}, + // string message = 2; + {PROTOBUF_FIELD_OFFSET(UpdateConfigResponse, _impl_.message_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_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; + + cached_has_bits = _impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000001u) != 0) { + _impl_.message_.ClearNonDefaultToEmpty(); + } + _impl_.result_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL UpdateConfigResponse::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const UpdateConfigResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL UpdateConfigResponse::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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_._impl_._has_bits_[0] & 0x00000002u) != 0) { + if (this_._internal_result() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 1, this_._internal_result(), target); + } + } + + // string message = 2; + if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { + 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 (ABSL_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_); + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000003u) != 0) { + // string message = 2; + if ((cached_has_bits & 0x00000001u) != 0) { + if (!this_._internal_message().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_message()); + } + } + // .flex.UpdateConfigResponse.Result result = 1; + if ((cached_has_bits & 0x00000002u) != 0) { + 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; + + cached_has_bits = from._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000003u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + if (!from._internal_message().empty()) { + _this->_internal_set_message(from._internal_message()); + } else { + if (_this->_impl_.message_.IsDefault()) { + _this->_internal_set_message(""); + } + } + } + if ((cached_has_bits & 0x00000002u) != 0) { + 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 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 PROTOBUF_NONNULL 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); + swap(_impl_.result_, other->_impl_.result_); +} + +::google::protobuf::Metadata UpdateConfigResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class BeeRemoteNode::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(BeeRemoteNode, _impl_._has_bits_); +}; + +BeeRemoteNode::BeeRemoteNode(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, BeeRemoteNode_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:flex.BeeRemoteNode) +} +PROTOBUF_NDEBUG_INLINE BeeRemoteNode::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::flex::BeeRemoteNode& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + 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_) {} + +BeeRemoteNode::BeeRemoteNode( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const BeeRemoteNode& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, BeeRemoteNode_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_, mgmtd_use_proxy_) - + offsetof(Impl_, mgmtd_tls_disable_verification_) + + sizeof(Impl_::mgmtd_use_proxy_)); + + // @@protoc_insertion_point(copy_constructor:flex.BeeRemoteNode) +} +PROTOBUF_NDEBUG_INLINE BeeRemoteNode::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + id_(arena), + address_(arena), + mgmtd_address_(arena), + mgmtd_tls_cert_(arena), + auth_secret_(arena) {} + +inline void BeeRemoteNode::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, mgmtd_tls_disable_verification_), + 0, + offsetof(Impl_, mgmtd_use_proxy_) - + offsetof(Impl_, mgmtd_tls_disable_verification_) + + sizeof(Impl_::mgmtd_use_proxy_)); +} +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* PROTOBUF_NONNULL BeeRemoteNode::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) BeeRemoteNode(arena); +} +constexpr auto BeeRemoteNode::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(BeeRemoteNode), + alignof(BeeRemoteNode)); +} +constexpr auto BeeRemoteNode::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull BeeRemoteNode_class_data_ = + BeeRemoteNode::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +BeeRemoteNode::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&BeeRemoteNode_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(BeeRemoteNode_class_data_.tc_table); + return BeeRemoteNode_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<4, 9, 0, 57, 2> +BeeRemoteNode::_table_ = { + { + PROTOBUF_FIELD_OFFSET(BeeRemoteNode, _impl_._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 + BeeRemoteNode_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, 0, 0, PROTOBUF_FIELD_OFFSET(BeeRemoteNode, _impl_.id_)}}, + // string address = 2; + {::_pbi::TcParser::FastUS1, + {18, 1, 0, PROTOBUF_FIELD_OFFSET(BeeRemoteNode, _impl_.address_)}}, + // string mgmtd_address = 3; + {::_pbi::TcParser::FastUS1, + {26, 2, 0, PROTOBUF_FIELD_OFFSET(BeeRemoteNode, _impl_.mgmtd_address_)}}, + // bytes mgmtd_tls_cert = 4; + {::_pbi::TcParser::FastBS1, + {34, 3, 0, PROTOBUF_FIELD_OFFSET(BeeRemoteNode, _impl_.mgmtd_tls_cert_)}}, + // bool mgmtd_tls_disable_verification = 5; + {::_pbi::TcParser::SingularVarintNoZag1(), + {40, 5, 0, PROTOBUF_FIELD_OFFSET(BeeRemoteNode, _impl_.mgmtd_tls_disable_verification_)}}, + // bool mgmtd_tls_disable = 6; + {::_pbi::TcParser::SingularVarintNoZag1(), + {48, 6, 0, PROTOBUF_FIELD_OFFSET(BeeRemoteNode, _impl_.mgmtd_tls_disable_)}}, + // bytes auth_secret = 7; + {::_pbi::TcParser::FastBS1, + {58, 4, 0, PROTOBUF_FIELD_OFFSET(BeeRemoteNode, _impl_.auth_secret_)}}, + // bool auth_disable = 8; + {::_pbi::TcParser::SingularVarintNoZag1(), + {64, 7, 0, PROTOBUF_FIELD_OFFSET(BeeRemoteNode, _impl_.auth_disable_)}}, + // bool mgmtd_use_proxy = 9; + {::_pbi::TcParser::SingularVarintNoZag1(), + {72, 8, 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_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string address = 2; + {PROTOBUF_FIELD_OFFSET(BeeRemoteNode, _impl_.address_), _Internal::kHasBitsOffset + 1, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string mgmtd_address = 3; + {PROTOBUF_FIELD_OFFSET(BeeRemoteNode, _impl_.mgmtd_address_), _Internal::kHasBitsOffset + 2, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // bytes mgmtd_tls_cert = 4; + {PROTOBUF_FIELD_OFFSET(BeeRemoteNode, _impl_.mgmtd_tls_cert_), _Internal::kHasBitsOffset + 3, 0, + (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)}, + // bool mgmtd_tls_disable_verification = 5; + {PROTOBUF_FIELD_OFFSET(BeeRemoteNode, _impl_.mgmtd_tls_disable_verification_), _Internal::kHasBitsOffset + 5, 0, + (0 | ::_fl::kFcOptional | ::_fl::kBool)}, + // bool mgmtd_tls_disable = 6; + {PROTOBUF_FIELD_OFFSET(BeeRemoteNode, _impl_.mgmtd_tls_disable_), _Internal::kHasBitsOffset + 6, 0, + (0 | ::_fl::kFcOptional | ::_fl::kBool)}, + // bytes auth_secret = 7; + {PROTOBUF_FIELD_OFFSET(BeeRemoteNode, _impl_.auth_secret_), _Internal::kHasBitsOffset + 4, 0, + (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)}, + // bool auth_disable = 8; + {PROTOBUF_FIELD_OFFSET(BeeRemoteNode, _impl_.auth_disable_), _Internal::kHasBitsOffset + 7, 0, + (0 | ::_fl::kFcOptional | ::_fl::kBool)}, + // bool mgmtd_use_proxy = 9; + {PROTOBUF_FIELD_OFFSET(BeeRemoteNode, _impl_.mgmtd_use_proxy_), _Internal::kHasBitsOffset + 8, 0, + (0 | ::_fl::kFcOptional | ::_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; + + cached_has_bits = _impl_._has_bits_[0]; + if ((cached_has_bits & 0x0000001fu) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + _impl_.id_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000002u) != 0) { + _impl_.address_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000004u) != 0) { + _impl_.mgmtd_address_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000008u) != 0) { + _impl_.mgmtd_tls_cert_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000010u) != 0) { + _impl_.auth_secret_.ClearNonDefaultToEmpty(); + } + } + ::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_)); + _impl_.mgmtd_use_proxy_ = false; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL BeeRemoteNode::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const BeeRemoteNode& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL BeeRemoteNode::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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_._impl_._has_bits_[0] & 0x00000001u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000002u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000004u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000008u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000020u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000040u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000010u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000080u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000100u) != 0) { + if (this_._internal_mgmtd_use_proxy() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 9, this_._internal_mgmtd_use_proxy(), target); + } + } + + if (ABSL_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_); + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x000000ffu) != 0) { + // string id = 1; + if ((cached_has_bits & 0x00000001u) != 0) { + if (!this_._internal_id().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_id()); + } + } + // string address = 2; + if ((cached_has_bits & 0x00000002u) != 0) { + if (!this_._internal_address().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_address()); + } + } + // string mgmtd_address = 3; + if ((cached_has_bits & 0x00000004u) != 0) { + if (!this_._internal_mgmtd_address().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_mgmtd_address()); + } + } + // bytes mgmtd_tls_cert = 4; + if ((cached_has_bits & 0x00000008u) != 0) { + 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 ((cached_has_bits & 0x00000010u) != 0) { + 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 ((cached_has_bits & 0x00000020u) != 0) { + if (this_._internal_mgmtd_tls_disable_verification() != 0) { + total_size += 2; + } + } + // bool mgmtd_tls_disable = 6; + if ((cached_has_bits & 0x00000040u) != 0) { + if (this_._internal_mgmtd_tls_disable() != 0) { + total_size += 2; + } + } + // bool auth_disable = 8; + if ((cached_has_bits & 0x00000080u) != 0) { + if (this_._internal_auth_disable() != 0) { + total_size += 2; + } + } + } + { + // bool mgmtd_use_proxy = 9; + if ((cached_has_bits & 0x00000100u) != 0) { + if (this_._internal_mgmtd_use_proxy() != 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; + + cached_has_bits = from._impl_._has_bits_[0]; + if ((cached_has_bits & 0x000000ffu) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + if (!from._internal_id().empty()) { + _this->_internal_set_id(from._internal_id()); + } else { + if (_this->_impl_.id_.IsDefault()) { + _this->_internal_set_id(""); + } + } + } + if ((cached_has_bits & 0x00000002u) != 0) { + if (!from._internal_address().empty()) { + _this->_internal_set_address(from._internal_address()); + } else { + if (_this->_impl_.address_.IsDefault()) { + _this->_internal_set_address(""); + } + } + } + if ((cached_has_bits & 0x00000004u) != 0) { + if (!from._internal_mgmtd_address().empty()) { + _this->_internal_set_mgmtd_address(from._internal_mgmtd_address()); + } else { + if (_this->_impl_.mgmtd_address_.IsDefault()) { + _this->_internal_set_mgmtd_address(""); + } + } + } + if ((cached_has_bits & 0x00000008u) != 0) { + if (!from._internal_mgmtd_tls_cert().empty()) { + _this->_internal_set_mgmtd_tls_cert(from._internal_mgmtd_tls_cert()); + } else { + if (_this->_impl_.mgmtd_tls_cert_.IsDefault()) { + _this->_internal_set_mgmtd_tls_cert(""); + } + } + } + if ((cached_has_bits & 0x00000010u) != 0) { + if (!from._internal_auth_secret().empty()) { + _this->_internal_set_auth_secret(from._internal_auth_secret()); + } else { + if (_this->_impl_.auth_secret_.IsDefault()) { + _this->_internal_set_auth_secret(""); + } + } + } + if ((cached_has_bits & 0x00000020u) != 0) { + if (from._internal_mgmtd_tls_disable_verification() != 0) { + _this->_impl_.mgmtd_tls_disable_verification_ = from._impl_.mgmtd_tls_disable_verification_; + } + } + if ((cached_has_bits & 0x00000040u) != 0) { + if (from._internal_mgmtd_tls_disable() != 0) { + _this->_impl_.mgmtd_tls_disable_ = from._impl_.mgmtd_tls_disable_; + } + } + if ((cached_has_bits & 0x00000080u) != 0) { + if (from._internal_auth_disable() != 0) { + _this->_impl_.auth_disable_ = from._impl_.auth_disable_; + } + } + } + if ((cached_has_bits & 0x00000100u) != 0) { + if (from._internal_mgmtd_use_proxy() != 0) { + _this->_impl_.mgmtd_use_proxy_ = from._impl_.mgmtd_use_proxy_; + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _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 PROTOBUF_NONNULL 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_.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_.mgmtd_use_proxy_) + + sizeof(BeeRemoteNode::_impl_.mgmtd_use_proxy_) + - 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: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_Policies, _impl_._has_bits_); +}; + +RemoteStorageTarget_Policies::RemoteStorageTarget_Policies(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, RemoteStorageTarget_Policies_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* PROTOBUF_NULLABLE arena, const RemoteStorageTarget_Policies& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, RemoteStorageTarget_Policies_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); +} +PROTOBUF_NDEBUG_INLINE RemoteStorageTarget_Policies::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0} {} + +inline void RemoteStorageTarget_Policies::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE 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* PROTOBUF_NONNULL RemoteStorageTarget_Policies::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) RemoteStorageTarget_Policies(arena); +} +constexpr auto RemoteStorageTarget_Policies::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(RemoteStorageTarget_Policies), + alignof(RemoteStorageTarget_Policies)); +} +constexpr auto RemoteStorageTarget_Policies::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull RemoteStorageTarget_Policies_class_data_ = + RemoteStorageTarget_Policies::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +RemoteStorageTarget_Policies::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&RemoteStorageTarget_Policies_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(RemoteStorageTarget_Policies_class_data_.tc_table); + return RemoteStorageTarget_Policies_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 0, 0, 2> +RemoteStorageTarget_Policies::_table_ = { + { + PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_Policies, _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 + RemoteStorageTarget_Policies_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_), 0>(), + {8, 0, 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_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_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}; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL RemoteStorageTarget_Policies::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const RemoteStorageTarget_Policies& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL RemoteStorageTarget_Policies::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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_._impl_._has_bits_[0] & 0x00000001u) != 0) { + if (this_._internal_fast_start_max_size() != 0) { + target = + ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<1>( + stream, this_._internal_fast_start_max_size(), target); + } + } + + if (ABSL_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; + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000001u) != 0) { + 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; + + cached_has_bits = from._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000001u) != 0) { + if (from._internal_fast_start_max_size() != 0) { + _this->_impl_.fast_start_max_size_ = from._impl_.fast_start_max_size_; + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _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 PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + 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: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3_StorageClass_Archival, _impl_._has_bits_); +}; + +RemoteStorageTarget_S3_StorageClass_Archival::RemoteStorageTarget_S3_StorageClass_Archival(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, RemoteStorageTarget_S3_StorageClass_Archival_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) +} +PROTOBUF_NDEBUG_INLINE RemoteStorageTarget_S3_StorageClass_Archival::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::flex::RemoteStorageTarget_S3_StorageClass_Archival& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + retrieval_tier_(arena, from.retrieval_tier_), + check_time_(arena, from.check_time_), + recheck_time_(arena, from.recheck_time_) {} + +RemoteStorageTarget_S3_StorageClass_Archival::RemoteStorageTarget_S3_StorageClass_Archival( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const RemoteStorageTarget_S3_StorageClass_Archival& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, RemoteStorageTarget_S3_StorageClass_Archival_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) +} +PROTOBUF_NDEBUG_INLINE RemoteStorageTarget_S3_StorageClass_Archival::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + retrieval_tier_(arena), + check_time_(arena), + recheck_time_(arena) {} + +inline void RemoteStorageTarget_S3_StorageClass_Archival::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE 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* PROTOBUF_NONNULL RemoteStorageTarget_S3_StorageClass_Archival::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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)); +} +constexpr auto RemoteStorageTarget_S3_StorageClass_Archival::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull RemoteStorageTarget_S3_StorageClass_Archival_class_data_ = + RemoteStorageTarget_S3_StorageClass_Archival::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +RemoteStorageTarget_S3_StorageClass_Archival::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&RemoteStorageTarget_S3_StorageClass_Archival_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(RemoteStorageTarget_S3_StorageClass_Archival_class_data_.tc_table); + return RemoteStorageTarget_S3_StorageClass_Archival_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<3, 5, 0, 94, 2> +RemoteStorageTarget_S3_StorageClass_Archival::_table_ = { + { + PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3_StorageClass_Archival, _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 + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + RemoteStorageTarget_S3_StorageClass_Archival_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, 0, 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_), 3>(), + {16, 3, 0, PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3_StorageClass_Archival, _impl_.retention_days_)}}, + // string check_time = 3; + {::_pbi::TcParser::FastUS1, + {26, 1, 0, PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3_StorageClass_Archival, _impl_.check_time_)}}, + // string recheck_time = 4; + {::_pbi::TcParser::FastUS1, + {34, 2, 0, PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3_StorageClass_Archival, _impl_.recheck_time_)}}, + // bool auto_restore = 5; + {::_pbi::TcParser::SingularVarintNoZag1(), + {40, 4, 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_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // int32 retention_days = 2; + {PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3_StorageClass_Archival, _impl_.retention_days_), _Internal::kHasBitsOffset + 3, 0, + (0 | ::_fl::kFcOptional | ::_fl::kInt32)}, + // string check_time = 3; + {PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3_StorageClass_Archival, _impl_.check_time_), _Internal::kHasBitsOffset + 1, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string recheck_time = 4; + {PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3_StorageClass_Archival, _impl_.recheck_time_), _Internal::kHasBitsOffset + 2, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // bool auto_restore = 5; + {PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3_StorageClass_Archival, _impl_.auto_restore_), _Internal::kHasBitsOffset + 4, 0, + (0 | ::_fl::kFcOptional | ::_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; + + cached_has_bits = _impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000007u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + _impl_.retrieval_tier_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000002u) != 0) { + _impl_.check_time_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000004u) != 0) { + _impl_.recheck_time_.ClearNonDefaultToEmpty(); + } + } + if ((cached_has_bits & 0x00000018u) != 0) { + ::memset(&_impl_.retention_days_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.auto_restore_) - + reinterpret_cast(&_impl_.retention_days_)) + sizeof(_impl_.auto_restore_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL RemoteStorageTarget_S3_StorageClass_Archival::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const RemoteStorageTarget_S3_StorageClass_Archival& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL RemoteStorageTarget_S3_StorageClass_Archival::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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_._impl_._has_bits_[0] & 0x00000001u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000008u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000002u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000004u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000010u) != 0) { + if (this_._internal_auto_restore() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 5, this_._internal_auto_restore(), target); + } + } + + if (ABSL_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_); + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x0000001fu) != 0) { + // string retrieval_tier = 1; + if ((cached_has_bits & 0x00000001u) != 0) { + if (!this_._internal_retrieval_tier().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_retrieval_tier()); + } + } + // string check_time = 3; + if ((cached_has_bits & 0x00000002u) != 0) { + if (!this_._internal_check_time().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_check_time()); + } + } + // string recheck_time = 4; + if ((cached_has_bits & 0x00000004u) != 0) { + if (!this_._internal_recheck_time().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_recheck_time()); + } + } + // int32 retention_days = 2; + if ((cached_has_bits & 0x00000008u) != 0) { + if (this_._internal_retention_days() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this_._internal_retention_days()); + } + } + // bool auto_restore = 5; + if ((cached_has_bits & 0x00000010u) != 0) { + 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; + + cached_has_bits = from._impl_._has_bits_[0]; + if ((cached_has_bits & 0x0000001fu) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + if (!from._internal_retrieval_tier().empty()) { + _this->_internal_set_retrieval_tier(from._internal_retrieval_tier()); + } else { + if (_this->_impl_.retrieval_tier_.IsDefault()) { + _this->_internal_set_retrieval_tier(""); + } + } + } + if ((cached_has_bits & 0x00000002u) != 0) { + if (!from._internal_check_time().empty()) { + _this->_internal_set_check_time(from._internal_check_time()); + } else { + if (_this->_impl_.check_time_.IsDefault()) { + _this->_internal_set_check_time(""); + } + } + } + if ((cached_has_bits & 0x00000004u) != 0) { + if (!from._internal_recheck_time().empty()) { + _this->_internal_set_recheck_time(from._internal_recheck_time()); + } else { + if (_this->_impl_.recheck_time_.IsDefault()) { + _this->_internal_set_recheck_time(""); + } + } + } + if ((cached_has_bits & 0x00000008u) != 0) { + if (from._internal_retention_days() != 0) { + _this->_impl_.retention_days_ = from._impl_.retention_days_; + } + } + if ((cached_has_bits & 0x00000010u) != 0) { + if (from._internal_auto_restore() != 0) { + _this->_impl_.auto_restore_ = from._impl_.auto_restore_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _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 PROTOBUF_NONNULL 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_.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* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, RemoteStorageTarget_S3_StorageClass_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) +} +PROTOBUF_NDEBUG_INLINE RemoteStorageTarget_S3_StorageClass::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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* PROTOBUF_NULLABLE arena, + const RemoteStorageTarget_S3_StorageClass& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, RemoteStorageTarget_S3_StorageClass_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 & 0x00000002u) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.archival_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:flex.RemoteStorageTarget.S3.StorageClass) +} +PROTOBUF_NDEBUG_INLINE RemoteStorageTarget_S3_StorageClass::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + name_(arena) {} + +inline void RemoteStorageTarget_S3_StorageClass::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE 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* PROTOBUF_NONNULL RemoteStorageTarget_S3_StorageClass::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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)); +} +constexpr auto RemoteStorageTarget_S3_StorageClass::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull RemoteStorageTarget_S3_StorageClass_class_data_ = + RemoteStorageTarget_S3_StorageClass::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +RemoteStorageTarget_S3_StorageClass::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&RemoteStorageTarget_S3_StorageClass_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(RemoteStorageTarget_S3_StorageClass_class_data_.tc_table); + return RemoteStorageTarget_S3_StorageClass_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), + RemoteStorageTarget_S3_StorageClass_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, 1, 0, PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3_StorageClass, _impl_.archival_)}}, + // string name = 1; + {::_pbi::TcParser::FastUS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3_StorageClass, _impl_.name_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string name = 1; + {PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3_StorageClass, _impl_.name_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // optional .flex.RemoteStorageTarget.S3.StorageClass.Archival archival = 2; + {PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3_StorageClass, _impl_.archival_), _Internal::kHasBitsOffset + 1, 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; + + cached_has_bits = _impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000003u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + _impl_.name_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000002u) != 0) { + 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* PROTOBUF_NONNULL RemoteStorageTarget_S3_StorageClass::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const RemoteStorageTarget_S3_StorageClass& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL RemoteStorageTarget_S3_StorageClass::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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_._impl_._has_bits_[0] & 0x00000001u) != 0) { + 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 & 0x00000002u) != 0) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.archival_, this_._impl_.archival_->GetCachedSize(), target, + stream); + } + + if (ABSL_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_); + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000003u) != 0) { + // string name = 1; + if ((cached_has_bits & 0x00000001u) != 0) { + if (!this_._internal_name().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_name()); + } + } + // optional .flex.RemoteStorageTarget.S3.StorageClass.Archival archival = 2; + if ((cached_has_bits & 0x00000002u) != 0) { + 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; + + cached_has_bits = from._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000003u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + if (!from._internal_name().empty()) { + _this->_internal_set_name(from._internal_name()); + } else { + if (_this->_impl_.name_.IsDefault()) { + _this->_internal_set_name(""); + } + } + } + if ((cached_has_bits & 0x00000002u) != 0) { + ABSL_DCHECK(from._impl_.archival_ != nullptr); + if (_this->_impl_.archival_ == nullptr) { + _this->_impl_.archival_ = ::google::protobuf::Message::CopyConstruct(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 PROTOBUF_NONNULL 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: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3, _impl_._has_bits_); +}; + +RemoteStorageTarget_S3::RemoteStorageTarget_S3(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, RemoteStorageTarget_S3_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) +} +PROTOBUF_NDEBUG_INLINE RemoteStorageTarget_S3::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::flex::RemoteStorageTarget_S3& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + 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_) {} + +RemoteStorageTarget_S3::RemoteStorageTarget_S3( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const RemoteStorageTarget_S3& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, RemoteStorageTarget_S3_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) +} +PROTOBUF_NDEBUG_INLINE RemoteStorageTarget_S3::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + storage_class_{visibility, arena}, + endpoint_url_(arena), + partition_id_(arena), + region_(arena), + bucket_(arena), + access_key_(arena), + secret_key_(arena) {} + +inline void RemoteStorageTarget_S3::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE 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* PROTOBUF_NONNULL RemoteStorageTarget_S3::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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)); + } +} +constexpr auto RemoteStorageTarget_S3::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull RemoteStorageTarget_S3_class_data_ = + RemoteStorageTarget_S3::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +RemoteStorageTarget_S3::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&RemoteStorageTarget_S3_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(RemoteStorageTarget_S3_class_data_.tc_table); + return RemoteStorageTarget_S3_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<3, 7, 1, 92, 2> +RemoteStorageTarget_S3::_table_ = { + { + PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3, _impl_._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), + RemoteStorageTarget_S3_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, 0, 0, PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3, _impl_.endpoint_url_)}}, + // string partition_id = 2; + {::_pbi::TcParser::FastUS1, + {18, 1, 0, PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3, _impl_.partition_id_)}}, + // string region = 3; + {::_pbi::TcParser::FastUS1, + {26, 2, 0, PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3, _impl_.region_)}}, + // string bucket = 4; + {::_pbi::TcParser::FastUS1, + {34, 3, 0, PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3, _impl_.bucket_)}}, + // string access_key = 5; + {::_pbi::TcParser::FastUS1, + {42, 4, 0, PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3, _impl_.access_key_)}}, + // string secret_key = 6; + {::_pbi::TcParser::FastUS1, + {50, 5, 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_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string partition_id = 2; + {PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3, _impl_.partition_id_), _Internal::kHasBitsOffset + 1, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string region = 3; + {PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3, _impl_.region_), _Internal::kHasBitsOffset + 2, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string bucket = 4; + {PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3, _impl_.bucket_), _Internal::kHasBitsOffset + 3, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string access_key = 5; + {PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3, _impl_.access_key_), _Internal::kHasBitsOffset + 4, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string secret_key = 6; + {PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3, _impl_.secret_key_), _Internal::kHasBitsOffset + 5, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // repeated .flex.RemoteStorageTarget.S3.StorageClass storage_class = 8; + {PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3, _impl_.storage_class_), -1, 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(); + cached_has_bits = _impl_._has_bits_[0]; + if ((cached_has_bits & 0x0000003fu) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + _impl_.endpoint_url_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000002u) != 0) { + _impl_.partition_id_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000004u) != 0) { + _impl_.region_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000008u) != 0) { + _impl_.bucket_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000010u) != 0) { + _impl_.access_key_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000020u) != 0) { + _impl_.secret_key_.ClearNonDefaultToEmpty(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL RemoteStorageTarget_S3::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const RemoteStorageTarget_S3& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL RemoteStorageTarget_S3::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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_._impl_._has_bits_[0] & 0x00000001u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000002u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000004u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000008u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000010u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000020u) != 0) { + 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 (ABSL_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); + } + } + } + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x0000003fu) != 0) { + // string endpoint_url = 1; + if ((cached_has_bits & 0x00000001u) != 0) { + if (!this_._internal_endpoint_url().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_endpoint_url()); + } + } + // string partition_id = 2; + if ((cached_has_bits & 0x00000002u) != 0) { + if (!this_._internal_partition_id().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_partition_id()); + } + } + // string region = 3; + if ((cached_has_bits & 0x00000004u) != 0) { + if (!this_._internal_region().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_region()); + } + } + // string bucket = 4; + if ((cached_has_bits & 0x00000008u) != 0) { + if (!this_._internal_bucket().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_bucket()); + } + } + // string access_key = 5; + if ((cached_has_bits & 0x00000010u) != 0) { + if (!this_._internal_access_key().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_access_key()); + } + } + // string secret_key = 6; + if ((cached_has_bits & 0x00000020u) != 0) { + 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()); + cached_has_bits = from._impl_._has_bits_[0]; + if ((cached_has_bits & 0x0000003fu) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + if (!from._internal_endpoint_url().empty()) { + _this->_internal_set_endpoint_url(from._internal_endpoint_url()); + } else { + if (_this->_impl_.endpoint_url_.IsDefault()) { + _this->_internal_set_endpoint_url(""); + } + } + } + if ((cached_has_bits & 0x00000002u) != 0) { + if (!from._internal_partition_id().empty()) { + _this->_internal_set_partition_id(from._internal_partition_id()); + } else { + if (_this->_impl_.partition_id_.IsDefault()) { + _this->_internal_set_partition_id(""); + } + } + } + if ((cached_has_bits & 0x00000004u) != 0) { + if (!from._internal_region().empty()) { + _this->_internal_set_region(from._internal_region()); + } else { + if (_this->_impl_.region_.IsDefault()) { + _this->_internal_set_region(""); + } + } + } + if ((cached_has_bits & 0x00000008u) != 0) { + if (!from._internal_bucket().empty()) { + _this->_internal_set_bucket(from._internal_bucket()); + } else { + if (_this->_impl_.bucket_.IsDefault()) { + _this->_internal_set_bucket(""); + } + } + } + if ((cached_has_bits & 0x00000010u) != 0) { + if (!from._internal_access_key().empty()) { + _this->_internal_set_access_key(from._internal_access_key()); + } else { + if (_this->_impl_.access_key_.IsDefault()) { + _this->_internal_set_access_key(""); + } + } + } + if ((cached_has_bits & 0x00000020u) != 0) { + if (!from._internal_secret_key().empty()) { + _this->_internal_set_secret_key(from._internal_secret_key()); + } else { + if (_this->_impl_.secret_key_.IsDefault()) { + _this->_internal_set_secret_key(""); + } + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _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 PROTOBUF_NONNULL 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_.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* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, RemoteStorageTarget_Azure_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) +} +PROTOBUF_NDEBUG_INLINE RemoteStorageTarget_Azure::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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* PROTOBUF_NULLABLE arena, + const RemoteStorageTarget_Azure& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, RemoteStorageTarget_Azure_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 & 0x00000002u) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.s3_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:flex.RemoteStorageTarget.Azure) +} +PROTOBUF_NDEBUG_INLINE RemoteStorageTarget_Azure::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + account_(arena) {} + +inline void RemoteStorageTarget_Azure::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE 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* PROTOBUF_NONNULL RemoteStorageTarget_Azure::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) RemoteStorageTarget_Azure(arena); +} +constexpr auto RemoteStorageTarget_Azure::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(RemoteStorageTarget_Azure), + alignof(RemoteStorageTarget_Azure)); +} +constexpr auto RemoteStorageTarget_Azure::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull RemoteStorageTarget_Azure_class_data_ = + RemoteStorageTarget_Azure::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +RemoteStorageTarget_Azure::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&RemoteStorageTarget_Azure_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(RemoteStorageTarget_Azure_class_data_.tc_table); + return RemoteStorageTarget_Azure_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), + RemoteStorageTarget_Azure_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, 0, 0, PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_Azure, _impl_.account_)}}, + // .flex.RemoteStorageTarget.S3 s3 = 1; + {::_pbi::TcParser::FastMtS1, + {10, 1, 0, PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_Azure, _impl_.s3_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .flex.RemoteStorageTarget.S3 s3 = 1; + {PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_Azure, _impl_.s3_), _Internal::kHasBitsOffset + 1, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // string account = 2; + {PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_Azure, _impl_.account_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_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; + + cached_has_bits = _impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000003u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + _impl_.account_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000002u) != 0) { + 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* PROTOBUF_NONNULL RemoteStorageTarget_Azure::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const RemoteStorageTarget_Azure& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL RemoteStorageTarget_Azure::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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 & 0x00000002u) != 0) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.s3_, this_._impl_.s3_->GetCachedSize(), target, + stream); + } + + // string account = 2; + if ((cached_has_bits & 0x00000001u) != 0) { + 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 (ABSL_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_); + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000003u) != 0) { + // string account = 2; + if ((cached_has_bits & 0x00000001u) != 0) { + if (!this_._internal_account().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_account()); + } + } + // .flex.RemoteStorageTarget.S3 s3 = 1; + if ((cached_has_bits & 0x00000002u) != 0) { + 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; + + cached_has_bits = from._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000003u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + if (!from._internal_account().empty()) { + _this->_internal_set_account(from._internal_account()); + } else { + if (_this->_impl_.account_.IsDefault()) { + _this->_internal_set_account(""); + } + } + } + if ((cached_has_bits & 0x00000002u) != 0) { + ABSL_DCHECK(from._impl_.s3_ != nullptr); + if (_this->_impl_.s3_ == nullptr) { + _this->_impl_.s3_ = ::google::protobuf::Message::CopyConstruct(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 PROTOBUF_NONNULL 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: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_POSIX, _impl_._has_bits_); +}; + +RemoteStorageTarget_POSIX::RemoteStorageTarget_POSIX(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, RemoteStorageTarget_POSIX_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) +} +PROTOBUF_NDEBUG_INLINE RemoteStorageTarget_POSIX::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::flex::RemoteStorageTarget_POSIX& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + path_(arena, from.path_) {} + +RemoteStorageTarget_POSIX::RemoteStorageTarget_POSIX( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const RemoteStorageTarget_POSIX& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, RemoteStorageTarget_POSIX_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) +} +PROTOBUF_NDEBUG_INLINE RemoteStorageTarget_POSIX::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + path_(arena) {} + +inline void RemoteStorageTarget_POSIX::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE 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* PROTOBUF_NONNULL RemoteStorageTarget_POSIX::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) RemoteStorageTarget_POSIX(arena); +} +constexpr auto RemoteStorageTarget_POSIX::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(RemoteStorageTarget_POSIX), + alignof(RemoteStorageTarget_POSIX)); +} +constexpr auto RemoteStorageTarget_POSIX::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull RemoteStorageTarget_POSIX_class_data_ = + RemoteStorageTarget_POSIX::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +RemoteStorageTarget_POSIX::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&RemoteStorageTarget_POSIX_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(RemoteStorageTarget_POSIX_class_data_.tc_table); + return RemoteStorageTarget_POSIX_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 0, 43, 2> +RemoteStorageTarget_POSIX::_table_ = { + { + PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_POSIX, _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 + RemoteStorageTarget_POSIX_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, 0, 0, PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_POSIX, _impl_.path_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string path = 1; + {PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_POSIX, _impl_.path_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_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; + + cached_has_bits = _impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000001u) != 0) { + _impl_.path_.ClearNonDefaultToEmpty(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL RemoteStorageTarget_POSIX::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const RemoteStorageTarget_POSIX& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL RemoteStorageTarget_POSIX::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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_._impl_._has_bits_[0] & 0x00000001u) != 0) { + 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 (ABSL_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; + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000001u) != 0) { + 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; + + cached_has_bits = from._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000001u) != 0) { + if (!from._internal_path().empty()) { + _this->_internal_set_path(from._internal_path()); + } else { + if (_this->_impl_.path_.IsDefault()) { + _this->_internal_set_path(""); + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _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 PROTOBUF_NONNULL 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); +} + +::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* PROTOBUF_NULLABLE 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* PROTOBUF_NULLABLE 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* PROTOBUF_NULLABLE 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* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, RemoteStorageTarget_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:flex.RemoteStorageTarget) +} +PROTOBUF_NDEBUG_INLINE RemoteStorageTarget::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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* PROTOBUF_NULLABLE arena, + const RemoteStorageTarget& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, RemoteStorageTarget_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 & 0x00000002u) != 0) + ? ::google::protobuf::Message::CopyConstruct(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(arena, *from._impl_.type_.s3_); + break; + case kPosix: + _impl_.type_.posix_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.type_.posix_); + break; + case kAzure: + _impl_.type_.azure_ = ::google::protobuf::Message::CopyConstruct(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) +} +PROTOBUF_NDEBUG_INLINE RemoteStorageTarget::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + name_(arena), + type_{}, + _oneof_case_{} {} + +inline void RemoteStorageTarget::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE 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* PROTOBUF_NONNULL RemoteStorageTarget::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) RemoteStorageTarget(arena); +} +constexpr auto RemoteStorageTarget::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(RemoteStorageTarget), + alignof(RemoteStorageTarget)); +} +constexpr auto RemoteStorageTarget::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull RemoteStorageTarget_class_data_ = + RemoteStorageTarget::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +RemoteStorageTarget::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&RemoteStorageTarget_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(RemoteStorageTarget_class_data_.tc_table); + return RemoteStorageTarget_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), + RemoteStorageTarget_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_), 2>(), + {8, 2, 0, PROTOBUF_FIELD_OFFSET(RemoteStorageTarget, _impl_.id_)}}, + // string name = 2; + {::_pbi::TcParser::FastUS1, + {18, 0, 0, PROTOBUF_FIELD_OFFSET(RemoteStorageTarget, _impl_.name_)}}, + // .flex.RemoteStorageTarget.Policies policies = 3; + {::_pbi::TcParser::FastMtS1, + {26, 1, 0, PROTOBUF_FIELD_OFFSET(RemoteStorageTarget, _impl_.policies_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // uint32 id = 1; + {PROTOBUF_FIELD_OFFSET(RemoteStorageTarget, _impl_.id_), _Internal::kHasBitsOffset + 2, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // string name = 2; + {PROTOBUF_FIELD_OFFSET(RemoteStorageTarget, _impl_.name_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // .flex.RemoteStorageTarget.Policies policies = 3; + {PROTOBUF_FIELD_OFFSET(RemoteStorageTarget, _impl_.policies_), _Internal::kHasBitsOffset + 1, 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; + + cached_has_bits = _impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000003u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + _impl_.name_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000002u) != 0) { + 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* PROTOBUF_NONNULL RemoteStorageTarget::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const RemoteStorageTarget& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL RemoteStorageTarget::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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_._impl_._has_bits_[0] & 0x00000004u) != 0) { + if (this_._internal_id() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this_._internal_id(), target); + } + } + + // string name = 2; + if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { + 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 & 0x00000002u) != 0) { + 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 (ABSL_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_); + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000007u) != 0) { + // string name = 2; + if ((cached_has_bits & 0x00000001u) != 0) { + if (!this_._internal_name().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_name()); + } + } + // .flex.RemoteStorageTarget.Policies policies = 3; + if ((cached_has_bits & 0x00000002u) != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.policies_); + } + // uint32 id = 1; + if ((cached_has_bits & 0x00000004u) != 0) { + 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; + + cached_has_bits = from._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000007u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + if (!from._internal_name().empty()) { + _this->_internal_set_name(from._internal_name()); + } else { + if (_this->_impl_.name_.IsDefault()) { + _this->_internal_set_name(""); + } + } + } + if ((cached_has_bits & 0x00000002u) != 0) { + ABSL_DCHECK(from._impl_.policies_ != nullptr); + if (_this->_impl_.policies_ == nullptr) { + _this->_impl_.policies_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.policies_); + } else { + _this->_impl_.policies_->MergeFrom(*from._impl_.policies_); + } + } + if ((cached_has_bits & 0x00000004u) != 0) { + 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(arena, *from._impl_.type_.s3_); + } else { + _this->_impl_.type_.s3_->MergeFrom(*from._impl_.type_.s3_); + } + break; + } + case kPosix: { + if (oneof_needs_init) { + _this->_impl_.type_.posix_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.type_.posix_); + } else { + _this->_impl_.type_.posix_->MergeFrom(*from._impl_.type_.posix_); + } + break; + } + case kAzure: { + if (oneof_needs_init) { + _this->_impl_.type_.azure_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.type_.azure_); + } else { + _this->_impl_.type_.azure_->MergeFrom(*from._impl_.type_.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 PROTOBUF_NONNULL 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* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, GetCapabilitiesRequest_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* PROTOBUF_NULLABLE arena, + const GetCapabilitiesRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, GetCapabilitiesRequest_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* PROTOBUF_NONNULL GetCapabilitiesRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) GetCapabilitiesRequest(arena); +} +constexpr auto GetCapabilitiesRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(GetCapabilitiesRequest), + alignof(GetCapabilitiesRequest)); +} +constexpr auto GetCapabilitiesRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull GetCapabilitiesRequest_class_data_ = + GetCapabilitiesRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +GetCapabilitiesRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&GetCapabilitiesRequest_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(GetCapabilitiesRequest_class_data_.tc_table); + return GetCapabilitiesRequest_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 + GetCapabilitiesRequest_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(GetCapabilitiesResponse_FeaturesEntry_DoNotUse_class_data_.base()) {} +GetCapabilitiesResponse_FeaturesEntry_DoNotUse::GetCapabilitiesResponse_FeaturesEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : SuperType(arena, GetCapabilitiesResponse_FeaturesEntry_DoNotUse_class_data_.base()) {} +#else // PROTOBUF_CUSTOM_VTABLE +GetCapabilitiesResponse_FeaturesEntry_DoNotUse::GetCapabilitiesResponse_FeaturesEntry_DoNotUse() : SuperType() {} +GetCapabilitiesResponse_FeaturesEntry_DoNotUse::GetCapabilitiesResponse_FeaturesEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {} +#endif // PROTOBUF_CUSTOM_VTABLE +inline void* PROTOBUF_NONNULL GetCapabilitiesResponse_FeaturesEntry_DoNotUse::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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)); +} +constexpr auto GetCapabilitiesResponse_FeaturesEntry_DoNotUse::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull GetCapabilitiesResponse_FeaturesEntry_DoNotUse_class_data_ = + GetCapabilitiesResponse_FeaturesEntry_DoNotUse::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +GetCapabilitiesResponse_FeaturesEntry_DoNotUse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&GetCapabilitiesResponse_FeaturesEntry_DoNotUse_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(GetCapabilitiesResponse_FeaturesEntry_DoNotUse_class_data_.tc_table); + return GetCapabilitiesResponse_FeaturesEntry_DoNotUse_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), + GetCapabilitiesResponse_FeaturesEntry_DoNotUse_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, 1, 0, PROTOBUF_FIELD_OFFSET(GetCapabilitiesResponse_FeaturesEntry_DoNotUse, _impl_.value_)}}, + // string key = 1; + {::_pbi::TcParser::FastUS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(GetCapabilitiesResponse_FeaturesEntry_DoNotUse, _impl_.key_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string key = 1; + {PROTOBUF_FIELD_OFFSET(GetCapabilitiesResponse_FeaturesEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // .flex.Feature value = 2; + {PROTOBUF_FIELD_OFFSET(GetCapabilitiesResponse_FeaturesEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 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* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, GetCapabilitiesResponse_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:flex.GetCapabilitiesResponse) +} +PROTOBUF_NDEBUG_INLINE GetCapabilitiesResponse::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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* PROTOBUF_NULLABLE arena, + const GetCapabilitiesResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, GetCapabilitiesResponse_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) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.build_info_) + : nullptr; + _impl_.start_timestamp_ = ((cached_has_bits & 0x00000002u) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.start_timestamp_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:flex.GetCapabilitiesResponse) +} +PROTOBUF_NDEBUG_INLINE GetCapabilitiesResponse::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + features_{visibility, arena} {} + +inline void GetCapabilitiesResponse::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE 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* PROTOBUF_NONNULL GetCapabilitiesResponse::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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)); + } +} +constexpr auto GetCapabilitiesResponse::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull GetCapabilitiesResponse_class_data_ = + GetCapabilitiesResponse::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +GetCapabilitiesResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&GetCapabilitiesResponse_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(GetCapabilitiesResponse_class_data_.tc_table); + return GetCapabilitiesResponse_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), + GetCapabilitiesResponse_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(1, 0, 0, + 9, 11, + 0)}, + {::_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) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + ABSL_DCHECK(_impl_.build_info_ != nullptr); + _impl_.build_info_->Clear(); + } + if ((cached_has_bits & 0x00000002u) != 0) { + 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* PROTOBUF_NONNULL GetCapabilitiesResponse::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const GetCapabilitiesResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL GetCapabilitiesResponse::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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) != 0) { + 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) != 0) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.start_timestamp_, this_._impl_.start_timestamp_->GetCachedSize(), target, + stream); + } + + if (ABSL_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) != 0) { + // .flex.BuildInfo build_info = 1; + if ((cached_has_bits & 0x00000001u) != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.build_info_); + } + // .google.protobuf.Timestamp start_timestamp = 3; + if ((cached_has_bits & 0x00000002u) != 0) { + 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) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + ABSL_DCHECK(from._impl_.build_info_ != nullptr); + if (_this->_impl_.build_info_ == nullptr) { + _this->_impl_.build_info_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.build_info_); + } else { + _this->_impl_.build_info_->MergeFrom(*from._impl_.build_info_); + } + } + if ((cached_has_bits & 0x00000002u) != 0) { + ABSL_DCHECK(from._impl_.start_timestamp_ != nullptr); + if (_this->_impl_.start_timestamp_ == nullptr) { + _this->_impl_.start_timestamp_ = ::google::protobuf::Message::CopyConstruct(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 PROTOBUF_NONNULL 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(Feature_SubFeatureEntry_DoNotUse_class_data_.base()) {} +Feature_SubFeatureEntry_DoNotUse::Feature_SubFeatureEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : SuperType(arena, Feature_SubFeatureEntry_DoNotUse_class_data_.base()) {} +#else // PROTOBUF_CUSTOM_VTABLE +Feature_SubFeatureEntry_DoNotUse::Feature_SubFeatureEntry_DoNotUse() : SuperType() {} +Feature_SubFeatureEntry_DoNotUse::Feature_SubFeatureEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {} +#endif // PROTOBUF_CUSTOM_VTABLE +inline void* PROTOBUF_NONNULL Feature_SubFeatureEntry_DoNotUse::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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)); +} +constexpr auto Feature_SubFeatureEntry_DoNotUse::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull Feature_SubFeatureEntry_DoNotUse_class_data_ = + Feature_SubFeatureEntry_DoNotUse::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +Feature_SubFeatureEntry_DoNotUse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&Feature_SubFeatureEntry_DoNotUse_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(Feature_SubFeatureEntry_DoNotUse_class_data_.tc_table); + return Feature_SubFeatureEntry_DoNotUse_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), + Feature_SubFeatureEntry_DoNotUse_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, 1, 0, PROTOBUF_FIELD_OFFSET(Feature_SubFeatureEntry_DoNotUse, _impl_.value_)}}, + // string key = 1; + {::_pbi::TcParser::FastUS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(Feature_SubFeatureEntry_DoNotUse, _impl_.key_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string key = 1; + {PROTOBUF_FIELD_OFFSET(Feature_SubFeatureEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // .flex.Feature value = 2; + {PROTOBUF_FIELD_OFFSET(Feature_SubFeatureEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 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* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, Feature_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:flex.Feature) +} +PROTOBUF_NDEBUG_INLINE Feature::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::flex::Feature& from_msg) + : sub_feature_{visibility, arena, from.sub_feature_}, + _cached_size_{0} {} + +Feature::Feature( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const Feature& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, Feature_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) +} +PROTOBUF_NDEBUG_INLINE Feature::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : sub_feature_{visibility, arena}, + _cached_size_{0} {} + +inline void Feature::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE 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* PROTOBUF_NONNULL Feature::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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)); + } +} +constexpr auto Feature::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull Feature_class_data_ = + Feature::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +Feature::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&Feature_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(Feature_class_data_.tc_table); + return Feature_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), + Feature_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(1, 0, 0, + 9, 11, + 0)}, + {::_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* PROTOBUF_NONNULL Feature::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const Feature& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL Feature::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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 (ABSL_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 PROTOBUF_NONNULL 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: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(BuildInfo, _impl_._has_bits_); +}; + +BuildInfo::BuildInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, BuildInfo_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:flex.BuildInfo) +} +PROTOBUF_NDEBUG_INLINE BuildInfo::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::flex::BuildInfo& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + binary_name_(arena, from.binary_name_), + version_(arena, from.version_), + commit_(arena, from.commit_), + build_time_(arena, from.build_time_) {} + +BuildInfo::BuildInfo( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const BuildInfo& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, BuildInfo_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) +} +PROTOBUF_NDEBUG_INLINE BuildInfo::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + binary_name_(arena), + version_(arena), + commit_(arena), + build_time_(arena) {} + +inline void BuildInfo::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE 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* PROTOBUF_NONNULL BuildInfo::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) BuildInfo(arena); +} +constexpr auto BuildInfo::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(BuildInfo), + alignof(BuildInfo)); +} +constexpr auto BuildInfo::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull BuildInfo_class_data_ = + BuildInfo::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +BuildInfo::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&BuildInfo_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(BuildInfo_class_data_.tc_table); + return BuildInfo_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 4, 0, 57, 2> +BuildInfo::_table_ = { + { + PROTOBUF_FIELD_OFFSET(BuildInfo, _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 + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + BuildInfo_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, 3, 0, PROTOBUF_FIELD_OFFSET(BuildInfo, _impl_.build_time_)}}, + // string binary_name = 1; + {::_pbi::TcParser::FastUS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(BuildInfo, _impl_.binary_name_)}}, + // string version = 2; + {::_pbi::TcParser::FastUS1, + {18, 1, 0, PROTOBUF_FIELD_OFFSET(BuildInfo, _impl_.version_)}}, + // string commit = 3; + {::_pbi::TcParser::FastUS1, + {26, 2, 0, PROTOBUF_FIELD_OFFSET(BuildInfo, _impl_.commit_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string binary_name = 1; + {PROTOBUF_FIELD_OFFSET(BuildInfo, _impl_.binary_name_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string version = 2; + {PROTOBUF_FIELD_OFFSET(BuildInfo, _impl_.version_), _Internal::kHasBitsOffset + 1, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string commit = 3; + {PROTOBUF_FIELD_OFFSET(BuildInfo, _impl_.commit_), _Internal::kHasBitsOffset + 2, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string build_time = 4; + {PROTOBUF_FIELD_OFFSET(BuildInfo, _impl_.build_time_), _Internal::kHasBitsOffset + 3, 0, + (0 | ::_fl::kFcOptional | ::_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; + + cached_has_bits = _impl_._has_bits_[0]; + if ((cached_has_bits & 0x0000000fu) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + _impl_.binary_name_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000002u) != 0) { + _impl_.version_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000004u) != 0) { + _impl_.commit_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000008u) != 0) { + _impl_.build_time_.ClearNonDefaultToEmpty(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL BuildInfo::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const BuildInfo& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL BuildInfo::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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_._impl_._has_bits_[0] & 0x00000001u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000002u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000004u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000008u) != 0) { + 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 (ABSL_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_); + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x0000000fu) != 0) { + // string binary_name = 1; + if ((cached_has_bits & 0x00000001u) != 0) { + if (!this_._internal_binary_name().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_binary_name()); + } + } + // string version = 2; + if ((cached_has_bits & 0x00000002u) != 0) { + if (!this_._internal_version().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_version()); + } + } + // string commit = 3; + if ((cached_has_bits & 0x00000004u) != 0) { + if (!this_._internal_commit().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_commit()); + } + } + // string build_time = 4; + if ((cached_has_bits & 0x00000008u) != 0) { + 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; + + cached_has_bits = from._impl_._has_bits_[0]; + if ((cached_has_bits & 0x0000000fu) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + if (!from._internal_binary_name().empty()) { + _this->_internal_set_binary_name(from._internal_binary_name()); + } else { + if (_this->_impl_.binary_name_.IsDefault()) { + _this->_internal_set_binary_name(""); + } + } + } + if ((cached_has_bits & 0x00000002u) != 0) { + if (!from._internal_version().empty()) { + _this->_internal_set_version(from._internal_version()); + } else { + if (_this->_impl_.version_.IsDefault()) { + _this->_internal_set_version(""); + } + } + } + if ((cached_has_bits & 0x00000004u) != 0) { + if (!from._internal_commit().empty()) { + _this->_internal_set_commit(from._internal_commit()); + } else { + if (_this->_impl_.commit_.IsDefault()) { + _this->_internal_set_commit(""); + } + } + } + if ((cached_has_bits & 0x00000008u) != 0) { + if (!from._internal_build_time().empty()) { + _this->_internal_set_build_time(from._internal_build_time()); + } else { + if (_this->_impl_.build_time_.IsDefault()) { + _this->_internal_set_build_time(""); + } + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _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 PROTOBUF_NONNULL 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_.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_ [[maybe_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/include/proto/flex.pb.h similarity index 63% rename from cpp/flex.pb.h rename to cpp/include/proto/flex.pb.h index 4c8943b..91114c3 100644 --- a/cpp/flex.pb.h +++ b/cpp/include/proto/flex.pb.h @@ -1,7 +1,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // NO CHECKED-IN PROTOBUF GENCODE // source: flex.proto -// Protobuf C++ Version: 5.29.2 +// Protobuf C++ Version: 6.31.1 #ifndef flex_2eproto_2epb_2eh #define flex_2eproto_2epb_2eh @@ -12,7 +12,7 @@ #include #include "google/protobuf/runtime_version.h" -#if PROTOBUF_VERSION != 5029002 +#if PROTOBUF_VERSION != 6031001 #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" @@ -30,8 +30,9 @@ #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_type_handler.h" // IWYU pragma: export #include "google/protobuf/map_entry.h" -#include "google/protobuf/map_field_inl.h" +#include "google/protobuf/map_field.h" #include "google/protobuf/generated_enum_reflection.h" #include "google/protobuf/unknown_field_set.h" #include "google/protobuf/timestamp.pb.h" @@ -55,123 +56,186 @@ ::absl::string_view GetAnyMessageName(); struct TableStruct_flex_2eproto { static const ::uint32_t offsets[]; }; -extern const ::google::protobuf::internal::DescriptorTable - descriptor_table_flex_2eproto; +extern "C" { +extern const ::google::protobuf::internal::DescriptorTable descriptor_table_flex_2eproto; +} // extern "C" namespace flex { +enum BulkUpdateWorkRequest_NewState : int; +extern const uint32_t BulkUpdateWorkRequest_NewState_internal_data_[]; +enum SyncJob_Operation : int; +extern const uint32_t SyncJob_Operation_internal_data_[]; +enum UpdateConfigResponse_Result : int; +extern const uint32_t UpdateConfigResponse_Result_internal_data_[]; +enum UpdateWorkRequest_NewState : int; +extern const uint32_t UpdateWorkRequest_NewState_internal_data_[]; +enum Work_State : int; +extern const uint32_t Work_State_internal_data_[]; class BeeRemoteNode; struct BeeRemoteNodeDefaultTypeInternal; extern BeeRemoteNodeDefaultTypeInternal _BeeRemoteNode_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull BeeRemoteNode_class_data_; class BuildInfo; struct BuildInfoDefaultTypeInternal; extern BuildInfoDefaultTypeInternal _BuildInfo_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull BuildInfo_class_data_; class BuilderJob; struct BuilderJobDefaultTypeInternal; extern BuilderJobDefaultTypeInternal _BuilderJob_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull BuilderJob_class_data_; class BulkUpdateWorkRequest; struct BulkUpdateWorkRequestDefaultTypeInternal; extern BulkUpdateWorkRequestDefaultTypeInternal _BulkUpdateWorkRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull BulkUpdateWorkRequest_class_data_; class BulkUpdateWorkResponse; struct BulkUpdateWorkResponseDefaultTypeInternal; extern BulkUpdateWorkResponseDefaultTypeInternal _BulkUpdateWorkResponse_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull BulkUpdateWorkResponse_class_data_; class Feature; struct FeatureDefaultTypeInternal; extern FeatureDefaultTypeInternal _Feature_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull Feature_class_data_; class Feature_SubFeatureEntry_DoNotUse; struct Feature_SubFeatureEntry_DoNotUseDefaultTypeInternal; extern Feature_SubFeatureEntry_DoNotUseDefaultTypeInternal _Feature_SubFeatureEntry_DoNotUse_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull Feature_SubFeatureEntry_DoNotUse_class_data_; class GetCapabilitiesRequest; struct GetCapabilitiesRequestDefaultTypeInternal; extern GetCapabilitiesRequestDefaultTypeInternal _GetCapabilitiesRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull GetCapabilitiesRequest_class_data_; class GetCapabilitiesResponse; struct GetCapabilitiesResponseDefaultTypeInternal; extern GetCapabilitiesResponseDefaultTypeInternal _GetCapabilitiesResponse_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull GetCapabilitiesResponse_class_data_; class GetCapabilitiesResponse_FeaturesEntry_DoNotUse; struct GetCapabilitiesResponse_FeaturesEntry_DoNotUseDefaultTypeInternal; extern GetCapabilitiesResponse_FeaturesEntry_DoNotUseDefaultTypeInternal _GetCapabilitiesResponse_FeaturesEntry_DoNotUse_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull GetCapabilitiesResponse_FeaturesEntry_DoNotUse_class_data_; class HeartbeatRequest; struct HeartbeatRequestDefaultTypeInternal; extern HeartbeatRequestDefaultTypeInternal _HeartbeatRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull HeartbeatRequest_class_data_; class HeartbeatResponse; struct HeartbeatResponseDefaultTypeInternal; extern HeartbeatResponseDefaultTypeInternal _HeartbeatResponse_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull HeartbeatResponse_class_data_; class JobLockedInfo; struct JobLockedInfoDefaultTypeInternal; extern JobLockedInfoDefaultTypeInternal _JobLockedInfo_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull JobLockedInfo_class_data_; class JobRequestCfg; struct JobRequestCfgDefaultTypeInternal; extern JobRequestCfgDefaultTypeInternal _JobRequestCfg_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull JobRequestCfg_class_data_; class JobRequestCfg_MetadataEntry_DoNotUse; struct JobRequestCfg_MetadataEntry_DoNotUseDefaultTypeInternal; extern JobRequestCfg_MetadataEntry_DoNotUseDefaultTypeInternal _JobRequestCfg_MetadataEntry_DoNotUse_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull JobRequestCfg_MetadataEntry_DoNotUse_class_data_; class MockJob; struct MockJobDefaultTypeInternal; extern MockJobDefaultTypeInternal _MockJob_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull MockJob_class_data_; class NodeStats; struct NodeStatsDefaultTypeInternal; extern NodeStatsDefaultTypeInternal _NodeStats_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull NodeStats_class_data_; class RemoteStorageTarget; struct RemoteStorageTargetDefaultTypeInternal; extern RemoteStorageTargetDefaultTypeInternal _RemoteStorageTarget_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull RemoteStorageTarget_class_data_; class RemoteStorageTarget_Azure; struct RemoteStorageTarget_AzureDefaultTypeInternal; extern RemoteStorageTarget_AzureDefaultTypeInternal _RemoteStorageTarget_Azure_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull RemoteStorageTarget_Azure_class_data_; class RemoteStorageTarget_POSIX; struct RemoteStorageTarget_POSIXDefaultTypeInternal; extern RemoteStorageTarget_POSIXDefaultTypeInternal _RemoteStorageTarget_POSIX_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull RemoteStorageTarget_POSIX_class_data_; class RemoteStorageTarget_Policies; struct RemoteStorageTarget_PoliciesDefaultTypeInternal; extern RemoteStorageTarget_PoliciesDefaultTypeInternal _RemoteStorageTarget_Policies_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull RemoteStorageTarget_Policies_class_data_; class RemoteStorageTarget_S3; struct RemoteStorageTarget_S3DefaultTypeInternal; extern RemoteStorageTarget_S3DefaultTypeInternal _RemoteStorageTarget_S3_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull RemoteStorageTarget_S3_class_data_; class RemoteStorageTarget_S3_StorageClass; struct RemoteStorageTarget_S3_StorageClassDefaultTypeInternal; extern RemoteStorageTarget_S3_StorageClassDefaultTypeInternal _RemoteStorageTarget_S3_StorageClass_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull RemoteStorageTarget_S3_StorageClass_class_data_; class RemoteStorageTarget_S3_StorageClass_Archival; struct RemoteStorageTarget_S3_StorageClass_ArchivalDefaultTypeInternal; extern RemoteStorageTarget_S3_StorageClass_ArchivalDefaultTypeInternal _RemoteStorageTarget_S3_StorageClass_Archival_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull RemoteStorageTarget_S3_StorageClass_Archival_class_data_; class SubmitWorkRequest; struct SubmitWorkRequestDefaultTypeInternal; extern SubmitWorkRequestDefaultTypeInternal _SubmitWorkRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull SubmitWorkRequest_class_data_; class SubmitWorkResponse; struct SubmitWorkResponseDefaultTypeInternal; extern SubmitWorkResponseDefaultTypeInternal _SubmitWorkResponse_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull SubmitWorkResponse_class_data_; class SyncJob; struct SyncJobDefaultTypeInternal; extern SyncJobDefaultTypeInternal _SyncJob_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull SyncJob_class_data_; class SyncJob_MetadataEntry_DoNotUse; struct SyncJob_MetadataEntry_DoNotUseDefaultTypeInternal; extern SyncJob_MetadataEntry_DoNotUseDefaultTypeInternal _SyncJob_MetadataEntry_DoNotUse_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull SyncJob_MetadataEntry_DoNotUse_class_data_; class UpdateConfigRequest; struct UpdateConfigRequestDefaultTypeInternal; extern UpdateConfigRequestDefaultTypeInternal _UpdateConfigRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull UpdateConfigRequest_class_data_; class UpdateConfigResponse; struct UpdateConfigResponseDefaultTypeInternal; extern UpdateConfigResponseDefaultTypeInternal _UpdateConfigResponse_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull UpdateConfigResponse_class_data_; class UpdateWorkRequest; struct UpdateWorkRequestDefaultTypeInternal; extern UpdateWorkRequestDefaultTypeInternal _UpdateWorkRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull UpdateWorkRequest_class_data_; class UpdateWorkResponse; struct UpdateWorkResponseDefaultTypeInternal; extern UpdateWorkResponseDefaultTypeInternal _UpdateWorkResponse_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull UpdateWorkResponse_class_data_; class Work; struct WorkDefaultTypeInternal; extern WorkDefaultTypeInternal _Work_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull Work_class_data_; class WorkRequest; struct WorkRequestDefaultTypeInternal; extern WorkRequestDefaultTypeInternal _WorkRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull WorkRequest_class_data_; class WorkRequest_Segment; struct WorkRequest_SegmentDefaultTypeInternal; extern WorkRequest_SegmentDefaultTypeInternal _WorkRequest_Segment_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull WorkRequest_Segment_class_data_; class Work_Part; struct Work_PartDefaultTypeInternal; extern Work_PartDefaultTypeInternal _Work_Part_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull Work_Part_class_data_; class Work_Status; struct Work_StatusDefaultTypeInternal; extern Work_StatusDefaultTypeInternal _Work_Status_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull Work_Status_class_data_; } // namespace flex namespace google { namespace protobuf { +template <> +internal::EnumTraitsT<::flex::BulkUpdateWorkRequest_NewState_internal_data_> + internal::EnumTraitsImpl::value<::flex::BulkUpdateWorkRequest_NewState>; +template <> +internal::EnumTraitsT<::flex::SyncJob_Operation_internal_data_> + internal::EnumTraitsImpl::value<::flex::SyncJob_Operation>; +template <> +internal::EnumTraitsT<::flex::UpdateConfigResponse_Result_internal_data_> + internal::EnumTraitsImpl::value<::flex::UpdateConfigResponse_Result>; +template <> +internal::EnumTraitsT<::flex::UpdateWorkRequest_NewState_internal_data_> + internal::EnumTraitsImpl::value<::flex::UpdateWorkRequest_NewState>; +template <> +internal::EnumTraitsT<::flex::Work_State_internal_data_> + internal::EnumTraitsImpl::value<::flex::Work_State>; } // namespace protobuf } // namespace google @@ -180,101 +244,110 @@ 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(), + ::std::numeric_limits<::int32_t>::min(), UpdateWorkRequest_NewState_UpdateWorkRequest_NewState_INT_MAX_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::max(), + ::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(); +inline constexpr UpdateWorkRequest_NewState UpdateWorkRequest_NewState_NewState_MIN = + static_cast(0); +inline constexpr UpdateWorkRequest_NewState UpdateWorkRequest_NewState_NewState_MAX = + static_cast(1); +inline bool UpdateWorkRequest_NewState_IsValid(int value) { + return 0 <= value && value <= 1; +} +inline constexpr int UpdateWorkRequest_NewState_NewState_ARRAYSIZE = 1 + 1; +const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL UpdateWorkRequest_NewState_descriptor(); template -const std::string& UpdateWorkRequest_NewState_Name(T value) { - static_assert(std::is_same::value || - std::is_integral::value, +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( +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); +inline bool UpdateWorkRequest_NewState_Parse( + ::absl::string_view name, UpdateWorkRequest_NewState* PROTOBUF_NONNULL 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(), + ::std::numeric_limits<::int32_t>::min(), BulkUpdateWorkRequest_NewState_BulkUpdateWorkRequest_NewState_INT_MAX_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::max(), + ::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(); +inline constexpr BulkUpdateWorkRequest_NewState BulkUpdateWorkRequest_NewState_NewState_MIN = + static_cast(0); +inline constexpr BulkUpdateWorkRequest_NewState BulkUpdateWorkRequest_NewState_NewState_MAX = + static_cast(1); +inline bool BulkUpdateWorkRequest_NewState_IsValid(int value) { + return 0 <= value && value <= 1; +} +inline constexpr int BulkUpdateWorkRequest_NewState_NewState_ARRAYSIZE = 1 + 1; +const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL BulkUpdateWorkRequest_NewState_descriptor(); template -const std::string& BulkUpdateWorkRequest_NewState_Name(T value) { - static_assert(std::is_same::value || - std::is_integral::value, +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( +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); +inline bool BulkUpdateWorkRequest_NewState_Parse( + ::absl::string_view name, BulkUpdateWorkRequest_NewState* PROTOBUF_NONNULL 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(), + ::std::numeric_limits<::int32_t>::min(), SyncJob_Operation_SyncJob_Operation_INT_MAX_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::max(), + ::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(); +inline constexpr SyncJob_Operation SyncJob_Operation_Operation_MIN = + static_cast(0); +inline constexpr SyncJob_Operation SyncJob_Operation_Operation_MAX = + static_cast(2); +inline bool SyncJob_Operation_IsValid(int value) { + return 0 <= value && value <= 2; +} +inline constexpr int SyncJob_Operation_Operation_ARRAYSIZE = 2 + 1; +const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL SyncJob_Operation_descriptor(); template -const std::string& SyncJob_Operation_Name(T value) { - static_assert(std::is_same::value || - std::is_integral::value, +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( +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); +inline bool SyncJob_Operation_Parse( + ::absl::string_view name, SyncJob_Operation* PROTOBUF_NONNULL value) { + return ::google::protobuf::internal::ParseNamedEnum(SyncJob_Operation_descriptor(), name, + value); } enum Work_State : int { Work_State_UNSPECIFIED = 0, @@ -288,34 +361,37 @@ enum Work_State : int { Work_State_CANCELLED = 8, Work_State_COMPLETED = 9, Work_State_Work_State_INT_MIN_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::min(), + ::std::numeric_limits<::int32_t>::min(), Work_State_Work_State_INT_MAX_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::max(), + ::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(); +inline constexpr Work_State Work_State_State_MIN = + static_cast(0); +inline constexpr Work_State Work_State_State_MAX = + static_cast(9); +inline bool Work_State_IsValid(int value) { + return 0 <= value && value <= 9; +} +inline constexpr int Work_State_State_ARRAYSIZE = 9 + 1; +const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL Work_State_descriptor(); template -const std::string& Work_State_Name(T value) { - static_assert(std::is_same::value || - std::is_integral::value, +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( +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); +inline bool Work_State_Parse( + ::absl::string_view name, Work_State* PROTOBUF_NONNULL value) { + return ::google::protobuf::internal::ParseNamedEnum(Work_State_descriptor(), name, + value); } enum UpdateConfigResponse_Result : int { UpdateConfigResponse_Result_UNSPECIFIED = 0, @@ -323,34 +399,37 @@ enum UpdateConfigResponse_Result : int { UpdateConfigResponse_Result_PARTIAL = 2, UpdateConfigResponse_Result_FAILURE = 3, UpdateConfigResponse_Result_UpdateConfigResponse_Result_INT_MIN_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::min(), + ::std::numeric_limits<::int32_t>::min(), UpdateConfigResponse_Result_UpdateConfigResponse_Result_INT_MAX_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::max(), + ::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(); +inline constexpr UpdateConfigResponse_Result UpdateConfigResponse_Result_Result_MIN = + static_cast(0); +inline constexpr UpdateConfigResponse_Result UpdateConfigResponse_Result_Result_MAX = + static_cast(3); +inline bool UpdateConfigResponse_Result_IsValid(int value) { + return 0 <= value && value <= 3; +} +inline constexpr int UpdateConfigResponse_Result_Result_ARRAYSIZE = 3 + 1; +const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL UpdateConfigResponse_Result_descriptor(); template -const std::string& UpdateConfigResponse_Result_Name(T value) { - static_assert(std::is_same::value || - std::is_integral::value, +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( +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); +inline bool UpdateConfigResponse_Result_Parse( + ::absl::string_view name, UpdateConfigResponse_Result* PROTOBUF_NONNULL value) { + return ::google::protobuf::internal::ParseNamedEnum(UpdateConfigResponse_Result_descriptor(), name, + value); } // =================================================================== @@ -365,19 +444,18 @@ class WorkRequest_Segment final : public ::google::protobuf::Message ~WorkRequest_Segment() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(WorkRequest_Segment* msg, std::destroying_delete_t) { + void operator delete(WorkRequest_Segment* PROTOBUF_NONNULL 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); + 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)) {} + : WorkRequest_Segment(nullptr, ::std::move(from)) {} inline WorkRequest_Segment& operator=(const WorkRequest_Segment& from) { CopyFrom(from); return *this; @@ -396,30 +474,27 @@ class WorkRequest_Segment final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(WorkRequest_Segment* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -427,7 +502,7 @@ class WorkRequest_Segment final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(WorkRequest_Segment* other) { + void UnsafeArenaSwap(WorkRequest_Segment* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -435,7 +510,7 @@ class WorkRequest_Segment final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - WorkRequest_Segment* New(::google::protobuf::Arena* arena = nullptr) const { + WorkRequest_Segment* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -444,9 +519,8 @@ class WorkRequest_Segment final : public ::google::protobuf::Message 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); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -456,49 +530,51 @@ class WorkRequest_Segment final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(WorkRequest_Segment* other); + void InternalSwap(WorkRequest_Segment* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit WorkRequest_Segment(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + WorkRequest_Segment(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const WorkRequest_Segment& from); + WorkRequest_Segment( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -553,9 +629,9 @@ class WorkRequest_Segment final : public ::google::protobuf::Message private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 2, 4, 0, - 0, 2> + static const ::google::protobuf::internal::TcParseTable<2, 4, + 0, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -565,23 +641,27 @@ class WorkRequest_Segment final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const WorkRequest_Segment& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; ::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; }; + +extern const ::google::protobuf::internal::ClassDataFull WorkRequest_Segment_class_data_; // ------------------------------------------------------------------- class Work_Status final : public ::google::protobuf::Message @@ -591,19 +671,18 @@ class Work_Status final : public ::google::protobuf::Message ~Work_Status() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(Work_Status* msg, std::destroying_delete_t) { + void operator delete(Work_Status* PROTOBUF_NONNULL 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); + 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)) {} + : Work_Status(nullptr, ::std::move(from)) {} inline Work_Status& operator=(const Work_Status& from) { CopyFrom(from); return *this; @@ -622,30 +701,27 @@ class Work_Status final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(Work_Status* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -653,7 +729,7 @@ class Work_Status final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(Work_Status* other) { + void UnsafeArenaSwap(Work_Status* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -661,7 +737,7 @@ class Work_Status final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - Work_Status* New(::google::protobuf::Arena* arena = nullptr) const { + Work_Status* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -670,9 +746,8 @@ class Work_Status final : public ::google::protobuf::Message 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); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -682,49 +757,51 @@ class Work_Status final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(Work_Status* other); + void InternalSwap(Work_Status* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit Work_Status(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + Work_Status(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Work_Status& from); + Work_Status( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -735,18 +812,17 @@ class Work_Status final : public ::google::protobuf::Message }; // string message = 2; void clear_message() ; - const std::string& message() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_message(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_message(); + void set_allocated_message(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_message() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_message(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_message(); public: // .flex.Work.State state = 1; @@ -763,9 +839,9 @@ class Work_Status final : public ::google::protobuf::Message private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 1, 2, 0, - 32, 2> + static const ::google::protobuf::internal::TcParseTable<1, 2, + 0, 32, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -775,21 +851,25 @@ class Work_Status final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const Work_Status& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; ::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; }; + +extern const ::google::protobuf::internal::ClassDataFull Work_Status_class_data_; // ------------------------------------------------------------------- class Work_Part final : public ::google::protobuf::Message @@ -799,19 +879,18 @@ class Work_Part final : public ::google::protobuf::Message ~Work_Part() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(Work_Part* msg, std::destroying_delete_t) { + void operator delete(Work_Part* PROTOBUF_NONNULL 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); + 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)) {} + : Work_Part(nullptr, ::std::move(from)) {} inline Work_Part& operator=(const Work_Part& from) { CopyFrom(from); return *this; @@ -830,30 +909,27 @@ class Work_Part final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(Work_Part* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -861,7 +937,7 @@ class Work_Part final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(Work_Part* other) { + void UnsafeArenaSwap(Work_Part* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -869,7 +945,7 @@ class Work_Part final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - Work_Part* New(::google::protobuf::Arena* arena = nullptr) const { + Work_Part* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -878,9 +954,8 @@ class Work_Part final : public ::google::protobuf::Message 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); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -890,49 +965,51 @@ class Work_Part final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(Work_Part* other); + void InternalSwap(Work_Part* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit Work_Part(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + Work_Part(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Work_Part& from); + Work_Part( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -947,34 +1024,32 @@ class Work_Part final : public ::google::protobuf::Message }; // string entity_tag = 4; void clear_entity_tag() ; - const std::string& entity_tag() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_entity_tag(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_entity_tag(); + void set_allocated_entity_tag(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_entity_tag() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_entity_tag(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_entity_tag(); public: // string checksum_sha256 = 5; void clear_checksum_sha256() ; - const std::string& checksum_sha256() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_checksum_sha256(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_checksum_sha256(); + void set_allocated_checksum_sha256(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_checksum_sha256() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_checksum_sha256(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_checksum_sha256(); public: // int64 offset_start = 2; @@ -1021,9 +1096,9 @@ class Work_Part final : public ::google::protobuf::Message private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 3, 6, 0, - 48, 2> + static const ::google::protobuf::internal::TcParseTable<3, 6, + 0, 48, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -1033,25 +1108,29 @@ class Work_Part final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const Work_Part& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; ::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; }; + +extern const ::google::protobuf::internal::ClassDataFull Work_Part_class_data_; // ------------------------------------------------------------------- class UpdateWorkRequest final : public ::google::protobuf::Message @@ -1061,19 +1140,18 @@ class UpdateWorkRequest final : public ::google::protobuf::Message ~UpdateWorkRequest() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(UpdateWorkRequest* msg, std::destroying_delete_t) { + void operator delete(UpdateWorkRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(UpdateWorkRequest)); } #endif template - explicit PROTOBUF_CONSTEXPR UpdateWorkRequest( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : UpdateWorkRequest(nullptr, ::std::move(from)) {} inline UpdateWorkRequest& operator=(const UpdateWorkRequest& from) { CopyFrom(from); return *this; @@ -1092,30 +1170,27 @@ class UpdateWorkRequest final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(UpdateWorkRequest* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -1123,7 +1198,7 @@ class UpdateWorkRequest final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(UpdateWorkRequest* other) { + void UnsafeArenaSwap(UpdateWorkRequest* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -1131,7 +1206,7 @@ class UpdateWorkRequest final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - UpdateWorkRequest* New(::google::protobuf::Arena* arena = nullptr) const { + UpdateWorkRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -1140,9 +1215,8 @@ class UpdateWorkRequest final : public ::google::protobuf::Message void MergeFrom(const UpdateWorkRequest& from) { UpdateWorkRequest::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -1152,49 +1226,51 @@ class UpdateWorkRequest final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(UpdateWorkRequest* other); + void InternalSwap(UpdateWorkRequest* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit UpdateWorkRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + UpdateWorkRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const UpdateWorkRequest& from); + UpdateWorkRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- using NewState = UpdateWorkRequest_NewState; @@ -1206,14 +1282,15 @@ class UpdateWorkRequest final : public ::google::protobuf::Message 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() { + static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL NewState_descriptor() { return UpdateWorkRequest_NewState_descriptor(); } template - static inline const std::string& NewState_Name(T value) { + 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) { + static inline bool NewState_Parse( + ::absl::string_view name, NewState* PROTOBUF_NONNULL value) { return UpdateWorkRequest_NewState_Parse(name, value); } @@ -1225,34 +1302,32 @@ class UpdateWorkRequest final : public ::google::protobuf::Message }; // string job_id = 1; void clear_job_id() ; - const std::string& job_id() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_job_id(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_job_id(); + void set_allocated_job_id(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_job_id() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_job_id(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_job_id(); public: // string request_id = 2; void clear_request_id() ; - const std::string& request_id() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_request_id(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_request_id(); + void set_allocated_request_id(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_request_id() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_request_id(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_request_id(); public: // .flex.UpdateWorkRequest.NewState new_state = 3; @@ -1269,9 +1344,9 @@ class UpdateWorkRequest final : public ::google::protobuf::Message private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 2, 3, 0, - 47, 2> + static const ::google::protobuf::internal::TcParseTable<2, 3, + 0, 47, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -1281,22 +1356,26 @@ class UpdateWorkRequest final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const UpdateWorkRequest& 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_; int new_state_; - ::google::protobuf::internal::CachedSize _cached_size_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_flex_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull UpdateWorkRequest_class_data_; // ------------------------------------------------------------------- class UpdateConfigResponse final : public ::google::protobuf::Message @@ -1306,19 +1385,18 @@ class UpdateConfigResponse final : public ::google::protobuf::Message ~UpdateConfigResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(UpdateConfigResponse* msg, std::destroying_delete_t) { + void operator delete(UpdateConfigResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(UpdateConfigResponse)); } #endif template - explicit PROTOBUF_CONSTEXPR UpdateConfigResponse( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : UpdateConfigResponse(nullptr, ::std::move(from)) {} inline UpdateConfigResponse& operator=(const UpdateConfigResponse& from) { CopyFrom(from); return *this; @@ -1337,30 +1415,27 @@ class UpdateConfigResponse final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(UpdateConfigResponse* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -1368,7 +1443,7 @@ class UpdateConfigResponse final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(UpdateConfigResponse* other) { + void UnsafeArenaSwap(UpdateConfigResponse* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -1376,7 +1451,7 @@ class UpdateConfigResponse final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - UpdateConfigResponse* New(::google::protobuf::Arena* arena = nullptr) const { + UpdateConfigResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -1385,9 +1460,8 @@ class UpdateConfigResponse final : public ::google::protobuf::Message void MergeFrom(const UpdateConfigResponse& from) { UpdateConfigResponse::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -1397,49 +1471,51 @@ class UpdateConfigResponse final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(UpdateConfigResponse* other); + void InternalSwap(UpdateConfigResponse* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit UpdateConfigResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + UpdateConfigResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const UpdateConfigResponse& from); + UpdateConfigResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- using Result = UpdateConfigResponse_Result; @@ -1453,14 +1529,15 @@ class UpdateConfigResponse final : public ::google::protobuf::Message 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() { + static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL Result_descriptor() { return UpdateConfigResponse_Result_descriptor(); } template - static inline const std::string& Result_Name(T value) { + 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) { + static inline bool Result_Parse( + ::absl::string_view name, Result* PROTOBUF_NONNULL value) { return UpdateConfigResponse_Result_Parse(name, value); } @@ -1471,18 +1548,17 @@ class UpdateConfigResponse final : public ::google::protobuf::Message }; // string message = 2; void clear_message() ; - const std::string& message() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_message(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_message(); + void set_allocated_message(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_message() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_message(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_message(); public: // .flex.UpdateConfigResponse.Result result = 1; @@ -1499,9 +1575,9 @@ class UpdateConfigResponse final : public ::google::protobuf::Message private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 1, 2, 0, - 41, 2> + static const ::google::protobuf::internal::TcParseTable<1, 2, + 0, 41, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -1511,60 +1587,64 @@ class UpdateConfigResponse final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const UpdateConfigResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; ::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; }; + +extern const ::google::protobuf::internal::ClassDataFull UpdateConfigResponse_class_data_; // ------------------------------------------------------------------- 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 ::google::protobuf::internal::MapEntry { public: - using SuperType = ::google::protobuf::internal::MapEntry< - std::string, std::string, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING>; + using SuperType = + ::google::protobuf::internal::MapEntry; 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_); + explicit PROTOBUF_CONSTEXPR SyncJob_MetadataEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized); + explicit SyncJob_MetadataEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr const void* PROTOBUF_NONNULL internal_default_instance() { + return &_SyncJob_MetadataEntry_DoNotUse_default_instance_; } + static constexpr auto InternalGenerateClassData_(); + 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> + 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; }; +extern const ::google::protobuf::internal::ClassDataFull SyncJob_MetadataEntry_DoNotUse_class_data_; // ------------------------------------------------------------------- class RemoteStorageTarget_S3_StorageClass_Archival final : public ::google::protobuf::Message @@ -1574,19 +1654,18 @@ class RemoteStorageTarget_S3_StorageClass_Archival final : public ::google::prot ~RemoteStorageTarget_S3_StorageClass_Archival() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(RemoteStorageTarget_S3_StorageClass_Archival* msg, std::destroying_delete_t) { + void operator delete(RemoteStorageTarget_S3_StorageClass_Archival* PROTOBUF_NONNULL 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); + 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)) {} + : RemoteStorageTarget_S3_StorageClass_Archival(nullptr, ::std::move(from)) {} inline RemoteStorageTarget_S3_StorageClass_Archival& operator=(const RemoteStorageTarget_S3_StorageClass_Archival& from) { CopyFrom(from); return *this; @@ -1605,30 +1684,27 @@ class RemoteStorageTarget_S3_StorageClass_Archival final : public ::google::prot ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(RemoteStorageTarget_S3_StorageClass_Archival* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -1636,7 +1712,7 @@ class RemoteStorageTarget_S3_StorageClass_Archival final : public ::google::prot ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(RemoteStorageTarget_S3_StorageClass_Archival* other) { + void UnsafeArenaSwap(RemoteStorageTarget_S3_StorageClass_Archival* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -1644,7 +1720,7 @@ class RemoteStorageTarget_S3_StorageClass_Archival final : public ::google::prot // implements Message ---------------------------------------------- - RemoteStorageTarget_S3_StorageClass_Archival* New(::google::protobuf::Arena* arena = nullptr) const { + RemoteStorageTarget_S3_StorageClass_Archival* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -1653,9 +1729,8 @@ class RemoteStorageTarget_S3_StorageClass_Archival final : public ::google::prot 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); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -1665,49 +1740,51 @@ class RemoteStorageTarget_S3_StorageClass_Archival final : public ::google::prot #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(RemoteStorageTarget_S3_StorageClass_Archival* other); + void InternalSwap(RemoteStorageTarget_S3_StorageClass_Archival* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit RemoteStorageTarget_S3_StorageClass_Archival(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + RemoteStorageTarget_S3_StorageClass_Archival(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const RemoteStorageTarget_S3_StorageClass_Archival& from); + RemoteStorageTarget_S3_StorageClass_Archival( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -1721,50 +1798,47 @@ class RemoteStorageTarget_S3_StorageClass_Archival final : public ::google::prot }; // string retrieval_tier = 1; void clear_retrieval_tier() ; - const std::string& retrieval_tier() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_retrieval_tier(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_retrieval_tier(); + void set_allocated_retrieval_tier(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_retrieval_tier() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_retrieval_tier(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_retrieval_tier(); public: // string check_time = 3; void clear_check_time() ; - const std::string& check_time() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_check_time(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_check_time(); + void set_allocated_check_time(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_check_time() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_check_time(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_check_time(); public: // string recheck_time = 4; void clear_recheck_time() ; - const std::string& recheck_time() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_recheck_time(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_recheck_time(); + void set_allocated_recheck_time(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_recheck_time() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_recheck_time(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_recheck_time(); public: // int32 retention_days = 2; @@ -1791,9 +1865,9 @@ class RemoteStorageTarget_S3_StorageClass_Archival final : public ::google::prot private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 3, 5, 0, - 94, 2> + static const ::google::protobuf::internal::TcParseTable<3, 5, + 0, 94, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -1803,24 +1877,28 @@ class RemoteStorageTarget_S3_StorageClass_Archival final : public ::google::prot 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const RemoteStorageTarget_S3_StorageClass_Archival& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; ::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; }; + +extern const ::google::protobuf::internal::ClassDataFull RemoteStorageTarget_S3_StorageClass_Archival_class_data_; // ------------------------------------------------------------------- class RemoteStorageTarget_Policies final : public ::google::protobuf::Message @@ -1830,19 +1908,18 @@ class RemoteStorageTarget_Policies final : public ::google::protobuf::Message ~RemoteStorageTarget_Policies() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(RemoteStorageTarget_Policies* msg, std::destroying_delete_t) { + void operator delete(RemoteStorageTarget_Policies* PROTOBUF_NONNULL 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); + 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)) {} + : RemoteStorageTarget_Policies(nullptr, ::std::move(from)) {} inline RemoteStorageTarget_Policies& operator=(const RemoteStorageTarget_Policies& from) { CopyFrom(from); return *this; @@ -1861,30 +1938,27 @@ class RemoteStorageTarget_Policies final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(RemoteStorageTarget_Policies* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -1892,7 +1966,7 @@ class RemoteStorageTarget_Policies final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(RemoteStorageTarget_Policies* other) { + void UnsafeArenaSwap(RemoteStorageTarget_Policies* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -1900,7 +1974,7 @@ class RemoteStorageTarget_Policies final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - RemoteStorageTarget_Policies* New(::google::protobuf::Arena* arena = nullptr) const { + RemoteStorageTarget_Policies* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -1909,9 +1983,8 @@ class RemoteStorageTarget_Policies final : public ::google::protobuf::Message 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); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -1921,49 +1994,51 @@ class RemoteStorageTarget_Policies final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(RemoteStorageTarget_Policies* other); + void InternalSwap(RemoteStorageTarget_Policies* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit RemoteStorageTarget_Policies(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + RemoteStorageTarget_Policies(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const RemoteStorageTarget_Policies& from); + RemoteStorageTarget_Policies( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -1985,9 +2060,9 @@ class RemoteStorageTarget_Policies final : public ::google::protobuf::Message private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 0, 1, 0, - 0, 2> + static const ::google::protobuf::internal::TcParseTable<0, 1, + 0, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -1997,20 +2072,24 @@ class RemoteStorageTarget_Policies final : public ::google::protobuf::Message 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_; + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const RemoteStorageTarget_Policies& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; + ::int64_t fast_start_max_size_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_flex_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull RemoteStorageTarget_Policies_class_data_; // ------------------------------------------------------------------- class RemoteStorageTarget_POSIX final : public ::google::protobuf::Message @@ -2020,19 +2099,18 @@ class RemoteStorageTarget_POSIX final : public ::google::protobuf::Message ~RemoteStorageTarget_POSIX() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(RemoteStorageTarget_POSIX* msg, std::destroying_delete_t) { + void operator delete(RemoteStorageTarget_POSIX* PROTOBUF_NONNULL 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); + 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)) {} + : RemoteStorageTarget_POSIX(nullptr, ::std::move(from)) {} inline RemoteStorageTarget_POSIX& operator=(const RemoteStorageTarget_POSIX& from) { CopyFrom(from); return *this; @@ -2051,30 +2129,27 @@ class RemoteStorageTarget_POSIX final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(RemoteStorageTarget_POSIX* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -2082,7 +2157,7 @@ class RemoteStorageTarget_POSIX final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(RemoteStorageTarget_POSIX* other) { + void UnsafeArenaSwap(RemoteStorageTarget_POSIX* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -2090,7 +2165,7 @@ class RemoteStorageTarget_POSIX final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - RemoteStorageTarget_POSIX* New(::google::protobuf::Arena* arena = nullptr) const { + RemoteStorageTarget_POSIX* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -2099,9 +2174,8 @@ class RemoteStorageTarget_POSIX final : public ::google::protobuf::Message 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); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -2111,49 +2185,51 @@ class RemoteStorageTarget_POSIX final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(RemoteStorageTarget_POSIX* other); + void InternalSwap(RemoteStorageTarget_POSIX* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit RemoteStorageTarget_POSIX(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + RemoteStorageTarget_POSIX(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const RemoteStorageTarget_POSIX& from); + RemoteStorageTarget_POSIX( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -2163,27 +2239,26 @@ class RemoteStorageTarget_POSIX final : public ::google::protobuf::Message }; // string path = 1; void clear_path() ; - const std::string& path() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_path(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_path(); + void set_allocated_path(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_path() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_path(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _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> + static const ::google::protobuf::internal::TcParseTable<0, 1, + 0, 43, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -2193,59 +2268,63 @@ class RemoteStorageTarget_POSIX final : public ::google::protobuf::Message 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_; + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const RemoteStorageTarget_POSIX& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr path_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_flex_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull RemoteStorageTarget_POSIX_class_data_; // ------------------------------------------------------------------- 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 ::google::protobuf::internal::MapEntry { public: - using SuperType = ::google::protobuf::internal::MapEntry< - std::string, std::string, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING>; + using SuperType = + ::google::protobuf::internal::MapEntry; 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_); + explicit PROTOBUF_CONSTEXPR JobRequestCfg_MetadataEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized); + explicit JobRequestCfg_MetadataEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr const void* PROTOBUF_NONNULL internal_default_instance() { + return &_JobRequestCfg_MetadataEntry_DoNotUse_default_instance_; } + static constexpr auto InternalGenerateClassData_(); + 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> + 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; }; +extern const ::google::protobuf::internal::ClassDataFull JobRequestCfg_MetadataEntry_DoNotUse_class_data_; // ------------------------------------------------------------------- class HeartbeatRequest final : public ::google::protobuf::Message @@ -2255,19 +2334,18 @@ class HeartbeatRequest final : public ::google::protobuf::Message ~HeartbeatRequest() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(HeartbeatRequest* msg, std::destroying_delete_t) { + void operator delete(HeartbeatRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(HeartbeatRequest)); } #endif template - explicit PROTOBUF_CONSTEXPR HeartbeatRequest( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : HeartbeatRequest(nullptr, ::std::move(from)) {} inline HeartbeatRequest& operator=(const HeartbeatRequest& from) { CopyFrom(from); return *this; @@ -2286,30 +2364,27 @@ class HeartbeatRequest final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(HeartbeatRequest* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -2317,7 +2392,7 @@ class HeartbeatRequest final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(HeartbeatRequest* other) { + void UnsafeArenaSwap(HeartbeatRequest* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -2325,7 +2400,7 @@ class HeartbeatRequest final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - HeartbeatRequest* New(::google::protobuf::Arena* arena = nullptr) const { + HeartbeatRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -2334,9 +2409,8 @@ class HeartbeatRequest final : public ::google::protobuf::Message void MergeFrom(const HeartbeatRequest& from) { HeartbeatRequest::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -2346,49 +2420,51 @@ class HeartbeatRequest final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(HeartbeatRequest* other); + void InternalSwap(HeartbeatRequest* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit HeartbeatRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + HeartbeatRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const HeartbeatRequest& from); + HeartbeatRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -2410,9 +2486,9 @@ class HeartbeatRequest final : public ::google::protobuf::Message private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 0, 1, 0, - 0, 2> + static const ::google::protobuf::internal::TcParseTable<0, 1, + 0, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -2422,20 +2498,24 @@ class HeartbeatRequest final : public ::google::protobuf::Message 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_; + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const HeartbeatRequest& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; + bool include_stats_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_flex_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull HeartbeatRequest_class_data_; // ------------------------------------------------------------------- class GetCapabilitiesRequest final : public ::google::protobuf::internal::ZeroFieldsBase @@ -2444,19 +2524,18 @@ class GetCapabilitiesRequest final : public ::google::protobuf::internal::ZeroFi inline GetCapabilitiesRequest() : GetCapabilitiesRequest(nullptr) {} #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetCapabilitiesRequest* msg, std::destroying_delete_t) { + void operator delete(GetCapabilitiesRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(GetCapabilitiesRequest)); } #endif template - explicit PROTOBUF_CONSTEXPR GetCapabilitiesRequest( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : GetCapabilitiesRequest(nullptr, ::std::move(from)) {} inline GetCapabilitiesRequest& operator=(const GetCapabilitiesRequest& from) { CopyFrom(from); return *this; @@ -2475,30 +2554,27 @@ class GetCapabilitiesRequest final : public ::google::protobuf::internal::ZeroFi ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(GetCapabilitiesRequest* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -2506,7 +2582,7 @@ class GetCapabilitiesRequest final : public ::google::protobuf::internal::ZeroFi ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(GetCapabilitiesRequest* other) { + void UnsafeArenaSwap(GetCapabilitiesRequest* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -2514,7 +2590,7 @@ class GetCapabilitiesRequest final : public ::google::protobuf::internal::ZeroFi // implements Message ---------------------------------------------- - GetCapabilitiesRequest* New(::google::protobuf::Arena* arena = nullptr) const { + GetCapabilitiesRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); } using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; @@ -2532,24 +2608,26 @@ class GetCapabilitiesRequest final : public ::google::protobuf::internal::ZeroFi } private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit GetCapabilitiesRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + GetCapabilitiesRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetCapabilitiesRequest& from); + GetCapabilitiesRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -2558,9 +2636,9 @@ class GetCapabilitiesRequest final : public ::google::protobuf::internal::ZeroFi private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 0, 0, 0, - 0, 2> + static const ::google::protobuf::internal::TcParseTable<0, 0, + 0, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -2570,17 +2648,20 @@ class GetCapabilitiesRequest final : public ::google::protobuf::internal::ZeroFi 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const GetCapabilitiesRequest& from_msg); PROTOBUF_TSAN_DECLARE_MEMBER }; friend struct ::TableStruct_flex_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull GetCapabilitiesRequest_class_data_; // ------------------------------------------------------------------- class Feature final : public ::google::protobuf::Message @@ -2590,19 +2671,18 @@ class Feature final : public ::google::protobuf::Message ~Feature() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(Feature* msg, std::destroying_delete_t) { + void operator delete(Feature* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(Feature)); } #endif template - explicit PROTOBUF_CONSTEXPR Feature( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : Feature(nullptr, ::std::move(from)) {} inline Feature& operator=(const Feature& from) { CopyFrom(from); return *this; @@ -2621,30 +2701,27 @@ class Feature final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(Feature* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -2652,7 +2729,7 @@ class Feature final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(Feature* other) { + void UnsafeArenaSwap(Feature* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -2660,7 +2737,7 @@ class Feature final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - Feature* New(::google::protobuf::Arena* arena = nullptr) const { + Feature* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -2669,9 +2746,8 @@ class Feature final : public ::google::protobuf::Message void MergeFrom(const Feature& from) { Feature::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -2681,49 +2757,51 @@ class Feature final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(Feature* other); + void InternalSwap(Feature* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit Feature(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + Feature(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Feature& from); + Feature( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -2739,20 +2817,20 @@ class Feature final : public ::google::protobuf::Message public: void clear_sub_feature() ; const ::google::protobuf::Map& sub_feature() const; - ::google::protobuf::Map* mutable_sub_feature(); + ::google::protobuf::Map* PROTOBUF_NONNULL mutable_sub_feature(); private: const ::google::protobuf::Map& _internal_sub_feature() const; - ::google::protobuf::Map* _internal_mutable_sub_feature(); + ::google::protobuf::Map* PROTOBUF_NONNULL _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> + static const ::google::protobuf::internal::TcParseTable<0, 1, + 2, 32, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -2762,13 +2840,14 @@ class Feature final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const Feature& from_msg); ::google::protobuf::internal::MapField @@ -2779,45 +2858,47 @@ class Feature final : public ::google::protobuf::Message union { Impl_ _impl_; }; friend struct ::TableStruct_flex_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull Feature_class_data_; // ------------------------------------------------------------------- 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 ::google::protobuf::internal::MapEntry { public: - using SuperType = ::google::protobuf::internal::MapEntry< - std::string, ::google::protobuf::Message, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>; + using SuperType = + ::google::protobuf::internal::MapEntry; 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_); + explicit PROTOBUF_CONSTEXPR Feature_SubFeatureEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized); + explicit Feature_SubFeatureEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr const void* PROTOBUF_NONNULL internal_default_instance() { + return &_Feature_SubFeatureEntry_DoNotUse_default_instance_; } + static constexpr auto InternalGenerateClassData_(); + 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> + 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; }; +extern const ::google::protobuf::internal::ClassDataFull Feature_SubFeatureEntry_DoNotUse_class_data_; // ------------------------------------------------------------------- class BulkUpdateWorkResponse final : public ::google::protobuf::Message @@ -2827,19 +2908,18 @@ class BulkUpdateWorkResponse final : public ::google::protobuf::Message ~BulkUpdateWorkResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(BulkUpdateWorkResponse* msg, std::destroying_delete_t) { + void operator delete(BulkUpdateWorkResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(BulkUpdateWorkResponse)); } #endif template - explicit PROTOBUF_CONSTEXPR BulkUpdateWorkResponse( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : BulkUpdateWorkResponse(nullptr, ::std::move(from)) {} inline BulkUpdateWorkResponse& operator=(const BulkUpdateWorkResponse& from) { CopyFrom(from); return *this; @@ -2858,30 +2938,27 @@ class BulkUpdateWorkResponse final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(BulkUpdateWorkResponse* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -2889,7 +2966,7 @@ class BulkUpdateWorkResponse final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(BulkUpdateWorkResponse* other) { + void UnsafeArenaSwap(BulkUpdateWorkResponse* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -2897,7 +2974,7 @@ class BulkUpdateWorkResponse final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - BulkUpdateWorkResponse* New(::google::protobuf::Arena* arena = nullptr) const { + BulkUpdateWorkResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -2906,9 +2983,8 @@ class BulkUpdateWorkResponse final : public ::google::protobuf::Message void MergeFrom(const BulkUpdateWorkResponse& from) { BulkUpdateWorkResponse::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -2918,49 +2994,51 @@ class BulkUpdateWorkResponse final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(BulkUpdateWorkResponse* other); + void InternalSwap(BulkUpdateWorkResponse* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit BulkUpdateWorkResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + BulkUpdateWorkResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const BulkUpdateWorkResponse& from); + BulkUpdateWorkResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -2971,18 +3049,17 @@ class BulkUpdateWorkResponse final : public ::google::protobuf::Message }; // string message = 2; void clear_message() ; - const std::string& message() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_message(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_message(); + void set_allocated_message(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_message() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_message(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_message(); public: // bool success = 1; @@ -2999,9 +3076,9 @@ class BulkUpdateWorkResponse final : public ::google::protobuf::Message private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 1, 2, 0, - 43, 2> + static const ::google::protobuf::internal::TcParseTable<1, 2, + 0, 43, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -3011,21 +3088,25 @@ class BulkUpdateWorkResponse final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const BulkUpdateWorkResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; ::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; }; + +extern const ::google::protobuf::internal::ClassDataFull BulkUpdateWorkResponse_class_data_; // ------------------------------------------------------------------- class BulkUpdateWorkRequest final : public ::google::protobuf::Message @@ -3035,19 +3116,18 @@ class BulkUpdateWorkRequest final : public ::google::protobuf::Message ~BulkUpdateWorkRequest() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(BulkUpdateWorkRequest* msg, std::destroying_delete_t) { + void operator delete(BulkUpdateWorkRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(BulkUpdateWorkRequest)); } #endif template - explicit PROTOBUF_CONSTEXPR BulkUpdateWorkRequest( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : BulkUpdateWorkRequest(nullptr, ::std::move(from)) {} inline BulkUpdateWorkRequest& operator=(const BulkUpdateWorkRequest& from) { CopyFrom(from); return *this; @@ -3066,30 +3146,27 @@ class BulkUpdateWorkRequest final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(BulkUpdateWorkRequest* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -3097,7 +3174,7 @@ class BulkUpdateWorkRequest final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(BulkUpdateWorkRequest* other) { + void UnsafeArenaSwap(BulkUpdateWorkRequest* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -3105,7 +3182,7 @@ class BulkUpdateWorkRequest final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - BulkUpdateWorkRequest* New(::google::protobuf::Arena* arena = nullptr) const { + BulkUpdateWorkRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -3114,9 +3191,8 @@ class BulkUpdateWorkRequest final : public ::google::protobuf::Message void MergeFrom(const BulkUpdateWorkRequest& from) { BulkUpdateWorkRequest::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -3126,49 +3202,51 @@ class BulkUpdateWorkRequest final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(BulkUpdateWorkRequest* other); + void InternalSwap(BulkUpdateWorkRequest* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit BulkUpdateWorkRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + BulkUpdateWorkRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const BulkUpdateWorkRequest& from); + BulkUpdateWorkRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- using NewState = BulkUpdateWorkRequest_NewState; @@ -3180,14 +3258,15 @@ class BulkUpdateWorkRequest final : public ::google::protobuf::Message 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() { + static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL NewState_descriptor() { return BulkUpdateWorkRequest_NewState_descriptor(); } template - static inline const std::string& NewState_Name(T value) { + 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) { + static inline bool NewState_Parse( + ::absl::string_view name, NewState* PROTOBUF_NONNULL value) { return BulkUpdateWorkRequest_NewState_Parse(name, value); } @@ -3209,9 +3288,9 @@ class BulkUpdateWorkRequest final : public ::google::protobuf::Message private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 0, 1, 0, - 0, 2> + static const ::google::protobuf::internal::TcParseTable<0, 1, + 0, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -3221,20 +3300,24 @@ class BulkUpdateWorkRequest final : public ::google::protobuf::Message 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_; + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const BulkUpdateWorkRequest& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; + int new_state_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_flex_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull BulkUpdateWorkRequest_class_data_; // ------------------------------------------------------------------- class BuildInfo final : public ::google::protobuf::Message @@ -3244,19 +3327,18 @@ class BuildInfo final : public ::google::protobuf::Message ~BuildInfo() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(BuildInfo* msg, std::destroying_delete_t) { + void operator delete(BuildInfo* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(BuildInfo)); } #endif template - explicit PROTOBUF_CONSTEXPR BuildInfo( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : BuildInfo(nullptr, ::std::move(from)) {} inline BuildInfo& operator=(const BuildInfo& from) { CopyFrom(from); return *this; @@ -3275,30 +3357,27 @@ class BuildInfo final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(BuildInfo* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -3306,7 +3385,7 @@ class BuildInfo final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(BuildInfo* other) { + void UnsafeArenaSwap(BuildInfo* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -3314,7 +3393,7 @@ class BuildInfo final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - BuildInfo* New(::google::protobuf::Arena* arena = nullptr) const { + BuildInfo* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -3323,9 +3402,8 @@ class BuildInfo final : public ::google::protobuf::Message void MergeFrom(const BuildInfo& from) { BuildInfo::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -3335,49 +3413,51 @@ class BuildInfo final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(BuildInfo* other); + void InternalSwap(BuildInfo* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit BuildInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + BuildInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const BuildInfo& from); + BuildInfo( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -3390,75 +3470,71 @@ class BuildInfo final : public ::google::protobuf::Message }; // string binary_name = 1; void clear_binary_name() ; - const std::string& binary_name() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_binary_name(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_binary_name(); + void set_allocated_binary_name(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_binary_name() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_binary_name(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_binary_name(); public: // string version = 2; void clear_version() ; - const std::string& version() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_version(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_version(); + void set_allocated_version(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_version() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_version(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_version(); public: // string commit = 3; void clear_commit() ; - const std::string& commit() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_commit(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_commit(); + void set_allocated_commit(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_commit() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_commit(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_commit(); public: // string build_time = 4; void clear_build_time() ; - const std::string& build_time() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_build_time(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_build_time(); + void set_allocated_build_time(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_build_time() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_build_time(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _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> + static const ::google::protobuf::internal::TcParseTable<2, 4, + 0, 57, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -3468,23 +3544,27 @@ class BuildInfo final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const BuildInfo& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; ::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; }; + +extern const ::google::protobuf::internal::ClassDataFull BuildInfo_class_data_; // ------------------------------------------------------------------- class BeeRemoteNode final : public ::google::protobuf::Message @@ -3494,19 +3574,18 @@ class BeeRemoteNode final : public ::google::protobuf::Message ~BeeRemoteNode() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(BeeRemoteNode* msg, std::destroying_delete_t) { + void operator delete(BeeRemoteNode* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(BeeRemoteNode)); } #endif template - explicit PROTOBUF_CONSTEXPR BeeRemoteNode( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : BeeRemoteNode(nullptr, ::std::move(from)) {} inline BeeRemoteNode& operator=(const BeeRemoteNode& from) { CopyFrom(from); return *this; @@ -3525,30 +3604,27 @@ class BeeRemoteNode final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(BeeRemoteNode* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -3556,7 +3632,7 @@ class BeeRemoteNode final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(BeeRemoteNode* other) { + void UnsafeArenaSwap(BeeRemoteNode* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -3564,7 +3640,7 @@ class BeeRemoteNode final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - BeeRemoteNode* New(::google::protobuf::Arena* arena = nullptr) const { + BeeRemoteNode* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -3573,9 +3649,8 @@ class BeeRemoteNode final : public ::google::protobuf::Message void MergeFrom(const BeeRemoteNode& from) { BeeRemoteNode::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -3585,49 +3660,51 @@ class BeeRemoteNode final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(BeeRemoteNode* other); + void InternalSwap(BeeRemoteNode* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit BeeRemoteNode(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + BeeRemoteNode(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const BeeRemoteNode& from); + BeeRemoteNode( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -3640,87 +3717,82 @@ class BeeRemoteNode final : public ::google::protobuf::Message kAuthSecretFieldNumber = 7, kMgmtdTlsDisableVerificationFieldNumber = 5, kMgmtdTlsDisableFieldNumber = 6, - kMgmtdUseProxyFieldNumber = 9, kAuthDisableFieldNumber = 8, + kMgmtdUseProxyFieldNumber = 9, }; // string id = 1; void clear_id() ; - const std::string& id() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_id(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_id(); + void set_allocated_id(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_id() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_id(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_id(); public: // string address = 2; void clear_address() ; - const std::string& address() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_address(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_address(); + void set_allocated_address(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_address() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_address(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_address(); public: // string mgmtd_address = 3; void clear_mgmtd_address() ; - const std::string& mgmtd_address() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_mgmtd_address(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_mgmtd_address(); + void set_allocated_mgmtd_address(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_mgmtd_address() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_mgmtd_address(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_mgmtd_address(); public: // bytes mgmtd_tls_cert = 4; void clear_mgmtd_tls_cert() ; - const std::string& mgmtd_tls_cert() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_mgmtd_tls_cert(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_mgmtd_tls_cert(); + void set_allocated_mgmtd_tls_cert(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_mgmtd_tls_cert() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_mgmtd_tls_cert(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_mgmtd_tls_cert(); public: // bytes auth_secret = 7; void clear_auth_secret() ; - const std::string& auth_secret() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_auth_secret(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_auth_secret(); + void set_allocated_auth_secret(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_auth_secret() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_auth_secret(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_auth_secret(); public: // bool mgmtd_tls_disable_verification = 5; @@ -3742,16 +3814,6 @@ class BeeRemoteNode final : public ::google::protobuf::Message 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() ; @@ -3762,14 +3824,24 @@ class BeeRemoteNode final : public ::google::protobuf::Message bool _internal_auth_disable() const; void _internal_set_auth_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: // @@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> + static const ::google::protobuf::internal::TcParseTable<4, 9, + 0, 57, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -3779,13 +3851,16 @@ class BeeRemoteNode final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const BeeRemoteNode& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; ::google::protobuf::internal::ArenaStringPtr id_; ::google::protobuf::internal::ArenaStringPtr address_; ::google::protobuf::internal::ArenaStringPtr mgmtd_address_; @@ -3793,14 +3868,15 @@ class BeeRemoteNode final : public ::google::protobuf::Message ::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_; + bool mgmtd_use_proxy_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_flex_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull BeeRemoteNode_class_data_; // ------------------------------------------------------------------- class Work final : public ::google::protobuf::Message @@ -3810,19 +3886,18 @@ class Work final : public ::google::protobuf::Message ~Work() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(Work* msg, std::destroying_delete_t) { + void operator delete(Work* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(Work)); } #endif template - explicit PROTOBUF_CONSTEXPR Work( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : Work(nullptr, ::std::move(from)) {} inline Work& operator=(const Work& from) { CopyFrom(from); return *this; @@ -3841,30 +3916,27 @@ class Work final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(Work* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -3872,7 +3944,7 @@ class Work final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(Work* other) { + void UnsafeArenaSwap(Work* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -3880,7 +3952,7 @@ class Work final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - Work* New(::google::protobuf::Arena* arena = nullptr) const { + Work* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -3889,9 +3961,8 @@ class Work final : public ::google::protobuf::Message void MergeFrom(const Work& from) { Work::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -3901,49 +3972,51 @@ class Work final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(Work* other); + void InternalSwap(Work* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit Work(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + Work(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Work& from); + Work( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- using Status = Work_Status; @@ -3965,14 +4038,15 @@ class Work final : public ::google::protobuf::Message 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() { + static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL State_descriptor() { return Work_State_descriptor(); } template - static inline const std::string& State_Name(T value) { + 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) { + static inline bool State_Parse( + ::absl::string_view name, State* PROTOBUF_NONNULL value) { return Work_State_Parse(name, value); } @@ -3992,77 +4066,74 @@ class Work final : public ::google::protobuf::Message public: void clear_parts() ; - ::flex::Work_Part* mutable_parts(int index); - ::google::protobuf::RepeatedPtrField<::flex::Work_Part>* mutable_parts(); + ::flex::Work_Part* PROTOBUF_NONNULL mutable_parts(int index); + ::google::protobuf::RepeatedPtrField<::flex::Work_Part>* PROTOBUF_NONNULL mutable_parts(); private: const ::google::protobuf::RepeatedPtrField<::flex::Work_Part>& _internal_parts() const; - ::google::protobuf::RepeatedPtrField<::flex::Work_Part>* _internal_mutable_parts(); + ::google::protobuf::RepeatedPtrField<::flex::Work_Part>* PROTOBUF_NONNULL _internal_mutable_parts(); public: const ::flex::Work_Part& parts(int index) const; - ::flex::Work_Part* add_parts(); + ::flex::Work_Part* PROTOBUF_NONNULL add_parts(); const ::google::protobuf::RepeatedPtrField<::flex::Work_Part>& parts() const; // string path = 1; void clear_path() ; - const std::string& path() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_path(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_path(); + void set_allocated_path(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_path() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_path(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_path(); public: // string job_id = 2; void clear_job_id() ; - const std::string& job_id() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_job_id(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_job_id(); + void set_allocated_job_id(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_job_id() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_job_id(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_job_id(); public: // string request_id = 3; void clear_request_id() ; - const std::string& request_id() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_request_id(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_request_id(); + void set_allocated_request_id(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_request_id() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_request_id(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _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(); + [[nodiscard]] ::flex::Work_Status* PROTOBUF_NULLABLE release_status(); + ::flex::Work_Status* PROTOBUF_NONNULL mutable_status(); + void set_allocated_status(::flex::Work_Status* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_status(::flex::Work_Status* PROTOBUF_NULLABLE value); + ::flex::Work_Status* PROTOBUF_NULLABLE unsafe_arena_release_status(); private: const ::flex::Work_Status& _internal_status() const; - ::flex::Work_Status* _internal_mutable_status(); + ::flex::Work_Status* PROTOBUF_NONNULL _internal_mutable_status(); public: // bool job_builder = 6; @@ -4079,9 +4150,9 @@ class Work final : public ::google::protobuf::Message private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 3, 6, 2, - 38, 2> + static const ::google::protobuf::internal::TcParseTable<3, 6, + 2, 38, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -4091,26 +4162,29 @@ class Work final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const 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_; + ::flex::Work_Status* PROTOBUF_NULLABLE status_; bool job_builder_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_flex_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull Work_class_data_; // ------------------------------------------------------------------- class RemoteStorageTarget_S3_StorageClass final : public ::google::protobuf::Message @@ -4120,19 +4194,18 @@ class RemoteStorageTarget_S3_StorageClass final : public ::google::protobuf::Mes ~RemoteStorageTarget_S3_StorageClass() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(RemoteStorageTarget_S3_StorageClass* msg, std::destroying_delete_t) { + void operator delete(RemoteStorageTarget_S3_StorageClass* PROTOBUF_NONNULL 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); + 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)) {} + : RemoteStorageTarget_S3_StorageClass(nullptr, ::std::move(from)) {} inline RemoteStorageTarget_S3_StorageClass& operator=(const RemoteStorageTarget_S3_StorageClass& from) { CopyFrom(from); return *this; @@ -4151,30 +4224,27 @@ class RemoteStorageTarget_S3_StorageClass final : public ::google::protobuf::Mes ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(RemoteStorageTarget_S3_StorageClass* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -4182,7 +4252,7 @@ class RemoteStorageTarget_S3_StorageClass final : public ::google::protobuf::Mes ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(RemoteStorageTarget_S3_StorageClass* other) { + void UnsafeArenaSwap(RemoteStorageTarget_S3_StorageClass* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -4190,7 +4260,7 @@ class RemoteStorageTarget_S3_StorageClass final : public ::google::protobuf::Mes // implements Message ---------------------------------------------- - RemoteStorageTarget_S3_StorageClass* New(::google::protobuf::Arena* arena = nullptr) const { + RemoteStorageTarget_S3_StorageClass* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -4199,9 +4269,8 @@ class RemoteStorageTarget_S3_StorageClass final : public ::google::protobuf::Mes 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); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -4211,49 +4280,51 @@ class RemoteStorageTarget_S3_StorageClass final : public ::google::protobuf::Mes #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(RemoteStorageTarget_S3_StorageClass* other); + void InternalSwap(RemoteStorageTarget_S3_StorageClass* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit RemoteStorageTarget_S3_StorageClass(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + RemoteStorageTarget_S3_StorageClass(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const RemoteStorageTarget_S3_StorageClass& from); + RemoteStorageTarget_S3_StorageClass( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- using Archival = RemoteStorageTarget_S3_StorageClass_Archival; @@ -4265,42 +4336,41 @@ class RemoteStorageTarget_S3_StorageClass final : public ::google::protobuf::Mes }; // string name = 1; void clear_name() ; - const std::string& name() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_name(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_name(); + void set_allocated_name(::std::string* PROTOBUF_NULLABLE value); private: - const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( - const std::string& value); - std::string* _internal_mutable_name(); + const ::std::string& _internal_name() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_name(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_name(); public: // optional .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(); + [[nodiscard]] ::flex::RemoteStorageTarget_S3_StorageClass_Archival* PROTOBUF_NULLABLE release_archival(); + ::flex::RemoteStorageTarget_S3_StorageClass_Archival* PROTOBUF_NONNULL mutable_archival(); + void set_allocated_archival(::flex::RemoteStorageTarget_S3_StorageClass_Archival* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_archival(::flex::RemoteStorageTarget_S3_StorageClass_Archival* PROTOBUF_NULLABLE value); + ::flex::RemoteStorageTarget_S3_StorageClass_Archival* PROTOBUF_NULLABLE unsafe_arena_release_archival(); private: const ::flex::RemoteStorageTarget_S3_StorageClass_Archival& _internal_archival() const; - ::flex::RemoteStorageTarget_S3_StorageClass_Archival* _internal_mutable_archival(); + ::flex::RemoteStorageTarget_S3_StorageClass_Archival* PROTOBUF_NONNULL _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> + static const ::google::protobuf::internal::TcParseTable<1, 2, + 1, 53, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -4310,22 +4380,25 @@ class RemoteStorageTarget_S3_StorageClass final : public ::google::protobuf::Mes 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const 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_; + ::flex::RemoteStorageTarget_S3_StorageClass_Archival* PROTOBUF_NULLABLE archival_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_flex_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull RemoteStorageTarget_S3_StorageClass_class_data_; // ------------------------------------------------------------------- class NodeStats final : public ::google::protobuf::Message @@ -4335,19 +4408,18 @@ class NodeStats final : public ::google::protobuf::Message ~NodeStats() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(NodeStats* msg, std::destroying_delete_t) { + void operator delete(NodeStats* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(NodeStats)); } #endif template - explicit PROTOBUF_CONSTEXPR NodeStats( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : NodeStats(nullptr, ::std::move(from)) {} inline NodeStats& operator=(const NodeStats& from) { CopyFrom(from); return *this; @@ -4366,30 +4438,27 @@ class NodeStats final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(NodeStats* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -4397,7 +4466,7 @@ class NodeStats final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(NodeStats* other) { + void UnsafeArenaSwap(NodeStats* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -4405,7 +4474,7 @@ class NodeStats final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - NodeStats* New(::google::protobuf::Arena* arena = nullptr) const { + NodeStats* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -4414,9 +4483,8 @@ class NodeStats final : public ::google::protobuf::Message void MergeFrom(const NodeStats& from) { NodeStats::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -4426,49 +4494,51 @@ class NodeStats final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(NodeStats* other); + void InternalSwap(NodeStats* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit NodeStats(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + NodeStats(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const NodeStats& from); + NodeStats( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -4481,15 +4551,15 @@ class NodeStats final : public ::google::protobuf::Message 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(); + [[nodiscard]] ::google::protobuf::Timestamp* PROTOBUF_NULLABLE release_timestamp(); + ::google::protobuf::Timestamp* PROTOBUF_NONNULL mutable_timestamp(); + void set_allocated_timestamp(::google::protobuf::Timestamp* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_timestamp(::google::protobuf::Timestamp* PROTOBUF_NULLABLE value); + ::google::protobuf::Timestamp* PROTOBUF_NULLABLE unsafe_arena_release_timestamp(); private: const ::google::protobuf::Timestamp& _internal_timestamp() const; - ::google::protobuf::Timestamp* _internal_mutable_timestamp(); + ::google::protobuf::Timestamp* PROTOBUF_NONNULL _internal_mutable_timestamp(); public: // int64 active_requests = 2; @@ -4506,9 +4576,9 @@ class NodeStats final : public ::google::protobuf::Message private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 1, 2, 1, - 0, 2> + static const ::google::protobuf::internal::TcParseTable<1, 2, + 1, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -4518,22 +4588,25 @@ class NodeStats final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const NodeStats& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::Timestamp* timestamp_; + ::google::protobuf::Timestamp* PROTOBUF_NULLABLE timestamp_; ::int64_t active_requests_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_flex_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull NodeStats_class_data_; // ------------------------------------------------------------------- class JobLockedInfo final : public ::google::protobuf::Message @@ -4543,19 +4616,18 @@ class JobLockedInfo final : public ::google::protobuf::Message ~JobLockedInfo() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(JobLockedInfo* msg, std::destroying_delete_t) { + void operator delete(JobLockedInfo* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(JobLockedInfo)); } #endif template - explicit PROTOBUF_CONSTEXPR JobLockedInfo( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : JobLockedInfo(nullptr, ::std::move(from)) {} inline JobLockedInfo& operator=(const JobLockedInfo& from) { CopyFrom(from); return *this; @@ -4574,30 +4646,27 @@ class JobLockedInfo final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(JobLockedInfo* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -4605,7 +4674,7 @@ class JobLockedInfo final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(JobLockedInfo* other) { + void UnsafeArenaSwap(JobLockedInfo* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -4613,7 +4682,7 @@ class JobLockedInfo final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - JobLockedInfo* New(::google::protobuf::Arena* arena = nullptr) const { + JobLockedInfo* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -4622,9 +4691,8 @@ class JobLockedInfo final : public ::google::protobuf::Message void MergeFrom(const JobLockedInfo& from) { JobLockedInfo::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -4634,49 +4702,51 @@ class JobLockedInfo final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(JobLockedInfo* other); + void InternalSwap(JobLockedInfo* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit JobLockedInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + JobLockedInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const JobLockedInfo& from); + JobLockedInfo( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -4696,64 +4766,62 @@ class JobLockedInfo final : public ::google::protobuf::Message }; // string stub_url_path = 9; void clear_stub_url_path() ; - const std::string& stub_url_path() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_stub_url_path(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_stub_url_path(); + void set_allocated_stub_url_path(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_stub_url_path() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_stub_url_path(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_stub_url_path(); public: // string externalId = 10; void clear_externalid() ; - const std::string& externalid() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_externalid(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_externalid(); + void set_allocated_externalid(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_externalid() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_externalid(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _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(); + [[nodiscard]] ::google::protobuf::Timestamp* PROTOBUF_NULLABLE release_mtime(); + ::google::protobuf::Timestamp* PROTOBUF_NONNULL mutable_mtime(); + void set_allocated_mtime(::google::protobuf::Timestamp* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_mtime(::google::protobuf::Timestamp* PROTOBUF_NULLABLE value); + ::google::protobuf::Timestamp* PROTOBUF_NULLABLE unsafe_arena_release_mtime(); private: const ::google::protobuf::Timestamp& _internal_mtime() const; - ::google::protobuf::Timestamp* _internal_mutable_mtime(); + ::google::protobuf::Timestamp* PROTOBUF_NONNULL _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(); + [[nodiscard]] ::google::protobuf::Timestamp* PROTOBUF_NULLABLE release_remote_mtime(); + ::google::protobuf::Timestamp* PROTOBUF_NONNULL mutable_remote_mtime(); + void set_allocated_remote_mtime(::google::protobuf::Timestamp* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_remote_mtime(::google::protobuf::Timestamp* PROTOBUF_NULLABLE value); + ::google::protobuf::Timestamp* PROTOBUF_NULLABLE unsafe_arena_release_remote_mtime(); private: const ::google::protobuf::Timestamp& _internal_remote_mtime() const; - ::google::protobuf::Timestamp* _internal_mutable_remote_mtime(); + ::google::protobuf::Timestamp* PROTOBUF_NONNULL _internal_mutable_remote_mtime(); public: // int64 size = 3; @@ -4830,9 +4898,9 @@ class JobLockedInfo final : public ::google::protobuf::Message private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 4, 11, 2, - 58, 2> + static const ::google::protobuf::internal::TcParseTable<4, 11, + 2, 58, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -4842,19 +4910,20 @@ class JobLockedInfo final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const 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_; + ::google::protobuf::Timestamp* PROTOBUF_NULLABLE mtime_; + ::google::protobuf::Timestamp* PROTOBUF_NULLABLE remote_mtime_; ::int64_t size_; ::uint32_t mode_; bool read_write_locked_; @@ -4867,45 +4936,47 @@ class JobLockedInfo final : public ::google::protobuf::Message union { Impl_ _impl_; }; friend struct ::TableStruct_flex_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull JobLockedInfo_class_data_; // ------------------------------------------------------------------- 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 ::google::protobuf::internal::MapEntry { public: - using SuperType = ::google::protobuf::internal::MapEntry< - std::string, ::google::protobuf::Message, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>; + using SuperType = + ::google::protobuf::internal::MapEntry; 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_); + explicit PROTOBUF_CONSTEXPR GetCapabilitiesResponse_FeaturesEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized); + explicit GetCapabilitiesResponse_FeaturesEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr const void* PROTOBUF_NONNULL internal_default_instance() { + return &_GetCapabilitiesResponse_FeaturesEntry_DoNotUse_default_instance_; } + static constexpr auto InternalGenerateClassData_(); + 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> + 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; }; +extern const ::google::protobuf::internal::ClassDataFull GetCapabilitiesResponse_FeaturesEntry_DoNotUse_class_data_; // ------------------------------------------------------------------- class UpdateWorkResponse final : public ::google::protobuf::Message @@ -4915,19 +4986,18 @@ class UpdateWorkResponse final : public ::google::protobuf::Message ~UpdateWorkResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(UpdateWorkResponse* msg, std::destroying_delete_t) { + void operator delete(UpdateWorkResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(UpdateWorkResponse)); } #endif template - explicit PROTOBUF_CONSTEXPR UpdateWorkResponse( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : UpdateWorkResponse(nullptr, ::std::move(from)) {} inline UpdateWorkResponse& operator=(const UpdateWorkResponse& from) { CopyFrom(from); return *this; @@ -4946,30 +5016,27 @@ class UpdateWorkResponse final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(UpdateWorkResponse* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -4977,7 +5044,7 @@ class UpdateWorkResponse final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(UpdateWorkResponse* other) { + void UnsafeArenaSwap(UpdateWorkResponse* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -4985,7 +5052,7 @@ class UpdateWorkResponse final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - UpdateWorkResponse* New(::google::protobuf::Arena* arena = nullptr) const { + UpdateWorkResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -4994,9 +5061,8 @@ class UpdateWorkResponse final : public ::google::protobuf::Message void MergeFrom(const UpdateWorkResponse& from) { UpdateWorkResponse::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -5006,49 +5072,51 @@ class UpdateWorkResponse final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(UpdateWorkResponse* other); + void InternalSwap(UpdateWorkResponse* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit UpdateWorkResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + UpdateWorkResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const UpdateWorkResponse& from); + UpdateWorkResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -5060,24 +5128,24 @@ class UpdateWorkResponse final : public ::google::protobuf::Message 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(); + [[nodiscard]] ::flex::Work* PROTOBUF_NULLABLE release_work(); + ::flex::Work* PROTOBUF_NONNULL mutable_work(); + void set_allocated_work(::flex::Work* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_work(::flex::Work* PROTOBUF_NULLABLE value); + ::flex::Work* PROTOBUF_NULLABLE unsafe_arena_release_work(); private: const ::flex::Work& _internal_work() const; - ::flex::Work* _internal_mutable_work(); + ::flex::Work* PROTOBUF_NONNULL _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> + static const ::google::protobuf::internal::TcParseTable<0, 1, + 1, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -5087,21 +5155,24 @@ class UpdateWorkResponse final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const UpdateWorkResponse& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; - ::flex::Work* work_; + ::flex::Work* PROTOBUF_NULLABLE work_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_flex_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull UpdateWorkResponse_class_data_; // ------------------------------------------------------------------- class SyncJob final : public ::google::protobuf::Message @@ -5111,19 +5182,18 @@ class SyncJob final : public ::google::protobuf::Message ~SyncJob() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SyncJob* msg, std::destroying_delete_t) { + void operator delete(SyncJob* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(SyncJob)); } #endif template - explicit PROTOBUF_CONSTEXPR SyncJob( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : SyncJob(nullptr, ::std::move(from)) {} inline SyncJob& operator=(const SyncJob& from) { CopyFrom(from); return *this; @@ -5142,30 +5212,27 @@ class SyncJob final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(SyncJob* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -5173,7 +5240,7 @@ class SyncJob final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(SyncJob* other) { + void UnsafeArenaSwap(SyncJob* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -5181,7 +5248,7 @@ class SyncJob final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - SyncJob* New(::google::protobuf::Arena* arena = nullptr) const { + SyncJob* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -5190,9 +5257,8 @@ class SyncJob final : public ::google::protobuf::Message void MergeFrom(const SyncJob& from) { SyncJob::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -5202,49 +5268,51 @@ class SyncJob final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(SyncJob* other); + void InternalSwap(SyncJob* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit SyncJob(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + SyncJob(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SyncJob& from); + SyncJob( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- using Operation = SyncJob_Operation; @@ -5257,14 +5325,15 @@ class SyncJob final : public ::google::protobuf::Message 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() { + static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL Operation_descriptor() { return SyncJob_Operation_descriptor(); } template - static inline const std::string& Operation_Name(T value) { + 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) { + static inline bool Operation_Parse( + ::absl::string_view name, Operation* PROTOBUF_NONNULL value) { return SyncJob_Operation_Parse(name, value); } @@ -5289,76 +5358,73 @@ class SyncJob final : public ::google::protobuf::Message public: void clear_metadata() ; const ::google::protobuf::Map& metadata() const; - ::google::protobuf::Map* mutable_metadata(); + ::google::protobuf::Map* PROTOBUF_NONNULL mutable_metadata(); private: const ::google::protobuf::Map& _internal_metadata() const; - ::google::protobuf::Map* _internal_mutable_metadata(); + ::google::protobuf::Map* PROTOBUF_NONNULL _internal_mutable_metadata(); public: // string remote_path = 3; void clear_remote_path() ; - const std::string& remote_path() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_remote_path(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_remote_path(); + void set_allocated_remote_path(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_remote_path() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_remote_path(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_remote_path(); public: // optional string tagging = 10; bool has_tagging() const; void clear_tagging() ; - const std::string& tagging() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_tagging(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_tagging(); + void set_allocated_tagging(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_tagging() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_tagging(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _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 + 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); + ::std::string* PROTOBUF_NONNULL mutable_storage_class(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_storage_class(); + void set_allocated_storage_class(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_storage_class() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_storage_class(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _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(); + [[nodiscard]] ::flex::JobLockedInfo* PROTOBUF_NULLABLE release_locked_info(); + ::flex::JobLockedInfo* PROTOBUF_NONNULL mutable_locked_info(); + void set_allocated_locked_info(::flex::JobLockedInfo* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_locked_info(::flex::JobLockedInfo* PROTOBUF_NULLABLE value); + ::flex::JobLockedInfo* PROTOBUF_NULLABLE unsafe_arena_release_locked_info(); private: const ::flex::JobLockedInfo& _internal_locked_info() const; - ::flex::JobLockedInfo* _internal_mutable_locked_info(); + ::flex::JobLockedInfo* PROTOBUF_NONNULL _internal_mutable_locked_info(); public: // .flex.SyncJob.Operation operation = 1; @@ -5417,9 +5483,9 @@ class SyncJob final : public ::google::protobuf::Message private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 4, 10, 2, - 68, 2> + static const ::google::protobuf::internal::TcParseTable<4, 10, + 2, 68, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -5429,13 +5495,14 @@ class SyncJob final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const SyncJob& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; ::google::protobuf::internal::MapField - explicit PROTOBUF_CONSTEXPR SubmitWorkResponse( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : SubmitWorkResponse(nullptr, ::std::move(from)) {} inline SubmitWorkResponse& operator=(const SubmitWorkResponse& from) { CopyFrom(from); return *this; @@ -5496,30 +5564,27 @@ class SubmitWorkResponse final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(SubmitWorkResponse* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -5527,7 +5592,7 @@ class SubmitWorkResponse final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(SubmitWorkResponse* other) { + void UnsafeArenaSwap(SubmitWorkResponse* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -5535,7 +5600,7 @@ class SubmitWorkResponse final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - SubmitWorkResponse* New(::google::protobuf::Arena* arena = nullptr) const { + SubmitWorkResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -5544,9 +5609,8 @@ class SubmitWorkResponse final : public ::google::protobuf::Message void MergeFrom(const SubmitWorkResponse& from) { SubmitWorkResponse::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -5556,49 +5620,51 @@ class SubmitWorkResponse final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(SubmitWorkResponse* other); + void InternalSwap(SubmitWorkResponse* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit SubmitWorkResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + SubmitWorkResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SubmitWorkResponse& from); + SubmitWorkResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -5610,24 +5676,24 @@ class SubmitWorkResponse final : public ::google::protobuf::Message 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(); + [[nodiscard]] ::flex::Work* PROTOBUF_NULLABLE release_work(); + ::flex::Work* PROTOBUF_NONNULL mutable_work(); + void set_allocated_work(::flex::Work* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_work(::flex::Work* PROTOBUF_NULLABLE value); + ::flex::Work* PROTOBUF_NULLABLE unsafe_arena_release_work(); private: const ::flex::Work& _internal_work() const; - ::flex::Work* _internal_mutable_work(); + ::flex::Work* PROTOBUF_NONNULL _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> + static const ::google::protobuf::internal::TcParseTable<0, 1, + 1, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -5637,21 +5703,24 @@ class SubmitWorkResponse final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const SubmitWorkResponse& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; - ::flex::Work* work_; + ::flex::Work* PROTOBUF_NULLABLE work_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_flex_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull SubmitWorkResponse_class_data_; // ------------------------------------------------------------------- class RemoteStorageTarget_S3 final : public ::google::protobuf::Message @@ -5661,19 +5730,18 @@ class RemoteStorageTarget_S3 final : public ::google::protobuf::Message ~RemoteStorageTarget_S3() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(RemoteStorageTarget_S3* msg, std::destroying_delete_t) { + void operator delete(RemoteStorageTarget_S3* PROTOBUF_NONNULL 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); + 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)) {} + : RemoteStorageTarget_S3(nullptr, ::std::move(from)) {} inline RemoteStorageTarget_S3& operator=(const RemoteStorageTarget_S3& from) { CopyFrom(from); return *this; @@ -5692,30 +5760,27 @@ class RemoteStorageTarget_S3 final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(RemoteStorageTarget_S3* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -5723,7 +5788,7 @@ class RemoteStorageTarget_S3 final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(RemoteStorageTarget_S3* other) { + void UnsafeArenaSwap(RemoteStorageTarget_S3* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -5731,7 +5796,7 @@ class RemoteStorageTarget_S3 final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - RemoteStorageTarget_S3* New(::google::protobuf::Arena* arena = nullptr) const { + RemoteStorageTarget_S3* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -5740,9 +5805,8 @@ class RemoteStorageTarget_S3 final : public ::google::protobuf::Message 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); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -5752,49 +5816,51 @@ class RemoteStorageTarget_S3 final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(RemoteStorageTarget_S3* other); + void InternalSwap(RemoteStorageTarget_S3* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit RemoteStorageTarget_S3(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + RemoteStorageTarget_S3(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const RemoteStorageTarget_S3& from); + RemoteStorageTarget_S3( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- using StorageClass = RemoteStorageTarget_S3_StorageClass; @@ -5816,119 +5882,113 @@ class RemoteStorageTarget_S3 final : public ::google::protobuf::Message public: void clear_storage_class() ; - ::flex::RemoteStorageTarget_S3_StorageClass* mutable_storage_class(int index); - ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget_S3_StorageClass>* mutable_storage_class(); + ::flex::RemoteStorageTarget_S3_StorageClass* PROTOBUF_NONNULL mutable_storage_class(int index); + ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget_S3_StorageClass>* PROTOBUF_NONNULL 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(); + ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget_S3_StorageClass>* PROTOBUF_NONNULL _internal_mutable_storage_class(); public: const ::flex::RemoteStorageTarget_S3_StorageClass& storage_class(int index) const; - ::flex::RemoteStorageTarget_S3_StorageClass* add_storage_class(); + ::flex::RemoteStorageTarget_S3_StorageClass* PROTOBUF_NONNULL 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 + 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); + ::std::string* PROTOBUF_NONNULL mutable_endpoint_url(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_endpoint_url(); + void set_allocated_endpoint_url(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_endpoint_url() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_endpoint_url(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_endpoint_url(); public: // string partition_id = 2; void clear_partition_id() ; - const std::string& partition_id() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_partition_id(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_partition_id(); + void set_allocated_partition_id(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_partition_id() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_partition_id(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_partition_id(); public: // string region = 3; void clear_region() ; - const std::string& region() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_region(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_region(); + void set_allocated_region(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_region() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_region(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_region(); public: // string bucket = 4; void clear_bucket() ; - const std::string& bucket() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_bucket(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_bucket(); + void set_allocated_bucket(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_bucket() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_bucket(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_bucket(); public: // string access_key = 5; void clear_access_key() ; - const std::string& access_key() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_access_key(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_access_key(); + void set_allocated_access_key(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_access_key() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_access_key(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_access_key(); public: // string secret_key = 6; void clear_secret_key() ; - const std::string& secret_key() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_secret_key(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_secret_key(); + void set_allocated_secret_key(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_secret_key() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_secret_key(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _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> + static const ::google::protobuf::internal::TcParseTable<3, 7, + 1, 92, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -5938,13 +5998,16 @@ class RemoteStorageTarget_S3 final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const RemoteStorageTarget_S3& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; ::google::protobuf::RepeatedPtrField< ::flex::RemoteStorageTarget_S3_StorageClass > storage_class_; ::google::protobuf::internal::ArenaStringPtr endpoint_url_; ::google::protobuf::internal::ArenaStringPtr partition_id_; @@ -5952,12 +6015,13 @@ class RemoteStorageTarget_S3 final : public ::google::protobuf::Message ::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; }; + +extern const ::google::protobuf::internal::ClassDataFull RemoteStorageTarget_S3_class_data_; // ------------------------------------------------------------------- class JobRequestCfg final : public ::google::protobuf::Message @@ -5967,19 +6031,18 @@ class JobRequestCfg final : public ::google::protobuf::Message ~JobRequestCfg() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(JobRequestCfg* msg, std::destroying_delete_t) { + void operator delete(JobRequestCfg* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(JobRequestCfg)); } #endif template - explicit PROTOBUF_CONSTEXPR JobRequestCfg( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : JobRequestCfg(nullptr, ::std::move(from)) {} inline JobRequestCfg& operator=(const JobRequestCfg& from) { CopyFrom(from); return *this; @@ -5998,30 +6061,27 @@ class JobRequestCfg final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(JobRequestCfg* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -6029,7 +6089,7 @@ class JobRequestCfg final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(JobRequestCfg* other) { + void UnsafeArenaSwap(JobRequestCfg* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -6037,7 +6097,7 @@ class JobRequestCfg final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - JobRequestCfg* New(::google::protobuf::Arena* arena = nullptr) const { + JobRequestCfg* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -6046,9 +6106,8 @@ class JobRequestCfg final : public ::google::protobuf::Message void MergeFrom(const JobRequestCfg& from) { JobRequestCfg::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -6058,49 +6117,51 @@ class JobRequestCfg final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(JobRequestCfg* other); + void InternalSwap(JobRequestCfg* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit JobRequestCfg(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + JobRequestCfg(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const JobRequestCfg& from); + JobRequestCfg( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -6131,109 +6192,104 @@ class JobRequestCfg final : public ::google::protobuf::Message public: void clear_metadata() ; const ::google::protobuf::Map& metadata() const; - ::google::protobuf::Map* mutable_metadata(); + ::google::protobuf::Map* PROTOBUF_NONNULL mutable_metadata(); private: const ::google::protobuf::Map& _internal_metadata() const; - ::google::protobuf::Map* _internal_mutable_metadata(); + ::google::protobuf::Map* PROTOBUF_NONNULL _internal_mutable_metadata(); public: // string path = 2; void clear_path() ; - const std::string& path() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_path(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_path(); + void set_allocated_path(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_path() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_path(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_path(); public: // string remotePath = 3; void clear_remotepath() ; - const std::string& remotepath() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_remotepath(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_remotepath(); + void set_allocated_remotepath(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_remotepath() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_remotepath(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _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 + 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); + ::std::string* PROTOBUF_NONNULL mutable_storage_class(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_storage_class(); + void set_allocated_storage_class(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_storage_class() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_storage_class(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_storage_class(); public: // optional string tagging = 14; bool has_tagging() const; void clear_tagging() ; - const std::string& tagging() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_tagging(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_tagging(); + void set_allocated_tagging(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_tagging() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_tagging(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _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 + 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); + ::std::string* PROTOBUF_NONNULL mutable_filter_expr(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_filter_expr(); + void set_allocated_filter_expr(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_filter_expr() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_filter_expr(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _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(); + [[nodiscard]] ::flex::JobLockedInfo* PROTOBUF_NULLABLE release_locked_info(); + ::flex::JobLockedInfo* PROTOBUF_NONNULL mutable_locked_info(); + void set_allocated_locked_info(::flex::JobLockedInfo* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_locked_info(::flex::JobLockedInfo* PROTOBUF_NULLABLE value); + ::flex::JobLockedInfo* PROTOBUF_NULLABLE unsafe_arena_release_locked_info(); private: const ::flex::JobLockedInfo& _internal_locked_info() const; - ::flex::JobLockedInfo* _internal_mutable_locked_info(); + ::flex::JobLockedInfo* PROTOBUF_NONNULL _internal_mutable_locked_info(); public: // uint32 remoteStorageTarget = 1; @@ -6333,9 +6389,9 @@ class JobRequestCfg final : public ::google::protobuf::Message private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 4, 16, 2, - 96, 2> + static const ::google::protobuf::internal::TcParseTable<4, 16, + 2, 96, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -6345,13 +6401,14 @@ class JobRequestCfg final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const JobRequestCfg& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; ::google::protobuf::internal::MapField - explicit PROTOBUF_CONSTEXPR HeartbeatResponse( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : HeartbeatResponse(nullptr, ::std::move(from)) {} inline HeartbeatResponse& operator=(const HeartbeatResponse& from) { CopyFrom(from); return *this; @@ -6418,30 +6476,27 @@ class HeartbeatResponse final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(HeartbeatResponse* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -6449,7 +6504,7 @@ class HeartbeatResponse final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(HeartbeatResponse* other) { + void UnsafeArenaSwap(HeartbeatResponse* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -6457,7 +6512,7 @@ class HeartbeatResponse final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - HeartbeatResponse* New(::google::protobuf::Arena* arena = nullptr) const { + HeartbeatResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -6466,9 +6521,8 @@ class HeartbeatResponse final : public ::google::protobuf::Message void MergeFrom(const HeartbeatResponse& from) { HeartbeatResponse::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -6478,49 +6532,51 @@ class HeartbeatResponse final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(HeartbeatResponse* other); + void InternalSwap(HeartbeatResponse* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit HeartbeatResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + HeartbeatResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const HeartbeatResponse& from); + HeartbeatResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -6533,15 +6589,15 @@ class HeartbeatResponse final : public ::google::protobuf::Message 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(); + [[nodiscard]] ::flex::NodeStats* PROTOBUF_NULLABLE release_node_stats(); + ::flex::NodeStats* PROTOBUF_NONNULL mutable_node_stats(); + void set_allocated_node_stats(::flex::NodeStats* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_node_stats(::flex::NodeStats* PROTOBUF_NULLABLE value); + ::flex::NodeStats* PROTOBUF_NULLABLE unsafe_arena_release_node_stats(); private: const ::flex::NodeStats& _internal_node_stats() const; - ::flex::NodeStats* _internal_mutable_node_stats(); + ::flex::NodeStats* PROTOBUF_NONNULL _internal_mutable_node_stats(); public: // bool is_ready = 1; @@ -6558,9 +6614,9 @@ class HeartbeatResponse final : public ::google::protobuf::Message private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 1, 2, 1, - 0, 2> + static const ::google::protobuf::internal::TcParseTable<1, 2, + 1, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -6570,22 +6626,25 @@ class HeartbeatResponse final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const HeartbeatResponse& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; - ::flex::NodeStats* node_stats_; + ::flex::NodeStats* PROTOBUF_NULLABLE node_stats_; bool is_ready_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_flex_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull HeartbeatResponse_class_data_; // ------------------------------------------------------------------- class GetCapabilitiesResponse final : public ::google::protobuf::Message @@ -6595,19 +6654,18 @@ class GetCapabilitiesResponse final : public ::google::protobuf::Message ~GetCapabilitiesResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetCapabilitiesResponse* msg, std::destroying_delete_t) { + void operator delete(GetCapabilitiesResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(GetCapabilitiesResponse)); } #endif template - explicit PROTOBUF_CONSTEXPR GetCapabilitiesResponse( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : GetCapabilitiesResponse(nullptr, ::std::move(from)) {} inline GetCapabilitiesResponse& operator=(const GetCapabilitiesResponse& from) { CopyFrom(from); return *this; @@ -6626,30 +6684,27 @@ class GetCapabilitiesResponse final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(GetCapabilitiesResponse* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -6657,7 +6712,7 @@ class GetCapabilitiesResponse final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(GetCapabilitiesResponse* other) { + void UnsafeArenaSwap(GetCapabilitiesResponse* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -6665,7 +6720,7 @@ class GetCapabilitiesResponse final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - GetCapabilitiesResponse* New(::google::protobuf::Arena* arena = nullptr) const { + GetCapabilitiesResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -6674,9 +6729,8 @@ class GetCapabilitiesResponse final : public ::google::protobuf::Message void MergeFrom(const GetCapabilitiesResponse& from) { GetCapabilitiesResponse::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -6686,49 +6740,51 @@ class GetCapabilitiesResponse final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(GetCapabilitiesResponse* other); + void InternalSwap(GetCapabilitiesResponse* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit GetCapabilitiesResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + GetCapabilitiesResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetCapabilitiesResponse& from); + GetCapabilitiesResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -6746,50 +6802,50 @@ class GetCapabilitiesResponse final : public ::google::protobuf::Message public: void clear_features() ; const ::google::protobuf::Map& features() const; - ::google::protobuf::Map* mutable_features(); + ::google::protobuf::Map* PROTOBUF_NONNULL mutable_features(); private: const ::google::protobuf::Map& _internal_features() const; - ::google::protobuf::Map* _internal_mutable_features(); + ::google::protobuf::Map* PROTOBUF_NONNULL _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(); + [[nodiscard]] ::flex::BuildInfo* PROTOBUF_NULLABLE release_build_info(); + ::flex::BuildInfo* PROTOBUF_NONNULL mutable_build_info(); + void set_allocated_build_info(::flex::BuildInfo* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_build_info(::flex::BuildInfo* PROTOBUF_NULLABLE value); + ::flex::BuildInfo* PROTOBUF_NULLABLE unsafe_arena_release_build_info(); private: const ::flex::BuildInfo& _internal_build_info() const; - ::flex::BuildInfo* _internal_mutable_build_info(); + ::flex::BuildInfo* PROTOBUF_NONNULL _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(); + [[nodiscard]] ::google::protobuf::Timestamp* PROTOBUF_NULLABLE release_start_timestamp(); + ::google::protobuf::Timestamp* PROTOBUF_NONNULL mutable_start_timestamp(); + void set_allocated_start_timestamp(::google::protobuf::Timestamp* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_start_timestamp(::google::protobuf::Timestamp* PROTOBUF_NULLABLE value); + ::google::protobuf::Timestamp* PROTOBUF_NULLABLE unsafe_arena_release_start_timestamp(); private: const ::google::protobuf::Timestamp& _internal_start_timestamp() const; - ::google::protobuf::Timestamp* _internal_mutable_start_timestamp(); + ::google::protobuf::Timestamp* PROTOBUF_NONNULL _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> + static const ::google::protobuf::internal::TcParseTable<2, 3, + 4, 45, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -6799,26 +6855,29 @@ class GetCapabilitiesResponse final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const 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_; + ::flex::BuildInfo* PROTOBUF_NULLABLE build_info_; + ::google::protobuf::Timestamp* PROTOBUF_NULLABLE start_timestamp_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_flex_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull GetCapabilitiesResponse_class_data_; // ------------------------------------------------------------------- class RemoteStorageTarget_Azure final : public ::google::protobuf::Message @@ -6828,19 +6887,18 @@ class RemoteStorageTarget_Azure final : public ::google::protobuf::Message ~RemoteStorageTarget_Azure() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(RemoteStorageTarget_Azure* msg, std::destroying_delete_t) { + void operator delete(RemoteStorageTarget_Azure* PROTOBUF_NONNULL 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); + 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)) {} + : RemoteStorageTarget_Azure(nullptr, ::std::move(from)) {} inline RemoteStorageTarget_Azure& operator=(const RemoteStorageTarget_Azure& from) { CopyFrom(from); return *this; @@ -6859,30 +6917,27 @@ class RemoteStorageTarget_Azure final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(RemoteStorageTarget_Azure* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -6890,7 +6945,7 @@ class RemoteStorageTarget_Azure final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(RemoteStorageTarget_Azure* other) { + void UnsafeArenaSwap(RemoteStorageTarget_Azure* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -6898,7 +6953,7 @@ class RemoteStorageTarget_Azure final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - RemoteStorageTarget_Azure* New(::google::protobuf::Arena* arena = nullptr) const { + RemoteStorageTarget_Azure* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -6907,9 +6962,8 @@ class RemoteStorageTarget_Azure final : public ::google::protobuf::Message 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); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -6919,49 +6973,51 @@ class RemoteStorageTarget_Azure final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(RemoteStorageTarget_Azure* other); + void InternalSwap(RemoteStorageTarget_Azure* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit RemoteStorageTarget_Azure(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + RemoteStorageTarget_Azure(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const RemoteStorageTarget_Azure& from); + RemoteStorageTarget_Azure( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -6972,42 +7028,41 @@ class RemoteStorageTarget_Azure final : public ::google::protobuf::Message }; // string account = 2; void clear_account() ; - const std::string& account() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_account(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_account(); + void set_allocated_account(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_account() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_account(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _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(); + [[nodiscard]] ::flex::RemoteStorageTarget_S3* PROTOBUF_NULLABLE release_s3(); + ::flex::RemoteStorageTarget_S3* PROTOBUF_NONNULL mutable_s3(); + void set_allocated_s3(::flex::RemoteStorageTarget_S3* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_s3(::flex::RemoteStorageTarget_S3* PROTOBUF_NULLABLE value); + ::flex::RemoteStorageTarget_S3* PROTOBUF_NULLABLE unsafe_arena_release_s3(); private: const ::flex::RemoteStorageTarget_S3& _internal_s3() const; - ::flex::RemoteStorageTarget_S3* _internal_mutable_s3(); + ::flex::RemoteStorageTarget_S3* PROTOBUF_NONNULL _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> + static const ::google::protobuf::internal::TcParseTable<1, 2, + 1, 46, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -7017,22 +7072,25 @@ class RemoteStorageTarget_Azure final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const 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_; + ::flex::RemoteStorageTarget_S3* PROTOBUF_NULLABLE s3_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_flex_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull RemoteStorageTarget_Azure_class_data_; // ------------------------------------------------------------------- class MockJob final : public ::google::protobuf::Message @@ -7042,19 +7100,18 @@ class MockJob final : public ::google::protobuf::Message ~MockJob() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(MockJob* msg, std::destroying_delete_t) { + void operator delete(MockJob* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(MockJob)); } #endif template - explicit PROTOBUF_CONSTEXPR MockJob( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : MockJob(nullptr, ::std::move(from)) {} inline MockJob& operator=(const MockJob& from) { CopyFrom(from); return *this; @@ -7073,30 +7130,27 @@ class MockJob final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(MockJob* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -7104,7 +7158,7 @@ class MockJob final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(MockJob* other) { + void UnsafeArenaSwap(MockJob* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -7112,7 +7166,7 @@ class MockJob final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - MockJob* New(::google::protobuf::Arena* arena = nullptr) const { + MockJob* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -7121,9 +7175,8 @@ class MockJob final : public ::google::protobuf::Message void MergeFrom(const MockJob& from) { MockJob::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -7133,49 +7186,51 @@ class MockJob final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(MockJob* other); + void InternalSwap(MockJob* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit MockJob(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + MockJob(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const MockJob& from); + MockJob( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -7190,48 +7245,47 @@ class MockJob final : public ::google::protobuf::Message }; // string external_id = 3; void clear_external_id() ; - const std::string& external_id() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_external_id(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_external_id(); + void set_allocated_external_id(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_external_id() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_external_id(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _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(); + [[nodiscard]] ::flex::JobLockedInfo* PROTOBUF_NULLABLE release_locked_info(); + ::flex::JobLockedInfo* PROTOBUF_NONNULL mutable_locked_info(); + void set_allocated_locked_info(::flex::JobLockedInfo* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_locked_info(::flex::JobLockedInfo* PROTOBUF_NULLABLE value); + ::flex::JobLockedInfo* PROTOBUF_NULLABLE unsafe_arena_release_locked_info(); private: const ::flex::JobLockedInfo& _internal_locked_info() const; - ::flex::JobLockedInfo* _internal_mutable_locked_info(); + ::flex::JobLockedInfo* PROTOBUF_NONNULL _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(); + [[nodiscard]] ::flex::JobRequestCfg* PROTOBUF_NULLABLE release_cfg(); + ::flex::JobRequestCfg* PROTOBUF_NONNULL mutable_cfg(); + void set_allocated_cfg(::flex::JobRequestCfg* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_cfg(::flex::JobRequestCfg* PROTOBUF_NULLABLE value); + ::flex::JobRequestCfg* PROTOBUF_NULLABLE unsafe_arena_release_cfg(); private: const ::flex::JobRequestCfg& _internal_cfg() const; - ::flex::JobRequestCfg* _internal_mutable_cfg(); + ::flex::JobRequestCfg* PROTOBUF_NONNULL _internal_mutable_cfg(); public: // int64 file_size = 2; @@ -7268,9 +7322,9 @@ class MockJob final : public ::google::protobuf::Message private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 3, 6, 2, - 32, 2> + static const ::google::protobuf::internal::TcParseTable<3, 6, + 2, 32, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -7280,18 +7334,19 @@ class MockJob final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const 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_; + ::flex::JobLockedInfo* PROTOBUF_NULLABLE locked_info_; + ::flex::JobRequestCfg* PROTOBUF_NULLABLE cfg_; ::int64_t file_size_; ::int32_t num_test_segments_; bool should_fail_; @@ -7300,6 +7355,8 @@ class MockJob final : public ::google::protobuf::Message union { Impl_ _impl_; }; friend struct ::TableStruct_flex_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull MockJob_class_data_; // ------------------------------------------------------------------- class BuilderJob final : public ::google::protobuf::Message @@ -7309,19 +7366,18 @@ class BuilderJob final : public ::google::protobuf::Message ~BuilderJob() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(BuilderJob* msg, std::destroying_delete_t) { + void operator delete(BuilderJob* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(BuilderJob)); } #endif template - explicit PROTOBUF_CONSTEXPR BuilderJob( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : BuilderJob(nullptr, ::std::move(from)) {} inline BuilderJob& operator=(const BuilderJob& from) { CopyFrom(from); return *this; @@ -7340,30 +7396,27 @@ class BuilderJob final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(BuilderJob* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -7371,7 +7424,7 @@ class BuilderJob final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(BuilderJob* other) { + void UnsafeArenaSwap(BuilderJob* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -7379,7 +7432,7 @@ class BuilderJob final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - BuilderJob* New(::google::protobuf::Arena* arena = nullptr) const { + BuilderJob* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -7388,9 +7441,8 @@ class BuilderJob final : public ::google::protobuf::Message void MergeFrom(const BuilderJob& from) { BuilderJob::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -7400,49 +7452,51 @@ class BuilderJob final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(BuilderJob* other); + void InternalSwap(BuilderJob* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit BuilderJob(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + BuilderJob(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const BuilderJob& from); + BuilderJob( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -7456,15 +7510,15 @@ class BuilderJob final : public ::google::protobuf::Message 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(); + [[nodiscard]] ::flex::JobRequestCfg* PROTOBUF_NULLABLE release_cfg(); + ::flex::JobRequestCfg* PROTOBUF_NONNULL mutable_cfg(); + void set_allocated_cfg(::flex::JobRequestCfg* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_cfg(::flex::JobRequestCfg* PROTOBUF_NULLABLE value); + ::flex::JobRequestCfg* PROTOBUF_NULLABLE unsafe_arena_release_cfg(); private: const ::flex::JobRequestCfg& _internal_cfg() const; - ::flex::JobRequestCfg* _internal_mutable_cfg(); + ::flex::JobRequestCfg* PROTOBUF_NONNULL _internal_mutable_cfg(); public: // int32 submitted = 2; @@ -7491,9 +7545,9 @@ class BuilderJob final : public ::google::protobuf::Message private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 2, 3, 1, - 0, 2> + static const ::google::protobuf::internal::TcParseTable<2, 3, + 1, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -7503,16 +7557,17 @@ class BuilderJob final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const BuilderJob& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; - ::flex::JobRequestCfg* cfg_; + ::flex::JobRequestCfg* PROTOBUF_NULLABLE cfg_; ::int32_t submitted_; ::int32_t errors_; PROTOBUF_TSAN_DECLARE_MEMBER @@ -7520,6 +7575,8 @@ class BuilderJob final : public ::google::protobuf::Message union { Impl_ _impl_; }; friend struct ::TableStruct_flex_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull BuilderJob_class_data_; // ------------------------------------------------------------------- class WorkRequest final : public ::google::protobuf::Message @@ -7529,19 +7586,18 @@ class WorkRequest final : public ::google::protobuf::Message ~WorkRequest() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(WorkRequest* msg, std::destroying_delete_t) { + void operator delete(WorkRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(WorkRequest)); } #endif template - explicit PROTOBUF_CONSTEXPR WorkRequest( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : WorkRequest(nullptr, ::std::move(from)) {} inline WorkRequest& operator=(const WorkRequest& from) { CopyFrom(from); return *this; @@ -7560,22 +7616,23 @@ class WorkRequest final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() { return default_instance().GetMetadata().reflection; } static const WorkRequest& default_instance() { - return *internal_default_instance(); + return *reinterpret_cast( + &_WorkRequest_default_instance_); } enum TypeCase { kMock = 10, @@ -7583,13 +7640,9 @@ class WorkRequest final : public ::google::protobuf::Message 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) { + inline void Swap(WorkRequest* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -7597,7 +7650,7 @@ class WorkRequest final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(WorkRequest* other) { + void UnsafeArenaSwap(WorkRequest* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -7605,7 +7658,7 @@ class WorkRequest final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - WorkRequest* New(::google::protobuf::Arena* arena = nullptr) const { + WorkRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -7614,9 +7667,8 @@ class WorkRequest final : public ::google::protobuf::Message void MergeFrom(const WorkRequest& from) { WorkRequest::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -7626,49 +7678,51 @@ class WorkRequest final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(WorkRequest* other); + void InternalSwap(WorkRequest* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit WorkRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + WorkRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const WorkRequest& from); + WorkRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- using Segment = WorkRequest_Segment; @@ -7689,81 +7743,77 @@ class WorkRequest final : public ::google::protobuf::Message }; // string job_id = 1; void clear_job_id() ; - const std::string& job_id() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_job_id(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_job_id(); + void set_allocated_job_id(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_job_id() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_job_id(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_job_id(); public: // string request_id = 2; void clear_request_id() ; - const std::string& request_id() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_request_id(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_request_id(); + void set_allocated_request_id(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_request_id() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_request_id(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_request_id(); public: // string external_id = 3; void clear_external_id() ; - const std::string& external_id() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_external_id(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_external_id(); + void set_allocated_external_id(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_external_id() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_external_id(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_external_id(); public: // string path = 4; void clear_path() ; - const std::string& path() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_path(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_path(); + void set_allocated_path(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_path() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_path(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _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(); + [[nodiscard]] ::flex::WorkRequest_Segment* PROTOBUF_NULLABLE release_segment(); + ::flex::WorkRequest_Segment* PROTOBUF_NONNULL mutable_segment(); + void set_allocated_segment(::flex::WorkRequest_Segment* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_segment(::flex::WorkRequest_Segment* PROTOBUF_NULLABLE value); + ::flex::WorkRequest_Segment* PROTOBUF_NULLABLE unsafe_arena_release_segment(); private: const ::flex::WorkRequest_Segment& _internal_segment() const; - ::flex::WorkRequest_Segment* _internal_mutable_segment(); + ::flex::WorkRequest_Segment* PROTOBUF_NONNULL _internal_mutable_segment(); public: // uint32 remote_storage_target = 6; @@ -7805,15 +7855,15 @@ class WorkRequest final : public ::google::protobuf::Message 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(); + [[nodiscard]] ::flex::MockJob* PROTOBUF_NULLABLE release_mock(); + ::flex::MockJob* PROTOBUF_NONNULL mutable_mock(); + void set_allocated_mock(::flex::MockJob* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_mock(::flex::MockJob* PROTOBUF_NULLABLE value); + ::flex::MockJob* PROTOBUF_NULLABLE unsafe_arena_release_mock(); private: const ::flex::MockJob& _internal_mock() const; - ::flex::MockJob* _internal_mutable_mock(); + ::flex::MockJob* PROTOBUF_NONNULL _internal_mutable_mock(); public: // .flex.SyncJob sync = 11; @@ -7824,15 +7874,15 @@ class WorkRequest final : public ::google::protobuf::Message 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(); + [[nodiscard]] ::flex::SyncJob* PROTOBUF_NULLABLE release_sync(); + ::flex::SyncJob* PROTOBUF_NONNULL mutable_sync(); + void set_allocated_sync(::flex::SyncJob* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_sync(::flex::SyncJob* PROTOBUF_NULLABLE value); + ::flex::SyncJob* PROTOBUF_NULLABLE unsafe_arena_release_sync(); private: const ::flex::SyncJob& _internal_sync() const; - ::flex::SyncJob* _internal_mutable_sync(); + ::flex::SyncJob* PROTOBUF_NONNULL _internal_mutable_sync(); public: // .flex.BuilderJob builder = 12; @@ -7843,15 +7893,15 @@ class WorkRequest final : public ::google::protobuf::Message 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(); + [[nodiscard]] ::flex::BuilderJob* PROTOBUF_NULLABLE release_builder(); + ::flex::BuilderJob* PROTOBUF_NONNULL mutable_builder(); + void set_allocated_builder(::flex::BuilderJob* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_builder(::flex::BuilderJob* PROTOBUF_NULLABLE value); + ::flex::BuilderJob* PROTOBUF_NULLABLE unsafe_arena_release_builder(); private: const ::flex::BuilderJob& _internal_builder() const; - ::flex::BuilderJob* _internal_mutable_builder(); + ::flex::BuilderJob* PROTOBUF_NONNULL _internal_mutable_builder(); public: void clear_Type(); @@ -7865,9 +7915,9 @@ class WorkRequest final : public ::google::protobuf::Message 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> + static const ::google::protobuf::internal::TcParseTable<4, 11, + 4, 64, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -7877,29 +7927,30 @@ class WorkRequest final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const 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_; + ::flex::WorkRequest_Segment* PROTOBUF_NULLABLE 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_; + ::google::protobuf::Message* PROTOBUF_NULLABLE mock_; + ::google::protobuf::Message* PROTOBUF_NULLABLE sync_; + ::google::protobuf::Message* PROTOBUF_NULLABLE builder_; } Type_; ::uint32_t _oneof_case_[1]; PROTOBUF_TSAN_DECLARE_MEMBER @@ -7907,6 +7958,8 @@ class WorkRequest final : public ::google::protobuf::Message union { Impl_ _impl_; }; friend struct ::TableStruct_flex_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull WorkRequest_class_data_; // ------------------------------------------------------------------- class RemoteStorageTarget final : public ::google::protobuf::Message @@ -7916,19 +7969,18 @@ class RemoteStorageTarget final : public ::google::protobuf::Message ~RemoteStorageTarget() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(RemoteStorageTarget* msg, std::destroying_delete_t) { + void operator delete(RemoteStorageTarget* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(RemoteStorageTarget)); } #endif template - explicit PROTOBUF_CONSTEXPR RemoteStorageTarget( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : RemoteStorageTarget(nullptr, ::std::move(from)) {} inline RemoteStorageTarget& operator=(const RemoteStorageTarget& from) { CopyFrom(from); return *this; @@ -7947,22 +7999,23 @@ class RemoteStorageTarget final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() { return default_instance().GetMetadata().reflection; } static const RemoteStorageTarget& default_instance() { - return *internal_default_instance(); + return *reinterpret_cast( + &_RemoteStorageTarget_default_instance_); } enum TypeCase { kS3 = 4, @@ -7971,13 +8024,9 @@ class RemoteStorageTarget final : public ::google::protobuf::Message 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) { + inline void Swap(RemoteStorageTarget* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -7985,7 +8034,7 @@ class RemoteStorageTarget final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(RemoteStorageTarget* other) { + void UnsafeArenaSwap(RemoteStorageTarget* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -7993,7 +8042,7 @@ class RemoteStorageTarget final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - RemoteStorageTarget* New(::google::protobuf::Arena* arena = nullptr) const { + RemoteStorageTarget* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -8002,9 +8051,8 @@ class RemoteStorageTarget final : public ::google::protobuf::Message void MergeFrom(const RemoteStorageTarget& from) { RemoteStorageTarget::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -8014,49 +8062,51 @@ class RemoteStorageTarget final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(RemoteStorageTarget* other); + void InternalSwap(RemoteStorageTarget* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit RemoteStorageTarget(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + RemoteStorageTarget(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const RemoteStorageTarget& from); + RemoteStorageTarget( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- using Policies = RemoteStorageTarget_Policies; @@ -8076,33 +8126,32 @@ class RemoteStorageTarget final : public ::google::protobuf::Message }; // string name = 2; void clear_name() ; - const std::string& name() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_name(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_name(); + void set_allocated_name(::std::string* PROTOBUF_NULLABLE value); private: - const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( - const std::string& value); - std::string* _internal_mutable_name(); + const ::std::string& _internal_name() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_name(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_name(); public: // .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(); + [[nodiscard]] ::flex::RemoteStorageTarget_Policies* PROTOBUF_NULLABLE release_policies(); + ::flex::RemoteStorageTarget_Policies* PROTOBUF_NONNULL mutable_policies(); + void set_allocated_policies(::flex::RemoteStorageTarget_Policies* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_policies(::flex::RemoteStorageTarget_Policies* PROTOBUF_NULLABLE value); + ::flex::RemoteStorageTarget_Policies* PROTOBUF_NULLABLE unsafe_arena_release_policies(); private: const ::flex::RemoteStorageTarget_Policies& _internal_policies() const; - ::flex::RemoteStorageTarget_Policies* _internal_mutable_policies(); + ::flex::RemoteStorageTarget_Policies* PROTOBUF_NONNULL _internal_mutable_policies(); public: // uint32 id = 1; @@ -8123,15 +8172,15 @@ class RemoteStorageTarget final : public ::google::protobuf::Message 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(); + [[nodiscard]] ::flex::RemoteStorageTarget_S3* PROTOBUF_NULLABLE release_s3(); + ::flex::RemoteStorageTarget_S3* PROTOBUF_NONNULL mutable_s3(); + void set_allocated_s3(::flex::RemoteStorageTarget_S3* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_s3(::flex::RemoteStorageTarget_S3* PROTOBUF_NULLABLE value); + ::flex::RemoteStorageTarget_S3* PROTOBUF_NULLABLE unsafe_arena_release_s3(); private: const ::flex::RemoteStorageTarget_S3& _internal_s3() const; - ::flex::RemoteStorageTarget_S3* _internal_mutable_s3(); + ::flex::RemoteStorageTarget_S3* PROTOBUF_NONNULL _internal_mutable_s3(); public: // .flex.RemoteStorageTarget.POSIX posix = 5; @@ -8142,15 +8191,15 @@ class RemoteStorageTarget final : public ::google::protobuf::Message 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(); + [[nodiscard]] ::flex::RemoteStorageTarget_POSIX* PROTOBUF_NULLABLE release_posix(); + ::flex::RemoteStorageTarget_POSIX* PROTOBUF_NONNULL mutable_posix(); + void set_allocated_posix(::flex::RemoteStorageTarget_POSIX* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_posix(::flex::RemoteStorageTarget_POSIX* PROTOBUF_NULLABLE value); + ::flex::RemoteStorageTarget_POSIX* PROTOBUF_NULLABLE unsafe_arena_release_posix(); private: const ::flex::RemoteStorageTarget_POSIX& _internal_posix() const; - ::flex::RemoteStorageTarget_POSIX* _internal_mutable_posix(); + ::flex::RemoteStorageTarget_POSIX* PROTOBUF_NONNULL _internal_mutable_posix(); public: // .flex.RemoteStorageTarget.Azure azure = 6; @@ -8161,32 +8210,31 @@ class RemoteStorageTarget final : public ::google::protobuf::Message 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(); + [[nodiscard]] ::flex::RemoteStorageTarget_Azure* PROTOBUF_NULLABLE release_azure(); + ::flex::RemoteStorageTarget_Azure* PROTOBUF_NONNULL mutable_azure(); + void set_allocated_azure(::flex::RemoteStorageTarget_Azure* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_azure(::flex::RemoteStorageTarget_Azure* PROTOBUF_NULLABLE value); + ::flex::RemoteStorageTarget_Azure* PROTOBUF_NULLABLE unsafe_arena_release_azure(); private: const ::flex::RemoteStorageTarget_Azure& _internal_azure() const; - ::flex::RemoteStorageTarget_Azure* _internal_mutable_azure(); + ::flex::RemoteStorageTarget_Azure* PROTOBUF_NONNULL _internal_mutable_azure(); public: // string mock = 7; bool has_mock() const; void clear_mock() ; - const std::string& mock() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_mock(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_mock(); + void set_allocated_mock(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_mock() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_mock(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_mock(); public: void clear_type(); @@ -8201,9 +8249,9 @@ class RemoteStorageTarget final : public ::google::protobuf::Message 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> + static const ::google::protobuf::internal::TcParseTable<2, 7, + 4, 41, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -8213,24 +8261,25 @@ class RemoteStorageTarget final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const 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_; + ::flex::RemoteStorageTarget_Policies* PROTOBUF_NULLABLE 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::Message* PROTOBUF_NULLABLE s3_; + ::google::protobuf::Message* PROTOBUF_NULLABLE posix_; + ::google::protobuf::Message* PROTOBUF_NULLABLE azure_; ::google::protobuf::internal::ArenaStringPtr mock_; } type_; ::uint32_t _oneof_case_[1]; @@ -8239,6 +8288,8 @@ class RemoteStorageTarget final : public ::google::protobuf::Message union { Impl_ _impl_; }; friend struct ::TableStruct_flex_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull RemoteStorageTarget_class_data_; // ------------------------------------------------------------------- class UpdateConfigRequest final : public ::google::protobuf::Message @@ -8248,19 +8299,18 @@ class UpdateConfigRequest final : public ::google::protobuf::Message ~UpdateConfigRequest() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(UpdateConfigRequest* msg, std::destroying_delete_t) { + void operator delete(UpdateConfigRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(UpdateConfigRequest)); } #endif template - explicit PROTOBUF_CONSTEXPR UpdateConfigRequest( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : UpdateConfigRequest(nullptr, ::std::move(from)) {} inline UpdateConfigRequest& operator=(const UpdateConfigRequest& from) { CopyFrom(from); return *this; @@ -8279,30 +8329,27 @@ class UpdateConfigRequest final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(UpdateConfigRequest* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -8310,7 +8357,7 @@ class UpdateConfigRequest final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(UpdateConfigRequest* other) { + void UnsafeArenaSwap(UpdateConfigRequest* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -8318,7 +8365,7 @@ class UpdateConfigRequest final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - UpdateConfigRequest* New(::google::protobuf::Arena* arena = nullptr) const { + UpdateConfigRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -8327,9 +8374,8 @@ class UpdateConfigRequest final : public ::google::protobuf::Message void MergeFrom(const UpdateConfigRequest& from) { UpdateConfigRequest::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -8339,49 +8385,51 @@ class UpdateConfigRequest final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(UpdateConfigRequest* other); + void InternalSwap(UpdateConfigRequest* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit UpdateConfigRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + UpdateConfigRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const UpdateConfigRequest& from); + UpdateConfigRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -8397,38 +8445,38 @@ class UpdateConfigRequest final : public ::google::protobuf::Message public: void clear_rsts() ; - ::flex::RemoteStorageTarget* mutable_rsts(int index); - ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget>* mutable_rsts(); + ::flex::RemoteStorageTarget* PROTOBUF_NONNULL mutable_rsts(int index); + ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget>* PROTOBUF_NONNULL mutable_rsts(); private: const ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget>& _internal_rsts() const; - ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget>* _internal_mutable_rsts(); + ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget>* PROTOBUF_NONNULL _internal_mutable_rsts(); public: const ::flex::RemoteStorageTarget& rsts(int index) const; - ::flex::RemoteStorageTarget* add_rsts(); + ::flex::RemoteStorageTarget* PROTOBUF_NONNULL 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(); + [[nodiscard]] ::flex::BeeRemoteNode* PROTOBUF_NULLABLE release_bee_remote(); + ::flex::BeeRemoteNode* PROTOBUF_NONNULL mutable_bee_remote(); + void set_allocated_bee_remote(::flex::BeeRemoteNode* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_bee_remote(::flex::BeeRemoteNode* PROTOBUF_NULLABLE value); + ::flex::BeeRemoteNode* PROTOBUF_NULLABLE unsafe_arena_release_bee_remote(); private: const ::flex::BeeRemoteNode& _internal_bee_remote() const; - ::flex::BeeRemoteNode* _internal_mutable_bee_remote(); + ::flex::BeeRemoteNode* PROTOBUF_NONNULL _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> + static const ::google::protobuf::internal::TcParseTable<1, 2, + 2, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -8438,22 +8486,25 @@ class UpdateConfigRequest final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const 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_; + ::flex::BeeRemoteNode* PROTOBUF_NULLABLE bee_remote_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_flex_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull UpdateConfigRequest_class_data_; // ------------------------------------------------------------------- class SubmitWorkRequest final : public ::google::protobuf::Message @@ -8463,19 +8514,18 @@ class SubmitWorkRequest final : public ::google::protobuf::Message ~SubmitWorkRequest() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SubmitWorkRequest* msg, std::destroying_delete_t) { + void operator delete(SubmitWorkRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(SubmitWorkRequest)); } #endif template - explicit PROTOBUF_CONSTEXPR SubmitWorkRequest( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : SubmitWorkRequest(nullptr, ::std::move(from)) {} inline SubmitWorkRequest& operator=(const SubmitWorkRequest& from) { CopyFrom(from); return *this; @@ -8494,30 +8544,27 @@ class SubmitWorkRequest final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(SubmitWorkRequest* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -8525,7 +8572,7 @@ class SubmitWorkRequest final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(SubmitWorkRequest* other) { + void UnsafeArenaSwap(SubmitWorkRequest* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -8533,7 +8580,7 @@ class SubmitWorkRequest final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - SubmitWorkRequest* New(::google::protobuf::Arena* arena = nullptr) const { + SubmitWorkRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -8542,9 +8589,8 @@ class SubmitWorkRequest final : public ::google::protobuf::Message void MergeFrom(const SubmitWorkRequest& from) { SubmitWorkRequest::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -8554,49 +8600,51 @@ class SubmitWorkRequest final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(SubmitWorkRequest* other); + void InternalSwap(SubmitWorkRequest* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit SubmitWorkRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + SubmitWorkRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SubmitWorkRequest& from); + SubmitWorkRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -8608,24 +8656,24 @@ class SubmitWorkRequest final : public ::google::protobuf::Message 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(); + [[nodiscard]] ::flex::WorkRequest* PROTOBUF_NULLABLE release_request(); + ::flex::WorkRequest* PROTOBUF_NONNULL mutable_request(); + void set_allocated_request(::flex::WorkRequest* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_request(::flex::WorkRequest* PROTOBUF_NULLABLE value); + ::flex::WorkRequest* PROTOBUF_NULLABLE unsafe_arena_release_request(); private: const ::flex::WorkRequest& _internal_request() const; - ::flex::WorkRequest* _internal_mutable_request(); + ::flex::WorkRequest* PROTOBUF_NONNULL _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> + static const ::google::protobuf::internal::TcParseTable<0, 1, + 1, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -8635,22 +8683,25 @@ class SubmitWorkRequest final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const SubmitWorkRequest& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; - ::flex::WorkRequest* request_; + ::flex::WorkRequest* PROTOBUF_NULLABLE request_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_flex_2eproto; }; +extern const ::google::protobuf::internal::ClassDataFull SubmitWorkRequest_class_data_; + // =================================================================== @@ -8671,6 +8722,7 @@ class SubmitWorkRequest final : public ::google::protobuf::Message inline void HeartbeatRequest::clear_include_stats() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.include_stats_ = false; + _impl_._has_bits_[0] &= ~0x00000001u; } inline bool HeartbeatRequest::include_stats() const { // @@protoc_insertion_point(field_get:flex.HeartbeatRequest.include_stats) @@ -8678,6 +8730,7 @@ inline bool HeartbeatRequest::include_stats() const { } inline void HeartbeatRequest::set_include_stats(bool value) { _internal_set_include_stats(value); + _impl_._has_bits_[0] |= 0x00000001u; // @@protoc_insertion_point(field_set:flex.HeartbeatRequest.include_stats) } inline bool HeartbeatRequest::_internal_include_stats() const { @@ -8697,6 +8750,7 @@ inline void HeartbeatRequest::_internal_set_include_stats(bool value) { inline void HeartbeatResponse::clear_is_ready() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.is_ready_ = false; + _impl_._has_bits_[0] &= ~0x00000002u; } inline bool HeartbeatResponse::is_ready() const { // @@protoc_insertion_point(field_get:flex.HeartbeatResponse.is_ready) @@ -8704,6 +8758,7 @@ inline bool HeartbeatResponse::is_ready() const { } inline void HeartbeatResponse::set_is_ready(bool value) { _internal_set_is_ready(value); + _impl_._has_bits_[0] |= 0x00000002u; // @@protoc_insertion_point(field_set:flex.HeartbeatResponse.is_ready) } inline bool HeartbeatResponse::_internal_is_ready() const { @@ -8735,7 +8790,8 @@ inline const ::flex::NodeStats& HeartbeatResponse::node_stats() const ABSL_ATTRI // @@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) { +inline void HeartbeatResponse::unsafe_arena_set_allocated_node_stats( + ::flex::NodeStats* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.node_stats_); @@ -8748,7 +8804,7 @@ inline void HeartbeatResponse::unsafe_arena_set_allocated_node_stats(::flex::Nod } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.HeartbeatResponse.node_stats) } -inline ::flex::NodeStats* HeartbeatResponse::release_node_stats() { +inline ::flex::NodeStats* PROTOBUF_NULLABLE HeartbeatResponse::release_node_stats() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000001u; @@ -8767,7 +8823,7 @@ inline ::flex::NodeStats* HeartbeatResponse::release_node_stats() { } return released; } -inline ::flex::NodeStats* HeartbeatResponse::unsafe_arena_release_node_stats() { +inline ::flex::NodeStats* PROTOBUF_NULLABLE HeartbeatResponse::unsafe_arena_release_node_stats() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:flex.HeartbeatResponse.node_stats) @@ -8776,7 +8832,7 @@ inline ::flex::NodeStats* HeartbeatResponse::unsafe_arena_release_node_stats() { _impl_.node_stats_ = nullptr; return temp; } -inline ::flex::NodeStats* HeartbeatResponse::_internal_mutable_node_stats() { +inline ::flex::NodeStats* PROTOBUF_NONNULL HeartbeatResponse::_internal_mutable_node_stats() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.node_stats_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::flex::NodeStats>(GetArena()); @@ -8784,21 +8840,22 @@ inline ::flex::NodeStats* HeartbeatResponse::_internal_mutable_node_stats() { } return _impl_.node_stats_; } -inline ::flex::NodeStats* HeartbeatResponse::mutable_node_stats() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::flex::NodeStats* PROTOBUF_NONNULL 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) { +inline void HeartbeatResponse::set_allocated_node_stats(::flex::NodeStats* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { - delete (_impl_.node_stats_); + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.node_stats_); } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = value->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } @@ -8830,7 +8887,8 @@ inline const ::google::protobuf::Timestamp& NodeStats::timestamp() const ABSL_AT // @@protoc_insertion_point(field_get:flex.NodeStats.timestamp) return _internal_timestamp(); } -inline void NodeStats::unsafe_arena_set_allocated_timestamp(::google::protobuf::Timestamp* value) { +inline void NodeStats::unsafe_arena_set_allocated_timestamp( + ::google::protobuf::Timestamp* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.timestamp_); @@ -8843,7 +8901,7 @@ inline void NodeStats::unsafe_arena_set_allocated_timestamp(::google::protobuf:: } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.NodeStats.timestamp) } -inline ::google::protobuf::Timestamp* NodeStats::release_timestamp() { +inline ::google::protobuf::Timestamp* PROTOBUF_NULLABLE NodeStats::release_timestamp() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000001u; @@ -8862,7 +8920,7 @@ inline ::google::protobuf::Timestamp* NodeStats::release_timestamp() { } return released; } -inline ::google::protobuf::Timestamp* NodeStats::unsafe_arena_release_timestamp() { +inline ::google::protobuf::Timestamp* PROTOBUF_NULLABLE NodeStats::unsafe_arena_release_timestamp() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:flex.NodeStats.timestamp) @@ -8871,7 +8929,7 @@ inline ::google::protobuf::Timestamp* NodeStats::unsafe_arena_release_timestamp( _impl_.timestamp_ = nullptr; return temp; } -inline ::google::protobuf::Timestamp* NodeStats::_internal_mutable_timestamp() { +inline ::google::protobuf::Timestamp* PROTOBUF_NONNULL NodeStats::_internal_mutable_timestamp() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.timestamp_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Timestamp>(GetArena()); @@ -8879,13 +8937,14 @@ inline ::google::protobuf::Timestamp* NodeStats::_internal_mutable_timestamp() { } return _impl_.timestamp_; } -inline ::google::protobuf::Timestamp* NodeStats::mutable_timestamp() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::google::protobuf::Timestamp* PROTOBUF_NONNULL 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) { +inline void NodeStats::set_allocated_timestamp(::google::protobuf::Timestamp* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { @@ -8893,7 +8952,7 @@ inline void NodeStats::set_allocated_timestamp(::google::protobuf::Timestamp* va } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } @@ -8910,6 +8969,7 @@ inline void NodeStats::set_allocated_timestamp(::google::protobuf::Timestamp* va inline void NodeStats::clear_active_requests() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.active_requests_ = ::int64_t{0}; + _impl_._has_bits_[0] &= ~0x00000002u; } inline ::int64_t NodeStats::active_requests() const { // @@protoc_insertion_point(field_get:flex.NodeStats.active_requests) @@ -8917,6 +8977,7 @@ inline ::int64_t NodeStats::active_requests() const { } inline void NodeStats::set_active_requests(::int64_t value) { _internal_set_active_requests(value); + _impl_._has_bits_[0] |= 0x00000002u; // @@protoc_insertion_point(field_set:flex.NodeStats.active_requests) } inline ::int64_t NodeStats::_internal_active_requests() const { @@ -8952,7 +9013,8 @@ inline const ::flex::WorkRequest& SubmitWorkRequest::request() const ABSL_ATTRIB // @@protoc_insertion_point(field_get:flex.SubmitWorkRequest.request) return _internal_request(); } -inline void SubmitWorkRequest::unsafe_arena_set_allocated_request(::flex::WorkRequest* value) { +inline void SubmitWorkRequest::unsafe_arena_set_allocated_request( + ::flex::WorkRequest* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.request_); @@ -8965,7 +9027,7 @@ inline void SubmitWorkRequest::unsafe_arena_set_allocated_request(::flex::WorkRe } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.SubmitWorkRequest.request) } -inline ::flex::WorkRequest* SubmitWorkRequest::release_request() { +inline ::flex::WorkRequest* PROTOBUF_NULLABLE SubmitWorkRequest::release_request() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000001u; @@ -8984,7 +9046,7 @@ inline ::flex::WorkRequest* SubmitWorkRequest::release_request() { } return released; } -inline ::flex::WorkRequest* SubmitWorkRequest::unsafe_arena_release_request() { +inline ::flex::WorkRequest* PROTOBUF_NULLABLE SubmitWorkRequest::unsafe_arena_release_request() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:flex.SubmitWorkRequest.request) @@ -8993,7 +9055,7 @@ inline ::flex::WorkRequest* SubmitWorkRequest::unsafe_arena_release_request() { _impl_.request_ = nullptr; return temp; } -inline ::flex::WorkRequest* SubmitWorkRequest::_internal_mutable_request() { +inline ::flex::WorkRequest* PROTOBUF_NONNULL SubmitWorkRequest::_internal_mutable_request() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.request_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::flex::WorkRequest>(GetArena()); @@ -9001,21 +9063,22 @@ inline ::flex::WorkRequest* SubmitWorkRequest::_internal_mutable_request() { } return _impl_.request_; } -inline ::flex::WorkRequest* SubmitWorkRequest::mutable_request() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::flex::WorkRequest* PROTOBUF_NONNULL 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) { +inline void SubmitWorkRequest::set_allocated_request(::flex::WorkRequest* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { - delete (_impl_.request_); + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.request_); } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = value->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } @@ -9052,7 +9115,8 @@ inline const ::flex::Work& SubmitWorkResponse::work() const ABSL_ATTRIBUTE_LIFET // @@protoc_insertion_point(field_get:flex.SubmitWorkResponse.work) return _internal_work(); } -inline void SubmitWorkResponse::unsafe_arena_set_allocated_work(::flex::Work* value) { +inline void SubmitWorkResponse::unsafe_arena_set_allocated_work( + ::flex::Work* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.work_); @@ -9065,7 +9129,7 @@ inline void SubmitWorkResponse::unsafe_arena_set_allocated_work(::flex::Work* va } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.SubmitWorkResponse.work) } -inline ::flex::Work* SubmitWorkResponse::release_work() { +inline ::flex::Work* PROTOBUF_NULLABLE SubmitWorkResponse::release_work() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000001u; @@ -9084,7 +9148,7 @@ inline ::flex::Work* SubmitWorkResponse::release_work() { } return released; } -inline ::flex::Work* SubmitWorkResponse::unsafe_arena_release_work() { +inline ::flex::Work* PROTOBUF_NULLABLE SubmitWorkResponse::unsafe_arena_release_work() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:flex.SubmitWorkResponse.work) @@ -9093,7 +9157,7 @@ inline ::flex::Work* SubmitWorkResponse::unsafe_arena_release_work() { _impl_.work_ = nullptr; return temp; } -inline ::flex::Work* SubmitWorkResponse::_internal_mutable_work() { +inline ::flex::Work* PROTOBUF_NONNULL SubmitWorkResponse::_internal_mutable_work() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.work_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::flex::Work>(GetArena()); @@ -9101,21 +9165,22 @@ inline ::flex::Work* SubmitWorkResponse::_internal_mutable_work() { } return _impl_.work_; } -inline ::flex::Work* SubmitWorkResponse::mutable_work() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::flex::Work* PROTOBUF_NONNULL 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) { +inline void SubmitWorkResponse::set_allocated_work(::flex::Work* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { - delete (_impl_.work_); + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.work_); } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = value->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } @@ -9136,43 +9201,60 @@ inline void SubmitWorkResponse::set_allocated_work(::flex::Work* value) { inline void UpdateWorkRequest::clear_job_id() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.job_id_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; } -inline const std::string& UpdateWorkRequest::job_id() const +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) { +PROTOBUF_ALWAYS_INLINE void UpdateWorkRequest::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:flex.UpdateWorkRequest.job_id) } -inline std::string* UpdateWorkRequest::mutable_job_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_job_id(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void UpdateWorkRequest::_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* UpdateWorkRequest::_internal_mutable_job_id() { +inline ::std::string* PROTOBUF_NONNULL UpdateWorkRequest::_internal_mutable_job_id() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; return _impl_.job_id_.Mutable( GetArena()); } -inline std::string* UpdateWorkRequest::release_job_id() { +inline ::std::string* PROTOBUF_NULLABLE UpdateWorkRequest::release_job_id() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:flex.UpdateWorkRequest.job_id) - return _impl_.job_id_.Release(); + 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 UpdateWorkRequest::set_allocated_job_id(std::string* value) { +inline void UpdateWorkRequest::set_allocated_job_id(::std::string* PROTOBUF_NULLABLE 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()); @@ -9184,43 +9266,60 @@ inline void UpdateWorkRequest::set_allocated_job_id(std::string* value) { inline void UpdateWorkRequest::clear_request_id() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.request_id_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; } -inline const std::string& UpdateWorkRequest::request_id() const +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) { +PROTOBUF_ALWAYS_INLINE void UpdateWorkRequest::set_request_id(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void UpdateWorkRequest::_internal_set_request_id(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; _impl_.request_id_.Set(value, GetArena()); } -inline std::string* UpdateWorkRequest::_internal_mutable_request_id() { +inline ::std::string* PROTOBUF_NONNULL UpdateWorkRequest::_internal_mutable_request_id() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; return _impl_.request_id_.Mutable( GetArena()); } -inline std::string* UpdateWorkRequest::release_request_id() { +inline ::std::string* PROTOBUF_NULLABLE UpdateWorkRequest::release_request_id() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:flex.UpdateWorkRequest.request_id) - return _impl_.request_id_.Release(); + if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* released = _impl_.request_id_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.request_id_.Set("", GetArena()); + } + return released; } -inline void UpdateWorkRequest::set_allocated_request_id(std::string* value) { +inline void UpdateWorkRequest::set_allocated_request_id(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } _impl_.request_id_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.request_id_.IsDefault()) { _impl_.request_id_.Set("", GetArena()); @@ -9232,6 +9331,7 @@ inline void UpdateWorkRequest::set_allocated_request_id(std::string* value) { inline void UpdateWorkRequest::clear_new_state() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.new_state_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; } inline ::flex::UpdateWorkRequest_NewState UpdateWorkRequest::new_state() const { // @@protoc_insertion_point(field_get:flex.UpdateWorkRequest.new_state) @@ -9239,6 +9339,7 @@ inline ::flex::UpdateWorkRequest_NewState UpdateWorkRequest::new_state() const { } inline void UpdateWorkRequest::set_new_state(::flex::UpdateWorkRequest_NewState value) { _internal_set_new_state(value); + _impl_._has_bits_[0] |= 0x00000004u; // @@protoc_insertion_point(field_set:flex.UpdateWorkRequest.new_state) } inline ::flex::UpdateWorkRequest_NewState UpdateWorkRequest::_internal_new_state() const { @@ -9274,7 +9375,8 @@ inline const ::flex::Work& UpdateWorkResponse::work() const ABSL_ATTRIBUTE_LIFET // @@protoc_insertion_point(field_get:flex.UpdateWorkResponse.work) return _internal_work(); } -inline void UpdateWorkResponse::unsafe_arena_set_allocated_work(::flex::Work* value) { +inline void UpdateWorkResponse::unsafe_arena_set_allocated_work( + ::flex::Work* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.work_); @@ -9287,7 +9389,7 @@ inline void UpdateWorkResponse::unsafe_arena_set_allocated_work(::flex::Work* va } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.UpdateWorkResponse.work) } -inline ::flex::Work* UpdateWorkResponse::release_work() { +inline ::flex::Work* PROTOBUF_NULLABLE UpdateWorkResponse::release_work() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000001u; @@ -9306,7 +9408,7 @@ inline ::flex::Work* UpdateWorkResponse::release_work() { } return released; } -inline ::flex::Work* UpdateWorkResponse::unsafe_arena_release_work() { +inline ::flex::Work* PROTOBUF_NULLABLE UpdateWorkResponse::unsafe_arena_release_work() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:flex.UpdateWorkResponse.work) @@ -9315,7 +9417,7 @@ inline ::flex::Work* UpdateWorkResponse::unsafe_arena_release_work() { _impl_.work_ = nullptr; return temp; } -inline ::flex::Work* UpdateWorkResponse::_internal_mutable_work() { +inline ::flex::Work* PROTOBUF_NONNULL UpdateWorkResponse::_internal_mutable_work() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.work_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::flex::Work>(GetArena()); @@ -9323,21 +9425,22 @@ inline ::flex::Work* UpdateWorkResponse::_internal_mutable_work() { } return _impl_.work_; } -inline ::flex::Work* UpdateWorkResponse::mutable_work() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::flex::Work* PROTOBUF_NONNULL 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) { +inline void UpdateWorkResponse::set_allocated_work(::flex::Work* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { - delete (_impl_.work_); + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.work_); } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = value->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } @@ -9358,6 +9461,7 @@ inline void UpdateWorkResponse::set_allocated_work(::flex::Work* value) { inline void BulkUpdateWorkRequest::clear_new_state() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.new_state_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; } inline ::flex::BulkUpdateWorkRequest_NewState BulkUpdateWorkRequest::new_state() const { // @@protoc_insertion_point(field_get:flex.BulkUpdateWorkRequest.new_state) @@ -9365,6 +9469,7 @@ inline ::flex::BulkUpdateWorkRequest_NewState BulkUpdateWorkRequest::new_state() } inline void BulkUpdateWorkRequest::set_new_state(::flex::BulkUpdateWorkRequest_NewState value) { _internal_set_new_state(value); + _impl_._has_bits_[0] |= 0x00000001u; // @@protoc_insertion_point(field_set:flex.BulkUpdateWorkRequest.new_state) } inline ::flex::BulkUpdateWorkRequest_NewState BulkUpdateWorkRequest::_internal_new_state() const { @@ -9384,6 +9489,7 @@ inline void BulkUpdateWorkRequest::_internal_set_new_state(::flex::BulkUpdateWor inline void BulkUpdateWorkResponse::clear_success() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.success_ = false; + _impl_._has_bits_[0] &= ~0x00000002u; } inline bool BulkUpdateWorkResponse::success() const { // @@protoc_insertion_point(field_get:flex.BulkUpdateWorkResponse.success) @@ -9391,6 +9497,7 @@ inline bool BulkUpdateWorkResponse::success() const { } inline void BulkUpdateWorkResponse::set_success(bool value) { _internal_set_success(value); + _impl_._has_bits_[0] |= 0x00000002u; // @@protoc_insertion_point(field_set:flex.BulkUpdateWorkResponse.success) } inline bool BulkUpdateWorkResponse::_internal_success() const { @@ -9406,46 +9513,63 @@ inline void BulkUpdateWorkResponse::_internal_set_success(bool value) { inline void BulkUpdateWorkResponse::clear_message() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.message_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; } -inline const std::string& BulkUpdateWorkResponse::message() const +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) { +PROTOBUF_ALWAYS_INLINE void BulkUpdateWorkResponse::set_message(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void BulkUpdateWorkResponse::_internal_set_message(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _impl_.message_.Set(value, GetArena()); } -inline std::string* BulkUpdateWorkResponse::_internal_mutable_message() { +inline ::std::string* PROTOBUF_NONNULL BulkUpdateWorkResponse::_internal_mutable_message() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; return _impl_.message_.Mutable( GetArena()); } -inline std::string* BulkUpdateWorkResponse::release_message() { +inline ::std::string* PROTOBUF_NULLABLE 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()); + if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* released = _impl_.message_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.message_.Set("", GetArena()); + } + return released; +} +inline void BulkUpdateWorkResponse::set_allocated_message(::std::string* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _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) } @@ -9458,6 +9582,7 @@ inline void BulkUpdateWorkResponse::set_allocated_message(std::string* value) { inline void JobLockedInfo::clear_read_write_locked() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.read_write_locked_ = false; + _impl_._has_bits_[0] &= ~0x00000040u; } inline bool JobLockedInfo::read_write_locked() const { // @@protoc_insertion_point(field_get:flex.JobLockedInfo.read_write_locked) @@ -9465,6 +9590,7 @@ inline bool JobLockedInfo::read_write_locked() const { } inline void JobLockedInfo::set_read_write_locked(bool value) { _internal_set_read_write_locked(value); + _impl_._has_bits_[0] |= 0x00000040u; // @@protoc_insertion_point(field_set:flex.JobLockedInfo.read_write_locked) } inline bool JobLockedInfo::_internal_read_write_locked() const { @@ -9480,6 +9606,7 @@ inline void JobLockedInfo::_internal_set_read_write_locked(bool value) { inline void JobLockedInfo::clear_exists() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.exists_ = false; + _impl_._has_bits_[0] &= ~0x00000080u; } inline bool JobLockedInfo::exists() const { // @@protoc_insertion_point(field_get:flex.JobLockedInfo.exists) @@ -9487,6 +9614,7 @@ inline bool JobLockedInfo::exists() const { } inline void JobLockedInfo::set_exists(bool value) { _internal_set_exists(value); + _impl_._has_bits_[0] |= 0x00000080u; // @@protoc_insertion_point(field_set:flex.JobLockedInfo.exists) } inline bool JobLockedInfo::_internal_exists() const { @@ -9502,6 +9630,7 @@ inline void JobLockedInfo::_internal_set_exists(bool value) { inline void JobLockedInfo::clear_size() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.size_ = ::int64_t{0}; + _impl_._has_bits_[0] &= ~0x00000010u; } inline ::int64_t JobLockedInfo::size() const { // @@protoc_insertion_point(field_get:flex.JobLockedInfo.size) @@ -9509,6 +9638,7 @@ inline ::int64_t JobLockedInfo::size() const { } inline void JobLockedInfo::set_size(::int64_t value) { _internal_set_size(value); + _impl_._has_bits_[0] |= 0x00000010u; // @@protoc_insertion_point(field_set:flex.JobLockedInfo.size) } inline ::int64_t JobLockedInfo::_internal_size() const { @@ -9524,6 +9654,7 @@ inline void JobLockedInfo::_internal_set_size(::int64_t value) { inline void JobLockedInfo::clear_mode() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.mode_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; } inline ::uint32_t JobLockedInfo::mode() const { // @@protoc_insertion_point(field_get:flex.JobLockedInfo.mode) @@ -9531,6 +9662,7 @@ inline ::uint32_t JobLockedInfo::mode() const { } inline void JobLockedInfo::set_mode(::uint32_t value) { _internal_set_mode(value); + _impl_._has_bits_[0] |= 0x00000020u; // @@protoc_insertion_point(field_set:flex.JobLockedInfo.mode) } inline ::uint32_t JobLockedInfo::_internal_mode() const { @@ -9544,7 +9676,7 @@ inline void JobLockedInfo::_internal_set_mode(::uint32_t value) { // .google.protobuf.Timestamp mtime = 5; inline bool JobLockedInfo::has_mtime() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; PROTOBUF_ASSUME(!value || _impl_.mtime_ != nullptr); return value; } @@ -9557,23 +9689,24 @@ inline const ::google::protobuf::Timestamp& JobLockedInfo::mtime() const ABSL_AT // @@protoc_insertion_point(field_get:flex.JobLockedInfo.mtime) return _internal_mtime(); } -inline void JobLockedInfo::unsafe_arena_set_allocated_mtime(::google::protobuf::Timestamp* value) { +inline void JobLockedInfo::unsafe_arena_set_allocated_mtime( + ::google::protobuf::Timestamp* PROTOBUF_NULLABLE 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; + _impl_._has_bits_[0] |= 0x00000004u; } else { - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000004u; } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.JobLockedInfo.mtime) } -inline ::google::protobuf::Timestamp* JobLockedInfo::release_mtime() { +inline ::google::protobuf::Timestamp* PROTOBUF_NULLABLE JobLockedInfo::release_mtime() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000004u; ::google::protobuf::Timestamp* released = _impl_.mtime_; _impl_.mtime_ = nullptr; if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { @@ -9589,16 +9722,16 @@ inline ::google::protobuf::Timestamp* JobLockedInfo::release_mtime() { } return released; } -inline ::google::protobuf::Timestamp* JobLockedInfo::unsafe_arena_release_mtime() { +inline ::google::protobuf::Timestamp* PROTOBUF_NULLABLE JobLockedInfo::unsafe_arena_release_mtime() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:flex.JobLockedInfo.mtime) - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000004u; ::google::protobuf::Timestamp* temp = _impl_.mtime_; _impl_.mtime_ = nullptr; return temp; } -inline ::google::protobuf::Timestamp* JobLockedInfo::_internal_mutable_mtime() { +inline ::google::protobuf::Timestamp* PROTOBUF_NONNULL JobLockedInfo::_internal_mutable_mtime() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.mtime_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Timestamp>(GetArena()); @@ -9606,13 +9739,14 @@ inline ::google::protobuf::Timestamp* JobLockedInfo::_internal_mutable_mtime() { } return _impl_.mtime_; } -inline ::google::protobuf::Timestamp* JobLockedInfo::mutable_mtime() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; +inline ::google::protobuf::Timestamp* PROTOBUF_NONNULL JobLockedInfo::mutable_mtime() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000004u; ::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) { +inline void JobLockedInfo::set_allocated_mtime(::google::protobuf::Timestamp* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { @@ -9620,13 +9754,13 @@ inline void JobLockedInfo::set_allocated_mtime(::google::protobuf::Timestamp* va } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - _impl_._has_bits_[0] |= 0x00000001u; + _impl_._has_bits_[0] |= 0x00000004u; } else { - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000004u; } _impl_.mtime_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); @@ -9637,6 +9771,7 @@ inline void JobLockedInfo::set_allocated_mtime(::google::protobuf::Timestamp* va inline void JobLockedInfo::clear_remote_size() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.remote_size_ = ::int64_t{0}; + _impl_._has_bits_[0] &= ~0x00000200u; } inline ::int64_t JobLockedInfo::remote_size() const { // @@protoc_insertion_point(field_get:flex.JobLockedInfo.remote_size) @@ -9644,6 +9779,7 @@ inline ::int64_t JobLockedInfo::remote_size() const { } inline void JobLockedInfo::set_remote_size(::int64_t value) { _internal_set_remote_size(value); + _impl_._has_bits_[0] |= 0x00000200u; // @@protoc_insertion_point(field_set:flex.JobLockedInfo.remote_size) } inline ::int64_t JobLockedInfo::_internal_remote_size() const { @@ -9657,7 +9793,7 @@ inline void JobLockedInfo::_internal_set_remote_size(::int64_t value) { // .google.protobuf.Timestamp remote_mtime = 7; inline bool JobLockedInfo::has_remote_mtime() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; PROTOBUF_ASSUME(!value || _impl_.remote_mtime_ != nullptr); return value; } @@ -9670,23 +9806,24 @@ inline const ::google::protobuf::Timestamp& JobLockedInfo::remote_mtime() const // @@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) { +inline void JobLockedInfo::unsafe_arena_set_allocated_remote_mtime( + ::google::protobuf::Timestamp* PROTOBUF_NULLABLE 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; + _impl_._has_bits_[0] |= 0x00000008u; } else { - _impl_._has_bits_[0] &= ~0x00000002u; + _impl_._has_bits_[0] &= ~0x00000008u; } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.JobLockedInfo.remote_mtime) } -inline ::google::protobuf::Timestamp* JobLockedInfo::release_remote_mtime() { +inline ::google::protobuf::Timestamp* PROTOBUF_NULLABLE JobLockedInfo::release_remote_mtime() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] &= ~0x00000002u; + _impl_._has_bits_[0] &= ~0x00000008u; ::google::protobuf::Timestamp* released = _impl_.remote_mtime_; _impl_.remote_mtime_ = nullptr; if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { @@ -9702,16 +9839,16 @@ inline ::google::protobuf::Timestamp* JobLockedInfo::release_remote_mtime() { } return released; } -inline ::google::protobuf::Timestamp* JobLockedInfo::unsafe_arena_release_remote_mtime() { +inline ::google::protobuf::Timestamp* PROTOBUF_NULLABLE 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; + _impl_._has_bits_[0] &= ~0x00000008u; ::google::protobuf::Timestamp* temp = _impl_.remote_mtime_; _impl_.remote_mtime_ = nullptr; return temp; } -inline ::google::protobuf::Timestamp* JobLockedInfo::_internal_mutable_remote_mtime() { +inline ::google::protobuf::Timestamp* PROTOBUF_NONNULL 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()); @@ -9719,13 +9856,14 @@ inline ::google::protobuf::Timestamp* JobLockedInfo::_internal_mutable_remote_mt } return _impl_.remote_mtime_; } -inline ::google::protobuf::Timestamp* JobLockedInfo::mutable_remote_mtime() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000002u; +inline ::google::protobuf::Timestamp* PROTOBUF_NONNULL JobLockedInfo::mutable_remote_mtime() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000008u; ::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) { +inline void JobLockedInfo::set_allocated_remote_mtime(::google::protobuf::Timestamp* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { @@ -9733,13 +9871,13 @@ inline void JobLockedInfo::set_allocated_remote_mtime(::google::protobuf::Timest } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - _impl_._has_bits_[0] |= 0x00000002u; + _impl_._has_bits_[0] |= 0x00000008u; } else { - _impl_._has_bits_[0] &= ~0x00000002u; + _impl_._has_bits_[0] &= ~0x00000008u; } _impl_.remote_mtime_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); @@ -9750,6 +9888,7 @@ inline void JobLockedInfo::set_allocated_remote_mtime(::google::protobuf::Timest inline void JobLockedInfo::clear_stub_url_rst_id() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.stub_url_rst_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000400u; } inline ::uint32_t JobLockedInfo::stub_url_rst_id() const { // @@protoc_insertion_point(field_get:flex.JobLockedInfo.stub_url_rst_id) @@ -9757,6 +9896,7 @@ inline ::uint32_t JobLockedInfo::stub_url_rst_id() const { } inline void JobLockedInfo::set_stub_url_rst_id(::uint32_t value) { _internal_set_stub_url_rst_id(value); + _impl_._has_bits_[0] |= 0x00000400u; // @@protoc_insertion_point(field_set:flex.JobLockedInfo.stub_url_rst_id) } inline ::uint32_t JobLockedInfo::_internal_stub_url_rst_id() const { @@ -9772,43 +9912,60 @@ inline void JobLockedInfo::_internal_set_stub_url_rst_id(::uint32_t value) { inline void JobLockedInfo::clear_stub_url_path() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.stub_url_path_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; } -inline const std::string& JobLockedInfo::stub_url_path() const +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) { +PROTOBUF_ALWAYS_INLINE void JobLockedInfo::set_stub_url_path(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void JobLockedInfo::_internal_set_stub_url_path(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _impl_.stub_url_path_.Set(value, GetArena()); } -inline std::string* JobLockedInfo::_internal_mutable_stub_url_path() { +inline ::std::string* PROTOBUF_NONNULL JobLockedInfo::_internal_mutable_stub_url_path() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; return _impl_.stub_url_path_.Mutable( GetArena()); } -inline std::string* JobLockedInfo::release_stub_url_path() { +inline ::std::string* PROTOBUF_NULLABLE 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(); + if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* released = _impl_.stub_url_path_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.stub_url_path_.Set("", GetArena()); + } + return released; } -inline void JobLockedInfo::set_allocated_stub_url_path(std::string* value) { +inline void JobLockedInfo::set_allocated_stub_url_path(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } _impl_.stub_url_path_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.stub_url_path_.IsDefault()) { _impl_.stub_url_path_.Set("", GetArena()); @@ -9820,43 +9977,60 @@ inline void JobLockedInfo::set_allocated_stub_url_path(std::string* value) { inline void JobLockedInfo::clear_externalid() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.externalid_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; } -inline const std::string& JobLockedInfo::externalid() const +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) { +PROTOBUF_ALWAYS_INLINE void JobLockedInfo::set_externalid(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void JobLockedInfo::_internal_set_externalid(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; _impl_.externalid_.Set(value, GetArena()); } -inline std::string* JobLockedInfo::_internal_mutable_externalid() { +inline ::std::string* PROTOBUF_NONNULL JobLockedInfo::_internal_mutable_externalid() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; return _impl_.externalid_.Mutable( GetArena()); } -inline std::string* JobLockedInfo::release_externalid() { +inline ::std::string* PROTOBUF_NULLABLE JobLockedInfo::release_externalid() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:flex.JobLockedInfo.externalId) - return _impl_.externalid_.Release(); + if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* released = _impl_.externalid_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.externalid_.Set("", GetArena()); + } + return released; } -inline void JobLockedInfo::set_allocated_externalid(std::string* value) { +inline void JobLockedInfo::set_allocated_externalid(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } _impl_.externalid_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.externalid_.IsDefault()) { _impl_.externalid_.Set("", GetArena()); @@ -9868,6 +10042,7 @@ inline void JobLockedInfo::set_allocated_externalid(std::string* value) { inline void JobLockedInfo::clear_is_archived() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.is_archived_ = false; + _impl_._has_bits_[0] &= ~0x00000100u; } inline bool JobLockedInfo::is_archived() const { // @@protoc_insertion_point(field_get:flex.JobLockedInfo.is_archived) @@ -9875,6 +10050,7 @@ inline bool JobLockedInfo::is_archived() const { } inline void JobLockedInfo::set_is_archived(bool value) { _internal_set_is_archived(value); + _impl_._has_bits_[0] |= 0x00000100u; // @@protoc_insertion_point(field_set:flex.JobLockedInfo.is_archived) } inline bool JobLockedInfo::_internal_is_archived() const { @@ -9896,6 +10072,7 @@ inline void JobLockedInfo::_internal_set_is_archived(bool value) { inline void JobRequestCfg::clear_remotestoragetarget() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.remotestoragetarget_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; } inline ::uint32_t JobRequestCfg::remotestoragetarget() const { // @@protoc_insertion_point(field_get:flex.JobRequestCfg.remoteStorageTarget) @@ -9903,6 +10080,7 @@ inline ::uint32_t JobRequestCfg::remotestoragetarget() const { } inline void JobRequestCfg::set_remotestoragetarget(::uint32_t value) { _internal_set_remotestoragetarget(value); + _impl_._has_bits_[0] |= 0x00000040u; // @@protoc_insertion_point(field_set:flex.JobRequestCfg.remoteStorageTarget) } inline ::uint32_t JobRequestCfg::_internal_remotestoragetarget() const { @@ -9918,43 +10096,60 @@ inline void JobRequestCfg::_internal_set_remotestoragetarget(::uint32_t value) { inline void JobRequestCfg::clear_path() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.path_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; } -inline const std::string& JobRequestCfg::path() const +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) { +PROTOBUF_ALWAYS_INLINE void JobRequestCfg::set_path(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void JobRequestCfg::_internal_set_path(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _impl_.path_.Set(value, GetArena()); } -inline std::string* JobRequestCfg::_internal_mutable_path() { +inline ::std::string* PROTOBUF_NONNULL JobRequestCfg::_internal_mutable_path() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; return _impl_.path_.Mutable( GetArena()); } -inline std::string* JobRequestCfg::release_path() { +inline ::std::string* PROTOBUF_NULLABLE JobRequestCfg::release_path() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:flex.JobRequestCfg.path) - return _impl_.path_.Release(); + if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* released = _impl_.path_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.path_.Set("", GetArena()); + } + return released; } -inline void JobRequestCfg::set_allocated_path(std::string* value) { +inline void JobRequestCfg::set_allocated_path(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } _impl_.path_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.path_.IsDefault()) { _impl_.path_.Set("", GetArena()); @@ -9966,43 +10161,60 @@ inline void JobRequestCfg::set_allocated_path(std::string* value) { inline void JobRequestCfg::clear_remotepath() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.remotepath_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; } -inline const std::string& JobRequestCfg::remotepath() const +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) { +PROTOBUF_ALWAYS_INLINE void JobRequestCfg::set_remotepath(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void JobRequestCfg::_internal_set_remotepath(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; _impl_.remotepath_.Set(value, GetArena()); } -inline std::string* JobRequestCfg::_internal_mutable_remotepath() { +inline ::std::string* PROTOBUF_NONNULL JobRequestCfg::_internal_mutable_remotepath() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; return _impl_.remotepath_.Mutable( GetArena()); } -inline std::string* JobRequestCfg::release_remotepath() { +inline ::std::string* PROTOBUF_NULLABLE JobRequestCfg::release_remotepath() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:flex.JobRequestCfg.remotePath) - return _impl_.remotepath_.Release(); + if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* released = _impl_.remotepath_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.remotepath_.Set("", GetArena()); + } + return released; } -inline void JobRequestCfg::set_allocated_remotepath(std::string* value) { +inline void JobRequestCfg::set_allocated_remotepath(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } _impl_.remotepath_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.remotepath_.IsDefault()) { _impl_.remotepath_.Set("", GetArena()); @@ -10014,6 +10226,7 @@ inline void JobRequestCfg::set_allocated_remotepath(std::string* value) { inline void JobRequestCfg::clear_download() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.download_ = false; + _impl_._has_bits_[0] &= ~0x00000080u; } inline bool JobRequestCfg::download() const { // @@protoc_insertion_point(field_get:flex.JobRequestCfg.download) @@ -10021,6 +10234,7 @@ inline bool JobRequestCfg::download() const { } inline void JobRequestCfg::set_download(bool value) { _internal_set_download(value); + _impl_._has_bits_[0] |= 0x00000080u; // @@protoc_insertion_point(field_set:flex.JobRequestCfg.download) } inline bool JobRequestCfg::_internal_download() const { @@ -10036,6 +10250,7 @@ inline void JobRequestCfg::_internal_set_download(bool value) { inline void JobRequestCfg::clear_stub_local() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.stub_local_ = false; + _impl_._has_bits_[0] &= ~0x00000100u; } inline bool JobRequestCfg::stub_local() const { // @@protoc_insertion_point(field_get:flex.JobRequestCfg.stub_local) @@ -10043,6 +10258,7 @@ inline bool JobRequestCfg::stub_local() const { } inline void JobRequestCfg::set_stub_local(bool value) { _internal_set_stub_local(value); + _impl_._has_bits_[0] |= 0x00000100u; // @@protoc_insertion_point(field_set:flex.JobRequestCfg.stub_local) } inline bool JobRequestCfg::_internal_stub_local() const { @@ -10058,6 +10274,7 @@ inline void JobRequestCfg::_internal_set_stub_local(bool value) { inline void JobRequestCfg::clear_overwrite() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.overwrite_ = false; + _impl_._has_bits_[0] &= ~0x00000200u; } inline bool JobRequestCfg::overwrite() const { // @@protoc_insertion_point(field_get:flex.JobRequestCfg.overwrite) @@ -10065,6 +10282,7 @@ inline bool JobRequestCfg::overwrite() const { } inline void JobRequestCfg::set_overwrite(bool value) { _internal_set_overwrite(value); + _impl_._has_bits_[0] |= 0x00000200u; // @@protoc_insertion_point(field_set:flex.JobRequestCfg.overwrite) } inline bool JobRequestCfg::_internal_overwrite() const { @@ -10080,6 +10298,7 @@ inline void JobRequestCfg::_internal_set_overwrite(bool value) { inline void JobRequestCfg::clear_flatten() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.flatten_ = false; + _impl_._has_bits_[0] &= ~0x00000400u; } inline bool JobRequestCfg::flatten() const { // @@protoc_insertion_point(field_get:flex.JobRequestCfg.flatten) @@ -10087,6 +10306,7 @@ inline bool JobRequestCfg::flatten() const { } inline void JobRequestCfg::set_flatten(bool value) { _internal_set_flatten(value); + _impl_._has_bits_[0] |= 0x00000400u; // @@protoc_insertion_point(field_set:flex.JobRequestCfg.flatten) } inline bool JobRequestCfg::_internal_flatten() const { @@ -10102,6 +10322,7 @@ inline void JobRequestCfg::_internal_set_flatten(bool value) { inline void JobRequestCfg::clear_force() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.force_ = false; + _impl_._has_bits_[0] &= ~0x00001000u; } inline bool JobRequestCfg::force() const { // @@protoc_insertion_point(field_get:flex.JobRequestCfg.force) @@ -10109,6 +10330,7 @@ inline bool JobRequestCfg::force() const { } inline void JobRequestCfg::set_force(bool value) { _internal_set_force(value); + _impl_._has_bits_[0] |= 0x00001000u; // @@protoc_insertion_point(field_set:flex.JobRequestCfg.force) } inline bool JobRequestCfg::_internal_force() const { @@ -10122,14 +10344,14 @@ inline void JobRequestCfg::_internal_set_force(bool value) { // .flex.JobLockedInfo locked_info = 9; inline bool JobRequestCfg::has_locked_info() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 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; + _impl_._has_bits_[0] &= ~0x00000020u; } inline const ::flex::JobLockedInfo& JobRequestCfg::_internal_locked_info() const { ::google::protobuf::internal::TSanRead(&_impl_); @@ -10140,23 +10362,24 @@ inline const ::flex::JobLockedInfo& JobRequestCfg::locked_info() const ABSL_ATTR // @@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) { +inline void JobRequestCfg::unsafe_arena_set_allocated_locked_info( + ::flex::JobLockedInfo* PROTOBUF_NULLABLE 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; + _impl_._has_bits_[0] |= 0x00000020u; } else { - _impl_._has_bits_[0] &= ~0x00000008u; + _impl_._has_bits_[0] &= ~0x00000020u; } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.JobRequestCfg.locked_info) } -inline ::flex::JobLockedInfo* JobRequestCfg::release_locked_info() { +inline ::flex::JobLockedInfo* PROTOBUF_NULLABLE JobRequestCfg::release_locked_info() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] &= ~0x00000008u; + _impl_._has_bits_[0] &= ~0x00000020u; ::flex::JobLockedInfo* released = _impl_.locked_info_; _impl_.locked_info_ = nullptr; if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { @@ -10172,16 +10395,16 @@ inline ::flex::JobLockedInfo* JobRequestCfg::release_locked_info() { } return released; } -inline ::flex::JobLockedInfo* JobRequestCfg::unsafe_arena_release_locked_info() { +inline ::flex::JobLockedInfo* PROTOBUF_NULLABLE 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; + _impl_._has_bits_[0] &= ~0x00000020u; ::flex::JobLockedInfo* temp = _impl_.locked_info_; _impl_.locked_info_ = nullptr; return temp; } -inline ::flex::JobLockedInfo* JobRequestCfg::_internal_mutable_locked_info() { +inline ::flex::JobLockedInfo* PROTOBUF_NONNULL JobRequestCfg::_internal_mutable_locked_info() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.locked_info_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::flex::JobLockedInfo>(GetArena()); @@ -10189,27 +10412,28 @@ inline ::flex::JobLockedInfo* JobRequestCfg::_internal_mutable_locked_info() { } return _impl_.locked_info_; } -inline ::flex::JobLockedInfo* JobRequestCfg::mutable_locked_info() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000008u; +inline ::flex::JobLockedInfo* PROTOBUF_NONNULL JobRequestCfg::mutable_locked_info() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000020u; ::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) { +inline void JobRequestCfg::set_allocated_locked_info(::flex::JobLockedInfo* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { - delete (_impl_.locked_info_); + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.locked_info_); } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + ::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; + _impl_._has_bits_[0] |= 0x00000020u; } else { - _impl_._has_bits_[0] &= ~0x00000008u; + _impl_._has_bits_[0] &= ~0x00000020u; } _impl_.locked_info_ = reinterpret_cast<::flex::JobLockedInfo*>(value); @@ -10218,13 +10442,13 @@ inline void JobRequestCfg::set_allocated_locked_info(::flex::JobLockedInfo* valu // optional bool update = 10; inline bool JobRequestCfg::has_update() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; return value; } inline void JobRequestCfg::clear_update() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.update_ = false; - _impl_._has_bits_[0] &= ~0x00000020u; + _impl_._has_bits_[0] &= ~0x00002000u; } inline bool JobRequestCfg::update() const { // @@protoc_insertion_point(field_get:flex.JobRequestCfg.update) @@ -10232,7 +10456,7 @@ inline bool JobRequestCfg::update() const { } inline void JobRequestCfg::set_update(bool value) { _internal_set_update(value); - _impl_._has_bits_[0] |= 0x00000020u; + _impl_._has_bits_[0] |= 0x00002000u; // @@protoc_insertion_point(field_set:flex.JobRequestCfg.update) } inline bool JobRequestCfg::_internal_update() const { @@ -10263,76 +10487,77 @@ inline const ::google::protobuf::Map& JobRequestCfg::m // @@protoc_insertion_point(field_map:flex.JobRequestCfg.metadata) return _internal_metadata(); } -inline ::google::protobuf::Map* JobRequestCfg::_internal_mutable_metadata() { +inline ::google::protobuf::Map* PROTOBUF_NONNULL JobRequestCfg::_internal_mutable_metadata() { ::google::protobuf::internal::TSanWrite(&_impl_); return _impl_.metadata_.MutableMap(); } -inline ::google::protobuf::Map* JobRequestCfg::mutable_metadata() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::google::protobuf::Map* PROTOBUF_NONNULL 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; + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; return value; } inline void JobRequestCfg::clear_tagging() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.tagging_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; + _impl_._has_bits_[0] &= ~0x00000008u; } -inline const std::string& JobRequestCfg::tagging() const +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) { +PROTOBUF_ALWAYS_INLINE void JobRequestCfg::set_tagging(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000002u; + _impl_._has_bits_[0] |= 0x00000008u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void JobRequestCfg::_internal_set_tagging(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000002u; + _impl_._has_bits_[0] |= 0x00000008u; _impl_.tagging_.Set(value, GetArena()); } -inline std::string* JobRequestCfg::_internal_mutable_tagging() { +inline ::std::string* PROTOBUF_NONNULL JobRequestCfg::_internal_mutable_tagging() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000002u; + _impl_._has_bits_[0] |= 0x00000008u; return _impl_.tagging_.Mutable( GetArena()); } -inline std::string* JobRequestCfg::release_tagging() { +inline ::std::string* PROTOBUF_NULLABLE JobRequestCfg::release_tagging() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:flex.JobRequestCfg.tagging) - if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { + if ((_impl_._has_bits_[0] & 0x00000008u) == 0) { return nullptr; } - _impl_._has_bits_[0] &= ~0x00000002u; + _impl_._has_bits_[0] &= ~0x00000008u; 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) { +inline void JobRequestCfg::set_allocated_tagging(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; + _impl_._has_bits_[0] |= 0x00000008u; } else { - _impl_._has_bits_[0] &= ~0x00000002u; + _impl_._has_bits_[0] &= ~0x00000008u; } _impl_.tagging_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.tagging_.IsDefault()) { @@ -10343,13 +10568,13 @@ inline void JobRequestCfg::set_allocated_tagging(std::string* value) { // optional int32 priority = 11; inline bool JobRequestCfg::has_priority() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; return value; } inline void JobRequestCfg::clear_priority() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.priority_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; + _impl_._has_bits_[0] &= ~0x00000800u; } inline ::int32_t JobRequestCfg::priority() const { // @@protoc_insertion_point(field_get:flex.JobRequestCfg.priority) @@ -10357,7 +10582,7 @@ inline ::int32_t JobRequestCfg::priority() const { } inline void JobRequestCfg::set_priority(::int32_t value) { _internal_set_priority(value); - _impl_._has_bits_[0] |= 0x00000010u; + _impl_._has_bits_[0] |= 0x00000800u; // @@protoc_insertion_point(field_set:flex.JobRequestCfg.priority) } inline ::int32_t JobRequestCfg::_internal_priority() const { @@ -10371,65 +10596,65 @@ inline void JobRequestCfg::_internal_set_priority(::int32_t value) { // optional string storage_class = 12; inline bool JobRequestCfg::has_storage_class() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; return value; } inline void JobRequestCfg::clear_storage_class() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.storage_class_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000004u; } -inline const std::string& JobRequestCfg::storage_class() const +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) { +PROTOBUF_ALWAYS_INLINE void JobRequestCfg::set_storage_class(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000001u; + _impl_._has_bits_[0] |= 0x00000004u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void JobRequestCfg::_internal_set_storage_class(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000001u; + _impl_._has_bits_[0] |= 0x00000004u; _impl_.storage_class_.Set(value, GetArena()); } -inline std::string* JobRequestCfg::_internal_mutable_storage_class() { +inline ::std::string* PROTOBUF_NONNULL JobRequestCfg::_internal_mutable_storage_class() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000001u; + _impl_._has_bits_[0] |= 0x00000004u; return _impl_.storage_class_.Mutable( GetArena()); } -inline std::string* JobRequestCfg::release_storage_class() { +inline ::std::string* PROTOBUF_NULLABLE 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) { + if ((_impl_._has_bits_[0] & 0x00000004u) == 0) { return nullptr; } - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000004u; 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) { +inline void JobRequestCfg::set_allocated_storage_class(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; + _impl_._has_bits_[0] |= 0x00000004u; } else { - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000004u; } _impl_.storage_class_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.storage_class_.IsDefault()) { @@ -10440,13 +10665,13 @@ inline void JobRequestCfg::set_allocated_storage_class(std::string* value) { // optional bool allow_restore = 15; inline bool JobRequestCfg::has_allow_restore() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; return value; } inline void JobRequestCfg::clear_allow_restore() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.allow_restore_ = false; - _impl_._has_bits_[0] &= ~0x00000040u; + _impl_._has_bits_[0] &= ~0x00004000u; } inline bool JobRequestCfg::allow_restore() const { // @@protoc_insertion_point(field_get:flex.JobRequestCfg.allow_restore) @@ -10454,7 +10679,7 @@ inline bool JobRequestCfg::allow_restore() const { } inline void JobRequestCfg::set_allow_restore(bool value) { _internal_set_allow_restore(value); - _impl_._has_bits_[0] |= 0x00000040u; + _impl_._has_bits_[0] |= 0x00004000u; // @@protoc_insertion_point(field_set:flex.JobRequestCfg.allow_restore) } inline bool JobRequestCfg::_internal_allow_restore() const { @@ -10468,65 +10693,65 @@ inline void JobRequestCfg::_internal_set_allow_restore(bool value) { // optional string filter_expr = 16; inline bool JobRequestCfg::has_filter_expr() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; return value; } inline void JobRequestCfg::clear_filter_expr() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.filter_expr_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000004u; + _impl_._has_bits_[0] &= ~0x00000010u; } -inline const std::string& JobRequestCfg::filter_expr() const +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) { +PROTOBUF_ALWAYS_INLINE void JobRequestCfg::set_filter_expr(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000004u; + _impl_._has_bits_[0] |= 0x00000010u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void JobRequestCfg::_internal_set_filter_expr(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000004u; + _impl_._has_bits_[0] |= 0x00000010u; _impl_.filter_expr_.Set(value, GetArena()); } -inline std::string* JobRequestCfg::_internal_mutable_filter_expr() { +inline ::std::string* PROTOBUF_NONNULL JobRequestCfg::_internal_mutable_filter_expr() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000004u; + _impl_._has_bits_[0] |= 0x00000010u; return _impl_.filter_expr_.Mutable( GetArena()); } -inline std::string* JobRequestCfg::release_filter_expr() { +inline ::std::string* PROTOBUF_NULLABLE 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) { + if ((_impl_._has_bits_[0] & 0x00000010u) == 0) { return nullptr; } - _impl_._has_bits_[0] &= ~0x00000004u; + _impl_._has_bits_[0] &= ~0x00000010u; 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) { +inline void JobRequestCfg::set_allocated_filter_expr(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000004u; + _impl_._has_bits_[0] |= 0x00000010u; } else { - _impl_._has_bits_[0] &= ~0x00000004u; + _impl_._has_bits_[0] &= ~0x00000010u; } _impl_.filter_expr_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.filter_expr_.IsDefault()) { @@ -10543,6 +10768,7 @@ inline void JobRequestCfg::set_allocated_filter_expr(std::string* value) { inline void WorkRequest_Segment::clear_offset_start() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.offset_start_ = ::int64_t{0}; + _impl_._has_bits_[0] &= ~0x00000001u; } inline ::int64_t WorkRequest_Segment::offset_start() const { // @@protoc_insertion_point(field_get:flex.WorkRequest.Segment.offset_start) @@ -10550,6 +10776,7 @@ inline ::int64_t WorkRequest_Segment::offset_start() const { } inline void WorkRequest_Segment::set_offset_start(::int64_t value) { _internal_set_offset_start(value); + _impl_._has_bits_[0] |= 0x00000001u; // @@protoc_insertion_point(field_set:flex.WorkRequest.Segment.offset_start) } inline ::int64_t WorkRequest_Segment::_internal_offset_start() const { @@ -10565,6 +10792,7 @@ inline void WorkRequest_Segment::_internal_set_offset_start(::int64_t value) { inline void WorkRequest_Segment::clear_offset_stop() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.offset_stop_ = ::int64_t{0}; + _impl_._has_bits_[0] &= ~0x00000002u; } inline ::int64_t WorkRequest_Segment::offset_stop() const { // @@protoc_insertion_point(field_get:flex.WorkRequest.Segment.offset_stop) @@ -10572,6 +10800,7 @@ inline ::int64_t WorkRequest_Segment::offset_stop() const { } inline void WorkRequest_Segment::set_offset_stop(::int64_t value) { _internal_set_offset_stop(value); + _impl_._has_bits_[0] |= 0x00000002u; // @@protoc_insertion_point(field_set:flex.WorkRequest.Segment.offset_stop) } inline ::int64_t WorkRequest_Segment::_internal_offset_stop() const { @@ -10587,6 +10816,7 @@ inline void WorkRequest_Segment::_internal_set_offset_stop(::int64_t value) { inline void WorkRequest_Segment::clear_parts_start() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.parts_start_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; } inline ::int32_t WorkRequest_Segment::parts_start() const { // @@protoc_insertion_point(field_get:flex.WorkRequest.Segment.parts_start) @@ -10594,6 +10824,7 @@ inline ::int32_t WorkRequest_Segment::parts_start() const { } inline void WorkRequest_Segment::set_parts_start(::int32_t value) { _internal_set_parts_start(value); + _impl_._has_bits_[0] |= 0x00000004u; // @@protoc_insertion_point(field_set:flex.WorkRequest.Segment.parts_start) } inline ::int32_t WorkRequest_Segment::_internal_parts_start() const { @@ -10609,6 +10840,7 @@ inline void WorkRequest_Segment::_internal_set_parts_start(::int32_t value) { inline void WorkRequest_Segment::clear_parts_stop() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.parts_stop_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; } inline ::int32_t WorkRequest_Segment::parts_stop() const { // @@protoc_insertion_point(field_get:flex.WorkRequest.Segment.parts_stop) @@ -10616,6 +10848,7 @@ inline ::int32_t WorkRequest_Segment::parts_stop() const { } inline void WorkRequest_Segment::set_parts_stop(::int32_t value) { _internal_set_parts_stop(value); + _impl_._has_bits_[0] |= 0x00000008u; // @@protoc_insertion_point(field_set:flex.WorkRequest.Segment.parts_stop) } inline ::int32_t WorkRequest_Segment::_internal_parts_stop() const { @@ -10635,43 +10868,60 @@ inline void WorkRequest_Segment::_internal_set_parts_stop(::int32_t value) { inline void WorkRequest::clear_job_id() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.job_id_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; } -inline const std::string& WorkRequest::job_id() const +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) { +PROTOBUF_ALWAYS_INLINE void WorkRequest::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:flex.WorkRequest.job_id) } -inline std::string* WorkRequest::mutable_job_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_job_id(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void WorkRequest::_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* WorkRequest::_internal_mutable_job_id() { +inline ::std::string* PROTOBUF_NONNULL WorkRequest::_internal_mutable_job_id() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; return _impl_.job_id_.Mutable( GetArena()); } -inline std::string* WorkRequest::release_job_id() { +inline ::std::string* PROTOBUF_NULLABLE WorkRequest::release_job_id() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:flex.WorkRequest.job_id) - return _impl_.job_id_.Release(); + 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 WorkRequest::set_allocated_job_id(std::string* value) { +inline void WorkRequest::set_allocated_job_id(::std::string* PROTOBUF_NULLABLE 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()); @@ -10683,43 +10933,60 @@ inline void WorkRequest::set_allocated_job_id(std::string* value) { inline void WorkRequest::clear_request_id() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.request_id_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; } -inline const std::string& WorkRequest::request_id() const +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) { +PROTOBUF_ALWAYS_INLINE void WorkRequest::set_request_id(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void WorkRequest::_internal_set_request_id(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; _impl_.request_id_.Set(value, GetArena()); } -inline std::string* WorkRequest::_internal_mutable_request_id() { +inline ::std::string* PROTOBUF_NONNULL WorkRequest::_internal_mutable_request_id() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; return _impl_.request_id_.Mutable( GetArena()); } -inline std::string* WorkRequest::release_request_id() { +inline ::std::string* PROTOBUF_NULLABLE WorkRequest::release_request_id() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:flex.WorkRequest.request_id) - return _impl_.request_id_.Release(); + if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* released = _impl_.request_id_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.request_id_.Set("", GetArena()); + } + return released; } -inline void WorkRequest::set_allocated_request_id(std::string* value) { +inline void WorkRequest::set_allocated_request_id(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } _impl_.request_id_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.request_id_.IsDefault()) { _impl_.request_id_.Set("", GetArena()); @@ -10731,43 +10998,60 @@ inline void WorkRequest::set_allocated_request_id(std::string* value) { inline void WorkRequest::clear_external_id() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.external_id_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000004u; } -inline const std::string& WorkRequest::external_id() const +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) { +PROTOBUF_ALWAYS_INLINE void WorkRequest::set_external_id(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000004u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void WorkRequest::_internal_set_external_id(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000004u; _impl_.external_id_.Set(value, GetArena()); } -inline std::string* WorkRequest::_internal_mutable_external_id() { +inline ::std::string* PROTOBUF_NONNULL WorkRequest::_internal_mutable_external_id() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000004u; return _impl_.external_id_.Mutable( GetArena()); } -inline std::string* WorkRequest::release_external_id() { +inline ::std::string* PROTOBUF_NULLABLE WorkRequest::release_external_id() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:flex.WorkRequest.external_id) - return _impl_.external_id_.Release(); + if ((_impl_._has_bits_[0] & 0x00000004u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000004u; + auto* released = _impl_.external_id_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.external_id_.Set("", GetArena()); + } + return released; } -inline void WorkRequest::set_allocated_external_id(std::string* value) { +inline void WorkRequest::set_allocated_external_id(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } _impl_.external_id_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.external_id_.IsDefault()) { _impl_.external_id_.Set("", GetArena()); @@ -10779,43 +11063,60 @@ inline void WorkRequest::set_allocated_external_id(std::string* value) { inline void WorkRequest::clear_path() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.path_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000008u; } -inline const std::string& WorkRequest::path() const +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) { +PROTOBUF_ALWAYS_INLINE void WorkRequest::set_path(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000008u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void WorkRequest::_internal_set_path(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000008u; _impl_.path_.Set(value, GetArena()); } -inline std::string* WorkRequest::_internal_mutable_path() { +inline ::std::string* PROTOBUF_NONNULL WorkRequest::_internal_mutable_path() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000008u; return _impl_.path_.Mutable( GetArena()); } -inline std::string* WorkRequest::release_path() { +inline ::std::string* PROTOBUF_NULLABLE WorkRequest::release_path() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:flex.WorkRequest.path) - return _impl_.path_.Release(); + if ((_impl_._has_bits_[0] & 0x00000008u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000008u; + auto* released = _impl_.path_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.path_.Set("", GetArena()); + } + return released; } -inline void WorkRequest::set_allocated_path(std::string* value) { +inline void WorkRequest::set_allocated_path(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } _impl_.path_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.path_.IsDefault()) { _impl_.path_.Set("", GetArena()); @@ -10825,14 +11126,14 @@ inline void WorkRequest::set_allocated_path(std::string* value) { // .flex.WorkRequest.Segment segment = 5; inline bool WorkRequest::has_segment() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 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; + _impl_._has_bits_[0] &= ~0x00000010u; } inline const ::flex::WorkRequest_Segment& WorkRequest::_internal_segment() const { ::google::protobuf::internal::TSanRead(&_impl_); @@ -10843,23 +11144,24 @@ inline const ::flex::WorkRequest_Segment& WorkRequest::segment() const ABSL_ATTR // @@protoc_insertion_point(field_get:flex.WorkRequest.segment) return _internal_segment(); } -inline void WorkRequest::unsafe_arena_set_allocated_segment(::flex::WorkRequest_Segment* value) { +inline void WorkRequest::unsafe_arena_set_allocated_segment( + ::flex::WorkRequest_Segment* PROTOBUF_NULLABLE 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; + _impl_._has_bits_[0] |= 0x00000010u; } else { - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000010u; } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.WorkRequest.segment) } -inline ::flex::WorkRequest_Segment* WorkRequest::release_segment() { +inline ::flex::WorkRequest_Segment* PROTOBUF_NULLABLE WorkRequest::release_segment() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000010u; ::flex::WorkRequest_Segment* released = _impl_.segment_; _impl_.segment_ = nullptr; if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { @@ -10875,16 +11177,16 @@ inline ::flex::WorkRequest_Segment* WorkRequest::release_segment() { } return released; } -inline ::flex::WorkRequest_Segment* WorkRequest::unsafe_arena_release_segment() { +inline ::flex::WorkRequest_Segment* PROTOBUF_NULLABLE WorkRequest::unsafe_arena_release_segment() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:flex.WorkRequest.segment) - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000010u; ::flex::WorkRequest_Segment* temp = _impl_.segment_; _impl_.segment_ = nullptr; return temp; } -inline ::flex::WorkRequest_Segment* WorkRequest::_internal_mutable_segment() { +inline ::flex::WorkRequest_Segment* PROTOBUF_NONNULL WorkRequest::_internal_mutable_segment() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.segment_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::flex::WorkRequest_Segment>(GetArena()); @@ -10892,27 +11194,28 @@ inline ::flex::WorkRequest_Segment* WorkRequest::_internal_mutable_segment() { } return _impl_.segment_; } -inline ::flex::WorkRequest_Segment* WorkRequest::mutable_segment() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; +inline ::flex::WorkRequest_Segment* PROTOBUF_NONNULL WorkRequest::mutable_segment() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000010u; ::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) { +inline void WorkRequest::set_allocated_segment(::flex::WorkRequest_Segment* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { - delete (_impl_.segment_); + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.segment_); } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + ::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; + _impl_._has_bits_[0] |= 0x00000010u; } else { - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000010u; } _impl_.segment_ = reinterpret_cast<::flex::WorkRequest_Segment*>(value); @@ -10923,6 +11226,7 @@ inline void WorkRequest::set_allocated_segment(::flex::WorkRequest_Segment* valu inline void WorkRequest::clear_remote_storage_target() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.remote_storage_target_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; } inline ::uint32_t WorkRequest::remote_storage_target() const { // @@protoc_insertion_point(field_get:flex.WorkRequest.remote_storage_target) @@ -10930,6 +11234,7 @@ inline ::uint32_t WorkRequest::remote_storage_target() const { } inline void WorkRequest::set_remote_storage_target(::uint32_t value) { _internal_set_remote_storage_target(value); + _impl_._has_bits_[0] |= 0x00000020u; // @@protoc_insertion_point(field_set:flex.WorkRequest.remote_storage_target) } inline ::uint32_t WorkRequest::_internal_remote_storage_target() const { @@ -10962,11 +11267,11 @@ inline void WorkRequest::clear_mock() { clear_has_Type(); } } -inline ::flex::MockJob* WorkRequest::release_mock() { +inline ::flex::MockJob* PROTOBUF_NULLABLE WorkRequest::release_mock() { // @@protoc_insertion_point(field_release:flex.WorkRequest.mock) if (Type_case() == kMock) { clear_has_Type(); - auto* temp = _impl_.Type_.mock_; + auto* temp = reinterpret_cast<::flex::MockJob*>(_impl_.Type_.mock_); if (GetArena() != nullptr) { temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); } @@ -10977,44 +11282,46 @@ inline ::flex::MockJob* WorkRequest::release_mock() { } } inline const ::flex::MockJob& WorkRequest::_internal_mock() const { - return Type_case() == kMock ? *_impl_.Type_.mock_ : reinterpret_cast<::flex::MockJob&>(::flex::_MockJob_default_instance_); + return Type_case() == kMock ? *reinterpret_cast<::flex::MockJob*>(_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() { +inline ::flex::MockJob* PROTOBUF_NULLABLE 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_; + auto* temp = reinterpret_cast<::flex::MockJob*>(_impl_.Type_.mock_); _impl_.Type_.mock_ = nullptr; return temp; } else { return nullptr; } } -inline void WorkRequest::unsafe_arena_set_allocated_mock(::flex::MockJob* value) { +inline void WorkRequest::unsafe_arena_set_allocated_mock( + ::flex::MockJob* PROTOBUF_NULLABLE 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; + _impl_.Type_.mock_ = reinterpret_cast<::google::protobuf::Message*>(value); } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.WorkRequest.mock) } -inline ::flex::MockJob* WorkRequest::_internal_mutable_mock() { +inline ::flex::MockJob* PROTOBUF_NONNULL WorkRequest::_internal_mutable_mock() { if (Type_case() != kMock) { clear_Type(); set_has_mock(); - _impl_.Type_.mock_ = - ::google::protobuf::Message::DefaultConstruct<::flex::MockJob>(GetArena()); + _impl_.Type_.mock_ = reinterpret_cast<::google::protobuf::Message*>( + ::google::protobuf::Message::DefaultConstruct<::flex::MockJob>(GetArena())); } - return _impl_.Type_.mock_; + return reinterpret_cast<::flex::MockJob*>(_impl_.Type_.mock_); } -inline ::flex::MockJob* WorkRequest::mutable_mock() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::flex::MockJob* PROTOBUF_NONNULL WorkRequest::mutable_mock() + ABSL_ATTRIBUTE_LIFETIME_BOUND { ::flex::MockJob* _msg = _internal_mutable_mock(); // @@protoc_insertion_point(field_mutable:flex.WorkRequest.mock) return _msg; @@ -11041,11 +11348,11 @@ inline void WorkRequest::clear_sync() { clear_has_Type(); } } -inline ::flex::SyncJob* WorkRequest::release_sync() { +inline ::flex::SyncJob* PROTOBUF_NULLABLE WorkRequest::release_sync() { // @@protoc_insertion_point(field_release:flex.WorkRequest.sync) if (Type_case() == kSync) { clear_has_Type(); - auto* temp = _impl_.Type_.sync_; + auto* temp = reinterpret_cast<::flex::SyncJob*>(_impl_.Type_.sync_); if (GetArena() != nullptr) { temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); } @@ -11056,44 +11363,46 @@ inline ::flex::SyncJob* WorkRequest::release_sync() { } } inline const ::flex::SyncJob& WorkRequest::_internal_sync() const { - return Type_case() == kSync ? *_impl_.Type_.sync_ : reinterpret_cast<::flex::SyncJob&>(::flex::_SyncJob_default_instance_); + return Type_case() == kSync ? *reinterpret_cast<::flex::SyncJob*>(_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() { +inline ::flex::SyncJob* PROTOBUF_NULLABLE 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_; + auto* temp = reinterpret_cast<::flex::SyncJob*>(_impl_.Type_.sync_); _impl_.Type_.sync_ = nullptr; return temp; } else { return nullptr; } } -inline void WorkRequest::unsafe_arena_set_allocated_sync(::flex::SyncJob* value) { +inline void WorkRequest::unsafe_arena_set_allocated_sync( + ::flex::SyncJob* PROTOBUF_NULLABLE 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; + _impl_.Type_.sync_ = reinterpret_cast<::google::protobuf::Message*>(value); } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.WorkRequest.sync) } -inline ::flex::SyncJob* WorkRequest::_internal_mutable_sync() { +inline ::flex::SyncJob* PROTOBUF_NONNULL WorkRequest::_internal_mutable_sync() { if (Type_case() != kSync) { clear_Type(); set_has_sync(); - _impl_.Type_.sync_ = - ::google::protobuf::Message::DefaultConstruct<::flex::SyncJob>(GetArena()); + _impl_.Type_.sync_ = reinterpret_cast<::google::protobuf::Message*>( + ::google::protobuf::Message::DefaultConstruct<::flex::SyncJob>(GetArena())); } - return _impl_.Type_.sync_; + return reinterpret_cast<::flex::SyncJob*>(_impl_.Type_.sync_); } -inline ::flex::SyncJob* WorkRequest::mutable_sync() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::flex::SyncJob* PROTOBUF_NONNULL WorkRequest::mutable_sync() + ABSL_ATTRIBUTE_LIFETIME_BOUND { ::flex::SyncJob* _msg = _internal_mutable_sync(); // @@protoc_insertion_point(field_mutable:flex.WorkRequest.sync) return _msg; @@ -11120,11 +11429,11 @@ inline void WorkRequest::clear_builder() { clear_has_Type(); } } -inline ::flex::BuilderJob* WorkRequest::release_builder() { +inline ::flex::BuilderJob* PROTOBUF_NULLABLE WorkRequest::release_builder() { // @@protoc_insertion_point(field_release:flex.WorkRequest.builder) if (Type_case() == kBuilder) { clear_has_Type(); - auto* temp = _impl_.Type_.builder_; + auto* temp = reinterpret_cast<::flex::BuilderJob*>(_impl_.Type_.builder_); if (GetArena() != nullptr) { temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); } @@ -11135,44 +11444,46 @@ inline ::flex::BuilderJob* WorkRequest::release_builder() { } } inline const ::flex::BuilderJob& WorkRequest::_internal_builder() const { - return Type_case() == kBuilder ? *_impl_.Type_.builder_ : reinterpret_cast<::flex::BuilderJob&>(::flex::_BuilderJob_default_instance_); + return Type_case() == kBuilder ? *reinterpret_cast<::flex::BuilderJob*>(_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() { +inline ::flex::BuilderJob* PROTOBUF_NULLABLE 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_; + auto* temp = reinterpret_cast<::flex::BuilderJob*>(_impl_.Type_.builder_); _impl_.Type_.builder_ = nullptr; return temp; } else { return nullptr; } } -inline void WorkRequest::unsafe_arena_set_allocated_builder(::flex::BuilderJob* value) { +inline void WorkRequest::unsafe_arena_set_allocated_builder( + ::flex::BuilderJob* PROTOBUF_NULLABLE 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; + _impl_.Type_.builder_ = reinterpret_cast<::google::protobuf::Message*>(value); } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.WorkRequest.builder) } -inline ::flex::BuilderJob* WorkRequest::_internal_mutable_builder() { +inline ::flex::BuilderJob* PROTOBUF_NONNULL WorkRequest::_internal_mutable_builder() { if (Type_case() != kBuilder) { clear_Type(); set_has_builder(); - _impl_.Type_.builder_ = - ::google::protobuf::Message::DefaultConstruct<::flex::BuilderJob>(GetArena()); + _impl_.Type_.builder_ = reinterpret_cast<::google::protobuf::Message*>( + ::google::protobuf::Message::DefaultConstruct<::flex::BuilderJob>(GetArena())); } - return _impl_.Type_.builder_; + return reinterpret_cast<::flex::BuilderJob*>(_impl_.Type_.builder_); } -inline ::flex::BuilderJob* WorkRequest::mutable_builder() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::flex::BuilderJob* PROTOBUF_NONNULL WorkRequest::mutable_builder() + ABSL_ATTRIBUTE_LIFETIME_BOUND { ::flex::BuilderJob* _msg = _internal_mutable_builder(); // @@protoc_insertion_point(field_mutable:flex.WorkRequest.builder) return _msg; @@ -11182,6 +11493,7 @@ inline ::flex::BuilderJob* WorkRequest::mutable_builder() ABSL_ATTRIBUTE_LIFETIM inline void WorkRequest::clear_stub_local() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.stub_local_ = false; + _impl_._has_bits_[0] &= ~0x00000040u; } inline bool WorkRequest::stub_local() const { // @@protoc_insertion_point(field_get:flex.WorkRequest.stub_local) @@ -11189,6 +11501,7 @@ inline bool WorkRequest::stub_local() const { } inline void WorkRequest::set_stub_local(bool value) { _internal_set_stub_local(value); + _impl_._has_bits_[0] |= 0x00000040u; // @@protoc_insertion_point(field_set:flex.WorkRequest.stub_local) } inline bool WorkRequest::_internal_stub_local() const { @@ -11202,13 +11515,13 @@ inline void WorkRequest::_internal_set_stub_local(bool value) { // optional int32 priority = 9; inline bool WorkRequest::has_priority() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; return value; } inline void WorkRequest::clear_priority() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.priority_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; + _impl_._has_bits_[0] &= ~0x00000080u; } inline ::int32_t WorkRequest::priority() const { // @@protoc_insertion_point(field_get:flex.WorkRequest.priority) @@ -11216,7 +11529,7 @@ inline ::int32_t WorkRequest::priority() const { } inline void WorkRequest::set_priority(::int32_t value) { _internal_set_priority(value); - _impl_._has_bits_[0] |= 0x00000002u; + _impl_._has_bits_[0] |= 0x00000080u; // @@protoc_insertion_point(field_set:flex.WorkRequest.priority) } inline ::int32_t WorkRequest::_internal_priority() const { @@ -11261,7 +11574,8 @@ inline const ::flex::JobRequestCfg& BuilderJob::cfg() const ABSL_ATTRIBUTE_LIFET // @@protoc_insertion_point(field_get:flex.BuilderJob.cfg) return _internal_cfg(); } -inline void BuilderJob::unsafe_arena_set_allocated_cfg(::flex::JobRequestCfg* value) { +inline void BuilderJob::unsafe_arena_set_allocated_cfg( + ::flex::JobRequestCfg* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.cfg_); @@ -11274,7 +11588,7 @@ inline void BuilderJob::unsafe_arena_set_allocated_cfg(::flex::JobRequestCfg* va } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.BuilderJob.cfg) } -inline ::flex::JobRequestCfg* BuilderJob::release_cfg() { +inline ::flex::JobRequestCfg* PROTOBUF_NULLABLE BuilderJob::release_cfg() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000001u; @@ -11293,7 +11607,7 @@ inline ::flex::JobRequestCfg* BuilderJob::release_cfg() { } return released; } -inline ::flex::JobRequestCfg* BuilderJob::unsafe_arena_release_cfg() { +inline ::flex::JobRequestCfg* PROTOBUF_NULLABLE BuilderJob::unsafe_arena_release_cfg() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:flex.BuilderJob.cfg) @@ -11302,7 +11616,7 @@ inline ::flex::JobRequestCfg* BuilderJob::unsafe_arena_release_cfg() { _impl_.cfg_ = nullptr; return temp; } -inline ::flex::JobRequestCfg* BuilderJob::_internal_mutable_cfg() { +inline ::flex::JobRequestCfg* PROTOBUF_NONNULL BuilderJob::_internal_mutable_cfg() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.cfg_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::flex::JobRequestCfg>(GetArena()); @@ -11310,21 +11624,22 @@ inline ::flex::JobRequestCfg* BuilderJob::_internal_mutable_cfg() { } return _impl_.cfg_; } -inline ::flex::JobRequestCfg* BuilderJob::mutable_cfg() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::flex::JobRequestCfg* PROTOBUF_NONNULL 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) { +inline void BuilderJob::set_allocated_cfg(::flex::JobRequestCfg* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { - delete (_impl_.cfg_); + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.cfg_); } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = value->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } @@ -11341,6 +11656,7 @@ inline void BuilderJob::set_allocated_cfg(::flex::JobRequestCfg* value) { inline void BuilderJob::clear_submitted() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.submitted_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; } inline ::int32_t BuilderJob::submitted() const { // @@protoc_insertion_point(field_get:flex.BuilderJob.submitted) @@ -11348,6 +11664,7 @@ inline ::int32_t BuilderJob::submitted() const { } inline void BuilderJob::set_submitted(::int32_t value) { _internal_set_submitted(value); + _impl_._has_bits_[0] |= 0x00000002u; // @@protoc_insertion_point(field_set:flex.BuilderJob.submitted) } inline ::int32_t BuilderJob::_internal_submitted() const { @@ -11363,6 +11680,7 @@ inline void BuilderJob::_internal_set_submitted(::int32_t value) { inline void BuilderJob::clear_errors() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.errors_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; } inline ::int32_t BuilderJob::errors() const { // @@protoc_insertion_point(field_get:flex.BuilderJob.errors) @@ -11370,6 +11688,7 @@ inline ::int32_t BuilderJob::errors() const { } inline void BuilderJob::set_errors(::int32_t value) { _internal_set_errors(value); + _impl_._has_bits_[0] |= 0x00000004u; // @@protoc_insertion_point(field_set:flex.BuilderJob.errors) } inline ::int32_t BuilderJob::_internal_errors() const { @@ -11389,6 +11708,7 @@ inline void BuilderJob::_internal_set_errors(::int32_t value) { inline void MockJob::clear_num_test_segments() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.num_test_segments_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; } inline ::int32_t MockJob::num_test_segments() const { // @@protoc_insertion_point(field_get:flex.MockJob.num_test_segments) @@ -11396,6 +11716,7 @@ inline ::int32_t MockJob::num_test_segments() const { } inline void MockJob::set_num_test_segments(::int32_t value) { _internal_set_num_test_segments(value); + _impl_._has_bits_[0] |= 0x00000010u; // @@protoc_insertion_point(field_set:flex.MockJob.num_test_segments) } inline ::int32_t MockJob::_internal_num_test_segments() const { @@ -11411,6 +11732,7 @@ inline void MockJob::_internal_set_num_test_segments(::int32_t value) { inline void MockJob::clear_file_size() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.file_size_ = ::int64_t{0}; + _impl_._has_bits_[0] &= ~0x00000008u; } inline ::int64_t MockJob::file_size() const { // @@protoc_insertion_point(field_get:flex.MockJob.file_size) @@ -11418,6 +11740,7 @@ inline ::int64_t MockJob::file_size() const { } inline void MockJob::set_file_size(::int64_t value) { _internal_set_file_size(value); + _impl_._has_bits_[0] |= 0x00000008u; // @@protoc_insertion_point(field_set:flex.MockJob.file_size) } inline ::int64_t MockJob::_internal_file_size() const { @@ -11433,43 +11756,60 @@ inline void MockJob::_internal_set_file_size(::int64_t value) { inline void MockJob::clear_external_id() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.external_id_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; } -inline const std::string& MockJob::external_id() const +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) { +PROTOBUF_ALWAYS_INLINE void MockJob::set_external_id(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void MockJob::_internal_set_external_id(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _impl_.external_id_.Set(value, GetArena()); } -inline std::string* MockJob::_internal_mutable_external_id() { +inline ::std::string* PROTOBUF_NONNULL MockJob::_internal_mutable_external_id() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; return _impl_.external_id_.Mutable( GetArena()); } -inline std::string* MockJob::release_external_id() { +inline ::std::string* PROTOBUF_NULLABLE MockJob::release_external_id() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:flex.MockJob.external_id) - return _impl_.external_id_.Release(); + if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* released = _impl_.external_id_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.external_id_.Set("", GetArena()); + } + return released; } -inline void MockJob::set_allocated_external_id(std::string* value) { +inline void MockJob::set_allocated_external_id(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } _impl_.external_id_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.external_id_.IsDefault()) { _impl_.external_id_.Set("", GetArena()); @@ -11481,6 +11821,7 @@ inline void MockJob::set_allocated_external_id(std::string* value) { inline void MockJob::clear_should_fail() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.should_fail_ = false; + _impl_._has_bits_[0] &= ~0x00000020u; } inline bool MockJob::should_fail() const { // @@protoc_insertion_point(field_get:flex.MockJob.should_fail) @@ -11488,6 +11829,7 @@ inline bool MockJob::should_fail() const { } inline void MockJob::set_should_fail(bool value) { _internal_set_should_fail(value); + _impl_._has_bits_[0] |= 0x00000020u; // @@protoc_insertion_point(field_set:flex.MockJob.should_fail) } inline bool MockJob::_internal_should_fail() const { @@ -11501,14 +11843,14 @@ inline void MockJob::_internal_set_should_fail(bool value) { // .flex.JobLockedInfo locked_info = 6; inline bool MockJob::has_locked_info() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 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; + _impl_._has_bits_[0] &= ~0x00000002u; } inline const ::flex::JobLockedInfo& MockJob::_internal_locked_info() const { ::google::protobuf::internal::TSanRead(&_impl_); @@ -11519,23 +11861,24 @@ inline const ::flex::JobLockedInfo& MockJob::locked_info() const ABSL_ATTRIBUTE_ // @@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) { +inline void MockJob::unsafe_arena_set_allocated_locked_info( + ::flex::JobLockedInfo* PROTOBUF_NULLABLE 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; + _impl_._has_bits_[0] |= 0x00000002u; } else { - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000002u; } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.MockJob.locked_info) } -inline ::flex::JobLockedInfo* MockJob::release_locked_info() { +inline ::flex::JobLockedInfo* PROTOBUF_NULLABLE MockJob::release_locked_info() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000002u; ::flex::JobLockedInfo* released = _impl_.locked_info_; _impl_.locked_info_ = nullptr; if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { @@ -11551,16 +11894,16 @@ inline ::flex::JobLockedInfo* MockJob::release_locked_info() { } return released; } -inline ::flex::JobLockedInfo* MockJob::unsafe_arena_release_locked_info() { +inline ::flex::JobLockedInfo* PROTOBUF_NULLABLE 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; + _impl_._has_bits_[0] &= ~0x00000002u; ::flex::JobLockedInfo* temp = _impl_.locked_info_; _impl_.locked_info_ = nullptr; return temp; } -inline ::flex::JobLockedInfo* MockJob::_internal_mutable_locked_info() { +inline ::flex::JobLockedInfo* PROTOBUF_NONNULL MockJob::_internal_mutable_locked_info() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.locked_info_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::flex::JobLockedInfo>(GetArena()); @@ -11568,27 +11911,28 @@ inline ::flex::JobLockedInfo* MockJob::_internal_mutable_locked_info() { } return _impl_.locked_info_; } -inline ::flex::JobLockedInfo* MockJob::mutable_locked_info() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; +inline ::flex::JobLockedInfo* PROTOBUF_NONNULL MockJob::mutable_locked_info() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; ::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) { +inline void MockJob::set_allocated_locked_info(::flex::JobLockedInfo* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { - delete (_impl_.locked_info_); + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.locked_info_); } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + ::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; + _impl_._has_bits_[0] |= 0x00000002u; } else { - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000002u; } _impl_.locked_info_ = reinterpret_cast<::flex::JobLockedInfo*>(value); @@ -11597,14 +11941,14 @@ inline void MockJob::set_allocated_locked_info(::flex::JobLockedInfo* value) { // .flex.JobRequestCfg cfg = 7; inline bool MockJob::has_cfg() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 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; + _impl_._has_bits_[0] &= ~0x00000004u; } inline const ::flex::JobRequestCfg& MockJob::_internal_cfg() const { ::google::protobuf::internal::TSanRead(&_impl_); @@ -11615,23 +11959,24 @@ inline const ::flex::JobRequestCfg& MockJob::cfg() const ABSL_ATTRIBUTE_LIFETIME // @@protoc_insertion_point(field_get:flex.MockJob.cfg) return _internal_cfg(); } -inline void MockJob::unsafe_arena_set_allocated_cfg(::flex::JobRequestCfg* value) { +inline void MockJob::unsafe_arena_set_allocated_cfg( + ::flex::JobRequestCfg* PROTOBUF_NULLABLE 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; + _impl_._has_bits_[0] |= 0x00000004u; } else { - _impl_._has_bits_[0] &= ~0x00000002u; + _impl_._has_bits_[0] &= ~0x00000004u; } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.MockJob.cfg) } -inline ::flex::JobRequestCfg* MockJob::release_cfg() { +inline ::flex::JobRequestCfg* PROTOBUF_NULLABLE MockJob::release_cfg() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] &= ~0x00000002u; + _impl_._has_bits_[0] &= ~0x00000004u; ::flex::JobRequestCfg* released = _impl_.cfg_; _impl_.cfg_ = nullptr; if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { @@ -11647,16 +11992,16 @@ inline ::flex::JobRequestCfg* MockJob::release_cfg() { } return released; } -inline ::flex::JobRequestCfg* MockJob::unsafe_arena_release_cfg() { +inline ::flex::JobRequestCfg* PROTOBUF_NULLABLE MockJob::unsafe_arena_release_cfg() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:flex.MockJob.cfg) - _impl_._has_bits_[0] &= ~0x00000002u; + _impl_._has_bits_[0] &= ~0x00000004u; ::flex::JobRequestCfg* temp = _impl_.cfg_; _impl_.cfg_ = nullptr; return temp; } -inline ::flex::JobRequestCfg* MockJob::_internal_mutable_cfg() { +inline ::flex::JobRequestCfg* PROTOBUF_NONNULL MockJob::_internal_mutable_cfg() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.cfg_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::flex::JobRequestCfg>(GetArena()); @@ -11664,27 +12009,28 @@ inline ::flex::JobRequestCfg* MockJob::_internal_mutable_cfg() { } return _impl_.cfg_; } -inline ::flex::JobRequestCfg* MockJob::mutable_cfg() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000002u; +inline ::flex::JobRequestCfg* PROTOBUF_NONNULL MockJob::mutable_cfg() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000004u; ::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) { +inline void MockJob::set_allocated_cfg(::flex::JobRequestCfg* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { - delete (_impl_.cfg_); + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.cfg_); } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + ::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; + _impl_._has_bits_[0] |= 0x00000004u; } else { - _impl_._has_bits_[0] &= ~0x00000002u; + _impl_._has_bits_[0] &= ~0x00000004u; } _impl_.cfg_ = reinterpret_cast<::flex::JobRequestCfg*>(value); @@ -11701,6 +12047,7 @@ inline void MockJob::set_allocated_cfg(::flex::JobRequestCfg* value) { inline void SyncJob::clear_operation() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.operation_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; } inline ::flex::SyncJob_Operation SyncJob::operation() const { // @@protoc_insertion_point(field_get:flex.SyncJob.operation) @@ -11708,6 +12055,7 @@ inline ::flex::SyncJob_Operation SyncJob::operation() const { } inline void SyncJob::set_operation(::flex::SyncJob_Operation value) { _internal_set_operation(value); + _impl_._has_bits_[0] |= 0x00000010u; // @@protoc_insertion_point(field_set:flex.SyncJob.operation) } inline ::flex::SyncJob_Operation SyncJob::_internal_operation() const { @@ -11723,6 +12071,7 @@ inline void SyncJob::_internal_set_operation(::flex::SyncJob_Operation value) { inline void SyncJob::clear_overwrite() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.overwrite_ = false; + _impl_._has_bits_[0] &= ~0x00000020u; } inline bool SyncJob::overwrite() const { // @@protoc_insertion_point(field_get:flex.SyncJob.overwrite) @@ -11730,6 +12079,7 @@ inline bool SyncJob::overwrite() const { } inline void SyncJob::set_overwrite(bool value) { _internal_set_overwrite(value); + _impl_._has_bits_[0] |= 0x00000020u; // @@protoc_insertion_point(field_set:flex.SyncJob.overwrite) } inline bool SyncJob::_internal_overwrite() const { @@ -11745,43 +12095,60 @@ inline void SyncJob::_internal_set_overwrite(bool value) { inline void SyncJob::clear_remote_path() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.remote_path_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; } -inline const std::string& SyncJob::remote_path() const +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) { +PROTOBUF_ALWAYS_INLINE void SyncJob::set_remote_path(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void SyncJob::_internal_set_remote_path(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _impl_.remote_path_.Set(value, GetArena()); } -inline std::string* SyncJob::_internal_mutable_remote_path() { +inline ::std::string* PROTOBUF_NONNULL SyncJob::_internal_mutable_remote_path() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; return _impl_.remote_path_.Mutable( GetArena()); } -inline std::string* SyncJob::release_remote_path() { +inline ::std::string* PROTOBUF_NULLABLE SyncJob::release_remote_path() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:flex.SyncJob.remote_path) - return _impl_.remote_path_.Release(); + if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* released = _impl_.remote_path_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.remote_path_.Set("", GetArena()); + } + return released; } -inline void SyncJob::set_allocated_remote_path(std::string* value) { +inline void SyncJob::set_allocated_remote_path(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } _impl_.remote_path_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.remote_path_.IsDefault()) { _impl_.remote_path_.Set("", GetArena()); @@ -11793,6 +12160,7 @@ inline void SyncJob::set_allocated_remote_path(std::string* value) { inline void SyncJob::clear_flatten() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.flatten_ = false; + _impl_._has_bits_[0] &= ~0x00000040u; } inline bool SyncJob::flatten() const { // @@protoc_insertion_point(field_get:flex.SyncJob.flatten) @@ -11800,6 +12168,7 @@ inline bool SyncJob::flatten() const { } inline void SyncJob::set_flatten(bool value) { _internal_set_flatten(value); + _impl_._has_bits_[0] |= 0x00000040u; // @@protoc_insertion_point(field_set:flex.SyncJob.flatten) } inline bool SyncJob::_internal_flatten() const { @@ -11813,14 +12182,14 @@ inline void SyncJob::_internal_set_flatten(bool value) { // .flex.JobLockedInfo locked_info = 6; inline bool SyncJob::has_locked_info() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 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; + _impl_._has_bits_[0] &= ~0x00000008u; } inline const ::flex::JobLockedInfo& SyncJob::_internal_locked_info() const { ::google::protobuf::internal::TSanRead(&_impl_); @@ -11831,23 +12200,24 @@ inline const ::flex::JobLockedInfo& SyncJob::locked_info() const ABSL_ATTRIBUTE_ // @@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) { +inline void SyncJob::unsafe_arena_set_allocated_locked_info( + ::flex::JobLockedInfo* PROTOBUF_NULLABLE 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; + _impl_._has_bits_[0] |= 0x00000008u; } else { - _impl_._has_bits_[0] &= ~0x00000004u; + _impl_._has_bits_[0] &= ~0x00000008u; } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.SyncJob.locked_info) } -inline ::flex::JobLockedInfo* SyncJob::release_locked_info() { +inline ::flex::JobLockedInfo* PROTOBUF_NULLABLE SyncJob::release_locked_info() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] &= ~0x00000004u; + _impl_._has_bits_[0] &= ~0x00000008u; ::flex::JobLockedInfo* released = _impl_.locked_info_; _impl_.locked_info_ = nullptr; if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { @@ -11863,16 +12233,16 @@ inline ::flex::JobLockedInfo* SyncJob::release_locked_info() { } return released; } -inline ::flex::JobLockedInfo* SyncJob::unsafe_arena_release_locked_info() { +inline ::flex::JobLockedInfo* PROTOBUF_NULLABLE 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; + _impl_._has_bits_[0] &= ~0x00000008u; ::flex::JobLockedInfo* temp = _impl_.locked_info_; _impl_.locked_info_ = nullptr; return temp; } -inline ::flex::JobLockedInfo* SyncJob::_internal_mutable_locked_info() { +inline ::flex::JobLockedInfo* PROTOBUF_NONNULL SyncJob::_internal_mutable_locked_info() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.locked_info_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::flex::JobLockedInfo>(GetArena()); @@ -11880,27 +12250,28 @@ inline ::flex::JobLockedInfo* SyncJob::_internal_mutable_locked_info() { } return _impl_.locked_info_; } -inline ::flex::JobLockedInfo* SyncJob::mutable_locked_info() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000004u; +inline ::flex::JobLockedInfo* PROTOBUF_NONNULL SyncJob::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.SyncJob.locked_info) return _msg; } -inline void SyncJob::set_allocated_locked_info(::flex::JobLockedInfo* value) { +inline void SyncJob::set_allocated_locked_info(::flex::JobLockedInfo* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { - delete (_impl_.locked_info_); + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.locked_info_); } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + ::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; + _impl_._has_bits_[0] |= 0x00000008u; } else { - _impl_._has_bits_[0] &= ~0x00000004u; + _impl_._has_bits_[0] &= ~0x00000008u; } _impl_.locked_info_ = reinterpret_cast<::flex::JobLockedInfo*>(value); @@ -11909,13 +12280,13 @@ inline void SyncJob::set_allocated_locked_info(::flex::JobLockedInfo* value) { // optional bool update = 7; inline bool SyncJob::has_update() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; return value; } inline void SyncJob::clear_update() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.update_ = false; - _impl_._has_bits_[0] &= ~0x00000008u; + _impl_._has_bits_[0] &= ~0x00000080u; } inline bool SyncJob::update() const { // @@protoc_insertion_point(field_get:flex.SyncJob.update) @@ -11923,7 +12294,7 @@ inline bool SyncJob::update() const { } inline void SyncJob::set_update(bool value) { _internal_set_update(value); - _impl_._has_bits_[0] |= 0x00000008u; + _impl_._has_bits_[0] |= 0x00000080u; // @@protoc_insertion_point(field_set:flex.SyncJob.update) } inline bool SyncJob::_internal_update() const { @@ -11954,76 +12325,77 @@ inline const ::google::protobuf::Map& SyncJob::metadat // @@protoc_insertion_point(field_map:flex.SyncJob.metadata) return _internal_metadata(); } -inline ::google::protobuf::Map* SyncJob::_internal_mutable_metadata() { +inline ::google::protobuf::Map* PROTOBUF_NONNULL SyncJob::_internal_mutable_metadata() { ::google::protobuf::internal::TSanWrite(&_impl_); return _impl_.metadata_.MutableMap(); } -inline ::google::protobuf::Map* SyncJob::mutable_metadata() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::google::protobuf::Map* PROTOBUF_NONNULL 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; + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; return value; } inline void SyncJob::clear_tagging() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.tagging_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000002u; } -inline const std::string& SyncJob::tagging() const +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) { +PROTOBUF_ALWAYS_INLINE void SyncJob::set_tagging(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000001u; + _impl_._has_bits_[0] |= 0x00000002u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void SyncJob::_internal_set_tagging(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000001u; + _impl_._has_bits_[0] |= 0x00000002u; _impl_.tagging_.Set(value, GetArena()); } -inline std::string* SyncJob::_internal_mutable_tagging() { +inline ::std::string* PROTOBUF_NONNULL SyncJob::_internal_mutable_tagging() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000001u; + _impl_._has_bits_[0] |= 0x00000002u; return _impl_.tagging_.Mutable( GetArena()); } -inline std::string* SyncJob::release_tagging() { +inline ::std::string* PROTOBUF_NULLABLE SyncJob::release_tagging() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:flex.SyncJob.tagging) - if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { + if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { return nullptr; } - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000002u; 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) { +inline void SyncJob::set_allocated_tagging(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; + _impl_._has_bits_[0] |= 0x00000002u; } else { - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000002u; } _impl_.tagging_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.tagging_.IsDefault()) { @@ -12034,65 +12406,65 @@ inline void SyncJob::set_allocated_tagging(std::string* value) { // optional string storage_class = 12; inline bool SyncJob::has_storage_class() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; return value; } inline void SyncJob::clear_storage_class() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.storage_class_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; + _impl_._has_bits_[0] &= ~0x00000004u; } -inline const std::string& SyncJob::storage_class() const +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) { +PROTOBUF_ALWAYS_INLINE void SyncJob::set_storage_class(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000002u; + _impl_._has_bits_[0] |= 0x00000004u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void SyncJob::_internal_set_storage_class(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000002u; + _impl_._has_bits_[0] |= 0x00000004u; _impl_.storage_class_.Set(value, GetArena()); } -inline std::string* SyncJob::_internal_mutable_storage_class() { +inline ::std::string* PROTOBUF_NONNULL SyncJob::_internal_mutable_storage_class() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000002u; + _impl_._has_bits_[0] |= 0x00000004u; return _impl_.storage_class_.Mutable( GetArena()); } -inline std::string* SyncJob::release_storage_class() { +inline ::std::string* PROTOBUF_NULLABLE 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) { + if ((_impl_._has_bits_[0] & 0x00000004u) == 0) { return nullptr; } - _impl_._has_bits_[0] &= ~0x00000002u; + _impl_._has_bits_[0] &= ~0x00000004u; 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) { +inline void SyncJob::set_allocated_storage_class(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; + _impl_._has_bits_[0] |= 0x00000004u; } else { - _impl_._has_bits_[0] &= ~0x00000002u; + _impl_._has_bits_[0] &= ~0x00000004u; } _impl_.storage_class_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.storage_class_.IsDefault()) { @@ -12103,13 +12475,13 @@ inline void SyncJob::set_allocated_storage_class(std::string* value) { // optional bool allow_restore = 13; inline bool SyncJob::has_allow_restore() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; return value; } inline void SyncJob::clear_allow_restore() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.allow_restore_ = false; - _impl_._has_bits_[0] &= ~0x00000010u; + _impl_._has_bits_[0] &= ~0x00000100u; } inline bool SyncJob::allow_restore() const { // @@protoc_insertion_point(field_get:flex.SyncJob.allow_restore) @@ -12117,7 +12489,7 @@ inline bool SyncJob::allow_restore() const { } inline void SyncJob::set_allow_restore(bool value) { _internal_set_allow_restore(value); - _impl_._has_bits_[0] |= 0x00000010u; + _impl_._has_bits_[0] |= 0x00000100u; // @@protoc_insertion_point(field_set:flex.SyncJob.allow_restore) } inline bool SyncJob::_internal_allow_restore() const { @@ -12137,6 +12509,7 @@ inline void SyncJob::_internal_set_allow_restore(bool value) { inline void Work_Status::clear_state() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.state_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; } inline ::flex::Work_State Work_Status::state() const { // @@protoc_insertion_point(field_get:flex.Work.Status.state) @@ -12144,6 +12517,7 @@ inline ::flex::Work_State Work_Status::state() const { } inline void Work_Status::set_state(::flex::Work_State value) { _internal_set_state(value); + _impl_._has_bits_[0] |= 0x00000002u; // @@protoc_insertion_point(field_set:flex.Work.Status.state) } inline ::flex::Work_State Work_Status::_internal_state() const { @@ -12159,43 +12533,60 @@ inline void Work_Status::_internal_set_state(::flex::Work_State value) { inline void Work_Status::clear_message() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.message_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; } -inline const std::string& Work_Status::message() const +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) { +PROTOBUF_ALWAYS_INLINE void Work_Status::set_message(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void Work_Status::_internal_set_message(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _impl_.message_.Set(value, GetArena()); } -inline std::string* Work_Status::_internal_mutable_message() { +inline ::std::string* PROTOBUF_NONNULL Work_Status::_internal_mutable_message() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; return _impl_.message_.Mutable( GetArena()); } -inline std::string* Work_Status::release_message() { +inline ::std::string* PROTOBUF_NULLABLE Work_Status::release_message() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:flex.Work.Status.message) - return _impl_.message_.Release(); + if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* released = _impl_.message_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.message_.Set("", GetArena()); + } + return released; } -inline void Work_Status::set_allocated_message(std::string* value) { +inline void Work_Status::set_allocated_message(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } _impl_.message_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.message_.IsDefault()) { _impl_.message_.Set("", GetArena()); @@ -12211,6 +12602,7 @@ inline void Work_Status::set_allocated_message(std::string* value) { inline void Work_Part::clear_part_number() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.part_number_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; } inline ::int32_t Work_Part::part_number() const { // @@protoc_insertion_point(field_get:flex.Work.Part.part_number) @@ -12218,6 +12610,7 @@ inline ::int32_t Work_Part::part_number() const { } inline void Work_Part::set_part_number(::int32_t value) { _internal_set_part_number(value); + _impl_._has_bits_[0] |= 0x00000010u; // @@protoc_insertion_point(field_set:flex.Work.Part.part_number) } inline ::int32_t Work_Part::_internal_part_number() const { @@ -12233,6 +12626,7 @@ inline void Work_Part::_internal_set_part_number(::int32_t value) { inline void Work_Part::clear_offset_start() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.offset_start_ = ::int64_t{0}; + _impl_._has_bits_[0] &= ~0x00000004u; } inline ::int64_t Work_Part::offset_start() const { // @@protoc_insertion_point(field_get:flex.Work.Part.offset_start) @@ -12240,6 +12634,7 @@ inline ::int64_t Work_Part::offset_start() const { } inline void Work_Part::set_offset_start(::int64_t value) { _internal_set_offset_start(value); + _impl_._has_bits_[0] |= 0x00000004u; // @@protoc_insertion_point(field_set:flex.Work.Part.offset_start) } inline ::int64_t Work_Part::_internal_offset_start() const { @@ -12255,6 +12650,7 @@ inline void Work_Part::_internal_set_offset_start(::int64_t value) { inline void Work_Part::clear_offset_stop() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.offset_stop_ = ::int64_t{0}; + _impl_._has_bits_[0] &= ~0x00000008u; } inline ::int64_t Work_Part::offset_stop() const { // @@protoc_insertion_point(field_get:flex.Work.Part.offset_stop) @@ -12262,6 +12658,7 @@ inline ::int64_t Work_Part::offset_stop() const { } inline void Work_Part::set_offset_stop(::int64_t value) { _internal_set_offset_stop(value); + _impl_._has_bits_[0] |= 0x00000008u; // @@protoc_insertion_point(field_set:flex.Work.Part.offset_stop) } inline ::int64_t Work_Part::_internal_offset_stop() const { @@ -12277,45 +12674,62 @@ inline void Work_Part::_internal_set_offset_stop(::int64_t value) { inline void Work_Part::clear_entity_tag() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.entity_tag_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; } -inline const std::string& Work_Part::entity_tag() const +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) { +PROTOBUF_ALWAYS_INLINE void Work_Part::set_entity_tag(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void Work_Part::_internal_set_entity_tag(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _impl_.entity_tag_.Set(value, GetArena()); } -inline std::string* Work_Part::_internal_mutable_entity_tag() { +inline ::std::string* PROTOBUF_NONNULL Work_Part::_internal_mutable_entity_tag() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; return _impl_.entity_tag_.Mutable( GetArena()); } -inline std::string* Work_Part::release_entity_tag() { +inline ::std::string* PROTOBUF_NULLABLE 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()) { + if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* released = _impl_.entity_tag_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.entity_tag_.Set("", GetArena()); + } + return released; +} +inline void Work_Part::set_allocated_entity_tag(::std::string* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _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) @@ -12325,43 +12739,60 @@ inline void Work_Part::set_allocated_entity_tag(std::string* value) { inline void Work_Part::clear_checksum_sha256() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.checksum_sha256_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; } -inline const std::string& Work_Part::checksum_sha256() const +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) { +PROTOBUF_ALWAYS_INLINE void Work_Part::set_checksum_sha256(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void Work_Part::_internal_set_checksum_sha256(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; _impl_.checksum_sha256_.Set(value, GetArena()); } -inline std::string* Work_Part::_internal_mutable_checksum_sha256() { +inline ::std::string* PROTOBUF_NONNULL Work_Part::_internal_mutable_checksum_sha256() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; return _impl_.checksum_sha256_.Mutable( GetArena()); } -inline std::string* Work_Part::release_checksum_sha256() { +inline ::std::string* PROTOBUF_NULLABLE 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(); + if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* released = _impl_.checksum_sha256_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.checksum_sha256_.Set("", GetArena()); + } + return released; } -inline void Work_Part::set_allocated_checksum_sha256(std::string* value) { +inline void Work_Part::set_allocated_checksum_sha256(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } _impl_.checksum_sha256_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.checksum_sha256_.IsDefault()) { _impl_.checksum_sha256_.Set("", GetArena()); @@ -12373,6 +12804,7 @@ inline void Work_Part::set_allocated_checksum_sha256(std::string* value) { inline void Work_Part::clear_completed() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.completed_ = false; + _impl_._has_bits_[0] &= ~0x00000020u; } inline bool Work_Part::completed() const { // @@protoc_insertion_point(field_get:flex.Work.Part.completed) @@ -12380,6 +12812,7 @@ inline bool Work_Part::completed() const { } inline void Work_Part::set_completed(bool value) { _internal_set_completed(value); + _impl_._has_bits_[0] |= 0x00000020u; // @@protoc_insertion_point(field_set:flex.Work.Part.completed) } inline bool Work_Part::_internal_completed() const { @@ -12399,43 +12832,60 @@ inline void Work_Part::_internal_set_completed(bool value) { inline void Work::clear_path() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.path_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; } -inline const std::string& Work::path() const +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) { +PROTOBUF_ALWAYS_INLINE void Work::set_path(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void Work::_internal_set_path(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _impl_.path_.Set(value, GetArena()); } -inline std::string* Work::_internal_mutable_path() { +inline ::std::string* PROTOBUF_NONNULL Work::_internal_mutable_path() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; return _impl_.path_.Mutable( GetArena()); } -inline std::string* Work::release_path() { +inline ::std::string* PROTOBUF_NULLABLE Work::release_path() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:flex.Work.path) - return _impl_.path_.Release(); + if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* released = _impl_.path_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.path_.Set("", GetArena()); + } + return released; } -inline void Work::set_allocated_path(std::string* value) { +inline void Work::set_allocated_path(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } _impl_.path_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.path_.IsDefault()) { _impl_.path_.Set("", GetArena()); @@ -12447,43 +12897,60 @@ inline void Work::set_allocated_path(std::string* value) { inline void Work::clear_job_id() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.job_id_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; } -inline const std::string& Work::job_id() const +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) { +PROTOBUF_ALWAYS_INLINE void Work::set_job_id(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void Work::_internal_set_job_id(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; _impl_.job_id_.Set(value, GetArena()); } -inline std::string* Work::_internal_mutable_job_id() { +inline ::std::string* PROTOBUF_NONNULL Work::_internal_mutable_job_id() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; return _impl_.job_id_.Mutable( GetArena()); } -inline std::string* Work::release_job_id() { +inline ::std::string* PROTOBUF_NULLABLE Work::release_job_id() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:flex.Work.job_id) - return _impl_.job_id_.Release(); + if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* released = _impl_.job_id_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.job_id_.Set("", GetArena()); + } + return released; } -inline void Work::set_allocated_job_id(std::string* value) { +inline void Work::set_allocated_job_id(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } _impl_.job_id_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.job_id_.IsDefault()) { _impl_.job_id_.Set("", GetArena()); @@ -12495,43 +12962,60 @@ inline void Work::set_allocated_job_id(std::string* value) { inline void Work::clear_request_id() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.request_id_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000004u; } -inline const std::string& Work::request_id() const +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) { +PROTOBUF_ALWAYS_INLINE void Work::set_request_id(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000004u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void Work::_internal_set_request_id(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000004u; _impl_.request_id_.Set(value, GetArena()); } -inline std::string* Work::_internal_mutable_request_id() { +inline ::std::string* PROTOBUF_NONNULL Work::_internal_mutable_request_id() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000004u; return _impl_.request_id_.Mutable( GetArena()); } -inline std::string* Work::release_request_id() { +inline ::std::string* PROTOBUF_NULLABLE Work::release_request_id() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:flex.Work.request_id) - return _impl_.request_id_.Release(); + if ((_impl_._has_bits_[0] & 0x00000004u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000004u; + auto* released = _impl_.request_id_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.request_id_.Set("", GetArena()); + } + return released; } -inline void Work::set_allocated_request_id(std::string* value) { +inline void Work::set_allocated_request_id(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } _impl_.request_id_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.request_id_.IsDefault()) { _impl_.request_id_.Set("", GetArena()); @@ -12541,14 +13025,14 @@ inline void Work::set_allocated_request_id(std::string* value) { // .flex.Work.Status status = 4; inline bool Work::has_status() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 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; + _impl_._has_bits_[0] &= ~0x00000008u; } inline const ::flex::Work_Status& Work::_internal_status() const { ::google::protobuf::internal::TSanRead(&_impl_); @@ -12559,23 +13043,24 @@ inline const ::flex::Work_Status& Work::status() const ABSL_ATTRIBUTE_LIFETIME_B // @@protoc_insertion_point(field_get:flex.Work.status) return _internal_status(); } -inline void Work::unsafe_arena_set_allocated_status(::flex::Work_Status* value) { +inline void Work::unsafe_arena_set_allocated_status( + ::flex::Work_Status* PROTOBUF_NULLABLE 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; + _impl_._has_bits_[0] |= 0x00000008u; } else { - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000008u; } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.Work.status) } -inline ::flex::Work_Status* Work::release_status() { +inline ::flex::Work_Status* PROTOBUF_NULLABLE Work::release_status() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000008u; ::flex::Work_Status* released = _impl_.status_; _impl_.status_ = nullptr; if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { @@ -12591,16 +13076,16 @@ inline ::flex::Work_Status* Work::release_status() { } return released; } -inline ::flex::Work_Status* Work::unsafe_arena_release_status() { +inline ::flex::Work_Status* PROTOBUF_NULLABLE Work::unsafe_arena_release_status() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:flex.Work.status) - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000008u; ::flex::Work_Status* temp = _impl_.status_; _impl_.status_ = nullptr; return temp; } -inline ::flex::Work_Status* Work::_internal_mutable_status() { +inline ::flex::Work_Status* PROTOBUF_NONNULL Work::_internal_mutable_status() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.status_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::flex::Work_Status>(GetArena()); @@ -12608,27 +13093,28 @@ inline ::flex::Work_Status* Work::_internal_mutable_status() { } return _impl_.status_; } -inline ::flex::Work_Status* Work::mutable_status() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; +inline ::flex::Work_Status* PROTOBUF_NONNULL Work::mutable_status() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000008u; ::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) { +inline void Work::set_allocated_status(::flex::Work_Status* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { - delete (_impl_.status_); + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.status_); } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + ::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; + _impl_._has_bits_[0] |= 0x00000008u; } else { - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000008u; } _impl_.status_ = reinterpret_cast<::flex::Work_Status*>(value); @@ -12646,12 +13132,12 @@ inline void Work::clear_parts() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.parts_.Clear(); } -inline ::flex::Work_Part* Work::mutable_parts(int index) +inline ::flex::Work_Part* PROTOBUF_NONNULL 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() +inline ::google::protobuf::RepeatedPtrField<::flex::Work_Part>* PROTOBUF_NONNULL Work::mutable_parts() ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_mutable_list:flex.Work.parts) ::google::protobuf::internal::TSanWrite(&_impl_); @@ -12662,7 +13148,8 @@ inline const ::flex::Work_Part& Work::parts(int index) const // @@protoc_insertion_point(field_get:flex.Work.parts) return _internal_parts().Get(index); } -inline ::flex::Work_Part* Work::add_parts() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::flex::Work_Part* PROTOBUF_NONNULL 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) @@ -12678,7 +13165,7 @@ Work::_internal_parts() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.parts_; } -inline ::google::protobuf::RepeatedPtrField<::flex::Work_Part>* +inline ::google::protobuf::RepeatedPtrField<::flex::Work_Part>* PROTOBUF_NONNULL Work::_internal_mutable_parts() { ::google::protobuf::internal::TSanRead(&_impl_); return &_impl_.parts_; @@ -12688,6 +13175,7 @@ Work::_internal_mutable_parts() { inline void Work::clear_job_builder() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.job_builder_ = false; + _impl_._has_bits_[0] &= ~0x00000010u; } inline bool Work::job_builder() const { // @@protoc_insertion_point(field_get:flex.Work.job_builder) @@ -12695,6 +13183,7 @@ inline bool Work::job_builder() const { } inline void Work::set_job_builder(bool value) { _internal_set_job_builder(value); + _impl_._has_bits_[0] |= 0x00000010u; // @@protoc_insertion_point(field_set:flex.Work.job_builder) } inline bool Work::_internal_job_builder() const { @@ -12730,7 +13219,8 @@ inline const ::flex::BeeRemoteNode& UpdateConfigRequest::bee_remote() const ABSL // @@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) { +inline void UpdateConfigRequest::unsafe_arena_set_allocated_bee_remote( + ::flex::BeeRemoteNode* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.bee_remote_); @@ -12743,7 +13233,7 @@ inline void UpdateConfigRequest::unsafe_arena_set_allocated_bee_remote(::flex::B } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.UpdateConfigRequest.bee_remote) } -inline ::flex::BeeRemoteNode* UpdateConfigRequest::release_bee_remote() { +inline ::flex::BeeRemoteNode* PROTOBUF_NULLABLE UpdateConfigRequest::release_bee_remote() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000001u; @@ -12762,7 +13252,7 @@ inline ::flex::BeeRemoteNode* UpdateConfigRequest::release_bee_remote() { } return released; } -inline ::flex::BeeRemoteNode* UpdateConfigRequest::unsafe_arena_release_bee_remote() { +inline ::flex::BeeRemoteNode* PROTOBUF_NULLABLE UpdateConfigRequest::unsafe_arena_release_bee_remote() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:flex.UpdateConfigRequest.bee_remote) @@ -12771,7 +13261,7 @@ inline ::flex::BeeRemoteNode* UpdateConfigRequest::unsafe_arena_release_bee_remo _impl_.bee_remote_ = nullptr; return temp; } -inline ::flex::BeeRemoteNode* UpdateConfigRequest::_internal_mutable_bee_remote() { +inline ::flex::BeeRemoteNode* PROTOBUF_NONNULL UpdateConfigRequest::_internal_mutable_bee_remote() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.bee_remote_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::flex::BeeRemoteNode>(GetArena()); @@ -12779,21 +13269,22 @@ inline ::flex::BeeRemoteNode* UpdateConfigRequest::_internal_mutable_bee_remote( } return _impl_.bee_remote_; } -inline ::flex::BeeRemoteNode* UpdateConfigRequest::mutable_bee_remote() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::flex::BeeRemoteNode* PROTOBUF_NONNULL 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) { +inline void UpdateConfigRequest::set_allocated_bee_remote(::flex::BeeRemoteNode* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { - delete (_impl_.bee_remote_); + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.bee_remote_); } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = value->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } @@ -12817,12 +13308,12 @@ inline void UpdateConfigRequest::clear_rsts() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.rsts_.Clear(); } -inline ::flex::RemoteStorageTarget* UpdateConfigRequest::mutable_rsts(int index) +inline ::flex::RemoteStorageTarget* PROTOBUF_NONNULL 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() +inline ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget>* PROTOBUF_NONNULL UpdateConfigRequest::mutable_rsts() ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_mutable_list:flex.UpdateConfigRequest.rsts) ::google::protobuf::internal::TSanWrite(&_impl_); @@ -12833,7 +13324,8 @@ inline const ::flex::RemoteStorageTarget& UpdateConfigRequest::rsts(int index) c // @@protoc_insertion_point(field_get:flex.UpdateConfigRequest.rsts) return _internal_rsts().Get(index); } -inline ::flex::RemoteStorageTarget* UpdateConfigRequest::add_rsts() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::flex::RemoteStorageTarget* PROTOBUF_NONNULL 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) @@ -12849,7 +13341,7 @@ UpdateConfigRequest::_internal_rsts() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.rsts_; } -inline ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget>* +inline ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget>* PROTOBUF_NONNULL UpdateConfigRequest::_internal_mutable_rsts() { ::google::protobuf::internal::TSanRead(&_impl_); return &_impl_.rsts_; @@ -12863,6 +13355,7 @@ UpdateConfigRequest::_internal_mutable_rsts() { inline void UpdateConfigResponse::clear_result() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.result_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; } inline ::flex::UpdateConfigResponse_Result UpdateConfigResponse::result() const { // @@protoc_insertion_point(field_get:flex.UpdateConfigResponse.result) @@ -12870,6 +13363,7 @@ inline ::flex::UpdateConfigResponse_Result UpdateConfigResponse::result() const } inline void UpdateConfigResponse::set_result(::flex::UpdateConfigResponse_Result value) { _internal_set_result(value); + _impl_._has_bits_[0] |= 0x00000002u; // @@protoc_insertion_point(field_set:flex.UpdateConfigResponse.result) } inline ::flex::UpdateConfigResponse_Result UpdateConfigResponse::_internal_result() const { @@ -12885,43 +13379,60 @@ inline void UpdateConfigResponse::_internal_set_result(::flex::UpdateConfigRespo inline void UpdateConfigResponse::clear_message() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.message_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; } -inline const std::string& UpdateConfigResponse::message() const +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) { +PROTOBUF_ALWAYS_INLINE void UpdateConfigResponse::set_message(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void UpdateConfigResponse::_internal_set_message(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _impl_.message_.Set(value, GetArena()); } -inline std::string* UpdateConfigResponse::_internal_mutable_message() { +inline ::std::string* PROTOBUF_NONNULL UpdateConfigResponse::_internal_mutable_message() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; return _impl_.message_.Mutable( GetArena()); } -inline std::string* UpdateConfigResponse::release_message() { +inline ::std::string* PROTOBUF_NULLABLE UpdateConfigResponse::release_message() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:flex.UpdateConfigResponse.message) - return _impl_.message_.Release(); + if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* released = _impl_.message_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.message_.Set("", GetArena()); + } + return released; } -inline void UpdateConfigResponse::set_allocated_message(std::string* value) { +inline void UpdateConfigResponse::set_allocated_message(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } _impl_.message_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.message_.IsDefault()) { _impl_.message_.Set("", GetArena()); @@ -12937,43 +13448,60 @@ inline void UpdateConfigResponse::set_allocated_message(std::string* value) { inline void BeeRemoteNode::clear_id() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.id_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; } -inline const std::string& BeeRemoteNode::id() const +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) { +PROTOBUF_ALWAYS_INLINE void BeeRemoteNode::set_id(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void BeeRemoteNode::_internal_set_id(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _impl_.id_.Set(value, GetArena()); } -inline std::string* BeeRemoteNode::_internal_mutable_id() { +inline ::std::string* PROTOBUF_NONNULL BeeRemoteNode::_internal_mutable_id() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; return _impl_.id_.Mutable( GetArena()); } -inline std::string* BeeRemoteNode::release_id() { +inline ::std::string* PROTOBUF_NULLABLE BeeRemoteNode::release_id() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:flex.BeeRemoteNode.id) - return _impl_.id_.Release(); + if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* released = _impl_.id_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.id_.Set("", GetArena()); + } + return released; } -inline void BeeRemoteNode::set_allocated_id(std::string* value) { +inline void BeeRemoteNode::set_allocated_id(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } _impl_.id_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.id_.IsDefault()) { _impl_.id_.Set("", GetArena()); @@ -12985,43 +13513,60 @@ inline void BeeRemoteNode::set_allocated_id(std::string* value) { inline void BeeRemoteNode::clear_address() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.address_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; } -inline const std::string& BeeRemoteNode::address() const +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) { +PROTOBUF_ALWAYS_INLINE void BeeRemoteNode::set_address(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void BeeRemoteNode::_internal_set_address(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; _impl_.address_.Set(value, GetArena()); } -inline std::string* BeeRemoteNode::_internal_mutable_address() { +inline ::std::string* PROTOBUF_NONNULL BeeRemoteNode::_internal_mutable_address() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; return _impl_.address_.Mutable( GetArena()); } -inline std::string* BeeRemoteNode::release_address() { +inline ::std::string* PROTOBUF_NULLABLE BeeRemoteNode::release_address() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:flex.BeeRemoteNode.address) - return _impl_.address_.Release(); + if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* released = _impl_.address_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.address_.Set("", GetArena()); + } + return released; } -inline void BeeRemoteNode::set_allocated_address(std::string* value) { +inline void BeeRemoteNode::set_allocated_address(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } _impl_.address_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.address_.IsDefault()) { _impl_.address_.Set("", GetArena()); @@ -13033,43 +13578,60 @@ inline void BeeRemoteNode::set_allocated_address(std::string* value) { inline void BeeRemoteNode::clear_mgmtd_address() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.mgmtd_address_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000004u; } -inline const std::string& BeeRemoteNode::mgmtd_address() const +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) { +PROTOBUF_ALWAYS_INLINE void BeeRemoteNode::set_mgmtd_address(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000004u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void BeeRemoteNode::_internal_set_mgmtd_address(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000004u; _impl_.mgmtd_address_.Set(value, GetArena()); } -inline std::string* BeeRemoteNode::_internal_mutable_mgmtd_address() { +inline ::std::string* PROTOBUF_NONNULL BeeRemoteNode::_internal_mutable_mgmtd_address() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000004u; return _impl_.mgmtd_address_.Mutable( GetArena()); } -inline std::string* BeeRemoteNode::release_mgmtd_address() { +inline ::std::string* PROTOBUF_NULLABLE BeeRemoteNode::release_mgmtd_address() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:flex.BeeRemoteNode.mgmtd_address) - return _impl_.mgmtd_address_.Release(); + if ((_impl_._has_bits_[0] & 0x00000004u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000004u; + auto* released = _impl_.mgmtd_address_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.mgmtd_address_.Set("", GetArena()); + } + return released; } -inline void BeeRemoteNode::set_allocated_mgmtd_address(std::string* value) { +inline void BeeRemoteNode::set_allocated_mgmtd_address(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } _impl_.mgmtd_address_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.mgmtd_address_.IsDefault()) { _impl_.mgmtd_address_.Set("", GetArena()); @@ -13081,43 +13643,60 @@ inline void BeeRemoteNode::set_allocated_mgmtd_address(std::string* value) { inline void BeeRemoteNode::clear_mgmtd_tls_cert() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.mgmtd_tls_cert_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000008u; } -inline const std::string& BeeRemoteNode::mgmtd_tls_cert() const +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) { +PROTOBUF_ALWAYS_INLINE void BeeRemoteNode::set_mgmtd_tls_cert(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000008u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void BeeRemoteNode::_internal_set_mgmtd_tls_cert(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000008u; _impl_.mgmtd_tls_cert_.Set(value, GetArena()); } -inline std::string* BeeRemoteNode::_internal_mutable_mgmtd_tls_cert() { +inline ::std::string* PROTOBUF_NONNULL BeeRemoteNode::_internal_mutable_mgmtd_tls_cert() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000008u; return _impl_.mgmtd_tls_cert_.Mutable( GetArena()); } -inline std::string* BeeRemoteNode::release_mgmtd_tls_cert() { +inline ::std::string* PROTOBUF_NULLABLE 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(); + if ((_impl_._has_bits_[0] & 0x00000008u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000008u; + auto* released = _impl_.mgmtd_tls_cert_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.mgmtd_tls_cert_.Set("", GetArena()); + } + return released; } -inline void BeeRemoteNode::set_allocated_mgmtd_tls_cert(std::string* value) { +inline void BeeRemoteNode::set_allocated_mgmtd_tls_cert(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } _impl_.mgmtd_tls_cert_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.mgmtd_tls_cert_.IsDefault()) { _impl_.mgmtd_tls_cert_.Set("", GetArena()); @@ -13129,6 +13708,7 @@ inline void BeeRemoteNode::set_allocated_mgmtd_tls_cert(std::string* value) { inline void BeeRemoteNode::clear_mgmtd_tls_disable_verification() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.mgmtd_tls_disable_verification_ = false; + _impl_._has_bits_[0] &= ~0x00000020u; } inline bool BeeRemoteNode::mgmtd_tls_disable_verification() const { // @@protoc_insertion_point(field_get:flex.BeeRemoteNode.mgmtd_tls_disable_verification) @@ -13136,6 +13716,7 @@ inline bool BeeRemoteNode::mgmtd_tls_disable_verification() const { } inline void BeeRemoteNode::set_mgmtd_tls_disable_verification(bool value) { _internal_set_mgmtd_tls_disable_verification(value); + _impl_._has_bits_[0] |= 0x00000020u; // @@protoc_insertion_point(field_set:flex.BeeRemoteNode.mgmtd_tls_disable_verification) } inline bool BeeRemoteNode::_internal_mgmtd_tls_disable_verification() const { @@ -13151,6 +13732,7 @@ inline void BeeRemoteNode::_internal_set_mgmtd_tls_disable_verification(bool val inline void BeeRemoteNode::clear_mgmtd_tls_disable() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.mgmtd_tls_disable_ = false; + _impl_._has_bits_[0] &= ~0x00000040u; } inline bool BeeRemoteNode::mgmtd_tls_disable() const { // @@protoc_insertion_point(field_get:flex.BeeRemoteNode.mgmtd_tls_disable) @@ -13158,6 +13740,7 @@ inline bool BeeRemoteNode::mgmtd_tls_disable() const { } inline void BeeRemoteNode::set_mgmtd_tls_disable(bool value) { _internal_set_mgmtd_tls_disable(value); + _impl_._has_bits_[0] |= 0x00000040u; // @@protoc_insertion_point(field_set:flex.BeeRemoteNode.mgmtd_tls_disable) } inline bool BeeRemoteNode::_internal_mgmtd_tls_disable() const { @@ -13173,6 +13756,7 @@ inline void BeeRemoteNode::_internal_set_mgmtd_tls_disable(bool value) { inline void BeeRemoteNode::clear_mgmtd_use_proxy() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.mgmtd_use_proxy_ = false; + _impl_._has_bits_[0] &= ~0x00000100u; } inline bool BeeRemoteNode::mgmtd_use_proxy() const { // @@protoc_insertion_point(field_get:flex.BeeRemoteNode.mgmtd_use_proxy) @@ -13180,6 +13764,7 @@ inline bool BeeRemoteNode::mgmtd_use_proxy() const { } inline void BeeRemoteNode::set_mgmtd_use_proxy(bool value) { _internal_set_mgmtd_use_proxy(value); + _impl_._has_bits_[0] |= 0x00000100u; // @@protoc_insertion_point(field_set:flex.BeeRemoteNode.mgmtd_use_proxy) } inline bool BeeRemoteNode::_internal_mgmtd_use_proxy() const { @@ -13195,43 +13780,60 @@ inline void BeeRemoteNode::_internal_set_mgmtd_use_proxy(bool value) { inline void BeeRemoteNode::clear_auth_secret() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.auth_secret_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000010u; } -inline const std::string& BeeRemoteNode::auth_secret() const +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) { +PROTOBUF_ALWAYS_INLINE void BeeRemoteNode::set_auth_secret(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000010u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void BeeRemoteNode::_internal_set_auth_secret(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000010u; _impl_.auth_secret_.Set(value, GetArena()); } -inline std::string* BeeRemoteNode::_internal_mutable_auth_secret() { +inline ::std::string* PROTOBUF_NONNULL BeeRemoteNode::_internal_mutable_auth_secret() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000010u; return _impl_.auth_secret_.Mutable( GetArena()); } -inline std::string* BeeRemoteNode::release_auth_secret() { +inline ::std::string* PROTOBUF_NULLABLE BeeRemoteNode::release_auth_secret() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:flex.BeeRemoteNode.auth_secret) - return _impl_.auth_secret_.Release(); + if ((_impl_._has_bits_[0] & 0x00000010u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000010u; + auto* released = _impl_.auth_secret_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.auth_secret_.Set("", GetArena()); + } + return released; } -inline void BeeRemoteNode::set_allocated_auth_secret(std::string* value) { +inline void BeeRemoteNode::set_allocated_auth_secret(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } _impl_.auth_secret_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.auth_secret_.IsDefault()) { _impl_.auth_secret_.Set("", GetArena()); @@ -13243,6 +13845,7 @@ inline void BeeRemoteNode::set_allocated_auth_secret(std::string* value) { inline void BeeRemoteNode::clear_auth_disable() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.auth_disable_ = false; + _impl_._has_bits_[0] &= ~0x00000080u; } inline bool BeeRemoteNode::auth_disable() const { // @@protoc_insertion_point(field_get:flex.BeeRemoteNode.auth_disable) @@ -13250,6 +13853,7 @@ inline bool BeeRemoteNode::auth_disable() const { } inline void BeeRemoteNode::set_auth_disable(bool value) { _internal_set_auth_disable(value); + _impl_._has_bits_[0] |= 0x00000080u; // @@protoc_insertion_point(field_set:flex.BeeRemoteNode.auth_disable) } inline bool BeeRemoteNode::_internal_auth_disable() const { @@ -13269,6 +13873,7 @@ inline void BeeRemoteNode::_internal_set_auth_disable(bool value) { inline void RemoteStorageTarget_Policies::clear_fast_start_max_size() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.fast_start_max_size_ = ::int64_t{0}; + _impl_._has_bits_[0] &= ~0x00000001u; } inline ::int64_t RemoteStorageTarget_Policies::fast_start_max_size() const { // @@protoc_insertion_point(field_get:flex.RemoteStorageTarget.Policies.fast_start_max_size) @@ -13276,6 +13881,7 @@ inline ::int64_t RemoteStorageTarget_Policies::fast_start_max_size() const { } inline void RemoteStorageTarget_Policies::set_fast_start_max_size(::int64_t value) { _internal_set_fast_start_max_size(value); + _impl_._has_bits_[0] |= 0x00000001u; // @@protoc_insertion_point(field_set:flex.RemoteStorageTarget.Policies.fast_start_max_size) } inline ::int64_t RemoteStorageTarget_Policies::_internal_fast_start_max_size() const { @@ -13295,43 +13901,60 @@ inline void RemoteStorageTarget_Policies::_internal_set_fast_start_max_size(::in inline void RemoteStorageTarget_S3_StorageClass_Archival::clear_retrieval_tier() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.retrieval_tier_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; } -inline const std::string& RemoteStorageTarget_S3_StorageClass_Archival::retrieval_tier() const +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) { +PROTOBUF_ALWAYS_INLINE void RemoteStorageTarget_S3_StorageClass_Archival::set_retrieval_tier(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void RemoteStorageTarget_S3_StorageClass_Archival::_internal_set_retrieval_tier(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _impl_.retrieval_tier_.Set(value, GetArena()); } -inline std::string* RemoteStorageTarget_S3_StorageClass_Archival::_internal_mutable_retrieval_tier() { +inline ::std::string* PROTOBUF_NONNULL RemoteStorageTarget_S3_StorageClass_Archival::_internal_mutable_retrieval_tier() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; return _impl_.retrieval_tier_.Mutable( GetArena()); } -inline std::string* RemoteStorageTarget_S3_StorageClass_Archival::release_retrieval_tier() { +inline ::std::string* PROTOBUF_NULLABLE 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(); + if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* released = _impl_.retrieval_tier_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.retrieval_tier_.Set("", GetArena()); + } + return released; } -inline void RemoteStorageTarget_S3_StorageClass_Archival::set_allocated_retrieval_tier(std::string* value) { +inline void RemoteStorageTarget_S3_StorageClass_Archival::set_allocated_retrieval_tier(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } _impl_.retrieval_tier_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.retrieval_tier_.IsDefault()) { _impl_.retrieval_tier_.Set("", GetArena()); @@ -13343,6 +13966,7 @@ inline void RemoteStorageTarget_S3_StorageClass_Archival::set_allocated_retrieva inline void RemoteStorageTarget_S3_StorageClass_Archival::clear_retention_days() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.retention_days_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; } inline ::int32_t RemoteStorageTarget_S3_StorageClass_Archival::retention_days() const { // @@protoc_insertion_point(field_get:flex.RemoteStorageTarget.S3.StorageClass.Archival.retention_days) @@ -13350,6 +13974,7 @@ inline ::int32_t RemoteStorageTarget_S3_StorageClass_Archival::retention_days() } inline void RemoteStorageTarget_S3_StorageClass_Archival::set_retention_days(::int32_t value) { _internal_set_retention_days(value); + _impl_._has_bits_[0] |= 0x00000008u; // @@protoc_insertion_point(field_set:flex.RemoteStorageTarget.S3.StorageClass.Archival.retention_days) } inline ::int32_t RemoteStorageTarget_S3_StorageClass_Archival::_internal_retention_days() const { @@ -13365,43 +13990,60 @@ inline void RemoteStorageTarget_S3_StorageClass_Archival::_internal_set_retentio inline void RemoteStorageTarget_S3_StorageClass_Archival::clear_check_time() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.check_time_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; } -inline const std::string& RemoteStorageTarget_S3_StorageClass_Archival::check_time() const +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) { +PROTOBUF_ALWAYS_INLINE void RemoteStorageTarget_S3_StorageClass_Archival::set_check_time(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void RemoteStorageTarget_S3_StorageClass_Archival::_internal_set_check_time(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; _impl_.check_time_.Set(value, GetArena()); } -inline std::string* RemoteStorageTarget_S3_StorageClass_Archival::_internal_mutable_check_time() { +inline ::std::string* PROTOBUF_NONNULL RemoteStorageTarget_S3_StorageClass_Archival::_internal_mutable_check_time() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; return _impl_.check_time_.Mutable( GetArena()); } -inline std::string* RemoteStorageTarget_S3_StorageClass_Archival::release_check_time() { +inline ::std::string* PROTOBUF_NULLABLE 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(); + if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* released = _impl_.check_time_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.check_time_.Set("", GetArena()); + } + return released; } -inline void RemoteStorageTarget_S3_StorageClass_Archival::set_allocated_check_time(std::string* value) { +inline void RemoteStorageTarget_S3_StorageClass_Archival::set_allocated_check_time(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } _impl_.check_time_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.check_time_.IsDefault()) { _impl_.check_time_.Set("", GetArena()); @@ -13413,43 +14055,60 @@ inline void RemoteStorageTarget_S3_StorageClass_Archival::set_allocated_check_ti inline void RemoteStorageTarget_S3_StorageClass_Archival::clear_recheck_time() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.recheck_time_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000004u; } -inline const std::string& RemoteStorageTarget_S3_StorageClass_Archival::recheck_time() const +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) { +PROTOBUF_ALWAYS_INLINE void RemoteStorageTarget_S3_StorageClass_Archival::set_recheck_time(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000004u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void RemoteStorageTarget_S3_StorageClass_Archival::_internal_set_recheck_time(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000004u; _impl_.recheck_time_.Set(value, GetArena()); } -inline std::string* RemoteStorageTarget_S3_StorageClass_Archival::_internal_mutable_recheck_time() { +inline ::std::string* PROTOBUF_NONNULL RemoteStorageTarget_S3_StorageClass_Archival::_internal_mutable_recheck_time() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000004u; return _impl_.recheck_time_.Mutable( GetArena()); } -inline std::string* RemoteStorageTarget_S3_StorageClass_Archival::release_recheck_time() { +inline ::std::string* PROTOBUF_NULLABLE 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(); + if ((_impl_._has_bits_[0] & 0x00000004u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000004u; + auto* released = _impl_.recheck_time_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.recheck_time_.Set("", GetArena()); + } + return released; } -inline void RemoteStorageTarget_S3_StorageClass_Archival::set_allocated_recheck_time(std::string* value) { +inline void RemoteStorageTarget_S3_StorageClass_Archival::set_allocated_recheck_time(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } _impl_.recheck_time_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.recheck_time_.IsDefault()) { _impl_.recheck_time_.Set("", GetArena()); @@ -13461,6 +14120,7 @@ inline void RemoteStorageTarget_S3_StorageClass_Archival::set_allocated_recheck_ inline void RemoteStorageTarget_S3_StorageClass_Archival::clear_auto_restore() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.auto_restore_ = false; + _impl_._has_bits_[0] &= ~0x00000010u; } inline bool RemoteStorageTarget_S3_StorageClass_Archival::auto_restore() const { // @@protoc_insertion_point(field_get:flex.RemoteStorageTarget.S3.StorageClass.Archival.auto_restore) @@ -13468,6 +14128,7 @@ inline bool RemoteStorageTarget_S3_StorageClass_Archival::auto_restore() const { } inline void RemoteStorageTarget_S3_StorageClass_Archival::set_auto_restore(bool value) { _internal_set_auto_restore(value); + _impl_._has_bits_[0] |= 0x00000010u; // @@protoc_insertion_point(field_set:flex.RemoteStorageTarget.S3.StorageClass.Archival.auto_restore) } inline bool RemoteStorageTarget_S3_StorageClass_Archival::_internal_auto_restore() const { @@ -13487,43 +14148,60 @@ inline void RemoteStorageTarget_S3_StorageClass_Archival::_internal_set_auto_res inline void RemoteStorageTarget_S3_StorageClass::clear_name() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; } -inline const std::string& RemoteStorageTarget_S3_StorageClass::name() const +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) { +PROTOBUF_ALWAYS_INLINE void RemoteStorageTarget_S3_StorageClass::set_name(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void RemoteStorageTarget_S3_StorageClass::_internal_set_name(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _impl_.name_.Set(value, GetArena()); } -inline std::string* RemoteStorageTarget_S3_StorageClass::_internal_mutable_name() { +inline ::std::string* PROTOBUF_NONNULL RemoteStorageTarget_S3_StorageClass::_internal_mutable_name() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; return _impl_.name_.Mutable( GetArena()); } -inline std::string* RemoteStorageTarget_S3_StorageClass::release_name() { +inline ::std::string* PROTOBUF_NULLABLE RemoteStorageTarget_S3_StorageClass::release_name() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:flex.RemoteStorageTarget.S3.StorageClass.name) - return _impl_.name_.Release(); + if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* released = _impl_.name_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.name_.Set("", GetArena()); + } + return released; } -inline void RemoteStorageTarget_S3_StorageClass::set_allocated_name(std::string* value) { +inline void RemoteStorageTarget_S3_StorageClass::set_allocated_name(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } _impl_.name_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) { _impl_.name_.Set("", GetArena()); @@ -13533,14 +14211,14 @@ inline void RemoteStorageTarget_S3_StorageClass::set_allocated_name(std::string* // optional .flex.RemoteStorageTarget.S3.StorageClass.Archival archival = 2; inline bool RemoteStorageTarget_S3_StorageClass::has_archival() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 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; + _impl_._has_bits_[0] &= ~0x00000002u; } inline const ::flex::RemoteStorageTarget_S3_StorageClass_Archival& RemoteStorageTarget_S3_StorageClass::_internal_archival() const { ::google::protobuf::internal::TSanRead(&_impl_); @@ -13551,23 +14229,24 @@ inline const ::flex::RemoteStorageTarget_S3_StorageClass_Archival& RemoteStorage // @@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) { +inline void RemoteStorageTarget_S3_StorageClass::unsafe_arena_set_allocated_archival( + ::flex::RemoteStorageTarget_S3_StorageClass_Archival* PROTOBUF_NULLABLE 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; + _impl_._has_bits_[0] |= 0x00000002u; } else { - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000002u; } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.RemoteStorageTarget.S3.StorageClass.archival) } -inline ::flex::RemoteStorageTarget_S3_StorageClass_Archival* RemoteStorageTarget_S3_StorageClass::release_archival() { +inline ::flex::RemoteStorageTarget_S3_StorageClass_Archival* PROTOBUF_NULLABLE RemoteStorageTarget_S3_StorageClass::release_archival() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000002u; ::flex::RemoteStorageTarget_S3_StorageClass_Archival* released = _impl_.archival_; _impl_.archival_ = nullptr; if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { @@ -13583,16 +14262,16 @@ inline ::flex::RemoteStorageTarget_S3_StorageClass_Archival* RemoteStorageTarget } return released; } -inline ::flex::RemoteStorageTarget_S3_StorageClass_Archival* RemoteStorageTarget_S3_StorageClass::unsafe_arena_release_archival() { +inline ::flex::RemoteStorageTarget_S3_StorageClass_Archival* PROTOBUF_NULLABLE 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; + _impl_._has_bits_[0] &= ~0x00000002u; ::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() { +inline ::flex::RemoteStorageTarget_S3_StorageClass_Archival* PROTOBUF_NONNULL 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()); @@ -13600,27 +14279,28 @@ inline ::flex::RemoteStorageTarget_S3_StorageClass_Archival* RemoteStorageTarget } return _impl_.archival_; } -inline ::flex::RemoteStorageTarget_S3_StorageClass_Archival* RemoteStorageTarget_S3_StorageClass::mutable_archival() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; +inline ::flex::RemoteStorageTarget_S3_StorageClass_Archival* PROTOBUF_NONNULL RemoteStorageTarget_S3_StorageClass::mutable_archival() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; ::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) { +inline void RemoteStorageTarget_S3_StorageClass::set_allocated_archival(::flex::RemoteStorageTarget_S3_StorageClass_Archival* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { - delete (_impl_.archival_); + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.archival_); } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + ::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; + _impl_._has_bits_[0] |= 0x00000002u; } else { - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000002u; } _impl_.archival_ = reinterpret_cast<::flex::RemoteStorageTarget_S3_StorageClass_Archival*>(value); @@ -13635,43 +14315,60 @@ inline void RemoteStorageTarget_S3_StorageClass::set_allocated_archival(::flex:: inline void RemoteStorageTarget_S3::clear_endpoint_url() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.endpoint_url_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; } -inline const std::string& RemoteStorageTarget_S3::endpoint_url() const +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) { +PROTOBUF_ALWAYS_INLINE void RemoteStorageTarget_S3::set_endpoint_url(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void RemoteStorageTarget_S3::_internal_set_endpoint_url(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _impl_.endpoint_url_.Set(value, GetArena()); } -inline std::string* RemoteStorageTarget_S3::_internal_mutable_endpoint_url() { +inline ::std::string* PROTOBUF_NONNULL RemoteStorageTarget_S3::_internal_mutable_endpoint_url() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; return _impl_.endpoint_url_.Mutable( GetArena()); } -inline std::string* RemoteStorageTarget_S3::release_endpoint_url() { +inline ::std::string* PROTOBUF_NULLABLE 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(); + if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* released = _impl_.endpoint_url_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.endpoint_url_.Set("", GetArena()); + } + return released; } -inline void RemoteStorageTarget_S3::set_allocated_endpoint_url(std::string* value) { +inline void RemoteStorageTarget_S3::set_allocated_endpoint_url(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } _impl_.endpoint_url_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.endpoint_url_.IsDefault()) { _impl_.endpoint_url_.Set("", GetArena()); @@ -13683,43 +14380,60 @@ inline void RemoteStorageTarget_S3::set_allocated_endpoint_url(std::string* valu inline void RemoteStorageTarget_S3::clear_partition_id() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.partition_id_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; } -inline const std::string& RemoteStorageTarget_S3::partition_id() const +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) { +PROTOBUF_ALWAYS_INLINE void RemoteStorageTarget_S3::set_partition_id(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void RemoteStorageTarget_S3::_internal_set_partition_id(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; _impl_.partition_id_.Set(value, GetArena()); } -inline std::string* RemoteStorageTarget_S3::_internal_mutable_partition_id() { +inline ::std::string* PROTOBUF_NONNULL RemoteStorageTarget_S3::_internal_mutable_partition_id() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; return _impl_.partition_id_.Mutable( GetArena()); } -inline std::string* RemoteStorageTarget_S3::release_partition_id() { +inline ::std::string* PROTOBUF_NULLABLE 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(); + if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* released = _impl_.partition_id_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.partition_id_.Set("", GetArena()); + } + return released; } -inline void RemoteStorageTarget_S3::set_allocated_partition_id(std::string* value) { +inline void RemoteStorageTarget_S3::set_allocated_partition_id(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } _impl_.partition_id_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.partition_id_.IsDefault()) { _impl_.partition_id_.Set("", GetArena()); @@ -13731,43 +14445,60 @@ inline void RemoteStorageTarget_S3::set_allocated_partition_id(std::string* valu inline void RemoteStorageTarget_S3::clear_region() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.region_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000004u; } -inline const std::string& RemoteStorageTarget_S3::region() const +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) { +PROTOBUF_ALWAYS_INLINE void RemoteStorageTarget_S3::set_region(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000004u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void RemoteStorageTarget_S3::_internal_set_region(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000004u; _impl_.region_.Set(value, GetArena()); } -inline std::string* RemoteStorageTarget_S3::_internal_mutable_region() { +inline ::std::string* PROTOBUF_NONNULL RemoteStorageTarget_S3::_internal_mutable_region() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000004u; return _impl_.region_.Mutable( GetArena()); } -inline std::string* RemoteStorageTarget_S3::release_region() { +inline ::std::string* PROTOBUF_NULLABLE RemoteStorageTarget_S3::release_region() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:flex.RemoteStorageTarget.S3.region) - return _impl_.region_.Release(); + if ((_impl_._has_bits_[0] & 0x00000004u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000004u; + auto* released = _impl_.region_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.region_.Set("", GetArena()); + } + return released; } -inline void RemoteStorageTarget_S3::set_allocated_region(std::string* value) { +inline void RemoteStorageTarget_S3::set_allocated_region(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } _impl_.region_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.region_.IsDefault()) { _impl_.region_.Set("", GetArena()); @@ -13779,43 +14510,60 @@ inline void RemoteStorageTarget_S3::set_allocated_region(std::string* value) { inline void RemoteStorageTarget_S3::clear_bucket() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.bucket_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000008u; } -inline const std::string& RemoteStorageTarget_S3::bucket() const +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) { +PROTOBUF_ALWAYS_INLINE void RemoteStorageTarget_S3::set_bucket(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000008u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void RemoteStorageTarget_S3::_internal_set_bucket(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000008u; _impl_.bucket_.Set(value, GetArena()); } -inline std::string* RemoteStorageTarget_S3::_internal_mutable_bucket() { +inline ::std::string* PROTOBUF_NONNULL RemoteStorageTarget_S3::_internal_mutable_bucket() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000008u; return _impl_.bucket_.Mutable( GetArena()); } -inline std::string* RemoteStorageTarget_S3::release_bucket() { +inline ::std::string* PROTOBUF_NULLABLE RemoteStorageTarget_S3::release_bucket() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:flex.RemoteStorageTarget.S3.bucket) - return _impl_.bucket_.Release(); + if ((_impl_._has_bits_[0] & 0x00000008u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000008u; + auto* released = _impl_.bucket_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.bucket_.Set("", GetArena()); + } + return released; } -inline void RemoteStorageTarget_S3::set_allocated_bucket(std::string* value) { +inline void RemoteStorageTarget_S3::set_allocated_bucket(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } _impl_.bucket_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.bucket_.IsDefault()) { _impl_.bucket_.Set("", GetArena()); @@ -13827,43 +14575,60 @@ inline void RemoteStorageTarget_S3::set_allocated_bucket(std::string* value) { inline void RemoteStorageTarget_S3::clear_access_key() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.access_key_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000010u; } -inline const std::string& RemoteStorageTarget_S3::access_key() const +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) { +PROTOBUF_ALWAYS_INLINE void RemoteStorageTarget_S3::set_access_key(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000010u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void RemoteStorageTarget_S3::_internal_set_access_key(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000010u; _impl_.access_key_.Set(value, GetArena()); } -inline std::string* RemoteStorageTarget_S3::_internal_mutable_access_key() { +inline ::std::string* PROTOBUF_NONNULL RemoteStorageTarget_S3::_internal_mutable_access_key() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000010u; return _impl_.access_key_.Mutable( GetArena()); } -inline std::string* RemoteStorageTarget_S3::release_access_key() { +inline ::std::string* PROTOBUF_NULLABLE 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(); + if ((_impl_._has_bits_[0] & 0x00000010u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000010u; + auto* released = _impl_.access_key_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.access_key_.Set("", GetArena()); + } + return released; } -inline void RemoteStorageTarget_S3::set_allocated_access_key(std::string* value) { +inline void RemoteStorageTarget_S3::set_allocated_access_key(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } _impl_.access_key_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.access_key_.IsDefault()) { _impl_.access_key_.Set("", GetArena()); @@ -13875,43 +14640,60 @@ inline void RemoteStorageTarget_S3::set_allocated_access_key(std::string* value) inline void RemoteStorageTarget_S3::clear_secret_key() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.secret_key_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000020u; } -inline const std::string& RemoteStorageTarget_S3::secret_key() const +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) { +PROTOBUF_ALWAYS_INLINE void RemoteStorageTarget_S3::set_secret_key(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000020u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void RemoteStorageTarget_S3::_internal_set_secret_key(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000020u; _impl_.secret_key_.Set(value, GetArena()); } -inline std::string* RemoteStorageTarget_S3::_internal_mutable_secret_key() { +inline ::std::string* PROTOBUF_NONNULL RemoteStorageTarget_S3::_internal_mutable_secret_key() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000020u; return _impl_.secret_key_.Mutable( GetArena()); } -inline std::string* RemoteStorageTarget_S3::release_secret_key() { +inline ::std::string* PROTOBUF_NULLABLE 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(); + if ((_impl_._has_bits_[0] & 0x00000020u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000020u; + auto* released = _impl_.secret_key_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.secret_key_.Set("", GetArena()); + } + return released; } -inline void RemoteStorageTarget_S3::set_allocated_secret_key(std::string* value) { +inline void RemoteStorageTarget_S3::set_allocated_secret_key(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000020u; + } else { + _impl_._has_bits_[0] &= ~0x00000020u; + } _impl_.secret_key_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.secret_key_.IsDefault()) { _impl_.secret_key_.Set("", GetArena()); @@ -13930,12 +14712,12 @@ 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) +inline ::flex::RemoteStorageTarget_S3_StorageClass* PROTOBUF_NONNULL 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() +inline ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget_S3_StorageClass>* PROTOBUF_NONNULL 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_); @@ -13946,7 +14728,8 @@ inline const ::flex::RemoteStorageTarget_S3_StorageClass& RemoteStorageTarget_S3 // @@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 { +inline ::flex::RemoteStorageTarget_S3_StorageClass* PROTOBUF_NONNULL 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) @@ -13962,7 +14745,7 @@ RemoteStorageTarget_S3::_internal_storage_class() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.storage_class_; } -inline ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget_S3_StorageClass>* +inline ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget_S3_StorageClass>* PROTOBUF_NONNULL RemoteStorageTarget_S3::_internal_mutable_storage_class() { ::google::protobuf::internal::TSanRead(&_impl_); return &_impl_.storage_class_; @@ -13974,14 +14757,14 @@ RemoteStorageTarget_S3::_internal_mutable_storage_class() { // .flex.RemoteStorageTarget.S3 s3 = 1; inline bool RemoteStorageTarget_Azure::has_s3() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 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; + _impl_._has_bits_[0] &= ~0x00000002u; } inline const ::flex::RemoteStorageTarget_S3& RemoteStorageTarget_Azure::_internal_s3() const { ::google::protobuf::internal::TSanRead(&_impl_); @@ -13992,23 +14775,24 @@ inline const ::flex::RemoteStorageTarget_S3& RemoteStorageTarget_Azure::s3() con // @@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) { +inline void RemoteStorageTarget_Azure::unsafe_arena_set_allocated_s3( + ::flex::RemoteStorageTarget_S3* PROTOBUF_NULLABLE 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; + _impl_._has_bits_[0] |= 0x00000002u; } else { - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000002u; } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.RemoteStorageTarget.Azure.s3) } -inline ::flex::RemoteStorageTarget_S3* RemoteStorageTarget_Azure::release_s3() { +inline ::flex::RemoteStorageTarget_S3* PROTOBUF_NULLABLE RemoteStorageTarget_Azure::release_s3() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000002u; ::flex::RemoteStorageTarget_S3* released = _impl_.s3_; _impl_.s3_ = nullptr; if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { @@ -14024,16 +14808,16 @@ inline ::flex::RemoteStorageTarget_S3* RemoteStorageTarget_Azure::release_s3() { } return released; } -inline ::flex::RemoteStorageTarget_S3* RemoteStorageTarget_Azure::unsafe_arena_release_s3() { +inline ::flex::RemoteStorageTarget_S3* PROTOBUF_NULLABLE 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; + _impl_._has_bits_[0] &= ~0x00000002u; ::flex::RemoteStorageTarget_S3* temp = _impl_.s3_; _impl_.s3_ = nullptr; return temp; } -inline ::flex::RemoteStorageTarget_S3* RemoteStorageTarget_Azure::_internal_mutable_s3() { +inline ::flex::RemoteStorageTarget_S3* PROTOBUF_NONNULL RemoteStorageTarget_Azure::_internal_mutable_s3() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.s3_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::flex::RemoteStorageTarget_S3>(GetArena()); @@ -14041,27 +14825,28 @@ inline ::flex::RemoteStorageTarget_S3* RemoteStorageTarget_Azure::_internal_muta } return _impl_.s3_; } -inline ::flex::RemoteStorageTarget_S3* RemoteStorageTarget_Azure::mutable_s3() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; +inline ::flex::RemoteStorageTarget_S3* PROTOBUF_NONNULL RemoteStorageTarget_Azure::mutable_s3() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; ::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) { +inline void RemoteStorageTarget_Azure::set_allocated_s3(::flex::RemoteStorageTarget_S3* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { - delete (_impl_.s3_); + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.s3_); } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + ::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; + _impl_._has_bits_[0] |= 0x00000002u; } else { - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000002u; } _impl_.s3_ = reinterpret_cast<::flex::RemoteStorageTarget_S3*>(value); @@ -14072,43 +14857,60 @@ inline void RemoteStorageTarget_Azure::set_allocated_s3(::flex::RemoteStorageTar inline void RemoteStorageTarget_Azure::clear_account() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.account_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; } -inline const std::string& RemoteStorageTarget_Azure::account() const +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) { +PROTOBUF_ALWAYS_INLINE void RemoteStorageTarget_Azure::set_account(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void RemoteStorageTarget_Azure::_internal_set_account(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _impl_.account_.Set(value, GetArena()); } -inline std::string* RemoteStorageTarget_Azure::_internal_mutable_account() { +inline ::std::string* PROTOBUF_NONNULL RemoteStorageTarget_Azure::_internal_mutable_account() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; return _impl_.account_.Mutable( GetArena()); } -inline std::string* RemoteStorageTarget_Azure::release_account() { +inline ::std::string* PROTOBUF_NULLABLE RemoteStorageTarget_Azure::release_account() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:flex.RemoteStorageTarget.Azure.account) - return _impl_.account_.Release(); + if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* released = _impl_.account_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.account_.Set("", GetArena()); + } + return released; } -inline void RemoteStorageTarget_Azure::set_allocated_account(std::string* value) { +inline void RemoteStorageTarget_Azure::set_allocated_account(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } _impl_.account_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.account_.IsDefault()) { _impl_.account_.Set("", GetArena()); @@ -14124,43 +14926,60 @@ inline void RemoteStorageTarget_Azure::set_allocated_account(std::string* value) inline void RemoteStorageTarget_POSIX::clear_path() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.path_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; } -inline const std::string& RemoteStorageTarget_POSIX::path() const +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) { +PROTOBUF_ALWAYS_INLINE void RemoteStorageTarget_POSIX::set_path(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void RemoteStorageTarget_POSIX::_internal_set_path(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _impl_.path_.Set(value, GetArena()); } -inline std::string* RemoteStorageTarget_POSIX::_internal_mutable_path() { +inline ::std::string* PROTOBUF_NONNULL RemoteStorageTarget_POSIX::_internal_mutable_path() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; return _impl_.path_.Mutable( GetArena()); } -inline std::string* RemoteStorageTarget_POSIX::release_path() { +inline ::std::string* PROTOBUF_NULLABLE RemoteStorageTarget_POSIX::release_path() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:flex.RemoteStorageTarget.POSIX.path) - return _impl_.path_.Release(); + if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* released = _impl_.path_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.path_.Set("", GetArena()); + } + return released; } -inline void RemoteStorageTarget_POSIX::set_allocated_path(std::string* value) { +inline void RemoteStorageTarget_POSIX::set_allocated_path(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } _impl_.path_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.path_.IsDefault()) { _impl_.path_.Set("", GetArena()); @@ -14176,6 +14995,7 @@ inline void RemoteStorageTarget_POSIX::set_allocated_path(std::string* value) { inline void RemoteStorageTarget::clear_id() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; } inline ::uint32_t RemoteStorageTarget::id() const { // @@protoc_insertion_point(field_get:flex.RemoteStorageTarget.id) @@ -14183,6 +15003,7 @@ inline ::uint32_t RemoteStorageTarget::id() const { } inline void RemoteStorageTarget::set_id(::uint32_t value) { _internal_set_id(value); + _impl_._has_bits_[0] |= 0x00000004u; // @@protoc_insertion_point(field_set:flex.RemoteStorageTarget.id) } inline ::uint32_t RemoteStorageTarget::_internal_id() const { @@ -14198,43 +15019,60 @@ inline void RemoteStorageTarget::_internal_set_id(::uint32_t value) { inline void RemoteStorageTarget::clear_name() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; } -inline const std::string& RemoteStorageTarget::name() const +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) { +PROTOBUF_ALWAYS_INLINE void RemoteStorageTarget::set_name(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void RemoteStorageTarget::_internal_set_name(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _impl_.name_.Set(value, GetArena()); } -inline std::string* RemoteStorageTarget::_internal_mutable_name() { +inline ::std::string* PROTOBUF_NONNULL RemoteStorageTarget::_internal_mutable_name() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; return _impl_.name_.Mutable( GetArena()); } -inline std::string* RemoteStorageTarget::release_name() { +inline ::std::string* PROTOBUF_NULLABLE RemoteStorageTarget::release_name() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:flex.RemoteStorageTarget.name) - return _impl_.name_.Release(); + if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* released = _impl_.name_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.name_.Set("", GetArena()); + } + return released; } -inline void RemoteStorageTarget::set_allocated_name(std::string* value) { +inline void RemoteStorageTarget::set_allocated_name(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } _impl_.name_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) { _impl_.name_.Set("", GetArena()); @@ -14244,14 +15082,14 @@ inline void RemoteStorageTarget::set_allocated_name(std::string* value) { // .flex.RemoteStorageTarget.Policies policies = 3; inline bool RemoteStorageTarget::has_policies() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 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; + _impl_._has_bits_[0] &= ~0x00000002u; } inline const ::flex::RemoteStorageTarget_Policies& RemoteStorageTarget::_internal_policies() const { ::google::protobuf::internal::TSanRead(&_impl_); @@ -14262,23 +15100,24 @@ inline const ::flex::RemoteStorageTarget_Policies& RemoteStorageTarget::policies // @@protoc_insertion_point(field_get:flex.RemoteStorageTarget.policies) return _internal_policies(); } -inline void RemoteStorageTarget::unsafe_arena_set_allocated_policies(::flex::RemoteStorageTarget_Policies* value) { +inline void RemoteStorageTarget::unsafe_arena_set_allocated_policies( + ::flex::RemoteStorageTarget_Policies* PROTOBUF_NULLABLE 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; + _impl_._has_bits_[0] |= 0x00000002u; } else { - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000002u; } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.RemoteStorageTarget.policies) } -inline ::flex::RemoteStorageTarget_Policies* RemoteStorageTarget::release_policies() { +inline ::flex::RemoteStorageTarget_Policies* PROTOBUF_NULLABLE RemoteStorageTarget::release_policies() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000002u; ::flex::RemoteStorageTarget_Policies* released = _impl_.policies_; _impl_.policies_ = nullptr; if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { @@ -14294,16 +15133,16 @@ inline ::flex::RemoteStorageTarget_Policies* RemoteStorageTarget::release_polici } return released; } -inline ::flex::RemoteStorageTarget_Policies* RemoteStorageTarget::unsafe_arena_release_policies() { +inline ::flex::RemoteStorageTarget_Policies* PROTOBUF_NULLABLE RemoteStorageTarget::unsafe_arena_release_policies() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:flex.RemoteStorageTarget.policies) - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000002u; ::flex::RemoteStorageTarget_Policies* temp = _impl_.policies_; _impl_.policies_ = nullptr; return temp; } -inline ::flex::RemoteStorageTarget_Policies* RemoteStorageTarget::_internal_mutable_policies() { +inline ::flex::RemoteStorageTarget_Policies* PROTOBUF_NONNULL RemoteStorageTarget::_internal_mutable_policies() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.policies_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::flex::RemoteStorageTarget_Policies>(GetArena()); @@ -14311,27 +15150,28 @@ inline ::flex::RemoteStorageTarget_Policies* RemoteStorageTarget::_internal_muta } return _impl_.policies_; } -inline ::flex::RemoteStorageTarget_Policies* RemoteStorageTarget::mutable_policies() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; +inline ::flex::RemoteStorageTarget_Policies* PROTOBUF_NONNULL RemoteStorageTarget::mutable_policies() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; ::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) { +inline void RemoteStorageTarget::set_allocated_policies(::flex::RemoteStorageTarget_Policies* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { - delete (_impl_.policies_); + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.policies_); } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + ::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; + _impl_._has_bits_[0] |= 0x00000002u; } else { - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000002u; } _impl_.policies_ = reinterpret_cast<::flex::RemoteStorageTarget_Policies*>(value); @@ -14359,11 +15199,11 @@ inline void RemoteStorageTarget::clear_s3() { clear_has_type(); } } -inline ::flex::RemoteStorageTarget_S3* RemoteStorageTarget::release_s3() { +inline ::flex::RemoteStorageTarget_S3* PROTOBUF_NULLABLE RemoteStorageTarget::release_s3() { // @@protoc_insertion_point(field_release:flex.RemoteStorageTarget.s3) if (type_case() == kS3) { clear_has_type(); - auto* temp = _impl_.type_.s3_; + auto* temp = reinterpret_cast<::flex::RemoteStorageTarget_S3*>(_impl_.type_.s3_); if (GetArena() != nullptr) { temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); } @@ -14374,44 +15214,46 @@ inline ::flex::RemoteStorageTarget_S3* RemoteStorageTarget::release_s3() { } } 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_); + return type_case() == kS3 ? *reinterpret_cast<::flex::RemoteStorageTarget_S3*>(_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() { +inline ::flex::RemoteStorageTarget_S3* PROTOBUF_NULLABLE 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_; + auto* temp = reinterpret_cast<::flex::RemoteStorageTarget_S3*>(_impl_.type_.s3_); _impl_.type_.s3_ = nullptr; return temp; } else { return nullptr; } } -inline void RemoteStorageTarget::unsafe_arena_set_allocated_s3(::flex::RemoteStorageTarget_S3* value) { +inline void RemoteStorageTarget::unsafe_arena_set_allocated_s3( + ::flex::RemoteStorageTarget_S3* PROTOBUF_NULLABLE 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; + _impl_.type_.s3_ = reinterpret_cast<::google::protobuf::Message*>(value); } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.RemoteStorageTarget.s3) } -inline ::flex::RemoteStorageTarget_S3* RemoteStorageTarget::_internal_mutable_s3() { +inline ::flex::RemoteStorageTarget_S3* PROTOBUF_NONNULL RemoteStorageTarget::_internal_mutable_s3() { if (type_case() != kS3) { clear_type(); set_has_s3(); - _impl_.type_.s3_ = - ::google::protobuf::Message::DefaultConstruct<::flex::RemoteStorageTarget_S3>(GetArena()); + _impl_.type_.s3_ = reinterpret_cast<::google::protobuf::Message*>( + ::google::protobuf::Message::DefaultConstruct<::flex::RemoteStorageTarget_S3>(GetArena())); } - return _impl_.type_.s3_; + return reinterpret_cast<::flex::RemoteStorageTarget_S3*>(_impl_.type_.s3_); } -inline ::flex::RemoteStorageTarget_S3* RemoteStorageTarget::mutable_s3() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::flex::RemoteStorageTarget_S3* PROTOBUF_NONNULL RemoteStorageTarget::mutable_s3() + ABSL_ATTRIBUTE_LIFETIME_BOUND { ::flex::RemoteStorageTarget_S3* _msg = _internal_mutable_s3(); // @@protoc_insertion_point(field_mutable:flex.RemoteStorageTarget.s3) return _msg; @@ -14438,11 +15280,11 @@ inline void RemoteStorageTarget::clear_posix() { clear_has_type(); } } -inline ::flex::RemoteStorageTarget_POSIX* RemoteStorageTarget::release_posix() { +inline ::flex::RemoteStorageTarget_POSIX* PROTOBUF_NULLABLE RemoteStorageTarget::release_posix() { // @@protoc_insertion_point(field_release:flex.RemoteStorageTarget.posix) if (type_case() == kPosix) { clear_has_type(); - auto* temp = _impl_.type_.posix_; + auto* temp = reinterpret_cast<::flex::RemoteStorageTarget_POSIX*>(_impl_.type_.posix_); if (GetArena() != nullptr) { temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); } @@ -14453,44 +15295,46 @@ inline ::flex::RemoteStorageTarget_POSIX* RemoteStorageTarget::release_posix() { } } 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_); + return type_case() == kPosix ? *reinterpret_cast<::flex::RemoteStorageTarget_POSIX*>(_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() { +inline ::flex::RemoteStorageTarget_POSIX* PROTOBUF_NULLABLE 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_; + auto* temp = reinterpret_cast<::flex::RemoteStorageTarget_POSIX*>(_impl_.type_.posix_); _impl_.type_.posix_ = nullptr; return temp; } else { return nullptr; } } -inline void RemoteStorageTarget::unsafe_arena_set_allocated_posix(::flex::RemoteStorageTarget_POSIX* value) { +inline void RemoteStorageTarget::unsafe_arena_set_allocated_posix( + ::flex::RemoteStorageTarget_POSIX* PROTOBUF_NULLABLE 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; + _impl_.type_.posix_ = reinterpret_cast<::google::protobuf::Message*>(value); } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.RemoteStorageTarget.posix) } -inline ::flex::RemoteStorageTarget_POSIX* RemoteStorageTarget::_internal_mutable_posix() { +inline ::flex::RemoteStorageTarget_POSIX* PROTOBUF_NONNULL RemoteStorageTarget::_internal_mutable_posix() { if (type_case() != kPosix) { clear_type(); set_has_posix(); - _impl_.type_.posix_ = - ::google::protobuf::Message::DefaultConstruct<::flex::RemoteStorageTarget_POSIX>(GetArena()); + _impl_.type_.posix_ = reinterpret_cast<::google::protobuf::Message*>( + ::google::protobuf::Message::DefaultConstruct<::flex::RemoteStorageTarget_POSIX>(GetArena())); } - return _impl_.type_.posix_; + return reinterpret_cast<::flex::RemoteStorageTarget_POSIX*>(_impl_.type_.posix_); } -inline ::flex::RemoteStorageTarget_POSIX* RemoteStorageTarget::mutable_posix() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::flex::RemoteStorageTarget_POSIX* PROTOBUF_NONNULL RemoteStorageTarget::mutable_posix() + ABSL_ATTRIBUTE_LIFETIME_BOUND { ::flex::RemoteStorageTarget_POSIX* _msg = _internal_mutable_posix(); // @@protoc_insertion_point(field_mutable:flex.RemoteStorageTarget.posix) return _msg; @@ -14517,11 +15361,11 @@ inline void RemoteStorageTarget::clear_azure() { clear_has_type(); } } -inline ::flex::RemoteStorageTarget_Azure* RemoteStorageTarget::release_azure() { +inline ::flex::RemoteStorageTarget_Azure* PROTOBUF_NULLABLE RemoteStorageTarget::release_azure() { // @@protoc_insertion_point(field_release:flex.RemoteStorageTarget.azure) if (type_case() == kAzure) { clear_has_type(); - auto* temp = _impl_.type_.azure_; + auto* temp = reinterpret_cast<::flex::RemoteStorageTarget_Azure*>(_impl_.type_.azure_); if (GetArena() != nullptr) { temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); } @@ -14532,44 +15376,46 @@ inline ::flex::RemoteStorageTarget_Azure* RemoteStorageTarget::release_azure() { } } 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_); + return type_case() == kAzure ? *reinterpret_cast<::flex::RemoteStorageTarget_Azure*>(_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() { +inline ::flex::RemoteStorageTarget_Azure* PROTOBUF_NULLABLE 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_; + auto* temp = reinterpret_cast<::flex::RemoteStorageTarget_Azure*>(_impl_.type_.azure_); _impl_.type_.azure_ = nullptr; return temp; } else { return nullptr; } } -inline void RemoteStorageTarget::unsafe_arena_set_allocated_azure(::flex::RemoteStorageTarget_Azure* value) { +inline void RemoteStorageTarget::unsafe_arena_set_allocated_azure( + ::flex::RemoteStorageTarget_Azure* PROTOBUF_NULLABLE 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; + _impl_.type_.azure_ = reinterpret_cast<::google::protobuf::Message*>(value); } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.RemoteStorageTarget.azure) } -inline ::flex::RemoteStorageTarget_Azure* RemoteStorageTarget::_internal_mutable_azure() { +inline ::flex::RemoteStorageTarget_Azure* PROTOBUF_NONNULL RemoteStorageTarget::_internal_mutable_azure() { if (type_case() != kAzure) { clear_type(); set_has_azure(); - _impl_.type_.azure_ = - ::google::protobuf::Message::DefaultConstruct<::flex::RemoteStorageTarget_Azure>(GetArena()); + _impl_.type_.azure_ = reinterpret_cast<::google::protobuf::Message*>( + ::google::protobuf::Message::DefaultConstruct<::flex::RemoteStorageTarget_Azure>(GetArena())); } - return _impl_.type_.azure_; + return reinterpret_cast<::flex::RemoteStorageTarget_Azure*>(_impl_.type_.azure_); } -inline ::flex::RemoteStorageTarget_Azure* RemoteStorageTarget::mutable_azure() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::flex::RemoteStorageTarget_Azure* PROTOBUF_NONNULL RemoteStorageTarget::mutable_azure() + ABSL_ATTRIBUTE_LIFETIME_BOUND { ::flex::RemoteStorageTarget_Azure* _msg = _internal_mutable_azure(); // @@protoc_insertion_point(field_mutable:flex.RemoteStorageTarget.azure) return _msg; @@ -14589,14 +15435,13 @@ inline void RemoteStorageTarget::clear_mock() { clear_has_type(); } } -inline const std::string& RemoteStorageTarget::mock() const +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) { +PROTOBUF_ALWAYS_INLINE void RemoteStorageTarget::set_mock(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); if (type_case() != kMock) { clear_type(); @@ -14607,19 +15452,20 @@ inline PROTOBUF_ALWAYS_INLINE void RemoteStorageTarget::set_mock(Arg_&& arg, _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void RemoteStorageTarget::_internal_set_mock(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (type_case() != kMock) { clear_type(); @@ -14629,7 +15475,7 @@ inline void RemoteStorageTarget::_internal_set_mock(const std::string& value) { } _impl_.type_.mock_.Set(value, GetArena()); } -inline std::string* RemoteStorageTarget::_internal_mutable_mock() { +inline ::std::string* PROTOBUF_NONNULL RemoteStorageTarget::_internal_mutable_mock() { ::google::protobuf::internal::TSanWrite(&_impl_); if (type_case() != kMock) { clear_type(); @@ -14639,7 +15485,7 @@ inline std::string* RemoteStorageTarget::_internal_mutable_mock() { } return _impl_.type_.mock_.Mutable( GetArena()); } -inline std::string* RemoteStorageTarget::release_mock() { +inline ::std::string* PROTOBUF_NULLABLE RemoteStorageTarget::release_mock() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:flex.RemoteStorageTarget.mock) if (type_case() != kMock) { @@ -14648,7 +15494,7 @@ inline std::string* RemoteStorageTarget::release_mock() { clear_has_type(); return _impl_.type_.mock_.Release(); } -inline void RemoteStorageTarget::set_allocated_mock(std::string* value) { +inline void RemoteStorageTarget::set_allocated_mock(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (has_type()) { clear_type(); @@ -14699,7 +15545,8 @@ inline const ::flex::BuildInfo& GetCapabilitiesResponse::build_info() const ABSL // @@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) { +inline void GetCapabilitiesResponse::unsafe_arena_set_allocated_build_info( + ::flex::BuildInfo* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.build_info_); @@ -14712,7 +15559,7 @@ inline void GetCapabilitiesResponse::unsafe_arena_set_allocated_build_info(::fle } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.GetCapabilitiesResponse.build_info) } -inline ::flex::BuildInfo* GetCapabilitiesResponse::release_build_info() { +inline ::flex::BuildInfo* PROTOBUF_NULLABLE GetCapabilitiesResponse::release_build_info() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000001u; @@ -14731,7 +15578,7 @@ inline ::flex::BuildInfo* GetCapabilitiesResponse::release_build_info() { } return released; } -inline ::flex::BuildInfo* GetCapabilitiesResponse::unsafe_arena_release_build_info() { +inline ::flex::BuildInfo* PROTOBUF_NULLABLE GetCapabilitiesResponse::unsafe_arena_release_build_info() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:flex.GetCapabilitiesResponse.build_info) @@ -14740,7 +15587,7 @@ inline ::flex::BuildInfo* GetCapabilitiesResponse::unsafe_arena_release_build_in _impl_.build_info_ = nullptr; return temp; } -inline ::flex::BuildInfo* GetCapabilitiesResponse::_internal_mutable_build_info() { +inline ::flex::BuildInfo* PROTOBUF_NONNULL GetCapabilitiesResponse::_internal_mutable_build_info() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.build_info_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::flex::BuildInfo>(GetArena()); @@ -14748,21 +15595,22 @@ inline ::flex::BuildInfo* GetCapabilitiesResponse::_internal_mutable_build_info( } return _impl_.build_info_; } -inline ::flex::BuildInfo* GetCapabilitiesResponse::mutable_build_info() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::flex::BuildInfo* PROTOBUF_NONNULL 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) { +inline void GetCapabilitiesResponse::set_allocated_build_info(::flex::BuildInfo* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { - delete (_impl_.build_info_); + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.build_info_); } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = value->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } @@ -14794,11 +15642,12 @@ inline const ::google::protobuf::Map& GetCapabilit // @@protoc_insertion_point(field_map:flex.GetCapabilitiesResponse.features) return _internal_features(); } -inline ::google::protobuf::Map* GetCapabilitiesResponse::_internal_mutable_features() { +inline ::google::protobuf::Map* PROTOBUF_NONNULL GetCapabilitiesResponse::_internal_mutable_features() { ::google::protobuf::internal::TSanWrite(&_impl_); return _impl_.features_.MutableMap(); } -inline ::google::protobuf::Map* GetCapabilitiesResponse::mutable_features() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::google::protobuf::Map* PROTOBUF_NONNULL GetCapabilitiesResponse::mutable_features() + ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_mutable_map:flex.GetCapabilitiesResponse.features) return _internal_mutable_features(); } @@ -14818,7 +15667,8 @@ inline const ::google::protobuf::Timestamp& GetCapabilitiesResponse::start_times // @@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) { +inline void GetCapabilitiesResponse::unsafe_arena_set_allocated_start_timestamp( + ::google::protobuf::Timestamp* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.start_timestamp_); @@ -14831,7 +15681,7 @@ inline void GetCapabilitiesResponse::unsafe_arena_set_allocated_start_timestamp( } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.GetCapabilitiesResponse.start_timestamp) } -inline ::google::protobuf::Timestamp* GetCapabilitiesResponse::release_start_timestamp() { +inline ::google::protobuf::Timestamp* PROTOBUF_NULLABLE GetCapabilitiesResponse::release_start_timestamp() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000002u; @@ -14850,7 +15700,7 @@ inline ::google::protobuf::Timestamp* GetCapabilitiesResponse::release_start_tim } return released; } -inline ::google::protobuf::Timestamp* GetCapabilitiesResponse::unsafe_arena_release_start_timestamp() { +inline ::google::protobuf::Timestamp* PROTOBUF_NULLABLE GetCapabilitiesResponse::unsafe_arena_release_start_timestamp() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:flex.GetCapabilitiesResponse.start_timestamp) @@ -14859,7 +15709,7 @@ inline ::google::protobuf::Timestamp* GetCapabilitiesResponse::unsafe_arena_rele _impl_.start_timestamp_ = nullptr; return temp; } -inline ::google::protobuf::Timestamp* GetCapabilitiesResponse::_internal_mutable_start_timestamp() { +inline ::google::protobuf::Timestamp* PROTOBUF_NONNULL 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()); @@ -14867,13 +15717,14 @@ inline ::google::protobuf::Timestamp* GetCapabilitiesResponse::_internal_mutable } return _impl_.start_timestamp_; } -inline ::google::protobuf::Timestamp* GetCapabilitiesResponse::mutable_start_timestamp() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::google::protobuf::Timestamp* PROTOBUF_NONNULL 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) { +inline void GetCapabilitiesResponse::set_allocated_start_timestamp(::google::protobuf::Timestamp* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { @@ -14881,7 +15732,7 @@ inline void GetCapabilitiesResponse::set_allocated_start_timestamp(::google::pro } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } @@ -14919,11 +15770,12 @@ inline const ::google::protobuf::Map& Feature::sub // @@protoc_insertion_point(field_map:flex.Feature.sub_feature) return _internal_sub_feature(); } -inline ::google::protobuf::Map* Feature::_internal_mutable_sub_feature() { +inline ::google::protobuf::Map* PROTOBUF_NONNULL 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 { +inline ::google::protobuf::Map* PROTOBUF_NONNULL Feature::mutable_sub_feature() + ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_mutable_map:flex.Feature.sub_feature) return _internal_mutable_sub_feature(); } @@ -14936,43 +15788,60 @@ inline ::google::protobuf::Map* Feature::mutable_s inline void BuildInfo::clear_binary_name() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.binary_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; } -inline const std::string& BuildInfo::binary_name() const +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) { +PROTOBUF_ALWAYS_INLINE void BuildInfo::set_binary_name(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void BuildInfo::_internal_set_binary_name(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _impl_.binary_name_.Set(value, GetArena()); } -inline std::string* BuildInfo::_internal_mutable_binary_name() { +inline ::std::string* PROTOBUF_NONNULL BuildInfo::_internal_mutable_binary_name() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; return _impl_.binary_name_.Mutable( GetArena()); } -inline std::string* BuildInfo::release_binary_name() { +inline ::std::string* PROTOBUF_NULLABLE BuildInfo::release_binary_name() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:flex.BuildInfo.binary_name) - return _impl_.binary_name_.Release(); + if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* released = _impl_.binary_name_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.binary_name_.Set("", GetArena()); + } + return released; } -inline void BuildInfo::set_allocated_binary_name(std::string* value) { +inline void BuildInfo::set_allocated_binary_name(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } _impl_.binary_name_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.binary_name_.IsDefault()) { _impl_.binary_name_.Set("", GetArena()); @@ -14984,43 +15853,60 @@ inline void BuildInfo::set_allocated_binary_name(std::string* value) { inline void BuildInfo::clear_version() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.version_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; } -inline const std::string& BuildInfo::version() const +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) { +PROTOBUF_ALWAYS_INLINE void BuildInfo::set_version(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void BuildInfo::_internal_set_version(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; _impl_.version_.Set(value, GetArena()); } -inline std::string* BuildInfo::_internal_mutable_version() { +inline ::std::string* PROTOBUF_NONNULL BuildInfo::_internal_mutable_version() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; return _impl_.version_.Mutable( GetArena()); } -inline std::string* BuildInfo::release_version() { +inline ::std::string* PROTOBUF_NULLABLE BuildInfo::release_version() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:flex.BuildInfo.version) - return _impl_.version_.Release(); + if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* released = _impl_.version_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.version_.Set("", GetArena()); + } + return released; } -inline void BuildInfo::set_allocated_version(std::string* value) { +inline void BuildInfo::set_allocated_version(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } _impl_.version_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.version_.IsDefault()) { _impl_.version_.Set("", GetArena()); @@ -15032,43 +15918,60 @@ inline void BuildInfo::set_allocated_version(std::string* value) { inline void BuildInfo::clear_commit() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.commit_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000004u; } -inline const std::string& BuildInfo::commit() const +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) { +PROTOBUF_ALWAYS_INLINE void BuildInfo::set_commit(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000004u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void BuildInfo::_internal_set_commit(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000004u; _impl_.commit_.Set(value, GetArena()); } -inline std::string* BuildInfo::_internal_mutable_commit() { +inline ::std::string* PROTOBUF_NONNULL BuildInfo::_internal_mutable_commit() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000004u; return _impl_.commit_.Mutable( GetArena()); } -inline std::string* BuildInfo::release_commit() { +inline ::std::string* PROTOBUF_NULLABLE BuildInfo::release_commit() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:flex.BuildInfo.commit) - return _impl_.commit_.Release(); + if ((_impl_._has_bits_[0] & 0x00000004u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000004u; + auto* released = _impl_.commit_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.commit_.Set("", GetArena()); + } + return released; } -inline void BuildInfo::set_allocated_commit(std::string* value) { +inline void BuildInfo::set_allocated_commit(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } _impl_.commit_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.commit_.IsDefault()) { _impl_.commit_.Set("", GetArena()); @@ -15080,43 +15983,60 @@ inline void BuildInfo::set_allocated_commit(std::string* value) { inline void BuildInfo::clear_build_time() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.build_time_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000008u; } -inline const std::string& BuildInfo::build_time() const +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) { +PROTOBUF_ALWAYS_INLINE void BuildInfo::set_build_time(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000008u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void BuildInfo::_internal_set_build_time(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000008u; _impl_.build_time_.Set(value, GetArena()); } -inline std::string* BuildInfo::_internal_mutable_build_time() { +inline ::std::string* PROTOBUF_NONNULL BuildInfo::_internal_mutable_build_time() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000008u; return _impl_.build_time_.Mutable( GetArena()); } -inline std::string* BuildInfo::release_build_time() { +inline ::std::string* PROTOBUF_NULLABLE BuildInfo::release_build_time() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:flex.BuildInfo.build_time) - return _impl_.build_time_.Release(); + if ((_impl_._has_bits_[0] & 0x00000008u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000008u; + auto* released = _impl_.build_time_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.build_time_.Set("", GetArena()); + } + return released; } -inline void BuildInfo::set_allocated_build_time(std::string* value) { +inline void BuildInfo::set_allocated_build_time(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } _impl_.build_time_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.build_time_.IsDefault()) { _impl_.build_time_.Set("", GetArena()); @@ -15138,31 +16058,31 @@ namespace protobuf { template <> struct is_proto_enum<::flex::UpdateWorkRequest_NewState> : std::true_type {}; template <> -inline const EnumDescriptor* GetEnumDescriptor<::flex::UpdateWorkRequest_NewState>() { +inline const EnumDescriptor* PROTOBUF_NONNULL 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>() { +inline const EnumDescriptor* PROTOBUF_NONNULL 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>() { +inline const EnumDescriptor* PROTOBUF_NONNULL 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>() { +inline const EnumDescriptor* PROTOBUF_NONNULL 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>() { +inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::flex::UpdateConfigResponse_Result>() { return ::flex::UpdateConfigResponse_Result_descriptor(); } diff --git a/cpp/include/proto/license.grpc.pb.cc b/cpp/include/proto/license.grpc.pb.cc new file mode 100644 index 0000000..a54e58f --- /dev/null +++ b/cpp/include/proto/license.grpc.pb.cc @@ -0,0 +1,27 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: license.proto + +#include "license.pb.h" +#include "license.grpc.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +namespace license { + +} // namespace license +#include + diff --git a/cpp/include/proto/license.grpc.pb.h b/cpp/include/proto/license.grpc.pb.h new file mode 100644 index 0000000..c3599c9 --- /dev/null +++ b/cpp/include/proto/license.grpc.pb.h @@ -0,0 +1,35 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: license.proto +#ifndef GRPC_license_2eproto__INCLUDED +#define GRPC_license_2eproto__INCLUDED + +#include "license.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace license { + +} // namespace license + + +#include +#endif // GRPC_license_2eproto__INCLUDED diff --git a/cpp/include/proto/license.pb.cc b/cpp/include/proto/license.pb.cc new file mode 100644 index 0000000..eba1995 --- /dev/null +++ b/cpp/include/proto/license.pb.cc @@ -0,0 +1,2040 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: license.proto +// Protobuf C++ Version: 6.31.1 + +#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 + : _cached_size_{0}, + message_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + result_{static_cast< ::license::VerifyResult >(0)} {} + +template +PROTOBUF_CONSTEXPR VerifyFeatureResult::VerifyFeatureResult(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(VerifyFeatureResult_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 + : _cached_size_{0}, + 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)} {} + +template +PROTOBUF_CONSTEXPR VerifyCertResult::VerifyCertResult(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(VerifyCertResult_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(CertData_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(GetCertDataResult_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* PROTOBUF_NONNULL + file_level_enum_descriptors_license_2eproto[2]; +static constexpr const ::_pb::ServiceDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE + file_level_service_descriptors_license_2eproto = nullptr; +const ::uint32_t + TableStruct_license_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + 0x081, // bitmap + PROTOBUF_FIELD_OFFSET(::license::VerifyCertResult, _impl_._has_bits_), + 6, // hasbit index offset + PROTOBUF_FIELD_OFFSET(::license::VerifyCertResult, _impl_.result_), + PROTOBUF_FIELD_OFFSET(::license::VerifyCertResult, _impl_.serial_), + PROTOBUF_FIELD_OFFSET(::license::VerifyCertResult, _impl_.message_), + 2, + 0, + 1, + 0x081, // bitmap + PROTOBUF_FIELD_OFFSET(::license::VerifyFeatureResult, _impl_._has_bits_), + 5, // hasbit index offset + PROTOBUF_FIELD_OFFSET(::license::VerifyFeatureResult, _impl_.result_), + PROTOBUF_FIELD_OFFSET(::license::VerifyFeatureResult, _impl_.message_), + 1, + 0, + 0x081, // bitmap + PROTOBUF_FIELD_OFFSET(::license::GetCertDataResult, _impl_._has_bits_), + 6, // hasbit index offset + PROTOBUF_FIELD_OFFSET(::license::GetCertDataResult, _impl_.result_), + PROTOBUF_FIELD_OFFSET(::license::GetCertDataResult, _impl_.data_), + PROTOBUF_FIELD_OFFSET(::license::GetCertDataResult, _impl_.message_), + 2, + 1, + 0, + 0x081, // bitmap + PROTOBUF_FIELD_OFFSET(::license::CertData, _impl_._has_bits_), + 16, // hasbit index offset + 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_), + 10, + 9, + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + ~0u, + 11, + 8, +}; + +static const ::_pbi::MigrationSchema + schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + {0, sizeof(::license::VerifyCertResult)}, + {9, sizeof(::license::VerifyFeatureResult)}, + {16, sizeof(::license::GetCertDataResult)}, + {25, sizeof(::license::CertData)}, +}; +static const ::_pb::Message* PROTOBUF_NONNULL 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*\274\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\026\n\022CERT_TYPE_" + "CUSTOMER\020\004\022\027\n\023CERT_TYPE_TEMPORARY\020\005\022\027\n\023C" + "ERT_TYPE_COMMUNITY\020\006B*Z(github.com/think" + "parq/protobuf/go/licenseb\006proto3" +}; +static const ::_pbi::DescriptorTable* PROTOBUF_NONNULL 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, + 1072, + 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* PROTOBUF_NONNULL 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, }; +const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL 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, }; +// =================================================================== + +class VerifyCertResult::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(VerifyCertResult, _impl_._has_bits_); +}; + +VerifyCertResult::VerifyCertResult(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, VerifyCertResult_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:license.VerifyCertResult) +} +PROTOBUF_NDEBUG_INLINE VerifyCertResult::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::license::VerifyCertResult& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + serial_(arena, from.serial_), + message_(arena, from.message_) {} + +VerifyCertResult::VerifyCertResult( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const VerifyCertResult& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, VerifyCertResult_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) +} +PROTOBUF_NDEBUG_INLINE VerifyCertResult::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + serial_(arena), + message_(arena) {} + +inline void VerifyCertResult::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE 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* PROTOBUF_NONNULL VerifyCertResult::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) VerifyCertResult(arena); +} +constexpr auto VerifyCertResult::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(VerifyCertResult), + alignof(VerifyCertResult)); +} +constexpr auto VerifyCertResult::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull VerifyCertResult_class_data_ = + VerifyCertResult::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +VerifyCertResult::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&VerifyCertResult_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(VerifyCertResult_class_data_.tc_table); + return VerifyCertResult_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 0, 46, 2> +VerifyCertResult::_table_ = { + { + PROTOBUF_FIELD_OFFSET(VerifyCertResult, _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 + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + VerifyCertResult_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_), 2>(), + {8, 2, 0, PROTOBUF_FIELD_OFFSET(VerifyCertResult, _impl_.result_)}}, + // string serial = 2; + {::_pbi::TcParser::FastUS1, + {18, 0, 0, PROTOBUF_FIELD_OFFSET(VerifyCertResult, _impl_.serial_)}}, + // string message = 3; + {::_pbi::TcParser::FastUS1, + {26, 1, 0, PROTOBUF_FIELD_OFFSET(VerifyCertResult, _impl_.message_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .license.VerifyResult result = 1; + {PROTOBUF_FIELD_OFFSET(VerifyCertResult, _impl_.result_), _Internal::kHasBitsOffset + 2, 0, + (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)}, + // string serial = 2; + {PROTOBUF_FIELD_OFFSET(VerifyCertResult, _impl_.serial_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string message = 3; + {PROTOBUF_FIELD_OFFSET(VerifyCertResult, _impl_.message_), _Internal::kHasBitsOffset + 1, 0, + (0 | ::_fl::kFcOptional | ::_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; + + cached_has_bits = _impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000003u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + _impl_.serial_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000002u) != 0) { + _impl_.message_.ClearNonDefaultToEmpty(); + } + } + _impl_.result_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL VerifyCertResult::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const VerifyCertResult& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL VerifyCertResult::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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_._impl_._has_bits_[0] & 0x00000004u) != 0) { + if (this_._internal_result() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 1, this_._internal_result(), target); + } + } + + // string serial = 2; + if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000002u) != 0) { + 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 (ABSL_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_); + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000007u) != 0) { + // string serial = 2; + if ((cached_has_bits & 0x00000001u) != 0) { + if (!this_._internal_serial().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_serial()); + } + } + // string message = 3; + if ((cached_has_bits & 0x00000002u) != 0) { + if (!this_._internal_message().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_message()); + } + } + // .license.VerifyResult result = 1; + if ((cached_has_bits & 0x00000004u) != 0) { + 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; + + cached_has_bits = from._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000007u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + if (!from._internal_serial().empty()) { + _this->_internal_set_serial(from._internal_serial()); + } else { + if (_this->_impl_.serial_.IsDefault()) { + _this->_internal_set_serial(""); + } + } + } + if ((cached_has_bits & 0x00000002u) != 0) { + if (!from._internal_message().empty()) { + _this->_internal_set_message(from._internal_message()); + } else { + if (_this->_impl_.message_.IsDefault()) { + _this->_internal_set_message(""); + } + } + } + if ((cached_has_bits & 0x00000004u) != 0) { + 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 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 PROTOBUF_NONNULL 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_.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: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(VerifyFeatureResult, _impl_._has_bits_); +}; + +VerifyFeatureResult::VerifyFeatureResult(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, VerifyFeatureResult_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:license.VerifyFeatureResult) +} +PROTOBUF_NDEBUG_INLINE VerifyFeatureResult::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::license::VerifyFeatureResult& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + message_(arena, from.message_) {} + +VerifyFeatureResult::VerifyFeatureResult( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const VerifyFeatureResult& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, VerifyFeatureResult_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) +} +PROTOBUF_NDEBUG_INLINE VerifyFeatureResult::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + message_(arena) {} + +inline void VerifyFeatureResult::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE 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* PROTOBUF_NONNULL VerifyFeatureResult::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) VerifyFeatureResult(arena); +} +constexpr auto VerifyFeatureResult::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(VerifyFeatureResult), + alignof(VerifyFeatureResult)); +} +constexpr auto VerifyFeatureResult::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull VerifyFeatureResult_class_data_ = + VerifyFeatureResult::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +VerifyFeatureResult::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&VerifyFeatureResult_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(VerifyFeatureResult_class_data_.tc_table); + return VerifyFeatureResult_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 0, 43, 2> +VerifyFeatureResult::_table_ = { + { + PROTOBUF_FIELD_OFFSET(VerifyFeatureResult, _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 + VerifyFeatureResult_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, 0, 0, PROTOBUF_FIELD_OFFSET(VerifyFeatureResult, _impl_.message_)}}, + // .license.VerifyResult result = 1; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(VerifyFeatureResult, _impl_.result_), 1>(), + {8, 1, 0, PROTOBUF_FIELD_OFFSET(VerifyFeatureResult, _impl_.result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .license.VerifyResult result = 1; + {PROTOBUF_FIELD_OFFSET(VerifyFeatureResult, _impl_.result_), _Internal::kHasBitsOffset + 1, 0, + (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)}, + // string message = 2; + {PROTOBUF_FIELD_OFFSET(VerifyFeatureResult, _impl_.message_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_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; + + cached_has_bits = _impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000001u) != 0) { + _impl_.message_.ClearNonDefaultToEmpty(); + } + _impl_.result_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL VerifyFeatureResult::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const VerifyFeatureResult& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL VerifyFeatureResult::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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_._impl_._has_bits_[0] & 0x00000002u) != 0) { + if (this_._internal_result() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 1, this_._internal_result(), target); + } + } + + // string message = 2; + if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { + 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 (ABSL_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_); + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000003u) != 0) { + // string message = 2; + if ((cached_has_bits & 0x00000001u) != 0) { + if (!this_._internal_message().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_message()); + } + } + // .license.VerifyResult result = 1; + if ((cached_has_bits & 0x00000002u) != 0) { + 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; + + cached_has_bits = from._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000003u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + if (!from._internal_message().empty()) { + _this->_internal_set_message(from._internal_message()); + } else { + if (_this->_impl_.message_.IsDefault()) { + _this->_internal_set_message(""); + } + } + } + if ((cached_has_bits & 0x00000002u) != 0) { + 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 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 PROTOBUF_NONNULL 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); + 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* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, GetCertDataResult_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:license.GetCertDataResult) +} +PROTOBUF_NDEBUG_INLINE GetCertDataResult::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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* PROTOBUF_NULLABLE arena, + const GetCertDataResult& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, GetCertDataResult_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 & 0x00000002u) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.data_) + : nullptr; + _impl_.result_ = from._impl_.result_; + + // @@protoc_insertion_point(copy_constructor:license.GetCertDataResult) +} +PROTOBUF_NDEBUG_INLINE GetCertDataResult::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + message_(arena) {} + +inline void GetCertDataResult::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE 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* PROTOBUF_NONNULL GetCertDataResult::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) GetCertDataResult(arena); +} +constexpr auto GetCertDataResult::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(GetCertDataResult), + alignof(GetCertDataResult)); +} +constexpr auto GetCertDataResult::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull GetCertDataResult_class_data_ = + GetCertDataResult::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +GetCertDataResult::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&GetCertDataResult_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(GetCertDataResult_class_data_.tc_table); + return GetCertDataResult_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), + GetCertDataResult_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_), 2>(), + {8, 2, 0, PROTOBUF_FIELD_OFFSET(GetCertDataResult, _impl_.result_)}}, + // .license.CertData data = 2; + {::_pbi::TcParser::FastMtS1, + {18, 1, 0, PROTOBUF_FIELD_OFFSET(GetCertDataResult, _impl_.data_)}}, + // string message = 3; + {::_pbi::TcParser::FastUS1, + {26, 0, 0, PROTOBUF_FIELD_OFFSET(GetCertDataResult, _impl_.message_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .license.VerifyResult result = 1; + {PROTOBUF_FIELD_OFFSET(GetCertDataResult, _impl_.result_), _Internal::kHasBitsOffset + 2, 0, + (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)}, + // .license.CertData data = 2; + {PROTOBUF_FIELD_OFFSET(GetCertDataResult, _impl_.data_), _Internal::kHasBitsOffset + 1, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // string message = 3; + {PROTOBUF_FIELD_OFFSET(GetCertDataResult, _impl_.message_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_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; + + cached_has_bits = _impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000003u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + _impl_.message_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000002u) != 0) { + 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* PROTOBUF_NONNULL GetCertDataResult::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const GetCertDataResult& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL GetCertDataResult::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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_._impl_._has_bits_[0] & 0x00000004u) != 0) { + 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 & 0x00000002u) != 0) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.data_, this_._impl_.data_->GetCachedSize(), target, + stream); + } + + // string message = 3; + if ((cached_has_bits & 0x00000001u) != 0) { + 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 (ABSL_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_); + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000007u) != 0) { + // string message = 3; + if ((cached_has_bits & 0x00000001u) != 0) { + if (!this_._internal_message().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_message()); + } + } + // .license.CertData data = 2; + if ((cached_has_bits & 0x00000002u) != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.data_); + } + // .license.VerifyResult result = 1; + if ((cached_has_bits & 0x00000004u) != 0) { + 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; + + cached_has_bits = from._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000007u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + if (!from._internal_message().empty()) { + _this->_internal_set_message(from._internal_message()); + } else { + if (_this->_impl_.message_.IsDefault()) { + _this->_internal_set_message(""); + } + } + } + if ((cached_has_bits & 0x00000002u) != 0) { + ABSL_DCHECK(from._impl_.data_ != nullptr); + if (_this->_impl_.data_ == nullptr) { + _this->_impl_.data_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.data_); + } else { + _this->_impl_.data_->MergeFrom(*from._impl_.data_); + } + } + if ((cached_has_bits & 0x00000004u) != 0) { + 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 PROTOBUF_NONNULL 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] &= ~0x00000040u; +} +void CertData::clear_valid_until() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.valid_until_ != nullptr) _impl_.valid_until_->Clear(); + _impl_._has_bits_[0] &= ~0x00000080u; +} +CertData::CertData(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, CertData_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:license.CertData) +} +PROTOBUF_NDEBUG_INLINE CertData::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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* PROTOBUF_NULLABLE arena, + const CertData& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, CertData_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 & 0x00000040u) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.valid_from_) + : nullptr; + _impl_.valid_until_ = ((cached_has_bits & 0x00000080u) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.valid_until_) + : nullptr; + _impl_.parent_data_ = ((cached_has_bits & 0x00000100u) != 0) + ? ::google::protobuf::Message::CopyConstruct(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) +} +PROTOBUF_NDEBUG_INLINE CertData::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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* PROTOBUF_NULLABLE 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* PROTOBUF_NONNULL CertData::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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)); + } +} +constexpr auto CertData::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull CertData_class_data_ = + CertData::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +CertData::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&CertData_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(CertData_class_data_.tc_table); + return CertData_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), + CertData_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_), 10>(), + {8, 10, 0, PROTOBUF_FIELD_OFFSET(CertData, _impl_.type_)}}, + // int64 serial = 2; + {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(CertData, _impl_.serial_), 9>(), + {16, 9, 0, PROTOBUF_FIELD_OFFSET(CertData, _impl_.serial_)}}, + // string organization = 3; + {::_pbi::TcParser::FastUS1, + {26, 0, 0, PROTOBUF_FIELD_OFFSET(CertData, _impl_.organization_)}}, + // string organizational_unit = 4; + {::_pbi::TcParser::FastUS1, + {34, 1, 0, PROTOBUF_FIELD_OFFSET(CertData, _impl_.organizational_unit_)}}, + // string country = 5; + {::_pbi::TcParser::FastUS1, + {42, 2, 0, PROTOBUF_FIELD_OFFSET(CertData, _impl_.country_)}}, + // string locality = 6; + {::_pbi::TcParser::FastUS1, + {50, 3, 0, PROTOBUF_FIELD_OFFSET(CertData, _impl_.locality_)}}, + // string common_name = 7; + {::_pbi::TcParser::FastUS1, + {58, 4, 0, PROTOBUF_FIELD_OFFSET(CertData, _impl_.common_name_)}}, + // string subject_serial = 8; + {::_pbi::TcParser::FastUS1, + {66, 5, 0, PROTOBUF_FIELD_OFFSET(CertData, _impl_.subject_serial_)}}, + // .google.protobuf.Timestamp valid_from = 9; + {::_pbi::TcParser::FastMtS1, + {74, 6, 0, PROTOBUF_FIELD_OFFSET(CertData, _impl_.valid_from_)}}, + // .google.protobuf.Timestamp valid_until = 10; + {::_pbi::TcParser::FastMtS1, + {82, 7, 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, 11, 0, PROTOBUF_FIELD_OFFSET(CertData, _impl_.is_ca_)}}, + // optional .license.CertData parent_data = 13; + {::_pbi::TcParser::FastMtS1, + {106, 8, 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_), _Internal::kHasBitsOffset + 10, 0, + (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)}, + // int64 serial = 2; + {PROTOBUF_FIELD_OFFSET(CertData, _impl_.serial_), _Internal::kHasBitsOffset + 9, 0, + (0 | ::_fl::kFcOptional | ::_fl::kInt64)}, + // string organization = 3; + {PROTOBUF_FIELD_OFFSET(CertData, _impl_.organization_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string organizational_unit = 4; + {PROTOBUF_FIELD_OFFSET(CertData, _impl_.organizational_unit_), _Internal::kHasBitsOffset + 1, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string country = 5; + {PROTOBUF_FIELD_OFFSET(CertData, _impl_.country_), _Internal::kHasBitsOffset + 2, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string locality = 6; + {PROTOBUF_FIELD_OFFSET(CertData, _impl_.locality_), _Internal::kHasBitsOffset + 3, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string common_name = 7; + {PROTOBUF_FIELD_OFFSET(CertData, _impl_.common_name_), _Internal::kHasBitsOffset + 4, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string subject_serial = 8; + {PROTOBUF_FIELD_OFFSET(CertData, _impl_.subject_serial_), _Internal::kHasBitsOffset + 5, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // .google.protobuf.Timestamp valid_from = 9; + {PROTOBUF_FIELD_OFFSET(CertData, _impl_.valid_from_), _Internal::kHasBitsOffset + 6, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .google.protobuf.Timestamp valid_until = 10; + {PROTOBUF_FIELD_OFFSET(CertData, _impl_.valid_until_), _Internal::kHasBitsOffset + 7, 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_), _Internal::kHasBitsOffset + 11, 0, + (0 | ::_fl::kFcOptional | ::_fl::kBool)}, + // optional .license.CertData parent_data = 13; + {PROTOBUF_FIELD_OFFSET(CertData, _impl_.parent_data_), _Internal::kHasBitsOffset + 8, 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(); + cached_has_bits = _impl_._has_bits_[0]; + if ((cached_has_bits & 0x000000ffu) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + _impl_.organization_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000002u) != 0) { + _impl_.organizational_unit_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000004u) != 0) { + _impl_.country_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000008u) != 0) { + _impl_.locality_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000010u) != 0) { + _impl_.common_name_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000020u) != 0) { + _impl_.subject_serial_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000040u) != 0) { + ABSL_DCHECK(_impl_.valid_from_ != nullptr); + _impl_.valid_from_->Clear(); + } + if ((cached_has_bits & 0x00000080u) != 0) { + ABSL_DCHECK(_impl_.valid_until_ != nullptr); + _impl_.valid_until_->Clear(); + } + } + if ((cached_has_bits & 0x00000100u) != 0) { + ABSL_DCHECK(_impl_.parent_data_ != nullptr); + _impl_.parent_data_->Clear(); + } + if ((cached_has_bits & 0x00000e00u) != 0) { + ::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* PROTOBUF_NONNULL CertData::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const CertData& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL CertData::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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_._impl_._has_bits_[0] & 0x00000400u) != 0) { + if (this_._internal_type() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 1, this_._internal_type(), target); + } + } + + // int64 serial = 2; + if ((this_._impl_._has_bits_[0] & 0x00000200u) != 0) { + if (this_._internal_serial() != 0) { + target = + ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<2>( + stream, this_._internal_serial(), target); + } + } + + // string organization = 3; + if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000002u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000004u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000008u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000010u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000020u) != 0) { + 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 & 0x00000040u) != 0) { + 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 & 0x00000080u) != 0) { + 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 ((cached_has_bits & 0x00000800u) != 0) { + 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 & 0x00000100u) != 0) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 13, *this_._impl_.parent_data_, this_._impl_.parent_data_->GetCachedSize(), target, + stream); + } + + if (ABSL_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)); + } + } + } + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x000000ffu) != 0) { + // string organization = 3; + if ((cached_has_bits & 0x00000001u) != 0) { + if (!this_._internal_organization().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_organization()); + } + } + // string organizational_unit = 4; + if ((cached_has_bits & 0x00000002u) != 0) { + if (!this_._internal_organizational_unit().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_organizational_unit()); + } + } + // string country = 5; + if ((cached_has_bits & 0x00000004u) != 0) { + if (!this_._internal_country().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_country()); + } + } + // string locality = 6; + if ((cached_has_bits & 0x00000008u) != 0) { + if (!this_._internal_locality().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_locality()); + } + } + // string common_name = 7; + if ((cached_has_bits & 0x00000010u) != 0) { + if (!this_._internal_common_name().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_common_name()); + } + } + // string subject_serial = 8; + if ((cached_has_bits & 0x00000020u) != 0) { + if (!this_._internal_subject_serial().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_subject_serial()); + } + } + // .google.protobuf.Timestamp valid_from = 9; + if ((cached_has_bits & 0x00000040u) != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.valid_from_); + } + // .google.protobuf.Timestamp valid_until = 10; + if ((cached_has_bits & 0x00000080u) != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.valid_until_); + } + } + if ((cached_has_bits & 0x00000f00u) != 0) { + // optional .license.CertData parent_data = 13; + if ((cached_has_bits & 0x00000100u) != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.parent_data_); + } + // int64 serial = 2; + if ((cached_has_bits & 0x00000200u) != 0) { + if (this_._internal_serial() != 0) { + total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( + this_._internal_serial()); + } + } + // .license.CertType type = 1; + if ((cached_has_bits & 0x00000400u) != 0) { + if (this_._internal_type() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_type()); + } + } + // bool is_ca = 12; + if ((cached_has_bits & 0x00000800u) != 0) { + 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()); + cached_has_bits = from._impl_._has_bits_[0]; + if ((cached_has_bits & 0x000000ffu) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + if (!from._internal_organization().empty()) { + _this->_internal_set_organization(from._internal_organization()); + } else { + if (_this->_impl_.organization_.IsDefault()) { + _this->_internal_set_organization(""); + } + } + } + if ((cached_has_bits & 0x00000002u) != 0) { + if (!from._internal_organizational_unit().empty()) { + _this->_internal_set_organizational_unit(from._internal_organizational_unit()); + } else { + if (_this->_impl_.organizational_unit_.IsDefault()) { + _this->_internal_set_organizational_unit(""); + } + } + } + if ((cached_has_bits & 0x00000004u) != 0) { + if (!from._internal_country().empty()) { + _this->_internal_set_country(from._internal_country()); + } else { + if (_this->_impl_.country_.IsDefault()) { + _this->_internal_set_country(""); + } + } + } + if ((cached_has_bits & 0x00000008u) != 0) { + if (!from._internal_locality().empty()) { + _this->_internal_set_locality(from._internal_locality()); + } else { + if (_this->_impl_.locality_.IsDefault()) { + _this->_internal_set_locality(""); + } + } + } + if ((cached_has_bits & 0x00000010u) != 0) { + if (!from._internal_common_name().empty()) { + _this->_internal_set_common_name(from._internal_common_name()); + } else { + if (_this->_impl_.common_name_.IsDefault()) { + _this->_internal_set_common_name(""); + } + } + } + if ((cached_has_bits & 0x00000020u) != 0) { + if (!from._internal_subject_serial().empty()) { + _this->_internal_set_subject_serial(from._internal_subject_serial()); + } else { + if (_this->_impl_.subject_serial_.IsDefault()) { + _this->_internal_set_subject_serial(""); + } + } + } + if ((cached_has_bits & 0x00000040u) != 0) { + ABSL_DCHECK(from._impl_.valid_from_ != nullptr); + if (_this->_impl_.valid_from_ == nullptr) { + _this->_impl_.valid_from_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.valid_from_); + } else { + _this->_impl_.valid_from_->MergeFrom(*from._impl_.valid_from_); + } + } + if ((cached_has_bits & 0x00000080u) != 0) { + ABSL_DCHECK(from._impl_.valid_until_ != nullptr); + if (_this->_impl_.valid_until_ == nullptr) { + _this->_impl_.valid_until_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.valid_until_); + } else { + _this->_impl_.valid_until_->MergeFrom(*from._impl_.valid_until_); + } + } + } + if ((cached_has_bits & 0x00000f00u) != 0) { + if ((cached_has_bits & 0x00000100u) != 0) { + ABSL_DCHECK(from._impl_.parent_data_ != nullptr); + if (_this->_impl_.parent_data_ == nullptr) { + _this->_impl_.parent_data_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.parent_data_); + } else { + _this->_impl_.parent_data_->MergeFrom(*from._impl_.parent_data_); + } + } + if ((cached_has_bits & 0x00000200u) != 0) { + if (from._internal_serial() != 0) { + _this->_impl_.serial_ = from._impl_.serial_; + } + } + if ((cached_has_bits & 0x00000400u) != 0) { + if (from._internal_type() != 0) { + _this->_impl_.type_ = from._impl_.type_; + } + } + if ((cached_has_bits & 0x00000800u) != 0) { + 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 PROTOBUF_NONNULL 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_ [[maybe_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/include/proto/license.pb.h similarity index 60% rename from cpp/license.pb.h rename to cpp/include/proto/license.pb.h index 21eecdc..5121877 100644 --- a/cpp/license.pb.h +++ b/cpp/include/proto/license.pb.h @@ -1,7 +1,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // NO CHECKED-IN PROTOBUF GENCODE // source: license.proto -// Protobuf C++ Version: 5.29.2 +// Protobuf C++ Version: 6.31.1 #ifndef license_2eproto_2epb_2eh #define license_2eproto_2epb_2eh @@ -12,7 +12,7 @@ #include #include "google/protobuf/runtime_version.h" -#if PROTOBUF_VERSION != 5029002 +#if PROTOBUF_VERSION != 6031001 #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" @@ -51,24 +51,39 @@ ::absl::string_view GetAnyMessageName(); struct TableStruct_license_2eproto { static const ::uint32_t offsets[]; }; -extern const ::google::protobuf::internal::DescriptorTable - descriptor_table_license_2eproto; +extern "C" { +extern const ::google::protobuf::internal::DescriptorTable descriptor_table_license_2eproto; +} // extern "C" namespace license { +enum CertType : int; +extern const uint32_t CertType_internal_data_[]; +enum VerifyResult : int; +extern const uint32_t VerifyResult_internal_data_[]; class CertData; struct CertDataDefaultTypeInternal; extern CertDataDefaultTypeInternal _CertData_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull CertData_class_data_; class GetCertDataResult; struct GetCertDataResultDefaultTypeInternal; extern GetCertDataResultDefaultTypeInternal _GetCertDataResult_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull GetCertDataResult_class_data_; class VerifyCertResult; struct VerifyCertResultDefaultTypeInternal; extern VerifyCertResultDefaultTypeInternal _VerifyCertResult_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull VerifyCertResult_class_data_; class VerifyFeatureResult; struct VerifyFeatureResultDefaultTypeInternal; extern VerifyFeatureResultDefaultTypeInternal _VerifyFeatureResult_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull VerifyFeatureResult_class_data_; } // namespace license namespace google { namespace protobuf { +template <> +internal::EnumTraitsT<::license::CertType_internal_data_> + internal::EnumTraitsImpl::value<::license::CertType>; +template <> +internal::EnumTraitsT<::license::VerifyResult_internal_data_> + internal::EnumTraitsImpl::value<::license::VerifyResult>; } // namespace protobuf } // namespace google @@ -79,34 +94,37 @@ enum VerifyResult : int { VERIFY_VALID = 2, VERIFY_INVALID = 3, VerifyResult_INT_MIN_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::min(), + ::std::numeric_limits<::int32_t>::min(), VerifyResult_INT_MAX_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::max(), + ::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(); +inline constexpr VerifyResult VerifyResult_MIN = + static_cast(0); +inline constexpr VerifyResult VerifyResult_MAX = + static_cast(3); +inline bool VerifyResult_IsValid(int value) { + return 0 <= value && value <= 3; +} +inline constexpr int VerifyResult_ARRAYSIZE = 3 + 1; +const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL VerifyResult_descriptor(); template -const std::string& VerifyResult_Name(T value) { - static_assert(std::is_same::value || - std::is_integral::value, +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( +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); +inline bool VerifyResult_Parse( + ::absl::string_view name, VerifyResult* PROTOBUF_NONNULL value) { + return ::google::protobuf::internal::ParseNamedEnum(VerifyResult_descriptor(), name, + value); } enum CertType : int { CERT_TYPE_UNSPECIFIED = 0, @@ -117,34 +135,37 @@ enum CertType : int { CERT_TYPE_TEMPORARY = 5, CERT_TYPE_COMMUNITY = 6, CertType_INT_MIN_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::min(), + ::std::numeric_limits<::int32_t>::min(), CertType_INT_MAX_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::max(), + ::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(); +inline constexpr CertType CertType_MIN = + static_cast(0); +inline constexpr CertType CertType_MAX = + static_cast(6); +inline bool CertType_IsValid(int value) { + return 0 <= value && value <= 6; +} +inline constexpr int CertType_ARRAYSIZE = 6 + 1; +const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL CertType_descriptor(); template -const std::string& CertType_Name(T value) { - static_assert(std::is_same::value || - std::is_integral::value, +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( +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); +inline bool CertType_Parse( + ::absl::string_view name, CertType* PROTOBUF_NONNULL value) { + return ::google::protobuf::internal::ParseNamedEnum(CertType_descriptor(), name, + value); } // =================================================================== @@ -159,19 +180,18 @@ class VerifyFeatureResult final : public ::google::protobuf::Message ~VerifyFeatureResult() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(VerifyFeatureResult* msg, std::destroying_delete_t) { + void operator delete(VerifyFeatureResult* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(VerifyFeatureResult)); } #endif template - explicit PROTOBUF_CONSTEXPR VerifyFeatureResult( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : VerifyFeatureResult(nullptr, ::std::move(from)) {} inline VerifyFeatureResult& operator=(const VerifyFeatureResult& from) { CopyFrom(from); return *this; @@ -190,30 +210,27 @@ class VerifyFeatureResult final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(VerifyFeatureResult* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -221,7 +238,7 @@ class VerifyFeatureResult final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(VerifyFeatureResult* other) { + void UnsafeArenaSwap(VerifyFeatureResult* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -229,7 +246,7 @@ class VerifyFeatureResult final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - VerifyFeatureResult* New(::google::protobuf::Arena* arena = nullptr) const { + VerifyFeatureResult* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -238,9 +255,8 @@ class VerifyFeatureResult final : public ::google::protobuf::Message void MergeFrom(const VerifyFeatureResult& from) { VerifyFeatureResult::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -250,49 +266,51 @@ class VerifyFeatureResult final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(VerifyFeatureResult* other); + void InternalSwap(VerifyFeatureResult* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit VerifyFeatureResult(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + VerifyFeatureResult(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const VerifyFeatureResult& from); + VerifyFeatureResult( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -303,18 +321,17 @@ class VerifyFeatureResult final : public ::google::protobuf::Message }; // string message = 2; void clear_message() ; - const std::string& message() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_message(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_message(); + void set_allocated_message(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_message() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_message(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_message(); public: // .license.VerifyResult result = 1; @@ -331,9 +348,9 @@ class VerifyFeatureResult final : public ::google::protobuf::Message private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 1, 2, 0, - 43, 2> + static const ::google::protobuf::internal::TcParseTable<1, 2, + 0, 43, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -343,21 +360,25 @@ class VerifyFeatureResult final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const VerifyFeatureResult& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; ::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; }; + +extern const ::google::protobuf::internal::ClassDataFull VerifyFeatureResult_class_data_; // ------------------------------------------------------------------- class VerifyCertResult final : public ::google::protobuf::Message @@ -367,19 +388,18 @@ class VerifyCertResult final : public ::google::protobuf::Message ~VerifyCertResult() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(VerifyCertResult* msg, std::destroying_delete_t) { + void operator delete(VerifyCertResult* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(VerifyCertResult)); } #endif template - explicit PROTOBUF_CONSTEXPR VerifyCertResult( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : VerifyCertResult(nullptr, ::std::move(from)) {} inline VerifyCertResult& operator=(const VerifyCertResult& from) { CopyFrom(from); return *this; @@ -398,30 +418,27 @@ class VerifyCertResult final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(VerifyCertResult* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -429,7 +446,7 @@ class VerifyCertResult final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(VerifyCertResult* other) { + void UnsafeArenaSwap(VerifyCertResult* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -437,7 +454,7 @@ class VerifyCertResult final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - VerifyCertResult* New(::google::protobuf::Arena* arena = nullptr) const { + VerifyCertResult* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -446,9 +463,8 @@ class VerifyCertResult final : public ::google::protobuf::Message void MergeFrom(const VerifyCertResult& from) { VerifyCertResult::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -458,49 +474,51 @@ class VerifyCertResult final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(VerifyCertResult* other); + void InternalSwap(VerifyCertResult* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit VerifyCertResult(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + VerifyCertResult(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const VerifyCertResult& from); + VerifyCertResult( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -512,34 +530,32 @@ class VerifyCertResult final : public ::google::protobuf::Message }; // string serial = 2; void clear_serial() ; - const std::string& serial() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_serial(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_serial(); + void set_allocated_serial(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_serial() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_serial(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_serial(); public: // string message = 3; void clear_message() ; - const std::string& message() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_message(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_message(); + void set_allocated_message(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_message() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_message(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_message(); public: // .license.VerifyResult result = 1; @@ -556,9 +572,9 @@ class VerifyCertResult final : public ::google::protobuf::Message private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 2, 3, 0, - 46, 2> + static const ::google::protobuf::internal::TcParseTable<2, 3, + 0, 46, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -568,22 +584,26 @@ class VerifyCertResult final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const VerifyCertResult& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; ::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; }; + +extern const ::google::protobuf::internal::ClassDataFull VerifyCertResult_class_data_; // ------------------------------------------------------------------- class CertData final : public ::google::protobuf::Message @@ -593,19 +613,18 @@ class CertData final : public ::google::protobuf::Message ~CertData() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(CertData* msg, std::destroying_delete_t) { + void operator delete(CertData* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(CertData)); } #endif template - explicit PROTOBUF_CONSTEXPR CertData( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : CertData(nullptr, ::std::move(from)) {} inline CertData& operator=(const CertData& from) { CopyFrom(from); return *this; @@ -624,30 +643,27 @@ class CertData final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(CertData* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -655,7 +671,7 @@ class CertData final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(CertData* other) { + void UnsafeArenaSwap(CertData* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -663,7 +679,7 @@ class CertData final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - CertData* New(::google::protobuf::Arena* arena = nullptr) const { + CertData* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -672,9 +688,8 @@ class CertData final : public ::google::protobuf::Message void MergeFrom(const CertData& from) { CertData::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -684,49 +699,51 @@ class CertData final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(CertData* other); + void InternalSwap(CertData* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit CertData(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + CertData(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CertData& from); + CertData( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -753,160 +770,154 @@ class CertData final : public ::google::protobuf::Message public: void clear_dns_names() ; - const std::string& dns_names(int index) const; - std::string* mutable_dns_names(int index); - template + const ::std::string& dns_names(int index) const; + ::std::string* PROTOBUF_NONNULL mutable_dns_names(int index); + template void set_dns_names(int index, Arg_&& value, Args_... args); - std::string* add_dns_names(); - template + ::std::string* PROTOBUF_NONNULL 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(); + const ::google::protobuf::RepeatedPtrField<::std::string>& dns_names() const; + ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL mutable_dns_names(); private: - const ::google::protobuf::RepeatedPtrField& _internal_dns_names() const; - ::google::protobuf::RepeatedPtrField* _internal_mutable_dns_names(); + const ::google::protobuf::RepeatedPtrField<::std::string>& _internal_dns_names() const; + ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL _internal_mutable_dns_names(); public: // string organization = 3; void clear_organization() ; - const std::string& organization() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_organization(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_organization(); + void set_allocated_organization(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_organization() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_organization(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_organization(); public: // string organizational_unit = 4; void clear_organizational_unit() ; - const std::string& organizational_unit() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_organizational_unit(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_organizational_unit(); + void set_allocated_organizational_unit(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_organizational_unit() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_organizational_unit(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_organizational_unit(); public: // string country = 5; void clear_country() ; - const std::string& country() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_country(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_country(); + void set_allocated_country(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_country() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_country(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_country(); public: // string locality = 6; void clear_locality() ; - const std::string& locality() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_locality(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_locality(); + void set_allocated_locality(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_locality() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_locality(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_locality(); public: // string common_name = 7; void clear_common_name() ; - const std::string& common_name() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_common_name(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_common_name(); + void set_allocated_common_name(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_common_name() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_common_name(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_common_name(); public: // string subject_serial = 8; void clear_subject_serial() ; - const std::string& subject_serial() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_subject_serial(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_subject_serial(); + void set_allocated_subject_serial(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_subject_serial() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_subject_serial(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _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(); + [[nodiscard]] ::google::protobuf::Timestamp* PROTOBUF_NULLABLE release_valid_from(); + ::google::protobuf::Timestamp* PROTOBUF_NONNULL mutable_valid_from(); + void set_allocated_valid_from(::google::protobuf::Timestamp* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_valid_from(::google::protobuf::Timestamp* PROTOBUF_NULLABLE value); + ::google::protobuf::Timestamp* PROTOBUF_NULLABLE unsafe_arena_release_valid_from(); private: const ::google::protobuf::Timestamp& _internal_valid_from() const; - ::google::protobuf::Timestamp* _internal_mutable_valid_from(); + ::google::protobuf::Timestamp* PROTOBUF_NONNULL _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(); + [[nodiscard]] ::google::protobuf::Timestamp* PROTOBUF_NULLABLE release_valid_until(); + ::google::protobuf::Timestamp* PROTOBUF_NONNULL mutable_valid_until(); + void set_allocated_valid_until(::google::protobuf::Timestamp* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_valid_until(::google::protobuf::Timestamp* PROTOBUF_NULLABLE value); + ::google::protobuf::Timestamp* PROTOBUF_NULLABLE unsafe_arena_release_valid_until(); private: const ::google::protobuf::Timestamp& _internal_valid_until() const; - ::google::protobuf::Timestamp* _internal_mutable_valid_until(); + ::google::protobuf::Timestamp* PROTOBUF_NONNULL _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(); + [[nodiscard]] ::license::CertData* PROTOBUF_NULLABLE release_parent_data(); + ::license::CertData* PROTOBUF_NONNULL mutable_parent_data(); + void set_allocated_parent_data(::license::CertData* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_parent_data(::license::CertData* PROTOBUF_NULLABLE value); + ::license::CertData* PROTOBUF_NULLABLE unsafe_arena_release_parent_data(); private: const ::license::CertData& _internal_parent_data() const; - ::license::CertData* _internal_mutable_parent_data(); + ::license::CertData* PROTOBUF_NONNULL _internal_mutable_parent_data(); public: // int64 serial = 2; @@ -943,9 +954,9 @@ class CertData final : public ::google::protobuf::Message private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 4, 13, 3, - 113, 2> + static const ::google::protobuf::internal::TcParseTable<4, 13, + 3, 113, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -955,25 +966,26 @@ class CertData final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const CertData& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::RepeatedPtrField dns_names_; + ::google::protobuf::RepeatedPtrField<::std::string> 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_; + ::google::protobuf::Timestamp* PROTOBUF_NULLABLE valid_from_; + ::google::protobuf::Timestamp* PROTOBUF_NULLABLE valid_until_; + ::license::CertData* PROTOBUF_NULLABLE parent_data_; ::int64_t serial_; int type_; bool is_ca_; @@ -982,6 +994,8 @@ class CertData final : public ::google::protobuf::Message union { Impl_ _impl_; }; friend struct ::TableStruct_license_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull CertData_class_data_; // ------------------------------------------------------------------- class GetCertDataResult final : public ::google::protobuf::Message @@ -991,19 +1005,18 @@ class GetCertDataResult final : public ::google::protobuf::Message ~GetCertDataResult() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetCertDataResult* msg, std::destroying_delete_t) { + void operator delete(GetCertDataResult* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(GetCertDataResult)); } #endif template - explicit PROTOBUF_CONSTEXPR GetCertDataResult( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : GetCertDataResult(nullptr, ::std::move(from)) {} inline GetCertDataResult& operator=(const GetCertDataResult& from) { CopyFrom(from); return *this; @@ -1022,30 +1035,27 @@ class GetCertDataResult final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(GetCertDataResult* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -1053,7 +1063,7 @@ class GetCertDataResult final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(GetCertDataResult* other) { + void UnsafeArenaSwap(GetCertDataResult* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -1061,7 +1071,7 @@ class GetCertDataResult final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - GetCertDataResult* New(::google::protobuf::Arena* arena = nullptr) const { + GetCertDataResult* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -1070,9 +1080,8 @@ class GetCertDataResult final : public ::google::protobuf::Message void MergeFrom(const GetCertDataResult& from) { GetCertDataResult::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -1082,49 +1091,51 @@ class GetCertDataResult final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(GetCertDataResult* other); + void InternalSwap(GetCertDataResult* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit GetCertDataResult(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + GetCertDataResult(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetCertDataResult& from); + GetCertDataResult( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -1136,33 +1147,32 @@ class GetCertDataResult final : public ::google::protobuf::Message }; // string message = 3; void clear_message() ; - const std::string& message() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_message(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_message(); + void set_allocated_message(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_message() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_message(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _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(); + [[nodiscard]] ::license::CertData* PROTOBUF_NULLABLE release_data(); + ::license::CertData* PROTOBUF_NONNULL mutable_data(); + void set_allocated_data(::license::CertData* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_data(::license::CertData* PROTOBUF_NULLABLE value); + ::license::CertData* PROTOBUF_NULLABLE unsafe_arena_release_data(); private: const ::license::CertData& _internal_data() const; - ::license::CertData* _internal_mutable_data(); + ::license::CertData* PROTOBUF_NONNULL _internal_mutable_data(); public: // .license.VerifyResult result = 1; @@ -1179,9 +1189,9 @@ class GetCertDataResult final : public ::google::protobuf::Message private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 2, 3, 1, - 41, 2> + static const ::google::protobuf::internal::TcParseTable<2, 3, + 1, 41, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -1191,17 +1201,18 @@ class GetCertDataResult final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const GetCertDataResult& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; ::google::protobuf::internal::ArenaStringPtr message_; - ::license::CertData* data_; + ::license::CertData* PROTOBUF_NULLABLE data_; int result_; PROTOBUF_TSAN_DECLARE_MEMBER }; @@ -1209,6 +1220,8 @@ class GetCertDataResult final : public ::google::protobuf::Message friend struct ::TableStruct_license_2eproto; }; +extern const ::google::protobuf::internal::ClassDataFull GetCertDataResult_class_data_; + // =================================================================== @@ -1229,6 +1242,7 @@ class GetCertDataResult final : public ::google::protobuf::Message inline void VerifyCertResult::clear_result() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.result_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; } inline ::license::VerifyResult VerifyCertResult::result() const { // @@protoc_insertion_point(field_get:license.VerifyCertResult.result) @@ -1236,6 +1250,7 @@ inline ::license::VerifyResult VerifyCertResult::result() const { } inline void VerifyCertResult::set_result(::license::VerifyResult value) { _internal_set_result(value); + _impl_._has_bits_[0] |= 0x00000004u; // @@protoc_insertion_point(field_set:license.VerifyCertResult.result) } inline ::license::VerifyResult VerifyCertResult::_internal_result() const { @@ -1251,43 +1266,60 @@ inline void VerifyCertResult::_internal_set_result(::license::VerifyResult value inline void VerifyCertResult::clear_serial() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.serial_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; } -inline const std::string& VerifyCertResult::serial() const +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) { +PROTOBUF_ALWAYS_INLINE void VerifyCertResult::set_serial(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void VerifyCertResult::_internal_set_serial(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _impl_.serial_.Set(value, GetArena()); } -inline std::string* VerifyCertResult::_internal_mutable_serial() { +inline ::std::string* PROTOBUF_NONNULL VerifyCertResult::_internal_mutable_serial() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; return _impl_.serial_.Mutable( GetArena()); } -inline std::string* VerifyCertResult::release_serial() { +inline ::std::string* PROTOBUF_NULLABLE VerifyCertResult::release_serial() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:license.VerifyCertResult.serial) - return _impl_.serial_.Release(); + if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* released = _impl_.serial_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.serial_.Set("", GetArena()); + } + return released; } -inline void VerifyCertResult::set_allocated_serial(std::string* value) { +inline void VerifyCertResult::set_allocated_serial(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } _impl_.serial_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.serial_.IsDefault()) { _impl_.serial_.Set("", GetArena()); @@ -1299,43 +1331,60 @@ inline void VerifyCertResult::set_allocated_serial(std::string* value) { inline void VerifyCertResult::clear_message() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.message_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; } -inline const std::string& VerifyCertResult::message() const +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) { +PROTOBUF_ALWAYS_INLINE void VerifyCertResult::set_message(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void VerifyCertResult::_internal_set_message(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; _impl_.message_.Set(value, GetArena()); } -inline std::string* VerifyCertResult::_internal_mutable_message() { +inline ::std::string* PROTOBUF_NONNULL VerifyCertResult::_internal_mutable_message() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; return _impl_.message_.Mutable( GetArena()); } -inline std::string* VerifyCertResult::release_message() { +inline ::std::string* PROTOBUF_NULLABLE VerifyCertResult::release_message() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:license.VerifyCertResult.message) - return _impl_.message_.Release(); + if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* released = _impl_.message_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.message_.Set("", GetArena()); + } + return released; } -inline void VerifyCertResult::set_allocated_message(std::string* value) { +inline void VerifyCertResult::set_allocated_message(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } _impl_.message_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.message_.IsDefault()) { _impl_.message_.Set("", GetArena()); @@ -1351,6 +1400,7 @@ inline void VerifyCertResult::set_allocated_message(std::string* value) { inline void VerifyFeatureResult::clear_result() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.result_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; } inline ::license::VerifyResult VerifyFeatureResult::result() const { // @@protoc_insertion_point(field_get:license.VerifyFeatureResult.result) @@ -1358,6 +1408,7 @@ inline ::license::VerifyResult VerifyFeatureResult::result() const { } inline void VerifyFeatureResult::set_result(::license::VerifyResult value) { _internal_set_result(value); + _impl_._has_bits_[0] |= 0x00000002u; // @@protoc_insertion_point(field_set:license.VerifyFeatureResult.result) } inline ::license::VerifyResult VerifyFeatureResult::_internal_result() const { @@ -1373,43 +1424,60 @@ inline void VerifyFeatureResult::_internal_set_result(::license::VerifyResult va inline void VerifyFeatureResult::clear_message() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.message_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; } -inline const std::string& VerifyFeatureResult::message() const +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) { +PROTOBUF_ALWAYS_INLINE void VerifyFeatureResult::set_message(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void VerifyFeatureResult::_internal_set_message(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _impl_.message_.Set(value, GetArena()); } -inline std::string* VerifyFeatureResult::_internal_mutable_message() { +inline ::std::string* PROTOBUF_NONNULL VerifyFeatureResult::_internal_mutable_message() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; return _impl_.message_.Mutable( GetArena()); } -inline std::string* VerifyFeatureResult::release_message() { +inline ::std::string* PROTOBUF_NULLABLE VerifyFeatureResult::release_message() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:license.VerifyFeatureResult.message) - return _impl_.message_.Release(); + if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* released = _impl_.message_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.message_.Set("", GetArena()); + } + return released; } -inline void VerifyFeatureResult::set_allocated_message(std::string* value) { +inline void VerifyFeatureResult::set_allocated_message(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } _impl_.message_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.message_.IsDefault()) { _impl_.message_.Set("", GetArena()); @@ -1425,6 +1493,7 @@ inline void VerifyFeatureResult::set_allocated_message(std::string* value) { inline void GetCertDataResult::clear_result() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.result_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; } inline ::license::VerifyResult GetCertDataResult::result() const { // @@protoc_insertion_point(field_get:license.GetCertDataResult.result) @@ -1432,6 +1501,7 @@ inline ::license::VerifyResult GetCertDataResult::result() const { } inline void GetCertDataResult::set_result(::license::VerifyResult value) { _internal_set_result(value); + _impl_._has_bits_[0] |= 0x00000004u; // @@protoc_insertion_point(field_set:license.GetCertDataResult.result) } inline ::license::VerifyResult GetCertDataResult::_internal_result() const { @@ -1445,14 +1515,14 @@ inline void GetCertDataResult::_internal_set_result(::license::VerifyResult valu // .license.CertData data = 2; inline bool GetCertDataResult::has_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 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; + _impl_._has_bits_[0] &= ~0x00000002u; } inline const ::license::CertData& GetCertDataResult::_internal_data() const { ::google::protobuf::internal::TSanRead(&_impl_); @@ -1463,23 +1533,24 @@ inline const ::license::CertData& GetCertDataResult::data() const ABSL_ATTRIBUTE // @@protoc_insertion_point(field_get:license.GetCertDataResult.data) return _internal_data(); } -inline void GetCertDataResult::unsafe_arena_set_allocated_data(::license::CertData* value) { +inline void GetCertDataResult::unsafe_arena_set_allocated_data( + ::license::CertData* PROTOBUF_NULLABLE 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; + _impl_._has_bits_[0] |= 0x00000002u; } else { - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000002u; } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:license.GetCertDataResult.data) } -inline ::license::CertData* GetCertDataResult::release_data() { +inline ::license::CertData* PROTOBUF_NULLABLE GetCertDataResult::release_data() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000002u; ::license::CertData* released = _impl_.data_; _impl_.data_ = nullptr; if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { @@ -1495,16 +1566,16 @@ inline ::license::CertData* GetCertDataResult::release_data() { } return released; } -inline ::license::CertData* GetCertDataResult::unsafe_arena_release_data() { +inline ::license::CertData* PROTOBUF_NULLABLE GetCertDataResult::unsafe_arena_release_data() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:license.GetCertDataResult.data) - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000002u; ::license::CertData* temp = _impl_.data_; _impl_.data_ = nullptr; return temp; } -inline ::license::CertData* GetCertDataResult::_internal_mutable_data() { +inline ::license::CertData* PROTOBUF_NONNULL GetCertDataResult::_internal_mutable_data() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.data_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::license::CertData>(GetArena()); @@ -1512,27 +1583,28 @@ inline ::license::CertData* GetCertDataResult::_internal_mutable_data() { } return _impl_.data_; } -inline ::license::CertData* GetCertDataResult::mutable_data() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; +inline ::license::CertData* PROTOBUF_NONNULL GetCertDataResult::mutable_data() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; ::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) { +inline void GetCertDataResult::set_allocated_data(::license::CertData* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { - delete (_impl_.data_); + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.data_); } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + ::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; + _impl_._has_bits_[0] |= 0x00000002u; } else { - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000002u; } _impl_.data_ = reinterpret_cast<::license::CertData*>(value); @@ -1543,43 +1615,60 @@ inline void GetCertDataResult::set_allocated_data(::license::CertData* value) { inline void GetCertDataResult::clear_message() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.message_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; } -inline const std::string& GetCertDataResult::message() const +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) { +PROTOBUF_ALWAYS_INLINE void GetCertDataResult::set_message(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void GetCertDataResult::_internal_set_message(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _impl_.message_.Set(value, GetArena()); } -inline std::string* GetCertDataResult::_internal_mutable_message() { +inline ::std::string* PROTOBUF_NONNULL GetCertDataResult::_internal_mutable_message() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; return _impl_.message_.Mutable( GetArena()); } -inline std::string* GetCertDataResult::release_message() { +inline ::std::string* PROTOBUF_NULLABLE GetCertDataResult::release_message() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:license.GetCertDataResult.message) - return _impl_.message_.Release(); + if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* released = _impl_.message_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.message_.Set("", GetArena()); + } + return released; } -inline void GetCertDataResult::set_allocated_message(std::string* value) { +inline void GetCertDataResult::set_allocated_message(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } _impl_.message_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.message_.IsDefault()) { _impl_.message_.Set("", GetArena()); @@ -1595,6 +1684,7 @@ inline void GetCertDataResult::set_allocated_message(std::string* value) { inline void CertData::clear_type() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.type_ = 0; + _impl_._has_bits_[0] &= ~0x00000400u; } inline ::license::CertType CertData::type() const { // @@protoc_insertion_point(field_get:license.CertData.type) @@ -1602,6 +1692,7 @@ inline ::license::CertType CertData::type() const { } inline void CertData::set_type(::license::CertType value) { _internal_set_type(value); + _impl_._has_bits_[0] |= 0x00000400u; // @@protoc_insertion_point(field_set:license.CertData.type) } inline ::license::CertType CertData::_internal_type() const { @@ -1617,6 +1708,7 @@ inline void CertData::_internal_set_type(::license::CertType value) { inline void CertData::clear_serial() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.serial_ = ::int64_t{0}; + _impl_._has_bits_[0] &= ~0x00000200u; } inline ::int64_t CertData::serial() const { // @@protoc_insertion_point(field_get:license.CertData.serial) @@ -1624,6 +1716,7 @@ inline ::int64_t CertData::serial() const { } inline void CertData::set_serial(::int64_t value) { _internal_set_serial(value); + _impl_._has_bits_[0] |= 0x00000200u; // @@protoc_insertion_point(field_set:license.CertData.serial) } inline ::int64_t CertData::_internal_serial() const { @@ -1639,43 +1732,60 @@ inline void CertData::_internal_set_serial(::int64_t value) { inline void CertData::clear_organization() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.organization_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; } -inline const std::string& CertData::organization() const +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) { +PROTOBUF_ALWAYS_INLINE void CertData::set_organization(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void CertData::_internal_set_organization(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _impl_.organization_.Set(value, GetArena()); } -inline std::string* CertData::_internal_mutable_organization() { +inline ::std::string* PROTOBUF_NONNULL CertData::_internal_mutable_organization() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; return _impl_.organization_.Mutable( GetArena()); } -inline std::string* CertData::release_organization() { +inline ::std::string* PROTOBUF_NULLABLE CertData::release_organization() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:license.CertData.organization) - return _impl_.organization_.Release(); + if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* released = _impl_.organization_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.organization_.Set("", GetArena()); + } + return released; } -inline void CertData::set_allocated_organization(std::string* value) { +inline void CertData::set_allocated_organization(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } _impl_.organization_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.organization_.IsDefault()) { _impl_.organization_.Set("", GetArena()); @@ -1687,43 +1797,60 @@ inline void CertData::set_allocated_organization(std::string* value) { inline void CertData::clear_organizational_unit() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.organizational_unit_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; } -inline const std::string& CertData::organizational_unit() const +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) { +PROTOBUF_ALWAYS_INLINE void CertData::set_organizational_unit(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void CertData::_internal_set_organizational_unit(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; _impl_.organizational_unit_.Set(value, GetArena()); } -inline std::string* CertData::_internal_mutable_organizational_unit() { +inline ::std::string* PROTOBUF_NONNULL CertData::_internal_mutable_organizational_unit() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; return _impl_.organizational_unit_.Mutable( GetArena()); } -inline std::string* CertData::release_organizational_unit() { +inline ::std::string* PROTOBUF_NULLABLE CertData::release_organizational_unit() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:license.CertData.organizational_unit) - return _impl_.organizational_unit_.Release(); + if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* released = _impl_.organizational_unit_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.organizational_unit_.Set("", GetArena()); + } + return released; } -inline void CertData::set_allocated_organizational_unit(std::string* value) { +inline void CertData::set_allocated_organizational_unit(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } _impl_.organizational_unit_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.organizational_unit_.IsDefault()) { _impl_.organizational_unit_.Set("", GetArena()); @@ -1735,43 +1862,60 @@ inline void CertData::set_allocated_organizational_unit(std::string* value) { inline void CertData::clear_country() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.country_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000004u; } -inline const std::string& CertData::country() const +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) { +PROTOBUF_ALWAYS_INLINE void CertData::set_country(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000004u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void CertData::_internal_set_country(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000004u; _impl_.country_.Set(value, GetArena()); } -inline std::string* CertData::_internal_mutable_country() { +inline ::std::string* PROTOBUF_NONNULL CertData::_internal_mutable_country() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000004u; return _impl_.country_.Mutable( GetArena()); } -inline std::string* CertData::release_country() { +inline ::std::string* PROTOBUF_NULLABLE CertData::release_country() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:license.CertData.country) - return _impl_.country_.Release(); + if ((_impl_._has_bits_[0] & 0x00000004u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000004u; + auto* released = _impl_.country_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.country_.Set("", GetArena()); + } + return released; } -inline void CertData::set_allocated_country(std::string* value) { +inline void CertData::set_allocated_country(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } _impl_.country_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.country_.IsDefault()) { _impl_.country_.Set("", GetArena()); @@ -1783,43 +1927,60 @@ inline void CertData::set_allocated_country(std::string* value) { inline void CertData::clear_locality() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.locality_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000008u; } -inline const std::string& CertData::locality() const +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) { +PROTOBUF_ALWAYS_INLINE void CertData::set_locality(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000008u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void CertData::_internal_set_locality(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000008u; _impl_.locality_.Set(value, GetArena()); } -inline std::string* CertData::_internal_mutable_locality() { +inline ::std::string* PROTOBUF_NONNULL CertData::_internal_mutable_locality() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000008u; return _impl_.locality_.Mutable( GetArena()); } -inline std::string* CertData::release_locality() { +inline ::std::string* PROTOBUF_NULLABLE CertData::release_locality() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:license.CertData.locality) - return _impl_.locality_.Release(); + if ((_impl_._has_bits_[0] & 0x00000008u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000008u; + auto* released = _impl_.locality_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.locality_.Set("", GetArena()); + } + return released; } -inline void CertData::set_allocated_locality(std::string* value) { +inline void CertData::set_allocated_locality(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } _impl_.locality_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.locality_.IsDefault()) { _impl_.locality_.Set("", GetArena()); @@ -1831,43 +1992,60 @@ inline void CertData::set_allocated_locality(std::string* value) { inline void CertData::clear_common_name() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.common_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000010u; } -inline const std::string& CertData::common_name() const +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) { +PROTOBUF_ALWAYS_INLINE void CertData::set_common_name(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000010u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void CertData::_internal_set_common_name(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000010u; _impl_.common_name_.Set(value, GetArena()); } -inline std::string* CertData::_internal_mutable_common_name() { +inline ::std::string* PROTOBUF_NONNULL CertData::_internal_mutable_common_name() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000010u; return _impl_.common_name_.Mutable( GetArena()); } -inline std::string* CertData::release_common_name() { +inline ::std::string* PROTOBUF_NULLABLE CertData::release_common_name() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:license.CertData.common_name) - return _impl_.common_name_.Release(); + if ((_impl_._has_bits_[0] & 0x00000010u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000010u; + auto* released = _impl_.common_name_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.common_name_.Set("", GetArena()); + } + return released; } -inline void CertData::set_allocated_common_name(std::string* value) { +inline void CertData::set_allocated_common_name(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } _impl_.common_name_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.common_name_.IsDefault()) { _impl_.common_name_.Set("", GetArena()); @@ -1879,43 +2057,60 @@ inline void CertData::set_allocated_common_name(std::string* value) { inline void CertData::clear_subject_serial() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.subject_serial_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000020u; } -inline const std::string& CertData::subject_serial() const +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) { +PROTOBUF_ALWAYS_INLINE void CertData::set_subject_serial(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000020u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void CertData::_internal_set_subject_serial(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000020u; _impl_.subject_serial_.Set(value, GetArena()); } -inline std::string* CertData::_internal_mutable_subject_serial() { +inline ::std::string* PROTOBUF_NONNULL CertData::_internal_mutable_subject_serial() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000020u; return _impl_.subject_serial_.Mutable( GetArena()); } -inline std::string* CertData::release_subject_serial() { +inline ::std::string* PROTOBUF_NULLABLE CertData::release_subject_serial() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:license.CertData.subject_serial) - return _impl_.subject_serial_.Release(); + if ((_impl_._has_bits_[0] & 0x00000020u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000020u; + auto* released = _impl_.subject_serial_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.subject_serial_.Set("", GetArena()); + } + return released; } -inline void CertData::set_allocated_subject_serial(std::string* value) { +inline void CertData::set_allocated_subject_serial(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000020u; + } else { + _impl_._has_bits_[0] &= ~0x00000020u; + } _impl_.subject_serial_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.subject_serial_.IsDefault()) { _impl_.subject_serial_.Set("", GetArena()); @@ -1925,7 +2120,7 @@ inline void CertData::set_allocated_subject_serial(std::string* value) { // .google.protobuf.Timestamp valid_from = 9; inline bool CertData::has_valid_from() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; PROTOBUF_ASSUME(!value || _impl_.valid_from_ != nullptr); return value; } @@ -1938,23 +2133,24 @@ inline const ::google::protobuf::Timestamp& CertData::valid_from() const ABSL_AT // @@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) { +inline void CertData::unsafe_arena_set_allocated_valid_from( + ::google::protobuf::Timestamp* PROTOBUF_NULLABLE 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; + _impl_._has_bits_[0] |= 0x00000040u; } else { - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000040u; } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:license.CertData.valid_from) } -inline ::google::protobuf::Timestamp* CertData::release_valid_from() { +inline ::google::protobuf::Timestamp* PROTOBUF_NULLABLE CertData::release_valid_from() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000040u; ::google::protobuf::Timestamp* released = _impl_.valid_from_; _impl_.valid_from_ = nullptr; if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { @@ -1970,16 +2166,16 @@ inline ::google::protobuf::Timestamp* CertData::release_valid_from() { } return released; } -inline ::google::protobuf::Timestamp* CertData::unsafe_arena_release_valid_from() { +inline ::google::protobuf::Timestamp* PROTOBUF_NULLABLE 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; + _impl_._has_bits_[0] &= ~0x00000040u; ::google::protobuf::Timestamp* temp = _impl_.valid_from_; _impl_.valid_from_ = nullptr; return temp; } -inline ::google::protobuf::Timestamp* CertData::_internal_mutable_valid_from() { +inline ::google::protobuf::Timestamp* PROTOBUF_NONNULL 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()); @@ -1987,13 +2183,14 @@ inline ::google::protobuf::Timestamp* CertData::_internal_mutable_valid_from() { } return _impl_.valid_from_; } -inline ::google::protobuf::Timestamp* CertData::mutable_valid_from() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; +inline ::google::protobuf::Timestamp* PROTOBUF_NONNULL CertData::mutable_valid_from() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000040u; ::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) { +inline void CertData::set_allocated_valid_from(::google::protobuf::Timestamp* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { @@ -2001,13 +2198,13 @@ inline void CertData::set_allocated_valid_from(::google::protobuf::Timestamp* va } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - _impl_._has_bits_[0] |= 0x00000001u; + _impl_._has_bits_[0] |= 0x00000040u; } else { - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000040u; } _impl_.valid_from_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); @@ -2016,7 +2213,7 @@ inline void CertData::set_allocated_valid_from(::google::protobuf::Timestamp* va // .google.protobuf.Timestamp valid_until = 10; inline bool CertData::has_valid_until() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; PROTOBUF_ASSUME(!value || _impl_.valid_until_ != nullptr); return value; } @@ -2029,23 +2226,24 @@ inline const ::google::protobuf::Timestamp& CertData::valid_until() const ABSL_A // @@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) { +inline void CertData::unsafe_arena_set_allocated_valid_until( + ::google::protobuf::Timestamp* PROTOBUF_NULLABLE 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; + _impl_._has_bits_[0] |= 0x00000080u; } else { - _impl_._has_bits_[0] &= ~0x00000002u; + _impl_._has_bits_[0] &= ~0x00000080u; } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:license.CertData.valid_until) } -inline ::google::protobuf::Timestamp* CertData::release_valid_until() { +inline ::google::protobuf::Timestamp* PROTOBUF_NULLABLE CertData::release_valid_until() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] &= ~0x00000002u; + _impl_._has_bits_[0] &= ~0x00000080u; ::google::protobuf::Timestamp* released = _impl_.valid_until_; _impl_.valid_until_ = nullptr; if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { @@ -2061,16 +2259,16 @@ inline ::google::protobuf::Timestamp* CertData::release_valid_until() { } return released; } -inline ::google::protobuf::Timestamp* CertData::unsafe_arena_release_valid_until() { +inline ::google::protobuf::Timestamp* PROTOBUF_NULLABLE 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; + _impl_._has_bits_[0] &= ~0x00000080u; ::google::protobuf::Timestamp* temp = _impl_.valid_until_; _impl_.valid_until_ = nullptr; return temp; } -inline ::google::protobuf::Timestamp* CertData::_internal_mutable_valid_until() { +inline ::google::protobuf::Timestamp* PROTOBUF_NONNULL 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()); @@ -2078,13 +2276,14 @@ inline ::google::protobuf::Timestamp* CertData::_internal_mutable_valid_until() } return _impl_.valid_until_; } -inline ::google::protobuf::Timestamp* CertData::mutable_valid_until() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000002u; +inline ::google::protobuf::Timestamp* PROTOBUF_NONNULL CertData::mutable_valid_until() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000080u; ::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) { +inline void CertData::set_allocated_valid_until(::google::protobuf::Timestamp* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { @@ -2092,13 +2291,13 @@ inline void CertData::set_allocated_valid_until(::google::protobuf::Timestamp* v } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - _impl_._has_bits_[0] |= 0x00000002u; + _impl_._has_bits_[0] |= 0x00000080u; } else { - _impl_._has_bits_[0] &= ~0x00000002u; + _impl_._has_bits_[0] &= ~0x00000080u; } _impl_.valid_until_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); @@ -2116,54 +2315,54 @@ 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 { +inline ::std::string* PROTOBUF_NONNULL CertData::add_dns_names() + ABSL_ATTRIBUTE_LIFETIME_BOUND { ::google::protobuf::internal::TSanWrite(&_impl_); - std::string* _s = _internal_mutable_dns_names()->Add(); + ::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 +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) +inline ::std::string* PROTOBUF_NONNULL 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... ); + ::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), + ::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 { +inline const ::google::protobuf::RepeatedPtrField<::std::string>& 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* +inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL 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& +inline const ::google::protobuf::RepeatedPtrField<::std::string>& CertData::_internal_dns_names() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.dns_names_; } -inline ::google::protobuf::RepeatedPtrField* +inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL CertData::_internal_mutable_dns_names() { ::google::protobuf::internal::TSanRead(&_impl_); return &_impl_.dns_names_; @@ -2173,6 +2372,7 @@ CertData::_internal_mutable_dns_names() { inline void CertData::clear_is_ca() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.is_ca_ = false; + _impl_._has_bits_[0] &= ~0x00000800u; } inline bool CertData::is_ca() const { // @@protoc_insertion_point(field_get:license.CertData.is_ca) @@ -2180,6 +2380,7 @@ inline bool CertData::is_ca() const { } inline void CertData::set_is_ca(bool value) { _internal_set_is_ca(value); + _impl_._has_bits_[0] |= 0x00000800u; // @@protoc_insertion_point(field_set:license.CertData.is_ca) } inline bool CertData::_internal_is_ca() const { @@ -2193,14 +2394,14 @@ inline void CertData::_internal_set_is_ca(bool value) { // optional .license.CertData parent_data = 13; inline bool CertData::has_parent_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 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; + _impl_._has_bits_[0] &= ~0x00000100u; } inline const ::license::CertData& CertData::_internal_parent_data() const { ::google::protobuf::internal::TSanRead(&_impl_); @@ -2211,23 +2412,24 @@ inline const ::license::CertData& CertData::parent_data() const ABSL_ATTRIBUTE_L // @@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) { +inline void CertData::unsafe_arena_set_allocated_parent_data( + ::license::CertData* PROTOBUF_NULLABLE 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; + _impl_._has_bits_[0] |= 0x00000100u; } else { - _impl_._has_bits_[0] &= ~0x00000004u; + _impl_._has_bits_[0] &= ~0x00000100u; } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:license.CertData.parent_data) } -inline ::license::CertData* CertData::release_parent_data() { +inline ::license::CertData* PROTOBUF_NULLABLE CertData::release_parent_data() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] &= ~0x00000004u; + _impl_._has_bits_[0] &= ~0x00000100u; ::license::CertData* released = _impl_.parent_data_; _impl_.parent_data_ = nullptr; if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { @@ -2243,16 +2445,16 @@ inline ::license::CertData* CertData::release_parent_data() { } return released; } -inline ::license::CertData* CertData::unsafe_arena_release_parent_data() { +inline ::license::CertData* PROTOBUF_NULLABLE 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; + _impl_._has_bits_[0] &= ~0x00000100u; ::license::CertData* temp = _impl_.parent_data_; _impl_.parent_data_ = nullptr; return temp; } -inline ::license::CertData* CertData::_internal_mutable_parent_data() { +inline ::license::CertData* PROTOBUF_NONNULL CertData::_internal_mutable_parent_data() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.parent_data_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::license::CertData>(GetArena()); @@ -2260,27 +2462,28 @@ inline ::license::CertData* CertData::_internal_mutable_parent_data() { } return _impl_.parent_data_; } -inline ::license::CertData* CertData::mutable_parent_data() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000004u; +inline ::license::CertData* PROTOBUF_NONNULL CertData::mutable_parent_data() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000100u; ::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) { +inline void CertData::set_allocated_parent_data(::license::CertData* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { - delete (_impl_.parent_data_); + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.parent_data_); } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + ::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; + _impl_._has_bits_[0] |= 0x00000100u; } else { - _impl_._has_bits_[0] &= ~0x00000004u; + _impl_._has_bits_[0] &= ~0x00000100u; } _impl_.parent_data_ = reinterpret_cast<::license::CertData*>(value); @@ -2301,13 +2504,13 @@ namespace protobuf { template <> struct is_proto_enum<::license::VerifyResult> : std::true_type {}; template <> -inline const EnumDescriptor* GetEnumDescriptor<::license::VerifyResult>() { +inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::license::VerifyResult>() { return ::license::VerifyResult_descriptor(); } template <> struct is_proto_enum<::license::CertType> : std::true_type {}; template <> -inline const EnumDescriptor* GetEnumDescriptor<::license::CertType>() { +inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::license::CertType>() { return ::license::CertType_descriptor(); } diff --git a/cpp/include/proto/management.grpc.pb.cc b/cpp/include/proto/management.grpc.pb.cc new file mode 100644 index 0000000..344cf72 --- /dev/null +++ b/cpp/include/proto/management.grpc.pb.cc @@ -0,0 +1,872 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: management.proto + +#include "management.pb.h" +#include "management.grpc.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +namespace management { + +static const char* Management_method_names[] = { + "/management.Management/SetAlias", + "/management.Management/GetNodes", + "/management.Management/DeleteNode", + "/management.Management/GetTargets", + "/management.Management/DeleteTarget", + "/management.Management/SetTargetState", + "/management.Management/GetPools", + "/management.Management/CreatePool", + "/management.Management/AssignPool", + "/management.Management/DeletePool", + "/management.Management/GetBuddyGroups", + "/management.Management/CreateBuddyGroup", + "/management.Management/DeleteBuddyGroup", + "/management.Management/MirrorRootInode", + "/management.Management/StartResync", + "/management.Management/SetDefaultQuotaLimits", + "/management.Management/SetQuotaLimits", + "/management.Management/GetQuotaLimits", + "/management.Management/GetQuotaUsage", + "/management.Management/GetLicense", +}; + +std::unique_ptr< Management::Stub> Management::NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) { + (void)options; + std::unique_ptr< Management::Stub> stub(new Management::Stub(channel, options)); + return stub; +} + +Management::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) + : channel_(channel), rpcmethod_SetAlias_(Management_method_names[0], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_GetNodes_(Management_method_names[1], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_DeleteNode_(Management_method_names[2], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_GetTargets_(Management_method_names[3], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_DeleteTarget_(Management_method_names[4], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_SetTargetState_(Management_method_names[5], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_GetPools_(Management_method_names[6], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_CreatePool_(Management_method_names[7], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_AssignPool_(Management_method_names[8], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_DeletePool_(Management_method_names[9], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_GetBuddyGroups_(Management_method_names[10], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_CreateBuddyGroup_(Management_method_names[11], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_DeleteBuddyGroup_(Management_method_names[12], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_MirrorRootInode_(Management_method_names[13], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_StartResync_(Management_method_names[14], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_SetDefaultQuotaLimits_(Management_method_names[15], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_SetQuotaLimits_(Management_method_names[16], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_GetQuotaLimits_(Management_method_names[17], options.suffix_for_stats(),::grpc::internal::RpcMethod::SERVER_STREAMING, channel) + , rpcmethod_GetQuotaUsage_(Management_method_names[18], options.suffix_for_stats(),::grpc::internal::RpcMethod::SERVER_STREAMING, channel) + , rpcmethod_GetLicense_(Management_method_names[19], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + {} + +::grpc::Status Management::Stub::SetAlias(::grpc::ClientContext* context, const ::management::SetAliasRequest& request, ::management::SetAliasResponse* response) { + return ::grpc::internal::BlockingUnaryCall< ::management::SetAliasRequest, ::management::SetAliasResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_SetAlias_, context, request, response); +} + +void Management::Stub::async::SetAlias(::grpc::ClientContext* context, const ::management::SetAliasRequest* request, ::management::SetAliasResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::management::SetAliasRequest, ::management::SetAliasResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_SetAlias_, context, request, response, std::move(f)); +} + +void Management::Stub::async::SetAlias(::grpc::ClientContext* context, const ::management::SetAliasRequest* request, ::management::SetAliasResponse* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_SetAlias_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::management::SetAliasResponse>* Management::Stub::PrepareAsyncSetAliasRaw(::grpc::ClientContext* context, const ::management::SetAliasRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::management::SetAliasResponse, ::management::SetAliasRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_SetAlias_, context, request); +} + +::grpc::ClientAsyncResponseReader< ::management::SetAliasResponse>* Management::Stub::AsyncSetAliasRaw(::grpc::ClientContext* context, const ::management::SetAliasRequest& request, ::grpc::CompletionQueue* cq) { + auto* result = + this->PrepareAsyncSetAliasRaw(context, request, cq); + result->StartCall(); + return result; +} + +::grpc::Status Management::Stub::GetNodes(::grpc::ClientContext* context, const ::management::GetNodesRequest& request, ::management::GetNodesResponse* response) { + return ::grpc::internal::BlockingUnaryCall< ::management::GetNodesRequest, ::management::GetNodesResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_GetNodes_, context, request, response); +} + +void Management::Stub::async::GetNodes(::grpc::ClientContext* context, const ::management::GetNodesRequest* request, ::management::GetNodesResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::management::GetNodesRequest, ::management::GetNodesResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_GetNodes_, context, request, response, std::move(f)); +} + +void Management::Stub::async::GetNodes(::grpc::ClientContext* context, const ::management::GetNodesRequest* request, ::management::GetNodesResponse* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_GetNodes_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::management::GetNodesResponse>* Management::Stub::PrepareAsyncGetNodesRaw(::grpc::ClientContext* context, const ::management::GetNodesRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::management::GetNodesResponse, ::management::GetNodesRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_GetNodes_, context, request); +} + +::grpc::ClientAsyncResponseReader< ::management::GetNodesResponse>* Management::Stub::AsyncGetNodesRaw(::grpc::ClientContext* context, const ::management::GetNodesRequest& request, ::grpc::CompletionQueue* cq) { + auto* result = + this->PrepareAsyncGetNodesRaw(context, request, cq); + result->StartCall(); + return result; +} + +::grpc::Status Management::Stub::DeleteNode(::grpc::ClientContext* context, const ::management::DeleteNodeRequest& request, ::management::DeleteNodeResponse* response) { + return ::grpc::internal::BlockingUnaryCall< ::management::DeleteNodeRequest, ::management::DeleteNodeResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_DeleteNode_, context, request, response); +} + +void Management::Stub::async::DeleteNode(::grpc::ClientContext* context, const ::management::DeleteNodeRequest* request, ::management::DeleteNodeResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::management::DeleteNodeRequest, ::management::DeleteNodeResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_DeleteNode_, context, request, response, std::move(f)); +} + +void Management::Stub::async::DeleteNode(::grpc::ClientContext* context, const ::management::DeleteNodeRequest* request, ::management::DeleteNodeResponse* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_DeleteNode_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::management::DeleteNodeResponse>* Management::Stub::PrepareAsyncDeleteNodeRaw(::grpc::ClientContext* context, const ::management::DeleteNodeRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::management::DeleteNodeResponse, ::management::DeleteNodeRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_DeleteNode_, context, request); +} + +::grpc::ClientAsyncResponseReader< ::management::DeleteNodeResponse>* Management::Stub::AsyncDeleteNodeRaw(::grpc::ClientContext* context, const ::management::DeleteNodeRequest& request, ::grpc::CompletionQueue* cq) { + auto* result = + this->PrepareAsyncDeleteNodeRaw(context, request, cq); + result->StartCall(); + return result; +} + +::grpc::Status Management::Stub::GetTargets(::grpc::ClientContext* context, const ::management::GetTargetsRequest& request, ::management::GetTargetsResponse* response) { + return ::grpc::internal::BlockingUnaryCall< ::management::GetTargetsRequest, ::management::GetTargetsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_GetTargets_, context, request, response); +} + +void Management::Stub::async::GetTargets(::grpc::ClientContext* context, const ::management::GetTargetsRequest* request, ::management::GetTargetsResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::management::GetTargetsRequest, ::management::GetTargetsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_GetTargets_, context, request, response, std::move(f)); +} + +void Management::Stub::async::GetTargets(::grpc::ClientContext* context, const ::management::GetTargetsRequest* request, ::management::GetTargetsResponse* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_GetTargets_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::management::GetTargetsResponse>* Management::Stub::PrepareAsyncGetTargetsRaw(::grpc::ClientContext* context, const ::management::GetTargetsRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::management::GetTargetsResponse, ::management::GetTargetsRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_GetTargets_, context, request); +} + +::grpc::ClientAsyncResponseReader< ::management::GetTargetsResponse>* Management::Stub::AsyncGetTargetsRaw(::grpc::ClientContext* context, const ::management::GetTargetsRequest& request, ::grpc::CompletionQueue* cq) { + auto* result = + this->PrepareAsyncGetTargetsRaw(context, request, cq); + result->StartCall(); + return result; +} + +::grpc::Status Management::Stub::DeleteTarget(::grpc::ClientContext* context, const ::management::DeleteTargetRequest& request, ::management::DeleteTargetResponse* response) { + return ::grpc::internal::BlockingUnaryCall< ::management::DeleteTargetRequest, ::management::DeleteTargetResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_DeleteTarget_, context, request, response); +} + +void Management::Stub::async::DeleteTarget(::grpc::ClientContext* context, const ::management::DeleteTargetRequest* request, ::management::DeleteTargetResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::management::DeleteTargetRequest, ::management::DeleteTargetResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_DeleteTarget_, context, request, response, std::move(f)); +} + +void Management::Stub::async::DeleteTarget(::grpc::ClientContext* context, const ::management::DeleteTargetRequest* request, ::management::DeleteTargetResponse* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_DeleteTarget_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::management::DeleteTargetResponse>* Management::Stub::PrepareAsyncDeleteTargetRaw(::grpc::ClientContext* context, const ::management::DeleteTargetRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::management::DeleteTargetResponse, ::management::DeleteTargetRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_DeleteTarget_, context, request); +} + +::grpc::ClientAsyncResponseReader< ::management::DeleteTargetResponse>* Management::Stub::AsyncDeleteTargetRaw(::grpc::ClientContext* context, const ::management::DeleteTargetRequest& request, ::grpc::CompletionQueue* cq) { + auto* result = + this->PrepareAsyncDeleteTargetRaw(context, request, cq); + result->StartCall(); + return result; +} + +::grpc::Status Management::Stub::SetTargetState(::grpc::ClientContext* context, const ::management::SetTargetStateRequest& request, ::management::SetTargetStateResponse* response) { + return ::grpc::internal::BlockingUnaryCall< ::management::SetTargetStateRequest, ::management::SetTargetStateResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_SetTargetState_, context, request, response); +} + +void Management::Stub::async::SetTargetState(::grpc::ClientContext* context, const ::management::SetTargetStateRequest* request, ::management::SetTargetStateResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::management::SetTargetStateRequest, ::management::SetTargetStateResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_SetTargetState_, context, request, response, std::move(f)); +} + +void Management::Stub::async::SetTargetState(::grpc::ClientContext* context, const ::management::SetTargetStateRequest* request, ::management::SetTargetStateResponse* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_SetTargetState_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::management::SetTargetStateResponse>* Management::Stub::PrepareAsyncSetTargetStateRaw(::grpc::ClientContext* context, const ::management::SetTargetStateRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::management::SetTargetStateResponse, ::management::SetTargetStateRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_SetTargetState_, context, request); +} + +::grpc::ClientAsyncResponseReader< ::management::SetTargetStateResponse>* Management::Stub::AsyncSetTargetStateRaw(::grpc::ClientContext* context, const ::management::SetTargetStateRequest& request, ::grpc::CompletionQueue* cq) { + auto* result = + this->PrepareAsyncSetTargetStateRaw(context, request, cq); + result->StartCall(); + return result; +} + +::grpc::Status Management::Stub::GetPools(::grpc::ClientContext* context, const ::management::GetPoolsRequest& request, ::management::GetPoolsResponse* response) { + return ::grpc::internal::BlockingUnaryCall< ::management::GetPoolsRequest, ::management::GetPoolsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_GetPools_, context, request, response); +} + +void Management::Stub::async::GetPools(::grpc::ClientContext* context, const ::management::GetPoolsRequest* request, ::management::GetPoolsResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::management::GetPoolsRequest, ::management::GetPoolsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_GetPools_, context, request, response, std::move(f)); +} + +void Management::Stub::async::GetPools(::grpc::ClientContext* context, const ::management::GetPoolsRequest* request, ::management::GetPoolsResponse* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_GetPools_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::management::GetPoolsResponse>* Management::Stub::PrepareAsyncGetPoolsRaw(::grpc::ClientContext* context, const ::management::GetPoolsRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::management::GetPoolsResponse, ::management::GetPoolsRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_GetPools_, context, request); +} + +::grpc::ClientAsyncResponseReader< ::management::GetPoolsResponse>* Management::Stub::AsyncGetPoolsRaw(::grpc::ClientContext* context, const ::management::GetPoolsRequest& request, ::grpc::CompletionQueue* cq) { + auto* result = + this->PrepareAsyncGetPoolsRaw(context, request, cq); + result->StartCall(); + return result; +} + +::grpc::Status Management::Stub::CreatePool(::grpc::ClientContext* context, const ::management::CreatePoolRequest& request, ::management::CreatePoolResponse* response) { + return ::grpc::internal::BlockingUnaryCall< ::management::CreatePoolRequest, ::management::CreatePoolResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_CreatePool_, context, request, response); +} + +void Management::Stub::async::CreatePool(::grpc::ClientContext* context, const ::management::CreatePoolRequest* request, ::management::CreatePoolResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::management::CreatePoolRequest, ::management::CreatePoolResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_CreatePool_, context, request, response, std::move(f)); +} + +void Management::Stub::async::CreatePool(::grpc::ClientContext* context, const ::management::CreatePoolRequest* request, ::management::CreatePoolResponse* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_CreatePool_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::management::CreatePoolResponse>* Management::Stub::PrepareAsyncCreatePoolRaw(::grpc::ClientContext* context, const ::management::CreatePoolRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::management::CreatePoolResponse, ::management::CreatePoolRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_CreatePool_, context, request); +} + +::grpc::ClientAsyncResponseReader< ::management::CreatePoolResponse>* Management::Stub::AsyncCreatePoolRaw(::grpc::ClientContext* context, const ::management::CreatePoolRequest& request, ::grpc::CompletionQueue* cq) { + auto* result = + this->PrepareAsyncCreatePoolRaw(context, request, cq); + result->StartCall(); + return result; +} + +::grpc::Status Management::Stub::AssignPool(::grpc::ClientContext* context, const ::management::AssignPoolRequest& request, ::management::AssignPoolResponse* response) { + return ::grpc::internal::BlockingUnaryCall< ::management::AssignPoolRequest, ::management::AssignPoolResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_AssignPool_, context, request, response); +} + +void Management::Stub::async::AssignPool(::grpc::ClientContext* context, const ::management::AssignPoolRequest* request, ::management::AssignPoolResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::management::AssignPoolRequest, ::management::AssignPoolResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_AssignPool_, context, request, response, std::move(f)); +} + +void Management::Stub::async::AssignPool(::grpc::ClientContext* context, const ::management::AssignPoolRequest* request, ::management::AssignPoolResponse* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_AssignPool_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::management::AssignPoolResponse>* Management::Stub::PrepareAsyncAssignPoolRaw(::grpc::ClientContext* context, const ::management::AssignPoolRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::management::AssignPoolResponse, ::management::AssignPoolRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_AssignPool_, context, request); +} + +::grpc::ClientAsyncResponseReader< ::management::AssignPoolResponse>* Management::Stub::AsyncAssignPoolRaw(::grpc::ClientContext* context, const ::management::AssignPoolRequest& request, ::grpc::CompletionQueue* cq) { + auto* result = + this->PrepareAsyncAssignPoolRaw(context, request, cq); + result->StartCall(); + return result; +} + +::grpc::Status Management::Stub::DeletePool(::grpc::ClientContext* context, const ::management::DeletePoolRequest& request, ::management::DeletePoolResponse* response) { + return ::grpc::internal::BlockingUnaryCall< ::management::DeletePoolRequest, ::management::DeletePoolResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_DeletePool_, context, request, response); +} + +void Management::Stub::async::DeletePool(::grpc::ClientContext* context, const ::management::DeletePoolRequest* request, ::management::DeletePoolResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::management::DeletePoolRequest, ::management::DeletePoolResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_DeletePool_, context, request, response, std::move(f)); +} + +void Management::Stub::async::DeletePool(::grpc::ClientContext* context, const ::management::DeletePoolRequest* request, ::management::DeletePoolResponse* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_DeletePool_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::management::DeletePoolResponse>* Management::Stub::PrepareAsyncDeletePoolRaw(::grpc::ClientContext* context, const ::management::DeletePoolRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::management::DeletePoolResponse, ::management::DeletePoolRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_DeletePool_, context, request); +} + +::grpc::ClientAsyncResponseReader< ::management::DeletePoolResponse>* Management::Stub::AsyncDeletePoolRaw(::grpc::ClientContext* context, const ::management::DeletePoolRequest& request, ::grpc::CompletionQueue* cq) { + auto* result = + this->PrepareAsyncDeletePoolRaw(context, request, cq); + result->StartCall(); + return result; +} + +::grpc::Status Management::Stub::GetBuddyGroups(::grpc::ClientContext* context, const ::management::GetBuddyGroupsRequest& request, ::management::GetBuddyGroupsResponse* response) { + return ::grpc::internal::BlockingUnaryCall< ::management::GetBuddyGroupsRequest, ::management::GetBuddyGroupsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_GetBuddyGroups_, context, request, response); +} + +void Management::Stub::async::GetBuddyGroups(::grpc::ClientContext* context, const ::management::GetBuddyGroupsRequest* request, ::management::GetBuddyGroupsResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::management::GetBuddyGroupsRequest, ::management::GetBuddyGroupsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_GetBuddyGroups_, context, request, response, std::move(f)); +} + +void Management::Stub::async::GetBuddyGroups(::grpc::ClientContext* context, const ::management::GetBuddyGroupsRequest* request, ::management::GetBuddyGroupsResponse* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_GetBuddyGroups_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::management::GetBuddyGroupsResponse>* Management::Stub::PrepareAsyncGetBuddyGroupsRaw(::grpc::ClientContext* context, const ::management::GetBuddyGroupsRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::management::GetBuddyGroupsResponse, ::management::GetBuddyGroupsRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_GetBuddyGroups_, context, request); +} + +::grpc::ClientAsyncResponseReader< ::management::GetBuddyGroupsResponse>* Management::Stub::AsyncGetBuddyGroupsRaw(::grpc::ClientContext* context, const ::management::GetBuddyGroupsRequest& request, ::grpc::CompletionQueue* cq) { + auto* result = + this->PrepareAsyncGetBuddyGroupsRaw(context, request, cq); + result->StartCall(); + return result; +} + +::grpc::Status Management::Stub::CreateBuddyGroup(::grpc::ClientContext* context, const ::management::CreateBuddyGroupRequest& request, ::management::CreateBuddyGroupResponse* response) { + return ::grpc::internal::BlockingUnaryCall< ::management::CreateBuddyGroupRequest, ::management::CreateBuddyGroupResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_CreateBuddyGroup_, context, request, response); +} + +void Management::Stub::async::CreateBuddyGroup(::grpc::ClientContext* context, const ::management::CreateBuddyGroupRequest* request, ::management::CreateBuddyGroupResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::management::CreateBuddyGroupRequest, ::management::CreateBuddyGroupResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_CreateBuddyGroup_, context, request, response, std::move(f)); +} + +void Management::Stub::async::CreateBuddyGroup(::grpc::ClientContext* context, const ::management::CreateBuddyGroupRequest* request, ::management::CreateBuddyGroupResponse* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_CreateBuddyGroup_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::management::CreateBuddyGroupResponse>* Management::Stub::PrepareAsyncCreateBuddyGroupRaw(::grpc::ClientContext* context, const ::management::CreateBuddyGroupRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::management::CreateBuddyGroupResponse, ::management::CreateBuddyGroupRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_CreateBuddyGroup_, context, request); +} + +::grpc::ClientAsyncResponseReader< ::management::CreateBuddyGroupResponse>* Management::Stub::AsyncCreateBuddyGroupRaw(::grpc::ClientContext* context, const ::management::CreateBuddyGroupRequest& request, ::grpc::CompletionQueue* cq) { + auto* result = + this->PrepareAsyncCreateBuddyGroupRaw(context, request, cq); + result->StartCall(); + return result; +} + +::grpc::Status Management::Stub::DeleteBuddyGroup(::grpc::ClientContext* context, const ::management::DeleteBuddyGroupRequest& request, ::management::DeleteBuddyGroupResponse* response) { + return ::grpc::internal::BlockingUnaryCall< ::management::DeleteBuddyGroupRequest, ::management::DeleteBuddyGroupResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_DeleteBuddyGroup_, context, request, response); +} + +void Management::Stub::async::DeleteBuddyGroup(::grpc::ClientContext* context, const ::management::DeleteBuddyGroupRequest* request, ::management::DeleteBuddyGroupResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::management::DeleteBuddyGroupRequest, ::management::DeleteBuddyGroupResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_DeleteBuddyGroup_, context, request, response, std::move(f)); +} + +void Management::Stub::async::DeleteBuddyGroup(::grpc::ClientContext* context, const ::management::DeleteBuddyGroupRequest* request, ::management::DeleteBuddyGroupResponse* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_DeleteBuddyGroup_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::management::DeleteBuddyGroupResponse>* Management::Stub::PrepareAsyncDeleteBuddyGroupRaw(::grpc::ClientContext* context, const ::management::DeleteBuddyGroupRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::management::DeleteBuddyGroupResponse, ::management::DeleteBuddyGroupRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_DeleteBuddyGroup_, context, request); +} + +::grpc::ClientAsyncResponseReader< ::management::DeleteBuddyGroupResponse>* Management::Stub::AsyncDeleteBuddyGroupRaw(::grpc::ClientContext* context, const ::management::DeleteBuddyGroupRequest& request, ::grpc::CompletionQueue* cq) { + auto* result = + this->PrepareAsyncDeleteBuddyGroupRaw(context, request, cq); + result->StartCall(); + return result; +} + +::grpc::Status Management::Stub::MirrorRootInode(::grpc::ClientContext* context, const ::management::MirrorRootInodeRequest& request, ::management::MirrorRootInodeResponse* response) { + return ::grpc::internal::BlockingUnaryCall< ::management::MirrorRootInodeRequest, ::management::MirrorRootInodeResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_MirrorRootInode_, context, request, response); +} + +void Management::Stub::async::MirrorRootInode(::grpc::ClientContext* context, const ::management::MirrorRootInodeRequest* request, ::management::MirrorRootInodeResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::management::MirrorRootInodeRequest, ::management::MirrorRootInodeResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_MirrorRootInode_, context, request, response, std::move(f)); +} + +void Management::Stub::async::MirrorRootInode(::grpc::ClientContext* context, const ::management::MirrorRootInodeRequest* request, ::management::MirrorRootInodeResponse* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_MirrorRootInode_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::management::MirrorRootInodeResponse>* Management::Stub::PrepareAsyncMirrorRootInodeRaw(::grpc::ClientContext* context, const ::management::MirrorRootInodeRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::management::MirrorRootInodeResponse, ::management::MirrorRootInodeRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_MirrorRootInode_, context, request); +} + +::grpc::ClientAsyncResponseReader< ::management::MirrorRootInodeResponse>* Management::Stub::AsyncMirrorRootInodeRaw(::grpc::ClientContext* context, const ::management::MirrorRootInodeRequest& request, ::grpc::CompletionQueue* cq) { + auto* result = + this->PrepareAsyncMirrorRootInodeRaw(context, request, cq); + result->StartCall(); + return result; +} + +::grpc::Status Management::Stub::StartResync(::grpc::ClientContext* context, const ::management::StartResyncRequest& request, ::management::StartResyncResponse* response) { + return ::grpc::internal::BlockingUnaryCall< ::management::StartResyncRequest, ::management::StartResyncResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_StartResync_, context, request, response); +} + +void Management::Stub::async::StartResync(::grpc::ClientContext* context, const ::management::StartResyncRequest* request, ::management::StartResyncResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::management::StartResyncRequest, ::management::StartResyncResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_StartResync_, context, request, response, std::move(f)); +} + +void Management::Stub::async::StartResync(::grpc::ClientContext* context, const ::management::StartResyncRequest* request, ::management::StartResyncResponse* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_StartResync_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::management::StartResyncResponse>* Management::Stub::PrepareAsyncStartResyncRaw(::grpc::ClientContext* context, const ::management::StartResyncRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::management::StartResyncResponse, ::management::StartResyncRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_StartResync_, context, request); +} + +::grpc::ClientAsyncResponseReader< ::management::StartResyncResponse>* Management::Stub::AsyncStartResyncRaw(::grpc::ClientContext* context, const ::management::StartResyncRequest& request, ::grpc::CompletionQueue* cq) { + auto* result = + this->PrepareAsyncStartResyncRaw(context, request, cq); + result->StartCall(); + return result; +} + +::grpc::Status Management::Stub::SetDefaultQuotaLimits(::grpc::ClientContext* context, const ::management::SetDefaultQuotaLimitsRequest& request, ::management::SetDefaultQuotaLimitsResponse* response) { + return ::grpc::internal::BlockingUnaryCall< ::management::SetDefaultQuotaLimitsRequest, ::management::SetDefaultQuotaLimitsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_SetDefaultQuotaLimits_, context, request, response); +} + +void Management::Stub::async::SetDefaultQuotaLimits(::grpc::ClientContext* context, const ::management::SetDefaultQuotaLimitsRequest* request, ::management::SetDefaultQuotaLimitsResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::management::SetDefaultQuotaLimitsRequest, ::management::SetDefaultQuotaLimitsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_SetDefaultQuotaLimits_, context, request, response, std::move(f)); +} + +void Management::Stub::async::SetDefaultQuotaLimits(::grpc::ClientContext* context, const ::management::SetDefaultQuotaLimitsRequest* request, ::management::SetDefaultQuotaLimitsResponse* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_SetDefaultQuotaLimits_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::management::SetDefaultQuotaLimitsResponse>* Management::Stub::PrepareAsyncSetDefaultQuotaLimitsRaw(::grpc::ClientContext* context, const ::management::SetDefaultQuotaLimitsRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::management::SetDefaultQuotaLimitsResponse, ::management::SetDefaultQuotaLimitsRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_SetDefaultQuotaLimits_, context, request); +} + +::grpc::ClientAsyncResponseReader< ::management::SetDefaultQuotaLimitsResponse>* Management::Stub::AsyncSetDefaultQuotaLimitsRaw(::grpc::ClientContext* context, const ::management::SetDefaultQuotaLimitsRequest& request, ::grpc::CompletionQueue* cq) { + auto* result = + this->PrepareAsyncSetDefaultQuotaLimitsRaw(context, request, cq); + result->StartCall(); + return result; +} + +::grpc::Status Management::Stub::SetQuotaLimits(::grpc::ClientContext* context, const ::management::SetQuotaLimitsRequest& request, ::management::SetQuotaLimitsResponse* response) { + return ::grpc::internal::BlockingUnaryCall< ::management::SetQuotaLimitsRequest, ::management::SetQuotaLimitsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_SetQuotaLimits_, context, request, response); +} + +void Management::Stub::async::SetQuotaLimits(::grpc::ClientContext* context, const ::management::SetQuotaLimitsRequest* request, ::management::SetQuotaLimitsResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::management::SetQuotaLimitsRequest, ::management::SetQuotaLimitsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_SetQuotaLimits_, context, request, response, std::move(f)); +} + +void Management::Stub::async::SetQuotaLimits(::grpc::ClientContext* context, const ::management::SetQuotaLimitsRequest* request, ::management::SetQuotaLimitsResponse* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_SetQuotaLimits_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::management::SetQuotaLimitsResponse>* Management::Stub::PrepareAsyncSetQuotaLimitsRaw(::grpc::ClientContext* context, const ::management::SetQuotaLimitsRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::management::SetQuotaLimitsResponse, ::management::SetQuotaLimitsRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_SetQuotaLimits_, context, request); +} + +::grpc::ClientAsyncResponseReader< ::management::SetQuotaLimitsResponse>* Management::Stub::AsyncSetQuotaLimitsRaw(::grpc::ClientContext* context, const ::management::SetQuotaLimitsRequest& request, ::grpc::CompletionQueue* cq) { + auto* result = + this->PrepareAsyncSetQuotaLimitsRaw(context, request, cq); + result->StartCall(); + return result; +} + +::grpc::ClientReader< ::management::GetQuotaLimitsResponse>* Management::Stub::GetQuotaLimitsRaw(::grpc::ClientContext* context, const ::management::GetQuotaLimitsRequest& request) { + return ::grpc::internal::ClientReaderFactory< ::management::GetQuotaLimitsResponse>::Create(channel_.get(), rpcmethod_GetQuotaLimits_, context, request); +} + +void Management::Stub::async::GetQuotaLimits(::grpc::ClientContext* context, const ::management::GetQuotaLimitsRequest* request, ::grpc::ClientReadReactor< ::management::GetQuotaLimitsResponse>* reactor) { + ::grpc::internal::ClientCallbackReaderFactory< ::management::GetQuotaLimitsResponse>::Create(stub_->channel_.get(), stub_->rpcmethod_GetQuotaLimits_, context, request, reactor); +} + +::grpc::ClientAsyncReader< ::management::GetQuotaLimitsResponse>* Management::Stub::AsyncGetQuotaLimitsRaw(::grpc::ClientContext* context, const ::management::GetQuotaLimitsRequest& request, ::grpc::CompletionQueue* cq, void* tag) { + return ::grpc::internal::ClientAsyncReaderFactory< ::management::GetQuotaLimitsResponse>::Create(channel_.get(), cq, rpcmethod_GetQuotaLimits_, context, request, true, tag); +} + +::grpc::ClientAsyncReader< ::management::GetQuotaLimitsResponse>* Management::Stub::PrepareAsyncGetQuotaLimitsRaw(::grpc::ClientContext* context, const ::management::GetQuotaLimitsRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncReaderFactory< ::management::GetQuotaLimitsResponse>::Create(channel_.get(), cq, rpcmethod_GetQuotaLimits_, context, request, false, nullptr); +} + +::grpc::ClientReader< ::management::GetQuotaUsageResponse>* Management::Stub::GetQuotaUsageRaw(::grpc::ClientContext* context, const ::management::GetQuotaUsageRequest& request) { + return ::grpc::internal::ClientReaderFactory< ::management::GetQuotaUsageResponse>::Create(channel_.get(), rpcmethod_GetQuotaUsage_, context, request); +} + +void Management::Stub::async::GetQuotaUsage(::grpc::ClientContext* context, const ::management::GetQuotaUsageRequest* request, ::grpc::ClientReadReactor< ::management::GetQuotaUsageResponse>* reactor) { + ::grpc::internal::ClientCallbackReaderFactory< ::management::GetQuotaUsageResponse>::Create(stub_->channel_.get(), stub_->rpcmethod_GetQuotaUsage_, context, request, reactor); +} + +::grpc::ClientAsyncReader< ::management::GetQuotaUsageResponse>* Management::Stub::AsyncGetQuotaUsageRaw(::grpc::ClientContext* context, const ::management::GetQuotaUsageRequest& request, ::grpc::CompletionQueue* cq, void* tag) { + return ::grpc::internal::ClientAsyncReaderFactory< ::management::GetQuotaUsageResponse>::Create(channel_.get(), cq, rpcmethod_GetQuotaUsage_, context, request, true, tag); +} + +::grpc::ClientAsyncReader< ::management::GetQuotaUsageResponse>* Management::Stub::PrepareAsyncGetQuotaUsageRaw(::grpc::ClientContext* context, const ::management::GetQuotaUsageRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncReaderFactory< ::management::GetQuotaUsageResponse>::Create(channel_.get(), cq, rpcmethod_GetQuotaUsage_, context, request, false, nullptr); +} + +::grpc::Status Management::Stub::GetLicense(::grpc::ClientContext* context, const ::management::GetLicenseRequest& request, ::management::GetLicenseResponse* response) { + return ::grpc::internal::BlockingUnaryCall< ::management::GetLicenseRequest, ::management::GetLicenseResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_GetLicense_, context, request, response); +} + +void Management::Stub::async::GetLicense(::grpc::ClientContext* context, const ::management::GetLicenseRequest* request, ::management::GetLicenseResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::management::GetLicenseRequest, ::management::GetLicenseResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_GetLicense_, context, request, response, std::move(f)); +} + +void Management::Stub::async::GetLicense(::grpc::ClientContext* context, const ::management::GetLicenseRequest* request, ::management::GetLicenseResponse* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_GetLicense_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::management::GetLicenseResponse>* Management::Stub::PrepareAsyncGetLicenseRaw(::grpc::ClientContext* context, const ::management::GetLicenseRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::management::GetLicenseResponse, ::management::GetLicenseRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_GetLicense_, context, request); +} + +::grpc::ClientAsyncResponseReader< ::management::GetLicenseResponse>* Management::Stub::AsyncGetLicenseRaw(::grpc::ClientContext* context, const ::management::GetLicenseRequest& request, ::grpc::CompletionQueue* cq) { + auto* result = + this->PrepareAsyncGetLicenseRaw(context, request, cq); + result->StartCall(); + return result; +} + +Management::Service::Service() { + AddMethod(new ::grpc::internal::RpcServiceMethod( + Management_method_names[0], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< Management::Service, ::management::SetAliasRequest, ::management::SetAliasResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + [](Management::Service* service, + ::grpc::ServerContext* ctx, + const ::management::SetAliasRequest* req, + ::management::SetAliasResponse* resp) { + return service->SetAlias(ctx, req, resp); + }, this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + Management_method_names[1], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< Management::Service, ::management::GetNodesRequest, ::management::GetNodesResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + [](Management::Service* service, + ::grpc::ServerContext* ctx, + const ::management::GetNodesRequest* req, + ::management::GetNodesResponse* resp) { + return service->GetNodes(ctx, req, resp); + }, this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + Management_method_names[2], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< Management::Service, ::management::DeleteNodeRequest, ::management::DeleteNodeResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + [](Management::Service* service, + ::grpc::ServerContext* ctx, + const ::management::DeleteNodeRequest* req, + ::management::DeleteNodeResponse* resp) { + return service->DeleteNode(ctx, req, resp); + }, this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + Management_method_names[3], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< Management::Service, ::management::GetTargetsRequest, ::management::GetTargetsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + [](Management::Service* service, + ::grpc::ServerContext* ctx, + const ::management::GetTargetsRequest* req, + ::management::GetTargetsResponse* resp) { + return service->GetTargets(ctx, req, resp); + }, this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + Management_method_names[4], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< Management::Service, ::management::DeleteTargetRequest, ::management::DeleteTargetResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + [](Management::Service* service, + ::grpc::ServerContext* ctx, + const ::management::DeleteTargetRequest* req, + ::management::DeleteTargetResponse* resp) { + return service->DeleteTarget(ctx, req, resp); + }, this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + Management_method_names[5], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< Management::Service, ::management::SetTargetStateRequest, ::management::SetTargetStateResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + [](Management::Service* service, + ::grpc::ServerContext* ctx, + const ::management::SetTargetStateRequest* req, + ::management::SetTargetStateResponse* resp) { + return service->SetTargetState(ctx, req, resp); + }, this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + Management_method_names[6], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< Management::Service, ::management::GetPoolsRequest, ::management::GetPoolsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + [](Management::Service* service, + ::grpc::ServerContext* ctx, + const ::management::GetPoolsRequest* req, + ::management::GetPoolsResponse* resp) { + return service->GetPools(ctx, req, resp); + }, this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + Management_method_names[7], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< Management::Service, ::management::CreatePoolRequest, ::management::CreatePoolResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + [](Management::Service* service, + ::grpc::ServerContext* ctx, + const ::management::CreatePoolRequest* req, + ::management::CreatePoolResponse* resp) { + return service->CreatePool(ctx, req, resp); + }, this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + Management_method_names[8], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< Management::Service, ::management::AssignPoolRequest, ::management::AssignPoolResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + [](Management::Service* service, + ::grpc::ServerContext* ctx, + const ::management::AssignPoolRequest* req, + ::management::AssignPoolResponse* resp) { + return service->AssignPool(ctx, req, resp); + }, this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + Management_method_names[9], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< Management::Service, ::management::DeletePoolRequest, ::management::DeletePoolResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + [](Management::Service* service, + ::grpc::ServerContext* ctx, + const ::management::DeletePoolRequest* req, + ::management::DeletePoolResponse* resp) { + return service->DeletePool(ctx, req, resp); + }, this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + Management_method_names[10], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< Management::Service, ::management::GetBuddyGroupsRequest, ::management::GetBuddyGroupsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + [](Management::Service* service, + ::grpc::ServerContext* ctx, + const ::management::GetBuddyGroupsRequest* req, + ::management::GetBuddyGroupsResponse* resp) { + return service->GetBuddyGroups(ctx, req, resp); + }, this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + Management_method_names[11], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< Management::Service, ::management::CreateBuddyGroupRequest, ::management::CreateBuddyGroupResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + [](Management::Service* service, + ::grpc::ServerContext* ctx, + const ::management::CreateBuddyGroupRequest* req, + ::management::CreateBuddyGroupResponse* resp) { + return service->CreateBuddyGroup(ctx, req, resp); + }, this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + Management_method_names[12], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< Management::Service, ::management::DeleteBuddyGroupRequest, ::management::DeleteBuddyGroupResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + [](Management::Service* service, + ::grpc::ServerContext* ctx, + const ::management::DeleteBuddyGroupRequest* req, + ::management::DeleteBuddyGroupResponse* resp) { + return service->DeleteBuddyGroup(ctx, req, resp); + }, this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + Management_method_names[13], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< Management::Service, ::management::MirrorRootInodeRequest, ::management::MirrorRootInodeResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + [](Management::Service* service, + ::grpc::ServerContext* ctx, + const ::management::MirrorRootInodeRequest* req, + ::management::MirrorRootInodeResponse* resp) { + return service->MirrorRootInode(ctx, req, resp); + }, this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + Management_method_names[14], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< Management::Service, ::management::StartResyncRequest, ::management::StartResyncResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + [](Management::Service* service, + ::grpc::ServerContext* ctx, + const ::management::StartResyncRequest* req, + ::management::StartResyncResponse* resp) { + return service->StartResync(ctx, req, resp); + }, this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + Management_method_names[15], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< Management::Service, ::management::SetDefaultQuotaLimitsRequest, ::management::SetDefaultQuotaLimitsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + [](Management::Service* service, + ::grpc::ServerContext* ctx, + const ::management::SetDefaultQuotaLimitsRequest* req, + ::management::SetDefaultQuotaLimitsResponse* resp) { + return service->SetDefaultQuotaLimits(ctx, req, resp); + }, this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + Management_method_names[16], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< Management::Service, ::management::SetQuotaLimitsRequest, ::management::SetQuotaLimitsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + [](Management::Service* service, + ::grpc::ServerContext* ctx, + const ::management::SetQuotaLimitsRequest* req, + ::management::SetQuotaLimitsResponse* resp) { + return service->SetQuotaLimits(ctx, req, resp); + }, this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + Management_method_names[17], + ::grpc::internal::RpcMethod::SERVER_STREAMING, + new ::grpc::internal::ServerStreamingHandler< Management::Service, ::management::GetQuotaLimitsRequest, ::management::GetQuotaLimitsResponse>( + [](Management::Service* service, + ::grpc::ServerContext* ctx, + const ::management::GetQuotaLimitsRequest* req, + ::grpc::ServerWriter<::management::GetQuotaLimitsResponse>* writer) { + return service->GetQuotaLimits(ctx, req, writer); + }, this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + Management_method_names[18], + ::grpc::internal::RpcMethod::SERVER_STREAMING, + new ::grpc::internal::ServerStreamingHandler< Management::Service, ::management::GetQuotaUsageRequest, ::management::GetQuotaUsageResponse>( + [](Management::Service* service, + ::grpc::ServerContext* ctx, + const ::management::GetQuotaUsageRequest* req, + ::grpc::ServerWriter<::management::GetQuotaUsageResponse>* writer) { + return service->GetQuotaUsage(ctx, req, writer); + }, this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + Management_method_names[19], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< Management::Service, ::management::GetLicenseRequest, ::management::GetLicenseResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + [](Management::Service* service, + ::grpc::ServerContext* ctx, + const ::management::GetLicenseRequest* req, + ::management::GetLicenseResponse* resp) { + return service->GetLicense(ctx, req, resp); + }, this))); +} + +Management::Service::~Service() { +} + +::grpc::Status Management::Service::SetAlias(::grpc::ServerContext* context, const ::management::SetAliasRequest* request, ::management::SetAliasResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status Management::Service::GetNodes(::grpc::ServerContext* context, const ::management::GetNodesRequest* request, ::management::GetNodesResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status Management::Service::DeleteNode(::grpc::ServerContext* context, const ::management::DeleteNodeRequest* request, ::management::DeleteNodeResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status Management::Service::GetTargets(::grpc::ServerContext* context, const ::management::GetTargetsRequest* request, ::management::GetTargetsResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status Management::Service::DeleteTarget(::grpc::ServerContext* context, const ::management::DeleteTargetRequest* request, ::management::DeleteTargetResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status Management::Service::SetTargetState(::grpc::ServerContext* context, const ::management::SetTargetStateRequest* request, ::management::SetTargetStateResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status Management::Service::GetPools(::grpc::ServerContext* context, const ::management::GetPoolsRequest* request, ::management::GetPoolsResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status Management::Service::CreatePool(::grpc::ServerContext* context, const ::management::CreatePoolRequest* request, ::management::CreatePoolResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status Management::Service::AssignPool(::grpc::ServerContext* context, const ::management::AssignPoolRequest* request, ::management::AssignPoolResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status Management::Service::DeletePool(::grpc::ServerContext* context, const ::management::DeletePoolRequest* request, ::management::DeletePoolResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status Management::Service::GetBuddyGroups(::grpc::ServerContext* context, const ::management::GetBuddyGroupsRequest* request, ::management::GetBuddyGroupsResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status Management::Service::CreateBuddyGroup(::grpc::ServerContext* context, const ::management::CreateBuddyGroupRequest* request, ::management::CreateBuddyGroupResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status Management::Service::DeleteBuddyGroup(::grpc::ServerContext* context, const ::management::DeleteBuddyGroupRequest* request, ::management::DeleteBuddyGroupResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status Management::Service::MirrorRootInode(::grpc::ServerContext* context, const ::management::MirrorRootInodeRequest* request, ::management::MirrorRootInodeResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status Management::Service::StartResync(::grpc::ServerContext* context, const ::management::StartResyncRequest* request, ::management::StartResyncResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status Management::Service::SetDefaultQuotaLimits(::grpc::ServerContext* context, const ::management::SetDefaultQuotaLimitsRequest* request, ::management::SetDefaultQuotaLimitsResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status Management::Service::SetQuotaLimits(::grpc::ServerContext* context, const ::management::SetQuotaLimitsRequest* request, ::management::SetQuotaLimitsResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status Management::Service::GetQuotaLimits(::grpc::ServerContext* context, const ::management::GetQuotaLimitsRequest* request, ::grpc::ServerWriter< ::management::GetQuotaLimitsResponse>* writer) { + (void) context; + (void) request; + (void) writer; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status Management::Service::GetQuotaUsage(::grpc::ServerContext* context, const ::management::GetQuotaUsageRequest* request, ::grpc::ServerWriter< ::management::GetQuotaUsageResponse>* writer) { + (void) context; + (void) request; + (void) writer; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status Management::Service::GetLicense(::grpc::ServerContext* context, const ::management::GetLicenseRequest* request, ::management::GetLicenseResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + + +} // namespace management +#include + diff --git a/cpp/include/proto/management.grpc.pb.h b/cpp/include/proto/management.grpc.pb.h new file mode 100644 index 0000000..deca3d4 --- /dev/null +++ b/cpp/include/proto/management.grpc.pb.h @@ -0,0 +1,3244 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: management.proto +#ifndef GRPC_management_2eproto__INCLUDED +#define GRPC_management_2eproto__INCLUDED + +#include "management.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace management { + +class Management final { + public: + static constexpr char const* service_full_name() { + return "management.Management"; + } + class StubInterface { + public: + virtual ~StubInterface() {} + virtual ::grpc::Status SetAlias(::grpc::ClientContext* context, const ::management::SetAliasRequest& request, ::management::SetAliasResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::SetAliasResponse>> AsyncSetAlias(::grpc::ClientContext* context, const ::management::SetAliasRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::SetAliasResponse>>(AsyncSetAliasRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::SetAliasResponse>> PrepareAsyncSetAlias(::grpc::ClientContext* context, const ::management::SetAliasRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::SetAliasResponse>>(PrepareAsyncSetAliasRaw(context, request, cq)); + } + // Nodes + virtual ::grpc::Status GetNodes(::grpc::ClientContext* context, const ::management::GetNodesRequest& request, ::management::GetNodesResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::GetNodesResponse>> AsyncGetNodes(::grpc::ClientContext* context, const ::management::GetNodesRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::GetNodesResponse>>(AsyncGetNodesRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::GetNodesResponse>> PrepareAsyncGetNodes(::grpc::ClientContext* context, const ::management::GetNodesRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::GetNodesResponse>>(PrepareAsyncGetNodesRaw(context, request, cq)); + } + virtual ::grpc::Status DeleteNode(::grpc::ClientContext* context, const ::management::DeleteNodeRequest& request, ::management::DeleteNodeResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::DeleteNodeResponse>> AsyncDeleteNode(::grpc::ClientContext* context, const ::management::DeleteNodeRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::DeleteNodeResponse>>(AsyncDeleteNodeRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::DeleteNodeResponse>> PrepareAsyncDeleteNode(::grpc::ClientContext* context, const ::management::DeleteNodeRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::DeleteNodeResponse>>(PrepareAsyncDeleteNodeRaw(context, request, cq)); + } + // Targets + virtual ::grpc::Status GetTargets(::grpc::ClientContext* context, const ::management::GetTargetsRequest& request, ::management::GetTargetsResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::GetTargetsResponse>> AsyncGetTargets(::grpc::ClientContext* context, const ::management::GetTargetsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::GetTargetsResponse>>(AsyncGetTargetsRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::GetTargetsResponse>> PrepareAsyncGetTargets(::grpc::ClientContext* context, const ::management::GetTargetsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::GetTargetsResponse>>(PrepareAsyncGetTargetsRaw(context, request, cq)); + } + virtual ::grpc::Status DeleteTarget(::grpc::ClientContext* context, const ::management::DeleteTargetRequest& request, ::management::DeleteTargetResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::DeleteTargetResponse>> AsyncDeleteTarget(::grpc::ClientContext* context, const ::management::DeleteTargetRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::DeleteTargetResponse>>(AsyncDeleteTargetRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::DeleteTargetResponse>> PrepareAsyncDeleteTarget(::grpc::ClientContext* context, const ::management::DeleteTargetRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::DeleteTargetResponse>>(PrepareAsyncDeleteTargetRaw(context, request, cq)); + } + // Manually set a target consistency state + virtual ::grpc::Status SetTargetState(::grpc::ClientContext* context, const ::management::SetTargetStateRequest& request, ::management::SetTargetStateResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::SetTargetStateResponse>> AsyncSetTargetState(::grpc::ClientContext* context, const ::management::SetTargetStateRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::SetTargetStateResponse>>(AsyncSetTargetStateRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::SetTargetStateResponse>> PrepareAsyncSetTargetState(::grpc::ClientContext* context, const ::management::SetTargetStateRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::SetTargetStateResponse>>(PrepareAsyncSetTargetStateRaw(context, request, cq)); + } + // (Storage) pools + virtual ::grpc::Status GetPools(::grpc::ClientContext* context, const ::management::GetPoolsRequest& request, ::management::GetPoolsResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::GetPoolsResponse>> AsyncGetPools(::grpc::ClientContext* context, const ::management::GetPoolsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::GetPoolsResponse>>(AsyncGetPoolsRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::GetPoolsResponse>> PrepareAsyncGetPools(::grpc::ClientContext* context, const ::management::GetPoolsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::GetPoolsResponse>>(PrepareAsyncGetPoolsRaw(context, request, cq)); + } + virtual ::grpc::Status CreatePool(::grpc::ClientContext* context, const ::management::CreatePoolRequest& request, ::management::CreatePoolResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::CreatePoolResponse>> AsyncCreatePool(::grpc::ClientContext* context, const ::management::CreatePoolRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::CreatePoolResponse>>(AsyncCreatePoolRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::CreatePoolResponse>> PrepareAsyncCreatePool(::grpc::ClientContext* context, const ::management::CreatePoolRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::CreatePoolResponse>>(PrepareAsyncCreatePoolRaw(context, request, cq)); + } + virtual ::grpc::Status AssignPool(::grpc::ClientContext* context, const ::management::AssignPoolRequest& request, ::management::AssignPoolResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::AssignPoolResponse>> AsyncAssignPool(::grpc::ClientContext* context, const ::management::AssignPoolRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::AssignPoolResponse>>(AsyncAssignPoolRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::AssignPoolResponse>> PrepareAsyncAssignPool(::grpc::ClientContext* context, const ::management::AssignPoolRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::AssignPoolResponse>>(PrepareAsyncAssignPoolRaw(context, request, cq)); + } + virtual ::grpc::Status DeletePool(::grpc::ClientContext* context, const ::management::DeletePoolRequest& request, ::management::DeletePoolResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::DeletePoolResponse>> AsyncDeletePool(::grpc::ClientContext* context, const ::management::DeletePoolRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::DeletePoolResponse>>(AsyncDeletePoolRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::DeletePoolResponse>> PrepareAsyncDeletePool(::grpc::ClientContext* context, const ::management::DeletePoolRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::DeletePoolResponse>>(PrepareAsyncDeletePoolRaw(context, request, cq)); + } + // Buddy groups + virtual ::grpc::Status GetBuddyGroups(::grpc::ClientContext* context, const ::management::GetBuddyGroupsRequest& request, ::management::GetBuddyGroupsResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::GetBuddyGroupsResponse>> AsyncGetBuddyGroups(::grpc::ClientContext* context, const ::management::GetBuddyGroupsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::GetBuddyGroupsResponse>>(AsyncGetBuddyGroupsRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::GetBuddyGroupsResponse>> PrepareAsyncGetBuddyGroups(::grpc::ClientContext* context, const ::management::GetBuddyGroupsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::GetBuddyGroupsResponse>>(PrepareAsyncGetBuddyGroupsRaw(context, request, cq)); + } + virtual ::grpc::Status CreateBuddyGroup(::grpc::ClientContext* context, const ::management::CreateBuddyGroupRequest& request, ::management::CreateBuddyGroupResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::CreateBuddyGroupResponse>> AsyncCreateBuddyGroup(::grpc::ClientContext* context, const ::management::CreateBuddyGroupRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::CreateBuddyGroupResponse>>(AsyncCreateBuddyGroupRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::CreateBuddyGroupResponse>> PrepareAsyncCreateBuddyGroup(::grpc::ClientContext* context, const ::management::CreateBuddyGroupRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::CreateBuddyGroupResponse>>(PrepareAsyncCreateBuddyGroupRaw(context, request, cq)); + } + virtual ::grpc::Status DeleteBuddyGroup(::grpc::ClientContext* context, const ::management::DeleteBuddyGroupRequest& request, ::management::DeleteBuddyGroupResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::DeleteBuddyGroupResponse>> AsyncDeleteBuddyGroup(::grpc::ClientContext* context, const ::management::DeleteBuddyGroupRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::DeleteBuddyGroupResponse>>(AsyncDeleteBuddyGroupRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::DeleteBuddyGroupResponse>> PrepareAsyncDeleteBuddyGroup(::grpc::ClientContext* context, const ::management::DeleteBuddyGroupRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::DeleteBuddyGroupResponse>>(PrepareAsyncDeleteBuddyGroupRaw(context, request, cq)); + } + virtual ::grpc::Status MirrorRootInode(::grpc::ClientContext* context, const ::management::MirrorRootInodeRequest& request, ::management::MirrorRootInodeResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::MirrorRootInodeResponse>> AsyncMirrorRootInode(::grpc::ClientContext* context, const ::management::MirrorRootInodeRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::MirrorRootInodeResponse>>(AsyncMirrorRootInodeRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::MirrorRootInodeResponse>> PrepareAsyncMirrorRootInode(::grpc::ClientContext* context, const ::management::MirrorRootInodeRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::MirrorRootInodeResponse>>(PrepareAsyncMirrorRootInodeRaw(context, request, cq)); + } + virtual ::grpc::Status StartResync(::grpc::ClientContext* context, const ::management::StartResyncRequest& request, ::management::StartResyncResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::StartResyncResponse>> AsyncStartResync(::grpc::ClientContext* context, const ::management::StartResyncRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::StartResyncResponse>>(AsyncStartResyncRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::StartResyncResponse>> PrepareAsyncStartResync(::grpc::ClientContext* context, const ::management::StartResyncRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::StartResyncResponse>>(PrepareAsyncStartResyncRaw(context, request, cq)); + } + // Quota + virtual ::grpc::Status SetDefaultQuotaLimits(::grpc::ClientContext* context, const ::management::SetDefaultQuotaLimitsRequest& request, ::management::SetDefaultQuotaLimitsResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::SetDefaultQuotaLimitsResponse>> AsyncSetDefaultQuotaLimits(::grpc::ClientContext* context, const ::management::SetDefaultQuotaLimitsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::SetDefaultQuotaLimitsResponse>>(AsyncSetDefaultQuotaLimitsRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::SetDefaultQuotaLimitsResponse>> PrepareAsyncSetDefaultQuotaLimits(::grpc::ClientContext* context, const ::management::SetDefaultQuotaLimitsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::SetDefaultQuotaLimitsResponse>>(PrepareAsyncSetDefaultQuotaLimitsRaw(context, request, cq)); + } + virtual ::grpc::Status SetQuotaLimits(::grpc::ClientContext* context, const ::management::SetQuotaLimitsRequest& request, ::management::SetQuotaLimitsResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::SetQuotaLimitsResponse>> AsyncSetQuotaLimits(::grpc::ClientContext* context, const ::management::SetQuotaLimitsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::SetQuotaLimitsResponse>>(AsyncSetQuotaLimitsRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::SetQuotaLimitsResponse>> PrepareAsyncSetQuotaLimits(::grpc::ClientContext* context, const ::management::SetQuotaLimitsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::SetQuotaLimitsResponse>>(PrepareAsyncSetQuotaLimitsRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientReaderInterface< ::management::GetQuotaLimitsResponse>> GetQuotaLimits(::grpc::ClientContext* context, const ::management::GetQuotaLimitsRequest& request) { + return std::unique_ptr< ::grpc::ClientReaderInterface< ::management::GetQuotaLimitsResponse>>(GetQuotaLimitsRaw(context, request)); + } + std::unique_ptr< ::grpc::ClientAsyncReaderInterface< ::management::GetQuotaLimitsResponse>> AsyncGetQuotaLimits(::grpc::ClientContext* context, const ::management::GetQuotaLimitsRequest& request, ::grpc::CompletionQueue* cq, void* tag) { + return std::unique_ptr< ::grpc::ClientAsyncReaderInterface< ::management::GetQuotaLimitsResponse>>(AsyncGetQuotaLimitsRaw(context, request, cq, tag)); + } + std::unique_ptr< ::grpc::ClientAsyncReaderInterface< ::management::GetQuotaLimitsResponse>> PrepareAsyncGetQuotaLimits(::grpc::ClientContext* context, const ::management::GetQuotaLimitsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncReaderInterface< ::management::GetQuotaLimitsResponse>>(PrepareAsyncGetQuotaLimitsRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientReaderInterface< ::management::GetQuotaUsageResponse>> GetQuotaUsage(::grpc::ClientContext* context, const ::management::GetQuotaUsageRequest& request) { + return std::unique_ptr< ::grpc::ClientReaderInterface< ::management::GetQuotaUsageResponse>>(GetQuotaUsageRaw(context, request)); + } + std::unique_ptr< ::grpc::ClientAsyncReaderInterface< ::management::GetQuotaUsageResponse>> AsyncGetQuotaUsage(::grpc::ClientContext* context, const ::management::GetQuotaUsageRequest& request, ::grpc::CompletionQueue* cq, void* tag) { + return std::unique_ptr< ::grpc::ClientAsyncReaderInterface< ::management::GetQuotaUsageResponse>>(AsyncGetQuotaUsageRaw(context, request, cq, tag)); + } + std::unique_ptr< ::grpc::ClientAsyncReaderInterface< ::management::GetQuotaUsageResponse>> PrepareAsyncGetQuotaUsage(::grpc::ClientContext* context, const ::management::GetQuotaUsageRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncReaderInterface< ::management::GetQuotaUsageResponse>>(PrepareAsyncGetQuotaUsageRaw(context, request, cq)); + } + // Licensing + virtual ::grpc::Status GetLicense(::grpc::ClientContext* context, const ::management::GetLicenseRequest& request, ::management::GetLicenseResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::GetLicenseResponse>> AsyncGetLicense(::grpc::ClientContext* context, const ::management::GetLicenseRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::GetLicenseResponse>>(AsyncGetLicenseRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::GetLicenseResponse>> PrepareAsyncGetLicense(::grpc::ClientContext* context, const ::management::GetLicenseRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::management::GetLicenseResponse>>(PrepareAsyncGetLicenseRaw(context, request, cq)); + } + class async_interface { + public: + virtual ~async_interface() {} + virtual void SetAlias(::grpc::ClientContext* context, const ::management::SetAliasRequest* request, ::management::SetAliasResponse* response, std::function) = 0; + virtual void SetAlias(::grpc::ClientContext* context, const ::management::SetAliasRequest* request, ::management::SetAliasResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + // Nodes + virtual void GetNodes(::grpc::ClientContext* context, const ::management::GetNodesRequest* request, ::management::GetNodesResponse* response, std::function) = 0; + virtual void GetNodes(::grpc::ClientContext* context, const ::management::GetNodesRequest* request, ::management::GetNodesResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void DeleteNode(::grpc::ClientContext* context, const ::management::DeleteNodeRequest* request, ::management::DeleteNodeResponse* response, std::function) = 0; + virtual void DeleteNode(::grpc::ClientContext* context, const ::management::DeleteNodeRequest* request, ::management::DeleteNodeResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + // Targets + virtual void GetTargets(::grpc::ClientContext* context, const ::management::GetTargetsRequest* request, ::management::GetTargetsResponse* response, std::function) = 0; + virtual void GetTargets(::grpc::ClientContext* context, const ::management::GetTargetsRequest* request, ::management::GetTargetsResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void DeleteTarget(::grpc::ClientContext* context, const ::management::DeleteTargetRequest* request, ::management::DeleteTargetResponse* response, std::function) = 0; + virtual void DeleteTarget(::grpc::ClientContext* context, const ::management::DeleteTargetRequest* request, ::management::DeleteTargetResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + // Manually set a target consistency state + virtual void SetTargetState(::grpc::ClientContext* context, const ::management::SetTargetStateRequest* request, ::management::SetTargetStateResponse* response, std::function) = 0; + virtual void SetTargetState(::grpc::ClientContext* context, const ::management::SetTargetStateRequest* request, ::management::SetTargetStateResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + // (Storage) pools + virtual void GetPools(::grpc::ClientContext* context, const ::management::GetPoolsRequest* request, ::management::GetPoolsResponse* response, std::function) = 0; + virtual void GetPools(::grpc::ClientContext* context, const ::management::GetPoolsRequest* request, ::management::GetPoolsResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void CreatePool(::grpc::ClientContext* context, const ::management::CreatePoolRequest* request, ::management::CreatePoolResponse* response, std::function) = 0; + virtual void CreatePool(::grpc::ClientContext* context, const ::management::CreatePoolRequest* request, ::management::CreatePoolResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void AssignPool(::grpc::ClientContext* context, const ::management::AssignPoolRequest* request, ::management::AssignPoolResponse* response, std::function) = 0; + virtual void AssignPool(::grpc::ClientContext* context, const ::management::AssignPoolRequest* request, ::management::AssignPoolResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void DeletePool(::grpc::ClientContext* context, const ::management::DeletePoolRequest* request, ::management::DeletePoolResponse* response, std::function) = 0; + virtual void DeletePool(::grpc::ClientContext* context, const ::management::DeletePoolRequest* request, ::management::DeletePoolResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + // Buddy groups + virtual void GetBuddyGroups(::grpc::ClientContext* context, const ::management::GetBuddyGroupsRequest* request, ::management::GetBuddyGroupsResponse* response, std::function) = 0; + virtual void GetBuddyGroups(::grpc::ClientContext* context, const ::management::GetBuddyGroupsRequest* request, ::management::GetBuddyGroupsResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void CreateBuddyGroup(::grpc::ClientContext* context, const ::management::CreateBuddyGroupRequest* request, ::management::CreateBuddyGroupResponse* response, std::function) = 0; + virtual void CreateBuddyGroup(::grpc::ClientContext* context, const ::management::CreateBuddyGroupRequest* request, ::management::CreateBuddyGroupResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void DeleteBuddyGroup(::grpc::ClientContext* context, const ::management::DeleteBuddyGroupRequest* request, ::management::DeleteBuddyGroupResponse* response, std::function) = 0; + virtual void DeleteBuddyGroup(::grpc::ClientContext* context, const ::management::DeleteBuddyGroupRequest* request, ::management::DeleteBuddyGroupResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void MirrorRootInode(::grpc::ClientContext* context, const ::management::MirrorRootInodeRequest* request, ::management::MirrorRootInodeResponse* response, std::function) = 0; + virtual void MirrorRootInode(::grpc::ClientContext* context, const ::management::MirrorRootInodeRequest* request, ::management::MirrorRootInodeResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void StartResync(::grpc::ClientContext* context, const ::management::StartResyncRequest* request, ::management::StartResyncResponse* response, std::function) = 0; + virtual void StartResync(::grpc::ClientContext* context, const ::management::StartResyncRequest* request, ::management::StartResyncResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + // Quota + virtual void SetDefaultQuotaLimits(::grpc::ClientContext* context, const ::management::SetDefaultQuotaLimitsRequest* request, ::management::SetDefaultQuotaLimitsResponse* response, std::function) = 0; + virtual void SetDefaultQuotaLimits(::grpc::ClientContext* context, const ::management::SetDefaultQuotaLimitsRequest* request, ::management::SetDefaultQuotaLimitsResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void SetQuotaLimits(::grpc::ClientContext* context, const ::management::SetQuotaLimitsRequest* request, ::management::SetQuotaLimitsResponse* response, std::function) = 0; + virtual void SetQuotaLimits(::grpc::ClientContext* context, const ::management::SetQuotaLimitsRequest* request, ::management::SetQuotaLimitsResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void GetQuotaLimits(::grpc::ClientContext* context, const ::management::GetQuotaLimitsRequest* request, ::grpc::ClientReadReactor< ::management::GetQuotaLimitsResponse>* reactor) = 0; + virtual void GetQuotaUsage(::grpc::ClientContext* context, const ::management::GetQuotaUsageRequest* request, ::grpc::ClientReadReactor< ::management::GetQuotaUsageResponse>* reactor) = 0; + // Licensing + virtual void GetLicense(::grpc::ClientContext* context, const ::management::GetLicenseRequest* request, ::management::GetLicenseResponse* response, std::function) = 0; + virtual void GetLicense(::grpc::ClientContext* context, const ::management::GetLicenseRequest* request, ::management::GetLicenseResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + }; + typedef class async_interface experimental_async_interface; + virtual class async_interface* async() { return nullptr; } + class async_interface* experimental_async() { return async(); } + private: + virtual ::grpc::ClientAsyncResponseReaderInterface< ::management::SetAliasResponse>* AsyncSetAliasRaw(::grpc::ClientContext* context, const ::management::SetAliasRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::management::SetAliasResponse>* PrepareAsyncSetAliasRaw(::grpc::ClientContext* context, const ::management::SetAliasRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::management::GetNodesResponse>* AsyncGetNodesRaw(::grpc::ClientContext* context, const ::management::GetNodesRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::management::GetNodesResponse>* PrepareAsyncGetNodesRaw(::grpc::ClientContext* context, const ::management::GetNodesRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::management::DeleteNodeResponse>* AsyncDeleteNodeRaw(::grpc::ClientContext* context, const ::management::DeleteNodeRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::management::DeleteNodeResponse>* PrepareAsyncDeleteNodeRaw(::grpc::ClientContext* context, const ::management::DeleteNodeRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::management::GetTargetsResponse>* AsyncGetTargetsRaw(::grpc::ClientContext* context, const ::management::GetTargetsRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::management::GetTargetsResponse>* PrepareAsyncGetTargetsRaw(::grpc::ClientContext* context, const ::management::GetTargetsRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::management::DeleteTargetResponse>* AsyncDeleteTargetRaw(::grpc::ClientContext* context, const ::management::DeleteTargetRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::management::DeleteTargetResponse>* PrepareAsyncDeleteTargetRaw(::grpc::ClientContext* context, const ::management::DeleteTargetRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::management::SetTargetStateResponse>* AsyncSetTargetStateRaw(::grpc::ClientContext* context, const ::management::SetTargetStateRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::management::SetTargetStateResponse>* PrepareAsyncSetTargetStateRaw(::grpc::ClientContext* context, const ::management::SetTargetStateRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::management::GetPoolsResponse>* AsyncGetPoolsRaw(::grpc::ClientContext* context, const ::management::GetPoolsRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::management::GetPoolsResponse>* PrepareAsyncGetPoolsRaw(::grpc::ClientContext* context, const ::management::GetPoolsRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::management::CreatePoolResponse>* AsyncCreatePoolRaw(::grpc::ClientContext* context, const ::management::CreatePoolRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::management::CreatePoolResponse>* PrepareAsyncCreatePoolRaw(::grpc::ClientContext* context, const ::management::CreatePoolRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::management::AssignPoolResponse>* AsyncAssignPoolRaw(::grpc::ClientContext* context, const ::management::AssignPoolRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::management::AssignPoolResponse>* PrepareAsyncAssignPoolRaw(::grpc::ClientContext* context, const ::management::AssignPoolRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::management::DeletePoolResponse>* AsyncDeletePoolRaw(::grpc::ClientContext* context, const ::management::DeletePoolRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::management::DeletePoolResponse>* PrepareAsyncDeletePoolRaw(::grpc::ClientContext* context, const ::management::DeletePoolRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::management::GetBuddyGroupsResponse>* AsyncGetBuddyGroupsRaw(::grpc::ClientContext* context, const ::management::GetBuddyGroupsRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::management::GetBuddyGroupsResponse>* PrepareAsyncGetBuddyGroupsRaw(::grpc::ClientContext* context, const ::management::GetBuddyGroupsRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::management::CreateBuddyGroupResponse>* AsyncCreateBuddyGroupRaw(::grpc::ClientContext* context, const ::management::CreateBuddyGroupRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::management::CreateBuddyGroupResponse>* PrepareAsyncCreateBuddyGroupRaw(::grpc::ClientContext* context, const ::management::CreateBuddyGroupRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::management::DeleteBuddyGroupResponse>* AsyncDeleteBuddyGroupRaw(::grpc::ClientContext* context, const ::management::DeleteBuddyGroupRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::management::DeleteBuddyGroupResponse>* PrepareAsyncDeleteBuddyGroupRaw(::grpc::ClientContext* context, const ::management::DeleteBuddyGroupRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::management::MirrorRootInodeResponse>* AsyncMirrorRootInodeRaw(::grpc::ClientContext* context, const ::management::MirrorRootInodeRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::management::MirrorRootInodeResponse>* PrepareAsyncMirrorRootInodeRaw(::grpc::ClientContext* context, const ::management::MirrorRootInodeRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::management::StartResyncResponse>* AsyncStartResyncRaw(::grpc::ClientContext* context, const ::management::StartResyncRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::management::StartResyncResponse>* PrepareAsyncStartResyncRaw(::grpc::ClientContext* context, const ::management::StartResyncRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::management::SetDefaultQuotaLimitsResponse>* AsyncSetDefaultQuotaLimitsRaw(::grpc::ClientContext* context, const ::management::SetDefaultQuotaLimitsRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::management::SetDefaultQuotaLimitsResponse>* PrepareAsyncSetDefaultQuotaLimitsRaw(::grpc::ClientContext* context, const ::management::SetDefaultQuotaLimitsRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::management::SetQuotaLimitsResponse>* AsyncSetQuotaLimitsRaw(::grpc::ClientContext* context, const ::management::SetQuotaLimitsRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::management::SetQuotaLimitsResponse>* PrepareAsyncSetQuotaLimitsRaw(::grpc::ClientContext* context, const ::management::SetQuotaLimitsRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientReaderInterface< ::management::GetQuotaLimitsResponse>* GetQuotaLimitsRaw(::grpc::ClientContext* context, const ::management::GetQuotaLimitsRequest& request) = 0; + virtual ::grpc::ClientAsyncReaderInterface< ::management::GetQuotaLimitsResponse>* AsyncGetQuotaLimitsRaw(::grpc::ClientContext* context, const ::management::GetQuotaLimitsRequest& request, ::grpc::CompletionQueue* cq, void* tag) = 0; + virtual ::grpc::ClientAsyncReaderInterface< ::management::GetQuotaLimitsResponse>* PrepareAsyncGetQuotaLimitsRaw(::grpc::ClientContext* context, const ::management::GetQuotaLimitsRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientReaderInterface< ::management::GetQuotaUsageResponse>* GetQuotaUsageRaw(::grpc::ClientContext* context, const ::management::GetQuotaUsageRequest& request) = 0; + virtual ::grpc::ClientAsyncReaderInterface< ::management::GetQuotaUsageResponse>* AsyncGetQuotaUsageRaw(::grpc::ClientContext* context, const ::management::GetQuotaUsageRequest& request, ::grpc::CompletionQueue* cq, void* tag) = 0; + virtual ::grpc::ClientAsyncReaderInterface< ::management::GetQuotaUsageResponse>* PrepareAsyncGetQuotaUsageRaw(::grpc::ClientContext* context, const ::management::GetQuotaUsageRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::management::GetLicenseResponse>* AsyncGetLicenseRaw(::grpc::ClientContext* context, const ::management::GetLicenseRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::management::GetLicenseResponse>* PrepareAsyncGetLicenseRaw(::grpc::ClientContext* context, const ::management::GetLicenseRequest& request, ::grpc::CompletionQueue* cq) = 0; + }; + class Stub final : public StubInterface { + public: + Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options = ::grpc::StubOptions()); + ::grpc::Status SetAlias(::grpc::ClientContext* context, const ::management::SetAliasRequest& request, ::management::SetAliasResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::SetAliasResponse>> AsyncSetAlias(::grpc::ClientContext* context, const ::management::SetAliasRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::SetAliasResponse>>(AsyncSetAliasRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::SetAliasResponse>> PrepareAsyncSetAlias(::grpc::ClientContext* context, const ::management::SetAliasRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::SetAliasResponse>>(PrepareAsyncSetAliasRaw(context, request, cq)); + } + ::grpc::Status GetNodes(::grpc::ClientContext* context, const ::management::GetNodesRequest& request, ::management::GetNodesResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::GetNodesResponse>> AsyncGetNodes(::grpc::ClientContext* context, const ::management::GetNodesRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::GetNodesResponse>>(AsyncGetNodesRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::GetNodesResponse>> PrepareAsyncGetNodes(::grpc::ClientContext* context, const ::management::GetNodesRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::GetNodesResponse>>(PrepareAsyncGetNodesRaw(context, request, cq)); + } + ::grpc::Status DeleteNode(::grpc::ClientContext* context, const ::management::DeleteNodeRequest& request, ::management::DeleteNodeResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::DeleteNodeResponse>> AsyncDeleteNode(::grpc::ClientContext* context, const ::management::DeleteNodeRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::DeleteNodeResponse>>(AsyncDeleteNodeRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::DeleteNodeResponse>> PrepareAsyncDeleteNode(::grpc::ClientContext* context, const ::management::DeleteNodeRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::DeleteNodeResponse>>(PrepareAsyncDeleteNodeRaw(context, request, cq)); + } + ::grpc::Status GetTargets(::grpc::ClientContext* context, const ::management::GetTargetsRequest& request, ::management::GetTargetsResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::GetTargetsResponse>> AsyncGetTargets(::grpc::ClientContext* context, const ::management::GetTargetsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::GetTargetsResponse>>(AsyncGetTargetsRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::GetTargetsResponse>> PrepareAsyncGetTargets(::grpc::ClientContext* context, const ::management::GetTargetsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::GetTargetsResponse>>(PrepareAsyncGetTargetsRaw(context, request, cq)); + } + ::grpc::Status DeleteTarget(::grpc::ClientContext* context, const ::management::DeleteTargetRequest& request, ::management::DeleteTargetResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::DeleteTargetResponse>> AsyncDeleteTarget(::grpc::ClientContext* context, const ::management::DeleteTargetRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::DeleteTargetResponse>>(AsyncDeleteTargetRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::DeleteTargetResponse>> PrepareAsyncDeleteTarget(::grpc::ClientContext* context, const ::management::DeleteTargetRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::DeleteTargetResponse>>(PrepareAsyncDeleteTargetRaw(context, request, cq)); + } + ::grpc::Status SetTargetState(::grpc::ClientContext* context, const ::management::SetTargetStateRequest& request, ::management::SetTargetStateResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::SetTargetStateResponse>> AsyncSetTargetState(::grpc::ClientContext* context, const ::management::SetTargetStateRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::SetTargetStateResponse>>(AsyncSetTargetStateRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::SetTargetStateResponse>> PrepareAsyncSetTargetState(::grpc::ClientContext* context, const ::management::SetTargetStateRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::SetTargetStateResponse>>(PrepareAsyncSetTargetStateRaw(context, request, cq)); + } + ::grpc::Status GetPools(::grpc::ClientContext* context, const ::management::GetPoolsRequest& request, ::management::GetPoolsResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::GetPoolsResponse>> AsyncGetPools(::grpc::ClientContext* context, const ::management::GetPoolsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::GetPoolsResponse>>(AsyncGetPoolsRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::GetPoolsResponse>> PrepareAsyncGetPools(::grpc::ClientContext* context, const ::management::GetPoolsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::GetPoolsResponse>>(PrepareAsyncGetPoolsRaw(context, request, cq)); + } + ::grpc::Status CreatePool(::grpc::ClientContext* context, const ::management::CreatePoolRequest& request, ::management::CreatePoolResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::CreatePoolResponse>> AsyncCreatePool(::grpc::ClientContext* context, const ::management::CreatePoolRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::CreatePoolResponse>>(AsyncCreatePoolRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::CreatePoolResponse>> PrepareAsyncCreatePool(::grpc::ClientContext* context, const ::management::CreatePoolRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::CreatePoolResponse>>(PrepareAsyncCreatePoolRaw(context, request, cq)); + } + ::grpc::Status AssignPool(::grpc::ClientContext* context, const ::management::AssignPoolRequest& request, ::management::AssignPoolResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::AssignPoolResponse>> AsyncAssignPool(::grpc::ClientContext* context, const ::management::AssignPoolRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::AssignPoolResponse>>(AsyncAssignPoolRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::AssignPoolResponse>> PrepareAsyncAssignPool(::grpc::ClientContext* context, const ::management::AssignPoolRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::AssignPoolResponse>>(PrepareAsyncAssignPoolRaw(context, request, cq)); + } + ::grpc::Status DeletePool(::grpc::ClientContext* context, const ::management::DeletePoolRequest& request, ::management::DeletePoolResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::DeletePoolResponse>> AsyncDeletePool(::grpc::ClientContext* context, const ::management::DeletePoolRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::DeletePoolResponse>>(AsyncDeletePoolRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::DeletePoolResponse>> PrepareAsyncDeletePool(::grpc::ClientContext* context, const ::management::DeletePoolRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::DeletePoolResponse>>(PrepareAsyncDeletePoolRaw(context, request, cq)); + } + ::grpc::Status GetBuddyGroups(::grpc::ClientContext* context, const ::management::GetBuddyGroupsRequest& request, ::management::GetBuddyGroupsResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::GetBuddyGroupsResponse>> AsyncGetBuddyGroups(::grpc::ClientContext* context, const ::management::GetBuddyGroupsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::GetBuddyGroupsResponse>>(AsyncGetBuddyGroupsRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::GetBuddyGroupsResponse>> PrepareAsyncGetBuddyGroups(::grpc::ClientContext* context, const ::management::GetBuddyGroupsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::GetBuddyGroupsResponse>>(PrepareAsyncGetBuddyGroupsRaw(context, request, cq)); + } + ::grpc::Status CreateBuddyGroup(::grpc::ClientContext* context, const ::management::CreateBuddyGroupRequest& request, ::management::CreateBuddyGroupResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::CreateBuddyGroupResponse>> AsyncCreateBuddyGroup(::grpc::ClientContext* context, const ::management::CreateBuddyGroupRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::CreateBuddyGroupResponse>>(AsyncCreateBuddyGroupRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::CreateBuddyGroupResponse>> PrepareAsyncCreateBuddyGroup(::grpc::ClientContext* context, const ::management::CreateBuddyGroupRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::CreateBuddyGroupResponse>>(PrepareAsyncCreateBuddyGroupRaw(context, request, cq)); + } + ::grpc::Status DeleteBuddyGroup(::grpc::ClientContext* context, const ::management::DeleteBuddyGroupRequest& request, ::management::DeleteBuddyGroupResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::DeleteBuddyGroupResponse>> AsyncDeleteBuddyGroup(::grpc::ClientContext* context, const ::management::DeleteBuddyGroupRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::DeleteBuddyGroupResponse>>(AsyncDeleteBuddyGroupRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::DeleteBuddyGroupResponse>> PrepareAsyncDeleteBuddyGroup(::grpc::ClientContext* context, const ::management::DeleteBuddyGroupRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::DeleteBuddyGroupResponse>>(PrepareAsyncDeleteBuddyGroupRaw(context, request, cq)); + } + ::grpc::Status MirrorRootInode(::grpc::ClientContext* context, const ::management::MirrorRootInodeRequest& request, ::management::MirrorRootInodeResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::MirrorRootInodeResponse>> AsyncMirrorRootInode(::grpc::ClientContext* context, const ::management::MirrorRootInodeRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::MirrorRootInodeResponse>>(AsyncMirrorRootInodeRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::MirrorRootInodeResponse>> PrepareAsyncMirrorRootInode(::grpc::ClientContext* context, const ::management::MirrorRootInodeRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::MirrorRootInodeResponse>>(PrepareAsyncMirrorRootInodeRaw(context, request, cq)); + } + ::grpc::Status StartResync(::grpc::ClientContext* context, const ::management::StartResyncRequest& request, ::management::StartResyncResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::StartResyncResponse>> AsyncStartResync(::grpc::ClientContext* context, const ::management::StartResyncRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::StartResyncResponse>>(AsyncStartResyncRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::StartResyncResponse>> PrepareAsyncStartResync(::grpc::ClientContext* context, const ::management::StartResyncRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::StartResyncResponse>>(PrepareAsyncStartResyncRaw(context, request, cq)); + } + ::grpc::Status SetDefaultQuotaLimits(::grpc::ClientContext* context, const ::management::SetDefaultQuotaLimitsRequest& request, ::management::SetDefaultQuotaLimitsResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::SetDefaultQuotaLimitsResponse>> AsyncSetDefaultQuotaLimits(::grpc::ClientContext* context, const ::management::SetDefaultQuotaLimitsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::SetDefaultQuotaLimitsResponse>>(AsyncSetDefaultQuotaLimitsRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::SetDefaultQuotaLimitsResponse>> PrepareAsyncSetDefaultQuotaLimits(::grpc::ClientContext* context, const ::management::SetDefaultQuotaLimitsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::SetDefaultQuotaLimitsResponse>>(PrepareAsyncSetDefaultQuotaLimitsRaw(context, request, cq)); + } + ::grpc::Status SetQuotaLimits(::grpc::ClientContext* context, const ::management::SetQuotaLimitsRequest& request, ::management::SetQuotaLimitsResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::SetQuotaLimitsResponse>> AsyncSetQuotaLimits(::grpc::ClientContext* context, const ::management::SetQuotaLimitsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::SetQuotaLimitsResponse>>(AsyncSetQuotaLimitsRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::SetQuotaLimitsResponse>> PrepareAsyncSetQuotaLimits(::grpc::ClientContext* context, const ::management::SetQuotaLimitsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::SetQuotaLimitsResponse>>(PrepareAsyncSetQuotaLimitsRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientReader< ::management::GetQuotaLimitsResponse>> GetQuotaLimits(::grpc::ClientContext* context, const ::management::GetQuotaLimitsRequest& request) { + return std::unique_ptr< ::grpc::ClientReader< ::management::GetQuotaLimitsResponse>>(GetQuotaLimitsRaw(context, request)); + } + std::unique_ptr< ::grpc::ClientAsyncReader< ::management::GetQuotaLimitsResponse>> AsyncGetQuotaLimits(::grpc::ClientContext* context, const ::management::GetQuotaLimitsRequest& request, ::grpc::CompletionQueue* cq, void* tag) { + return std::unique_ptr< ::grpc::ClientAsyncReader< ::management::GetQuotaLimitsResponse>>(AsyncGetQuotaLimitsRaw(context, request, cq, tag)); + } + std::unique_ptr< ::grpc::ClientAsyncReader< ::management::GetQuotaLimitsResponse>> PrepareAsyncGetQuotaLimits(::grpc::ClientContext* context, const ::management::GetQuotaLimitsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncReader< ::management::GetQuotaLimitsResponse>>(PrepareAsyncGetQuotaLimitsRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientReader< ::management::GetQuotaUsageResponse>> GetQuotaUsage(::grpc::ClientContext* context, const ::management::GetQuotaUsageRequest& request) { + return std::unique_ptr< ::grpc::ClientReader< ::management::GetQuotaUsageResponse>>(GetQuotaUsageRaw(context, request)); + } + std::unique_ptr< ::grpc::ClientAsyncReader< ::management::GetQuotaUsageResponse>> AsyncGetQuotaUsage(::grpc::ClientContext* context, const ::management::GetQuotaUsageRequest& request, ::grpc::CompletionQueue* cq, void* tag) { + return std::unique_ptr< ::grpc::ClientAsyncReader< ::management::GetQuotaUsageResponse>>(AsyncGetQuotaUsageRaw(context, request, cq, tag)); + } + std::unique_ptr< ::grpc::ClientAsyncReader< ::management::GetQuotaUsageResponse>> PrepareAsyncGetQuotaUsage(::grpc::ClientContext* context, const ::management::GetQuotaUsageRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncReader< ::management::GetQuotaUsageResponse>>(PrepareAsyncGetQuotaUsageRaw(context, request, cq)); + } + ::grpc::Status GetLicense(::grpc::ClientContext* context, const ::management::GetLicenseRequest& request, ::management::GetLicenseResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::GetLicenseResponse>> AsyncGetLicense(::grpc::ClientContext* context, const ::management::GetLicenseRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::GetLicenseResponse>>(AsyncGetLicenseRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::GetLicenseResponse>> PrepareAsyncGetLicense(::grpc::ClientContext* context, const ::management::GetLicenseRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::management::GetLicenseResponse>>(PrepareAsyncGetLicenseRaw(context, request, cq)); + } + class async final : + public StubInterface::async_interface { + public: + void SetAlias(::grpc::ClientContext* context, const ::management::SetAliasRequest* request, ::management::SetAliasResponse* response, std::function) override; + void SetAlias(::grpc::ClientContext* context, const ::management::SetAliasRequest* request, ::management::SetAliasResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + void GetNodes(::grpc::ClientContext* context, const ::management::GetNodesRequest* request, ::management::GetNodesResponse* response, std::function) override; + void GetNodes(::grpc::ClientContext* context, const ::management::GetNodesRequest* request, ::management::GetNodesResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + void DeleteNode(::grpc::ClientContext* context, const ::management::DeleteNodeRequest* request, ::management::DeleteNodeResponse* response, std::function) override; + void DeleteNode(::grpc::ClientContext* context, const ::management::DeleteNodeRequest* request, ::management::DeleteNodeResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + void GetTargets(::grpc::ClientContext* context, const ::management::GetTargetsRequest* request, ::management::GetTargetsResponse* response, std::function) override; + void GetTargets(::grpc::ClientContext* context, const ::management::GetTargetsRequest* request, ::management::GetTargetsResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + void DeleteTarget(::grpc::ClientContext* context, const ::management::DeleteTargetRequest* request, ::management::DeleteTargetResponse* response, std::function) override; + void DeleteTarget(::grpc::ClientContext* context, const ::management::DeleteTargetRequest* request, ::management::DeleteTargetResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + void SetTargetState(::grpc::ClientContext* context, const ::management::SetTargetStateRequest* request, ::management::SetTargetStateResponse* response, std::function) override; + void SetTargetState(::grpc::ClientContext* context, const ::management::SetTargetStateRequest* request, ::management::SetTargetStateResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + void GetPools(::grpc::ClientContext* context, const ::management::GetPoolsRequest* request, ::management::GetPoolsResponse* response, std::function) override; + void GetPools(::grpc::ClientContext* context, const ::management::GetPoolsRequest* request, ::management::GetPoolsResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + void CreatePool(::grpc::ClientContext* context, const ::management::CreatePoolRequest* request, ::management::CreatePoolResponse* response, std::function) override; + void CreatePool(::grpc::ClientContext* context, const ::management::CreatePoolRequest* request, ::management::CreatePoolResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + void AssignPool(::grpc::ClientContext* context, const ::management::AssignPoolRequest* request, ::management::AssignPoolResponse* response, std::function) override; + void AssignPool(::grpc::ClientContext* context, const ::management::AssignPoolRequest* request, ::management::AssignPoolResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + void DeletePool(::grpc::ClientContext* context, const ::management::DeletePoolRequest* request, ::management::DeletePoolResponse* response, std::function) override; + void DeletePool(::grpc::ClientContext* context, const ::management::DeletePoolRequest* request, ::management::DeletePoolResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + void GetBuddyGroups(::grpc::ClientContext* context, const ::management::GetBuddyGroupsRequest* request, ::management::GetBuddyGroupsResponse* response, std::function) override; + void GetBuddyGroups(::grpc::ClientContext* context, const ::management::GetBuddyGroupsRequest* request, ::management::GetBuddyGroupsResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + void CreateBuddyGroup(::grpc::ClientContext* context, const ::management::CreateBuddyGroupRequest* request, ::management::CreateBuddyGroupResponse* response, std::function) override; + void CreateBuddyGroup(::grpc::ClientContext* context, const ::management::CreateBuddyGroupRequest* request, ::management::CreateBuddyGroupResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + void DeleteBuddyGroup(::grpc::ClientContext* context, const ::management::DeleteBuddyGroupRequest* request, ::management::DeleteBuddyGroupResponse* response, std::function) override; + void DeleteBuddyGroup(::grpc::ClientContext* context, const ::management::DeleteBuddyGroupRequest* request, ::management::DeleteBuddyGroupResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + void MirrorRootInode(::grpc::ClientContext* context, const ::management::MirrorRootInodeRequest* request, ::management::MirrorRootInodeResponse* response, std::function) override; + void MirrorRootInode(::grpc::ClientContext* context, const ::management::MirrorRootInodeRequest* request, ::management::MirrorRootInodeResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + void StartResync(::grpc::ClientContext* context, const ::management::StartResyncRequest* request, ::management::StartResyncResponse* response, std::function) override; + void StartResync(::grpc::ClientContext* context, const ::management::StartResyncRequest* request, ::management::StartResyncResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + void SetDefaultQuotaLimits(::grpc::ClientContext* context, const ::management::SetDefaultQuotaLimitsRequest* request, ::management::SetDefaultQuotaLimitsResponse* response, std::function) override; + void SetDefaultQuotaLimits(::grpc::ClientContext* context, const ::management::SetDefaultQuotaLimitsRequest* request, ::management::SetDefaultQuotaLimitsResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + void SetQuotaLimits(::grpc::ClientContext* context, const ::management::SetQuotaLimitsRequest* request, ::management::SetQuotaLimitsResponse* response, std::function) override; + void SetQuotaLimits(::grpc::ClientContext* context, const ::management::SetQuotaLimitsRequest* request, ::management::SetQuotaLimitsResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + void GetQuotaLimits(::grpc::ClientContext* context, const ::management::GetQuotaLimitsRequest* request, ::grpc::ClientReadReactor< ::management::GetQuotaLimitsResponse>* reactor) override; + void GetQuotaUsage(::grpc::ClientContext* context, const ::management::GetQuotaUsageRequest* request, ::grpc::ClientReadReactor< ::management::GetQuotaUsageResponse>* reactor) override; + void GetLicense(::grpc::ClientContext* context, const ::management::GetLicenseRequest* request, ::management::GetLicenseResponse* response, std::function) override; + void GetLicense(::grpc::ClientContext* context, const ::management::GetLicenseRequest* request, ::management::GetLicenseResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + private: + friend class Stub; + explicit async(Stub* stub): stub_(stub) { } + Stub* stub() { return stub_; } + Stub* stub_; + }; + class async* async() override { return &async_stub_; } + + private: + std::shared_ptr< ::grpc::ChannelInterface> channel_; + class async async_stub_{this}; + ::grpc::ClientAsyncResponseReader< ::management::SetAliasResponse>* AsyncSetAliasRaw(::grpc::ClientContext* context, const ::management::SetAliasRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::management::SetAliasResponse>* PrepareAsyncSetAliasRaw(::grpc::ClientContext* context, const ::management::SetAliasRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::management::GetNodesResponse>* AsyncGetNodesRaw(::grpc::ClientContext* context, const ::management::GetNodesRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::management::GetNodesResponse>* PrepareAsyncGetNodesRaw(::grpc::ClientContext* context, const ::management::GetNodesRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::management::DeleteNodeResponse>* AsyncDeleteNodeRaw(::grpc::ClientContext* context, const ::management::DeleteNodeRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::management::DeleteNodeResponse>* PrepareAsyncDeleteNodeRaw(::grpc::ClientContext* context, const ::management::DeleteNodeRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::management::GetTargetsResponse>* AsyncGetTargetsRaw(::grpc::ClientContext* context, const ::management::GetTargetsRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::management::GetTargetsResponse>* PrepareAsyncGetTargetsRaw(::grpc::ClientContext* context, const ::management::GetTargetsRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::management::DeleteTargetResponse>* AsyncDeleteTargetRaw(::grpc::ClientContext* context, const ::management::DeleteTargetRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::management::DeleteTargetResponse>* PrepareAsyncDeleteTargetRaw(::grpc::ClientContext* context, const ::management::DeleteTargetRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::management::SetTargetStateResponse>* AsyncSetTargetStateRaw(::grpc::ClientContext* context, const ::management::SetTargetStateRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::management::SetTargetStateResponse>* PrepareAsyncSetTargetStateRaw(::grpc::ClientContext* context, const ::management::SetTargetStateRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::management::GetPoolsResponse>* AsyncGetPoolsRaw(::grpc::ClientContext* context, const ::management::GetPoolsRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::management::GetPoolsResponse>* PrepareAsyncGetPoolsRaw(::grpc::ClientContext* context, const ::management::GetPoolsRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::management::CreatePoolResponse>* AsyncCreatePoolRaw(::grpc::ClientContext* context, const ::management::CreatePoolRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::management::CreatePoolResponse>* PrepareAsyncCreatePoolRaw(::grpc::ClientContext* context, const ::management::CreatePoolRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::management::AssignPoolResponse>* AsyncAssignPoolRaw(::grpc::ClientContext* context, const ::management::AssignPoolRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::management::AssignPoolResponse>* PrepareAsyncAssignPoolRaw(::grpc::ClientContext* context, const ::management::AssignPoolRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::management::DeletePoolResponse>* AsyncDeletePoolRaw(::grpc::ClientContext* context, const ::management::DeletePoolRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::management::DeletePoolResponse>* PrepareAsyncDeletePoolRaw(::grpc::ClientContext* context, const ::management::DeletePoolRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::management::GetBuddyGroupsResponse>* AsyncGetBuddyGroupsRaw(::grpc::ClientContext* context, const ::management::GetBuddyGroupsRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::management::GetBuddyGroupsResponse>* PrepareAsyncGetBuddyGroupsRaw(::grpc::ClientContext* context, const ::management::GetBuddyGroupsRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::management::CreateBuddyGroupResponse>* AsyncCreateBuddyGroupRaw(::grpc::ClientContext* context, const ::management::CreateBuddyGroupRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::management::CreateBuddyGroupResponse>* PrepareAsyncCreateBuddyGroupRaw(::grpc::ClientContext* context, const ::management::CreateBuddyGroupRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::management::DeleteBuddyGroupResponse>* AsyncDeleteBuddyGroupRaw(::grpc::ClientContext* context, const ::management::DeleteBuddyGroupRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::management::DeleteBuddyGroupResponse>* PrepareAsyncDeleteBuddyGroupRaw(::grpc::ClientContext* context, const ::management::DeleteBuddyGroupRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::management::MirrorRootInodeResponse>* AsyncMirrorRootInodeRaw(::grpc::ClientContext* context, const ::management::MirrorRootInodeRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::management::MirrorRootInodeResponse>* PrepareAsyncMirrorRootInodeRaw(::grpc::ClientContext* context, const ::management::MirrorRootInodeRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::management::StartResyncResponse>* AsyncStartResyncRaw(::grpc::ClientContext* context, const ::management::StartResyncRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::management::StartResyncResponse>* PrepareAsyncStartResyncRaw(::grpc::ClientContext* context, const ::management::StartResyncRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::management::SetDefaultQuotaLimitsResponse>* AsyncSetDefaultQuotaLimitsRaw(::grpc::ClientContext* context, const ::management::SetDefaultQuotaLimitsRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::management::SetDefaultQuotaLimitsResponse>* PrepareAsyncSetDefaultQuotaLimitsRaw(::grpc::ClientContext* context, const ::management::SetDefaultQuotaLimitsRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::management::SetQuotaLimitsResponse>* AsyncSetQuotaLimitsRaw(::grpc::ClientContext* context, const ::management::SetQuotaLimitsRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::management::SetQuotaLimitsResponse>* PrepareAsyncSetQuotaLimitsRaw(::grpc::ClientContext* context, const ::management::SetQuotaLimitsRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientReader< ::management::GetQuotaLimitsResponse>* GetQuotaLimitsRaw(::grpc::ClientContext* context, const ::management::GetQuotaLimitsRequest& request) override; + ::grpc::ClientAsyncReader< ::management::GetQuotaLimitsResponse>* AsyncGetQuotaLimitsRaw(::grpc::ClientContext* context, const ::management::GetQuotaLimitsRequest& request, ::grpc::CompletionQueue* cq, void* tag) override; + ::grpc::ClientAsyncReader< ::management::GetQuotaLimitsResponse>* PrepareAsyncGetQuotaLimitsRaw(::grpc::ClientContext* context, const ::management::GetQuotaLimitsRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientReader< ::management::GetQuotaUsageResponse>* GetQuotaUsageRaw(::grpc::ClientContext* context, const ::management::GetQuotaUsageRequest& request) override; + ::grpc::ClientAsyncReader< ::management::GetQuotaUsageResponse>* AsyncGetQuotaUsageRaw(::grpc::ClientContext* context, const ::management::GetQuotaUsageRequest& request, ::grpc::CompletionQueue* cq, void* tag) override; + ::grpc::ClientAsyncReader< ::management::GetQuotaUsageResponse>* PrepareAsyncGetQuotaUsageRaw(::grpc::ClientContext* context, const ::management::GetQuotaUsageRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::management::GetLicenseResponse>* AsyncGetLicenseRaw(::grpc::ClientContext* context, const ::management::GetLicenseRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::management::GetLicenseResponse>* PrepareAsyncGetLicenseRaw(::grpc::ClientContext* context, const ::management::GetLicenseRequest& request, ::grpc::CompletionQueue* cq) override; + const ::grpc::internal::RpcMethod rpcmethod_SetAlias_; + const ::grpc::internal::RpcMethod rpcmethod_GetNodes_; + const ::grpc::internal::RpcMethod rpcmethod_DeleteNode_; + const ::grpc::internal::RpcMethod rpcmethod_GetTargets_; + const ::grpc::internal::RpcMethod rpcmethod_DeleteTarget_; + const ::grpc::internal::RpcMethod rpcmethod_SetTargetState_; + const ::grpc::internal::RpcMethod rpcmethod_GetPools_; + const ::grpc::internal::RpcMethod rpcmethod_CreatePool_; + const ::grpc::internal::RpcMethod rpcmethod_AssignPool_; + const ::grpc::internal::RpcMethod rpcmethod_DeletePool_; + const ::grpc::internal::RpcMethod rpcmethod_GetBuddyGroups_; + const ::grpc::internal::RpcMethod rpcmethod_CreateBuddyGroup_; + const ::grpc::internal::RpcMethod rpcmethod_DeleteBuddyGroup_; + const ::grpc::internal::RpcMethod rpcmethod_MirrorRootInode_; + const ::grpc::internal::RpcMethod rpcmethod_StartResync_; + const ::grpc::internal::RpcMethod rpcmethod_SetDefaultQuotaLimits_; + const ::grpc::internal::RpcMethod rpcmethod_SetQuotaLimits_; + const ::grpc::internal::RpcMethod rpcmethod_GetQuotaLimits_; + const ::grpc::internal::RpcMethod rpcmethod_GetQuotaUsage_; + const ::grpc::internal::RpcMethod rpcmethod_GetLicense_; + }; + static std::unique_ptr NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options = ::grpc::StubOptions()); + + class Service : public ::grpc::Service { + public: + Service(); + virtual ~Service(); + virtual ::grpc::Status SetAlias(::grpc::ServerContext* context, const ::management::SetAliasRequest* request, ::management::SetAliasResponse* response); + // Nodes + virtual ::grpc::Status GetNodes(::grpc::ServerContext* context, const ::management::GetNodesRequest* request, ::management::GetNodesResponse* response); + virtual ::grpc::Status DeleteNode(::grpc::ServerContext* context, const ::management::DeleteNodeRequest* request, ::management::DeleteNodeResponse* response); + // Targets + virtual ::grpc::Status GetTargets(::grpc::ServerContext* context, const ::management::GetTargetsRequest* request, ::management::GetTargetsResponse* response); + virtual ::grpc::Status DeleteTarget(::grpc::ServerContext* context, const ::management::DeleteTargetRequest* request, ::management::DeleteTargetResponse* response); + // Manually set a target consistency state + virtual ::grpc::Status SetTargetState(::grpc::ServerContext* context, const ::management::SetTargetStateRequest* request, ::management::SetTargetStateResponse* response); + // (Storage) pools + virtual ::grpc::Status GetPools(::grpc::ServerContext* context, const ::management::GetPoolsRequest* request, ::management::GetPoolsResponse* response); + virtual ::grpc::Status CreatePool(::grpc::ServerContext* context, const ::management::CreatePoolRequest* request, ::management::CreatePoolResponse* response); + virtual ::grpc::Status AssignPool(::grpc::ServerContext* context, const ::management::AssignPoolRequest* request, ::management::AssignPoolResponse* response); + virtual ::grpc::Status DeletePool(::grpc::ServerContext* context, const ::management::DeletePoolRequest* request, ::management::DeletePoolResponse* response); + // Buddy groups + virtual ::grpc::Status GetBuddyGroups(::grpc::ServerContext* context, const ::management::GetBuddyGroupsRequest* request, ::management::GetBuddyGroupsResponse* response); + virtual ::grpc::Status CreateBuddyGroup(::grpc::ServerContext* context, const ::management::CreateBuddyGroupRequest* request, ::management::CreateBuddyGroupResponse* response); + virtual ::grpc::Status DeleteBuddyGroup(::grpc::ServerContext* context, const ::management::DeleteBuddyGroupRequest* request, ::management::DeleteBuddyGroupResponse* response); + virtual ::grpc::Status MirrorRootInode(::grpc::ServerContext* context, const ::management::MirrorRootInodeRequest* request, ::management::MirrorRootInodeResponse* response); + virtual ::grpc::Status StartResync(::grpc::ServerContext* context, const ::management::StartResyncRequest* request, ::management::StartResyncResponse* response); + // Quota + virtual ::grpc::Status SetDefaultQuotaLimits(::grpc::ServerContext* context, const ::management::SetDefaultQuotaLimitsRequest* request, ::management::SetDefaultQuotaLimitsResponse* response); + virtual ::grpc::Status SetQuotaLimits(::grpc::ServerContext* context, const ::management::SetQuotaLimitsRequest* request, ::management::SetQuotaLimitsResponse* response); + virtual ::grpc::Status GetQuotaLimits(::grpc::ServerContext* context, const ::management::GetQuotaLimitsRequest* request, ::grpc::ServerWriter< ::management::GetQuotaLimitsResponse>* writer); + virtual ::grpc::Status GetQuotaUsage(::grpc::ServerContext* context, const ::management::GetQuotaUsageRequest* request, ::grpc::ServerWriter< ::management::GetQuotaUsageResponse>* writer); + // Licensing + virtual ::grpc::Status GetLicense(::grpc::ServerContext* context, const ::management::GetLicenseRequest* request, ::management::GetLicenseResponse* response); + }; + template + class WithAsyncMethod_SetAlias : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_SetAlias() { + ::grpc::Service::MarkMethodAsync(0); + } + ~WithAsyncMethod_SetAlias() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status SetAlias(::grpc::ServerContext* /*context*/, const ::management::SetAliasRequest* /*request*/, ::management::SetAliasResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestSetAlias(::grpc::ServerContext* context, ::management::SetAliasRequest* request, ::grpc::ServerAsyncResponseWriter< ::management::SetAliasResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(0, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_GetNodes : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_GetNodes() { + ::grpc::Service::MarkMethodAsync(1); + } + ~WithAsyncMethod_GetNodes() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetNodes(::grpc::ServerContext* /*context*/, const ::management::GetNodesRequest* /*request*/, ::management::GetNodesResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGetNodes(::grpc::ServerContext* context, ::management::GetNodesRequest* request, ::grpc::ServerAsyncResponseWriter< ::management::GetNodesResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(1, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_DeleteNode : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_DeleteNode() { + ::grpc::Service::MarkMethodAsync(2); + } + ~WithAsyncMethod_DeleteNode() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DeleteNode(::grpc::ServerContext* /*context*/, const ::management::DeleteNodeRequest* /*request*/, ::management::DeleteNodeResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestDeleteNode(::grpc::ServerContext* context, ::management::DeleteNodeRequest* request, ::grpc::ServerAsyncResponseWriter< ::management::DeleteNodeResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(2, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_GetTargets : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_GetTargets() { + ::grpc::Service::MarkMethodAsync(3); + } + ~WithAsyncMethod_GetTargets() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetTargets(::grpc::ServerContext* /*context*/, const ::management::GetTargetsRequest* /*request*/, ::management::GetTargetsResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGetTargets(::grpc::ServerContext* context, ::management::GetTargetsRequest* request, ::grpc::ServerAsyncResponseWriter< ::management::GetTargetsResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(3, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_DeleteTarget : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_DeleteTarget() { + ::grpc::Service::MarkMethodAsync(4); + } + ~WithAsyncMethod_DeleteTarget() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DeleteTarget(::grpc::ServerContext* /*context*/, const ::management::DeleteTargetRequest* /*request*/, ::management::DeleteTargetResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestDeleteTarget(::grpc::ServerContext* context, ::management::DeleteTargetRequest* request, ::grpc::ServerAsyncResponseWriter< ::management::DeleteTargetResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(4, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_SetTargetState : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_SetTargetState() { + ::grpc::Service::MarkMethodAsync(5); + } + ~WithAsyncMethod_SetTargetState() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status SetTargetState(::grpc::ServerContext* /*context*/, const ::management::SetTargetStateRequest* /*request*/, ::management::SetTargetStateResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestSetTargetState(::grpc::ServerContext* context, ::management::SetTargetStateRequest* request, ::grpc::ServerAsyncResponseWriter< ::management::SetTargetStateResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(5, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_GetPools : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_GetPools() { + ::grpc::Service::MarkMethodAsync(6); + } + ~WithAsyncMethod_GetPools() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetPools(::grpc::ServerContext* /*context*/, const ::management::GetPoolsRequest* /*request*/, ::management::GetPoolsResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGetPools(::grpc::ServerContext* context, ::management::GetPoolsRequest* request, ::grpc::ServerAsyncResponseWriter< ::management::GetPoolsResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(6, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_CreatePool : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_CreatePool() { + ::grpc::Service::MarkMethodAsync(7); + } + ~WithAsyncMethod_CreatePool() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status CreatePool(::grpc::ServerContext* /*context*/, const ::management::CreatePoolRequest* /*request*/, ::management::CreatePoolResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestCreatePool(::grpc::ServerContext* context, ::management::CreatePoolRequest* request, ::grpc::ServerAsyncResponseWriter< ::management::CreatePoolResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(7, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_AssignPool : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_AssignPool() { + ::grpc::Service::MarkMethodAsync(8); + } + ~WithAsyncMethod_AssignPool() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status AssignPool(::grpc::ServerContext* /*context*/, const ::management::AssignPoolRequest* /*request*/, ::management::AssignPoolResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestAssignPool(::grpc::ServerContext* context, ::management::AssignPoolRequest* request, ::grpc::ServerAsyncResponseWriter< ::management::AssignPoolResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(8, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_DeletePool : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_DeletePool() { + ::grpc::Service::MarkMethodAsync(9); + } + ~WithAsyncMethod_DeletePool() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DeletePool(::grpc::ServerContext* /*context*/, const ::management::DeletePoolRequest* /*request*/, ::management::DeletePoolResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestDeletePool(::grpc::ServerContext* context, ::management::DeletePoolRequest* request, ::grpc::ServerAsyncResponseWriter< ::management::DeletePoolResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(9, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_GetBuddyGroups : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_GetBuddyGroups() { + ::grpc::Service::MarkMethodAsync(10); + } + ~WithAsyncMethod_GetBuddyGroups() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetBuddyGroups(::grpc::ServerContext* /*context*/, const ::management::GetBuddyGroupsRequest* /*request*/, ::management::GetBuddyGroupsResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGetBuddyGroups(::grpc::ServerContext* context, ::management::GetBuddyGroupsRequest* request, ::grpc::ServerAsyncResponseWriter< ::management::GetBuddyGroupsResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(10, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_CreateBuddyGroup : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_CreateBuddyGroup() { + ::grpc::Service::MarkMethodAsync(11); + } + ~WithAsyncMethod_CreateBuddyGroup() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status CreateBuddyGroup(::grpc::ServerContext* /*context*/, const ::management::CreateBuddyGroupRequest* /*request*/, ::management::CreateBuddyGroupResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestCreateBuddyGroup(::grpc::ServerContext* context, ::management::CreateBuddyGroupRequest* request, ::grpc::ServerAsyncResponseWriter< ::management::CreateBuddyGroupResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(11, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_DeleteBuddyGroup : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_DeleteBuddyGroup() { + ::grpc::Service::MarkMethodAsync(12); + } + ~WithAsyncMethod_DeleteBuddyGroup() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DeleteBuddyGroup(::grpc::ServerContext* /*context*/, const ::management::DeleteBuddyGroupRequest* /*request*/, ::management::DeleteBuddyGroupResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestDeleteBuddyGroup(::grpc::ServerContext* context, ::management::DeleteBuddyGroupRequest* request, ::grpc::ServerAsyncResponseWriter< ::management::DeleteBuddyGroupResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(12, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_MirrorRootInode : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_MirrorRootInode() { + ::grpc::Service::MarkMethodAsync(13); + } + ~WithAsyncMethod_MirrorRootInode() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status MirrorRootInode(::grpc::ServerContext* /*context*/, const ::management::MirrorRootInodeRequest* /*request*/, ::management::MirrorRootInodeResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestMirrorRootInode(::grpc::ServerContext* context, ::management::MirrorRootInodeRequest* request, ::grpc::ServerAsyncResponseWriter< ::management::MirrorRootInodeResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(13, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_StartResync : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_StartResync() { + ::grpc::Service::MarkMethodAsync(14); + } + ~WithAsyncMethod_StartResync() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status StartResync(::grpc::ServerContext* /*context*/, const ::management::StartResyncRequest* /*request*/, ::management::StartResyncResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestStartResync(::grpc::ServerContext* context, ::management::StartResyncRequest* request, ::grpc::ServerAsyncResponseWriter< ::management::StartResyncResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(14, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_SetDefaultQuotaLimits : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_SetDefaultQuotaLimits() { + ::grpc::Service::MarkMethodAsync(15); + } + ~WithAsyncMethod_SetDefaultQuotaLimits() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status SetDefaultQuotaLimits(::grpc::ServerContext* /*context*/, const ::management::SetDefaultQuotaLimitsRequest* /*request*/, ::management::SetDefaultQuotaLimitsResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestSetDefaultQuotaLimits(::grpc::ServerContext* context, ::management::SetDefaultQuotaLimitsRequest* request, ::grpc::ServerAsyncResponseWriter< ::management::SetDefaultQuotaLimitsResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(15, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_SetQuotaLimits : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_SetQuotaLimits() { + ::grpc::Service::MarkMethodAsync(16); + } + ~WithAsyncMethod_SetQuotaLimits() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status SetQuotaLimits(::grpc::ServerContext* /*context*/, const ::management::SetQuotaLimitsRequest* /*request*/, ::management::SetQuotaLimitsResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestSetQuotaLimits(::grpc::ServerContext* context, ::management::SetQuotaLimitsRequest* request, ::grpc::ServerAsyncResponseWriter< ::management::SetQuotaLimitsResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(16, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_GetQuotaLimits : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_GetQuotaLimits() { + ::grpc::Service::MarkMethodAsync(17); + } + ~WithAsyncMethod_GetQuotaLimits() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetQuotaLimits(::grpc::ServerContext* /*context*/, const ::management::GetQuotaLimitsRequest* /*request*/, ::grpc::ServerWriter< ::management::GetQuotaLimitsResponse>* /*writer*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGetQuotaLimits(::grpc::ServerContext* context, ::management::GetQuotaLimitsRequest* request, ::grpc::ServerAsyncWriter< ::management::GetQuotaLimitsResponse>* writer, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncServerStreaming(17, context, request, writer, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_GetQuotaUsage : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_GetQuotaUsage() { + ::grpc::Service::MarkMethodAsync(18); + } + ~WithAsyncMethod_GetQuotaUsage() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetQuotaUsage(::grpc::ServerContext* /*context*/, const ::management::GetQuotaUsageRequest* /*request*/, ::grpc::ServerWriter< ::management::GetQuotaUsageResponse>* /*writer*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGetQuotaUsage(::grpc::ServerContext* context, ::management::GetQuotaUsageRequest* request, ::grpc::ServerAsyncWriter< ::management::GetQuotaUsageResponse>* writer, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncServerStreaming(18, context, request, writer, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_GetLicense : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_GetLicense() { + ::grpc::Service::MarkMethodAsync(19); + } + ~WithAsyncMethod_GetLicense() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetLicense(::grpc::ServerContext* /*context*/, const ::management::GetLicenseRequest* /*request*/, ::management::GetLicenseResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGetLicense(::grpc::ServerContext* context, ::management::GetLicenseRequest* request, ::grpc::ServerAsyncResponseWriter< ::management::GetLicenseResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(19, context, request, response, new_call_cq, notification_cq, tag); + } + }; + typedef WithAsyncMethod_SetAlias > > > > > > > > > > > > > > > > > > > AsyncService; + template + class WithCallbackMethod_SetAlias : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithCallbackMethod_SetAlias() { + ::grpc::Service::MarkMethodCallback(0, + new ::grpc::internal::CallbackUnaryHandler< ::management::SetAliasRequest, ::management::SetAliasResponse>( + [this]( + ::grpc::CallbackServerContext* context, const ::management::SetAliasRequest* request, ::management::SetAliasResponse* response) { return this->SetAlias(context, request, response); }));} + void SetMessageAllocatorFor_SetAlias( + ::grpc::MessageAllocator< ::management::SetAliasRequest, ::management::SetAliasResponse>* allocator) { + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(0); + static_cast<::grpc::internal::CallbackUnaryHandler< ::management::SetAliasRequest, ::management::SetAliasResponse>*>(handler) + ->SetMessageAllocator(allocator); + } + ~WithCallbackMethod_SetAlias() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status SetAlias(::grpc::ServerContext* /*context*/, const ::management::SetAliasRequest* /*request*/, ::management::SetAliasResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* SetAlias( + ::grpc::CallbackServerContext* /*context*/, const ::management::SetAliasRequest* /*request*/, ::management::SetAliasResponse* /*response*/) { return nullptr; } + }; + template + class WithCallbackMethod_GetNodes : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithCallbackMethod_GetNodes() { + ::grpc::Service::MarkMethodCallback(1, + new ::grpc::internal::CallbackUnaryHandler< ::management::GetNodesRequest, ::management::GetNodesResponse>( + [this]( + ::grpc::CallbackServerContext* context, const ::management::GetNodesRequest* request, ::management::GetNodesResponse* response) { return this->GetNodes(context, request, response); }));} + void SetMessageAllocatorFor_GetNodes( + ::grpc::MessageAllocator< ::management::GetNodesRequest, ::management::GetNodesResponse>* allocator) { + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(1); + static_cast<::grpc::internal::CallbackUnaryHandler< ::management::GetNodesRequest, ::management::GetNodesResponse>*>(handler) + ->SetMessageAllocator(allocator); + } + ~WithCallbackMethod_GetNodes() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetNodes(::grpc::ServerContext* /*context*/, const ::management::GetNodesRequest* /*request*/, ::management::GetNodesResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* GetNodes( + ::grpc::CallbackServerContext* /*context*/, const ::management::GetNodesRequest* /*request*/, ::management::GetNodesResponse* /*response*/) { return nullptr; } + }; + template + class WithCallbackMethod_DeleteNode : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithCallbackMethod_DeleteNode() { + ::grpc::Service::MarkMethodCallback(2, + new ::grpc::internal::CallbackUnaryHandler< ::management::DeleteNodeRequest, ::management::DeleteNodeResponse>( + [this]( + ::grpc::CallbackServerContext* context, const ::management::DeleteNodeRequest* request, ::management::DeleteNodeResponse* response) { return this->DeleteNode(context, request, response); }));} + void SetMessageAllocatorFor_DeleteNode( + ::grpc::MessageAllocator< ::management::DeleteNodeRequest, ::management::DeleteNodeResponse>* allocator) { + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(2); + static_cast<::grpc::internal::CallbackUnaryHandler< ::management::DeleteNodeRequest, ::management::DeleteNodeResponse>*>(handler) + ->SetMessageAllocator(allocator); + } + ~WithCallbackMethod_DeleteNode() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DeleteNode(::grpc::ServerContext* /*context*/, const ::management::DeleteNodeRequest* /*request*/, ::management::DeleteNodeResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* DeleteNode( + ::grpc::CallbackServerContext* /*context*/, const ::management::DeleteNodeRequest* /*request*/, ::management::DeleteNodeResponse* /*response*/) { return nullptr; } + }; + template + class WithCallbackMethod_GetTargets : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithCallbackMethod_GetTargets() { + ::grpc::Service::MarkMethodCallback(3, + new ::grpc::internal::CallbackUnaryHandler< ::management::GetTargetsRequest, ::management::GetTargetsResponse>( + [this]( + ::grpc::CallbackServerContext* context, const ::management::GetTargetsRequest* request, ::management::GetTargetsResponse* response) { return this->GetTargets(context, request, response); }));} + void SetMessageAllocatorFor_GetTargets( + ::grpc::MessageAllocator< ::management::GetTargetsRequest, ::management::GetTargetsResponse>* allocator) { + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(3); + static_cast<::grpc::internal::CallbackUnaryHandler< ::management::GetTargetsRequest, ::management::GetTargetsResponse>*>(handler) + ->SetMessageAllocator(allocator); + } + ~WithCallbackMethod_GetTargets() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetTargets(::grpc::ServerContext* /*context*/, const ::management::GetTargetsRequest* /*request*/, ::management::GetTargetsResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* GetTargets( + ::grpc::CallbackServerContext* /*context*/, const ::management::GetTargetsRequest* /*request*/, ::management::GetTargetsResponse* /*response*/) { return nullptr; } + }; + template + class WithCallbackMethod_DeleteTarget : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithCallbackMethod_DeleteTarget() { + ::grpc::Service::MarkMethodCallback(4, + new ::grpc::internal::CallbackUnaryHandler< ::management::DeleteTargetRequest, ::management::DeleteTargetResponse>( + [this]( + ::grpc::CallbackServerContext* context, const ::management::DeleteTargetRequest* request, ::management::DeleteTargetResponse* response) { return this->DeleteTarget(context, request, response); }));} + void SetMessageAllocatorFor_DeleteTarget( + ::grpc::MessageAllocator< ::management::DeleteTargetRequest, ::management::DeleteTargetResponse>* allocator) { + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(4); + static_cast<::grpc::internal::CallbackUnaryHandler< ::management::DeleteTargetRequest, ::management::DeleteTargetResponse>*>(handler) + ->SetMessageAllocator(allocator); + } + ~WithCallbackMethod_DeleteTarget() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DeleteTarget(::grpc::ServerContext* /*context*/, const ::management::DeleteTargetRequest* /*request*/, ::management::DeleteTargetResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* DeleteTarget( + ::grpc::CallbackServerContext* /*context*/, const ::management::DeleteTargetRequest* /*request*/, ::management::DeleteTargetResponse* /*response*/) { return nullptr; } + }; + template + class WithCallbackMethod_SetTargetState : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithCallbackMethod_SetTargetState() { + ::grpc::Service::MarkMethodCallback(5, + new ::grpc::internal::CallbackUnaryHandler< ::management::SetTargetStateRequest, ::management::SetTargetStateResponse>( + [this]( + ::grpc::CallbackServerContext* context, const ::management::SetTargetStateRequest* request, ::management::SetTargetStateResponse* response) { return this->SetTargetState(context, request, response); }));} + void SetMessageAllocatorFor_SetTargetState( + ::grpc::MessageAllocator< ::management::SetTargetStateRequest, ::management::SetTargetStateResponse>* allocator) { + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(5); + static_cast<::grpc::internal::CallbackUnaryHandler< ::management::SetTargetStateRequest, ::management::SetTargetStateResponse>*>(handler) + ->SetMessageAllocator(allocator); + } + ~WithCallbackMethod_SetTargetState() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status SetTargetState(::grpc::ServerContext* /*context*/, const ::management::SetTargetStateRequest* /*request*/, ::management::SetTargetStateResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* SetTargetState( + ::grpc::CallbackServerContext* /*context*/, const ::management::SetTargetStateRequest* /*request*/, ::management::SetTargetStateResponse* /*response*/) { return nullptr; } + }; + template + class WithCallbackMethod_GetPools : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithCallbackMethod_GetPools() { + ::grpc::Service::MarkMethodCallback(6, + new ::grpc::internal::CallbackUnaryHandler< ::management::GetPoolsRequest, ::management::GetPoolsResponse>( + [this]( + ::grpc::CallbackServerContext* context, const ::management::GetPoolsRequest* request, ::management::GetPoolsResponse* response) { return this->GetPools(context, request, response); }));} + void SetMessageAllocatorFor_GetPools( + ::grpc::MessageAllocator< ::management::GetPoolsRequest, ::management::GetPoolsResponse>* allocator) { + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(6); + static_cast<::grpc::internal::CallbackUnaryHandler< ::management::GetPoolsRequest, ::management::GetPoolsResponse>*>(handler) + ->SetMessageAllocator(allocator); + } + ~WithCallbackMethod_GetPools() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetPools(::grpc::ServerContext* /*context*/, const ::management::GetPoolsRequest* /*request*/, ::management::GetPoolsResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* GetPools( + ::grpc::CallbackServerContext* /*context*/, const ::management::GetPoolsRequest* /*request*/, ::management::GetPoolsResponse* /*response*/) { return nullptr; } + }; + template + class WithCallbackMethod_CreatePool : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithCallbackMethod_CreatePool() { + ::grpc::Service::MarkMethodCallback(7, + new ::grpc::internal::CallbackUnaryHandler< ::management::CreatePoolRequest, ::management::CreatePoolResponse>( + [this]( + ::grpc::CallbackServerContext* context, const ::management::CreatePoolRequest* request, ::management::CreatePoolResponse* response) { return this->CreatePool(context, request, response); }));} + void SetMessageAllocatorFor_CreatePool( + ::grpc::MessageAllocator< ::management::CreatePoolRequest, ::management::CreatePoolResponse>* allocator) { + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(7); + static_cast<::grpc::internal::CallbackUnaryHandler< ::management::CreatePoolRequest, ::management::CreatePoolResponse>*>(handler) + ->SetMessageAllocator(allocator); + } + ~WithCallbackMethod_CreatePool() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status CreatePool(::grpc::ServerContext* /*context*/, const ::management::CreatePoolRequest* /*request*/, ::management::CreatePoolResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* CreatePool( + ::grpc::CallbackServerContext* /*context*/, const ::management::CreatePoolRequest* /*request*/, ::management::CreatePoolResponse* /*response*/) { return nullptr; } + }; + template + class WithCallbackMethod_AssignPool : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithCallbackMethod_AssignPool() { + ::grpc::Service::MarkMethodCallback(8, + new ::grpc::internal::CallbackUnaryHandler< ::management::AssignPoolRequest, ::management::AssignPoolResponse>( + [this]( + ::grpc::CallbackServerContext* context, const ::management::AssignPoolRequest* request, ::management::AssignPoolResponse* response) { return this->AssignPool(context, request, response); }));} + void SetMessageAllocatorFor_AssignPool( + ::grpc::MessageAllocator< ::management::AssignPoolRequest, ::management::AssignPoolResponse>* allocator) { + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(8); + static_cast<::grpc::internal::CallbackUnaryHandler< ::management::AssignPoolRequest, ::management::AssignPoolResponse>*>(handler) + ->SetMessageAllocator(allocator); + } + ~WithCallbackMethod_AssignPool() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status AssignPool(::grpc::ServerContext* /*context*/, const ::management::AssignPoolRequest* /*request*/, ::management::AssignPoolResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* AssignPool( + ::grpc::CallbackServerContext* /*context*/, const ::management::AssignPoolRequest* /*request*/, ::management::AssignPoolResponse* /*response*/) { return nullptr; } + }; + template + class WithCallbackMethod_DeletePool : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithCallbackMethod_DeletePool() { + ::grpc::Service::MarkMethodCallback(9, + new ::grpc::internal::CallbackUnaryHandler< ::management::DeletePoolRequest, ::management::DeletePoolResponse>( + [this]( + ::grpc::CallbackServerContext* context, const ::management::DeletePoolRequest* request, ::management::DeletePoolResponse* response) { return this->DeletePool(context, request, response); }));} + void SetMessageAllocatorFor_DeletePool( + ::grpc::MessageAllocator< ::management::DeletePoolRequest, ::management::DeletePoolResponse>* allocator) { + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(9); + static_cast<::grpc::internal::CallbackUnaryHandler< ::management::DeletePoolRequest, ::management::DeletePoolResponse>*>(handler) + ->SetMessageAllocator(allocator); + } + ~WithCallbackMethod_DeletePool() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DeletePool(::grpc::ServerContext* /*context*/, const ::management::DeletePoolRequest* /*request*/, ::management::DeletePoolResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* DeletePool( + ::grpc::CallbackServerContext* /*context*/, const ::management::DeletePoolRequest* /*request*/, ::management::DeletePoolResponse* /*response*/) { return nullptr; } + }; + template + class WithCallbackMethod_GetBuddyGroups : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithCallbackMethod_GetBuddyGroups() { + ::grpc::Service::MarkMethodCallback(10, + new ::grpc::internal::CallbackUnaryHandler< ::management::GetBuddyGroupsRequest, ::management::GetBuddyGroupsResponse>( + [this]( + ::grpc::CallbackServerContext* context, const ::management::GetBuddyGroupsRequest* request, ::management::GetBuddyGroupsResponse* response) { return this->GetBuddyGroups(context, request, response); }));} + void SetMessageAllocatorFor_GetBuddyGroups( + ::grpc::MessageAllocator< ::management::GetBuddyGroupsRequest, ::management::GetBuddyGroupsResponse>* allocator) { + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(10); + static_cast<::grpc::internal::CallbackUnaryHandler< ::management::GetBuddyGroupsRequest, ::management::GetBuddyGroupsResponse>*>(handler) + ->SetMessageAllocator(allocator); + } + ~WithCallbackMethod_GetBuddyGroups() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetBuddyGroups(::grpc::ServerContext* /*context*/, const ::management::GetBuddyGroupsRequest* /*request*/, ::management::GetBuddyGroupsResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* GetBuddyGroups( + ::grpc::CallbackServerContext* /*context*/, const ::management::GetBuddyGroupsRequest* /*request*/, ::management::GetBuddyGroupsResponse* /*response*/) { return nullptr; } + }; + template + class WithCallbackMethod_CreateBuddyGroup : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithCallbackMethod_CreateBuddyGroup() { + ::grpc::Service::MarkMethodCallback(11, + new ::grpc::internal::CallbackUnaryHandler< ::management::CreateBuddyGroupRequest, ::management::CreateBuddyGroupResponse>( + [this]( + ::grpc::CallbackServerContext* context, const ::management::CreateBuddyGroupRequest* request, ::management::CreateBuddyGroupResponse* response) { return this->CreateBuddyGroup(context, request, response); }));} + void SetMessageAllocatorFor_CreateBuddyGroup( + ::grpc::MessageAllocator< ::management::CreateBuddyGroupRequest, ::management::CreateBuddyGroupResponse>* allocator) { + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(11); + static_cast<::grpc::internal::CallbackUnaryHandler< ::management::CreateBuddyGroupRequest, ::management::CreateBuddyGroupResponse>*>(handler) + ->SetMessageAllocator(allocator); + } + ~WithCallbackMethod_CreateBuddyGroup() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status CreateBuddyGroup(::grpc::ServerContext* /*context*/, const ::management::CreateBuddyGroupRequest* /*request*/, ::management::CreateBuddyGroupResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* CreateBuddyGroup( + ::grpc::CallbackServerContext* /*context*/, const ::management::CreateBuddyGroupRequest* /*request*/, ::management::CreateBuddyGroupResponse* /*response*/) { return nullptr; } + }; + template + class WithCallbackMethod_DeleteBuddyGroup : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithCallbackMethod_DeleteBuddyGroup() { + ::grpc::Service::MarkMethodCallback(12, + new ::grpc::internal::CallbackUnaryHandler< ::management::DeleteBuddyGroupRequest, ::management::DeleteBuddyGroupResponse>( + [this]( + ::grpc::CallbackServerContext* context, const ::management::DeleteBuddyGroupRequest* request, ::management::DeleteBuddyGroupResponse* response) { return this->DeleteBuddyGroup(context, request, response); }));} + void SetMessageAllocatorFor_DeleteBuddyGroup( + ::grpc::MessageAllocator< ::management::DeleteBuddyGroupRequest, ::management::DeleteBuddyGroupResponse>* allocator) { + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(12); + static_cast<::grpc::internal::CallbackUnaryHandler< ::management::DeleteBuddyGroupRequest, ::management::DeleteBuddyGroupResponse>*>(handler) + ->SetMessageAllocator(allocator); + } + ~WithCallbackMethod_DeleteBuddyGroup() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DeleteBuddyGroup(::grpc::ServerContext* /*context*/, const ::management::DeleteBuddyGroupRequest* /*request*/, ::management::DeleteBuddyGroupResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* DeleteBuddyGroup( + ::grpc::CallbackServerContext* /*context*/, const ::management::DeleteBuddyGroupRequest* /*request*/, ::management::DeleteBuddyGroupResponse* /*response*/) { return nullptr; } + }; + template + class WithCallbackMethod_MirrorRootInode : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithCallbackMethod_MirrorRootInode() { + ::grpc::Service::MarkMethodCallback(13, + new ::grpc::internal::CallbackUnaryHandler< ::management::MirrorRootInodeRequest, ::management::MirrorRootInodeResponse>( + [this]( + ::grpc::CallbackServerContext* context, const ::management::MirrorRootInodeRequest* request, ::management::MirrorRootInodeResponse* response) { return this->MirrorRootInode(context, request, response); }));} + void SetMessageAllocatorFor_MirrorRootInode( + ::grpc::MessageAllocator< ::management::MirrorRootInodeRequest, ::management::MirrorRootInodeResponse>* allocator) { + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(13); + static_cast<::grpc::internal::CallbackUnaryHandler< ::management::MirrorRootInodeRequest, ::management::MirrorRootInodeResponse>*>(handler) + ->SetMessageAllocator(allocator); + } + ~WithCallbackMethod_MirrorRootInode() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status MirrorRootInode(::grpc::ServerContext* /*context*/, const ::management::MirrorRootInodeRequest* /*request*/, ::management::MirrorRootInodeResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* MirrorRootInode( + ::grpc::CallbackServerContext* /*context*/, const ::management::MirrorRootInodeRequest* /*request*/, ::management::MirrorRootInodeResponse* /*response*/) { return nullptr; } + }; + template + class WithCallbackMethod_StartResync : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithCallbackMethod_StartResync() { + ::grpc::Service::MarkMethodCallback(14, + new ::grpc::internal::CallbackUnaryHandler< ::management::StartResyncRequest, ::management::StartResyncResponse>( + [this]( + ::grpc::CallbackServerContext* context, const ::management::StartResyncRequest* request, ::management::StartResyncResponse* response) { return this->StartResync(context, request, response); }));} + void SetMessageAllocatorFor_StartResync( + ::grpc::MessageAllocator< ::management::StartResyncRequest, ::management::StartResyncResponse>* allocator) { + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(14); + static_cast<::grpc::internal::CallbackUnaryHandler< ::management::StartResyncRequest, ::management::StartResyncResponse>*>(handler) + ->SetMessageAllocator(allocator); + } + ~WithCallbackMethod_StartResync() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status StartResync(::grpc::ServerContext* /*context*/, const ::management::StartResyncRequest* /*request*/, ::management::StartResyncResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* StartResync( + ::grpc::CallbackServerContext* /*context*/, const ::management::StartResyncRequest* /*request*/, ::management::StartResyncResponse* /*response*/) { return nullptr; } + }; + template + class WithCallbackMethod_SetDefaultQuotaLimits : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithCallbackMethod_SetDefaultQuotaLimits() { + ::grpc::Service::MarkMethodCallback(15, + new ::grpc::internal::CallbackUnaryHandler< ::management::SetDefaultQuotaLimitsRequest, ::management::SetDefaultQuotaLimitsResponse>( + [this]( + ::grpc::CallbackServerContext* context, const ::management::SetDefaultQuotaLimitsRequest* request, ::management::SetDefaultQuotaLimitsResponse* response) { return this->SetDefaultQuotaLimits(context, request, response); }));} + void SetMessageAllocatorFor_SetDefaultQuotaLimits( + ::grpc::MessageAllocator< ::management::SetDefaultQuotaLimitsRequest, ::management::SetDefaultQuotaLimitsResponse>* allocator) { + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(15); + static_cast<::grpc::internal::CallbackUnaryHandler< ::management::SetDefaultQuotaLimitsRequest, ::management::SetDefaultQuotaLimitsResponse>*>(handler) + ->SetMessageAllocator(allocator); + } + ~WithCallbackMethod_SetDefaultQuotaLimits() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status SetDefaultQuotaLimits(::grpc::ServerContext* /*context*/, const ::management::SetDefaultQuotaLimitsRequest* /*request*/, ::management::SetDefaultQuotaLimitsResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* SetDefaultQuotaLimits( + ::grpc::CallbackServerContext* /*context*/, const ::management::SetDefaultQuotaLimitsRequest* /*request*/, ::management::SetDefaultQuotaLimitsResponse* /*response*/) { return nullptr; } + }; + template + class WithCallbackMethod_SetQuotaLimits : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithCallbackMethod_SetQuotaLimits() { + ::grpc::Service::MarkMethodCallback(16, + new ::grpc::internal::CallbackUnaryHandler< ::management::SetQuotaLimitsRequest, ::management::SetQuotaLimitsResponse>( + [this]( + ::grpc::CallbackServerContext* context, const ::management::SetQuotaLimitsRequest* request, ::management::SetQuotaLimitsResponse* response) { return this->SetQuotaLimits(context, request, response); }));} + void SetMessageAllocatorFor_SetQuotaLimits( + ::grpc::MessageAllocator< ::management::SetQuotaLimitsRequest, ::management::SetQuotaLimitsResponse>* allocator) { + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(16); + static_cast<::grpc::internal::CallbackUnaryHandler< ::management::SetQuotaLimitsRequest, ::management::SetQuotaLimitsResponse>*>(handler) + ->SetMessageAllocator(allocator); + } + ~WithCallbackMethod_SetQuotaLimits() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status SetQuotaLimits(::grpc::ServerContext* /*context*/, const ::management::SetQuotaLimitsRequest* /*request*/, ::management::SetQuotaLimitsResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* SetQuotaLimits( + ::grpc::CallbackServerContext* /*context*/, const ::management::SetQuotaLimitsRequest* /*request*/, ::management::SetQuotaLimitsResponse* /*response*/) { return nullptr; } + }; + template + class WithCallbackMethod_GetQuotaLimits : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithCallbackMethod_GetQuotaLimits() { + ::grpc::Service::MarkMethodCallback(17, + new ::grpc::internal::CallbackServerStreamingHandler< ::management::GetQuotaLimitsRequest, ::management::GetQuotaLimitsResponse>( + [this]( + ::grpc::CallbackServerContext* context, const ::management::GetQuotaLimitsRequest* request) { return this->GetQuotaLimits(context, request); })); + } + ~WithCallbackMethod_GetQuotaLimits() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetQuotaLimits(::grpc::ServerContext* /*context*/, const ::management::GetQuotaLimitsRequest* /*request*/, ::grpc::ServerWriter< ::management::GetQuotaLimitsResponse>* /*writer*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerWriteReactor< ::management::GetQuotaLimitsResponse>* GetQuotaLimits( + ::grpc::CallbackServerContext* /*context*/, const ::management::GetQuotaLimitsRequest* /*request*/) { return nullptr; } + }; + template + class WithCallbackMethod_GetQuotaUsage : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithCallbackMethod_GetQuotaUsage() { + ::grpc::Service::MarkMethodCallback(18, + new ::grpc::internal::CallbackServerStreamingHandler< ::management::GetQuotaUsageRequest, ::management::GetQuotaUsageResponse>( + [this]( + ::grpc::CallbackServerContext* context, const ::management::GetQuotaUsageRequest* request) { return this->GetQuotaUsage(context, request); })); + } + ~WithCallbackMethod_GetQuotaUsage() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetQuotaUsage(::grpc::ServerContext* /*context*/, const ::management::GetQuotaUsageRequest* /*request*/, ::grpc::ServerWriter< ::management::GetQuotaUsageResponse>* /*writer*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerWriteReactor< ::management::GetQuotaUsageResponse>* GetQuotaUsage( + ::grpc::CallbackServerContext* /*context*/, const ::management::GetQuotaUsageRequest* /*request*/) { return nullptr; } + }; + template + class WithCallbackMethod_GetLicense : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithCallbackMethod_GetLicense() { + ::grpc::Service::MarkMethodCallback(19, + new ::grpc::internal::CallbackUnaryHandler< ::management::GetLicenseRequest, ::management::GetLicenseResponse>( + [this]( + ::grpc::CallbackServerContext* context, const ::management::GetLicenseRequest* request, ::management::GetLicenseResponse* response) { return this->GetLicense(context, request, response); }));} + void SetMessageAllocatorFor_GetLicense( + ::grpc::MessageAllocator< ::management::GetLicenseRequest, ::management::GetLicenseResponse>* allocator) { + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(19); + static_cast<::grpc::internal::CallbackUnaryHandler< ::management::GetLicenseRequest, ::management::GetLicenseResponse>*>(handler) + ->SetMessageAllocator(allocator); + } + ~WithCallbackMethod_GetLicense() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetLicense(::grpc::ServerContext* /*context*/, const ::management::GetLicenseRequest* /*request*/, ::management::GetLicenseResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* GetLicense( + ::grpc::CallbackServerContext* /*context*/, const ::management::GetLicenseRequest* /*request*/, ::management::GetLicenseResponse* /*response*/) { return nullptr; } + }; + typedef WithCallbackMethod_SetAlias > > > > > > > > > > > > > > > > > > > CallbackService; + typedef CallbackService ExperimentalCallbackService; + template + class WithGenericMethod_SetAlias : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_SetAlias() { + ::grpc::Service::MarkMethodGeneric(0); + } + ~WithGenericMethod_SetAlias() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status SetAlias(::grpc::ServerContext* /*context*/, const ::management::SetAliasRequest* /*request*/, ::management::SetAliasResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_GetNodes : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_GetNodes() { + ::grpc::Service::MarkMethodGeneric(1); + } + ~WithGenericMethod_GetNodes() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetNodes(::grpc::ServerContext* /*context*/, const ::management::GetNodesRequest* /*request*/, ::management::GetNodesResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_DeleteNode : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_DeleteNode() { + ::grpc::Service::MarkMethodGeneric(2); + } + ~WithGenericMethod_DeleteNode() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DeleteNode(::grpc::ServerContext* /*context*/, const ::management::DeleteNodeRequest* /*request*/, ::management::DeleteNodeResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_GetTargets : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_GetTargets() { + ::grpc::Service::MarkMethodGeneric(3); + } + ~WithGenericMethod_GetTargets() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetTargets(::grpc::ServerContext* /*context*/, const ::management::GetTargetsRequest* /*request*/, ::management::GetTargetsResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_DeleteTarget : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_DeleteTarget() { + ::grpc::Service::MarkMethodGeneric(4); + } + ~WithGenericMethod_DeleteTarget() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DeleteTarget(::grpc::ServerContext* /*context*/, const ::management::DeleteTargetRequest* /*request*/, ::management::DeleteTargetResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_SetTargetState : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_SetTargetState() { + ::grpc::Service::MarkMethodGeneric(5); + } + ~WithGenericMethod_SetTargetState() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status SetTargetState(::grpc::ServerContext* /*context*/, const ::management::SetTargetStateRequest* /*request*/, ::management::SetTargetStateResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_GetPools : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_GetPools() { + ::grpc::Service::MarkMethodGeneric(6); + } + ~WithGenericMethod_GetPools() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetPools(::grpc::ServerContext* /*context*/, const ::management::GetPoolsRequest* /*request*/, ::management::GetPoolsResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_CreatePool : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_CreatePool() { + ::grpc::Service::MarkMethodGeneric(7); + } + ~WithGenericMethod_CreatePool() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status CreatePool(::grpc::ServerContext* /*context*/, const ::management::CreatePoolRequest* /*request*/, ::management::CreatePoolResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_AssignPool : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_AssignPool() { + ::grpc::Service::MarkMethodGeneric(8); + } + ~WithGenericMethod_AssignPool() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status AssignPool(::grpc::ServerContext* /*context*/, const ::management::AssignPoolRequest* /*request*/, ::management::AssignPoolResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_DeletePool : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_DeletePool() { + ::grpc::Service::MarkMethodGeneric(9); + } + ~WithGenericMethod_DeletePool() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DeletePool(::grpc::ServerContext* /*context*/, const ::management::DeletePoolRequest* /*request*/, ::management::DeletePoolResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_GetBuddyGroups : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_GetBuddyGroups() { + ::grpc::Service::MarkMethodGeneric(10); + } + ~WithGenericMethod_GetBuddyGroups() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetBuddyGroups(::grpc::ServerContext* /*context*/, const ::management::GetBuddyGroupsRequest* /*request*/, ::management::GetBuddyGroupsResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_CreateBuddyGroup : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_CreateBuddyGroup() { + ::grpc::Service::MarkMethodGeneric(11); + } + ~WithGenericMethod_CreateBuddyGroup() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status CreateBuddyGroup(::grpc::ServerContext* /*context*/, const ::management::CreateBuddyGroupRequest* /*request*/, ::management::CreateBuddyGroupResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_DeleteBuddyGroup : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_DeleteBuddyGroup() { + ::grpc::Service::MarkMethodGeneric(12); + } + ~WithGenericMethod_DeleteBuddyGroup() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DeleteBuddyGroup(::grpc::ServerContext* /*context*/, const ::management::DeleteBuddyGroupRequest* /*request*/, ::management::DeleteBuddyGroupResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_MirrorRootInode : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_MirrorRootInode() { + ::grpc::Service::MarkMethodGeneric(13); + } + ~WithGenericMethod_MirrorRootInode() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status MirrorRootInode(::grpc::ServerContext* /*context*/, const ::management::MirrorRootInodeRequest* /*request*/, ::management::MirrorRootInodeResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_StartResync : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_StartResync() { + ::grpc::Service::MarkMethodGeneric(14); + } + ~WithGenericMethod_StartResync() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status StartResync(::grpc::ServerContext* /*context*/, const ::management::StartResyncRequest* /*request*/, ::management::StartResyncResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_SetDefaultQuotaLimits : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_SetDefaultQuotaLimits() { + ::grpc::Service::MarkMethodGeneric(15); + } + ~WithGenericMethod_SetDefaultQuotaLimits() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status SetDefaultQuotaLimits(::grpc::ServerContext* /*context*/, const ::management::SetDefaultQuotaLimitsRequest* /*request*/, ::management::SetDefaultQuotaLimitsResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_SetQuotaLimits : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_SetQuotaLimits() { + ::grpc::Service::MarkMethodGeneric(16); + } + ~WithGenericMethod_SetQuotaLimits() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status SetQuotaLimits(::grpc::ServerContext* /*context*/, const ::management::SetQuotaLimitsRequest* /*request*/, ::management::SetQuotaLimitsResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_GetQuotaLimits : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_GetQuotaLimits() { + ::grpc::Service::MarkMethodGeneric(17); + } + ~WithGenericMethod_GetQuotaLimits() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetQuotaLimits(::grpc::ServerContext* /*context*/, const ::management::GetQuotaLimitsRequest* /*request*/, ::grpc::ServerWriter< ::management::GetQuotaLimitsResponse>* /*writer*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_GetQuotaUsage : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_GetQuotaUsage() { + ::grpc::Service::MarkMethodGeneric(18); + } + ~WithGenericMethod_GetQuotaUsage() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetQuotaUsage(::grpc::ServerContext* /*context*/, const ::management::GetQuotaUsageRequest* /*request*/, ::grpc::ServerWriter< ::management::GetQuotaUsageResponse>* /*writer*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_GetLicense : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_GetLicense() { + ::grpc::Service::MarkMethodGeneric(19); + } + ~WithGenericMethod_GetLicense() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetLicense(::grpc::ServerContext* /*context*/, const ::management::GetLicenseRequest* /*request*/, ::management::GetLicenseResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithRawMethod_SetAlias : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_SetAlias() { + ::grpc::Service::MarkMethodRaw(0); + } + ~WithRawMethod_SetAlias() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status SetAlias(::grpc::ServerContext* /*context*/, const ::management::SetAliasRequest* /*request*/, ::management::SetAliasResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestSetAlias(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(0, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_GetNodes : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_GetNodes() { + ::grpc::Service::MarkMethodRaw(1); + } + ~WithRawMethod_GetNodes() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetNodes(::grpc::ServerContext* /*context*/, const ::management::GetNodesRequest* /*request*/, ::management::GetNodesResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGetNodes(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(1, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_DeleteNode : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_DeleteNode() { + ::grpc::Service::MarkMethodRaw(2); + } + ~WithRawMethod_DeleteNode() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DeleteNode(::grpc::ServerContext* /*context*/, const ::management::DeleteNodeRequest* /*request*/, ::management::DeleteNodeResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestDeleteNode(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(2, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_GetTargets : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_GetTargets() { + ::grpc::Service::MarkMethodRaw(3); + } + ~WithRawMethod_GetTargets() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetTargets(::grpc::ServerContext* /*context*/, const ::management::GetTargetsRequest* /*request*/, ::management::GetTargetsResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGetTargets(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(3, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_DeleteTarget : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_DeleteTarget() { + ::grpc::Service::MarkMethodRaw(4); + } + ~WithRawMethod_DeleteTarget() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DeleteTarget(::grpc::ServerContext* /*context*/, const ::management::DeleteTargetRequest* /*request*/, ::management::DeleteTargetResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestDeleteTarget(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(4, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_SetTargetState : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_SetTargetState() { + ::grpc::Service::MarkMethodRaw(5); + } + ~WithRawMethod_SetTargetState() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status SetTargetState(::grpc::ServerContext* /*context*/, const ::management::SetTargetStateRequest* /*request*/, ::management::SetTargetStateResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestSetTargetState(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(5, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_GetPools : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_GetPools() { + ::grpc::Service::MarkMethodRaw(6); + } + ~WithRawMethod_GetPools() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetPools(::grpc::ServerContext* /*context*/, const ::management::GetPoolsRequest* /*request*/, ::management::GetPoolsResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGetPools(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(6, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_CreatePool : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_CreatePool() { + ::grpc::Service::MarkMethodRaw(7); + } + ~WithRawMethod_CreatePool() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status CreatePool(::grpc::ServerContext* /*context*/, const ::management::CreatePoolRequest* /*request*/, ::management::CreatePoolResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestCreatePool(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(7, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_AssignPool : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_AssignPool() { + ::grpc::Service::MarkMethodRaw(8); + } + ~WithRawMethod_AssignPool() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status AssignPool(::grpc::ServerContext* /*context*/, const ::management::AssignPoolRequest* /*request*/, ::management::AssignPoolResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestAssignPool(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(8, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_DeletePool : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_DeletePool() { + ::grpc::Service::MarkMethodRaw(9); + } + ~WithRawMethod_DeletePool() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DeletePool(::grpc::ServerContext* /*context*/, const ::management::DeletePoolRequest* /*request*/, ::management::DeletePoolResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestDeletePool(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(9, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_GetBuddyGroups : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_GetBuddyGroups() { + ::grpc::Service::MarkMethodRaw(10); + } + ~WithRawMethod_GetBuddyGroups() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetBuddyGroups(::grpc::ServerContext* /*context*/, const ::management::GetBuddyGroupsRequest* /*request*/, ::management::GetBuddyGroupsResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGetBuddyGroups(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(10, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_CreateBuddyGroup : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_CreateBuddyGroup() { + ::grpc::Service::MarkMethodRaw(11); + } + ~WithRawMethod_CreateBuddyGroup() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status CreateBuddyGroup(::grpc::ServerContext* /*context*/, const ::management::CreateBuddyGroupRequest* /*request*/, ::management::CreateBuddyGroupResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestCreateBuddyGroup(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(11, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_DeleteBuddyGroup : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_DeleteBuddyGroup() { + ::grpc::Service::MarkMethodRaw(12); + } + ~WithRawMethod_DeleteBuddyGroup() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DeleteBuddyGroup(::grpc::ServerContext* /*context*/, const ::management::DeleteBuddyGroupRequest* /*request*/, ::management::DeleteBuddyGroupResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestDeleteBuddyGroup(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(12, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_MirrorRootInode : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_MirrorRootInode() { + ::grpc::Service::MarkMethodRaw(13); + } + ~WithRawMethod_MirrorRootInode() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status MirrorRootInode(::grpc::ServerContext* /*context*/, const ::management::MirrorRootInodeRequest* /*request*/, ::management::MirrorRootInodeResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestMirrorRootInode(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(13, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_StartResync : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_StartResync() { + ::grpc::Service::MarkMethodRaw(14); + } + ~WithRawMethod_StartResync() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status StartResync(::grpc::ServerContext* /*context*/, const ::management::StartResyncRequest* /*request*/, ::management::StartResyncResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestStartResync(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(14, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_SetDefaultQuotaLimits : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_SetDefaultQuotaLimits() { + ::grpc::Service::MarkMethodRaw(15); + } + ~WithRawMethod_SetDefaultQuotaLimits() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status SetDefaultQuotaLimits(::grpc::ServerContext* /*context*/, const ::management::SetDefaultQuotaLimitsRequest* /*request*/, ::management::SetDefaultQuotaLimitsResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestSetDefaultQuotaLimits(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(15, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_SetQuotaLimits : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_SetQuotaLimits() { + ::grpc::Service::MarkMethodRaw(16); + } + ~WithRawMethod_SetQuotaLimits() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status SetQuotaLimits(::grpc::ServerContext* /*context*/, const ::management::SetQuotaLimitsRequest* /*request*/, ::management::SetQuotaLimitsResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestSetQuotaLimits(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(16, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_GetQuotaLimits : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_GetQuotaLimits() { + ::grpc::Service::MarkMethodRaw(17); + } + ~WithRawMethod_GetQuotaLimits() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetQuotaLimits(::grpc::ServerContext* /*context*/, const ::management::GetQuotaLimitsRequest* /*request*/, ::grpc::ServerWriter< ::management::GetQuotaLimitsResponse>* /*writer*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGetQuotaLimits(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncWriter< ::grpc::ByteBuffer>* writer, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncServerStreaming(17, context, request, writer, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_GetQuotaUsage : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_GetQuotaUsage() { + ::grpc::Service::MarkMethodRaw(18); + } + ~WithRawMethod_GetQuotaUsage() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetQuotaUsage(::grpc::ServerContext* /*context*/, const ::management::GetQuotaUsageRequest* /*request*/, ::grpc::ServerWriter< ::management::GetQuotaUsageResponse>* /*writer*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGetQuotaUsage(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncWriter< ::grpc::ByteBuffer>* writer, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncServerStreaming(18, context, request, writer, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_GetLicense : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_GetLicense() { + ::grpc::Service::MarkMethodRaw(19); + } + ~WithRawMethod_GetLicense() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetLicense(::grpc::ServerContext* /*context*/, const ::management::GetLicenseRequest* /*request*/, ::management::GetLicenseResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGetLicense(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(19, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawCallbackMethod_SetAlias : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawCallbackMethod_SetAlias() { + ::grpc::Service::MarkMethodRawCallback(0, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->SetAlias(context, request, response); })); + } + ~WithRawCallbackMethod_SetAlias() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status SetAlias(::grpc::ServerContext* /*context*/, const ::management::SetAliasRequest* /*request*/, ::management::SetAliasResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* SetAlias( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } + }; + template + class WithRawCallbackMethod_GetNodes : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawCallbackMethod_GetNodes() { + ::grpc::Service::MarkMethodRawCallback(1, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->GetNodes(context, request, response); })); + } + ~WithRawCallbackMethod_GetNodes() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetNodes(::grpc::ServerContext* /*context*/, const ::management::GetNodesRequest* /*request*/, ::management::GetNodesResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* GetNodes( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } + }; + template + class WithRawCallbackMethod_DeleteNode : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawCallbackMethod_DeleteNode() { + ::grpc::Service::MarkMethodRawCallback(2, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->DeleteNode(context, request, response); })); + } + ~WithRawCallbackMethod_DeleteNode() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DeleteNode(::grpc::ServerContext* /*context*/, const ::management::DeleteNodeRequest* /*request*/, ::management::DeleteNodeResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* DeleteNode( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } + }; + template + class WithRawCallbackMethod_GetTargets : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawCallbackMethod_GetTargets() { + ::grpc::Service::MarkMethodRawCallback(3, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->GetTargets(context, request, response); })); + } + ~WithRawCallbackMethod_GetTargets() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetTargets(::grpc::ServerContext* /*context*/, const ::management::GetTargetsRequest* /*request*/, ::management::GetTargetsResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* GetTargets( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } + }; + template + class WithRawCallbackMethod_DeleteTarget : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawCallbackMethod_DeleteTarget() { + ::grpc::Service::MarkMethodRawCallback(4, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->DeleteTarget(context, request, response); })); + } + ~WithRawCallbackMethod_DeleteTarget() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DeleteTarget(::grpc::ServerContext* /*context*/, const ::management::DeleteTargetRequest* /*request*/, ::management::DeleteTargetResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* DeleteTarget( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } + }; + template + class WithRawCallbackMethod_SetTargetState : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawCallbackMethod_SetTargetState() { + ::grpc::Service::MarkMethodRawCallback(5, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->SetTargetState(context, request, response); })); + } + ~WithRawCallbackMethod_SetTargetState() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status SetTargetState(::grpc::ServerContext* /*context*/, const ::management::SetTargetStateRequest* /*request*/, ::management::SetTargetStateResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* SetTargetState( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } + }; + template + class WithRawCallbackMethod_GetPools : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawCallbackMethod_GetPools() { + ::grpc::Service::MarkMethodRawCallback(6, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->GetPools(context, request, response); })); + } + ~WithRawCallbackMethod_GetPools() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetPools(::grpc::ServerContext* /*context*/, const ::management::GetPoolsRequest* /*request*/, ::management::GetPoolsResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* GetPools( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } + }; + template + class WithRawCallbackMethod_CreatePool : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawCallbackMethod_CreatePool() { + ::grpc::Service::MarkMethodRawCallback(7, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->CreatePool(context, request, response); })); + } + ~WithRawCallbackMethod_CreatePool() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status CreatePool(::grpc::ServerContext* /*context*/, const ::management::CreatePoolRequest* /*request*/, ::management::CreatePoolResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* CreatePool( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } + }; + template + class WithRawCallbackMethod_AssignPool : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawCallbackMethod_AssignPool() { + ::grpc::Service::MarkMethodRawCallback(8, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->AssignPool(context, request, response); })); + } + ~WithRawCallbackMethod_AssignPool() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status AssignPool(::grpc::ServerContext* /*context*/, const ::management::AssignPoolRequest* /*request*/, ::management::AssignPoolResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* AssignPool( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } + }; + template + class WithRawCallbackMethod_DeletePool : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawCallbackMethod_DeletePool() { + ::grpc::Service::MarkMethodRawCallback(9, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->DeletePool(context, request, response); })); + } + ~WithRawCallbackMethod_DeletePool() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DeletePool(::grpc::ServerContext* /*context*/, const ::management::DeletePoolRequest* /*request*/, ::management::DeletePoolResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* DeletePool( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } + }; + template + class WithRawCallbackMethod_GetBuddyGroups : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawCallbackMethod_GetBuddyGroups() { + ::grpc::Service::MarkMethodRawCallback(10, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->GetBuddyGroups(context, request, response); })); + } + ~WithRawCallbackMethod_GetBuddyGroups() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetBuddyGroups(::grpc::ServerContext* /*context*/, const ::management::GetBuddyGroupsRequest* /*request*/, ::management::GetBuddyGroupsResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* GetBuddyGroups( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } + }; + template + class WithRawCallbackMethod_CreateBuddyGroup : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawCallbackMethod_CreateBuddyGroup() { + ::grpc::Service::MarkMethodRawCallback(11, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->CreateBuddyGroup(context, request, response); })); + } + ~WithRawCallbackMethod_CreateBuddyGroup() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status CreateBuddyGroup(::grpc::ServerContext* /*context*/, const ::management::CreateBuddyGroupRequest* /*request*/, ::management::CreateBuddyGroupResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* CreateBuddyGroup( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } + }; + template + class WithRawCallbackMethod_DeleteBuddyGroup : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawCallbackMethod_DeleteBuddyGroup() { + ::grpc::Service::MarkMethodRawCallback(12, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->DeleteBuddyGroup(context, request, response); })); + } + ~WithRawCallbackMethod_DeleteBuddyGroup() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DeleteBuddyGroup(::grpc::ServerContext* /*context*/, const ::management::DeleteBuddyGroupRequest* /*request*/, ::management::DeleteBuddyGroupResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* DeleteBuddyGroup( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } + }; + template + class WithRawCallbackMethod_MirrorRootInode : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawCallbackMethod_MirrorRootInode() { + ::grpc::Service::MarkMethodRawCallback(13, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->MirrorRootInode(context, request, response); })); + } + ~WithRawCallbackMethod_MirrorRootInode() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status MirrorRootInode(::grpc::ServerContext* /*context*/, const ::management::MirrorRootInodeRequest* /*request*/, ::management::MirrorRootInodeResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* MirrorRootInode( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } + }; + template + class WithRawCallbackMethod_StartResync : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawCallbackMethod_StartResync() { + ::grpc::Service::MarkMethodRawCallback(14, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->StartResync(context, request, response); })); + } + ~WithRawCallbackMethod_StartResync() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status StartResync(::grpc::ServerContext* /*context*/, const ::management::StartResyncRequest* /*request*/, ::management::StartResyncResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* StartResync( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } + }; + template + class WithRawCallbackMethod_SetDefaultQuotaLimits : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawCallbackMethod_SetDefaultQuotaLimits() { + ::grpc::Service::MarkMethodRawCallback(15, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->SetDefaultQuotaLimits(context, request, response); })); + } + ~WithRawCallbackMethod_SetDefaultQuotaLimits() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status SetDefaultQuotaLimits(::grpc::ServerContext* /*context*/, const ::management::SetDefaultQuotaLimitsRequest* /*request*/, ::management::SetDefaultQuotaLimitsResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* SetDefaultQuotaLimits( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } + }; + template + class WithRawCallbackMethod_SetQuotaLimits : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawCallbackMethod_SetQuotaLimits() { + ::grpc::Service::MarkMethodRawCallback(16, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->SetQuotaLimits(context, request, response); })); + } + ~WithRawCallbackMethod_SetQuotaLimits() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status SetQuotaLimits(::grpc::ServerContext* /*context*/, const ::management::SetQuotaLimitsRequest* /*request*/, ::management::SetQuotaLimitsResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* SetQuotaLimits( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } + }; + template + class WithRawCallbackMethod_GetQuotaLimits : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawCallbackMethod_GetQuotaLimits() { + ::grpc::Service::MarkMethodRawCallback(17, + new ::grpc::internal::CallbackServerStreamingHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + ::grpc::CallbackServerContext* context, const::grpc::ByteBuffer* request) { return this->GetQuotaLimits(context, request); })); + } + ~WithRawCallbackMethod_GetQuotaLimits() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetQuotaLimits(::grpc::ServerContext* /*context*/, const ::management::GetQuotaLimitsRequest* /*request*/, ::grpc::ServerWriter< ::management::GetQuotaLimitsResponse>* /*writer*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerWriteReactor< ::grpc::ByteBuffer>* GetQuotaLimits( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/) { return nullptr; } + }; + template + class WithRawCallbackMethod_GetQuotaUsage : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawCallbackMethod_GetQuotaUsage() { + ::grpc::Service::MarkMethodRawCallback(18, + new ::grpc::internal::CallbackServerStreamingHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + ::grpc::CallbackServerContext* context, const::grpc::ByteBuffer* request) { return this->GetQuotaUsage(context, request); })); + } + ~WithRawCallbackMethod_GetQuotaUsage() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetQuotaUsage(::grpc::ServerContext* /*context*/, const ::management::GetQuotaUsageRequest* /*request*/, ::grpc::ServerWriter< ::management::GetQuotaUsageResponse>* /*writer*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerWriteReactor< ::grpc::ByteBuffer>* GetQuotaUsage( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/) { return nullptr; } + }; + template + class WithRawCallbackMethod_GetLicense : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawCallbackMethod_GetLicense() { + ::grpc::Service::MarkMethodRawCallback(19, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->GetLicense(context, request, response); })); + } + ~WithRawCallbackMethod_GetLicense() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetLicense(::grpc::ServerContext* /*context*/, const ::management::GetLicenseRequest* /*request*/, ::management::GetLicenseResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* GetLicense( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } + }; + template + class WithStreamedUnaryMethod_SetAlias : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithStreamedUnaryMethod_SetAlias() { + ::grpc::Service::MarkMethodStreamed(0, + new ::grpc::internal::StreamedUnaryHandler< + ::management::SetAliasRequest, ::management::SetAliasResponse>( + [this](::grpc::ServerContext* context, + ::grpc::ServerUnaryStreamer< + ::management::SetAliasRequest, ::management::SetAliasResponse>* streamer) { + return this->StreamedSetAlias(context, + streamer); + })); + } + ~WithStreamedUnaryMethod_SetAlias() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status SetAlias(::grpc::ServerContext* /*context*/, const ::management::SetAliasRequest* /*request*/, ::management::SetAliasResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedSetAlias(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::management::SetAliasRequest,::management::SetAliasResponse>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_GetNodes : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithStreamedUnaryMethod_GetNodes() { + ::grpc::Service::MarkMethodStreamed(1, + new ::grpc::internal::StreamedUnaryHandler< + ::management::GetNodesRequest, ::management::GetNodesResponse>( + [this](::grpc::ServerContext* context, + ::grpc::ServerUnaryStreamer< + ::management::GetNodesRequest, ::management::GetNodesResponse>* streamer) { + return this->StreamedGetNodes(context, + streamer); + })); + } + ~WithStreamedUnaryMethod_GetNodes() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status GetNodes(::grpc::ServerContext* /*context*/, const ::management::GetNodesRequest* /*request*/, ::management::GetNodesResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedGetNodes(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::management::GetNodesRequest,::management::GetNodesResponse>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_DeleteNode : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithStreamedUnaryMethod_DeleteNode() { + ::grpc::Service::MarkMethodStreamed(2, + new ::grpc::internal::StreamedUnaryHandler< + ::management::DeleteNodeRequest, ::management::DeleteNodeResponse>( + [this](::grpc::ServerContext* context, + ::grpc::ServerUnaryStreamer< + ::management::DeleteNodeRequest, ::management::DeleteNodeResponse>* streamer) { + return this->StreamedDeleteNode(context, + streamer); + })); + } + ~WithStreamedUnaryMethod_DeleteNode() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status DeleteNode(::grpc::ServerContext* /*context*/, const ::management::DeleteNodeRequest* /*request*/, ::management::DeleteNodeResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedDeleteNode(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::management::DeleteNodeRequest,::management::DeleteNodeResponse>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_GetTargets : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithStreamedUnaryMethod_GetTargets() { + ::grpc::Service::MarkMethodStreamed(3, + new ::grpc::internal::StreamedUnaryHandler< + ::management::GetTargetsRequest, ::management::GetTargetsResponse>( + [this](::grpc::ServerContext* context, + ::grpc::ServerUnaryStreamer< + ::management::GetTargetsRequest, ::management::GetTargetsResponse>* streamer) { + return this->StreamedGetTargets(context, + streamer); + })); + } + ~WithStreamedUnaryMethod_GetTargets() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status GetTargets(::grpc::ServerContext* /*context*/, const ::management::GetTargetsRequest* /*request*/, ::management::GetTargetsResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedGetTargets(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::management::GetTargetsRequest,::management::GetTargetsResponse>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_DeleteTarget : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithStreamedUnaryMethod_DeleteTarget() { + ::grpc::Service::MarkMethodStreamed(4, + new ::grpc::internal::StreamedUnaryHandler< + ::management::DeleteTargetRequest, ::management::DeleteTargetResponse>( + [this](::grpc::ServerContext* context, + ::grpc::ServerUnaryStreamer< + ::management::DeleteTargetRequest, ::management::DeleteTargetResponse>* streamer) { + return this->StreamedDeleteTarget(context, + streamer); + })); + } + ~WithStreamedUnaryMethod_DeleteTarget() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status DeleteTarget(::grpc::ServerContext* /*context*/, const ::management::DeleteTargetRequest* /*request*/, ::management::DeleteTargetResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedDeleteTarget(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::management::DeleteTargetRequest,::management::DeleteTargetResponse>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_SetTargetState : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithStreamedUnaryMethod_SetTargetState() { + ::grpc::Service::MarkMethodStreamed(5, + new ::grpc::internal::StreamedUnaryHandler< + ::management::SetTargetStateRequest, ::management::SetTargetStateResponse>( + [this](::grpc::ServerContext* context, + ::grpc::ServerUnaryStreamer< + ::management::SetTargetStateRequest, ::management::SetTargetStateResponse>* streamer) { + return this->StreamedSetTargetState(context, + streamer); + })); + } + ~WithStreamedUnaryMethod_SetTargetState() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status SetTargetState(::grpc::ServerContext* /*context*/, const ::management::SetTargetStateRequest* /*request*/, ::management::SetTargetStateResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedSetTargetState(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::management::SetTargetStateRequest,::management::SetTargetStateResponse>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_GetPools : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithStreamedUnaryMethod_GetPools() { + ::grpc::Service::MarkMethodStreamed(6, + new ::grpc::internal::StreamedUnaryHandler< + ::management::GetPoolsRequest, ::management::GetPoolsResponse>( + [this](::grpc::ServerContext* context, + ::grpc::ServerUnaryStreamer< + ::management::GetPoolsRequest, ::management::GetPoolsResponse>* streamer) { + return this->StreamedGetPools(context, + streamer); + })); + } + ~WithStreamedUnaryMethod_GetPools() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status GetPools(::grpc::ServerContext* /*context*/, const ::management::GetPoolsRequest* /*request*/, ::management::GetPoolsResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedGetPools(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::management::GetPoolsRequest,::management::GetPoolsResponse>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_CreatePool : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithStreamedUnaryMethod_CreatePool() { + ::grpc::Service::MarkMethodStreamed(7, + new ::grpc::internal::StreamedUnaryHandler< + ::management::CreatePoolRequest, ::management::CreatePoolResponse>( + [this](::grpc::ServerContext* context, + ::grpc::ServerUnaryStreamer< + ::management::CreatePoolRequest, ::management::CreatePoolResponse>* streamer) { + return this->StreamedCreatePool(context, + streamer); + })); + } + ~WithStreamedUnaryMethod_CreatePool() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status CreatePool(::grpc::ServerContext* /*context*/, const ::management::CreatePoolRequest* /*request*/, ::management::CreatePoolResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedCreatePool(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::management::CreatePoolRequest,::management::CreatePoolResponse>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_AssignPool : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithStreamedUnaryMethod_AssignPool() { + ::grpc::Service::MarkMethodStreamed(8, + new ::grpc::internal::StreamedUnaryHandler< + ::management::AssignPoolRequest, ::management::AssignPoolResponse>( + [this](::grpc::ServerContext* context, + ::grpc::ServerUnaryStreamer< + ::management::AssignPoolRequest, ::management::AssignPoolResponse>* streamer) { + return this->StreamedAssignPool(context, + streamer); + })); + } + ~WithStreamedUnaryMethod_AssignPool() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status AssignPool(::grpc::ServerContext* /*context*/, const ::management::AssignPoolRequest* /*request*/, ::management::AssignPoolResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedAssignPool(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::management::AssignPoolRequest,::management::AssignPoolResponse>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_DeletePool : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithStreamedUnaryMethod_DeletePool() { + ::grpc::Service::MarkMethodStreamed(9, + new ::grpc::internal::StreamedUnaryHandler< + ::management::DeletePoolRequest, ::management::DeletePoolResponse>( + [this](::grpc::ServerContext* context, + ::grpc::ServerUnaryStreamer< + ::management::DeletePoolRequest, ::management::DeletePoolResponse>* streamer) { + return this->StreamedDeletePool(context, + streamer); + })); + } + ~WithStreamedUnaryMethod_DeletePool() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status DeletePool(::grpc::ServerContext* /*context*/, const ::management::DeletePoolRequest* /*request*/, ::management::DeletePoolResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedDeletePool(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::management::DeletePoolRequest,::management::DeletePoolResponse>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_GetBuddyGroups : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithStreamedUnaryMethod_GetBuddyGroups() { + ::grpc::Service::MarkMethodStreamed(10, + new ::grpc::internal::StreamedUnaryHandler< + ::management::GetBuddyGroupsRequest, ::management::GetBuddyGroupsResponse>( + [this](::grpc::ServerContext* context, + ::grpc::ServerUnaryStreamer< + ::management::GetBuddyGroupsRequest, ::management::GetBuddyGroupsResponse>* streamer) { + return this->StreamedGetBuddyGroups(context, + streamer); + })); + } + ~WithStreamedUnaryMethod_GetBuddyGroups() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status GetBuddyGroups(::grpc::ServerContext* /*context*/, const ::management::GetBuddyGroupsRequest* /*request*/, ::management::GetBuddyGroupsResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedGetBuddyGroups(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::management::GetBuddyGroupsRequest,::management::GetBuddyGroupsResponse>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_CreateBuddyGroup : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithStreamedUnaryMethod_CreateBuddyGroup() { + ::grpc::Service::MarkMethodStreamed(11, + new ::grpc::internal::StreamedUnaryHandler< + ::management::CreateBuddyGroupRequest, ::management::CreateBuddyGroupResponse>( + [this](::grpc::ServerContext* context, + ::grpc::ServerUnaryStreamer< + ::management::CreateBuddyGroupRequest, ::management::CreateBuddyGroupResponse>* streamer) { + return this->StreamedCreateBuddyGroup(context, + streamer); + })); + } + ~WithStreamedUnaryMethod_CreateBuddyGroup() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status CreateBuddyGroup(::grpc::ServerContext* /*context*/, const ::management::CreateBuddyGroupRequest* /*request*/, ::management::CreateBuddyGroupResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedCreateBuddyGroup(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::management::CreateBuddyGroupRequest,::management::CreateBuddyGroupResponse>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_DeleteBuddyGroup : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithStreamedUnaryMethod_DeleteBuddyGroup() { + ::grpc::Service::MarkMethodStreamed(12, + new ::grpc::internal::StreamedUnaryHandler< + ::management::DeleteBuddyGroupRequest, ::management::DeleteBuddyGroupResponse>( + [this](::grpc::ServerContext* context, + ::grpc::ServerUnaryStreamer< + ::management::DeleteBuddyGroupRequest, ::management::DeleteBuddyGroupResponse>* streamer) { + return this->StreamedDeleteBuddyGroup(context, + streamer); + })); + } + ~WithStreamedUnaryMethod_DeleteBuddyGroup() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status DeleteBuddyGroup(::grpc::ServerContext* /*context*/, const ::management::DeleteBuddyGroupRequest* /*request*/, ::management::DeleteBuddyGroupResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedDeleteBuddyGroup(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::management::DeleteBuddyGroupRequest,::management::DeleteBuddyGroupResponse>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_MirrorRootInode : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithStreamedUnaryMethod_MirrorRootInode() { + ::grpc::Service::MarkMethodStreamed(13, + new ::grpc::internal::StreamedUnaryHandler< + ::management::MirrorRootInodeRequest, ::management::MirrorRootInodeResponse>( + [this](::grpc::ServerContext* context, + ::grpc::ServerUnaryStreamer< + ::management::MirrorRootInodeRequest, ::management::MirrorRootInodeResponse>* streamer) { + return this->StreamedMirrorRootInode(context, + streamer); + })); + } + ~WithStreamedUnaryMethod_MirrorRootInode() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status MirrorRootInode(::grpc::ServerContext* /*context*/, const ::management::MirrorRootInodeRequest* /*request*/, ::management::MirrorRootInodeResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedMirrorRootInode(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::management::MirrorRootInodeRequest,::management::MirrorRootInodeResponse>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_StartResync : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithStreamedUnaryMethod_StartResync() { + ::grpc::Service::MarkMethodStreamed(14, + new ::grpc::internal::StreamedUnaryHandler< + ::management::StartResyncRequest, ::management::StartResyncResponse>( + [this](::grpc::ServerContext* context, + ::grpc::ServerUnaryStreamer< + ::management::StartResyncRequest, ::management::StartResyncResponse>* streamer) { + return this->StreamedStartResync(context, + streamer); + })); + } + ~WithStreamedUnaryMethod_StartResync() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status StartResync(::grpc::ServerContext* /*context*/, const ::management::StartResyncRequest* /*request*/, ::management::StartResyncResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedStartResync(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::management::StartResyncRequest,::management::StartResyncResponse>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_SetDefaultQuotaLimits : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithStreamedUnaryMethod_SetDefaultQuotaLimits() { + ::grpc::Service::MarkMethodStreamed(15, + new ::grpc::internal::StreamedUnaryHandler< + ::management::SetDefaultQuotaLimitsRequest, ::management::SetDefaultQuotaLimitsResponse>( + [this](::grpc::ServerContext* context, + ::grpc::ServerUnaryStreamer< + ::management::SetDefaultQuotaLimitsRequest, ::management::SetDefaultQuotaLimitsResponse>* streamer) { + return this->StreamedSetDefaultQuotaLimits(context, + streamer); + })); + } + ~WithStreamedUnaryMethod_SetDefaultQuotaLimits() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status SetDefaultQuotaLimits(::grpc::ServerContext* /*context*/, const ::management::SetDefaultQuotaLimitsRequest* /*request*/, ::management::SetDefaultQuotaLimitsResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedSetDefaultQuotaLimits(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::management::SetDefaultQuotaLimitsRequest,::management::SetDefaultQuotaLimitsResponse>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_SetQuotaLimits : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithStreamedUnaryMethod_SetQuotaLimits() { + ::grpc::Service::MarkMethodStreamed(16, + new ::grpc::internal::StreamedUnaryHandler< + ::management::SetQuotaLimitsRequest, ::management::SetQuotaLimitsResponse>( + [this](::grpc::ServerContext* context, + ::grpc::ServerUnaryStreamer< + ::management::SetQuotaLimitsRequest, ::management::SetQuotaLimitsResponse>* streamer) { + return this->StreamedSetQuotaLimits(context, + streamer); + })); + } + ~WithStreamedUnaryMethod_SetQuotaLimits() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status SetQuotaLimits(::grpc::ServerContext* /*context*/, const ::management::SetQuotaLimitsRequest* /*request*/, ::management::SetQuotaLimitsResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedSetQuotaLimits(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::management::SetQuotaLimitsRequest,::management::SetQuotaLimitsResponse>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_GetLicense : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithStreamedUnaryMethod_GetLicense() { + ::grpc::Service::MarkMethodStreamed(19, + new ::grpc::internal::StreamedUnaryHandler< + ::management::GetLicenseRequest, ::management::GetLicenseResponse>( + [this](::grpc::ServerContext* context, + ::grpc::ServerUnaryStreamer< + ::management::GetLicenseRequest, ::management::GetLicenseResponse>* streamer) { + return this->StreamedGetLicense(context, + streamer); + })); + } + ~WithStreamedUnaryMethod_GetLicense() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status GetLicense(::grpc::ServerContext* /*context*/, const ::management::GetLicenseRequest* /*request*/, ::management::GetLicenseResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedGetLicense(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::management::GetLicenseRequest,::management::GetLicenseResponse>* server_unary_streamer) = 0; + }; + typedef WithStreamedUnaryMethod_SetAlias > > > > > > > > > > > > > > > > > StreamedUnaryService; + template + class WithSplitStreamingMethod_GetQuotaLimits : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithSplitStreamingMethod_GetQuotaLimits() { + ::grpc::Service::MarkMethodStreamed(17, + new ::grpc::internal::SplitServerStreamingHandler< + ::management::GetQuotaLimitsRequest, ::management::GetQuotaLimitsResponse>( + [this](::grpc::ServerContext* context, + ::grpc::ServerSplitStreamer< + ::management::GetQuotaLimitsRequest, ::management::GetQuotaLimitsResponse>* streamer) { + return this->StreamedGetQuotaLimits(context, + streamer); + })); + } + ~WithSplitStreamingMethod_GetQuotaLimits() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status GetQuotaLimits(::grpc::ServerContext* /*context*/, const ::management::GetQuotaLimitsRequest* /*request*/, ::grpc::ServerWriter< ::management::GetQuotaLimitsResponse>* /*writer*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with split streamed + virtual ::grpc::Status StreamedGetQuotaLimits(::grpc::ServerContext* context, ::grpc::ServerSplitStreamer< ::management::GetQuotaLimitsRequest,::management::GetQuotaLimitsResponse>* server_split_streamer) = 0; + }; + template + class WithSplitStreamingMethod_GetQuotaUsage : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithSplitStreamingMethod_GetQuotaUsage() { + ::grpc::Service::MarkMethodStreamed(18, + new ::grpc::internal::SplitServerStreamingHandler< + ::management::GetQuotaUsageRequest, ::management::GetQuotaUsageResponse>( + [this](::grpc::ServerContext* context, + ::grpc::ServerSplitStreamer< + ::management::GetQuotaUsageRequest, ::management::GetQuotaUsageResponse>* streamer) { + return this->StreamedGetQuotaUsage(context, + streamer); + })); + } + ~WithSplitStreamingMethod_GetQuotaUsage() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status GetQuotaUsage(::grpc::ServerContext* /*context*/, const ::management::GetQuotaUsageRequest* /*request*/, ::grpc::ServerWriter< ::management::GetQuotaUsageResponse>* /*writer*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with split streamed + virtual ::grpc::Status StreamedGetQuotaUsage(::grpc::ServerContext* context, ::grpc::ServerSplitStreamer< ::management::GetQuotaUsageRequest,::management::GetQuotaUsageResponse>* server_split_streamer) = 0; + }; + typedef WithSplitStreamingMethod_GetQuotaLimits > SplitStreamedService; + typedef WithStreamedUnaryMethod_SetAlias > > > > > > > > > > > > > > > > > > > StreamedService; +}; + +} // namespace management + + +#include +#endif // GRPC_management_2eproto__INCLUDED diff --git a/cpp/management.pb.cc b/cpp/include/proto/management.pb.cc similarity index 56% rename from cpp/management.pb.cc rename to cpp/include/proto/management.pb.cc index 8b5fad4..6d1891a 100644 --- a/cpp/management.pb.cc +++ b/cpp/include/proto/management.pb.cc @@ -1,7 +1,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // NO CHECKED-IN PROTOBUF GENCODE // source: management.proto -// Protobuf C++ Version: 5.29.2 +// Protobuf C++ Version: 6.31.1 #include "management.pb.h" @@ -25,10 +25,10 @@ namespace _pb = ::google::protobuf; namespace _pbi = ::google::protobuf::internal; namespace _fl = ::google::protobuf::internal::field_layout; namespace management { - template +template PROTOBUF_CONSTEXPR StartResyncResponse::StartResyncResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} + : ::google::protobuf::internal::ZeroFieldsBase(StartResyncResponse_class_data_.base()){} #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::internal::ZeroFieldsBase() { } @@ -43,10 +43,10 @@ struct StartResyncResponseDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StartResyncResponseDefaultTypeInternal _StartResyncResponse_default_instance_; - template +template PROTOBUF_CONSTEXPR SetTargetStateResponse::SetTargetStateResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} + : ::google::protobuf::internal::ZeroFieldsBase(SetTargetStateResponse_class_data_.base()){} #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::internal::ZeroFieldsBase() { } @@ -61,10 +61,10 @@ struct SetTargetStateResponseDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetTargetStateResponseDefaultTypeInternal _SetTargetStateResponse_default_instance_; - template +template PROTOBUF_CONSTEXPR SetQuotaLimitsResponse::SetQuotaLimitsResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} + : ::google::protobuf::internal::ZeroFieldsBase(SetQuotaLimitsResponse_class_data_.base()){} #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::internal::ZeroFieldsBase() { } @@ -79,10 +79,10 @@ struct SetQuotaLimitsResponseDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetQuotaLimitsResponseDefaultTypeInternal _SetQuotaLimitsResponse_default_instance_; - template +template PROTOBUF_CONSTEXPR SetDefaultQuotaLimitsResponse::SetDefaultQuotaLimitsResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} + : ::google::protobuf::internal::ZeroFieldsBase(SetDefaultQuotaLimitsResponse_class_data_.base()){} #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::internal::ZeroFieldsBase() { } @@ -97,10 +97,10 @@ struct SetDefaultQuotaLimitsResponseDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetDefaultQuotaLimitsResponseDefaultTypeInternal _SetDefaultQuotaLimitsResponse_default_instance_; - template +template PROTOBUF_CONSTEXPR SetAliasResponse::SetAliasResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} + : ::google::protobuf::internal::ZeroFieldsBase(SetAliasResponse_class_data_.base()){} #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::internal::ZeroFieldsBase() { } @@ -115,10 +115,10 @@ struct SetAliasResponseDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetAliasResponseDefaultTypeInternal _SetAliasResponse_default_instance_; - template +template PROTOBUF_CONSTEXPR MirrorRootInodeResponse::MirrorRootInodeResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} + : ::google::protobuf::internal::ZeroFieldsBase(MirrorRootInodeResponse_class_data_.base()){} #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::internal::ZeroFieldsBase() { } @@ -133,10 +133,10 @@ struct MirrorRootInodeResponseDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MirrorRootInodeResponseDefaultTypeInternal _MirrorRootInodeResponse_default_instance_; - template +template PROTOBUF_CONSTEXPR MirrorRootInodeRequest::MirrorRootInodeRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} + : ::google::protobuf::internal::ZeroFieldsBase(MirrorRootInodeRequest_class_data_.base()){} #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::internal::ZeroFieldsBase() { } @@ -151,10 +151,10 @@ struct MirrorRootInodeRequestDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MirrorRootInodeRequestDefaultTypeInternal _MirrorRootInodeRequest_default_instance_; - template +template PROTOBUF_CONSTEXPR GetTargetsRequest::GetTargetsRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} + : ::google::protobuf::internal::ZeroFieldsBase(GetTargetsRequest_class_data_.base()){} #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::internal::ZeroFieldsBase() { } @@ -172,13 +172,13 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT inline constexpr GetPoolsRequest::Impl_::Impl_( ::_pbi::ConstantInitialized) noexcept - : with_quota_limits_{false}, - _cached_size_{0} {} + : _cached_size_{0}, + with_quota_limits_{false} {} template PROTOBUF_CONSTEXPR GetPoolsRequest::GetPoolsRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(GetPoolsRequest_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -197,19 +197,19 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT inline constexpr GetNodesResponse_Node_Nic::Impl_::Impl_( ::_pbi::ConstantInitialized) noexcept - : addr_( + : _cached_size_{0}, + 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} {} + nic_type_{static_cast< ::beegfs::NicType >(0)} {} template PROTOBUF_CONSTEXPR GetNodesResponse_Node_Nic::GetNodesResponse_Node_Nic(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(GetNodesResponse_Node_Nic_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -228,13 +228,13 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT inline constexpr GetNodesRequest::Impl_::Impl_( ::_pbi::ConstantInitialized) noexcept - : include_nics_{false}, - _cached_size_{0} {} + : _cached_size_{0}, + include_nics_{false} {} template PROTOBUF_CONSTEXPR GetNodesRequest::GetNodesRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(GetNodesRequest_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -259,7 +259,7 @@ inline constexpr GetLicenseRequest::Impl_::Impl_( template PROTOBUF_CONSTEXPR GetLicenseRequest::GetLicenseRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(GetLicenseRequest_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -275,10 +275,10 @@ struct GetLicenseRequestDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetLicenseRequestDefaultTypeInternal _GetLicenseRequest_default_instance_; - template +template PROTOBUF_CONSTEXPR GetBuddyGroupsRequest::GetBuddyGroupsRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} + : ::google::protobuf::internal::ZeroFieldsBase(GetBuddyGroupsRequest_class_data_.base()){} #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::internal::ZeroFieldsBase() { } @@ -304,7 +304,7 @@ inline constexpr StartResyncRequest::Impl_::Impl_( template PROTOBUF_CONSTEXPR StartResyncRequest::StartResyncRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(StartResyncRequest_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -330,7 +330,7 @@ inline constexpr SetTargetStateRequest::Impl_::Impl_( template PROTOBUF_CONSTEXPR SetTargetStateRequest::SetTargetStateRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(SetTargetStateRequest_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -359,7 +359,7 @@ inline constexpr SetDefaultQuotaLimitsRequest::Impl_::Impl_( template PROTOBUF_CONSTEXPR SetDefaultQuotaLimitsRequest::SetDefaultQuotaLimitsRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(SetDefaultQuotaLimitsRequest_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -388,7 +388,7 @@ inline constexpr SetAliasRequest::Impl_::Impl_( template PROTOBUF_CONSTEXPR SetAliasRequest::SetAliasRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(SetAliasRequest_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -419,7 +419,7 @@ inline constexpr QuotaInfo::Impl_::Impl_( template PROTOBUF_CONSTEXPR QuotaInfo::QuotaInfo(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(QuotaInfo_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -455,7 +455,7 @@ inline constexpr GetTargetsResponse_Target::Impl_::Impl_( template PROTOBUF_CONSTEXPR GetTargetsResponse_Target::GetTargetsResponse_Target(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(GetTargetsResponse_Target_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -489,7 +489,7 @@ inline constexpr GetQuotaUsageRequest::Impl_::Impl_( template PROTOBUF_CONSTEXPR GetQuotaUsageRequest::GetQuotaUsageRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(GetQuotaUsageRequest_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -522,7 +522,7 @@ inline constexpr GetQuotaLimitsRequest::Impl_::Impl_( template PROTOBUF_CONSTEXPR GetQuotaLimitsRequest::GetQuotaLimitsRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(GetQuotaLimitsRequest_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -553,7 +553,7 @@ inline constexpr GetPoolsResponse_StoragePool::Impl_::Impl_( template PROTOBUF_CONSTEXPR GetPoolsResponse_StoragePool::GetPoolsResponse_StoragePool(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(GetPoolsResponse_StoragePool_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -581,7 +581,7 @@ inline constexpr GetNodesResponse_Node::Impl_::Impl_( template PROTOBUF_CONSTEXPR GetNodesResponse_Node::GetNodesResponse_Node(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(GetNodesResponse_Node_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -612,7 +612,7 @@ inline constexpr GetBuddyGroupsResponse_BuddyGroup::Impl_::Impl_( template PROTOBUF_CONSTEXPR GetBuddyGroupsResponse_BuddyGroup::GetBuddyGroupsResponse_BuddyGroup(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(GetBuddyGroupsResponse_BuddyGroup_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -637,7 +637,7 @@ inline constexpr DeleteTargetResponse::Impl_::Impl_( template PROTOBUF_CONSTEXPR DeleteTargetResponse::DeleteTargetResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(DeleteTargetResponse_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -663,7 +663,7 @@ inline constexpr DeleteTargetRequest::Impl_::Impl_( template PROTOBUF_CONSTEXPR DeleteTargetRequest::DeleteTargetRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(DeleteTargetRequest_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -688,7 +688,7 @@ inline constexpr DeletePoolResponse::Impl_::Impl_( template PROTOBUF_CONSTEXPR DeletePoolResponse::DeletePoolResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(DeletePoolResponse_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -714,7 +714,7 @@ inline constexpr DeletePoolRequest::Impl_::Impl_( template PROTOBUF_CONSTEXPR DeletePoolRequest::DeletePoolRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(DeletePoolRequest_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -739,7 +739,7 @@ inline constexpr DeleteNodeResponse::Impl_::Impl_( template PROTOBUF_CONSTEXPR DeleteNodeResponse::DeleteNodeResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(DeleteNodeResponse_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -765,7 +765,7 @@ inline constexpr DeleteNodeRequest::Impl_::Impl_( template PROTOBUF_CONSTEXPR DeleteNodeRequest::DeleteNodeRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(DeleteNodeRequest_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -790,7 +790,7 @@ inline constexpr DeleteBuddyGroupResponse::Impl_::Impl_( template PROTOBUF_CONSTEXPR DeleteBuddyGroupResponse::DeleteBuddyGroupResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(DeleteBuddyGroupResponse_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -816,7 +816,7 @@ inline constexpr DeleteBuddyGroupRequest::Impl_::Impl_( template PROTOBUF_CONSTEXPR DeleteBuddyGroupRequest::DeleteBuddyGroupRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(DeleteBuddyGroupRequest_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -841,7 +841,7 @@ inline constexpr CreatePoolResponse::Impl_::Impl_( template PROTOBUF_CONSTEXPR CreatePoolResponse::CreatePoolResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(CreatePoolResponse_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -872,7 +872,7 @@ inline constexpr CreatePoolRequest::Impl_::Impl_( template PROTOBUF_CONSTEXPR CreatePoolRequest::CreatePoolRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(CreatePoolRequest_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -897,7 +897,7 @@ inline constexpr CreateBuddyGroupResponse::Impl_::Impl_( template PROTOBUF_CONSTEXPR CreateBuddyGroupResponse::CreateBuddyGroupResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(CreateBuddyGroupResponse_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -928,7 +928,7 @@ inline constexpr CreateBuddyGroupRequest::Impl_::Impl_( template PROTOBUF_CONSTEXPR CreateBuddyGroupRequest::CreateBuddyGroupRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(CreateBuddyGroupRequest_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -953,7 +953,7 @@ inline constexpr AssignPoolResponse::Impl_::Impl_( template PROTOBUF_CONSTEXPR AssignPoolResponse::AssignPoolResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(AssignPoolResponse_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -980,7 +980,7 @@ inline constexpr AssignPoolRequest::Impl_::Impl_( template PROTOBUF_CONSTEXPR AssignPoolRequest::AssignPoolRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(AssignPoolRequest_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -1005,7 +1005,7 @@ inline constexpr SetQuotaLimitsRequest::Impl_::Impl_( template PROTOBUF_CONSTEXPR SetQuotaLimitsRequest::SetQuotaLimitsRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(SetQuotaLimitsRequest_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -1030,7 +1030,7 @@ inline constexpr GetTargetsResponse::Impl_::Impl_( template PROTOBUF_CONSTEXPR GetTargetsResponse::GetTargetsResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(GetTargetsResponse_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -1056,7 +1056,7 @@ inline constexpr GetQuotaUsageResponse::Impl_::Impl_( template PROTOBUF_CONSTEXPR GetQuotaUsageResponse::GetQuotaUsageResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(GetQuotaUsageResponse_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -1081,7 +1081,7 @@ inline constexpr GetQuotaLimitsResponse::Impl_::Impl_( template PROTOBUF_CONSTEXPR GetQuotaLimitsResponse::GetQuotaLimitsResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(GetQuotaLimitsResponse_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -1106,7 +1106,7 @@ inline constexpr GetPoolsResponse::Impl_::Impl_( template PROTOBUF_CONSTEXPR GetPoolsResponse::GetPoolsResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(GetPoolsResponse_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -1136,7 +1136,7 @@ inline constexpr GetNodesResponse::Impl_::Impl_( template PROTOBUF_CONSTEXPR GetNodesResponse::GetNodesResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(GetNodesResponse_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -1161,7 +1161,7 @@ inline constexpr GetLicenseResponse::Impl_::Impl_( template PROTOBUF_CONSTEXPR GetLicenseResponse::GetLicenseResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(GetLicenseResponse_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -1186,7 +1186,7 @@ inline constexpr GetBuddyGroupsResponse::Impl_::Impl_( template PROTOBUF_CONSTEXPR GetBuddyGroupsResponse::GetBuddyGroupsResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(GetBuddyGroupsResponse_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -1203,79 +1203,51 @@ struct GetBuddyGroupsResponseDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetBuddyGroupsResponseDefaultTypeInternal _GetBuddyGroupsResponse_default_instance_; } // namespace management -static constexpr const ::_pb::EnumDescriptor** +static constexpr const ::_pb::EnumDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE file_level_enum_descriptors_management_2eproto = nullptr; -static constexpr const ::_pb::ServiceDescriptor** +static constexpr const ::_pb::ServiceDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE file_level_service_descriptors_management_2eproto = nullptr; const ::uint32_t TableStruct_management_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( protodesc_cold) = { + 0x081, // bitmap 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) + 6, // hasbit index offset PROTOBUF_FIELD_OFFSET(::management::SetAliasRequest, _impl_.entity_id_), PROTOBUF_FIELD_OFFSET(::management::SetAliasRequest, _impl_.entity_type_), PROTOBUF_FIELD_OFFSET(::management::SetAliasRequest, _impl_.new_alias_), + 1, + 2, 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) + 0x000, // bitmap + 0x081, // bitmap + PROTOBUF_FIELD_OFFSET(::management::GetNodesRequest, _impl_._has_bits_), + 4, // hasbit index offset 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) + 0, + 0x081, // bitmap + PROTOBUF_FIELD_OFFSET(::management::GetNodesResponse_Node_Nic, _impl_._has_bits_), + 6, // hasbit index offset 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_), + 0, + 1, + 2, + 0x081, // bitmap 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) + 7, // hasbit index offset 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, + 1, + 2, ~0u, - ~0u, - ~0u, + 0x081, // bitmap 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) + 7, // hasbit index offset PROTOBUF_FIELD_OFFSET(::management::GetNodesResponse, _impl_.nodes_), PROTOBUF_FIELD_OFFSET(::management::GetNodesResponse, _impl_.meta_root_node_), PROTOBUF_FIELD_OFFSET(::management::GetNodesResponse, _impl_.fs_uuid_), @@ -1284,44 +1256,22 @@ const ::uint32_t 1, 0, 2, + 0x081, // bitmap 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) + 5, // hasbit index offset PROTOBUF_FIELD_OFFSET(::management::DeleteNodeRequest, _impl_.node_), PROTOBUF_FIELD_OFFSET(::management::DeleteNodeRequest, _impl_.execute_), 0, 1, + 0x081, // bitmap 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) + 4, // hasbit index offset 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) + 0x000, // bitmap + 0x081, // bitmap 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) + 15, // hasbit index offset 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_), @@ -1335,85 +1285,47 @@ const ::uint32_t PROTOBUF_FIELD_OFFSET(::management::GetTargetsResponse_Target, _impl_.node_), PROTOBUF_FIELD_OFFSET(::management::GetTargetsResponse_Target, _impl_.storage_pool_), 0, - ~0u, - ~0u, - ~0u, 3, 4, + 8, 5, 6, 7, - ~0u, + 10, + 11, + 9, 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) + 0x000, // bitmap PROTOBUF_FIELD_OFFSET(::management::GetTargetsResponse, _impl_.targets_), + 0x081, // bitmap 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) + 5, // hasbit index offset PROTOBUF_FIELD_OFFSET(::management::DeleteTargetRequest, _impl_.target_), PROTOBUF_FIELD_OFFSET(::management::DeleteTargetRequest, _impl_.execute_), 0, 1, + 0x081, // bitmap 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) + 4, // hasbit index offset PROTOBUF_FIELD_OFFSET(::management::DeleteTargetResponse, _impl_.target_), 0, + 0x081, // bitmap 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) + 5, // hasbit index offset 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) + 0x000, // bitmap + 0x081, // bitmap + PROTOBUF_FIELD_OFFSET(::management::GetPoolsRequest, _impl_._has_bits_), + 4, // hasbit index offset PROTOBUF_FIELD_OFFSET(::management::GetPoolsRequest, _impl_.with_quota_limits_), + 0, + 0x081, // bitmap 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) + 10, // hasbit index offset 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_), @@ -1428,23 +1340,11 @@ const ::uint32_t 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) + 0x000, // bitmap PROTOBUF_FIELD_OFFSET(::management::GetPoolsResponse, _impl_.pools_), + 0x081, // bitmap 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) + 8, // hasbit index offset PROTOBUF_FIELD_OFFSET(::management::CreatePoolRequest, _impl_.node_type_), PROTOBUF_FIELD_OFFSET(::management::CreatePoolRequest, _impl_.num_id_), PROTOBUF_FIELD_OFFSET(::management::CreatePoolRequest, _impl_.alias_), @@ -1455,78 +1355,41 @@ const ::uint32_t 0, ~0u, ~0u, + 0x081, // bitmap 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) + 4, // hasbit index offset PROTOBUF_FIELD_OFFSET(::management::CreatePoolResponse, _impl_.pool_), 0, + 0x081, // bitmap 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) + 6, // hasbit index offset 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, + 0x081, // bitmap 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) + 4, // hasbit index offset PROTOBUF_FIELD_OFFSET(::management::AssignPoolResponse, _impl_.pool_), 0, + 0x081, // bitmap 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) + 5, // hasbit index offset PROTOBUF_FIELD_OFFSET(::management::DeletePoolRequest, _impl_.pool_), PROTOBUF_FIELD_OFFSET(::management::DeletePoolRequest, _impl_.execute_), 0, 1, + 0x081, // bitmap 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) + 4, // hasbit index offset 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) + 0x000, // bitmap + 0x081, // bitmap 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) + 10, // hasbit index offset 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_), @@ -1535,29 +1398,17 @@ const ::uint32_t PROTOBUF_FIELD_OFFSET(::management::GetBuddyGroupsResponse_BuddyGroup, _impl_.secondary_consistency_state_), PROTOBUF_FIELD_OFFSET(::management::GetBuddyGroupsResponse_BuddyGroup, _impl_.storage_pool_), 0, - ~0u, + 4, 1, 2, - ~0u, - ~0u, + 5, + 6, 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) + 0x000, // bitmap PROTOBUF_FIELD_OFFSET(::management::GetBuddyGroupsResponse, _impl_.buddy_groups_), + 0x081, // bitmap 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) + 8, // hasbit index offset PROTOBUF_FIELD_OFFSET(::management::CreateBuddyGroupRequest, _impl_.node_type_), PROTOBUF_FIELD_OFFSET(::management::CreateBuddyGroupRequest, _impl_.num_id_), PROTOBUF_FIELD_OFFSET(::management::CreateBuddyGroupRequest, _impl_.alias_), @@ -1568,84 +1419,38 @@ const ::uint32_t 0, 1, 2, + 0x081, // bitmap 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) + 4, // hasbit index offset PROTOBUF_FIELD_OFFSET(::management::CreateBuddyGroupResponse, _impl_.group_), 0, + 0x081, // bitmap 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) + 5, // hasbit index offset PROTOBUF_FIELD_OFFSET(::management::DeleteBuddyGroupRequest, _impl_.group_), PROTOBUF_FIELD_OFFSET(::management::DeleteBuddyGroupRequest, _impl_.execute_), 0, 1, + 0x081, // bitmap 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) + 4, // hasbit index offset 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) + 0x000, // bitmap + 0x000, // bitmap + 0x081, // bitmap 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) + 6, // hasbit index offset 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) + 0x000, // bitmap + 0x081, // bitmap 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) + 10, // hasbit index offset PROTOBUF_FIELD_OFFSET(::management::QuotaInfo, _impl_.quota_id_), PROTOBUF_FIELD_OFFSET(::management::QuotaInfo, _impl_.id_type_), PROTOBUF_FIELD_OFFSET(::management::QuotaInfo, _impl_.pool_), @@ -1654,20 +1459,15 @@ const ::uint32_t PROTOBUF_FIELD_OFFSET(::management::QuotaInfo, _impl_.space_used_), PROTOBUF_FIELD_OFFSET(::management::QuotaInfo, _impl_.inode_used_), 1, - ~0u, - 0, 2, + 0, 3, 4, 5, + 6, + 0x081, // bitmap 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) + 8, // hasbit index offset 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_), @@ -1678,39 +1478,13 @@ const ::uint32_t 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) + 0x000, // bitmap + 0x000, // bitmap 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) + 0x000, // bitmap + 0x081, // bitmap 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) + 10, // hasbit index offset 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_), @@ -1725,24 +1499,14 @@ const ::uint32_t 4, ~0u, 0, + 0x081, // bitmap 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) + 4, // hasbit index offset PROTOBUF_FIELD_OFFSET(::management::GetQuotaLimitsResponse, _impl_.limits_), 0, + 0x081, // bitmap 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) + 11, // hasbit index offset 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_), @@ -1759,90 +1523,75 @@ const ::uint32_t ~0u, 0, 5, + 0x081, // bitmap 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) + 5, // hasbit index offset PROTOBUF_FIELD_OFFSET(::management::GetQuotaUsageResponse, _impl_.entry_), PROTOBUF_FIELD_OFFSET(::management::GetQuotaUsageResponse, _impl_.refresh_period_s_), 0, 1, + 0x081, // bitmap 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) + 4, // hasbit index offset PROTOBUF_FIELD_OFFSET(::management::GetLicenseRequest, _impl_.reload_), 0, + 0x081, // bitmap 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) + 4, // hasbit index offset 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[] = { + {0, sizeof(::management::SetAliasRequest)}, + {9, sizeof(::management::SetAliasResponse)}, + {10, sizeof(::management::GetNodesRequest)}, + {15, sizeof(::management::GetNodesResponse_Node_Nic)}, + {24, sizeof(::management::GetNodesResponse_Node)}, + {35, sizeof(::management::GetNodesResponse)}, + {46, sizeof(::management::DeleteNodeRequest)}, + {53, sizeof(::management::DeleteNodeResponse)}, + {58, sizeof(::management::GetTargetsRequest)}, + {59, sizeof(::management::GetTargetsResponse_Target)}, + {86, sizeof(::management::GetTargetsResponse)}, + {88, sizeof(::management::DeleteTargetRequest)}, + {95, sizeof(::management::DeleteTargetResponse)}, + {100, sizeof(::management::SetTargetStateRequest)}, + {107, sizeof(::management::SetTargetStateResponse)}, + {108, sizeof(::management::GetPoolsRequest)}, + {113, sizeof(::management::GetPoolsResponse_StoragePool)}, + {130, sizeof(::management::GetPoolsResponse)}, + {132, sizeof(::management::CreatePoolRequest)}, + {145, sizeof(::management::CreatePoolResponse)}, + {150, sizeof(::management::AssignPoolRequest)}, + {159, sizeof(::management::AssignPoolResponse)}, + {164, sizeof(::management::DeletePoolRequest)}, + {171, sizeof(::management::DeletePoolResponse)}, + {176, sizeof(::management::GetBuddyGroupsRequest)}, + {177, sizeof(::management::GetBuddyGroupsResponse_BuddyGroup)}, + {194, sizeof(::management::GetBuddyGroupsResponse)}, + {196, sizeof(::management::CreateBuddyGroupRequest)}, + {209, sizeof(::management::CreateBuddyGroupResponse)}, + {214, sizeof(::management::DeleteBuddyGroupRequest)}, + {221, sizeof(::management::DeleteBuddyGroupResponse)}, + {226, sizeof(::management::MirrorRootInodeRequest)}, + {227, sizeof(::management::MirrorRootInodeResponse)}, + {228, sizeof(::management::StartResyncRequest)}, + {237, sizeof(::management::StartResyncResponse)}, + {238, sizeof(::management::QuotaInfo)}, + {255, sizeof(::management::SetDefaultQuotaLimitsRequest)}, + {268, sizeof(::management::SetDefaultQuotaLimitsResponse)}, + {269, sizeof(::management::SetQuotaLimitsRequest)}, + {271, sizeof(::management::SetQuotaLimitsResponse)}, + {272, sizeof(::management::GetQuotaLimitsRequest)}, + {289, sizeof(::management::GetQuotaLimitsResponse)}, + {294, sizeof(::management::GetQuotaUsageRequest)}, + {313, sizeof(::management::GetQuotaUsageResponse)}, + {320, sizeof(::management::GetLicenseRequest)}, + {325, sizeof(::management::GetLicenseResponse)}, +}; +static const ::_pb::Message* PROTOBUF_NONNULL const file_default_instances[] = { &::management::_SetAliasRequest_default_instance_._instance, &::management::_SetAliasResponse_default_instance_._instance, &::management::_GetNodesRequest_default_instance_._instance, @@ -2088,8 +1837,8 @@ const char descriptor_table_protodef_management_2eproto[] ABSL_ATTRIBUTE_SECTION "ement.GetLicenseResponseB-Z+github.com/t" "hinkparq/protobuf/go/managementb\006proto3" }; -static const ::_pbi::DescriptorTable* const descriptor_table_management_2eproto_deps[2] = - { +static const ::_pbi::DescriptorTable* PROTOBUF_NONNULL const + descriptor_table_management_2eproto_deps[2] = { &::descriptor_table_beegfs_2eproto, &::descriptor_table_license_2eproto, }; @@ -2116,7 +1865,7 @@ namespace management { class SetAliasRequest::_Internal { public: using HasBits = - decltype(std::declval()._impl_._has_bits_); + decltype(::std::declval()._impl_._has_bits_); static constexpr ::int32_t kHasBitsOffset = 8 * PROTOBUF_FIELD_OFFSET(SetAliasRequest, _impl_._has_bits_); }; @@ -2124,29 +1873,30 @@ class SetAliasRequest::_Internal { void SetAliasRequest::clear_entity_id() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.entity_id_ != nullptr) _impl_.entity_id_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000002u; } -SetAliasRequest::SetAliasRequest(::google::protobuf::Arena* arena) +SetAliasRequest::SetAliasRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, SetAliasRequest_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) +PROTOBUF_NDEBUG_INLINE SetAliasRequest::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SetAliasRequest& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, SetAliasRequest_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -2156,20 +1906,20 @@ SetAliasRequest::SetAliasRequest( 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_id_ = ((cached_has_bits & 0x00000002u) != 0) + ? ::google::protobuf::Message::CopyConstruct(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_( +PROTOBUF_NDEBUG_INLINE SetAliasRequest::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : _cached_size_{0}, new_alias_(arena) {} -inline void SetAliasRequest::SharedCtor(::_pb::Arena* arena) { +inline void SetAliasRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); ::memset(reinterpret_cast(&_impl_) + offsetof(Impl_, entity_id_), @@ -2191,43 +1941,51 @@ inline void SetAliasRequest::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* SetAliasRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL SetAliasRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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(); +constexpr auto SetAliasRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull SetAliasRequest_class_data_ = + SetAliasRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +SetAliasRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&SetAliasRequest_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(SetAliasRequest_class_data_.tc_table); + return SetAliasRequest_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<2, 3, 1, 44, 2> SetAliasRequest::_table_ = { +const ::_pbi::TcParseTable<2, 3, 1, 44, 2> +SetAliasRequest::_table_ = { { PROTOBUF_FIELD_OFFSET(SetAliasRequest, _impl_._has_bits_), 0, // no _extensions_ @@ -2238,7 +1996,7 @@ const ::_pbi::TcParseTable<2, 3, 1, 44, 2> SetAliasRequest::_table_ = { 3, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + SetAliasRequest_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -2248,34 +2006,35 @@ const ::_pbi::TcParseTable<2, 3, 1, 44, 2> SetAliasRequest::_table_ = { {::_pbi::TcParser::MiniParse, {}}, // .beegfs.EntityIdSet entity_id = 1; {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(SetAliasRequest, _impl_.entity_id_)}}, + {10, 1, 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_)}}, + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SetAliasRequest, _impl_.entity_type_), 2>(), + {16, 2, 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_)}}, + {26, 0, 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, + {PROTOBUF_FIELD_OFFSET(SetAliasRequest, _impl_.entity_id_), _Internal::kHasBitsOffset + 1, 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)}, + {PROTOBUF_FIELD_OFFSET(SetAliasRequest, _impl_.entity_type_), _Internal::kHasBitsOffset + 2, 0, + (0 | ::_fl::kFcOptional | ::_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>()}, - }}, {{ + {PROTOBUF_FIELD_OFFSET(SetAliasRequest, _impl_.new_alias_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_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_); @@ -2283,11 +2042,15 @@ PROTOBUF_NOINLINE void SetAliasRequest::Clear() { // 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(); + if ((cached_has_bits & 0x00000003u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + _impl_.new_alias_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000002u) != 0) { + ABSL_DCHECK(_impl_.entity_id_ != nullptr); + _impl_.entity_id_->Clear(); + } } _impl_.entity_type_ = 0; _impl_._has_bits_.Clear(); @@ -2295,92 +2058,96 @@ PROTOBUF_NOINLINE void SetAliasRequest::Clear() { } #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; - } +::uint8_t* PROTOBUF_NONNULL SetAliasRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const SetAliasRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL SetAliasRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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 & 0x00000002u) != 0) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.entity_id_, this_._impl_.entity_id_->GetCachedSize(), target, + stream); + } + + // .beegfs.EntityType entity_type = 2; + if ((cached_has_bits & 0x00000004u) != 0) { + 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 ((cached_has_bits & 0x00000001u) != 0) { + 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 (ABSL_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_); - } +::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_); + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000007u) != 0) { + // string new_alias = 3; + if ((cached_has_bits & 0x00000001u) != 0) { + if (!this_._internal_new_alias().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_new_alias()); + } + } + // .beegfs.EntityIdSet entity_id = 1; + if ((cached_has_bits & 0x00000002u) != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.entity_id_); + } + // .beegfs.EntityType entity_type = 2; + if ((cached_has_bits & 0x00000004u) != 0) { + 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); @@ -2391,21 +2158,30 @@ void SetAliasRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const : ::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 ((cached_has_bits & 0x00000007u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + if (!from._internal_new_alias().empty()) { + _this->_internal_set_new_alias(from._internal_new_alias()); + } else { + if (_this->_impl_.new_alias_.IsDefault()) { + _this->_internal_set_new_alias(""); + } + } + } + if ((cached_has_bits & 0x00000002u) != 0) { + ABSL_DCHECK(from._impl_.entity_id_ != nullptr); + if (_this->_impl_.entity_id_ == nullptr) { + _this->_impl_.entity_id_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.entity_id_); + } else { + _this->_impl_.entity_id_->MergeFrom(*from._impl_.entity_id_); + } + } + if ((cached_has_bits & 0x00000004u) != 0) { + if (from._internal_entity_type() != 0) { + _this->_impl_.entity_type_ = from._impl_.entity_type_; + } } - } - 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_); @@ -2419,8 +2195,8 @@ void SetAliasRequest::CopyFrom(const SetAliasRequest& from) { } -void SetAliasRequest::InternalSwap(SetAliasRequest* PROTOBUF_RESTRICT other) { - using std::swap; +void SetAliasRequest::InternalSwap(SetAliasRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; auto* arena = GetArena(); ABSL_DCHECK_EQ(arena, other->GetArena()); _internal_metadata_.InternalSwap(&other->_internal_metadata_); @@ -2443,19 +2219,19 @@ class SetAliasResponse::_Internal { public: }; -SetAliasResponse::SetAliasResponse(::google::protobuf::Arena* arena) +SetAliasResponse::SetAliasResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { + : ::google::protobuf::internal::ZeroFieldsBase(arena, SetAliasResponse_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, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SetAliasResponse& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { + : ::google::protobuf::internal::ZeroFieldsBase(arena, SetAliasResponse_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::internal::ZeroFieldsBase(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -2467,43 +2243,51 @@ SetAliasResponse::SetAliasResponse( // @@protoc_insertion_point(copy_constructor:management.SetAliasResponse) } -inline void* SetAliasResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL SetAliasResponse::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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(); +constexpr auto SetAliasResponse::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull SetAliasResponse_class_data_ = + SetAliasResponse::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +SetAliasResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&SetAliasResponse_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(SetAliasResponse_class_data_.tc_table); + return SetAliasResponse_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 0, 0, 0, 2> SetAliasResponse::_table_ = { +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> +SetAliasResponse::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ @@ -2514,7 +2298,7 @@ const ::_pbi::TcParseTable<0, 0, 0, 0, 2> SetAliasResponse::_table_ = { 0, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), + SetAliasResponse_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -2524,8 +2308,7 @@ const ::_pbi::TcParseTable<0, 0, 0, 0, 2> SetAliasResponse::_table_ = { {::_pbi::TcParser::MiniParse, {}}, }}, {{ 65535, 65535 - }}, - // no field_entries, or aux_entries + }}, // no field_entries, or aux_entries {{ }}, }; @@ -2536,7 +2319,6 @@ const ::_pbi::TcParseTable<0, 0, 0, 0, 2> SetAliasResponse::_table_ = { - ::google::protobuf::Metadata SetAliasResponse::GetMetadata() const { return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } @@ -2544,11 +2326,15 @@ ::google::protobuf::Metadata SetAliasResponse::GetMetadata() const { class GetNodesRequest::_Internal { public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(GetNodesRequest, _impl_._has_bits_); }; -GetNodesRequest::GetNodesRequest(::google::protobuf::Arena* arena) +GetNodesRequest::GetNodesRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, GetNodesRequest_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -2556,16 +2342,22 @@ GetNodesRequest::GetNodesRequest(::google::protobuf::Arena* arena) // @@protoc_insertion_point(arena_constructor:management.GetNodesRequest) } GetNodesRequest::GetNodesRequest( - ::google::protobuf::Arena* arena, const GetNodesRequest& from) - : GetNodesRequest(arena) { - MergeFrom(from); + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetNodesRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, GetNodesRequest_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); } -inline PROTOBUF_NDEBUG_INLINE GetNodesRequest::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE GetNodesRequest::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : _cached_size_{0} {} -inline void GetNodesRequest::SharedCtor(::_pb::Arena* arena) { +inline void GetNodesRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); _impl_.include_nics_ = {}; } @@ -2580,45 +2372,53 @@ inline void GetNodesRequest::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* GetNodesRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL GetNodesRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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(); +constexpr auto GetNodesRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull GetNodesRequest_class_data_ = + GetNodesRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +GetNodesRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&GetNodesRequest_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(GetNodesRequest_class_data_.tc_table); + return GetNodesRequest_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 1, 0, 0, 2> GetNodesRequest::_table_ = { +const ::_pbi::TcParseTable<0, 1, 0, 0, 2> +GetNodesRequest::_table_ = { { - 0, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(GetNodesRequest, _impl_._has_bits_), 0, // no _extensions_ 1, 0, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), @@ -2627,7 +2427,7 @@ const ::_pbi::TcParseTable<0, 1, 0, 0, 2> GetNodesRequest::_table_ = { 1, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), + GetNodesRequest_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -2635,20 +2435,19 @@ const ::_pbi::TcParseTable<0, 1, 0, 0, 2> GetNodesRequest::_table_ = { #endif // PROTOBUF_PREFETCH_PARSE_TABLE }, {{ // bool include_nics = 1; - {::_pbi::TcParser::SingularVarintNoZag1(), - {8, 63, 0, PROTOBUF_FIELD_OFFSET(GetNodesRequest, _impl_.include_nics_)}}, + {::_pbi::TcParser::SingularVarintNoZag1(), + {8, 0, 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)}, + {PROTOBUF_FIELD_OFFSET(GetNodesRequest, _impl_.include_nics_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kBool)}, }}, // no aux_entries {{ }}, }; - PROTOBUF_NOINLINE void GetNodesRequest::Clear() { // @@protoc_insertion_point(message_clear_start:management.GetNodesRequest) ::google::protobuf::internal::TSanWrite(&_impl_); @@ -2657,63 +2456,69 @@ PROTOBUF_NOINLINE void GetNodesRequest::Clear() { (void) cached_has_bits; _impl_.include_nics_ = false; + _impl_._has_bits_.Clear(); _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); +::uint8_t* PROTOBUF_NONNULL GetNodesRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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; +::uint8_t* PROTOBUF_NONNULL GetNodesRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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); - } + // @@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_._impl_._has_bits_[0] & 0x00000001u) != 0) { + 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 (ABSL_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); +::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; +::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; + // @@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; + ::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_); - } + { + // bool include_nics = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000001u) != 0) { + 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); @@ -2723,9 +2528,13 @@ void GetNodesRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const : ::uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (from._internal_include_nics() != 0) { - _this->_impl_.include_nics_ = from._impl_.include_nics_; + cached_has_bits = from._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000001u) != 0) { + if (from._internal_include_nics() != 0) { + _this->_impl_.include_nics_ = from._impl_.include_nics_; + } } + _this->_impl_._has_bits_[0] |= cached_has_bits; _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } @@ -2737,10 +2546,11 @@ void GetNodesRequest::CopyFrom(const GetNodesRequest& from) { } -void GetNodesRequest::InternalSwap(GetNodesRequest* PROTOBUF_RESTRICT other) { - using std::swap; +void GetNodesRequest::InternalSwap(GetNodesRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_.include_nics_, other->_impl_.include_nics_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.include_nics_, other->_impl_.include_nics_); } ::google::protobuf::Metadata GetNodesRequest::GetMetadata() const { @@ -2750,29 +2560,35 @@ ::google::protobuf::Metadata GetNodesRequest::GetMetadata() const { class GetNodesResponse_Node_Nic::_Internal { public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(GetNodesResponse_Node_Nic, _impl_._has_bits_); }; -GetNodesResponse_Node_Nic::GetNodesResponse_Node_Nic(::google::protobuf::Arena* arena) +GetNodesResponse_Node_Nic::GetNodesResponse_Node_Nic(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, GetNodesResponse_Node_Nic_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} {} +PROTOBUF_NDEBUG_INLINE GetNodesResponse_Node_Nic::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::management::GetNodesResponse_Node_Nic& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + addr_(arena, from.addr_), + name_(arena, from.name_) {} GetNodesResponse_Node_Nic::GetNodesResponse_Node_Nic( - ::google::protobuf::Arena* arena, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetNodesResponse_Node_Nic& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, GetNodesResponse_Node_Nic_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -2785,14 +2601,14 @@ GetNodesResponse_Node_Nic::GetNodesResponse_Node_Nic( // @@protoc_insertion_point(copy_constructor:management.GetNodesResponse.Node.Nic) } -inline PROTOBUF_NDEBUG_INLINE GetNodesResponse_Node_Nic::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE GetNodesResponse_Node_Nic::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : addr_(arena), - name_(arena), - _cached_size_{0} {} + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + addr_(arena), + name_(arena) {} -inline void GetNodesResponse_Node_Nic::SharedCtor(::_pb::Arena* arena) { +inline void GetNodesResponse_Node_Nic::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); _impl_.nic_type_ = {}; } @@ -2809,45 +2625,53 @@ inline void GetNodesResponse_Node_Nic::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* GetNodesResponse_Node_Nic::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL GetNodesResponse_Node_Nic::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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(); +constexpr auto GetNodesResponse_Node_Nic::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull GetNodesResponse_Node_Nic_class_data_ = + GetNodesResponse_Node_Nic::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +GetNodesResponse_Node_Nic::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&GetNodesResponse_Node_Nic_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(GetNodesResponse_Node_Nic_class_data_.tc_table); + return GetNodesResponse_Node_Nic_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<2, 3, 0, 53, 2> GetNodesResponse_Node_Nic::_table_ = { +const ::_pbi::TcParseTable<2, 3, 0, 53, 2> +GetNodesResponse_Node_Nic::_table_ = { { - 0, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(GetNodesResponse_Node_Nic, _impl_._has_bits_), 0, // no _extensions_ 3, 24, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), @@ -2856,7 +2680,7 @@ const ::_pbi::TcParseTable<2, 3, 0, 53, 2> GetNodesResponse_Node_Nic::_table_ = 3, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), + GetNodesResponse_Node_Nic_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -2866,25 +2690,25 @@ const ::_pbi::TcParseTable<2, 3, 0, 53, 2> GetNodesResponse_Node_Nic::_table_ = {::_pbi::TcParser::MiniParse, {}}, // string addr = 1; {::_pbi::TcParser::FastUS1, - {10, 63, 0, PROTOBUF_FIELD_OFFSET(GetNodesResponse_Node_Nic, _impl_.addr_)}}, + {10, 0, 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_)}}, + {18, 1, 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_)}}, + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(GetNodesResponse_Node_Nic, _impl_.nic_type_), 2>(), + {24, 2, 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)}, + {PROTOBUF_FIELD_OFFSET(GetNodesResponse_Node_Nic, _impl_.addr_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, // string name = 2; - {PROTOBUF_FIELD_OFFSET(GetNodesResponse_Node_Nic, _impl_.name_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + {PROTOBUF_FIELD_OFFSET(GetNodesResponse_Node_Nic, _impl_.name_), _Internal::kHasBitsOffset + 1, 0, + (0 | ::_fl::kFcOptional | ::_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)}, + {PROTOBUF_FIELD_OFFSET(GetNodesResponse_Node_Nic, _impl_.nic_type_), _Internal::kHasBitsOffset + 2, 0, + (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)}, }}, // no aux_entries {{ @@ -2894,7 +2718,6 @@ const ::_pbi::TcParseTable<2, 3, 0, 53, 2> GetNodesResponse_Node_Nic::_table_ = "name" }}, }; - PROTOBUF_NOINLINE void GetNodesResponse_Node_Nic::Clear() { // @@protoc_insertion_point(message_clear_start:management.GetNodesResponse.Node.Nic) ::google::protobuf::internal::TSanWrite(&_impl_); @@ -2902,94 +2725,115 @@ PROTOBUF_NOINLINE void GetNodesResponse_Node_Nic::Clear() { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - _impl_.addr_.ClearToEmpty(); - _impl_.name_.ClearToEmpty(); + cached_has_bits = _impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000003u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + _impl_.addr_.ClearNonDefaultToEmpty(); + } + if ((cached_has_bits & 0x00000002u) != 0) { + _impl_.name_.ClearNonDefaultToEmpty(); + } + } _impl_.nic_type_ = 0; + _impl_._has_bits_.Clear(); _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; - } +::uint8_t* PROTOBUF_NONNULL GetNodesResponse_Node_Nic::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const GetNodesResponse_Node_Nic& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL GetNodesResponse_Node_Nic::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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_._impl_._has_bits_[0] & 0x00000001u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000002u) != 0) { + 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_._impl_._has_bits_[0] & 0x00000004u) != 0) { + if (this_._internal_nic_type() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 3, this_._internal_nic_type(), target); + } + } + + if (ABSL_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_); - } +::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_); + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000007u) != 0) { + // string addr = 1; + if ((cached_has_bits & 0x00000001u) != 0) { + if (!this_._internal_addr().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_addr()); + } + } + // string name = 2; + if ((cached_has_bits & 0x00000002u) != 0) { + if (!this_._internal_name().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_name()); + } + } + // .beegfs.NicType nic_type = 3; + if ((cached_has_bits & 0x00000004u) != 0) { + 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); @@ -2999,15 +2843,33 @@ void GetNodesResponse_Node_Nic::MergeImpl(::google::protobuf::MessageLite& to_ms ::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_; + cached_has_bits = from._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000007u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + if (!from._internal_addr().empty()) { + _this->_internal_set_addr(from._internal_addr()); + } else { + if (_this->_impl_.addr_.IsDefault()) { + _this->_internal_set_addr(""); + } + } + } + if ((cached_has_bits & 0x00000002u) != 0) { + if (!from._internal_name().empty()) { + _this->_internal_set_name(from._internal_name()); + } else { + if (_this->_impl_.name_.IsDefault()) { + _this->_internal_set_name(""); + } + } + } + if ((cached_has_bits & 0x00000004u) != 0) { + if (from._internal_nic_type() != 0) { + _this->_impl_.nic_type_ = from._impl_.nic_type_; + } + } } + _this->_impl_._has_bits_[0] |= cached_has_bits; _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } @@ -3019,11 +2881,12 @@ void GetNodesResponse_Node_Nic::CopyFrom(const GetNodesResponse_Node_Nic& from) } -void GetNodesResponse_Node_Nic::InternalSwap(GetNodesResponse_Node_Nic* PROTOBUF_RESTRICT other) { - using std::swap; +void GetNodesResponse_Node_Nic::InternalSwap(GetNodesResponse_Node_Nic* PROTOBUF_RESTRICT PROTOBUF_NONNULL 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_.addr_, &other->_impl_.addr_, arena); ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena); swap(_impl_.nic_type_, other->_impl_.nic_type_); @@ -3037,7 +2900,7 @@ ::google::protobuf::Metadata GetNodesResponse_Node_Nic::GetMetadata() const { class GetNodesResponse_Node::_Internal { public: using HasBits = - decltype(std::declval()._impl_._has_bits_); + decltype(::std::declval()._impl_._has_bits_); static constexpr ::int32_t kHasBitsOffset = 8 * PROTOBUF_FIELD_OFFSET(GetNodesResponse_Node, _impl_._has_bits_); }; @@ -3047,27 +2910,28 @@ void GetNodesResponse_Node::clear_id() { if (_impl_.id_ != nullptr) _impl_.id_->Clear(); _impl_._has_bits_[0] &= ~0x00000001u; } -GetNodesResponse_Node::GetNodesResponse_Node(::google::protobuf::Arena* arena) +GetNodesResponse_Node::GetNodesResponse_Node(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, GetNodesResponse_Node_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) +PROTOBUF_NDEBUG_INLINE GetNodesResponse_Node::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetNodesResponse_Node& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, GetNodesResponse_Node_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -3077,9 +2941,9 @@ GetNodesResponse_Node::GetNodesResponse_Node( 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_.id_ = ((cached_has_bits & 0x00000001u) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.id_) + : nullptr; ::memcpy(reinterpret_cast(&_impl_) + offsetof(Impl_, node_type_), reinterpret_cast(&from._impl_) + @@ -3090,13 +2954,13 @@ GetNodesResponse_Node::GetNodesResponse_Node( // @@protoc_insertion_point(copy_constructor:management.GetNodesResponse.Node) } -inline PROTOBUF_NDEBUG_INLINE GetNodesResponse_Node::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE GetNodesResponse_Node::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : _cached_size_{0}, nics_{visibility, arena} {} -inline void GetNodesResponse_Node::SharedCtor(::_pb::Arena* arena) { +inline void GetNodesResponse_Node::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); ::memset(reinterpret_cast(&_impl_) + offsetof(Impl_, id_), @@ -3117,8 +2981,9 @@ inline void GetNodesResponse_Node::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* GetNodesResponse_Node::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL GetNodesResponse_Node::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { return ::new (mem) GetNodesResponse_Node(arena); } constexpr auto GetNodesResponse_Node::InternalNewImpl_() { @@ -3137,35 +3002,42 @@ constexpr auto GetNodesResponse_Node::InternalNewImpl_() { 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(); +constexpr auto GetNodesResponse_Node::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull GetNodesResponse_Node_class_data_ = + GetNodesResponse_Node::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +GetNodesResponse_Node::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&GetNodesResponse_Node_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(GetNodesResponse_Node_class_data_.tc_table); + return GetNodesResponse_Node_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<2, 4, 2, 0, 2> GetNodesResponse_Node::_table_ = { +const ::_pbi::TcParseTable<2, 4, 2, 0, 2> +GetNodesResponse_Node::_table_ = { { PROTOBUF_FIELD_OFFSET(GetNodesResponse_Node, _impl_._has_bits_), 0, // no _extensions_ @@ -3176,7 +3048,7 @@ const ::_pbi::TcParseTable<2, 4, 2, 0, 2> GetNodesResponse_Node::_table_ = { 4, // num_field_entries 2, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + GetNodesResponse_Node_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -3190,11 +3062,11 @@ const ::_pbi::TcParseTable<2, 4, 2, 0, 2> GetNodesResponse_Node::_table_ = { {::_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_)}}, + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(GetNodesResponse_Node, _impl_.node_type_), 1>(), + {16, 1, 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_)}}, + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(GetNodesResponse_Node, _impl_.port_), 2>(), + {24, 2, 0, PROTOBUF_FIELD_OFFSET(GetNodesResponse_Node, _impl_.port_)}}, }}, {{ 65535, 65535 }}, {{ @@ -3202,21 +3074,22 @@ const ::_pbi::TcParseTable<2, 4, 2, 0, 2> GetNodesResponse_Node::_table_ = { {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)}, + {PROTOBUF_FIELD_OFFSET(GetNodesResponse_Node, _impl_.node_type_), _Internal::kHasBitsOffset + 1, 0, + (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)}, // uint32 port = 3; - {PROTOBUF_FIELD_OFFSET(GetNodesResponse_Node, _impl_.port_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, + {PROTOBUF_FIELD_OFFSET(GetNodesResponse_Node, _impl_.port_), _Internal::kHasBitsOffset + 2, 0, + (0 | ::_fl::kFcOptional | ::_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>()}, - }}, {{ + }}, + {{ + {::_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_); @@ -3226,151 +3099,164 @@ PROTOBUF_NOINLINE void GetNodesResponse_Node::Clear() { _impl_.nics_.Clear(); cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000001u) != 0) { 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_)); + if ((cached_has_bits & 0x00000006u) != 0) { + ::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); +::uint8_t* PROTOBUF_NONNULL GetNodesResponse_Node::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const GetNodesResponse_Node& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL GetNodesResponse_Node::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .beegfs.EntityIdSet id = 1; + if ((cached_has_bits & 0x00000001u) != 0) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.id_, this_._impl_.id_->GetCachedSize(), target, + stream); + } - _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_); + // .beegfs.NodeType node_type = 2; + if ((cached_has_bits & 0x00000002u) != 0) { + if (this_._internal_node_type() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 2, this_._internal_node_type(), target); + } + } + + // uint32 port = 3; + if ((cached_has_bits & 0x00000004u) != 0) { + if (this_._internal_port() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 3, this_._internal_port(), target); } } - if (from._internal_node_type() != 0) { - _this->_impl_.node_type_ = from._impl_.node_type_; + + // 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 (from._internal_port() != 0) { - _this->_impl_.port_ = from._impl_.port_; + + if (ABSL_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); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); + // @@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); + } + } + } + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000007u) != 0) { + // .beegfs.EntityIdSet id = 1; + if ((cached_has_bits & 0x00000001u) != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.id_); + } + // .beegfs.NodeType node_type = 2; + if ((cached_has_bits & 0x00000002u) != 0) { + if (this_._internal_node_type() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_node_type()); + } + } + // uint32 port = 3; + if ((cached_has_bits & 0x00000004u) != 0) { + 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 & 0x00000007u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { + ABSL_DCHECK(from._impl_.id_ != nullptr); + if (_this->_impl_.id_ == nullptr) { + _this->_impl_.id_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.id_); + } else { + _this->_impl_.id_->MergeFrom(*from._impl_.id_); + } + } + if ((cached_has_bits & 0x00000002u) != 0) { + if (from._internal_node_type() != 0) { + _this->_impl_.node_type_ = from._impl_.node_type_; + } + } + if ((cached_has_bits & 0x00000004u) != 0) { + 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) { @@ -3381,8 +3267,8 @@ void GetNodesResponse_Node::CopyFrom(const GetNodesResponse_Node& from) { } -void GetNodesResponse_Node::InternalSwap(GetNodesResponse_Node* PROTOBUF_RESTRICT other) { - using std::swap; +void GetNodesResponse_Node::InternalSwap(GetNodesResponse_Node* PROTOBUF_RESTRICT PROTOBUF_NONNULL 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_); @@ -3402,7 +3288,7 @@ ::google::protobuf::Metadata GetNodesResponse_Node::GetMetadata() const { class GetNodesResponse::_Internal { public: using HasBits = - decltype(std::declval()._impl_._has_bits_); + decltype(::std::declval()._impl_._has_bits_); static constexpr ::int32_t kHasBitsOffset = 8 * PROTOBUF_FIELD_OFFSET(GetNodesResponse, _impl_._has_bits_); }; @@ -3417,28 +3303,29 @@ void GetNodesResponse::clear_meta_root_buddy_group() { if (_impl_.meta_root_buddy_group_ != nullptr) _impl_.meta_root_buddy_group_->Clear(); _impl_._has_bits_[0] &= ~0x00000004u; } -GetNodesResponse::GetNodesResponse(::google::protobuf::Arena* arena) +GetNodesResponse::GetNodesResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, GetNodesResponse_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) +PROTOBUF_NDEBUG_INLINE GetNodesResponse::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetNodesResponse& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, GetNodesResponse_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -3448,23 +3335,23 @@ GetNodesResponse::GetNodesResponse( 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; + _impl_.meta_root_node_ = ((cached_has_bits & 0x00000002u) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.meta_root_node_) + : nullptr; + _impl_.meta_root_buddy_group_ = ((cached_has_bits & 0x00000004u) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.meta_root_buddy_group_) + : nullptr; // @@protoc_insertion_point(copy_constructor:management.GetNodesResponse) } -inline PROTOBUF_NDEBUG_INLINE GetNodesResponse::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE GetNodesResponse::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : _cached_size_{0}, nodes_{visibility, arena}, fs_uuid_(arena) {} -inline void GetNodesResponse::SharedCtor(::_pb::Arena* arena) { +inline void GetNodesResponse::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); ::memset(reinterpret_cast(&_impl_) + offsetof(Impl_, meta_root_node_), @@ -3487,8 +3374,9 @@ inline void GetNodesResponse::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* GetNodesResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL GetNodesResponse::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { return ::new (mem) GetNodesResponse(arena); } constexpr auto GetNodesResponse::InternalNewImpl_() { @@ -3507,35 +3395,42 @@ constexpr auto GetNodesResponse::InternalNewImpl_() { 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(); +constexpr auto GetNodesResponse::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull GetNodesResponse_class_data_ = + GetNodesResponse::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +GetNodesResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&GetNodesResponse_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(GetNodesResponse_class_data_.tc_table); + return GetNodesResponse_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<2, 4, 3, 43, 2> GetNodesResponse::_table_ = { +const ::_pbi::TcParseTable<2, 4, 3, 43, 2> +GetNodesResponse::_table_ = { { PROTOBUF_FIELD_OFFSET(GetNodesResponse, _impl_._has_bits_), 0, // no _extensions_ @@ -3546,7 +3441,7 @@ const ::_pbi::TcParseTable<2, 4, 3, 43, 2> GetNodesResponse::_table_ = { 4, // num_field_entries 3, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + GetNodesResponse_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -3580,17 +3475,18 @@ const ::_pbi::TcParseTable<2, 4, 3, 43, 2> GetNodesResponse::_table_ = { // 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>()}, - }}, {{ + }}, + {{ + {::_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_); @@ -3600,15 +3496,15 @@ PROTOBUF_NOINLINE void GetNodesResponse::Clear() { _impl_.nodes_.Clear(); cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000007u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { _impl_.fs_uuid_.ClearNonDefaultToEmpty(); } - if (cached_has_bits & 0x00000002u) { + if ((cached_has_bits & 0x00000002u) != 0) { ABSL_DCHECK(_impl_.meta_root_node_ != nullptr); _impl_.meta_root_node_->Clear(); } - if (cached_has_bits & 0x00000004u) { + if ((cached_has_bits & 0x00000004u) != 0) { ABSL_DCHECK(_impl_.meta_root_buddy_group_ != nullptr); _impl_.meta_root_buddy_group_->Clear(); } @@ -3618,108 +3514,108 @@ PROTOBUF_NOINLINE void GetNodesResponse::Clear() { } #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; - } +::uint8_t* PROTOBUF_NONNULL GetNodesResponse::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const GetNodesResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL GetNodesResponse::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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) != 0) { + 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) != 0) { + 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) != 0) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 4, *this_._impl_.meta_root_buddy_group_, this_._impl_.meta_root_buddy_group_->GetCachedSize(), target, + stream); + } + + if (ABSL_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_); - } +::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) != 0) { + // optional string fs_uuid = 3; + if ((cached_has_bits & 0x00000001u) != 0) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_fs_uuid()); + } + // optional .beegfs.EntityIdSet meta_root_node = 2; + if ((cached_has_bits & 0x00000002u) != 0) { + 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) != 0) { + 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); @@ -3733,24 +3629,22 @@ void GetNodesResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const _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) { + if ((cached_has_bits & 0x00000007u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { _this->_internal_set_fs_uuid(from._internal_fs_uuid()); } - if (cached_has_bits & 0x00000002u) { + if ((cached_has_bits & 0x00000002u) != 0) { 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_); + _this->_impl_.meta_root_node_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.meta_root_node_); } else { _this->_impl_.meta_root_node_->MergeFrom(*from._impl_.meta_root_node_); } } - if (cached_has_bits & 0x00000004u) { + if ((cached_has_bits & 0x00000004u) != 0) { 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_); + _this->_impl_.meta_root_buddy_group_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.meta_root_buddy_group_); } else { _this->_impl_.meta_root_buddy_group_->MergeFrom(*from._impl_.meta_root_buddy_group_); } @@ -3768,8 +3662,8 @@ void GetNodesResponse::CopyFrom(const GetNodesResponse& from) { } -void GetNodesResponse::InternalSwap(GetNodesResponse* PROTOBUF_RESTRICT other) { - using std::swap; +void GetNodesResponse::InternalSwap(GetNodesResponse* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; auto* arena = GetArena(); ABSL_DCHECK_EQ(arena, other->GetArena()); _internal_metadata_.InternalSwap(&other->_internal_metadata_); @@ -3792,7 +3686,7 @@ ::google::protobuf::Metadata GetNodesResponse::GetMetadata() const { class DeleteNodeRequest::_Internal { public: using HasBits = - decltype(std::declval()._impl_._has_bits_); + decltype(::std::declval()._impl_._has_bits_); static constexpr ::int32_t kHasBitsOffset = 8 * PROTOBUF_FIELD_OFFSET(DeleteNodeRequest, _impl_._has_bits_); }; @@ -3802,26 +3696,27 @@ void DeleteNodeRequest::clear_node() { if (_impl_.node_ != nullptr) _impl_.node_->Clear(); _impl_._has_bits_[0] &= ~0x00000001u; } -DeleteNodeRequest::DeleteNodeRequest(::google::protobuf::Arena* arena) +DeleteNodeRequest::DeleteNodeRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, DeleteNodeRequest_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) +PROTOBUF_NDEBUG_INLINE DeleteNodeRequest::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::management::DeleteNodeRequest& from_msg) : _has_bits_{from._has_bits_}, _cached_size_{0} {} DeleteNodeRequest::DeleteNodeRequest( - ::google::protobuf::Arena* arena, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const DeleteNodeRequest& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, DeleteNodeRequest_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -3831,19 +3726,19 @@ DeleteNodeRequest::DeleteNodeRequest( 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_.node_ = ((cached_has_bits & 0x00000001u) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.node_) + : nullptr; _impl_.execute_ = from._impl_.execute_; // @@protoc_insertion_point(copy_constructor:management.DeleteNodeRequest) } -inline PROTOBUF_NDEBUG_INLINE DeleteNodeRequest::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE DeleteNodeRequest::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : _cached_size_{0} {} -inline void DeleteNodeRequest::SharedCtor(::_pb::Arena* arena) { +inline void DeleteNodeRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); ::memset(reinterpret_cast(&_impl_) + offsetof(Impl_, node_), @@ -3864,43 +3759,51 @@ inline void DeleteNodeRequest::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* DeleteNodeRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL DeleteNodeRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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(); +constexpr auto DeleteNodeRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull DeleteNodeRequest_class_data_ = + DeleteNodeRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +DeleteNodeRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&DeleteNodeRequest_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(DeleteNodeRequest_class_data_.tc_table); + return DeleteNodeRequest_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<1, 2, 1, 0, 2> DeleteNodeRequest::_table_ = { +const ::_pbi::TcParseTable<1, 2, 1, 0, 2> +DeleteNodeRequest::_table_ = { { PROTOBUF_FIELD_OFFSET(DeleteNodeRequest, _impl_._has_bits_), 0, // no _extensions_ @@ -3911,7 +3814,7 @@ const ::_pbi::TcParseTable<1, 2, 1, 0, 2> DeleteNodeRequest::_table_ = { 2, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + DeleteNodeRequest_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -3933,12 +3836,13 @@ const ::_pbi::TcParseTable<1, 2, 1, 0, 2> DeleteNodeRequest::_table_ = { // optional bool execute = 2; {PROTOBUF_FIELD_OFFSET(DeleteNodeRequest, _impl_.execute_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)}, - }}, {{ - {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, - }}, {{ + }}, + {{ + {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, + }}, + {{ }}, }; - PROTOBUF_NOINLINE void DeleteNodeRequest::Clear() { // @@protoc_insertion_point(message_clear_start:management.DeleteNodeRequest) ::google::protobuf::internal::TSanWrite(&_impl_); @@ -3947,7 +3851,7 @@ PROTOBUF_NOINLINE void DeleteNodeRequest::Clear() { (void) cached_has_bits; cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000001u) != 0) { ABSL_DCHECK(_impl_.node_ != nullptr); _impl_.node_->Clear(); } @@ -3957,74 +3861,71 @@ PROTOBUF_NOINLINE void DeleteNodeRequest::Clear() { } #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; - } +::uint8_t* PROTOBUF_NONNULL DeleteNodeRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const DeleteNodeRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL DeleteNodeRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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) != 0) { + 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) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this_._internal_execute(), target); + } + + if (ABSL_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_); - } +::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]; + total_size += static_cast(0x00000002u & cached_has_bits) * 2; + { + // optional .beegfs.EntityIdSet node = 1; + if ((cached_has_bits & 0x00000001u) != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.node_); + } + } + 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); @@ -4036,17 +3937,16 @@ void DeleteNodeRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const (void) cached_has_bits; cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000003u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { ABSL_DCHECK(from._impl_.node_ != nullptr); if (_this->_impl_.node_ == nullptr) { - _this->_impl_.node_ = - ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>(arena, *from._impl_.node_); + _this->_impl_.node_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.node_); } else { _this->_impl_.node_->MergeFrom(*from._impl_.node_); } } - if (cached_has_bits & 0x00000002u) { + if ((cached_has_bits & 0x00000002u) != 0) { _this->_impl_.execute_ = from._impl_.execute_; } } @@ -4062,8 +3962,8 @@ void DeleteNodeRequest::CopyFrom(const DeleteNodeRequest& from) { } -void DeleteNodeRequest::InternalSwap(DeleteNodeRequest* PROTOBUF_RESTRICT other) { - using std::swap; +void DeleteNodeRequest::InternalSwap(DeleteNodeRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); ::google::protobuf::internal::memswap< @@ -4082,7 +3982,7 @@ ::google::protobuf::Metadata DeleteNodeRequest::GetMetadata() const { class DeleteNodeResponse::_Internal { public: using HasBits = - decltype(std::declval()._impl_._has_bits_); + decltype(::std::declval()._impl_._has_bits_); static constexpr ::int32_t kHasBitsOffset = 8 * PROTOBUF_FIELD_OFFSET(DeleteNodeResponse, _impl_._has_bits_); }; @@ -4092,26 +3992,27 @@ void DeleteNodeResponse::clear_node() { if (_impl_.node_ != nullptr) _impl_.node_->Clear(); _impl_._has_bits_[0] &= ~0x00000001u; } -DeleteNodeResponse::DeleteNodeResponse(::google::protobuf::Arena* arena) +DeleteNodeResponse::DeleteNodeResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, DeleteNodeResponse_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) +PROTOBUF_NDEBUG_INLINE DeleteNodeResponse::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::management::DeleteNodeResponse& from_msg) : _has_bits_{from._has_bits_}, _cached_size_{0} {} DeleteNodeResponse::DeleteNodeResponse( - ::google::protobuf::Arena* arena, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const DeleteNodeResponse& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, DeleteNodeResponse_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -4121,18 +4022,18 @@ DeleteNodeResponse::DeleteNodeResponse( 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_.node_ = ((cached_has_bits & 0x00000001u) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.node_) + : nullptr; // @@protoc_insertion_point(copy_constructor:management.DeleteNodeResponse) } -inline PROTOBUF_NDEBUG_INLINE DeleteNodeResponse::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE DeleteNodeResponse::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : _cached_size_{0} {} -inline void DeleteNodeResponse::SharedCtor(::_pb::Arena* arena) { +inline void DeleteNodeResponse::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); _impl_.node_ = {}; } @@ -4148,43 +4049,51 @@ inline void DeleteNodeResponse::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* DeleteNodeResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL DeleteNodeResponse::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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(); +constexpr auto DeleteNodeResponse::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull DeleteNodeResponse_class_data_ = + DeleteNodeResponse::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +DeleteNodeResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&DeleteNodeResponse_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(DeleteNodeResponse_class_data_.tc_table); + return DeleteNodeResponse_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 1, 1, 0, 2> DeleteNodeResponse::_table_ = { +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> +DeleteNodeResponse::_table_ = { { PROTOBUF_FIELD_OFFSET(DeleteNodeResponse, _impl_._has_bits_), 0, // no _extensions_ @@ -4195,7 +4104,7 @@ const ::_pbi::TcParseTable<0, 1, 1, 0, 2> DeleteNodeResponse::_table_ = { 1, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + DeleteNodeResponse_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -4211,12 +4120,13 @@ const ::_pbi::TcParseTable<0, 1, 1, 0, 2> DeleteNodeResponse::_table_ = { // 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>()}, - }}, {{ + }}, + {{ + {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, + }}, + {{ }}, }; - PROTOBUF_NOINLINE void DeleteNodeResponse::Clear() { // @@protoc_insertion_point(message_clear_start:management.DeleteNodeResponse) ::google::protobuf::internal::TSanWrite(&_impl_); @@ -4225,7 +4135,7 @@ PROTOBUF_NOINLINE void DeleteNodeResponse::Clear() { (void) cached_has_bits; cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000001u) != 0) { ABSL_DCHECK(_impl_.node_ != nullptr); _impl_.node_->Clear(); } @@ -4234,62 +4144,62 @@ PROTOBUF_NOINLINE void DeleteNodeResponse::Clear() { } #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; - } +::uint8_t* PROTOBUF_NONNULL DeleteNodeResponse::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const DeleteNodeResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL DeleteNodeResponse::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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) != 0) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.node_, this_._impl_.node_->GetCachedSize(), target, + stream); + } + + if (ABSL_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); +::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; +::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; + // @@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; + ::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_); - } + { + // optional .beegfs.EntityIdSet node = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000001u) != 0) { + 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); @@ -4301,11 +4211,10 @@ void DeleteNodeResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, cons (void) cached_has_bits; cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000001u) != 0) { ABSL_DCHECK(from._impl_.node_ != nullptr); if (_this->_impl_.node_ == nullptr) { - _this->_impl_.node_ = - ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>(arena, *from._impl_.node_); + _this->_impl_.node_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.node_); } else { _this->_impl_.node_->MergeFrom(*from._impl_.node_); } @@ -4322,8 +4231,8 @@ void DeleteNodeResponse::CopyFrom(const DeleteNodeResponse& from) { } -void DeleteNodeResponse::InternalSwap(DeleteNodeResponse* PROTOBUF_RESTRICT other) { - using std::swap; +void DeleteNodeResponse::InternalSwap(DeleteNodeResponse* PROTOBUF_RESTRICT PROTOBUF_NONNULL 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_); @@ -4338,19 +4247,19 @@ class GetTargetsRequest::_Internal { public: }; -GetTargetsRequest::GetTargetsRequest(::google::protobuf::Arena* arena) +GetTargetsRequest::GetTargetsRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { + : ::google::protobuf::internal::ZeroFieldsBase(arena, GetTargetsRequest_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, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetTargetsRequest& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { + : ::google::protobuf::internal::ZeroFieldsBase(arena, GetTargetsRequest_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::internal::ZeroFieldsBase(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -4362,43 +4271,51 @@ GetTargetsRequest::GetTargetsRequest( // @@protoc_insertion_point(copy_constructor:management.GetTargetsRequest) } -inline void* GetTargetsRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL GetTargetsRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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(); +constexpr auto GetTargetsRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull GetTargetsRequest_class_data_ = + GetTargetsRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +GetTargetsRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&GetTargetsRequest_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(GetTargetsRequest_class_data_.tc_table); + return GetTargetsRequest_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 0, 0, 0, 2> GetTargetsRequest::_table_ = { +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> +GetTargetsRequest::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ @@ -4409,7 +4326,7 @@ const ::_pbi::TcParseTable<0, 0, 0, 0, 2> GetTargetsRequest::_table_ = { 0, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), + GetTargetsRequest_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -4419,8 +4336,7 @@ const ::_pbi::TcParseTable<0, 0, 0, 0, 2> GetTargetsRequest::_table_ = { {::_pbi::TcParser::MiniParse, {}}, }}, {{ 65535, 65535 - }}, - // no field_entries, or aux_entries + }}, // no field_entries, or aux_entries {{ }}, }; @@ -4431,7 +4347,6 @@ const ::_pbi::TcParseTable<0, 0, 0, 0, 2> GetTargetsRequest::_table_ = { - ::google::protobuf::Metadata GetTargetsRequest::GetMetadata() const { return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } @@ -4440,7 +4355,7 @@ ::google::protobuf::Metadata GetTargetsRequest::GetMetadata() const { class GetTargetsResponse_Target::_Internal { public: using HasBits = - decltype(std::declval()._impl_._has_bits_); + decltype(::std::declval()._impl_._has_bits_); static constexpr ::int32_t kHasBitsOffset = 8 * PROTOBUF_FIELD_OFFSET(GetTargetsResponse_Target, _impl_._has_bits_); }; @@ -4460,26 +4375,27 @@ void GetTargetsResponse_Target::clear_storage_pool() { if (_impl_.storage_pool_ != nullptr) _impl_.storage_pool_->Clear(); _impl_._has_bits_[0] &= ~0x00000004u; } -GetTargetsResponse_Target::GetTargetsResponse_Target(::google::protobuf::Arena* arena) +GetTargetsResponse_Target::GetTargetsResponse_Target(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, GetTargetsResponse_Target_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) +PROTOBUF_NDEBUG_INLINE GetTargetsResponse_Target::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetTargetsResponse_Target& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, GetTargetsResponse_Target_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -4489,15 +4405,15 @@ GetTargetsResponse_Target::GetTargetsResponse_Target( 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; + _impl_.id_ = ((cached_has_bits & 0x00000001u) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.id_) + : nullptr; + _impl_.node_ = ((cached_has_bits & 0x00000002u) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.node_) + : nullptr; + _impl_.storage_pool_ = ((cached_has_bits & 0x00000004u) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.storage_pool_) + : nullptr; ::memcpy(reinterpret_cast(&_impl_) + offsetof(Impl_, node_type_), reinterpret_cast(&from._impl_) + @@ -4508,12 +4424,12 @@ GetTargetsResponse_Target::GetTargetsResponse_Target( // @@protoc_insertion_point(copy_constructor:management.GetTargetsResponse.Target) } -inline PROTOBUF_NDEBUG_INLINE GetTargetsResponse_Target::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE GetTargetsResponse_Target::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : _cached_size_{0} {} -inline void GetTargetsResponse_Target::SharedCtor(::_pb::Arena* arena) { +inline void GetTargetsResponse_Target::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); ::memset(reinterpret_cast(&_impl_) + offsetof(Impl_, id_), @@ -4536,43 +4452,51 @@ inline void GetTargetsResponse_Target::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* GetTargetsResponse_Target::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL GetTargetsResponse_Target::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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(); +constexpr auto GetTargetsResponse_Target::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull GetTargetsResponse_Target_class_data_ = + GetTargetsResponse_Target::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +GetTargetsResponse_Target::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&GetTargetsResponse_Target_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(GetTargetsResponse_Target_class_data_.tc_table); + return GetTargetsResponse_Target_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<4, 12, 3, 0, 2> GetTargetsResponse_Target::_table_ = { +const ::_pbi::TcParseTable<4, 12, 3, 0, 2> +GetTargetsResponse_Target::_table_ = { { PROTOBUF_FIELD_OFFSET(GetTargetsResponse_Target, _impl_._has_bits_), 0, // no _extensions_ @@ -4583,7 +4507,7 @@ const ::_pbi::TcParseTable<4, 12, 3, 0, 2> GetTargetsResponse_Target::_table_ = 12, // num_field_entries 3, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + GetTargetsResponse_Target_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -4595,32 +4519,32 @@ const ::_pbi::TcParseTable<4, 12, 3, 0, 2> GetTargetsResponse_Target::_table_ = {::_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_)}}, + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(GetTargetsResponse_Target, _impl_.node_type_), 3>(), + {16, 3, 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_)}}, + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(GetTargetsResponse_Target, _impl_.reachability_state_), 4>(), + {24, 4, 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_)}}, + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(GetTargetsResponse_Target, _impl_.consistency_state_), 8>(), + {32, 8, 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_)}}, + {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(GetTargetsResponse_Target, _impl_.last_contact_s_), 5>(), + {40, 5, 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_)}}, + {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(GetTargetsResponse_Target, _impl_.total_space_bytes_), 6>(), + {48, 6, 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_)}}, + {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(GetTargetsResponse_Target, _impl_.free_space_bytes_), 7>(), + {56, 7, 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_)}}, + {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(GetTargetsResponse_Target, _impl_.total_inodes_), 10>(), + {64, 10, 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_)}}, + {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(GetTargetsResponse_Target, _impl_.free_inodes_), 11>(), + {72, 11, 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_)}}, + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(GetTargetsResponse_Target, _impl_.cap_pool_), 9>(), + {80, 9, 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_)}}, @@ -4637,46 +4561,47 @@ const ::_pbi::TcParseTable<4, 12, 3, 0, 2> GetTargetsResponse_Target::_table_ = {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)}, + {PROTOBUF_FIELD_OFFSET(GetTargetsResponse_Target, _impl_.node_type_), _Internal::kHasBitsOffset + 3, 0, + (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)}, // .beegfs.ReachabilityState reachability_state = 3; - {PROTOBUF_FIELD_OFFSET(GetTargetsResponse_Target, _impl_.reachability_state_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, + {PROTOBUF_FIELD_OFFSET(GetTargetsResponse_Target, _impl_.reachability_state_), _Internal::kHasBitsOffset + 4, 0, + (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)}, // .beegfs.ConsistencyState consistency_state = 4; - {PROTOBUF_FIELD_OFFSET(GetTargetsResponse_Target, _impl_.consistency_state_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, + {PROTOBUF_FIELD_OFFSET(GetTargetsResponse_Target, _impl_.consistency_state_), _Internal::kHasBitsOffset + 8, 0, + (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)}, // optional uint64 last_contact_s = 5; - {PROTOBUF_FIELD_OFFSET(GetTargetsResponse_Target, _impl_.last_contact_s_), _Internal::kHasBitsOffset + 3, 0, + {PROTOBUF_FIELD_OFFSET(GetTargetsResponse_Target, _impl_.last_contact_s_), _Internal::kHasBitsOffset + 5, 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, + {PROTOBUF_FIELD_OFFSET(GetTargetsResponse_Target, _impl_.total_space_bytes_), _Internal::kHasBitsOffset + 6, 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, + {PROTOBUF_FIELD_OFFSET(GetTargetsResponse_Target, _impl_.free_space_bytes_), _Internal::kHasBitsOffset + 7, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, // optional uint64 total_inodes = 8; - {PROTOBUF_FIELD_OFFSET(GetTargetsResponse_Target, _impl_.total_inodes_), _Internal::kHasBitsOffset + 6, 0, + {PROTOBUF_FIELD_OFFSET(GetTargetsResponse_Target, _impl_.total_inodes_), _Internal::kHasBitsOffset + 10, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, // optional uint64 free_inodes = 9; - {PROTOBUF_FIELD_OFFSET(GetTargetsResponse_Target, _impl_.free_inodes_), _Internal::kHasBitsOffset + 7, 0, + {PROTOBUF_FIELD_OFFSET(GetTargetsResponse_Target, _impl_.free_inodes_), _Internal::kHasBitsOffset + 11, 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)}, + {PROTOBUF_FIELD_OFFSET(GetTargetsResponse_Target, _impl_.cap_pool_), _Internal::kHasBitsOffset + 9, 0, + (0 | ::_fl::kFcOptional | ::_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>()}, - }}, {{ + }}, + {{ + {::_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_); @@ -4685,238 +4610,242 @@ PROTOBUF_NOINLINE void GetTargetsResponse_Target::Clear() { (void) cached_has_bits; cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000007u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { ABSL_DCHECK(_impl_.id_ != nullptr); _impl_.id_->Clear(); } - if (cached_has_bits & 0x00000002u) { + if ((cached_has_bits & 0x00000002u) != 0) { ABSL_DCHECK(_impl_.node_ != nullptr); _impl_.node_->Clear(); } - if (cached_has_bits & 0x00000004u) { + if ((cached_has_bits & 0x00000004u) != 0) { 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>( + if ((cached_has_bits & 0x000000f8u) != 0) { + ::memset(&_impl_.node_type_, 0, static_cast<::size_t>( reinterpret_cast(&_impl_.free_space_bytes_) - - reinterpret_cast(&_impl_.last_contact_s_)) + sizeof(_impl_.free_space_bytes_)); + reinterpret_cast(&_impl_.node_type_)) + 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>( + if ((cached_has_bits & 0x00000f00u) != 0) { + ::memset(&_impl_.consistency_state_, 0, static_cast<::size_t>( reinterpret_cast(&_impl_.free_inodes_) - - reinterpret_cast(&_impl_.total_inodes_)) + sizeof(_impl_.free_inodes_)); + reinterpret_cast(&_impl_.consistency_state_)) + 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; - } +::uint8_t* PROTOBUF_NONNULL GetTargetsResponse_Target::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const GetTargetsResponse_Target& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL GetTargetsResponse_Target::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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) != 0) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.id_, this_._impl_.id_->GetCachedSize(), target, + stream); + } + + // .beegfs.NodeType node_type = 2; + if ((cached_has_bits & 0x00000008u) != 0) { + 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 ((cached_has_bits & 0x00000010u) != 0) { + 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 ((cached_has_bits & 0x00000100u) != 0) { + 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 & 0x00000020u) != 0) { + 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 & 0x00000040u) != 0) { + 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 & 0x00000080u) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray( + 7, this_._internal_free_space_bytes(), target); + } + + // optional uint64 total_inodes = 8; + if ((cached_has_bits & 0x00000400u) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray( + 8, this_._internal_total_inodes(), target); + } + + // optional uint64 free_inodes = 9; + if ((cached_has_bits & 0x00000800u) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray( + 9, this_._internal_free_inodes(), target); + } + + // .beegfs.CapacityPool cap_pool = 10; + if ((cached_has_bits & 0x00000200u) != 0) { + 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) != 0) { + 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) != 0) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 12, *this_._impl_.storage_pool_, this_._impl_.storage_pool_->GetCachedSize(), target, + stream); + } + + if (ABSL_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_); - } +::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 & 0x000000ffu) != 0) { + // .beegfs.EntityIdSet id = 1; + if ((cached_has_bits & 0x00000001u) != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.id_); + } + // .beegfs.EntityIdSet node = 11; + if ((cached_has_bits & 0x00000002u) != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.node_); + } + // optional .beegfs.EntityIdSet storage_pool = 12; + if ((cached_has_bits & 0x00000004u) != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.storage_pool_); + } + // .beegfs.NodeType node_type = 2; + if ((cached_has_bits & 0x00000008u) != 0) { + if (this_._internal_node_type() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_node_type()); + } + } + // .beegfs.ReachabilityState reachability_state = 3; + if ((cached_has_bits & 0x00000010u) != 0) { + if (this_._internal_reachability_state() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_reachability_state()); + } + } + // optional uint64 last_contact_s = 5; + if ((cached_has_bits & 0x00000020u) != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( + this_._internal_last_contact_s()); + } + // optional uint64 total_space_bytes = 6; + if ((cached_has_bits & 0x00000040u) != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( + this_._internal_total_space_bytes()); + } + // optional uint64 free_space_bytes = 7; + if ((cached_has_bits & 0x00000080u) != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( + this_._internal_free_space_bytes()); + } + } + if ((cached_has_bits & 0x00000f00u) != 0) { + // .beegfs.ConsistencyState consistency_state = 4; + if ((cached_has_bits & 0x00000100u) != 0) { + if (this_._internal_consistency_state() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_consistency_state()); + } + } + // .beegfs.CapacityPool cap_pool = 10; + if ((cached_has_bits & 0x00000200u) != 0) { + if (this_._internal_cap_pool() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_cap_pool()); + } + } + // optional uint64 total_inodes = 8; + if ((cached_has_bits & 0x00000400u) != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( + this_._internal_total_inodes()); + } + // optional uint64 free_inodes = 9; + if ((cached_has_bits & 0x00000800u) != 0) { + 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); @@ -4928,63 +4857,66 @@ void GetTargetsResponse_Target::MergeImpl(::google::protobuf::MessageLite& to_ms (void) cached_has_bits; cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x000000ffu) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { ABSL_DCHECK(from._impl_.id_ != nullptr); if (_this->_impl_.id_ == nullptr) { - _this->_impl_.id_ = - ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>(arena, *from._impl_.id_); + _this->_impl_.id_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.id_); } else { _this->_impl_.id_->MergeFrom(*from._impl_.id_); } } - if (cached_has_bits & 0x00000002u) { + if ((cached_has_bits & 0x00000002u) != 0) { ABSL_DCHECK(from._impl_.node_ != nullptr); if (_this->_impl_.node_ == nullptr) { - _this->_impl_.node_ = - ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>(arena, *from._impl_.node_); + _this->_impl_.node_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.node_); } else { _this->_impl_.node_->MergeFrom(*from._impl_.node_); } } - if (cached_has_bits & 0x00000004u) { + if ((cached_has_bits & 0x00000004u) != 0) { 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_); + _this->_impl_.storage_pool_ = ::google::protobuf::Message::CopyConstruct(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) { + if ((cached_has_bits & 0x00000008u) != 0) { + if (from._internal_node_type() != 0) { + _this->_impl_.node_type_ = from._impl_.node_type_; + } + } + if ((cached_has_bits & 0x00000010u) != 0) { + if (from._internal_reachability_state() != 0) { + _this->_impl_.reachability_state_ = from._impl_.reachability_state_; + } + } + if ((cached_has_bits & 0x00000020u) != 0) { _this->_impl_.last_contact_s_ = from._impl_.last_contact_s_; } - if (cached_has_bits & 0x00000010u) { + if ((cached_has_bits & 0x00000040u) != 0) { _this->_impl_.total_space_bytes_ = from._impl_.total_space_bytes_; } - if (cached_has_bits & 0x00000020u) { + if ((cached_has_bits & 0x00000080u) != 0) { _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) { + if ((cached_has_bits & 0x00000f00u) != 0) { + if ((cached_has_bits & 0x00000100u) != 0) { + if (from._internal_consistency_state() != 0) { + _this->_impl_.consistency_state_ = from._impl_.consistency_state_; + } + } + if ((cached_has_bits & 0x00000200u) != 0) { + if (from._internal_cap_pool() != 0) { + _this->_impl_.cap_pool_ = from._impl_.cap_pool_; + } + } + if ((cached_has_bits & 0x00000400u) != 0) { _this->_impl_.total_inodes_ = from._impl_.total_inodes_; } - if (cached_has_bits & 0x00000080u) { + if ((cached_has_bits & 0x00000800u) != 0) { _this->_impl_.free_inodes_ = from._impl_.free_inodes_; } } @@ -5000,8 +4932,8 @@ void GetTargetsResponse_Target::CopyFrom(const GetTargetsResponse_Target& from) } -void GetTargetsResponse_Target::InternalSwap(GetTargetsResponse_Target* PROTOBUF_RESTRICT other) { - using std::swap; +void GetTargetsResponse_Target::InternalSwap(GetTargetsResponse_Target* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); ::google::protobuf::internal::memswap< @@ -5021,26 +4953,27 @@ class GetTargetsResponse::_Internal { public: }; -GetTargetsResponse::GetTargetsResponse(::google::protobuf::Arena* arena) +GetTargetsResponse::GetTargetsResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, GetTargetsResponse_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) +PROTOBUF_NDEBUG_INLINE GetTargetsResponse::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::management::GetTargetsResponse& from_msg) : targets_{visibility, arena, from.targets_}, _cached_size_{0} {} GetTargetsResponse::GetTargetsResponse( - ::google::protobuf::Arena* arena, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetTargetsResponse& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, GetTargetsResponse_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -5052,13 +4985,13 @@ GetTargetsResponse::GetTargetsResponse( // @@protoc_insertion_point(copy_constructor:management.GetTargetsResponse) } -inline PROTOBUF_NDEBUG_INLINE GetTargetsResponse::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE GetTargetsResponse::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : targets_{visibility, arena}, _cached_size_{0} {} -inline void GetTargetsResponse::SharedCtor(::_pb::Arena* arena) { +inline void GetTargetsResponse::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); } GetTargetsResponse::~GetTargetsResponse() { @@ -5072,8 +5005,9 @@ inline void GetTargetsResponse::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* GetTargetsResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL GetTargetsResponse::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { return ::new (mem) GetTargetsResponse(arena); } constexpr auto GetTargetsResponse::InternalNewImpl_() { @@ -5092,35 +5026,42 @@ constexpr auto GetTargetsResponse::InternalNewImpl_() { 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(); +constexpr auto GetTargetsResponse::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull GetTargetsResponse_class_data_ = + GetTargetsResponse::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +GetTargetsResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&GetTargetsResponse_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(GetTargetsResponse_class_data_.tc_table); + return GetTargetsResponse_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 1, 1, 0, 2> GetTargetsResponse::_table_ = { +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> +GetTargetsResponse::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ @@ -5131,7 +5072,7 @@ const ::_pbi::TcParseTable<0, 1, 1, 0, 2> GetTargetsResponse::_table_ = { 1, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + GetTargetsResponse_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -5147,12 +5088,13 @@ const ::_pbi::TcParseTable<0, 1, 1, 0, 2> GetTargetsResponse::_table_ = { // 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>()}, - }}, {{ + }}, + {{ + {::_pbi::TcParser::GetTable<::management::GetTargetsResponse_Target>()}, + }}, + {{ }}, }; - PROTOBUF_NOINLINE void GetTargetsResponse::Clear() { // @@protoc_insertion_point(message_clear_start:management.GetTargetsResponse) ::google::protobuf::internal::TSanWrite(&_impl_); @@ -5165,67 +5107,67 @@ PROTOBUF_NOINLINE void GetTargetsResponse::Clear() { } #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; - } +::uint8_t* PROTOBUF_NONNULL GetTargetsResponse::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const GetTargetsResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL GetTargetsResponse::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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 (ABSL_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); +::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; +::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; + // @@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; + ::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_); - } + ::_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); @@ -5248,8 +5190,8 @@ void GetTargetsResponse::CopyFrom(const GetTargetsResponse& from) { } -void GetTargetsResponse::InternalSwap(GetTargetsResponse* PROTOBUF_RESTRICT other) { - using std::swap; +void GetTargetsResponse::InternalSwap(GetTargetsResponse* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); _impl_.targets_.InternalSwap(&other->_impl_.targets_); } @@ -5262,7 +5204,7 @@ ::google::protobuf::Metadata GetTargetsResponse::GetMetadata() const { class DeleteTargetRequest::_Internal { public: using HasBits = - decltype(std::declval()._impl_._has_bits_); + decltype(::std::declval()._impl_._has_bits_); static constexpr ::int32_t kHasBitsOffset = 8 * PROTOBUF_FIELD_OFFSET(DeleteTargetRequest, _impl_._has_bits_); }; @@ -5272,26 +5214,27 @@ void DeleteTargetRequest::clear_target() { if (_impl_.target_ != nullptr) _impl_.target_->Clear(); _impl_._has_bits_[0] &= ~0x00000001u; } -DeleteTargetRequest::DeleteTargetRequest(::google::protobuf::Arena* arena) +DeleteTargetRequest::DeleteTargetRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, DeleteTargetRequest_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) +PROTOBUF_NDEBUG_INLINE DeleteTargetRequest::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::management::DeleteTargetRequest& from_msg) : _has_bits_{from._has_bits_}, _cached_size_{0} {} DeleteTargetRequest::DeleteTargetRequest( - ::google::protobuf::Arena* arena, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const DeleteTargetRequest& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, DeleteTargetRequest_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -5301,19 +5244,19 @@ DeleteTargetRequest::DeleteTargetRequest( 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_.target_ = ((cached_has_bits & 0x00000001u) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.target_) + : nullptr; _impl_.execute_ = from._impl_.execute_; // @@protoc_insertion_point(copy_constructor:management.DeleteTargetRequest) } -inline PROTOBUF_NDEBUG_INLINE DeleteTargetRequest::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE DeleteTargetRequest::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : _cached_size_{0} {} -inline void DeleteTargetRequest::SharedCtor(::_pb::Arena* arena) { +inline void DeleteTargetRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); ::memset(reinterpret_cast(&_impl_) + offsetof(Impl_, target_), @@ -5334,43 +5277,51 @@ inline void DeleteTargetRequest::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* DeleteTargetRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL DeleteTargetRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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(); +constexpr auto DeleteTargetRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull DeleteTargetRequest_class_data_ = + DeleteTargetRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +DeleteTargetRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&DeleteTargetRequest_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(DeleteTargetRequest_class_data_.tc_table); + return DeleteTargetRequest_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<1, 2, 1, 0, 2> DeleteTargetRequest::_table_ = { +const ::_pbi::TcParseTable<1, 2, 1, 0, 2> +DeleteTargetRequest::_table_ = { { PROTOBUF_FIELD_OFFSET(DeleteTargetRequest, _impl_._has_bits_), 0, // no _extensions_ @@ -5381,7 +5332,7 @@ const ::_pbi::TcParseTable<1, 2, 1, 0, 2> DeleteTargetRequest::_table_ = { 2, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + DeleteTargetRequest_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -5403,12 +5354,13 @@ const ::_pbi::TcParseTable<1, 2, 1, 0, 2> DeleteTargetRequest::_table_ = { // optional bool execute = 2; {PROTOBUF_FIELD_OFFSET(DeleteTargetRequest, _impl_.execute_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)}, - }}, {{ - {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, - }}, {{ + }}, + {{ + {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, + }}, + {{ }}, }; - PROTOBUF_NOINLINE void DeleteTargetRequest::Clear() { // @@protoc_insertion_point(message_clear_start:management.DeleteTargetRequest) ::google::protobuf::internal::TSanWrite(&_impl_); @@ -5417,7 +5369,7 @@ PROTOBUF_NOINLINE void DeleteTargetRequest::Clear() { (void) cached_has_bits; cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000001u) != 0) { ABSL_DCHECK(_impl_.target_ != nullptr); _impl_.target_->Clear(); } @@ -5427,74 +5379,71 @@ PROTOBUF_NOINLINE void DeleteTargetRequest::Clear() { } #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; - } +::uint8_t* PROTOBUF_NONNULL DeleteTargetRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const DeleteTargetRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL DeleteTargetRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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) != 0) { + 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) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this_._internal_execute(), target); + } + + if (ABSL_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_); - } +::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]; + total_size += static_cast(0x00000002u & cached_has_bits) * 2; + { + // optional .beegfs.EntityIdSet target = 1; + if ((cached_has_bits & 0x00000001u) != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.target_); + } + } + 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); @@ -5506,17 +5455,16 @@ void DeleteTargetRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, con (void) cached_has_bits; cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000003u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { ABSL_DCHECK(from._impl_.target_ != nullptr); if (_this->_impl_.target_ == nullptr) { - _this->_impl_.target_ = - ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>(arena, *from._impl_.target_); + _this->_impl_.target_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.target_); } else { _this->_impl_.target_->MergeFrom(*from._impl_.target_); } } - if (cached_has_bits & 0x00000002u) { + if ((cached_has_bits & 0x00000002u) != 0) { _this->_impl_.execute_ = from._impl_.execute_; } } @@ -5532,8 +5480,8 @@ void DeleteTargetRequest::CopyFrom(const DeleteTargetRequest& from) { } -void DeleteTargetRequest::InternalSwap(DeleteTargetRequest* PROTOBUF_RESTRICT other) { - using std::swap; +void DeleteTargetRequest::InternalSwap(DeleteTargetRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); ::google::protobuf::internal::memswap< @@ -5552,7 +5500,7 @@ ::google::protobuf::Metadata DeleteTargetRequest::GetMetadata() const { class DeleteTargetResponse::_Internal { public: using HasBits = - decltype(std::declval()._impl_._has_bits_); + decltype(::std::declval()._impl_._has_bits_); static constexpr ::int32_t kHasBitsOffset = 8 * PROTOBUF_FIELD_OFFSET(DeleteTargetResponse, _impl_._has_bits_); }; @@ -5562,26 +5510,27 @@ void DeleteTargetResponse::clear_target() { if (_impl_.target_ != nullptr) _impl_.target_->Clear(); _impl_._has_bits_[0] &= ~0x00000001u; } -DeleteTargetResponse::DeleteTargetResponse(::google::protobuf::Arena* arena) +DeleteTargetResponse::DeleteTargetResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, DeleteTargetResponse_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) +PROTOBUF_NDEBUG_INLINE DeleteTargetResponse::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::management::DeleteTargetResponse& from_msg) : _has_bits_{from._has_bits_}, _cached_size_{0} {} DeleteTargetResponse::DeleteTargetResponse( - ::google::protobuf::Arena* arena, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const DeleteTargetResponse& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, DeleteTargetResponse_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -5591,18 +5540,18 @@ DeleteTargetResponse::DeleteTargetResponse( 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_.target_ = ((cached_has_bits & 0x00000001u) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.target_) + : nullptr; // @@protoc_insertion_point(copy_constructor:management.DeleteTargetResponse) } -inline PROTOBUF_NDEBUG_INLINE DeleteTargetResponse::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE DeleteTargetResponse::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : _cached_size_{0} {} -inline void DeleteTargetResponse::SharedCtor(::_pb::Arena* arena) { +inline void DeleteTargetResponse::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); _impl_.target_ = {}; } @@ -5618,43 +5567,51 @@ inline void DeleteTargetResponse::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* DeleteTargetResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL DeleteTargetResponse::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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(); +constexpr auto DeleteTargetResponse::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull DeleteTargetResponse_class_data_ = + DeleteTargetResponse::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +DeleteTargetResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&DeleteTargetResponse_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(DeleteTargetResponse_class_data_.tc_table); + return DeleteTargetResponse_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 1, 1, 0, 2> DeleteTargetResponse::_table_ = { +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> +DeleteTargetResponse::_table_ = { { PROTOBUF_FIELD_OFFSET(DeleteTargetResponse, _impl_._has_bits_), 0, // no _extensions_ @@ -5665,7 +5622,7 @@ const ::_pbi::TcParseTable<0, 1, 1, 0, 2> DeleteTargetResponse::_table_ = { 1, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + DeleteTargetResponse_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -5681,12 +5638,13 @@ const ::_pbi::TcParseTable<0, 1, 1, 0, 2> DeleteTargetResponse::_table_ = { // 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>()}, - }}, {{ + }}, + {{ + {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, + }}, + {{ }}, }; - PROTOBUF_NOINLINE void DeleteTargetResponse::Clear() { // @@protoc_insertion_point(message_clear_start:management.DeleteTargetResponse) ::google::protobuf::internal::TSanWrite(&_impl_); @@ -5695,7 +5653,7 @@ PROTOBUF_NOINLINE void DeleteTargetResponse::Clear() { (void) cached_has_bits; cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000001u) != 0) { ABSL_DCHECK(_impl_.target_ != nullptr); _impl_.target_->Clear(); } @@ -5704,62 +5662,62 @@ PROTOBUF_NOINLINE void DeleteTargetResponse::Clear() { } #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; - } +::uint8_t* PROTOBUF_NONNULL DeleteTargetResponse::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const DeleteTargetResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL DeleteTargetResponse::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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) != 0) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.target_, this_._impl_.target_->GetCachedSize(), target, + stream); + } + + if (ABSL_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); +::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; +::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; + // @@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; + ::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_); - } + { + // optional .beegfs.EntityIdSet target = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000001u) != 0) { + 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); @@ -5771,11 +5729,10 @@ void DeleteTargetResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, co (void) cached_has_bits; cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000001u) != 0) { ABSL_DCHECK(from._impl_.target_ != nullptr); if (_this->_impl_.target_ == nullptr) { - _this->_impl_.target_ = - ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>(arena, *from._impl_.target_); + _this->_impl_.target_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.target_); } else { _this->_impl_.target_->MergeFrom(*from._impl_.target_); } @@ -5792,8 +5749,8 @@ void DeleteTargetResponse::CopyFrom(const DeleteTargetResponse& from) { } -void DeleteTargetResponse::InternalSwap(DeleteTargetResponse* PROTOBUF_RESTRICT other) { - using std::swap; +void DeleteTargetResponse::InternalSwap(DeleteTargetResponse* PROTOBUF_RESTRICT PROTOBUF_NONNULL 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_); @@ -5807,7 +5764,7 @@ ::google::protobuf::Metadata DeleteTargetResponse::GetMetadata() const { class SetTargetStateRequest::_Internal { public: using HasBits = - decltype(std::declval()._impl_._has_bits_); + decltype(::std::declval()._impl_._has_bits_); static constexpr ::int32_t kHasBitsOffset = 8 * PROTOBUF_FIELD_OFFSET(SetTargetStateRequest, _impl_._has_bits_); }; @@ -5817,26 +5774,27 @@ void SetTargetStateRequest::clear_target() { if (_impl_.target_ != nullptr) _impl_.target_->Clear(); _impl_._has_bits_[0] &= ~0x00000001u; } -SetTargetStateRequest::SetTargetStateRequest(::google::protobuf::Arena* arena) +SetTargetStateRequest::SetTargetStateRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, SetTargetStateRequest_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) +PROTOBUF_NDEBUG_INLINE SetTargetStateRequest::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::management::SetTargetStateRequest& from_msg) : _has_bits_{from._has_bits_}, _cached_size_{0} {} SetTargetStateRequest::SetTargetStateRequest( - ::google::protobuf::Arena* arena, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SetTargetStateRequest& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, SetTargetStateRequest_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -5846,19 +5804,19 @@ SetTargetStateRequest::SetTargetStateRequest( 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_.target_ = ((cached_has_bits & 0x00000001u) != 0) + ? ::google::protobuf::Message::CopyConstruct(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_( +PROTOBUF_NDEBUG_INLINE SetTargetStateRequest::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : _cached_size_{0} {} -inline void SetTargetStateRequest::SharedCtor(::_pb::Arena* arena) { +inline void SetTargetStateRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); ::memset(reinterpret_cast(&_impl_) + offsetof(Impl_, target_), @@ -5879,43 +5837,51 @@ inline void SetTargetStateRequest::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* SetTargetStateRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL SetTargetStateRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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(); +constexpr auto SetTargetStateRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull SetTargetStateRequest_class_data_ = + SetTargetStateRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +SetTargetStateRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&SetTargetStateRequest_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(SetTargetStateRequest_class_data_.tc_table); + return SetTargetStateRequest_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<1, 2, 1, 0, 2> SetTargetStateRequest::_table_ = { +const ::_pbi::TcParseTable<1, 2, 1, 0, 2> +SetTargetStateRequest::_table_ = { { PROTOBUF_FIELD_OFFSET(SetTargetStateRequest, _impl_._has_bits_), 0, // no _extensions_ @@ -5926,7 +5892,7 @@ const ::_pbi::TcParseTable<1, 2, 1, 0, 2> SetTargetStateRequest::_table_ = { 2, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + SetTargetStateRequest_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -5948,12 +5914,13 @@ const ::_pbi::TcParseTable<1, 2, 1, 0, 2> SetTargetStateRequest::_table_ = { // 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>()}, - }}, {{ + }}, + {{ + {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, + }}, + {{ }}, }; - PROTOBUF_NOINLINE void SetTargetStateRequest::Clear() { // @@protoc_insertion_point(message_clear_start:management.SetTargetStateRequest) ::google::protobuf::internal::TSanWrite(&_impl_); @@ -5962,7 +5929,7 @@ PROTOBUF_NOINLINE void SetTargetStateRequest::Clear() { (void) cached_has_bits; cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000001u) != 0) { ABSL_DCHECK(_impl_.target_ != nullptr); _impl_.target_->Clear(); } @@ -5972,75 +5939,75 @@ PROTOBUF_NOINLINE void SetTargetStateRequest::Clear() { } #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; - } +::uint8_t* PROTOBUF_NONNULL SetTargetStateRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const SetTargetStateRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL SetTargetStateRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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) != 0) { + 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) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 2, this_._internal_consistency_state(), target); + } + + if (ABSL_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_); - } +::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) != 0) { + // optional .beegfs.EntityIdSet target = 1; + if ((cached_has_bits & 0x00000001u) != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.target_); + } + // optional .beegfs.ConsistencyState consistency_state = 2; + if ((cached_has_bits & 0x00000002u) != 0) { + 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); @@ -6052,17 +6019,16 @@ void SetTargetStateRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, c (void) cached_has_bits; cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000003u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { ABSL_DCHECK(from._impl_.target_ != nullptr); if (_this->_impl_.target_ == nullptr) { - _this->_impl_.target_ = - ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>(arena, *from._impl_.target_); + _this->_impl_.target_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.target_); } else { _this->_impl_.target_->MergeFrom(*from._impl_.target_); } } - if (cached_has_bits & 0x00000002u) { + if ((cached_has_bits & 0x00000002u) != 0) { _this->_impl_.consistency_state_ = from._impl_.consistency_state_; } } @@ -6078,8 +6044,8 @@ void SetTargetStateRequest::CopyFrom(const SetTargetStateRequest& from) { } -void SetTargetStateRequest::InternalSwap(SetTargetStateRequest* PROTOBUF_RESTRICT other) { - using std::swap; +void SetTargetStateRequest::InternalSwap(SetTargetStateRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); ::google::protobuf::internal::memswap< @@ -6099,19 +6065,19 @@ class SetTargetStateResponse::_Internal { public: }; -SetTargetStateResponse::SetTargetStateResponse(::google::protobuf::Arena* arena) +SetTargetStateResponse::SetTargetStateResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { + : ::google::protobuf::internal::ZeroFieldsBase(arena, SetTargetStateResponse_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, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SetTargetStateResponse& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { + : ::google::protobuf::internal::ZeroFieldsBase(arena, SetTargetStateResponse_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::internal::ZeroFieldsBase(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -6123,43 +6089,51 @@ SetTargetStateResponse::SetTargetStateResponse( // @@protoc_insertion_point(copy_constructor:management.SetTargetStateResponse) } -inline void* SetTargetStateResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL SetTargetStateResponse::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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(); +constexpr auto SetTargetStateResponse::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull SetTargetStateResponse_class_data_ = + SetTargetStateResponse::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +SetTargetStateResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&SetTargetStateResponse_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(SetTargetStateResponse_class_data_.tc_table); + return SetTargetStateResponse_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 0, 0, 0, 2> SetTargetStateResponse::_table_ = { +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> +SetTargetStateResponse::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ @@ -6170,7 +6144,7 @@ const ::_pbi::TcParseTable<0, 0, 0, 0, 2> SetTargetStateResponse::_table_ = { 0, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), + SetTargetStateResponse_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -6180,8 +6154,7 @@ const ::_pbi::TcParseTable<0, 0, 0, 0, 2> SetTargetStateResponse::_table_ = { {::_pbi::TcParser::MiniParse, {}}, }}, {{ 65535, 65535 - }}, - // no field_entries, or aux_entries + }}, // no field_entries, or aux_entries {{ }}, }; @@ -6192,7 +6165,6 @@ const ::_pbi::TcParseTable<0, 0, 0, 0, 2> SetTargetStateResponse::_table_ = { - ::google::protobuf::Metadata SetTargetStateResponse::GetMetadata() const { return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } @@ -6200,11 +6172,15 @@ ::google::protobuf::Metadata SetTargetStateResponse::GetMetadata() const { class GetPoolsRequest::_Internal { public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(GetPoolsRequest, _impl_._has_bits_); }; -GetPoolsRequest::GetPoolsRequest(::google::protobuf::Arena* arena) +GetPoolsRequest::GetPoolsRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, GetPoolsRequest_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -6212,16 +6188,22 @@ GetPoolsRequest::GetPoolsRequest(::google::protobuf::Arena* arena) // @@protoc_insertion_point(arena_constructor:management.GetPoolsRequest) } GetPoolsRequest::GetPoolsRequest( - ::google::protobuf::Arena* arena, const GetPoolsRequest& from) - : GetPoolsRequest(arena) { - MergeFrom(from); + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetPoolsRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, GetPoolsRequest_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); } -inline PROTOBUF_NDEBUG_INLINE GetPoolsRequest::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE GetPoolsRequest::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : _cached_size_{0} {} -inline void GetPoolsRequest::SharedCtor(::_pb::Arena* arena) { +inline void GetPoolsRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); _impl_.with_quota_limits_ = {}; } @@ -6236,45 +6218,53 @@ inline void GetPoolsRequest::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* GetPoolsRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL GetPoolsRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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(); +constexpr auto GetPoolsRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull GetPoolsRequest_class_data_ = + GetPoolsRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +GetPoolsRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&GetPoolsRequest_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(GetPoolsRequest_class_data_.tc_table); + return GetPoolsRequest_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 1, 0, 0, 2> GetPoolsRequest::_table_ = { +const ::_pbi::TcParseTable<0, 1, 0, 0, 2> +GetPoolsRequest::_table_ = { { - 0, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(GetPoolsRequest, _impl_._has_bits_), 0, // no _extensions_ 1, 0, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), @@ -6283,7 +6273,7 @@ const ::_pbi::TcParseTable<0, 1, 0, 0, 2> GetPoolsRequest::_table_ = { 1, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), + GetPoolsRequest_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -6291,20 +6281,19 @@ const ::_pbi::TcParseTable<0, 1, 0, 0, 2> GetPoolsRequest::_table_ = { #endif // PROTOBUF_PREFETCH_PARSE_TABLE }, {{ // bool with_quota_limits = 1; - {::_pbi::TcParser::SingularVarintNoZag1(), - {8, 63, 0, PROTOBUF_FIELD_OFFSET(GetPoolsRequest, _impl_.with_quota_limits_)}}, + {::_pbi::TcParser::SingularVarintNoZag1(), + {8, 0, 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)}, + {PROTOBUF_FIELD_OFFSET(GetPoolsRequest, _impl_.with_quota_limits_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kBool)}, }}, // no aux_entries {{ }}, }; - PROTOBUF_NOINLINE void GetPoolsRequest::Clear() { // @@protoc_insertion_point(message_clear_start:management.GetPoolsRequest) ::google::protobuf::internal::TSanWrite(&_impl_); @@ -6313,63 +6302,69 @@ PROTOBUF_NOINLINE void GetPoolsRequest::Clear() { (void) cached_has_bits; _impl_.with_quota_limits_ = false; + _impl_._has_bits_.Clear(); _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); +::uint8_t* PROTOBUF_NONNULL GetPoolsRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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; +::uint8_t* PROTOBUF_NONNULL GetPoolsRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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); - } + // @@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_._impl_._has_bits_[0] & 0x00000001u) != 0) { + 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 (ABSL_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); +::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; +::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; + // @@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; + ::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_); - } + { + // bool with_quota_limits = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000001u) != 0) { + 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); @@ -6379,9 +6374,13 @@ void GetPoolsRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const : ::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_; + cached_has_bits = from._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000001u) != 0) { + if (from._internal_with_quota_limits() != 0) { + _this->_impl_.with_quota_limits_ = from._impl_.with_quota_limits_; + } } + _this->_impl_._has_bits_[0] |= cached_has_bits; _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } @@ -6393,10 +6392,11 @@ void GetPoolsRequest::CopyFrom(const GetPoolsRequest& from) { } -void GetPoolsRequest::InternalSwap(GetPoolsRequest* PROTOBUF_RESTRICT other) { - using std::swap; +void GetPoolsRequest::InternalSwap(GetPoolsRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_.with_quota_limits_, other->_impl_.with_quota_limits_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.with_quota_limits_, other->_impl_.with_quota_limits_); } ::google::protobuf::Metadata GetPoolsRequest::GetMetadata() const { @@ -6407,7 +6407,7 @@ ::google::protobuf::Metadata GetPoolsRequest::GetMetadata() const { class GetPoolsResponse_StoragePool::_Internal { public: using HasBits = - decltype(std::declval()._impl_._has_bits_); + decltype(::std::declval()._impl_._has_bits_); static constexpr ::int32_t kHasBitsOffset = 8 * PROTOBUF_FIELD_OFFSET(GetPoolsResponse_StoragePool, _impl_._has_bits_); }; @@ -6425,28 +6425,29 @@ void GetPoolsResponse_StoragePool::clear_buddy_groups() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.buddy_groups_.Clear(); } -GetPoolsResponse_StoragePool::GetPoolsResponse_StoragePool(::google::protobuf::Arena* arena) +GetPoolsResponse_StoragePool::GetPoolsResponse_StoragePool(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, GetPoolsResponse_StoragePool_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) +PROTOBUF_NDEBUG_INLINE GetPoolsResponse_StoragePool::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetPoolsResponse_StoragePool& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, GetPoolsResponse_StoragePool_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -6456,9 +6457,9 @@ GetPoolsResponse_StoragePool::GetPoolsResponse_StoragePool( 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_.id_ = ((cached_has_bits & 0x00000001u) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.id_) + : nullptr; ::memcpy(reinterpret_cast(&_impl_) + offsetof(Impl_, user_space_limit_), reinterpret_cast(&from._impl_) + @@ -6469,14 +6470,14 @@ GetPoolsResponse_StoragePool::GetPoolsResponse_StoragePool( // @@protoc_insertion_point(copy_constructor:management.GetPoolsResponse.StoragePool) } -inline PROTOBUF_NDEBUG_INLINE GetPoolsResponse_StoragePool::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE GetPoolsResponse_StoragePool::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : _cached_size_{0}, targets_{visibility, arena}, buddy_groups_{visibility, arena} {} -inline void GetPoolsResponse_StoragePool::SharedCtor(::_pb::Arena* arena) { +inline void GetPoolsResponse_StoragePool::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); ::memset(reinterpret_cast(&_impl_) + offsetof(Impl_, id_), @@ -6497,8 +6498,9 @@ inline void GetPoolsResponse_StoragePool::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* GetPoolsResponse_StoragePool::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL GetPoolsResponse_StoragePool::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { return ::new (mem) GetPoolsResponse_StoragePool(arena); } constexpr auto GetPoolsResponse_StoragePool::InternalNewImpl_() { @@ -6521,35 +6523,42 @@ constexpr auto GetPoolsResponse_StoragePool::InternalNewImpl_() { 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(); +constexpr auto GetPoolsResponse_StoragePool::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull GetPoolsResponse_StoragePool_class_data_ = + GetPoolsResponse_StoragePool::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +GetPoolsResponse_StoragePool::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&GetPoolsResponse_StoragePool_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(GetPoolsResponse_StoragePool_class_data_.tc_table); + return GetPoolsResponse_StoragePool_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<3, 7, 3, 0, 2> GetPoolsResponse_StoragePool::_table_ = { +const ::_pbi::TcParseTable<3, 7, 3, 0, 2> +GetPoolsResponse_StoragePool::_table_ = { { PROTOBUF_FIELD_OFFSET(GetPoolsResponse_StoragePool, _impl_._has_bits_), 0, // no _extensions_ @@ -6560,7 +6569,7 @@ const ::_pbi::TcParseTable<3, 7, 3, 0, 2> GetPoolsResponse_StoragePool::_table_ 7, // num_field_entries 3, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + GetPoolsResponse_StoragePool_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -6613,14 +6622,15 @@ const ::_pbi::TcParseTable<3, 7, 3, 0, 2> GetPoolsResponse_StoragePool::_table_ // 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>()}, - }}, {{ + }}, + {{ + {::_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_); @@ -6631,11 +6641,11 @@ PROTOBUF_NOINLINE void GetPoolsResponse_StoragePool::Clear() { _impl_.targets_.Clear(); _impl_.buddy_groups_.Clear(); cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000001u) != 0) { ABSL_DCHECK(_impl_.id_ != nullptr); _impl_.id_->Clear(); } - if (cached_has_bits & 0x0000001eu) { + if ((cached_has_bits & 0x0000001eu) != 0) { ::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_)); @@ -6645,149 +6655,149 @@ PROTOBUF_NOINLINE void GetPoolsResponse_StoragePool::Clear() { } #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; - } +::uint8_t* PROTOBUF_NONNULL GetPoolsResponse_StoragePool::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const GetPoolsResponse_StoragePool& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL GetPoolsResponse_StoragePool::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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) != 0) { + 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) != 0) { + 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) != 0) { + 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) != 0) { + 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) != 0) { + target = + ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<7>( + stream, this_._internal_group_inode_limit(), target); + } + + if (ABSL_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_); - } +::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) != 0) { + // .beegfs.EntityIdSet id = 1; + if ((cached_has_bits & 0x00000001u) != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.id_); + } + // optional int64 user_space_limit = 4; + if ((cached_has_bits & 0x00000002u) != 0) { + total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( + this_._internal_user_space_limit()); + } + // optional int64 user_inode_limit = 5; + if ((cached_has_bits & 0x00000004u) != 0) { + total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( + this_._internal_user_inode_limit()); + } + // optional int64 group_space_limit = 6; + if ((cached_has_bits & 0x00000008u) != 0) { + total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( + this_._internal_group_space_limit()); + } + // optional int64 group_inode_limit = 7; + if ((cached_has_bits & 0x00000010u) != 0) { + 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); @@ -6803,26 +6813,25 @@ void GetPoolsResponse_StoragePool::MergeImpl(::google::protobuf::MessageLite& to _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) { + if ((cached_has_bits & 0x0000001fu) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { ABSL_DCHECK(from._impl_.id_ != nullptr); if (_this->_impl_.id_ == nullptr) { - _this->_impl_.id_ = - ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>(arena, *from._impl_.id_); + _this->_impl_.id_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.id_); } else { _this->_impl_.id_->MergeFrom(*from._impl_.id_); } } - if (cached_has_bits & 0x00000002u) { + if ((cached_has_bits & 0x00000002u) != 0) { _this->_impl_.user_space_limit_ = from._impl_.user_space_limit_; } - if (cached_has_bits & 0x00000004u) { + if ((cached_has_bits & 0x00000004u) != 0) { _this->_impl_.user_inode_limit_ = from._impl_.user_inode_limit_; } - if (cached_has_bits & 0x00000008u) { + if ((cached_has_bits & 0x00000008u) != 0) { _this->_impl_.group_space_limit_ = from._impl_.group_space_limit_; } - if (cached_has_bits & 0x00000010u) { + if ((cached_has_bits & 0x00000010u) != 0) { _this->_impl_.group_inode_limit_ = from._impl_.group_inode_limit_; } } @@ -6838,8 +6847,8 @@ void GetPoolsResponse_StoragePool::CopyFrom(const GetPoolsResponse_StoragePool& } -void GetPoolsResponse_StoragePool::InternalSwap(GetPoolsResponse_StoragePool* PROTOBUF_RESTRICT other) { - using std::swap; +void GetPoolsResponse_StoragePool::InternalSwap(GetPoolsResponse_StoragePool* PROTOBUF_RESTRICT PROTOBUF_NONNULL 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_); @@ -6861,26 +6870,27 @@ class GetPoolsResponse::_Internal { public: }; -GetPoolsResponse::GetPoolsResponse(::google::protobuf::Arena* arena) +GetPoolsResponse::GetPoolsResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, GetPoolsResponse_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) +PROTOBUF_NDEBUG_INLINE GetPoolsResponse::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::management::GetPoolsResponse& from_msg) : pools_{visibility, arena, from.pools_}, _cached_size_{0} {} GetPoolsResponse::GetPoolsResponse( - ::google::protobuf::Arena* arena, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetPoolsResponse& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, GetPoolsResponse_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -6892,13 +6902,13 @@ GetPoolsResponse::GetPoolsResponse( // @@protoc_insertion_point(copy_constructor:management.GetPoolsResponse) } -inline PROTOBUF_NDEBUG_INLINE GetPoolsResponse::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE GetPoolsResponse::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : pools_{visibility, arena}, _cached_size_{0} {} -inline void GetPoolsResponse::SharedCtor(::_pb::Arena* arena) { +inline void GetPoolsResponse::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); } GetPoolsResponse::~GetPoolsResponse() { @@ -6912,8 +6922,9 @@ inline void GetPoolsResponse::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* GetPoolsResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL GetPoolsResponse::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { return ::new (mem) GetPoolsResponse(arena); } constexpr auto GetPoolsResponse::InternalNewImpl_() { @@ -6932,35 +6943,42 @@ constexpr auto GetPoolsResponse::InternalNewImpl_() { 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(); +constexpr auto GetPoolsResponse::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull GetPoolsResponse_class_data_ = + GetPoolsResponse::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +GetPoolsResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&GetPoolsResponse_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(GetPoolsResponse_class_data_.tc_table); + return GetPoolsResponse_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 1, 1, 0, 2> GetPoolsResponse::_table_ = { +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> +GetPoolsResponse::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ @@ -6971,7 +6989,7 @@ const ::_pbi::TcParseTable<0, 1, 1, 0, 2> GetPoolsResponse::_table_ = { 1, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + GetPoolsResponse_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -6987,12 +7005,13 @@ const ::_pbi::TcParseTable<0, 1, 1, 0, 2> GetPoolsResponse::_table_ = { // 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>()}, - }}, {{ + }}, + {{ + {::_pbi::TcParser::GetTable<::management::GetPoolsResponse_StoragePool>()}, + }}, + {{ }}, }; - PROTOBUF_NOINLINE void GetPoolsResponse::Clear() { // @@protoc_insertion_point(message_clear_start:management.GetPoolsResponse) ::google::protobuf::internal::TSanWrite(&_impl_); @@ -7005,67 +7024,67 @@ PROTOBUF_NOINLINE void GetPoolsResponse::Clear() { } #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; - } +::uint8_t* PROTOBUF_NONNULL GetPoolsResponse::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const GetPoolsResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL GetPoolsResponse::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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 (ABSL_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); +::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; +::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; + // @@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; + ::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_); - } + ::_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); @@ -7088,8 +7107,8 @@ void GetPoolsResponse::CopyFrom(const GetPoolsResponse& from) { } -void GetPoolsResponse::InternalSwap(GetPoolsResponse* PROTOBUF_RESTRICT other) { - using std::swap; +void GetPoolsResponse::InternalSwap(GetPoolsResponse* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); _impl_.pools_.InternalSwap(&other->_impl_.pools_); } @@ -7102,7 +7121,7 @@ ::google::protobuf::Metadata GetPoolsResponse::GetMetadata() const { class CreatePoolRequest::_Internal { public: using HasBits = - decltype(std::declval()._impl_._has_bits_); + decltype(::std::declval()._impl_._has_bits_); static constexpr ::int32_t kHasBitsOffset = 8 * PROTOBUF_FIELD_OFFSET(CreatePoolRequest, _impl_._has_bits_); }; @@ -7115,18 +7134,19 @@ void CreatePoolRequest::clear_buddy_groups() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.buddy_groups_.Clear(); } -CreatePoolRequest::CreatePoolRequest(::google::protobuf::Arena* arena) +CreatePoolRequest::CreatePoolRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, CreatePoolRequest_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) +PROTOBUF_NDEBUG_INLINE CreatePoolRequest::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::management::CreatePoolRequest& from_msg) : _has_bits_{from._has_bits_}, _cached_size_{0}, targets_{visibility, arena, from.targets_}, @@ -7134,10 +7154,10 @@ inline PROTOBUF_NDEBUG_INLINE CreatePoolRequest::Impl_::Impl_( alias_(arena, from.alias_) {} CreatePoolRequest::CreatePoolRequest( - ::google::protobuf::Arena* arena, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CreatePoolRequest& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, CreatePoolRequest_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -7156,15 +7176,15 @@ CreatePoolRequest::CreatePoolRequest( // @@protoc_insertion_point(copy_constructor:management.CreatePoolRequest) } -inline PROTOBUF_NDEBUG_INLINE CreatePoolRequest::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE CreatePoolRequest::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : _cached_size_{0}, targets_{visibility, arena}, buddy_groups_{visibility, arena}, alias_(arena) {} -inline void CreatePoolRequest::SharedCtor(::_pb::Arena* arena) { +inline void CreatePoolRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); ::memset(reinterpret_cast(&_impl_) + offsetof(Impl_, node_type_), @@ -7185,8 +7205,9 @@ inline void CreatePoolRequest::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* CreatePoolRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL CreatePoolRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { return ::new (mem) CreatePoolRequest(arena); } constexpr auto CreatePoolRequest::InternalNewImpl_() { @@ -7209,35 +7230,42 @@ constexpr auto CreatePoolRequest::InternalNewImpl_() { 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(); +constexpr auto CreatePoolRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull CreatePoolRequest_class_data_ = + CreatePoolRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +CreatePoolRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&CreatePoolRequest_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(CreatePoolRequest_class_data_.tc_table); + return CreatePoolRequest_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<3, 5, 2, 42, 2> CreatePoolRequest::_table_ = { +const ::_pbi::TcParseTable<3, 5, 2, 42, 2> +CreatePoolRequest::_table_ = { { PROTOBUF_FIELD_OFFSET(CreatePoolRequest, _impl_._has_bits_), 0, // no _extensions_ @@ -7248,7 +7276,7 @@ const ::_pbi::TcParseTable<3, 5, 2, 42, 2> CreatePoolRequest::_table_ = { 5, // num_field_entries 2, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + CreatePoolRequest_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -7291,16 +7319,17 @@ const ::_pbi::TcParseTable<3, 5, 2, 42, 2> CreatePoolRequest::_table_ = { // 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>()}, - }}, {{ + }}, + {{ + {::_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_); @@ -7311,10 +7340,10 @@ PROTOBUF_NOINLINE void CreatePoolRequest::Clear() { _impl_.targets_.Clear(); _impl_.buddy_groups_.Clear(); cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000001u) != 0) { _impl_.alias_.ClearNonDefaultToEmpty(); } - if (cached_has_bits & 0x00000006u) { + if ((cached_has_bits & 0x00000006u) != 0) { ::memset(&_impl_.node_type_, 0, static_cast<::size_t>( reinterpret_cast(&_impl_.num_id_) - reinterpret_cast(&_impl_.node_type_)) + sizeof(_impl_.num_id_)); @@ -7324,126 +7353,126 @@ PROTOBUF_NOINLINE void CreatePoolRequest::Clear() { } #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; - } +::uint8_t* PROTOBUF_NONNULL CreatePoolRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const CreatePoolRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL CreatePoolRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 1, this_._internal_node_type(), target); + } + + // optional uint32 num_id = 2; + if ((cached_has_bits & 0x00000004u) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this_._internal_num_id(), target); + } + + // optional string alias = 3; + if ((cached_has_bits & 0x00000001u) != 0) { + 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 (ABSL_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_); - } +::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) != 0) { + // optional string alias = 3; + if ((cached_has_bits & 0x00000001u) != 0) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_alias()); + } + // optional .beegfs.NodeType node_type = 1; + if ((cached_has_bits & 0x00000002u) != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_node_type()); + } + // optional uint32 num_id = 2; + if ((cached_has_bits & 0x00000004u) != 0) { + 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); @@ -7458,14 +7487,14 @@ void CreatePoolRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const _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) { + if ((cached_has_bits & 0x00000007u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { _this->_internal_set_alias(from._internal_alias()); } - if (cached_has_bits & 0x00000002u) { + if ((cached_has_bits & 0x00000002u) != 0) { _this->_impl_.node_type_ = from._impl_.node_type_; } - if (cached_has_bits & 0x00000004u) { + if ((cached_has_bits & 0x00000004u) != 0) { _this->_impl_.num_id_ = from._impl_.num_id_; } } @@ -7481,8 +7510,8 @@ void CreatePoolRequest::CopyFrom(const CreatePoolRequest& from) { } -void CreatePoolRequest::InternalSwap(CreatePoolRequest* PROTOBUF_RESTRICT other) { - using std::swap; +void CreatePoolRequest::InternalSwap(CreatePoolRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; auto* arena = GetArena(); ABSL_DCHECK_EQ(arena, other->GetArena()); _internal_metadata_.InternalSwap(&other->_internal_metadata_); @@ -7506,7 +7535,7 @@ ::google::protobuf::Metadata CreatePoolRequest::GetMetadata() const { class CreatePoolResponse::_Internal { public: using HasBits = - decltype(std::declval()._impl_._has_bits_); + decltype(::std::declval()._impl_._has_bits_); static constexpr ::int32_t kHasBitsOffset = 8 * PROTOBUF_FIELD_OFFSET(CreatePoolResponse, _impl_._has_bits_); }; @@ -7516,26 +7545,27 @@ void CreatePoolResponse::clear_pool() { if (_impl_.pool_ != nullptr) _impl_.pool_->Clear(); _impl_._has_bits_[0] &= ~0x00000001u; } -CreatePoolResponse::CreatePoolResponse(::google::protobuf::Arena* arena) +CreatePoolResponse::CreatePoolResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, CreatePoolResponse_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) +PROTOBUF_NDEBUG_INLINE CreatePoolResponse::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::management::CreatePoolResponse& from_msg) : _has_bits_{from._has_bits_}, _cached_size_{0} {} CreatePoolResponse::CreatePoolResponse( - ::google::protobuf::Arena* arena, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CreatePoolResponse& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, CreatePoolResponse_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -7545,18 +7575,18 @@ CreatePoolResponse::CreatePoolResponse( 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_.pool_ = ((cached_has_bits & 0x00000001u) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.pool_) + : nullptr; // @@protoc_insertion_point(copy_constructor:management.CreatePoolResponse) } -inline PROTOBUF_NDEBUG_INLINE CreatePoolResponse::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE CreatePoolResponse::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : _cached_size_{0} {} -inline void CreatePoolResponse::SharedCtor(::_pb::Arena* arena) { +inline void CreatePoolResponse::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); _impl_.pool_ = {}; } @@ -7572,43 +7602,51 @@ inline void CreatePoolResponse::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* CreatePoolResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL CreatePoolResponse::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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(); +constexpr auto CreatePoolResponse::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull CreatePoolResponse_class_data_ = + CreatePoolResponse::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +CreatePoolResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&CreatePoolResponse_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(CreatePoolResponse_class_data_.tc_table); + return CreatePoolResponse_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 1, 1, 0, 2> CreatePoolResponse::_table_ = { +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> +CreatePoolResponse::_table_ = { { PROTOBUF_FIELD_OFFSET(CreatePoolResponse, _impl_._has_bits_), 0, // no _extensions_ @@ -7619,7 +7657,7 @@ const ::_pbi::TcParseTable<0, 1, 1, 0, 2> CreatePoolResponse::_table_ = { 1, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + CreatePoolResponse_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -7635,12 +7673,13 @@ const ::_pbi::TcParseTable<0, 1, 1, 0, 2> CreatePoolResponse::_table_ = { // 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>()}, - }}, {{ + }}, + {{ + {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, + }}, + {{ }}, }; - PROTOBUF_NOINLINE void CreatePoolResponse::Clear() { // @@protoc_insertion_point(message_clear_start:management.CreatePoolResponse) ::google::protobuf::internal::TSanWrite(&_impl_); @@ -7649,7 +7688,7 @@ PROTOBUF_NOINLINE void CreatePoolResponse::Clear() { (void) cached_has_bits; cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000001u) != 0) { ABSL_DCHECK(_impl_.pool_ != nullptr); _impl_.pool_->Clear(); } @@ -7658,62 +7697,62 @@ PROTOBUF_NOINLINE void CreatePoolResponse::Clear() { } #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; - } +::uint8_t* PROTOBUF_NONNULL CreatePoolResponse::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const CreatePoolResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL CreatePoolResponse::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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) != 0) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.pool_, this_._impl_.pool_->GetCachedSize(), target, + stream); + } + + if (ABSL_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); +::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; +::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; + // @@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; + ::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_); - } + { + // optional .beegfs.EntityIdSet pool = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000001u) != 0) { + 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); @@ -7725,11 +7764,10 @@ void CreatePoolResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, cons (void) cached_has_bits; cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000001u) != 0) { ABSL_DCHECK(from._impl_.pool_ != nullptr); if (_this->_impl_.pool_ == nullptr) { - _this->_impl_.pool_ = - ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>(arena, *from._impl_.pool_); + _this->_impl_.pool_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.pool_); } else { _this->_impl_.pool_->MergeFrom(*from._impl_.pool_); } @@ -7746,8 +7784,8 @@ void CreatePoolResponse::CopyFrom(const CreatePoolResponse& from) { } -void CreatePoolResponse::InternalSwap(CreatePoolResponse* PROTOBUF_RESTRICT other) { - using std::swap; +void CreatePoolResponse::InternalSwap(CreatePoolResponse* PROTOBUF_RESTRICT PROTOBUF_NONNULL 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_); @@ -7761,7 +7799,7 @@ ::google::protobuf::Metadata CreatePoolResponse::GetMetadata() const { class AssignPoolRequest::_Internal { public: using HasBits = - decltype(std::declval()._impl_._has_bits_); + decltype(::std::declval()._impl_._has_bits_); static constexpr ::int32_t kHasBitsOffset = 8 * PROTOBUF_FIELD_OFFSET(AssignPoolRequest, _impl_._has_bits_); }; @@ -7779,28 +7817,29 @@ void AssignPoolRequest::clear_buddy_groups() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.buddy_groups_.Clear(); } -AssignPoolRequest::AssignPoolRequest(::google::protobuf::Arena* arena) +AssignPoolRequest::AssignPoolRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, AssignPoolRequest_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) +PROTOBUF_NDEBUG_INLINE AssignPoolRequest::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const AssignPoolRequest& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, AssignPoolRequest_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -7810,20 +7849,20 @@ AssignPoolRequest::AssignPoolRequest( 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_.pool_ = ((cached_has_bits & 0x00000001u) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.pool_) + : nullptr; // @@protoc_insertion_point(copy_constructor:management.AssignPoolRequest) } -inline PROTOBUF_NDEBUG_INLINE AssignPoolRequest::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE AssignPoolRequest::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : _cached_size_{0}, targets_{visibility, arena}, buddy_groups_{visibility, arena} {} -inline void AssignPoolRequest::SharedCtor(::_pb::Arena* arena) { +inline void AssignPoolRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); _impl_.pool_ = {}; } @@ -7839,8 +7878,9 @@ inline void AssignPoolRequest::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* AssignPoolRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL AssignPoolRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { return ::new (mem) AssignPoolRequest(arena); } constexpr auto AssignPoolRequest::InternalNewImpl_() { @@ -7863,35 +7903,42 @@ constexpr auto AssignPoolRequest::InternalNewImpl_() { 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(); +constexpr auto AssignPoolRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull AssignPoolRequest_class_data_ = + AssignPoolRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +AssignPoolRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&AssignPoolRequest_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(AssignPoolRequest_class_data_.tc_table); + return AssignPoolRequest_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<2, 3, 3, 0, 2> AssignPoolRequest::_table_ = { +const ::_pbi::TcParseTable<2, 3, 3, 0, 2> +AssignPoolRequest::_table_ = { { PROTOBUF_FIELD_OFFSET(AssignPoolRequest, _impl_._has_bits_), 0, // no _extensions_ @@ -7902,7 +7949,7 @@ const ::_pbi::TcParseTable<2, 3, 3, 0, 2> AssignPoolRequest::_table_ = { 3, // num_field_entries 3, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + AssignPoolRequest_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -7931,14 +7978,15 @@ const ::_pbi::TcParseTable<2, 3, 3, 0, 2> AssignPoolRequest::_table_ = { // 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>()}, - }}, {{ + }}, + {{ + {::_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_); @@ -7949,7 +7997,7 @@ PROTOBUF_NOINLINE void AssignPoolRequest::Clear() { _impl_.targets_.Clear(); _impl_.buddy_groups_.Clear(); cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000001u) != 0) { ABSL_DCHECK(_impl_.pool_ != nullptr); _impl_.pool_->Clear(); } @@ -7958,101 +8006,101 @@ PROTOBUF_NOINLINE void AssignPoolRequest::Clear() { } #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; - } +::uint8_t* PROTOBUF_NONNULL AssignPoolRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const AssignPoolRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL AssignPoolRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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) != 0) { + 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 (ABSL_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_); - } +::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) != 0) { + 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); @@ -8068,11 +8116,10 @@ void AssignPoolRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const _this->_internal_mutable_buddy_groups()->MergeFrom( from._internal_buddy_groups()); cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000001u) != 0) { ABSL_DCHECK(from._impl_.pool_ != nullptr); if (_this->_impl_.pool_ == nullptr) { - _this->_impl_.pool_ = - ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>(arena, *from._impl_.pool_); + _this->_impl_.pool_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.pool_); } else { _this->_impl_.pool_->MergeFrom(*from._impl_.pool_); } @@ -8089,8 +8136,8 @@ void AssignPoolRequest::CopyFrom(const AssignPoolRequest& from) { } -void AssignPoolRequest::InternalSwap(AssignPoolRequest* PROTOBUF_RESTRICT other) { - using std::swap; +void AssignPoolRequest::InternalSwap(AssignPoolRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL 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_); @@ -8106,7 +8153,7 @@ ::google::protobuf::Metadata AssignPoolRequest::GetMetadata() const { class AssignPoolResponse::_Internal { public: using HasBits = - decltype(std::declval()._impl_._has_bits_); + decltype(::std::declval()._impl_._has_bits_); static constexpr ::int32_t kHasBitsOffset = 8 * PROTOBUF_FIELD_OFFSET(AssignPoolResponse, _impl_._has_bits_); }; @@ -8116,26 +8163,27 @@ void AssignPoolResponse::clear_pool() { if (_impl_.pool_ != nullptr) _impl_.pool_->Clear(); _impl_._has_bits_[0] &= ~0x00000001u; } -AssignPoolResponse::AssignPoolResponse(::google::protobuf::Arena* arena) +AssignPoolResponse::AssignPoolResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, AssignPoolResponse_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) +PROTOBUF_NDEBUG_INLINE AssignPoolResponse::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::management::AssignPoolResponse& from_msg) : _has_bits_{from._has_bits_}, _cached_size_{0} {} AssignPoolResponse::AssignPoolResponse( - ::google::protobuf::Arena* arena, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const AssignPoolResponse& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, AssignPoolResponse_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -8145,18 +8193,18 @@ AssignPoolResponse::AssignPoolResponse( 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_.pool_ = ((cached_has_bits & 0x00000001u) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.pool_) + : nullptr; // @@protoc_insertion_point(copy_constructor:management.AssignPoolResponse) } -inline PROTOBUF_NDEBUG_INLINE AssignPoolResponse::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE AssignPoolResponse::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : _cached_size_{0} {} -inline void AssignPoolResponse::SharedCtor(::_pb::Arena* arena) { +inline void AssignPoolResponse::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); _impl_.pool_ = {}; } @@ -8172,43 +8220,51 @@ inline void AssignPoolResponse::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* AssignPoolResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL AssignPoolResponse::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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(); +constexpr auto AssignPoolResponse::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull AssignPoolResponse_class_data_ = + AssignPoolResponse::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +AssignPoolResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&AssignPoolResponse_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(AssignPoolResponse_class_data_.tc_table); + return AssignPoolResponse_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 1, 1, 0, 2> AssignPoolResponse::_table_ = { +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> +AssignPoolResponse::_table_ = { { PROTOBUF_FIELD_OFFSET(AssignPoolResponse, _impl_._has_bits_), 0, // no _extensions_ @@ -8219,7 +8275,7 @@ const ::_pbi::TcParseTable<0, 1, 1, 0, 2> AssignPoolResponse::_table_ = { 1, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + AssignPoolResponse_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -8235,12 +8291,13 @@ const ::_pbi::TcParseTable<0, 1, 1, 0, 2> AssignPoolResponse::_table_ = { // 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>()}, - }}, {{ + }}, + {{ + {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, + }}, + {{ }}, }; - PROTOBUF_NOINLINE void AssignPoolResponse::Clear() { // @@protoc_insertion_point(message_clear_start:management.AssignPoolResponse) ::google::protobuf::internal::TSanWrite(&_impl_); @@ -8249,7 +8306,7 @@ PROTOBUF_NOINLINE void AssignPoolResponse::Clear() { (void) cached_has_bits; cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000001u) != 0) { ABSL_DCHECK(_impl_.pool_ != nullptr); _impl_.pool_->Clear(); } @@ -8258,62 +8315,62 @@ PROTOBUF_NOINLINE void AssignPoolResponse::Clear() { } #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; - } +::uint8_t* PROTOBUF_NONNULL AssignPoolResponse::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const AssignPoolResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL AssignPoolResponse::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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) != 0) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.pool_, this_._impl_.pool_->GetCachedSize(), target, + stream); + } + + if (ABSL_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); +::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; +::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; + // @@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; + ::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_); - } + { + // optional .beegfs.EntityIdSet pool = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000001u) != 0) { + 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); @@ -8325,11 +8382,10 @@ void AssignPoolResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, cons (void) cached_has_bits; cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000001u) != 0) { ABSL_DCHECK(from._impl_.pool_ != nullptr); if (_this->_impl_.pool_ == nullptr) { - _this->_impl_.pool_ = - ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>(arena, *from._impl_.pool_); + _this->_impl_.pool_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.pool_); } else { _this->_impl_.pool_->MergeFrom(*from._impl_.pool_); } @@ -8346,8 +8402,8 @@ void AssignPoolResponse::CopyFrom(const AssignPoolResponse& from) { } -void AssignPoolResponse::InternalSwap(AssignPoolResponse* PROTOBUF_RESTRICT other) { - using std::swap; +void AssignPoolResponse::InternalSwap(AssignPoolResponse* PROTOBUF_RESTRICT PROTOBUF_NONNULL 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_); @@ -8361,7 +8417,7 @@ ::google::protobuf::Metadata AssignPoolResponse::GetMetadata() const { class DeletePoolRequest::_Internal { public: using HasBits = - decltype(std::declval()._impl_._has_bits_); + decltype(::std::declval()._impl_._has_bits_); static constexpr ::int32_t kHasBitsOffset = 8 * PROTOBUF_FIELD_OFFSET(DeletePoolRequest, _impl_._has_bits_); }; @@ -8371,26 +8427,27 @@ void DeletePoolRequest::clear_pool() { if (_impl_.pool_ != nullptr) _impl_.pool_->Clear(); _impl_._has_bits_[0] &= ~0x00000001u; } -DeletePoolRequest::DeletePoolRequest(::google::protobuf::Arena* arena) +DeletePoolRequest::DeletePoolRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, DeletePoolRequest_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) +PROTOBUF_NDEBUG_INLINE DeletePoolRequest::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::management::DeletePoolRequest& from_msg) : _has_bits_{from._has_bits_}, _cached_size_{0} {} DeletePoolRequest::DeletePoolRequest( - ::google::protobuf::Arena* arena, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const DeletePoolRequest& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, DeletePoolRequest_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -8400,19 +8457,19 @@ DeletePoolRequest::DeletePoolRequest( 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_.pool_ = ((cached_has_bits & 0x00000001u) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.pool_) + : nullptr; _impl_.execute_ = from._impl_.execute_; // @@protoc_insertion_point(copy_constructor:management.DeletePoolRequest) } -inline PROTOBUF_NDEBUG_INLINE DeletePoolRequest::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE DeletePoolRequest::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : _cached_size_{0} {} -inline void DeletePoolRequest::SharedCtor(::_pb::Arena* arena) { +inline void DeletePoolRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); ::memset(reinterpret_cast(&_impl_) + offsetof(Impl_, pool_), @@ -8433,43 +8490,51 @@ inline void DeletePoolRequest::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* DeletePoolRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL DeletePoolRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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(); +constexpr auto DeletePoolRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull DeletePoolRequest_class_data_ = + DeletePoolRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +DeletePoolRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&DeletePoolRequest_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(DeletePoolRequest_class_data_.tc_table); + return DeletePoolRequest_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<1, 2, 1, 0, 2> DeletePoolRequest::_table_ = { +const ::_pbi::TcParseTable<1, 2, 1, 0, 2> +DeletePoolRequest::_table_ = { { PROTOBUF_FIELD_OFFSET(DeletePoolRequest, _impl_._has_bits_), 0, // no _extensions_ @@ -8480,7 +8545,7 @@ const ::_pbi::TcParseTable<1, 2, 1, 0, 2> DeletePoolRequest::_table_ = { 2, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + DeletePoolRequest_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -8502,12 +8567,13 @@ const ::_pbi::TcParseTable<1, 2, 1, 0, 2> DeletePoolRequest::_table_ = { // optional bool execute = 2; {PROTOBUF_FIELD_OFFSET(DeletePoolRequest, _impl_.execute_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)}, - }}, {{ - {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, - }}, {{ + }}, + {{ + {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, + }}, + {{ }}, }; - PROTOBUF_NOINLINE void DeletePoolRequest::Clear() { // @@protoc_insertion_point(message_clear_start:management.DeletePoolRequest) ::google::protobuf::internal::TSanWrite(&_impl_); @@ -8516,7 +8582,7 @@ PROTOBUF_NOINLINE void DeletePoolRequest::Clear() { (void) cached_has_bits; cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000001u) != 0) { ABSL_DCHECK(_impl_.pool_ != nullptr); _impl_.pool_->Clear(); } @@ -8526,74 +8592,71 @@ PROTOBUF_NOINLINE void DeletePoolRequest::Clear() { } #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; - } +::uint8_t* PROTOBUF_NONNULL DeletePoolRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const DeletePoolRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL DeletePoolRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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) != 0) { + 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) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this_._internal_execute(), target); + } + + if (ABSL_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_); - } +::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]; + total_size += static_cast(0x00000002u & cached_has_bits) * 2; + { + // optional .beegfs.EntityIdSet pool = 1; + if ((cached_has_bits & 0x00000001u) != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.pool_); + } + } + 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); @@ -8605,17 +8668,16 @@ void DeletePoolRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const (void) cached_has_bits; cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000003u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { ABSL_DCHECK(from._impl_.pool_ != nullptr); if (_this->_impl_.pool_ == nullptr) { - _this->_impl_.pool_ = - ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>(arena, *from._impl_.pool_); + _this->_impl_.pool_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.pool_); } else { _this->_impl_.pool_->MergeFrom(*from._impl_.pool_); } } - if (cached_has_bits & 0x00000002u) { + if ((cached_has_bits & 0x00000002u) != 0) { _this->_impl_.execute_ = from._impl_.execute_; } } @@ -8631,8 +8693,8 @@ void DeletePoolRequest::CopyFrom(const DeletePoolRequest& from) { } -void DeletePoolRequest::InternalSwap(DeletePoolRequest* PROTOBUF_RESTRICT other) { - using std::swap; +void DeletePoolRequest::InternalSwap(DeletePoolRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); ::google::protobuf::internal::memswap< @@ -8651,7 +8713,7 @@ ::google::protobuf::Metadata DeletePoolRequest::GetMetadata() const { class DeletePoolResponse::_Internal { public: using HasBits = - decltype(std::declval()._impl_._has_bits_); + decltype(::std::declval()._impl_._has_bits_); static constexpr ::int32_t kHasBitsOffset = 8 * PROTOBUF_FIELD_OFFSET(DeletePoolResponse, _impl_._has_bits_); }; @@ -8661,26 +8723,27 @@ void DeletePoolResponse::clear_pool() { if (_impl_.pool_ != nullptr) _impl_.pool_->Clear(); _impl_._has_bits_[0] &= ~0x00000001u; } -DeletePoolResponse::DeletePoolResponse(::google::protobuf::Arena* arena) +DeletePoolResponse::DeletePoolResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, DeletePoolResponse_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) +PROTOBUF_NDEBUG_INLINE DeletePoolResponse::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::management::DeletePoolResponse& from_msg) : _has_bits_{from._has_bits_}, _cached_size_{0} {} DeletePoolResponse::DeletePoolResponse( - ::google::protobuf::Arena* arena, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const DeletePoolResponse& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, DeletePoolResponse_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -8690,18 +8753,18 @@ DeletePoolResponse::DeletePoolResponse( 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_.pool_ = ((cached_has_bits & 0x00000001u) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.pool_) + : nullptr; // @@protoc_insertion_point(copy_constructor:management.DeletePoolResponse) } -inline PROTOBUF_NDEBUG_INLINE DeletePoolResponse::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE DeletePoolResponse::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : _cached_size_{0} {} -inline void DeletePoolResponse::SharedCtor(::_pb::Arena* arena) { +inline void DeletePoolResponse::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); _impl_.pool_ = {}; } @@ -8717,43 +8780,51 @@ inline void DeletePoolResponse::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* DeletePoolResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL DeletePoolResponse::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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(); +constexpr auto DeletePoolResponse::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull DeletePoolResponse_class_data_ = + DeletePoolResponse::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +DeletePoolResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&DeletePoolResponse_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(DeletePoolResponse_class_data_.tc_table); + return DeletePoolResponse_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 1, 1, 0, 2> DeletePoolResponse::_table_ = { +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> +DeletePoolResponse::_table_ = { { PROTOBUF_FIELD_OFFSET(DeletePoolResponse, _impl_._has_bits_), 0, // no _extensions_ @@ -8764,7 +8835,7 @@ const ::_pbi::TcParseTable<0, 1, 1, 0, 2> DeletePoolResponse::_table_ = { 1, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + DeletePoolResponse_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -8780,12 +8851,13 @@ const ::_pbi::TcParseTable<0, 1, 1, 0, 2> DeletePoolResponse::_table_ = { // 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>()}, - }}, {{ + }}, + {{ + {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, + }}, + {{ }}, }; - PROTOBUF_NOINLINE void DeletePoolResponse::Clear() { // @@protoc_insertion_point(message_clear_start:management.DeletePoolResponse) ::google::protobuf::internal::TSanWrite(&_impl_); @@ -8794,7 +8866,7 @@ PROTOBUF_NOINLINE void DeletePoolResponse::Clear() { (void) cached_has_bits; cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000001u) != 0) { ABSL_DCHECK(_impl_.pool_ != nullptr); _impl_.pool_->Clear(); } @@ -8803,62 +8875,62 @@ PROTOBUF_NOINLINE void DeletePoolResponse::Clear() { } #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; - } +::uint8_t* PROTOBUF_NONNULL DeletePoolResponse::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const DeletePoolResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL DeletePoolResponse::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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) != 0) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.pool_, this_._impl_.pool_->GetCachedSize(), target, + stream); + } + + if (ABSL_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); +::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; +::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; + // @@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; + ::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_); - } + { + // optional .beegfs.EntityIdSet pool = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000001u) != 0) { + 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); @@ -8870,11 +8942,10 @@ void DeletePoolResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, cons (void) cached_has_bits; cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000001u) != 0) { ABSL_DCHECK(from._impl_.pool_ != nullptr); if (_this->_impl_.pool_ == nullptr) { - _this->_impl_.pool_ = - ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>(arena, *from._impl_.pool_); + _this->_impl_.pool_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.pool_); } else { _this->_impl_.pool_->MergeFrom(*from._impl_.pool_); } @@ -8891,8 +8962,8 @@ void DeletePoolResponse::CopyFrom(const DeletePoolResponse& from) { } -void DeletePoolResponse::InternalSwap(DeletePoolResponse* PROTOBUF_RESTRICT other) { - using std::swap; +void DeletePoolResponse::InternalSwap(DeletePoolResponse* PROTOBUF_RESTRICT PROTOBUF_NONNULL 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_); @@ -8907,19 +8978,19 @@ class GetBuddyGroupsRequest::_Internal { public: }; -GetBuddyGroupsRequest::GetBuddyGroupsRequest(::google::protobuf::Arena* arena) +GetBuddyGroupsRequest::GetBuddyGroupsRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { + : ::google::protobuf::internal::ZeroFieldsBase(arena, GetBuddyGroupsRequest_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, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetBuddyGroupsRequest& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { + : ::google::protobuf::internal::ZeroFieldsBase(arena, GetBuddyGroupsRequest_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::internal::ZeroFieldsBase(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -8931,43 +9002,51 @@ GetBuddyGroupsRequest::GetBuddyGroupsRequest( // @@protoc_insertion_point(copy_constructor:management.GetBuddyGroupsRequest) } -inline void* GetBuddyGroupsRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL GetBuddyGroupsRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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(); +constexpr auto GetBuddyGroupsRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull GetBuddyGroupsRequest_class_data_ = + GetBuddyGroupsRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +GetBuddyGroupsRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&GetBuddyGroupsRequest_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(GetBuddyGroupsRequest_class_data_.tc_table); + return GetBuddyGroupsRequest_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 0, 0, 0, 2> GetBuddyGroupsRequest::_table_ = { +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> +GetBuddyGroupsRequest::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ @@ -8978,7 +9057,7 @@ const ::_pbi::TcParseTable<0, 0, 0, 0, 2> GetBuddyGroupsRequest::_table_ = { 0, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), + GetBuddyGroupsRequest_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -8988,8 +9067,7 @@ const ::_pbi::TcParseTable<0, 0, 0, 0, 2> GetBuddyGroupsRequest::_table_ = { {::_pbi::TcParser::MiniParse, {}}, }}, {{ 65535, 65535 - }}, - // no field_entries, or aux_entries + }}, // no field_entries, or aux_entries {{ }}, }; @@ -9000,7 +9078,6 @@ const ::_pbi::TcParseTable<0, 0, 0, 0, 2> GetBuddyGroupsRequest::_table_ = { - ::google::protobuf::Metadata GetBuddyGroupsRequest::GetMetadata() const { return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } @@ -9009,7 +9086,7 @@ ::google::protobuf::Metadata GetBuddyGroupsRequest::GetMetadata() const { class GetBuddyGroupsResponse_BuddyGroup::_Internal { public: using HasBits = - decltype(std::declval()._impl_._has_bits_); + decltype(::std::declval()._impl_._has_bits_); static constexpr ::int32_t kHasBitsOffset = 8 * PROTOBUF_FIELD_OFFSET(GetBuddyGroupsResponse_BuddyGroup, _impl_._has_bits_); }; @@ -9034,26 +9111,27 @@ void GetBuddyGroupsResponse_BuddyGroup::clear_storage_pool() { if (_impl_.storage_pool_ != nullptr) _impl_.storage_pool_->Clear(); _impl_._has_bits_[0] &= ~0x00000008u; } -GetBuddyGroupsResponse_BuddyGroup::GetBuddyGroupsResponse_BuddyGroup(::google::protobuf::Arena* arena) +GetBuddyGroupsResponse_BuddyGroup::GetBuddyGroupsResponse_BuddyGroup(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, GetBuddyGroupsResponse_BuddyGroup_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) +PROTOBUF_NDEBUG_INLINE GetBuddyGroupsResponse_BuddyGroup::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetBuddyGroupsResponse_BuddyGroup& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, GetBuddyGroupsResponse_BuddyGroup_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -9063,18 +9141,18 @@ GetBuddyGroupsResponse_BuddyGroup::GetBuddyGroupsResponse_BuddyGroup( 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; + _impl_.id_ = ((cached_has_bits & 0x00000001u) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.id_) + : nullptr; + _impl_.primary_target_ = ((cached_has_bits & 0x00000002u) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.primary_target_) + : nullptr; + _impl_.secondary_target_ = ((cached_has_bits & 0x00000004u) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.secondary_target_) + : nullptr; + _impl_.storage_pool_ = ((cached_has_bits & 0x00000008u) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.storage_pool_) + : nullptr; ::memcpy(reinterpret_cast(&_impl_) + offsetof(Impl_, node_type_), reinterpret_cast(&from._impl_) + @@ -9085,12 +9163,12 @@ GetBuddyGroupsResponse_BuddyGroup::GetBuddyGroupsResponse_BuddyGroup( // @@protoc_insertion_point(copy_constructor:management.GetBuddyGroupsResponse.BuddyGroup) } -inline PROTOBUF_NDEBUG_INLINE GetBuddyGroupsResponse_BuddyGroup::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE GetBuddyGroupsResponse_BuddyGroup::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : _cached_size_{0} {} -inline void GetBuddyGroupsResponse_BuddyGroup::SharedCtor(::_pb::Arena* arena) { +inline void GetBuddyGroupsResponse_BuddyGroup::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); ::memset(reinterpret_cast(&_impl_) + offsetof(Impl_, id_), @@ -9114,43 +9192,51 @@ inline void GetBuddyGroupsResponse_BuddyGroup::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* GetBuddyGroupsResponse_BuddyGroup::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL GetBuddyGroupsResponse_BuddyGroup::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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(); +constexpr auto GetBuddyGroupsResponse_BuddyGroup::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull GetBuddyGroupsResponse_BuddyGroup_class_data_ = + GetBuddyGroupsResponse_BuddyGroup::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +GetBuddyGroupsResponse_BuddyGroup::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&GetBuddyGroupsResponse_BuddyGroup_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(GetBuddyGroupsResponse_BuddyGroup_class_data_.tc_table); + return GetBuddyGroupsResponse_BuddyGroup_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<3, 7, 4, 0, 2> GetBuddyGroupsResponse_BuddyGroup::_table_ = { +const ::_pbi::TcParseTable<3, 7, 4, 0, 2> +GetBuddyGroupsResponse_BuddyGroup::_table_ = { { PROTOBUF_FIELD_OFFSET(GetBuddyGroupsResponse_BuddyGroup, _impl_._has_bits_), 0, // no _extensions_ @@ -9161,7 +9247,7 @@ const ::_pbi::TcParseTable<3, 7, 4, 0, 2> GetBuddyGroupsResponse_BuddyGroup::_ta 7, // num_field_entries 4, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + GetBuddyGroupsResponse_BuddyGroup_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -9173,8 +9259,8 @@ const ::_pbi::TcParseTable<3, 7, 4, 0, 2> GetBuddyGroupsResponse_BuddyGroup::_ta {::_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_)}}, + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(GetBuddyGroupsResponse_BuddyGroup, _impl_.node_type_), 4>(), + {16, 4, 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_)}}, @@ -9182,11 +9268,11 @@ const ::_pbi::TcParseTable<3, 7, 4, 0, 2> GetBuddyGroupsResponse_BuddyGroup::_ta {::_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_)}}, + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(GetBuddyGroupsResponse_BuddyGroup, _impl_.primary_consistency_state_), 5>(), + {40, 5, 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_)}}, + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(GetBuddyGroupsResponse_BuddyGroup, _impl_.secondary_consistency_state_), 6>(), + {48, 6, 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_)}}, @@ -9197,8 +9283,8 @@ const ::_pbi::TcParseTable<3, 7, 4, 0, 2> GetBuddyGroupsResponse_BuddyGroup::_ta {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)}, + {PROTOBUF_FIELD_OFFSET(GetBuddyGroupsResponse_BuddyGroup, _impl_.node_type_), _Internal::kHasBitsOffset + 4, 0, + (0 | ::_fl::kFcOptional | ::_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)}, @@ -9206,23 +9292,24 @@ const ::_pbi::TcParseTable<3, 7, 4, 0, 2> GetBuddyGroupsResponse_BuddyGroup::_ta {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)}, + {PROTOBUF_FIELD_OFFSET(GetBuddyGroupsResponse_BuddyGroup, _impl_.primary_consistency_state_), _Internal::kHasBitsOffset + 5, 0, + (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)}, // .beegfs.ConsistencyState secondary_consistency_state = 6; - {PROTOBUF_FIELD_OFFSET(GetBuddyGroupsResponse_BuddyGroup, _impl_.secondary_consistency_state_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, + {PROTOBUF_FIELD_OFFSET(GetBuddyGroupsResponse_BuddyGroup, _impl_.secondary_consistency_state_), _Internal::kHasBitsOffset + 6, 0, + (0 | ::_fl::kFcOptional | ::_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>()}, - }}, {{ + }}, + {{ + {::_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_); @@ -9231,163 +9318,175 @@ PROTOBUF_NOINLINE void GetBuddyGroupsResponse_BuddyGroup::Clear() { (void) cached_has_bits; cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x0000000fu) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { ABSL_DCHECK(_impl_.id_ != nullptr); _impl_.id_->Clear(); } - if (cached_has_bits & 0x00000002u) { + if ((cached_has_bits & 0x00000002u) != 0) { ABSL_DCHECK(_impl_.primary_target_ != nullptr); _impl_.primary_target_->Clear(); } - if (cached_has_bits & 0x00000004u) { + if ((cached_has_bits & 0x00000004u) != 0) { ABSL_DCHECK(_impl_.secondary_target_ != nullptr); _impl_.secondary_target_->Clear(); } - if (cached_has_bits & 0x00000008u) { + if ((cached_has_bits & 0x00000008u) != 0) { 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_)); + if ((cached_has_bits & 0x00000070u) != 0) { + ::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; - } +::uint8_t* PROTOBUF_NONNULL GetBuddyGroupsResponse_BuddyGroup::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const GetBuddyGroupsResponse_BuddyGroup& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL GetBuddyGroupsResponse_BuddyGroup::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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) != 0) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.id_, this_._impl_.id_->GetCachedSize(), target, + stream); + } + + // .beegfs.NodeType node_type = 2; + if ((cached_has_bits & 0x00000010u) != 0) { + 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) != 0) { + 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) != 0) { + 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 ((cached_has_bits & 0x00000020u) != 0) { + 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 ((cached_has_bits & 0x00000040u) != 0) { + 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) != 0) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 7, *this_._impl_.storage_pool_, this_._impl_.storage_pool_->GetCachedSize(), target, + stream); + } + + if (ABSL_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_); - } +::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 & 0x0000007fu) != 0) { + // .beegfs.EntityIdSet id = 1; + if ((cached_has_bits & 0x00000001u) != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.id_); + } + // .beegfs.EntityIdSet primary_target = 3; + if ((cached_has_bits & 0x00000002u) != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.primary_target_); + } + // .beegfs.EntityIdSet secondary_target = 4; + if ((cached_has_bits & 0x00000004u) != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.secondary_target_); + } + // optional .beegfs.EntityIdSet storage_pool = 7; + if ((cached_has_bits & 0x00000008u) != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.storage_pool_); + } + // .beegfs.NodeType node_type = 2; + if ((cached_has_bits & 0x00000010u) != 0) { + if (this_._internal_node_type() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_node_type()); + } + } + // .beegfs.ConsistencyState primary_consistency_state = 5; + if ((cached_has_bits & 0x00000020u) != 0) { + 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 ((cached_has_bits & 0x00000040u) != 0) { + 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); @@ -9399,52 +9498,54 @@ void GetBuddyGroupsResponse_BuddyGroup::MergeImpl(::google::protobuf::MessageLit (void) cached_has_bits; cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x0000007fu) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { ABSL_DCHECK(from._impl_.id_ != nullptr); if (_this->_impl_.id_ == nullptr) { - _this->_impl_.id_ = - ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>(arena, *from._impl_.id_); + _this->_impl_.id_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.id_); } else { _this->_impl_.id_->MergeFrom(*from._impl_.id_); } } - if (cached_has_bits & 0x00000002u) { + if ((cached_has_bits & 0x00000002u) != 0) { 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_); + _this->_impl_.primary_target_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.primary_target_); } else { _this->_impl_.primary_target_->MergeFrom(*from._impl_.primary_target_); } } - if (cached_has_bits & 0x00000004u) { + if ((cached_has_bits & 0x00000004u) != 0) { 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_); + _this->_impl_.secondary_target_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.secondary_target_); } else { _this->_impl_.secondary_target_->MergeFrom(*from._impl_.secondary_target_); } } - if (cached_has_bits & 0x00000008u) { + if ((cached_has_bits & 0x00000008u) != 0) { 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_); + _this->_impl_.storage_pool_ = ::google::protobuf::Message::CopyConstruct(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_; + if ((cached_has_bits & 0x00000010u) != 0) { + if (from._internal_node_type() != 0) { + _this->_impl_.node_type_ = from._impl_.node_type_; + } + } + if ((cached_has_bits & 0x00000020u) != 0) { + if (from._internal_primary_consistency_state() != 0) { + _this->_impl_.primary_consistency_state_ = from._impl_.primary_consistency_state_; + } + } + if ((cached_has_bits & 0x00000040u) != 0) { + 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_); @@ -9458,8 +9559,8 @@ void GetBuddyGroupsResponse_BuddyGroup::CopyFrom(const GetBuddyGroupsResponse_Bu } -void GetBuddyGroupsResponse_BuddyGroup::InternalSwap(GetBuddyGroupsResponse_BuddyGroup* PROTOBUF_RESTRICT other) { - using std::swap; +void GetBuddyGroupsResponse_BuddyGroup::InternalSwap(GetBuddyGroupsResponse_BuddyGroup* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); ::google::protobuf::internal::memswap< @@ -9479,26 +9580,27 @@ class GetBuddyGroupsResponse::_Internal { public: }; -GetBuddyGroupsResponse::GetBuddyGroupsResponse(::google::protobuf::Arena* arena) +GetBuddyGroupsResponse::GetBuddyGroupsResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, GetBuddyGroupsResponse_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) +PROTOBUF_NDEBUG_INLINE GetBuddyGroupsResponse::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetBuddyGroupsResponse& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, GetBuddyGroupsResponse_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -9510,13 +9612,13 @@ GetBuddyGroupsResponse::GetBuddyGroupsResponse( // @@protoc_insertion_point(copy_constructor:management.GetBuddyGroupsResponse) } -inline PROTOBUF_NDEBUG_INLINE GetBuddyGroupsResponse::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE GetBuddyGroupsResponse::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : buddy_groups_{visibility, arena}, _cached_size_{0} {} -inline void GetBuddyGroupsResponse::SharedCtor(::_pb::Arena* arena) { +inline void GetBuddyGroupsResponse::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); } GetBuddyGroupsResponse::~GetBuddyGroupsResponse() { @@ -9530,8 +9632,9 @@ inline void GetBuddyGroupsResponse::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* GetBuddyGroupsResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL GetBuddyGroupsResponse::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { return ::new (mem) GetBuddyGroupsResponse(arena); } constexpr auto GetBuddyGroupsResponse::InternalNewImpl_() { @@ -9550,35 +9653,42 @@ constexpr auto GetBuddyGroupsResponse::InternalNewImpl_() { 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(); +constexpr auto GetBuddyGroupsResponse::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull GetBuddyGroupsResponse_class_data_ = + GetBuddyGroupsResponse::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +GetBuddyGroupsResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&GetBuddyGroupsResponse_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(GetBuddyGroupsResponse_class_data_.tc_table); + return GetBuddyGroupsResponse_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 1, 1, 0, 2> GetBuddyGroupsResponse::_table_ = { +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> +GetBuddyGroupsResponse::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ @@ -9589,7 +9699,7 @@ const ::_pbi::TcParseTable<0, 1, 1, 0, 2> GetBuddyGroupsResponse::_table_ = { 1, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + GetBuddyGroupsResponse_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -9605,12 +9715,13 @@ const ::_pbi::TcParseTable<0, 1, 1, 0, 2> GetBuddyGroupsResponse::_table_ = { // 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>()}, - }}, {{ + }}, + {{ + {::_pbi::TcParser::GetTable<::management::GetBuddyGroupsResponse_BuddyGroup>()}, + }}, + {{ }}, }; - PROTOBUF_NOINLINE void GetBuddyGroupsResponse::Clear() { // @@protoc_insertion_point(message_clear_start:management.GetBuddyGroupsResponse) ::google::protobuf::internal::TSanWrite(&_impl_); @@ -9623,67 +9734,67 @@ PROTOBUF_NOINLINE void GetBuddyGroupsResponse::Clear() { } #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; - } +::uint8_t* PROTOBUF_NONNULL GetBuddyGroupsResponse::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const GetBuddyGroupsResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL GetBuddyGroupsResponse::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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 (ABSL_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); +::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; +::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; + // @@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; + ::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_); - } + ::_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); @@ -9706,8 +9817,8 @@ void GetBuddyGroupsResponse::CopyFrom(const GetBuddyGroupsResponse& from) { } -void GetBuddyGroupsResponse::InternalSwap(GetBuddyGroupsResponse* PROTOBUF_RESTRICT other) { - using std::swap; +void GetBuddyGroupsResponse::InternalSwap(GetBuddyGroupsResponse* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); _impl_.buddy_groups_.InternalSwap(&other->_impl_.buddy_groups_); } @@ -9720,7 +9831,7 @@ ::google::protobuf::Metadata GetBuddyGroupsResponse::GetMetadata() const { class CreateBuddyGroupRequest::_Internal { public: using HasBits = - decltype(std::declval()._impl_._has_bits_); + decltype(::std::declval()._impl_._has_bits_); static constexpr ::int32_t kHasBitsOffset = 8 * PROTOBUF_FIELD_OFFSET(CreateBuddyGroupRequest, _impl_._has_bits_); }; @@ -9735,27 +9846,28 @@ void CreateBuddyGroupRequest::clear_secondary_target() { if (_impl_.secondary_target_ != nullptr) _impl_.secondary_target_->Clear(); _impl_._has_bits_[0] &= ~0x00000004u; } -CreateBuddyGroupRequest::CreateBuddyGroupRequest(::google::protobuf::Arena* arena) +CreateBuddyGroupRequest::CreateBuddyGroupRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, CreateBuddyGroupRequest_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) +PROTOBUF_NDEBUG_INLINE CreateBuddyGroupRequest::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CreateBuddyGroupRequest& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, CreateBuddyGroupRequest_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -9765,12 +9877,12 @@ CreateBuddyGroupRequest::CreateBuddyGroupRequest( 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; + _impl_.primary_target_ = ((cached_has_bits & 0x00000002u) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.primary_target_) + : nullptr; + _impl_.secondary_target_ = ((cached_has_bits & 0x00000004u) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.secondary_target_) + : nullptr; ::memcpy(reinterpret_cast(&_impl_) + offsetof(Impl_, node_type_), reinterpret_cast(&from._impl_) + @@ -9781,13 +9893,13 @@ CreateBuddyGroupRequest::CreateBuddyGroupRequest( // @@protoc_insertion_point(copy_constructor:management.CreateBuddyGroupRequest) } -inline PROTOBUF_NDEBUG_INLINE CreateBuddyGroupRequest::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE CreateBuddyGroupRequest::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : _cached_size_{0}, alias_(arena) {} -inline void CreateBuddyGroupRequest::SharedCtor(::_pb::Arena* arena) { +inline void CreateBuddyGroupRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); ::memset(reinterpret_cast(&_impl_) + offsetof(Impl_, primary_target_), @@ -9810,43 +9922,51 @@ inline void CreateBuddyGroupRequest::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* CreateBuddyGroupRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL CreateBuddyGroupRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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(); +constexpr auto CreateBuddyGroupRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull CreateBuddyGroupRequest_class_data_ = + CreateBuddyGroupRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +CreateBuddyGroupRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&CreateBuddyGroupRequest_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(CreateBuddyGroupRequest_class_data_.tc_table); + return CreateBuddyGroupRequest_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<3, 5, 2, 48, 2> CreateBuddyGroupRequest::_table_ = { +const ::_pbi::TcParseTable<3, 5, 2, 48, 2> +CreateBuddyGroupRequest::_table_ = { { PROTOBUF_FIELD_OFFSET(CreateBuddyGroupRequest, _impl_._has_bits_), 0, // no _extensions_ @@ -9857,7 +9977,7 @@ const ::_pbi::TcParseTable<3, 5, 2, 48, 2> CreateBuddyGroupRequest::_table_ = { 5, // num_field_entries 2, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + CreateBuddyGroupRequest_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -9900,16 +10020,17 @@ const ::_pbi::TcParseTable<3, 5, 2, 48, 2> CreateBuddyGroupRequest::_table_ = { // 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>()}, - }}, {{ + }}, + {{ + {::_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_); @@ -9918,20 +10039,20 @@ PROTOBUF_NOINLINE void CreateBuddyGroupRequest::Clear() { (void) cached_has_bits; cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000007u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { _impl_.alias_.ClearNonDefaultToEmpty(); } - if (cached_has_bits & 0x00000002u) { + if ((cached_has_bits & 0x00000002u) != 0) { ABSL_DCHECK(_impl_.primary_target_ != nullptr); _impl_.primary_target_->Clear(); } - if (cached_has_bits & 0x00000004u) { + if ((cached_has_bits & 0x00000004u) != 0) { ABSL_DCHECK(_impl_.secondary_target_ != nullptr); _impl_.secondary_target_->Clear(); } } - if (cached_has_bits & 0x00000018u) { + if ((cached_has_bits & 0x00000018u) != 0) { ::memset(&_impl_.node_type_, 0, static_cast<::size_t>( reinterpret_cast(&_impl_.num_id_) - reinterpret_cast(&_impl_.node_type_)) + sizeof(_impl_.num_id_)); @@ -9941,112 +10062,112 @@ PROTOBUF_NOINLINE void CreateBuddyGroupRequest::Clear() { } #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; - } +::uint8_t* PROTOBUF_NONNULL CreateBuddyGroupRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const CreateBuddyGroupRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL CreateBuddyGroupRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 1, this_._internal_node_type(), target); + } + + // optional uint32 num_id = 2; + if ((cached_has_bits & 0x00000010u) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this_._internal_num_id(), target); + } + + // optional string alias = 3; + if ((cached_has_bits & 0x00000001u) != 0) { + 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) != 0) { + 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) != 0) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 5, *this_._impl_.secondary_target_, this_._impl_.secondary_target_->GetCachedSize(), target, + stream); + } + + if (ABSL_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_); - } +::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) != 0) { + // optional string alias = 3; + if ((cached_has_bits & 0x00000001u) != 0) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_alias()); + } + // optional .beegfs.EntityIdSet primary_target = 4; + if ((cached_has_bits & 0x00000002u) != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.primary_target_); + } + // optional .beegfs.EntityIdSet secondary_target = 5; + if ((cached_has_bits & 0x00000004u) != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.secondary_target_); + } + // optional .beegfs.NodeType node_type = 1; + if ((cached_has_bits & 0x00000008u) != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_node_type()); + } + // optional uint32 num_id = 2; + if ((cached_has_bits & 0x00000010u) != 0) { + 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); @@ -10058,32 +10179,30 @@ void CreateBuddyGroupRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, (void) cached_has_bits; cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x0000001fu) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { _this->_internal_set_alias(from._internal_alias()); } - if (cached_has_bits & 0x00000002u) { + if ((cached_has_bits & 0x00000002u) != 0) { 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_); + _this->_impl_.primary_target_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.primary_target_); } else { _this->_impl_.primary_target_->MergeFrom(*from._impl_.primary_target_); } } - if (cached_has_bits & 0x00000004u) { + if ((cached_has_bits & 0x00000004u) != 0) { 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_); + _this->_impl_.secondary_target_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.secondary_target_); } else { _this->_impl_.secondary_target_->MergeFrom(*from._impl_.secondary_target_); } } - if (cached_has_bits & 0x00000008u) { + if ((cached_has_bits & 0x00000008u) != 0) { _this->_impl_.node_type_ = from._impl_.node_type_; } - if (cached_has_bits & 0x00000010u) { + if ((cached_has_bits & 0x00000010u) != 0) { _this->_impl_.num_id_ = from._impl_.num_id_; } } @@ -10099,8 +10218,8 @@ void CreateBuddyGroupRequest::CopyFrom(const CreateBuddyGroupRequest& from) { } -void CreateBuddyGroupRequest::InternalSwap(CreateBuddyGroupRequest* PROTOBUF_RESTRICT other) { - using std::swap; +void CreateBuddyGroupRequest::InternalSwap(CreateBuddyGroupRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; auto* arena = GetArena(); ABSL_DCHECK_EQ(arena, other->GetArena()); _internal_metadata_.InternalSwap(&other->_internal_metadata_); @@ -10122,7 +10241,7 @@ ::google::protobuf::Metadata CreateBuddyGroupRequest::GetMetadata() const { class CreateBuddyGroupResponse::_Internal { public: using HasBits = - decltype(std::declval()._impl_._has_bits_); + decltype(::std::declval()._impl_._has_bits_); static constexpr ::int32_t kHasBitsOffset = 8 * PROTOBUF_FIELD_OFFSET(CreateBuddyGroupResponse, _impl_._has_bits_); }; @@ -10132,26 +10251,27 @@ void CreateBuddyGroupResponse::clear_group() { if (_impl_.group_ != nullptr) _impl_.group_->Clear(); _impl_._has_bits_[0] &= ~0x00000001u; } -CreateBuddyGroupResponse::CreateBuddyGroupResponse(::google::protobuf::Arena* arena) +CreateBuddyGroupResponse::CreateBuddyGroupResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, CreateBuddyGroupResponse_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) +PROTOBUF_NDEBUG_INLINE CreateBuddyGroupResponse::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::management::CreateBuddyGroupResponse& from_msg) : _has_bits_{from._has_bits_}, _cached_size_{0} {} CreateBuddyGroupResponse::CreateBuddyGroupResponse( - ::google::protobuf::Arena* arena, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CreateBuddyGroupResponse& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, CreateBuddyGroupResponse_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -10161,18 +10281,18 @@ CreateBuddyGroupResponse::CreateBuddyGroupResponse( 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_.group_ = ((cached_has_bits & 0x00000001u) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.group_) + : nullptr; // @@protoc_insertion_point(copy_constructor:management.CreateBuddyGroupResponse) } -inline PROTOBUF_NDEBUG_INLINE CreateBuddyGroupResponse::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE CreateBuddyGroupResponse::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : _cached_size_{0} {} -inline void CreateBuddyGroupResponse::SharedCtor(::_pb::Arena* arena) { +inline void CreateBuddyGroupResponse::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); _impl_.group_ = {}; } @@ -10188,43 +10308,51 @@ inline void CreateBuddyGroupResponse::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* CreateBuddyGroupResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL CreateBuddyGroupResponse::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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(); +constexpr auto CreateBuddyGroupResponse::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull CreateBuddyGroupResponse_class_data_ = + CreateBuddyGroupResponse::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +CreateBuddyGroupResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&CreateBuddyGroupResponse_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(CreateBuddyGroupResponse_class_data_.tc_table); + return CreateBuddyGroupResponse_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 1, 1, 0, 2> CreateBuddyGroupResponse::_table_ = { +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> +CreateBuddyGroupResponse::_table_ = { { PROTOBUF_FIELD_OFFSET(CreateBuddyGroupResponse, _impl_._has_bits_), 0, // no _extensions_ @@ -10235,7 +10363,7 @@ const ::_pbi::TcParseTable<0, 1, 1, 0, 2> CreateBuddyGroupResponse::_table_ = { 1, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + CreateBuddyGroupResponse_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -10251,12 +10379,13 @@ const ::_pbi::TcParseTable<0, 1, 1, 0, 2> CreateBuddyGroupResponse::_table_ = { // 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>()}, - }}, {{ + }}, + {{ + {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, + }}, + {{ }}, }; - PROTOBUF_NOINLINE void CreateBuddyGroupResponse::Clear() { // @@protoc_insertion_point(message_clear_start:management.CreateBuddyGroupResponse) ::google::protobuf::internal::TSanWrite(&_impl_); @@ -10265,7 +10394,7 @@ PROTOBUF_NOINLINE void CreateBuddyGroupResponse::Clear() { (void) cached_has_bits; cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000001u) != 0) { ABSL_DCHECK(_impl_.group_ != nullptr); _impl_.group_->Clear(); } @@ -10274,62 +10403,62 @@ PROTOBUF_NOINLINE void CreateBuddyGroupResponse::Clear() { } #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; - } +::uint8_t* PROTOBUF_NONNULL CreateBuddyGroupResponse::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const CreateBuddyGroupResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL CreateBuddyGroupResponse::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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) != 0) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.group_, this_._impl_.group_->GetCachedSize(), target, + stream); + } + + if (ABSL_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); +::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; +::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; + // @@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; + ::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_); - } + { + // optional .beegfs.EntityIdSet group = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000001u) != 0) { + 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); @@ -10341,11 +10470,10 @@ void CreateBuddyGroupResponse::MergeImpl(::google::protobuf::MessageLite& to_msg (void) cached_has_bits; cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000001u) != 0) { ABSL_DCHECK(from._impl_.group_ != nullptr); if (_this->_impl_.group_ == nullptr) { - _this->_impl_.group_ = - ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>(arena, *from._impl_.group_); + _this->_impl_.group_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.group_); } else { _this->_impl_.group_->MergeFrom(*from._impl_.group_); } @@ -10362,8 +10490,8 @@ void CreateBuddyGroupResponse::CopyFrom(const CreateBuddyGroupResponse& from) { } -void CreateBuddyGroupResponse::InternalSwap(CreateBuddyGroupResponse* PROTOBUF_RESTRICT other) { - using std::swap; +void CreateBuddyGroupResponse::InternalSwap(CreateBuddyGroupResponse* PROTOBUF_RESTRICT PROTOBUF_NONNULL 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_); @@ -10377,7 +10505,7 @@ ::google::protobuf::Metadata CreateBuddyGroupResponse::GetMetadata() const { class DeleteBuddyGroupRequest::_Internal { public: using HasBits = - decltype(std::declval()._impl_._has_bits_); + decltype(::std::declval()._impl_._has_bits_); static constexpr ::int32_t kHasBitsOffset = 8 * PROTOBUF_FIELD_OFFSET(DeleteBuddyGroupRequest, _impl_._has_bits_); }; @@ -10387,26 +10515,27 @@ void DeleteBuddyGroupRequest::clear_group() { if (_impl_.group_ != nullptr) _impl_.group_->Clear(); _impl_._has_bits_[0] &= ~0x00000001u; } -DeleteBuddyGroupRequest::DeleteBuddyGroupRequest(::google::protobuf::Arena* arena) +DeleteBuddyGroupRequest::DeleteBuddyGroupRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, DeleteBuddyGroupRequest_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) +PROTOBUF_NDEBUG_INLINE DeleteBuddyGroupRequest::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::management::DeleteBuddyGroupRequest& from_msg) : _has_bits_{from._has_bits_}, _cached_size_{0} {} DeleteBuddyGroupRequest::DeleteBuddyGroupRequest( - ::google::protobuf::Arena* arena, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const DeleteBuddyGroupRequest& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, DeleteBuddyGroupRequest_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -10416,19 +10545,19 @@ DeleteBuddyGroupRequest::DeleteBuddyGroupRequest( 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_.group_ = ((cached_has_bits & 0x00000001u) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.group_) + : nullptr; _impl_.execute_ = from._impl_.execute_; // @@protoc_insertion_point(copy_constructor:management.DeleteBuddyGroupRequest) } -inline PROTOBUF_NDEBUG_INLINE DeleteBuddyGroupRequest::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE DeleteBuddyGroupRequest::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : _cached_size_{0} {} -inline void DeleteBuddyGroupRequest::SharedCtor(::_pb::Arena* arena) { +inline void DeleteBuddyGroupRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); ::memset(reinterpret_cast(&_impl_) + offsetof(Impl_, group_), @@ -10449,43 +10578,51 @@ inline void DeleteBuddyGroupRequest::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* DeleteBuddyGroupRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL DeleteBuddyGroupRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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(); +constexpr auto DeleteBuddyGroupRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull DeleteBuddyGroupRequest_class_data_ = + DeleteBuddyGroupRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +DeleteBuddyGroupRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&DeleteBuddyGroupRequest_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(DeleteBuddyGroupRequest_class_data_.tc_table); + return DeleteBuddyGroupRequest_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<1, 2, 1, 0, 2> DeleteBuddyGroupRequest::_table_ = { +const ::_pbi::TcParseTable<1, 2, 1, 0, 2> +DeleteBuddyGroupRequest::_table_ = { { PROTOBUF_FIELD_OFFSET(DeleteBuddyGroupRequest, _impl_._has_bits_), 0, // no _extensions_ @@ -10496,7 +10633,7 @@ const ::_pbi::TcParseTable<1, 2, 1, 0, 2> DeleteBuddyGroupRequest::_table_ = { 2, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + DeleteBuddyGroupRequest_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -10518,12 +10655,13 @@ const ::_pbi::TcParseTable<1, 2, 1, 0, 2> DeleteBuddyGroupRequest::_table_ = { // optional bool execute = 2; {PROTOBUF_FIELD_OFFSET(DeleteBuddyGroupRequest, _impl_.execute_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)}, - }}, {{ - {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, - }}, {{ + }}, + {{ + {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, + }}, + {{ }}, }; - PROTOBUF_NOINLINE void DeleteBuddyGroupRequest::Clear() { // @@protoc_insertion_point(message_clear_start:management.DeleteBuddyGroupRequest) ::google::protobuf::internal::TSanWrite(&_impl_); @@ -10532,7 +10670,7 @@ PROTOBUF_NOINLINE void DeleteBuddyGroupRequest::Clear() { (void) cached_has_bits; cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000001u) != 0) { ABSL_DCHECK(_impl_.group_ != nullptr); _impl_.group_->Clear(); } @@ -10542,74 +10680,71 @@ PROTOBUF_NOINLINE void DeleteBuddyGroupRequest::Clear() { } #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; - } +::uint8_t* PROTOBUF_NONNULL DeleteBuddyGroupRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const DeleteBuddyGroupRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL DeleteBuddyGroupRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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) != 0) { + 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) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this_._internal_execute(), target); + } + + if (ABSL_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_); - } +::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]; + total_size += static_cast(0x00000002u & cached_has_bits) * 2; + { + // optional .beegfs.EntityIdSet group = 1; + if ((cached_has_bits & 0x00000001u) != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.group_); + } + } + 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); @@ -10621,17 +10756,16 @@ void DeleteBuddyGroupRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, (void) cached_has_bits; cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000003u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { ABSL_DCHECK(from._impl_.group_ != nullptr); if (_this->_impl_.group_ == nullptr) { - _this->_impl_.group_ = - ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>(arena, *from._impl_.group_); + _this->_impl_.group_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.group_); } else { _this->_impl_.group_->MergeFrom(*from._impl_.group_); } } - if (cached_has_bits & 0x00000002u) { + if ((cached_has_bits & 0x00000002u) != 0) { _this->_impl_.execute_ = from._impl_.execute_; } } @@ -10647,8 +10781,8 @@ void DeleteBuddyGroupRequest::CopyFrom(const DeleteBuddyGroupRequest& from) { } -void DeleteBuddyGroupRequest::InternalSwap(DeleteBuddyGroupRequest* PROTOBUF_RESTRICT other) { - using std::swap; +void DeleteBuddyGroupRequest::InternalSwap(DeleteBuddyGroupRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); ::google::protobuf::internal::memswap< @@ -10667,7 +10801,7 @@ ::google::protobuf::Metadata DeleteBuddyGroupRequest::GetMetadata() const { class DeleteBuddyGroupResponse::_Internal { public: using HasBits = - decltype(std::declval()._impl_._has_bits_); + decltype(::std::declval()._impl_._has_bits_); static constexpr ::int32_t kHasBitsOffset = 8 * PROTOBUF_FIELD_OFFSET(DeleteBuddyGroupResponse, _impl_._has_bits_); }; @@ -10677,26 +10811,27 @@ void DeleteBuddyGroupResponse::clear_group() { if (_impl_.group_ != nullptr) _impl_.group_->Clear(); _impl_._has_bits_[0] &= ~0x00000001u; } -DeleteBuddyGroupResponse::DeleteBuddyGroupResponse(::google::protobuf::Arena* arena) +DeleteBuddyGroupResponse::DeleteBuddyGroupResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, DeleteBuddyGroupResponse_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) +PROTOBUF_NDEBUG_INLINE DeleteBuddyGroupResponse::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::management::DeleteBuddyGroupResponse& from_msg) : _has_bits_{from._has_bits_}, _cached_size_{0} {} DeleteBuddyGroupResponse::DeleteBuddyGroupResponse( - ::google::protobuf::Arena* arena, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const DeleteBuddyGroupResponse& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, DeleteBuddyGroupResponse_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -10706,18 +10841,18 @@ DeleteBuddyGroupResponse::DeleteBuddyGroupResponse( 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_.group_ = ((cached_has_bits & 0x00000001u) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.group_) + : nullptr; // @@protoc_insertion_point(copy_constructor:management.DeleteBuddyGroupResponse) } -inline PROTOBUF_NDEBUG_INLINE DeleteBuddyGroupResponse::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE DeleteBuddyGroupResponse::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : _cached_size_{0} {} -inline void DeleteBuddyGroupResponse::SharedCtor(::_pb::Arena* arena) { +inline void DeleteBuddyGroupResponse::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); _impl_.group_ = {}; } @@ -10733,43 +10868,51 @@ inline void DeleteBuddyGroupResponse::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* DeleteBuddyGroupResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL DeleteBuddyGroupResponse::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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(); +constexpr auto DeleteBuddyGroupResponse::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull DeleteBuddyGroupResponse_class_data_ = + DeleteBuddyGroupResponse::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +DeleteBuddyGroupResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&DeleteBuddyGroupResponse_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(DeleteBuddyGroupResponse_class_data_.tc_table); + return DeleteBuddyGroupResponse_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 1, 1, 0, 2> DeleteBuddyGroupResponse::_table_ = { +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> +DeleteBuddyGroupResponse::_table_ = { { PROTOBUF_FIELD_OFFSET(DeleteBuddyGroupResponse, _impl_._has_bits_), 0, // no _extensions_ @@ -10780,7 +10923,7 @@ const ::_pbi::TcParseTable<0, 1, 1, 0, 2> DeleteBuddyGroupResponse::_table_ = { 1, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + DeleteBuddyGroupResponse_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -10796,12 +10939,13 @@ const ::_pbi::TcParseTable<0, 1, 1, 0, 2> DeleteBuddyGroupResponse::_table_ = { // 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>()}, - }}, {{ + }}, + {{ + {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, + }}, + {{ }}, }; - PROTOBUF_NOINLINE void DeleteBuddyGroupResponse::Clear() { // @@protoc_insertion_point(message_clear_start:management.DeleteBuddyGroupResponse) ::google::protobuf::internal::TSanWrite(&_impl_); @@ -10810,7 +10954,7 @@ PROTOBUF_NOINLINE void DeleteBuddyGroupResponse::Clear() { (void) cached_has_bits; cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000001u) != 0) { ABSL_DCHECK(_impl_.group_ != nullptr); _impl_.group_->Clear(); } @@ -10819,62 +10963,62 @@ PROTOBUF_NOINLINE void DeleteBuddyGroupResponse::Clear() { } #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; - } +::uint8_t* PROTOBUF_NONNULL DeleteBuddyGroupResponse::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const DeleteBuddyGroupResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL DeleteBuddyGroupResponse::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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) != 0) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.group_, this_._impl_.group_->GetCachedSize(), target, + stream); + } + + if (ABSL_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); +::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; +::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; + // @@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; + ::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_); - } + { + // optional .beegfs.EntityIdSet group = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000001u) != 0) { + 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); @@ -10886,11 +11030,10 @@ void DeleteBuddyGroupResponse::MergeImpl(::google::protobuf::MessageLite& to_msg (void) cached_has_bits; cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000001u) != 0) { ABSL_DCHECK(from._impl_.group_ != nullptr); if (_this->_impl_.group_ == nullptr) { - _this->_impl_.group_ = - ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>(arena, *from._impl_.group_); + _this->_impl_.group_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.group_); } else { _this->_impl_.group_->MergeFrom(*from._impl_.group_); } @@ -10907,8 +11050,8 @@ void DeleteBuddyGroupResponse::CopyFrom(const DeleteBuddyGroupResponse& from) { } -void DeleteBuddyGroupResponse::InternalSwap(DeleteBuddyGroupResponse* PROTOBUF_RESTRICT other) { - using std::swap; +void DeleteBuddyGroupResponse::InternalSwap(DeleteBuddyGroupResponse* PROTOBUF_RESTRICT PROTOBUF_NONNULL 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_); @@ -10923,19 +11066,19 @@ class MirrorRootInodeRequest::_Internal { public: }; -MirrorRootInodeRequest::MirrorRootInodeRequest(::google::protobuf::Arena* arena) +MirrorRootInodeRequest::MirrorRootInodeRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { + : ::google::protobuf::internal::ZeroFieldsBase(arena, MirrorRootInodeRequest_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, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const MirrorRootInodeRequest& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { + : ::google::protobuf::internal::ZeroFieldsBase(arena, MirrorRootInodeRequest_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::internal::ZeroFieldsBase(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -10947,43 +11090,51 @@ MirrorRootInodeRequest::MirrorRootInodeRequest( // @@protoc_insertion_point(copy_constructor:management.MirrorRootInodeRequest) } -inline void* MirrorRootInodeRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL MirrorRootInodeRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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(); +constexpr auto MirrorRootInodeRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull MirrorRootInodeRequest_class_data_ = + MirrorRootInodeRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +MirrorRootInodeRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&MirrorRootInodeRequest_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(MirrorRootInodeRequest_class_data_.tc_table); + return MirrorRootInodeRequest_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 0, 0, 0, 2> MirrorRootInodeRequest::_table_ = { +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> +MirrorRootInodeRequest::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ @@ -10994,7 +11145,7 @@ const ::_pbi::TcParseTable<0, 0, 0, 0, 2> MirrorRootInodeRequest::_table_ = { 0, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), + MirrorRootInodeRequest_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -11004,8 +11155,7 @@ const ::_pbi::TcParseTable<0, 0, 0, 0, 2> MirrorRootInodeRequest::_table_ = { {::_pbi::TcParser::MiniParse, {}}, }}, {{ 65535, 65535 - }}, - // no field_entries, or aux_entries + }}, // no field_entries, or aux_entries {{ }}, }; @@ -11016,7 +11166,6 @@ const ::_pbi::TcParseTable<0, 0, 0, 0, 2> MirrorRootInodeRequest::_table_ = { - ::google::protobuf::Metadata MirrorRootInodeRequest::GetMetadata() const { return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } @@ -11026,19 +11175,19 @@ class MirrorRootInodeResponse::_Internal { public: }; -MirrorRootInodeResponse::MirrorRootInodeResponse(::google::protobuf::Arena* arena) +MirrorRootInodeResponse::MirrorRootInodeResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { + : ::google::protobuf::internal::ZeroFieldsBase(arena, MirrorRootInodeResponse_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, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const MirrorRootInodeResponse& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { + : ::google::protobuf::internal::ZeroFieldsBase(arena, MirrorRootInodeResponse_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::internal::ZeroFieldsBase(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -11050,43 +11199,51 @@ MirrorRootInodeResponse::MirrorRootInodeResponse( // @@protoc_insertion_point(copy_constructor:management.MirrorRootInodeResponse) } -inline void* MirrorRootInodeResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL MirrorRootInodeResponse::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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(); +constexpr auto MirrorRootInodeResponse::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull MirrorRootInodeResponse_class_data_ = + MirrorRootInodeResponse::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +MirrorRootInodeResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&MirrorRootInodeResponse_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(MirrorRootInodeResponse_class_data_.tc_table); + return MirrorRootInodeResponse_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 0, 0, 0, 2> MirrorRootInodeResponse::_table_ = { +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> +MirrorRootInodeResponse::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ @@ -11097,7 +11254,7 @@ const ::_pbi::TcParseTable<0, 0, 0, 0, 2> MirrorRootInodeResponse::_table_ = { 0, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), + MirrorRootInodeResponse_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -11107,8 +11264,7 @@ const ::_pbi::TcParseTable<0, 0, 0, 0, 2> MirrorRootInodeResponse::_table_ = { {::_pbi::TcParser::MiniParse, {}}, }}, {{ 65535, 65535 - }}, - // no field_entries, or aux_entries + }}, // no field_entries, or aux_entries {{ }}, }; @@ -11119,7 +11275,6 @@ const ::_pbi::TcParseTable<0, 0, 0, 0, 2> MirrorRootInodeResponse::_table_ = { - ::google::protobuf::Metadata MirrorRootInodeResponse::GetMetadata() const { return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } @@ -11128,7 +11283,7 @@ ::google::protobuf::Metadata MirrorRootInodeResponse::GetMetadata() const { class StartResyncRequest::_Internal { public: using HasBits = - decltype(std::declval()._impl_._has_bits_); + decltype(::std::declval()._impl_._has_bits_); static constexpr ::int32_t kHasBitsOffset = 8 * PROTOBUF_FIELD_OFFSET(StartResyncRequest, _impl_._has_bits_); }; @@ -11138,26 +11293,27 @@ void StartResyncRequest::clear_buddy_group() { if (_impl_.buddy_group_ != nullptr) _impl_.buddy_group_->Clear(); _impl_._has_bits_[0] &= ~0x00000001u; } -StartResyncRequest::StartResyncRequest(::google::protobuf::Arena* arena) +StartResyncRequest::StartResyncRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, StartResyncRequest_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) +PROTOBUF_NDEBUG_INLINE StartResyncRequest::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::management::StartResyncRequest& from_msg) : _has_bits_{from._has_bits_}, _cached_size_{0} {} StartResyncRequest::StartResyncRequest( - ::google::protobuf::Arena* arena, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const StartResyncRequest& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, StartResyncRequest_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -11167,9 +11323,9 @@ StartResyncRequest::StartResyncRequest( 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; + _impl_.buddy_group_ = ((cached_has_bits & 0x00000001u) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.buddy_group_) + : nullptr; ::memcpy(reinterpret_cast(&_impl_) + offsetof(Impl_, timestamp_), reinterpret_cast(&from._impl_) + @@ -11180,12 +11336,12 @@ StartResyncRequest::StartResyncRequest( // @@protoc_insertion_point(copy_constructor:management.StartResyncRequest) } -inline PROTOBUF_NDEBUG_INLINE StartResyncRequest::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE StartResyncRequest::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : _cached_size_{0} {} -inline void StartResyncRequest::SharedCtor(::_pb::Arena* arena) { +inline void StartResyncRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); ::memset(reinterpret_cast(&_impl_) + offsetof(Impl_, buddy_group_), @@ -11206,43 +11362,51 @@ inline void StartResyncRequest::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* StartResyncRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL StartResyncRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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(); +constexpr auto StartResyncRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull StartResyncRequest_class_data_ = + StartResyncRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +StartResyncRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&StartResyncRequest_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(StartResyncRequest_class_data_.tc_table); + return StartResyncRequest_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<2, 3, 1, 0, 2> StartResyncRequest::_table_ = { +const ::_pbi::TcParseTable<2, 3, 1, 0, 2> +StartResyncRequest::_table_ = { { PROTOBUF_FIELD_OFFSET(StartResyncRequest, _impl_._has_bits_), 0, // no _extensions_ @@ -11253,7 +11417,7 @@ const ::_pbi::TcParseTable<2, 3, 1, 0, 2> StartResyncRequest::_table_ = { 3, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + StartResyncRequest_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -11282,12 +11446,13 @@ const ::_pbi::TcParseTable<2, 3, 1, 0, 2> StartResyncRequest::_table_ = { // optional bool restart = 3; {PROTOBUF_FIELD_OFFSET(StartResyncRequest, _impl_.restart_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)}, - }}, {{ - {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, - }}, {{ + }}, + {{ + {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, + }}, + {{ }}, }; - PROTOBUF_NOINLINE void StartResyncRequest::Clear() { // @@protoc_insertion_point(message_clear_start:management.StartResyncRequest) ::google::protobuf::internal::TSanWrite(&_impl_); @@ -11296,11 +11461,11 @@ PROTOBUF_NOINLINE void StartResyncRequest::Clear() { (void) cached_has_bits; cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000001u) != 0) { ABSL_DCHECK(_impl_.buddy_group_ != nullptr); _impl_.buddy_group_->Clear(); } - if (cached_has_bits & 0x00000006u) { + if ((cached_has_bits & 0x00000006u) != 0) { ::memset(&_impl_.timestamp_, 0, static_cast<::size_t>( reinterpret_cast(&_impl_.restart_) - reinterpret_cast(&_impl_.timestamp_)) + sizeof(_impl_.restart_)); @@ -11310,86 +11475,83 @@ PROTOBUF_NOINLINE void StartResyncRequest::Clear() { } #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; - } +::uint8_t* PROTOBUF_NONNULL StartResyncRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const StartResyncRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL StartResyncRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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) != 0) { + 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) != 0) { + target = + ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<2>( + stream, this_._internal_timestamp(), target); + } + + // optional bool restart = 3; + if ((cached_has_bits & 0x00000004u) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 3, this_._internal_restart(), target); + } + + if (ABSL_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_); - } +::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]; + total_size += static_cast(0x00000004u & cached_has_bits) * 2; + if ((cached_has_bits & 0x00000003u) != 0) { + // optional .beegfs.EntityIdSet buddy_group = 1; + if ((cached_has_bits & 0x00000001u) != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.buddy_group_); + } + // optional int64 timestamp = 2; + if ((cached_has_bits & 0x00000002u) != 0) { + total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( + this_._internal_timestamp()); + } + } + 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); @@ -11401,20 +11563,19 @@ void StartResyncRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, cons (void) cached_has_bits; cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000007u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { 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_); + _this->_impl_.buddy_group_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.buddy_group_); } else { _this->_impl_.buddy_group_->MergeFrom(*from._impl_.buddy_group_); } } - if (cached_has_bits & 0x00000002u) { + if ((cached_has_bits & 0x00000002u) != 0) { _this->_impl_.timestamp_ = from._impl_.timestamp_; } - if (cached_has_bits & 0x00000004u) { + if ((cached_has_bits & 0x00000004u) != 0) { _this->_impl_.restart_ = from._impl_.restart_; } } @@ -11430,8 +11591,8 @@ void StartResyncRequest::CopyFrom(const StartResyncRequest& from) { } -void StartResyncRequest::InternalSwap(StartResyncRequest* PROTOBUF_RESTRICT other) { - using std::swap; +void StartResyncRequest::InternalSwap(StartResyncRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); ::google::protobuf::internal::memswap< @@ -11451,19 +11612,19 @@ class StartResyncResponse::_Internal { public: }; -StartResyncResponse::StartResyncResponse(::google::protobuf::Arena* arena) +StartResyncResponse::StartResyncResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { + : ::google::protobuf::internal::ZeroFieldsBase(arena, StartResyncResponse_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, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const StartResyncResponse& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { + : ::google::protobuf::internal::ZeroFieldsBase(arena, StartResyncResponse_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::internal::ZeroFieldsBase(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -11475,43 +11636,51 @@ StartResyncResponse::StartResyncResponse( // @@protoc_insertion_point(copy_constructor:management.StartResyncResponse) } -inline void* StartResyncResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL StartResyncResponse::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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(); +constexpr auto StartResyncResponse::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull StartResyncResponse_class_data_ = + StartResyncResponse::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +StartResyncResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&StartResyncResponse_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(StartResyncResponse_class_data_.tc_table); + return StartResyncResponse_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 0, 0, 0, 2> StartResyncResponse::_table_ = { +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> +StartResyncResponse::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ @@ -11522,7 +11691,7 @@ const ::_pbi::TcParseTable<0, 0, 0, 0, 2> StartResyncResponse::_table_ = { 0, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), + StartResyncResponse_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -11532,8 +11701,7 @@ const ::_pbi::TcParseTable<0, 0, 0, 0, 2> StartResyncResponse::_table_ = { {::_pbi::TcParser::MiniParse, {}}, }}, {{ 65535, 65535 - }}, - // no field_entries, or aux_entries + }}, // no field_entries, or aux_entries {{ }}, }; @@ -11544,7 +11712,6 @@ const ::_pbi::TcParseTable<0, 0, 0, 0, 2> StartResyncResponse::_table_ = { - ::google::protobuf::Metadata StartResyncResponse::GetMetadata() const { return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } @@ -11553,7 +11720,7 @@ ::google::protobuf::Metadata StartResyncResponse::GetMetadata() const { class QuotaInfo::_Internal { public: using HasBits = - decltype(std::declval()._impl_._has_bits_); + decltype(::std::declval()._impl_._has_bits_); static constexpr ::int32_t kHasBitsOffset = 8 * PROTOBUF_FIELD_OFFSET(QuotaInfo, _impl_._has_bits_); }; @@ -11563,26 +11730,27 @@ void QuotaInfo::clear_pool() { if (_impl_.pool_ != nullptr) _impl_.pool_->Clear(); _impl_._has_bits_[0] &= ~0x00000001u; } -QuotaInfo::QuotaInfo(::google::protobuf::Arena* arena) +QuotaInfo::QuotaInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, QuotaInfo_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) +PROTOBUF_NDEBUG_INLINE QuotaInfo::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::management::QuotaInfo& from_msg) : _has_bits_{from._has_bits_}, _cached_size_{0} {} QuotaInfo::QuotaInfo( - ::google::protobuf::Arena* arena, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const QuotaInfo& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, QuotaInfo_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -11592,9 +11760,9 @@ QuotaInfo::QuotaInfo( 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_.pool_ = ((cached_has_bits & 0x00000001u) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.pool_) + : nullptr; ::memcpy(reinterpret_cast(&_impl_) + offsetof(Impl_, quota_id_), reinterpret_cast(&from._impl_) + @@ -11605,12 +11773,12 @@ QuotaInfo::QuotaInfo( // @@protoc_insertion_point(copy_constructor:management.QuotaInfo) } -inline PROTOBUF_NDEBUG_INLINE QuotaInfo::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE QuotaInfo::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : _cached_size_{0} {} -inline void QuotaInfo::SharedCtor(::_pb::Arena* arena) { +inline void QuotaInfo::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); ::memset(reinterpret_cast(&_impl_) + offsetof(Impl_, pool_), @@ -11631,43 +11799,51 @@ inline void QuotaInfo::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* QuotaInfo::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL QuotaInfo::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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(); +constexpr auto QuotaInfo::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull QuotaInfo_class_data_ = + QuotaInfo::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +QuotaInfo::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&QuotaInfo_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(QuotaInfo_class_data_.tc_table); + return QuotaInfo_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<3, 7, 1, 0, 2> QuotaInfo::_table_ = { +const ::_pbi::TcParseTable<3, 7, 1, 0, 2> +QuotaInfo::_table_ = { { PROTOBUF_FIELD_OFFSET(QuotaInfo, _impl_._has_bits_), 0, // no _extensions_ @@ -11678,7 +11854,7 @@ const ::_pbi::TcParseTable<3, 7, 1, 0, 2> QuotaInfo::_table_ = { 7, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + QuotaInfo_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -11690,23 +11866,23 @@ const ::_pbi::TcParseTable<3, 7, 1, 0, 2> QuotaInfo::_table_ = { {::_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_)}}, + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(QuotaInfo, _impl_.id_type_), 2>(), + {16, 2, 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_)}}, + {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(QuotaInfo, _impl_.space_limit_), 3>(), + {32, 3, 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_)}}, + {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(QuotaInfo, _impl_.inode_limit_), 4>(), + {40, 4, 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_)}}, + {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(QuotaInfo, _impl_.space_used_), 5>(), + {48, 5, 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_)}}, + {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(QuotaInfo, _impl_.inode_used_), 6>(), + {56, 6, 0, PROTOBUF_FIELD_OFFSET(QuotaInfo, _impl_.inode_used_)}}, }}, {{ 65535, 65535 }}, {{ @@ -11714,29 +11890,30 @@ const ::_pbi::TcParseTable<3, 7, 1, 0, 2> QuotaInfo::_table_ = { {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)}, + {PROTOBUF_FIELD_OFFSET(QuotaInfo, _impl_.id_type_), _Internal::kHasBitsOffset + 2, 0, + (0 | ::_fl::kFcOptional | ::_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, + {PROTOBUF_FIELD_OFFSET(QuotaInfo, _impl_.space_limit_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)}, // optional int64 inode_limit = 5; - {PROTOBUF_FIELD_OFFSET(QuotaInfo, _impl_.inode_limit_), _Internal::kHasBitsOffset + 3, 0, + {PROTOBUF_FIELD_OFFSET(QuotaInfo, _impl_.inode_limit_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)}, // optional int64 space_used = 6; - {PROTOBUF_FIELD_OFFSET(QuotaInfo, _impl_.space_used_), _Internal::kHasBitsOffset + 4, 0, + {PROTOBUF_FIELD_OFFSET(QuotaInfo, _impl_.space_used_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)}, // optional int64 inode_used = 7; - {PROTOBUF_FIELD_OFFSET(QuotaInfo, _impl_.inode_used_), _Internal::kHasBitsOffset + 5, 0, + {PROTOBUF_FIELD_OFFSET(QuotaInfo, _impl_.inode_used_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)}, - }}, {{ - {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, - }}, {{ + }}, + {{ + {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, + }}, + {{ }}, }; - PROTOBUF_NOINLINE void QuotaInfo::Clear() { // @@protoc_insertion_point(message_clear_start:management.QuotaInfo) ::google::protobuf::internal::TSanWrite(&_impl_); @@ -11745,155 +11922,153 @@ PROTOBUF_NOINLINE void QuotaInfo::Clear() { (void) cached_has_bits; cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000001u) != 0) { 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>( + if ((cached_has_bits & 0x0000007eu) != 0) { + ::memset(&_impl_.quota_id_, 0, static_cast<::size_t>( reinterpret_cast(&_impl_.inode_used_) - - reinterpret_cast(&_impl_.space_limit_)) + sizeof(_impl_.inode_used_)); + reinterpret_cast(&_impl_.quota_id_)) + 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; - } +::uint8_t* PROTOBUF_NONNULL QuotaInfo::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const QuotaInfo& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL QuotaInfo::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this_._internal_quota_id(), target); + } + + // .beegfs.QuotaIdType id_type = 2; + if ((cached_has_bits & 0x00000004u) != 0) { + 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) != 0) { + 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 & 0x00000008u) != 0) { + target = + ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<4>( + stream, this_._internal_space_limit(), target); + } + + // optional int64 inode_limit = 5; + if ((cached_has_bits & 0x00000010u) != 0) { + target = + ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<5>( + stream, this_._internal_inode_limit(), target); + } + + // optional int64 space_used = 6; + if ((cached_has_bits & 0x00000020u) != 0) { + target = + ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<6>( + stream, this_._internal_space_used(), target); + } + + // optional int64 inode_used = 7; + if ((cached_has_bits & 0x00000040u) != 0) { + target = + ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<7>( + stream, this_._internal_inode_used(), target); + } + + if (ABSL_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_); - } +::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 & 0x0000007fu) != 0) { + // optional .beegfs.EntityIdSet pool = 3; + if ((cached_has_bits & 0x00000001u) != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.pool_); + } + // optional uint32 quota_id = 1; + if ((cached_has_bits & 0x00000002u) != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_quota_id()); + } + // .beegfs.QuotaIdType id_type = 2; + if ((cached_has_bits & 0x00000004u) != 0) { + if (this_._internal_id_type() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_id_type()); + } + } + // optional int64 space_limit = 4; + if ((cached_has_bits & 0x00000008u) != 0) { + total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( + this_._internal_space_limit()); + } + // optional int64 inode_limit = 5; + if ((cached_has_bits & 0x00000010u) != 0) { + total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( + this_._internal_inode_limit()); + } + // optional int64 space_used = 6; + if ((cached_has_bits & 0x00000020u) != 0) { + total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( + this_._internal_space_used()); + } + // optional int64 inode_used = 7; + if ((cached_has_bits & 0x00000040u) != 0) { + 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); @@ -11905,34 +12080,33 @@ void QuotaInfo::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::googl (void) cached_has_bits; cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x0000007fu) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { ABSL_DCHECK(from._impl_.pool_ != nullptr); if (_this->_impl_.pool_ == nullptr) { - _this->_impl_.pool_ = - ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>(arena, *from._impl_.pool_); + _this->_impl_.pool_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.pool_); } else { _this->_impl_.pool_->MergeFrom(*from._impl_.pool_); } } - if (cached_has_bits & 0x00000002u) { + if ((cached_has_bits & 0x00000002u) != 0) { _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) { + if ((cached_has_bits & 0x00000004u) != 0) { + if (from._internal_id_type() != 0) { + _this->_impl_.id_type_ = from._impl_.id_type_; + } + } + if ((cached_has_bits & 0x00000008u) != 0) { _this->_impl_.space_limit_ = from._impl_.space_limit_; } - if (cached_has_bits & 0x00000008u) { + if ((cached_has_bits & 0x00000010u) != 0) { _this->_impl_.inode_limit_ = from._impl_.inode_limit_; } - if (cached_has_bits & 0x00000010u) { + if ((cached_has_bits & 0x00000020u) != 0) { _this->_impl_.space_used_ = from._impl_.space_used_; } - if (cached_has_bits & 0x00000020u) { + if ((cached_has_bits & 0x00000040u) != 0) { _this->_impl_.inode_used_ = from._impl_.inode_used_; } } @@ -11948,8 +12122,8 @@ void QuotaInfo::CopyFrom(const QuotaInfo& from) { } -void QuotaInfo::InternalSwap(QuotaInfo* PROTOBUF_RESTRICT other) { - using std::swap; +void QuotaInfo::InternalSwap(QuotaInfo* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); ::google::protobuf::internal::memswap< @@ -11968,7 +12142,7 @@ ::google::protobuf::Metadata QuotaInfo::GetMetadata() const { class SetDefaultQuotaLimitsRequest::_Internal { public: using HasBits = - decltype(std::declval()._impl_._has_bits_); + decltype(::std::declval()._impl_._has_bits_); static constexpr ::int32_t kHasBitsOffset = 8 * PROTOBUF_FIELD_OFFSET(SetDefaultQuotaLimitsRequest, _impl_._has_bits_); }; @@ -11978,26 +12152,27 @@ void SetDefaultQuotaLimitsRequest::clear_pool() { if (_impl_.pool_ != nullptr) _impl_.pool_->Clear(); _impl_._has_bits_[0] &= ~0x00000001u; } -SetDefaultQuotaLimitsRequest::SetDefaultQuotaLimitsRequest(::google::protobuf::Arena* arena) +SetDefaultQuotaLimitsRequest::SetDefaultQuotaLimitsRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, SetDefaultQuotaLimitsRequest_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) +PROTOBUF_NDEBUG_INLINE SetDefaultQuotaLimitsRequest::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::management::SetDefaultQuotaLimitsRequest& from_msg) : _has_bits_{from._has_bits_}, _cached_size_{0} {} SetDefaultQuotaLimitsRequest::SetDefaultQuotaLimitsRequest( - ::google::protobuf::Arena* arena, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SetDefaultQuotaLimitsRequest& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, SetDefaultQuotaLimitsRequest_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -12007,9 +12182,9 @@ SetDefaultQuotaLimitsRequest::SetDefaultQuotaLimitsRequest( 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_.pool_ = ((cached_has_bits & 0x00000001u) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.pool_) + : nullptr; ::memcpy(reinterpret_cast(&_impl_) + offsetof(Impl_, user_space_limit_), reinterpret_cast(&from._impl_) + @@ -12020,12 +12195,12 @@ SetDefaultQuotaLimitsRequest::SetDefaultQuotaLimitsRequest( // @@protoc_insertion_point(copy_constructor:management.SetDefaultQuotaLimitsRequest) } -inline PROTOBUF_NDEBUG_INLINE SetDefaultQuotaLimitsRequest::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE SetDefaultQuotaLimitsRequest::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : _cached_size_{0} {} -inline void SetDefaultQuotaLimitsRequest::SharedCtor(::_pb::Arena* arena) { +inline void SetDefaultQuotaLimitsRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); ::memset(reinterpret_cast(&_impl_) + offsetof(Impl_, pool_), @@ -12046,43 +12221,51 @@ inline void SetDefaultQuotaLimitsRequest::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* SetDefaultQuotaLimitsRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL SetDefaultQuotaLimitsRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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(); +constexpr auto SetDefaultQuotaLimitsRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull SetDefaultQuotaLimitsRequest_class_data_ = + SetDefaultQuotaLimitsRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +SetDefaultQuotaLimitsRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&SetDefaultQuotaLimitsRequest_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(SetDefaultQuotaLimitsRequest_class_data_.tc_table); + return SetDefaultQuotaLimitsRequest_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<3, 5, 1, 0, 2> SetDefaultQuotaLimitsRequest::_table_ = { +const ::_pbi::TcParseTable<3, 5, 1, 0, 2> +SetDefaultQuotaLimitsRequest::_table_ = { { PROTOBUF_FIELD_OFFSET(SetDefaultQuotaLimitsRequest, _impl_._has_bits_), 0, // no _extensions_ @@ -12093,7 +12276,7 @@ const ::_pbi::TcParseTable<3, 5, 1, 0, 2> SetDefaultQuotaLimitsRequest::_table_ 5, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + SetDefaultQuotaLimitsRequest_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -12136,12 +12319,13 @@ const ::_pbi::TcParseTable<3, 5, 1, 0, 2> SetDefaultQuotaLimitsRequest::_table_ // 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>()}, - }}, {{ + }}, + {{ + {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, + }}, + {{ }}, }; - PROTOBUF_NOINLINE void SetDefaultQuotaLimitsRequest::Clear() { // @@protoc_insertion_point(message_clear_start:management.SetDefaultQuotaLimitsRequest) ::google::protobuf::internal::TSanWrite(&_impl_); @@ -12150,11 +12334,11 @@ PROTOBUF_NOINLINE void SetDefaultQuotaLimitsRequest::Clear() { (void) cached_has_bits; cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000001u) != 0) { ABSL_DCHECK(_impl_.pool_ != nullptr); _impl_.pool_->Clear(); } - if (cached_has_bits & 0x0000001eu) { + if ((cached_has_bits & 0x0000001eu) != 0) { ::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_)); @@ -12164,111 +12348,111 @@ PROTOBUF_NOINLINE void SetDefaultQuotaLimitsRequest::Clear() { } #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; - } +::uint8_t* PROTOBUF_NONNULL SetDefaultQuotaLimitsRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const SetDefaultQuotaLimitsRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL SetDefaultQuotaLimitsRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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) != 0) { + 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) != 0) { + 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) != 0) { + 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) != 0) { + 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) != 0) { + target = + ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<5>( + stream, this_._internal_group_inode_limit(), target); + } + + if (ABSL_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_); - } +::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) != 0) { + // optional .beegfs.EntityIdSet pool = 1; + if ((cached_has_bits & 0x00000001u) != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.pool_); + } + // optional int64 user_space_limit = 2; + if ((cached_has_bits & 0x00000002u) != 0) { + total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( + this_._internal_user_space_limit()); + } + // optional int64 user_inode_limit = 3; + if ((cached_has_bits & 0x00000004u) != 0) { + total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( + this_._internal_user_inode_limit()); + } + // optional int64 group_space_limit = 4; + if ((cached_has_bits & 0x00000008u) != 0) { + total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( + this_._internal_group_space_limit()); + } + // optional int64 group_inode_limit = 5; + if ((cached_has_bits & 0x00000010u) != 0) { + 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); @@ -12280,26 +12464,25 @@ void SetDefaultQuotaLimitsRequest::MergeImpl(::google::protobuf::MessageLite& to (void) cached_has_bits; cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x0000001fu) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { ABSL_DCHECK(from._impl_.pool_ != nullptr); if (_this->_impl_.pool_ == nullptr) { - _this->_impl_.pool_ = - ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>(arena, *from._impl_.pool_); + _this->_impl_.pool_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.pool_); } else { _this->_impl_.pool_->MergeFrom(*from._impl_.pool_); } } - if (cached_has_bits & 0x00000002u) { + if ((cached_has_bits & 0x00000002u) != 0) { _this->_impl_.user_space_limit_ = from._impl_.user_space_limit_; } - if (cached_has_bits & 0x00000004u) { + if ((cached_has_bits & 0x00000004u) != 0) { _this->_impl_.user_inode_limit_ = from._impl_.user_inode_limit_; } - if (cached_has_bits & 0x00000008u) { + if ((cached_has_bits & 0x00000008u) != 0) { _this->_impl_.group_space_limit_ = from._impl_.group_space_limit_; } - if (cached_has_bits & 0x00000010u) { + if ((cached_has_bits & 0x00000010u) != 0) { _this->_impl_.group_inode_limit_ = from._impl_.group_inode_limit_; } } @@ -12315,8 +12498,8 @@ void SetDefaultQuotaLimitsRequest::CopyFrom(const SetDefaultQuotaLimitsRequest& } -void SetDefaultQuotaLimitsRequest::InternalSwap(SetDefaultQuotaLimitsRequest* PROTOBUF_RESTRICT other) { - using std::swap; +void SetDefaultQuotaLimitsRequest::InternalSwap(SetDefaultQuotaLimitsRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); ::google::protobuf::internal::memswap< @@ -12336,19 +12519,19 @@ class SetDefaultQuotaLimitsResponse::_Internal { public: }; -SetDefaultQuotaLimitsResponse::SetDefaultQuotaLimitsResponse(::google::protobuf::Arena* arena) +SetDefaultQuotaLimitsResponse::SetDefaultQuotaLimitsResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { + : ::google::protobuf::internal::ZeroFieldsBase(arena, SetDefaultQuotaLimitsResponse_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, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SetDefaultQuotaLimitsResponse& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { + : ::google::protobuf::internal::ZeroFieldsBase(arena, SetDefaultQuotaLimitsResponse_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::internal::ZeroFieldsBase(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -12360,43 +12543,51 @@ SetDefaultQuotaLimitsResponse::SetDefaultQuotaLimitsResponse( // @@protoc_insertion_point(copy_constructor:management.SetDefaultQuotaLimitsResponse) } -inline void* SetDefaultQuotaLimitsResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL SetDefaultQuotaLimitsResponse::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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(); +constexpr auto SetDefaultQuotaLimitsResponse::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull SetDefaultQuotaLimitsResponse_class_data_ = + SetDefaultQuotaLimitsResponse::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +SetDefaultQuotaLimitsResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&SetDefaultQuotaLimitsResponse_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(SetDefaultQuotaLimitsResponse_class_data_.tc_table); + return SetDefaultQuotaLimitsResponse_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 0, 0, 0, 2> SetDefaultQuotaLimitsResponse::_table_ = { +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> +SetDefaultQuotaLimitsResponse::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ @@ -12407,7 +12598,7 @@ const ::_pbi::TcParseTable<0, 0, 0, 0, 2> SetDefaultQuotaLimitsResponse::_table_ 0, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), + SetDefaultQuotaLimitsResponse_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -12417,8 +12608,7 @@ const ::_pbi::TcParseTable<0, 0, 0, 0, 2> SetDefaultQuotaLimitsResponse::_table_ {::_pbi::TcParser::MiniParse, {}}, }}, {{ 65535, 65535 - }}, - // no field_entries, or aux_entries + }}, // no field_entries, or aux_entries {{ }}, }; @@ -12429,7 +12619,6 @@ const ::_pbi::TcParseTable<0, 0, 0, 0, 2> SetDefaultQuotaLimitsResponse::_table_ - ::google::protobuf::Metadata SetDefaultQuotaLimitsResponse::GetMetadata() const { return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } @@ -12439,26 +12628,27 @@ class SetQuotaLimitsRequest::_Internal { public: }; -SetQuotaLimitsRequest::SetQuotaLimitsRequest(::google::protobuf::Arena* arena) +SetQuotaLimitsRequest::SetQuotaLimitsRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, SetQuotaLimitsRequest_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) +PROTOBUF_NDEBUG_INLINE SetQuotaLimitsRequest::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::management::SetQuotaLimitsRequest& from_msg) : limits_{visibility, arena, from.limits_}, _cached_size_{0} {} SetQuotaLimitsRequest::SetQuotaLimitsRequest( - ::google::protobuf::Arena* arena, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SetQuotaLimitsRequest& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, SetQuotaLimitsRequest_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -12470,13 +12660,13 @@ SetQuotaLimitsRequest::SetQuotaLimitsRequest( // @@protoc_insertion_point(copy_constructor:management.SetQuotaLimitsRequest) } -inline PROTOBUF_NDEBUG_INLINE SetQuotaLimitsRequest::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE SetQuotaLimitsRequest::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : limits_{visibility, arena}, _cached_size_{0} {} -inline void SetQuotaLimitsRequest::SharedCtor(::_pb::Arena* arena) { +inline void SetQuotaLimitsRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); } SetQuotaLimitsRequest::~SetQuotaLimitsRequest() { @@ -12490,8 +12680,9 @@ inline void SetQuotaLimitsRequest::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* SetQuotaLimitsRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL SetQuotaLimitsRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { return ::new (mem) SetQuotaLimitsRequest(arena); } constexpr auto SetQuotaLimitsRequest::InternalNewImpl_() { @@ -12510,35 +12701,42 @@ constexpr auto SetQuotaLimitsRequest::InternalNewImpl_() { 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(); +constexpr auto SetQuotaLimitsRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull SetQuotaLimitsRequest_class_data_ = + SetQuotaLimitsRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +SetQuotaLimitsRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&SetQuotaLimitsRequest_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(SetQuotaLimitsRequest_class_data_.tc_table); + return SetQuotaLimitsRequest_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 1, 1, 0, 2> SetQuotaLimitsRequest::_table_ = { +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> +SetQuotaLimitsRequest::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ @@ -12549,7 +12747,7 @@ const ::_pbi::TcParseTable<0, 1, 1, 0, 2> SetQuotaLimitsRequest::_table_ = { 1, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + SetQuotaLimitsRequest_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -12565,12 +12763,13 @@ const ::_pbi::TcParseTable<0, 1, 1, 0, 2> SetQuotaLimitsRequest::_table_ = { // 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>()}, - }}, {{ + }}, + {{ + {::_pbi::TcParser::GetTable<::management::QuotaInfo>()}, + }}, + {{ }}, }; - PROTOBUF_NOINLINE void SetQuotaLimitsRequest::Clear() { // @@protoc_insertion_point(message_clear_start:management.SetQuotaLimitsRequest) ::google::protobuf::internal::TSanWrite(&_impl_); @@ -12583,67 +12782,67 @@ PROTOBUF_NOINLINE void SetQuotaLimitsRequest::Clear() { } #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); +::uint8_t* PROTOBUF_NONNULL SetQuotaLimitsRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const SetQuotaLimitsRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL SetQuotaLimitsRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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 (ABSL_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; +::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; + // @@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; + ::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_); - } + ::_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); @@ -12666,8 +12865,8 @@ void SetQuotaLimitsRequest::CopyFrom(const SetQuotaLimitsRequest& from) { } -void SetQuotaLimitsRequest::InternalSwap(SetQuotaLimitsRequest* PROTOBUF_RESTRICT other) { - using std::swap; +void SetQuotaLimitsRequest::InternalSwap(SetQuotaLimitsRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); _impl_.limits_.InternalSwap(&other->_impl_.limits_); } @@ -12681,19 +12880,19 @@ class SetQuotaLimitsResponse::_Internal { public: }; -SetQuotaLimitsResponse::SetQuotaLimitsResponse(::google::protobuf::Arena* arena) +SetQuotaLimitsResponse::SetQuotaLimitsResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { + : ::google::protobuf::internal::ZeroFieldsBase(arena, SetQuotaLimitsResponse_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, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SetQuotaLimitsResponse& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { + : ::google::protobuf::internal::ZeroFieldsBase(arena, SetQuotaLimitsResponse_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::internal::ZeroFieldsBase(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -12705,43 +12904,51 @@ SetQuotaLimitsResponse::SetQuotaLimitsResponse( // @@protoc_insertion_point(copy_constructor:management.SetQuotaLimitsResponse) } -inline void* SetQuotaLimitsResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL SetQuotaLimitsResponse::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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(); +constexpr auto SetQuotaLimitsResponse::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull SetQuotaLimitsResponse_class_data_ = + SetQuotaLimitsResponse::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +SetQuotaLimitsResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&SetQuotaLimitsResponse_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(SetQuotaLimitsResponse_class_data_.tc_table); + return SetQuotaLimitsResponse_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 0, 0, 0, 2> SetQuotaLimitsResponse::_table_ = { +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> +SetQuotaLimitsResponse::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ @@ -12752,7 +12959,7 @@ const ::_pbi::TcParseTable<0, 0, 0, 0, 2> SetQuotaLimitsResponse::_table_ = { 0, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), + SetQuotaLimitsResponse_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -12762,8 +12969,7 @@ const ::_pbi::TcParseTable<0, 0, 0, 0, 2> SetQuotaLimitsResponse::_table_ = { {::_pbi::TcParser::MiniParse, {}}, }}, {{ 65535, 65535 - }}, - // no field_entries, or aux_entries + }}, // no field_entries, or aux_entries {{ }}, }; @@ -12774,7 +12980,6 @@ const ::_pbi::TcParseTable<0, 0, 0, 0, 2> SetQuotaLimitsResponse::_table_ = { - ::google::protobuf::Metadata SetQuotaLimitsResponse::GetMetadata() const { return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } @@ -12783,7 +12988,7 @@ ::google::protobuf::Metadata SetQuotaLimitsResponse::GetMetadata() const { class GetQuotaLimitsRequest::_Internal { public: using HasBits = - decltype(std::declval()._impl_._has_bits_); + decltype(::std::declval()._impl_._has_bits_); static constexpr ::int32_t kHasBitsOffset = 8 * PROTOBUF_FIELD_OFFSET(GetQuotaLimitsRequest, _impl_._has_bits_); }; @@ -12793,18 +12998,19 @@ void GetQuotaLimitsRequest::clear_pool() { if (_impl_.pool_ != nullptr) _impl_.pool_->Clear(); _impl_._has_bits_[0] &= ~0x00000001u; } -GetQuotaLimitsRequest::GetQuotaLimitsRequest(::google::protobuf::Arena* arena) +GetQuotaLimitsRequest::GetQuotaLimitsRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, GetQuotaLimitsRequest_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) +PROTOBUF_NDEBUG_INLINE GetQuotaLimitsRequest::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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_}, @@ -12813,10 +13019,10 @@ inline PROTOBUF_NDEBUG_INLINE GetQuotaLimitsRequest::Impl_::Impl_( _group_id_list_cached_byte_size_{0} {} GetQuotaLimitsRequest::GetQuotaLimitsRequest( - ::google::protobuf::Arena* arena, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetQuotaLimitsRequest& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, GetQuotaLimitsRequest_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -12826,9 +13032,9 @@ GetQuotaLimitsRequest::GetQuotaLimitsRequest( 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_.pool_ = ((cached_has_bits & 0x00000001u) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.pool_) + : nullptr; ::memcpy(reinterpret_cast(&_impl_) + offsetof(Impl_, user_id_min_), reinterpret_cast(&from._impl_) + @@ -12839,16 +13045,16 @@ GetQuotaLimitsRequest::GetQuotaLimitsRequest( // @@protoc_insertion_point(copy_constructor:management.GetQuotaLimitsRequest) } -inline PROTOBUF_NDEBUG_INLINE GetQuotaLimitsRequest::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE GetQuotaLimitsRequest::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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) { +inline void GetQuotaLimitsRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); ::memset(reinterpret_cast(&_impl_) + offsetof(Impl_, pool_), @@ -12869,8 +13075,9 @@ inline void GetQuotaLimitsRequest::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* GetQuotaLimitsRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL GetQuotaLimitsRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { return ::new (mem) GetQuotaLimitsRequest(arena); } constexpr auto GetQuotaLimitsRequest::InternalNewImpl_() { @@ -12893,35 +13100,42 @@ constexpr auto GetQuotaLimitsRequest::InternalNewImpl_() { 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(); +constexpr auto GetQuotaLimitsRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull GetQuotaLimitsRequest_class_data_ = + GetQuotaLimitsRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +GetQuotaLimitsRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&GetQuotaLimitsRequest_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(GetQuotaLimitsRequest_class_data_.tc_table); + return GetQuotaLimitsRequest_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<3, 7, 1, 0, 2> GetQuotaLimitsRequest::_table_ = { +const ::_pbi::TcParseTable<3, 7, 1, 0, 2> +GetQuotaLimitsRequest::_table_ = { { PROTOBUF_FIELD_OFFSET(GetQuotaLimitsRequest, _impl_._has_bits_), 0, // no _extensions_ @@ -12932,7 +13146,7 @@ const ::_pbi::TcParseTable<3, 7, 1, 0, 2> GetQuotaLimitsRequest::_table_ = { 7, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + GetQuotaLimitsRequest_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -12985,12 +13199,13 @@ const ::_pbi::TcParseTable<3, 7, 1, 0, 2> GetQuotaLimitsRequest::_table_ = { // 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>()}, - }}, {{ + }}, + {{ + {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, + }}, + {{ }}, }; - PROTOBUF_NOINLINE void GetQuotaLimitsRequest::Clear() { // @@protoc_insertion_point(message_clear_start:management.GetQuotaLimitsRequest) ::google::protobuf::internal::TSanWrite(&_impl_); @@ -13001,11 +13216,11 @@ PROTOBUF_NOINLINE void GetQuotaLimitsRequest::Clear() { _impl_.user_id_list_.Clear(); _impl_.group_id_list_.Clear(); cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000001u) != 0) { ABSL_DCHECK(_impl_.pool_ != nullptr); _impl_.pool_->Clear(); } - if (cached_has_bits & 0x0000001eu) { + if ((cached_has_bits & 0x0000001eu) != 0) { ::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_)); @@ -13015,145 +13230,145 @@ PROTOBUF_NOINLINE void GetQuotaLimitsRequest::Clear() { } #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; - } +::uint8_t* PROTOBUF_NONNULL GetQuotaLimitsRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const GetQuotaLimitsRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL GetQuotaLimitsRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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) != 0) { + 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) != 0) { + 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) != 0) { + 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) != 0) { + 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) != 0) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 7, *this_._impl_.pool_, this_._impl_.pool_->GetCachedSize(), target, + stream); + } + + if (ABSL_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_); - } +::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) != 0) { + // optional .beegfs.EntityIdSet pool = 7; + if ((cached_has_bits & 0x00000001u) != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.pool_); + } + // optional uint32 user_id_min = 1; + if ((cached_has_bits & 0x00000002u) != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_user_id_min()); + } + // optional uint32 user_id_max = 2; + if ((cached_has_bits & 0x00000004u) != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_user_id_max()); + } + // optional uint32 group_id_min = 4; + if ((cached_has_bits & 0x00000008u) != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_group_id_min()); + } + // optional uint32 group_id_max = 5; + if ((cached_has_bits & 0x00000010u) != 0) { + 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); @@ -13167,26 +13382,25 @@ void GetQuotaLimitsRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, c _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) { + if ((cached_has_bits & 0x0000001fu) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { ABSL_DCHECK(from._impl_.pool_ != nullptr); if (_this->_impl_.pool_ == nullptr) { - _this->_impl_.pool_ = - ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>(arena, *from._impl_.pool_); + _this->_impl_.pool_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.pool_); } else { _this->_impl_.pool_->MergeFrom(*from._impl_.pool_); } } - if (cached_has_bits & 0x00000002u) { + if ((cached_has_bits & 0x00000002u) != 0) { _this->_impl_.user_id_min_ = from._impl_.user_id_min_; } - if (cached_has_bits & 0x00000004u) { + if ((cached_has_bits & 0x00000004u) != 0) { _this->_impl_.user_id_max_ = from._impl_.user_id_max_; } - if (cached_has_bits & 0x00000008u) { + if ((cached_has_bits & 0x00000008u) != 0) { _this->_impl_.group_id_min_ = from._impl_.group_id_min_; } - if (cached_has_bits & 0x00000010u) { + if ((cached_has_bits & 0x00000010u) != 0) { _this->_impl_.group_id_max_ = from._impl_.group_id_max_; } } @@ -13202,8 +13416,8 @@ void GetQuotaLimitsRequest::CopyFrom(const GetQuotaLimitsRequest& from) { } -void GetQuotaLimitsRequest::InternalSwap(GetQuotaLimitsRequest* PROTOBUF_RESTRICT other) { - using std::swap; +void GetQuotaLimitsRequest::InternalSwap(GetQuotaLimitsRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL 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_); @@ -13224,31 +13438,32 @@ ::google::protobuf::Metadata GetQuotaLimitsRequest::GetMetadata() const { class GetQuotaLimitsResponse::_Internal { public: using HasBits = - decltype(std::declval()._impl_._has_bits_); + 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) +GetQuotaLimitsResponse::GetQuotaLimitsResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, GetQuotaLimitsResponse_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) +PROTOBUF_NDEBUG_INLINE GetQuotaLimitsResponse::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::management::GetQuotaLimitsResponse& from_msg) : _has_bits_{from._has_bits_}, _cached_size_{0} {} GetQuotaLimitsResponse::GetQuotaLimitsResponse( - ::google::protobuf::Arena* arena, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetQuotaLimitsResponse& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, GetQuotaLimitsResponse_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -13258,18 +13473,18 @@ GetQuotaLimitsResponse::GetQuotaLimitsResponse( 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; + _impl_.limits_ = ((cached_has_bits & 0x00000001u) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.limits_) + : nullptr; // @@protoc_insertion_point(copy_constructor:management.GetQuotaLimitsResponse) } -inline PROTOBUF_NDEBUG_INLINE GetQuotaLimitsResponse::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE GetQuotaLimitsResponse::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : _cached_size_{0} {} -inline void GetQuotaLimitsResponse::SharedCtor(::_pb::Arena* arena) { +inline void GetQuotaLimitsResponse::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); _impl_.limits_ = {}; } @@ -13285,43 +13500,51 @@ inline void GetQuotaLimitsResponse::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* GetQuotaLimitsResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL GetQuotaLimitsResponse::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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(); +constexpr auto GetQuotaLimitsResponse::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull GetQuotaLimitsResponse_class_data_ = + GetQuotaLimitsResponse::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +GetQuotaLimitsResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&GetQuotaLimitsResponse_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(GetQuotaLimitsResponse_class_data_.tc_table); + return GetQuotaLimitsResponse_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 1, 1, 0, 2> GetQuotaLimitsResponse::_table_ = { +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> +GetQuotaLimitsResponse::_table_ = { { PROTOBUF_FIELD_OFFSET(GetQuotaLimitsResponse, _impl_._has_bits_), 0, // no _extensions_ @@ -13332,7 +13555,7 @@ const ::_pbi::TcParseTable<0, 1, 1, 0, 2> GetQuotaLimitsResponse::_table_ = { 1, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + GetQuotaLimitsResponse_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -13348,12 +13571,13 @@ const ::_pbi::TcParseTable<0, 1, 1, 0, 2> GetQuotaLimitsResponse::_table_ = { // 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>()}, - }}, {{ + }}, + {{ + {::_pbi::TcParser::GetTable<::management::QuotaInfo>()}, + }}, + {{ }}, }; - PROTOBUF_NOINLINE void GetQuotaLimitsResponse::Clear() { // @@protoc_insertion_point(message_clear_start:management.GetQuotaLimitsResponse) ::google::protobuf::internal::TSanWrite(&_impl_); @@ -13362,7 +13586,7 @@ PROTOBUF_NOINLINE void GetQuotaLimitsResponse::Clear() { (void) cached_has_bits; cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000001u) != 0) { ABSL_DCHECK(_impl_.limits_ != nullptr); _impl_.limits_->Clear(); } @@ -13371,62 +13595,62 @@ PROTOBUF_NOINLINE void GetQuotaLimitsResponse::Clear() { } #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; - } +::uint8_t* PROTOBUF_NONNULL GetQuotaLimitsResponse::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const GetQuotaLimitsResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL GetQuotaLimitsResponse::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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) != 0) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.limits_, this_._impl_.limits_->GetCachedSize(), target, + stream); + } + + if (ABSL_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); +::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; +::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; + // @@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; + ::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_); - } + { + // optional .management.QuotaInfo limits = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000001u) != 0) { + 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); @@ -13438,11 +13662,10 @@ void GetQuotaLimitsResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, (void) cached_has_bits; cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000001u) != 0) { ABSL_DCHECK(from._impl_.limits_ != nullptr); if (_this->_impl_.limits_ == nullptr) { - _this->_impl_.limits_ = - ::google::protobuf::Message::CopyConstruct<::management::QuotaInfo>(arena, *from._impl_.limits_); + _this->_impl_.limits_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.limits_); } else { _this->_impl_.limits_->MergeFrom(*from._impl_.limits_); } @@ -13459,8 +13682,8 @@ void GetQuotaLimitsResponse::CopyFrom(const GetQuotaLimitsResponse& from) { } -void GetQuotaLimitsResponse::InternalSwap(GetQuotaLimitsResponse* PROTOBUF_RESTRICT other) { - using std::swap; +void GetQuotaLimitsResponse::InternalSwap(GetQuotaLimitsResponse* PROTOBUF_RESTRICT PROTOBUF_NONNULL 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_); @@ -13474,7 +13697,7 @@ ::google::protobuf::Metadata GetQuotaLimitsResponse::GetMetadata() const { class GetQuotaUsageRequest::_Internal { public: using HasBits = - decltype(std::declval()._impl_._has_bits_); + decltype(::std::declval()._impl_._has_bits_); static constexpr ::int32_t kHasBitsOffset = 8 * PROTOBUF_FIELD_OFFSET(GetQuotaUsageRequest, _impl_._has_bits_); }; @@ -13484,18 +13707,19 @@ void GetQuotaUsageRequest::clear_pool() { if (_impl_.pool_ != nullptr) _impl_.pool_->Clear(); _impl_._has_bits_[0] &= ~0x00000001u; } -GetQuotaUsageRequest::GetQuotaUsageRequest(::google::protobuf::Arena* arena) +GetQuotaUsageRequest::GetQuotaUsageRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, GetQuotaUsageRequest_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) +PROTOBUF_NDEBUG_INLINE GetQuotaUsageRequest::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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_}, @@ -13504,10 +13728,10 @@ inline PROTOBUF_NDEBUG_INLINE GetQuotaUsageRequest::Impl_::Impl_( _group_id_list_cached_byte_size_{0} {} GetQuotaUsageRequest::GetQuotaUsageRequest( - ::google::protobuf::Arena* arena, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetQuotaUsageRequest& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, GetQuotaUsageRequest_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -13517,9 +13741,9 @@ GetQuotaUsageRequest::GetQuotaUsageRequest( 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_.pool_ = ((cached_has_bits & 0x00000001u) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.pool_) + : nullptr; ::memcpy(reinterpret_cast(&_impl_) + offsetof(Impl_, user_id_min_), reinterpret_cast(&from._impl_) + @@ -13530,16 +13754,16 @@ GetQuotaUsageRequest::GetQuotaUsageRequest( // @@protoc_insertion_point(copy_constructor:management.GetQuotaUsageRequest) } -inline PROTOBUF_NDEBUG_INLINE GetQuotaUsageRequest::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE GetQuotaUsageRequest::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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) { +inline void GetQuotaUsageRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); ::memset(reinterpret_cast(&_impl_) + offsetof(Impl_, pool_), @@ -13560,8 +13784,9 @@ inline void GetQuotaUsageRequest::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* GetQuotaUsageRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL GetQuotaUsageRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { return ::new (mem) GetQuotaUsageRequest(arena); } constexpr auto GetQuotaUsageRequest::InternalNewImpl_() { @@ -13584,35 +13809,42 @@ constexpr auto GetQuotaUsageRequest::InternalNewImpl_() { 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(); +constexpr auto GetQuotaUsageRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull GetQuotaUsageRequest_class_data_ = + GetQuotaUsageRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +GetQuotaUsageRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&GetQuotaUsageRequest_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(GetQuotaUsageRequest_class_data_.tc_table); + return GetQuotaUsageRequest_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<3, 8, 1, 0, 2> GetQuotaUsageRequest::_table_ = { +const ::_pbi::TcParseTable<3, 8, 1, 0, 2> +GetQuotaUsageRequest::_table_ = { { PROTOBUF_FIELD_OFFSET(GetQuotaUsageRequest, _impl_._has_bits_), 0, // no _extensions_ @@ -13623,7 +13855,7 @@ const ::_pbi::TcParseTable<3, 8, 1, 0, 2> GetQuotaUsageRequest::_table_ = { 8, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + GetQuotaUsageRequest_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -13681,12 +13913,13 @@ const ::_pbi::TcParseTable<3, 8, 1, 0, 2> GetQuotaUsageRequest::_table_ = { // optional bool exceeded = 8; {PROTOBUF_FIELD_OFFSET(GetQuotaUsageRequest, _impl_.exceeded_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)}, - }}, {{ - {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, - }}, {{ + }}, + {{ + {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, + }}, + {{ }}, }; - PROTOBUF_NOINLINE void GetQuotaUsageRequest::Clear() { // @@protoc_insertion_point(message_clear_start:management.GetQuotaUsageRequest) ::google::protobuf::internal::TSanWrite(&_impl_); @@ -13697,11 +13930,11 @@ PROTOBUF_NOINLINE void GetQuotaUsageRequest::Clear() { _impl_.user_id_list_.Clear(); _impl_.group_id_list_.Clear(); cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000001u) != 0) { ABSL_DCHECK(_impl_.pool_ != nullptr); _impl_.pool_->Clear(); } - if (cached_has_bits & 0x0000003eu) { + if ((cached_has_bits & 0x0000003eu) != 0) { ::memset(&_impl_.user_id_min_, 0, static_cast<::size_t>( reinterpret_cast(&_impl_.exceeded_) - reinterpret_cast(&_impl_.user_id_min_)) + sizeof(_impl_.exceeded_)); @@ -13711,156 +13944,153 @@ PROTOBUF_NOINLINE void GetQuotaUsageRequest::Clear() { } #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; - } +::uint8_t* PROTOBUF_NONNULL GetQuotaUsageRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const GetQuotaUsageRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL GetQuotaUsageRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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) != 0) { + 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) != 0) { + 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) != 0) { + 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) != 0) { + 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) != 0) { + 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) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 8, this_._internal_exceeded(), target); + } + + if (ABSL_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_); - } +::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]; + total_size += static_cast(0x00000020u & cached_has_bits) * 2; + if ((cached_has_bits & 0x0000001fu) != 0) { + // optional .beegfs.EntityIdSet pool = 7; + if ((cached_has_bits & 0x00000001u) != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.pool_); + } + // optional uint32 user_id_min = 1; + if ((cached_has_bits & 0x00000002u) != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_user_id_min()); + } + // optional uint32 user_id_max = 2; + if ((cached_has_bits & 0x00000004u) != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_user_id_max()); + } + // optional uint32 group_id_min = 4; + if ((cached_has_bits & 0x00000008u) != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_group_id_min()); + } + // optional uint32 group_id_max = 5; + if ((cached_has_bits & 0x00000010u) != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_group_id_max()); + } + } + 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); @@ -13874,29 +14104,28 @@ void GetQuotaUsageRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, co _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) { + if ((cached_has_bits & 0x0000003fu) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { ABSL_DCHECK(from._impl_.pool_ != nullptr); if (_this->_impl_.pool_ == nullptr) { - _this->_impl_.pool_ = - ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>(arena, *from._impl_.pool_); + _this->_impl_.pool_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.pool_); } else { _this->_impl_.pool_->MergeFrom(*from._impl_.pool_); } } - if (cached_has_bits & 0x00000002u) { + if ((cached_has_bits & 0x00000002u) != 0) { _this->_impl_.user_id_min_ = from._impl_.user_id_min_; } - if (cached_has_bits & 0x00000004u) { + if ((cached_has_bits & 0x00000004u) != 0) { _this->_impl_.user_id_max_ = from._impl_.user_id_max_; } - if (cached_has_bits & 0x00000008u) { + if ((cached_has_bits & 0x00000008u) != 0) { _this->_impl_.group_id_min_ = from._impl_.group_id_min_; } - if (cached_has_bits & 0x00000010u) { + if ((cached_has_bits & 0x00000010u) != 0) { _this->_impl_.group_id_max_ = from._impl_.group_id_max_; } - if (cached_has_bits & 0x00000020u) { + if ((cached_has_bits & 0x00000020u) != 0) { _this->_impl_.exceeded_ = from._impl_.exceeded_; } } @@ -13912,8 +14141,8 @@ void GetQuotaUsageRequest::CopyFrom(const GetQuotaUsageRequest& from) { } -void GetQuotaUsageRequest::InternalSwap(GetQuotaUsageRequest* PROTOBUF_RESTRICT other) { - using std::swap; +void GetQuotaUsageRequest::InternalSwap(GetQuotaUsageRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL 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_); @@ -13934,31 +14163,32 @@ ::google::protobuf::Metadata GetQuotaUsageRequest::GetMetadata() const { class GetQuotaUsageResponse::_Internal { public: using HasBits = - decltype(std::declval()._impl_._has_bits_); + 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) +GetQuotaUsageResponse::GetQuotaUsageResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, GetQuotaUsageResponse_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) +PROTOBUF_NDEBUG_INLINE GetQuotaUsageResponse::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::management::GetQuotaUsageResponse& from_msg) : _has_bits_{from._has_bits_}, _cached_size_{0} {} GetQuotaUsageResponse::GetQuotaUsageResponse( - ::google::protobuf::Arena* arena, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetQuotaUsageResponse& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, GetQuotaUsageResponse_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -13968,19 +14198,19 @@ GetQuotaUsageResponse::GetQuotaUsageResponse( 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_.entry_ = ((cached_has_bits & 0x00000001u) != 0) + ? ::google::protobuf::Message::CopyConstruct(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_( +PROTOBUF_NDEBUG_INLINE GetQuotaUsageResponse::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : _cached_size_{0} {} -inline void GetQuotaUsageResponse::SharedCtor(::_pb::Arena* arena) { +inline void GetQuotaUsageResponse::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); ::memset(reinterpret_cast(&_impl_) + offsetof(Impl_, entry_), @@ -14001,43 +14231,51 @@ inline void GetQuotaUsageResponse::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* GetQuotaUsageResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL GetQuotaUsageResponse::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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(); +constexpr auto GetQuotaUsageResponse::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull GetQuotaUsageResponse_class_data_ = + GetQuotaUsageResponse::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +GetQuotaUsageResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&GetQuotaUsageResponse_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(GetQuotaUsageResponse_class_data_.tc_table); + return GetQuotaUsageResponse_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<1, 2, 1, 0, 2> GetQuotaUsageResponse::_table_ = { +const ::_pbi::TcParseTable<1, 2, 1, 0, 2> +GetQuotaUsageResponse::_table_ = { { PROTOBUF_FIELD_OFFSET(GetQuotaUsageResponse, _impl_._has_bits_), 0, // no _extensions_ @@ -14048,7 +14286,7 @@ const ::_pbi::TcParseTable<1, 2, 1, 0, 2> GetQuotaUsageResponse::_table_ = { 2, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + GetQuotaUsageResponse_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -14070,12 +14308,13 @@ const ::_pbi::TcParseTable<1, 2, 1, 0, 2> GetQuotaUsageResponse::_table_ = { // 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>()}, - }}, {{ + }}, + {{ + {::_pbi::TcParser::GetTable<::management::QuotaInfo>()}, + }}, + {{ }}, }; - PROTOBUF_NOINLINE void GetQuotaUsageResponse::Clear() { // @@protoc_insertion_point(message_clear_start:management.GetQuotaUsageResponse) ::google::protobuf::internal::TSanWrite(&_impl_); @@ -14084,7 +14323,7 @@ PROTOBUF_NOINLINE void GetQuotaUsageResponse::Clear() { (void) cached_has_bits; cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000001u) != 0) { ABSL_DCHECK(_impl_.entry_ != nullptr); _impl_.entry_->Clear(); } @@ -14094,75 +14333,75 @@ PROTOBUF_NOINLINE void GetQuotaUsageResponse::Clear() { } #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; - } +::uint8_t* PROTOBUF_NONNULL GetQuotaUsageResponse::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const GetQuotaUsageResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL GetQuotaUsageResponse::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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) != 0) { + 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) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray( + 2, this_._internal_refresh_period_s(), target); + } + + if (ABSL_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_); - } +::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) != 0) { + // optional .management.QuotaInfo entry = 1; + if ((cached_has_bits & 0x00000001u) != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.entry_); + } + // optional uint64 refresh_period_s = 2; + if ((cached_has_bits & 0x00000002u) != 0) { + 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); @@ -14174,17 +14413,16 @@ void GetQuotaUsageResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, c (void) cached_has_bits; cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000003u) != 0) { + if ((cached_has_bits & 0x00000001u) != 0) { ABSL_DCHECK(from._impl_.entry_ != nullptr); if (_this->_impl_.entry_ == nullptr) { - _this->_impl_.entry_ = - ::google::protobuf::Message::CopyConstruct<::management::QuotaInfo>(arena, *from._impl_.entry_); + _this->_impl_.entry_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.entry_); } else { _this->_impl_.entry_->MergeFrom(*from._impl_.entry_); } } - if (cached_has_bits & 0x00000002u) { + if ((cached_has_bits & 0x00000002u) != 0) { _this->_impl_.refresh_period_s_ = from._impl_.refresh_period_s_; } } @@ -14200,8 +14438,8 @@ void GetQuotaUsageResponse::CopyFrom(const GetQuotaUsageResponse& from) { } -void GetQuotaUsageResponse::InternalSwap(GetQuotaUsageResponse* PROTOBUF_RESTRICT other) { - using std::swap; +void GetQuotaUsageResponse::InternalSwap(GetQuotaUsageResponse* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); ::google::protobuf::internal::memswap< @@ -14220,14 +14458,14 @@ ::google::protobuf::Metadata GetQuotaUsageResponse::GetMetadata() const { class GetLicenseRequest::_Internal { public: using HasBits = - decltype(std::declval()._impl_._has_bits_); + 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) +GetLicenseRequest::GetLicenseRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, GetLicenseRequest_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -14235,16 +14473,22 @@ GetLicenseRequest::GetLicenseRequest(::google::protobuf::Arena* arena) // @@protoc_insertion_point(arena_constructor:management.GetLicenseRequest) } GetLicenseRequest::GetLicenseRequest( - ::google::protobuf::Arena* arena, const GetLicenseRequest& from) - : GetLicenseRequest(arena) { - MergeFrom(from); + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetLicenseRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, GetLicenseRequest_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); } -inline PROTOBUF_NDEBUG_INLINE GetLicenseRequest::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE GetLicenseRequest::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : _cached_size_{0} {} -inline void GetLicenseRequest::SharedCtor(::_pb::Arena* arena) { +inline void GetLicenseRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); _impl_.reload_ = {}; } @@ -14259,43 +14503,51 @@ inline void GetLicenseRequest::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* GetLicenseRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL GetLicenseRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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(); +constexpr auto GetLicenseRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull GetLicenseRequest_class_data_ = + GetLicenseRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +GetLicenseRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&GetLicenseRequest_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(GetLicenseRequest_class_data_.tc_table); + return GetLicenseRequest_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 1, 0, 0, 2> GetLicenseRequest::_table_ = { +const ::_pbi::TcParseTable<0, 1, 0, 0, 2> +GetLicenseRequest::_table_ = { { PROTOBUF_FIELD_OFFSET(GetLicenseRequest, _impl_._has_bits_), 0, // no _extensions_ @@ -14306,7 +14558,7 @@ const ::_pbi::TcParseTable<0, 1, 0, 0, 2> GetLicenseRequest::_table_ = { 1, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), + GetLicenseRequest_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -14327,7 +14579,6 @@ const ::_pbi::TcParseTable<0, 1, 0, 0, 2> GetLicenseRequest::_table_ = { {{ }}, }; - PROTOBUF_NOINLINE void GetLicenseRequest::Clear() { // @@protoc_insertion_point(message_clear_start:management.GetLicenseRequest) ::google::protobuf::internal::TSanWrite(&_impl_); @@ -14341,61 +14592,56 @@ PROTOBUF_NOINLINE void GetLicenseRequest::Clear() { } #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; - } +::uint8_t* PROTOBUF_NONNULL GetLicenseRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const GetLicenseRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL GetLicenseRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this_._internal_reload(), target); + } + + if (ABSL_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); +::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; +::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; + // @@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; + ::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_); - } + cached_has_bits = this_._impl_._has_bits_[0]; + total_size += static_cast(0x00000001u & cached_has_bits) * 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); @@ -14406,7 +14652,7 @@ void GetLicenseRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const (void) cached_has_bits; cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000001u) != 0) { _this->_impl_.reload_ = from._impl_.reload_; } _this->_impl_._has_bits_[0] |= cached_has_bits; @@ -14421,11 +14667,11 @@ void GetLicenseRequest::CopyFrom(const GetLicenseRequest& from) { } -void GetLicenseRequest::InternalSwap(GetLicenseRequest* PROTOBUF_RESTRICT other) { - using std::swap; +void GetLicenseRequest::InternalSwap(GetLicenseRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL 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_); + swap(_impl_.reload_, other->_impl_.reload_); } ::google::protobuf::Metadata GetLicenseRequest::GetMetadata() const { @@ -14436,7 +14682,7 @@ ::google::protobuf::Metadata GetLicenseRequest::GetMetadata() const { class GetLicenseResponse::_Internal { public: using HasBits = - decltype(std::declval()._impl_._has_bits_); + decltype(::std::declval()._impl_._has_bits_); static constexpr ::int32_t kHasBitsOffset = 8 * PROTOBUF_FIELD_OFFSET(GetLicenseResponse, _impl_._has_bits_); }; @@ -14446,26 +14692,27 @@ void GetLicenseResponse::clear_cert_data() { if (_impl_.cert_data_ != nullptr) _impl_.cert_data_->Clear(); _impl_._has_bits_[0] &= ~0x00000001u; } -GetLicenseResponse::GetLicenseResponse(::google::protobuf::Arena* arena) +GetLicenseResponse::GetLicenseResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, GetLicenseResponse_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) +PROTOBUF_NDEBUG_INLINE GetLicenseResponse::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ::management::GetLicenseResponse& from_msg) : _has_bits_{from._has_bits_}, _cached_size_{0} {} GetLicenseResponse::GetLicenseResponse( - ::google::protobuf::Arena* arena, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetLicenseResponse& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, GetLicenseResponse_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -14475,18 +14722,18 @@ GetLicenseResponse::GetLicenseResponse( 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; + _impl_.cert_data_ = ((cached_has_bits & 0x00000001u) != 0) + ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.cert_data_) + : nullptr; // @@protoc_insertion_point(copy_constructor:management.GetLicenseResponse) } -inline PROTOBUF_NDEBUG_INLINE GetLicenseResponse::Impl_::Impl_( +PROTOBUF_NDEBUG_INLINE GetLicenseResponse::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : _cached_size_{0} {} -inline void GetLicenseResponse::SharedCtor(::_pb::Arena* arena) { +inline void GetLicenseResponse::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); _impl_.cert_data_ = {}; } @@ -14502,43 +14749,51 @@ inline void GetLicenseResponse::SharedDtor(MessageLite& self) { this_._impl_.~Impl_(); } -inline void* GetLicenseResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { +inline void* PROTOBUF_NONNULL GetLicenseResponse::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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(); +constexpr auto GetLicenseResponse::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::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 + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const + ::google::protobuf::internal::ClassDataFull GetLicenseResponse_class_data_ = + GetLicenseResponse::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +GetLicenseResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&GetLicenseResponse_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(GetLicenseResponse_class_data_.tc_table); + return GetLicenseResponse_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 1, 1, 0, 2> GetLicenseResponse::_table_ = { +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> +GetLicenseResponse::_table_ = { { PROTOBUF_FIELD_OFFSET(GetLicenseResponse, _impl_._has_bits_), 0, // no _extensions_ @@ -14549,7 +14804,7 @@ const ::_pbi::TcParseTable<0, 1, 1, 0, 2> GetLicenseResponse::_table_ = { 1, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + GetLicenseResponse_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -14565,12 +14820,13 @@ const ::_pbi::TcParseTable<0, 1, 1, 0, 2> GetLicenseResponse::_table_ = { // 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>()}, - }}, {{ + }}, + {{ + {::_pbi::TcParser::GetTable<::license::GetCertDataResult>()}, + }}, + {{ }}, }; - PROTOBUF_NOINLINE void GetLicenseResponse::Clear() { // @@protoc_insertion_point(message_clear_start:management.GetLicenseResponse) ::google::protobuf::internal::TSanWrite(&_impl_); @@ -14579,7 +14835,7 @@ PROTOBUF_NOINLINE void GetLicenseResponse::Clear() { (void) cached_has_bits; cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000001u) != 0) { ABSL_DCHECK(_impl_.cert_data_ != nullptr); _impl_.cert_data_->Clear(); } @@ -14588,62 +14844,62 @@ PROTOBUF_NOINLINE void GetLicenseResponse::Clear() { } #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; - } +::uint8_t* PROTOBUF_NONNULL GetLicenseResponse::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const GetLicenseResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL GetLicenseResponse::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL 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) != 0) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.cert_data_, this_._impl_.cert_data_->GetCachedSize(), target, + stream); + } + + if (ABSL_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); +::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; +::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; + // @@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; + ::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_); - } + { + // optional .license.GetCertDataResult cert_data = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if ((cached_has_bits & 0x00000001u) != 0) { + 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); @@ -14655,11 +14911,10 @@ void GetLicenseResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, cons (void) cached_has_bits; cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { + if ((cached_has_bits & 0x00000001u) != 0) { 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_); + _this->_impl_.cert_data_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.cert_data_); } else { _this->_impl_.cert_data_->MergeFrom(*from._impl_.cert_data_); } @@ -14676,8 +14931,8 @@ void GetLicenseResponse::CopyFrom(const GetLicenseResponse& from) { } -void GetLicenseResponse::InternalSwap(GetLicenseResponse* PROTOBUF_RESTRICT other) { - using std::swap; +void GetLicenseResponse::InternalSwap(GetLicenseResponse* PROTOBUF_RESTRICT PROTOBUF_NONNULL 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_); @@ -14694,7 +14949,7 @@ namespace protobuf { } // namespace google // @@protoc_insertion_point(global_scope) PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type - _static_init2_ PROTOBUF_UNUSED = + _static_init2_ [[maybe_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/include/proto/management.pb.h similarity index 70% rename from cpp/management.pb.h rename to cpp/include/proto/management.pb.h index cf3fb71..a4092fe 100644 --- a/cpp/management.pb.h +++ b/cpp/include/proto/management.pb.h @@ -1,7 +1,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // NO CHECKED-IN PROTOBUF GENCODE // source: management.proto -// Protobuf C++ Version: 5.29.2 +// Protobuf C++ Version: 6.31.1 #ifndef management_2eproto_2epb_2eh #define management_2eproto_2epb_2eh @@ -12,7 +12,7 @@ #include #include "google/protobuf/runtime_version.h" -#if PROTOBUF_VERSION != 5029002 +#if PROTOBUF_VERSION != 6031001 #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" @@ -52,147 +52,194 @@ ::absl::string_view GetAnyMessageName(); struct TableStruct_management_2eproto { static const ::uint32_t offsets[]; }; -extern const ::google::protobuf::internal::DescriptorTable - descriptor_table_management_2eproto; +extern "C" { +extern const ::google::protobuf::internal::DescriptorTable descriptor_table_management_2eproto; +} // extern "C" namespace management { class AssignPoolRequest; struct AssignPoolRequestDefaultTypeInternal; extern AssignPoolRequestDefaultTypeInternal _AssignPoolRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull AssignPoolRequest_class_data_; class AssignPoolResponse; struct AssignPoolResponseDefaultTypeInternal; extern AssignPoolResponseDefaultTypeInternal _AssignPoolResponse_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull AssignPoolResponse_class_data_; class CreateBuddyGroupRequest; struct CreateBuddyGroupRequestDefaultTypeInternal; extern CreateBuddyGroupRequestDefaultTypeInternal _CreateBuddyGroupRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull CreateBuddyGroupRequest_class_data_; class CreateBuddyGroupResponse; struct CreateBuddyGroupResponseDefaultTypeInternal; extern CreateBuddyGroupResponseDefaultTypeInternal _CreateBuddyGroupResponse_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull CreateBuddyGroupResponse_class_data_; class CreatePoolRequest; struct CreatePoolRequestDefaultTypeInternal; extern CreatePoolRequestDefaultTypeInternal _CreatePoolRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull CreatePoolRequest_class_data_; class CreatePoolResponse; struct CreatePoolResponseDefaultTypeInternal; extern CreatePoolResponseDefaultTypeInternal _CreatePoolResponse_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull CreatePoolResponse_class_data_; class DeleteBuddyGroupRequest; struct DeleteBuddyGroupRequestDefaultTypeInternal; extern DeleteBuddyGroupRequestDefaultTypeInternal _DeleteBuddyGroupRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull DeleteBuddyGroupRequest_class_data_; class DeleteBuddyGroupResponse; struct DeleteBuddyGroupResponseDefaultTypeInternal; extern DeleteBuddyGroupResponseDefaultTypeInternal _DeleteBuddyGroupResponse_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull DeleteBuddyGroupResponse_class_data_; class DeleteNodeRequest; struct DeleteNodeRequestDefaultTypeInternal; extern DeleteNodeRequestDefaultTypeInternal _DeleteNodeRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull DeleteNodeRequest_class_data_; class DeleteNodeResponse; struct DeleteNodeResponseDefaultTypeInternal; extern DeleteNodeResponseDefaultTypeInternal _DeleteNodeResponse_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull DeleteNodeResponse_class_data_; class DeletePoolRequest; struct DeletePoolRequestDefaultTypeInternal; extern DeletePoolRequestDefaultTypeInternal _DeletePoolRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull DeletePoolRequest_class_data_; class DeletePoolResponse; struct DeletePoolResponseDefaultTypeInternal; extern DeletePoolResponseDefaultTypeInternal _DeletePoolResponse_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull DeletePoolResponse_class_data_; class DeleteTargetRequest; struct DeleteTargetRequestDefaultTypeInternal; extern DeleteTargetRequestDefaultTypeInternal _DeleteTargetRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull DeleteTargetRequest_class_data_; class DeleteTargetResponse; struct DeleteTargetResponseDefaultTypeInternal; extern DeleteTargetResponseDefaultTypeInternal _DeleteTargetResponse_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull DeleteTargetResponse_class_data_; class GetBuddyGroupsRequest; struct GetBuddyGroupsRequestDefaultTypeInternal; extern GetBuddyGroupsRequestDefaultTypeInternal _GetBuddyGroupsRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull GetBuddyGroupsRequest_class_data_; class GetBuddyGroupsResponse; struct GetBuddyGroupsResponseDefaultTypeInternal; extern GetBuddyGroupsResponseDefaultTypeInternal _GetBuddyGroupsResponse_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull GetBuddyGroupsResponse_class_data_; class GetBuddyGroupsResponse_BuddyGroup; struct GetBuddyGroupsResponse_BuddyGroupDefaultTypeInternal; extern GetBuddyGroupsResponse_BuddyGroupDefaultTypeInternal _GetBuddyGroupsResponse_BuddyGroup_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull GetBuddyGroupsResponse_BuddyGroup_class_data_; class GetLicenseRequest; struct GetLicenseRequestDefaultTypeInternal; extern GetLicenseRequestDefaultTypeInternal _GetLicenseRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull GetLicenseRequest_class_data_; class GetLicenseResponse; struct GetLicenseResponseDefaultTypeInternal; extern GetLicenseResponseDefaultTypeInternal _GetLicenseResponse_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull GetLicenseResponse_class_data_; class GetNodesRequest; struct GetNodesRequestDefaultTypeInternal; extern GetNodesRequestDefaultTypeInternal _GetNodesRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull GetNodesRequest_class_data_; class GetNodesResponse; struct GetNodesResponseDefaultTypeInternal; extern GetNodesResponseDefaultTypeInternal _GetNodesResponse_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull GetNodesResponse_class_data_; class GetNodesResponse_Node; struct GetNodesResponse_NodeDefaultTypeInternal; extern GetNodesResponse_NodeDefaultTypeInternal _GetNodesResponse_Node_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull GetNodesResponse_Node_class_data_; class GetNodesResponse_Node_Nic; struct GetNodesResponse_Node_NicDefaultTypeInternal; extern GetNodesResponse_Node_NicDefaultTypeInternal _GetNodesResponse_Node_Nic_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull GetNodesResponse_Node_Nic_class_data_; class GetPoolsRequest; struct GetPoolsRequestDefaultTypeInternal; extern GetPoolsRequestDefaultTypeInternal _GetPoolsRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull GetPoolsRequest_class_data_; class GetPoolsResponse; struct GetPoolsResponseDefaultTypeInternal; extern GetPoolsResponseDefaultTypeInternal _GetPoolsResponse_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull GetPoolsResponse_class_data_; class GetPoolsResponse_StoragePool; struct GetPoolsResponse_StoragePoolDefaultTypeInternal; extern GetPoolsResponse_StoragePoolDefaultTypeInternal _GetPoolsResponse_StoragePool_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull GetPoolsResponse_StoragePool_class_data_; class GetQuotaLimitsRequest; struct GetQuotaLimitsRequestDefaultTypeInternal; extern GetQuotaLimitsRequestDefaultTypeInternal _GetQuotaLimitsRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull GetQuotaLimitsRequest_class_data_; class GetQuotaLimitsResponse; struct GetQuotaLimitsResponseDefaultTypeInternal; extern GetQuotaLimitsResponseDefaultTypeInternal _GetQuotaLimitsResponse_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull GetQuotaLimitsResponse_class_data_; class GetQuotaUsageRequest; struct GetQuotaUsageRequestDefaultTypeInternal; extern GetQuotaUsageRequestDefaultTypeInternal _GetQuotaUsageRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull GetQuotaUsageRequest_class_data_; class GetQuotaUsageResponse; struct GetQuotaUsageResponseDefaultTypeInternal; extern GetQuotaUsageResponseDefaultTypeInternal _GetQuotaUsageResponse_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull GetQuotaUsageResponse_class_data_; class GetTargetsRequest; struct GetTargetsRequestDefaultTypeInternal; extern GetTargetsRequestDefaultTypeInternal _GetTargetsRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull GetTargetsRequest_class_data_; class GetTargetsResponse; struct GetTargetsResponseDefaultTypeInternal; extern GetTargetsResponseDefaultTypeInternal _GetTargetsResponse_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull GetTargetsResponse_class_data_; class GetTargetsResponse_Target; struct GetTargetsResponse_TargetDefaultTypeInternal; extern GetTargetsResponse_TargetDefaultTypeInternal _GetTargetsResponse_Target_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull GetTargetsResponse_Target_class_data_; class MirrorRootInodeRequest; struct MirrorRootInodeRequestDefaultTypeInternal; extern MirrorRootInodeRequestDefaultTypeInternal _MirrorRootInodeRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull MirrorRootInodeRequest_class_data_; class MirrorRootInodeResponse; struct MirrorRootInodeResponseDefaultTypeInternal; extern MirrorRootInodeResponseDefaultTypeInternal _MirrorRootInodeResponse_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull MirrorRootInodeResponse_class_data_; class QuotaInfo; struct QuotaInfoDefaultTypeInternal; extern QuotaInfoDefaultTypeInternal _QuotaInfo_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull QuotaInfo_class_data_; class SetAliasRequest; struct SetAliasRequestDefaultTypeInternal; extern SetAliasRequestDefaultTypeInternal _SetAliasRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull SetAliasRequest_class_data_; class SetAliasResponse; struct SetAliasResponseDefaultTypeInternal; extern SetAliasResponseDefaultTypeInternal _SetAliasResponse_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull SetAliasResponse_class_data_; class SetDefaultQuotaLimitsRequest; struct SetDefaultQuotaLimitsRequestDefaultTypeInternal; extern SetDefaultQuotaLimitsRequestDefaultTypeInternal _SetDefaultQuotaLimitsRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull SetDefaultQuotaLimitsRequest_class_data_; class SetDefaultQuotaLimitsResponse; struct SetDefaultQuotaLimitsResponseDefaultTypeInternal; extern SetDefaultQuotaLimitsResponseDefaultTypeInternal _SetDefaultQuotaLimitsResponse_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull SetDefaultQuotaLimitsResponse_class_data_; class SetQuotaLimitsRequest; struct SetQuotaLimitsRequestDefaultTypeInternal; extern SetQuotaLimitsRequestDefaultTypeInternal _SetQuotaLimitsRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull SetQuotaLimitsRequest_class_data_; class SetQuotaLimitsResponse; struct SetQuotaLimitsResponseDefaultTypeInternal; extern SetQuotaLimitsResponseDefaultTypeInternal _SetQuotaLimitsResponse_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull SetQuotaLimitsResponse_class_data_; class SetTargetStateRequest; struct SetTargetStateRequestDefaultTypeInternal; extern SetTargetStateRequestDefaultTypeInternal _SetTargetStateRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull SetTargetStateRequest_class_data_; class SetTargetStateResponse; struct SetTargetStateResponseDefaultTypeInternal; extern SetTargetStateResponseDefaultTypeInternal _SetTargetStateResponse_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull SetTargetStateResponse_class_data_; class StartResyncRequest; struct StartResyncRequestDefaultTypeInternal; extern StartResyncRequestDefaultTypeInternal _StartResyncRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull StartResyncRequest_class_data_; class StartResyncResponse; struct StartResyncResponseDefaultTypeInternal; extern StartResyncResponseDefaultTypeInternal _StartResyncResponse_default_instance_; +extern const ::google::protobuf::internal::ClassDataFull StartResyncResponse_class_data_; } // namespace management namespace google { namespace protobuf { @@ -212,19 +259,18 @@ class StartResyncResponse final : public ::google::protobuf::internal::ZeroField inline StartResyncResponse() : StartResyncResponse(nullptr) {} #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(StartResyncResponse* msg, std::destroying_delete_t) { + void operator delete(StartResyncResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(StartResyncResponse)); } #endif template - explicit PROTOBUF_CONSTEXPR StartResyncResponse( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : StartResyncResponse(nullptr, ::std::move(from)) {} inline StartResyncResponse& operator=(const StartResyncResponse& from) { CopyFrom(from); return *this; @@ -243,30 +289,27 @@ class StartResyncResponse final : public ::google::protobuf::internal::ZeroField ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(StartResyncResponse* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -274,7 +317,7 @@ class StartResyncResponse final : public ::google::protobuf::internal::ZeroField ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(StartResyncResponse* other) { + void UnsafeArenaSwap(StartResyncResponse* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -282,7 +325,7 @@ class StartResyncResponse final : public ::google::protobuf::internal::ZeroField // implements Message ---------------------------------------------- - StartResyncResponse* New(::google::protobuf::Arena* arena = nullptr) const { + StartResyncResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); } using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; @@ -300,24 +343,26 @@ class StartResyncResponse final : public ::google::protobuf::internal::ZeroField } private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit StartResyncResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + StartResyncResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const StartResyncResponse& from); + StartResyncResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -326,9 +371,9 @@ class StartResyncResponse final : public ::google::protobuf::internal::ZeroField private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 0, 0, 0, - 0, 2> + static const ::google::protobuf::internal::TcParseTable<0, 0, + 0, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -338,17 +383,20 @@ class StartResyncResponse final : public ::google::protobuf::internal::ZeroField 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const StartResyncResponse& from_msg); PROTOBUF_TSAN_DECLARE_MEMBER }; friend struct ::TableStruct_management_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull StartResyncResponse_class_data_; // ------------------------------------------------------------------- class SetTargetStateResponse final : public ::google::protobuf::internal::ZeroFieldsBase @@ -357,19 +405,18 @@ class SetTargetStateResponse final : public ::google::protobuf::internal::ZeroFi inline SetTargetStateResponse() : SetTargetStateResponse(nullptr) {} #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SetTargetStateResponse* msg, std::destroying_delete_t) { + void operator delete(SetTargetStateResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(SetTargetStateResponse)); } #endif template - explicit PROTOBUF_CONSTEXPR SetTargetStateResponse( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : SetTargetStateResponse(nullptr, ::std::move(from)) {} inline SetTargetStateResponse& operator=(const SetTargetStateResponse& from) { CopyFrom(from); return *this; @@ -388,30 +435,27 @@ class SetTargetStateResponse final : public ::google::protobuf::internal::ZeroFi ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(SetTargetStateResponse* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -419,7 +463,7 @@ class SetTargetStateResponse final : public ::google::protobuf::internal::ZeroFi ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(SetTargetStateResponse* other) { + void UnsafeArenaSwap(SetTargetStateResponse* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -427,7 +471,7 @@ class SetTargetStateResponse final : public ::google::protobuf::internal::ZeroFi // implements Message ---------------------------------------------- - SetTargetStateResponse* New(::google::protobuf::Arena* arena = nullptr) const { + SetTargetStateResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); } using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; @@ -445,24 +489,26 @@ class SetTargetStateResponse final : public ::google::protobuf::internal::ZeroFi } private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit SetTargetStateResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + SetTargetStateResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SetTargetStateResponse& from); + SetTargetStateResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -471,9 +517,9 @@ class SetTargetStateResponse final : public ::google::protobuf::internal::ZeroFi private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 0, 0, 0, - 0, 2> + static const ::google::protobuf::internal::TcParseTable<0, 0, + 0, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -483,17 +529,20 @@ class SetTargetStateResponse final : public ::google::protobuf::internal::ZeroFi 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const SetTargetStateResponse& from_msg); PROTOBUF_TSAN_DECLARE_MEMBER }; friend struct ::TableStruct_management_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull SetTargetStateResponse_class_data_; // ------------------------------------------------------------------- class SetQuotaLimitsResponse final : public ::google::protobuf::internal::ZeroFieldsBase @@ -502,19 +551,18 @@ class SetQuotaLimitsResponse final : public ::google::protobuf::internal::ZeroFi inline SetQuotaLimitsResponse() : SetQuotaLimitsResponse(nullptr) {} #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SetQuotaLimitsResponse* msg, std::destroying_delete_t) { + void operator delete(SetQuotaLimitsResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(SetQuotaLimitsResponse)); } #endif template - explicit PROTOBUF_CONSTEXPR SetQuotaLimitsResponse( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : SetQuotaLimitsResponse(nullptr, ::std::move(from)) {} inline SetQuotaLimitsResponse& operator=(const SetQuotaLimitsResponse& from) { CopyFrom(from); return *this; @@ -533,30 +581,27 @@ class SetQuotaLimitsResponse final : public ::google::protobuf::internal::ZeroFi ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(SetQuotaLimitsResponse* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -564,7 +609,7 @@ class SetQuotaLimitsResponse final : public ::google::protobuf::internal::ZeroFi ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(SetQuotaLimitsResponse* other) { + void UnsafeArenaSwap(SetQuotaLimitsResponse* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -572,7 +617,7 @@ class SetQuotaLimitsResponse final : public ::google::protobuf::internal::ZeroFi // implements Message ---------------------------------------------- - SetQuotaLimitsResponse* New(::google::protobuf::Arena* arena = nullptr) const { + SetQuotaLimitsResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); } using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; @@ -590,24 +635,26 @@ class SetQuotaLimitsResponse final : public ::google::protobuf::internal::ZeroFi } private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit SetQuotaLimitsResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + SetQuotaLimitsResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SetQuotaLimitsResponse& from); + SetQuotaLimitsResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -616,9 +663,9 @@ class SetQuotaLimitsResponse final : public ::google::protobuf::internal::ZeroFi private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 0, 0, 0, - 0, 2> + static const ::google::protobuf::internal::TcParseTable<0, 0, + 0, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -628,17 +675,20 @@ class SetQuotaLimitsResponse final : public ::google::protobuf::internal::ZeroFi 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const SetQuotaLimitsResponse& from_msg); PROTOBUF_TSAN_DECLARE_MEMBER }; friend struct ::TableStruct_management_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull SetQuotaLimitsResponse_class_data_; // ------------------------------------------------------------------- class SetDefaultQuotaLimitsResponse final : public ::google::protobuf::internal::ZeroFieldsBase @@ -647,19 +697,18 @@ class SetDefaultQuotaLimitsResponse final : public ::google::protobuf::internal: inline SetDefaultQuotaLimitsResponse() : SetDefaultQuotaLimitsResponse(nullptr) {} #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SetDefaultQuotaLimitsResponse* msg, std::destroying_delete_t) { + void operator delete(SetDefaultQuotaLimitsResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(SetDefaultQuotaLimitsResponse)); } #endif template - explicit PROTOBUF_CONSTEXPR SetDefaultQuotaLimitsResponse( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : SetDefaultQuotaLimitsResponse(nullptr, ::std::move(from)) {} inline SetDefaultQuotaLimitsResponse& operator=(const SetDefaultQuotaLimitsResponse& from) { CopyFrom(from); return *this; @@ -678,30 +727,27 @@ class SetDefaultQuotaLimitsResponse final : public ::google::protobuf::internal: ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(SetDefaultQuotaLimitsResponse* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -709,7 +755,7 @@ class SetDefaultQuotaLimitsResponse final : public ::google::protobuf::internal: ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(SetDefaultQuotaLimitsResponse* other) { + void UnsafeArenaSwap(SetDefaultQuotaLimitsResponse* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -717,7 +763,7 @@ class SetDefaultQuotaLimitsResponse final : public ::google::protobuf::internal: // implements Message ---------------------------------------------- - SetDefaultQuotaLimitsResponse* New(::google::protobuf::Arena* arena = nullptr) const { + SetDefaultQuotaLimitsResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); } using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; @@ -735,24 +781,26 @@ class SetDefaultQuotaLimitsResponse final : public ::google::protobuf::internal: } private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit SetDefaultQuotaLimitsResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + SetDefaultQuotaLimitsResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SetDefaultQuotaLimitsResponse& from); + SetDefaultQuotaLimitsResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -761,9 +809,9 @@ class SetDefaultQuotaLimitsResponse final : public ::google::protobuf::internal: private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 0, 0, 0, - 0, 2> + static const ::google::protobuf::internal::TcParseTable<0, 0, + 0, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -773,17 +821,20 @@ class SetDefaultQuotaLimitsResponse final : public ::google::protobuf::internal: 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const SetDefaultQuotaLimitsResponse& from_msg); PROTOBUF_TSAN_DECLARE_MEMBER }; friend struct ::TableStruct_management_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull SetDefaultQuotaLimitsResponse_class_data_; // ------------------------------------------------------------------- class SetAliasResponse final : public ::google::protobuf::internal::ZeroFieldsBase @@ -792,19 +843,18 @@ class SetAliasResponse final : public ::google::protobuf::internal::ZeroFieldsBa inline SetAliasResponse() : SetAliasResponse(nullptr) {} #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SetAliasResponse* msg, std::destroying_delete_t) { + void operator delete(SetAliasResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(SetAliasResponse)); } #endif template - explicit PROTOBUF_CONSTEXPR SetAliasResponse( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : SetAliasResponse(nullptr, ::std::move(from)) {} inline SetAliasResponse& operator=(const SetAliasResponse& from) { CopyFrom(from); return *this; @@ -823,30 +873,27 @@ class SetAliasResponse final : public ::google::protobuf::internal::ZeroFieldsBa ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(SetAliasResponse* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -854,7 +901,7 @@ class SetAliasResponse final : public ::google::protobuf::internal::ZeroFieldsBa ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(SetAliasResponse* other) { + void UnsafeArenaSwap(SetAliasResponse* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -862,7 +909,7 @@ class SetAliasResponse final : public ::google::protobuf::internal::ZeroFieldsBa // implements Message ---------------------------------------------- - SetAliasResponse* New(::google::protobuf::Arena* arena = nullptr) const { + SetAliasResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); } using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; @@ -880,24 +927,26 @@ class SetAliasResponse final : public ::google::protobuf::internal::ZeroFieldsBa } private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit SetAliasResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + SetAliasResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SetAliasResponse& from); + SetAliasResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -906,9 +955,9 @@ class SetAliasResponse final : public ::google::protobuf::internal::ZeroFieldsBa private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 0, 0, 0, - 0, 2> + static const ::google::protobuf::internal::TcParseTable<0, 0, + 0, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -918,17 +967,20 @@ class SetAliasResponse final : public ::google::protobuf::internal::ZeroFieldsBa 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const SetAliasResponse& from_msg); PROTOBUF_TSAN_DECLARE_MEMBER }; friend struct ::TableStruct_management_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull SetAliasResponse_class_data_; // ------------------------------------------------------------------- class MirrorRootInodeResponse final : public ::google::protobuf::internal::ZeroFieldsBase @@ -937,19 +989,18 @@ class MirrorRootInodeResponse final : public ::google::protobuf::internal::ZeroF inline MirrorRootInodeResponse() : MirrorRootInodeResponse(nullptr) {} #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(MirrorRootInodeResponse* msg, std::destroying_delete_t) { + void operator delete(MirrorRootInodeResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(MirrorRootInodeResponse)); } #endif template - explicit PROTOBUF_CONSTEXPR MirrorRootInodeResponse( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : MirrorRootInodeResponse(nullptr, ::std::move(from)) {} inline MirrorRootInodeResponse& operator=(const MirrorRootInodeResponse& from) { CopyFrom(from); return *this; @@ -968,30 +1019,27 @@ class MirrorRootInodeResponse final : public ::google::protobuf::internal::ZeroF ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(MirrorRootInodeResponse* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -999,7 +1047,7 @@ class MirrorRootInodeResponse final : public ::google::protobuf::internal::ZeroF ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(MirrorRootInodeResponse* other) { + void UnsafeArenaSwap(MirrorRootInodeResponse* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -1007,7 +1055,7 @@ class MirrorRootInodeResponse final : public ::google::protobuf::internal::ZeroF // implements Message ---------------------------------------------- - MirrorRootInodeResponse* New(::google::protobuf::Arena* arena = nullptr) const { + MirrorRootInodeResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); } using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; @@ -1025,24 +1073,26 @@ class MirrorRootInodeResponse final : public ::google::protobuf::internal::ZeroF } private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit MirrorRootInodeResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + MirrorRootInodeResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const MirrorRootInodeResponse& from); + MirrorRootInodeResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -1051,9 +1101,9 @@ class MirrorRootInodeResponse final : public ::google::protobuf::internal::ZeroF private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 0, 0, 0, - 0, 2> + static const ::google::protobuf::internal::TcParseTable<0, 0, + 0, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -1063,17 +1113,20 @@ class MirrorRootInodeResponse final : public ::google::protobuf::internal::ZeroF 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const MirrorRootInodeResponse& from_msg); PROTOBUF_TSAN_DECLARE_MEMBER }; friend struct ::TableStruct_management_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull MirrorRootInodeResponse_class_data_; // ------------------------------------------------------------------- class MirrorRootInodeRequest final : public ::google::protobuf::internal::ZeroFieldsBase @@ -1082,19 +1135,18 @@ class MirrorRootInodeRequest final : public ::google::protobuf::internal::ZeroFi inline MirrorRootInodeRequest() : MirrorRootInodeRequest(nullptr) {} #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(MirrorRootInodeRequest* msg, std::destroying_delete_t) { + void operator delete(MirrorRootInodeRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(MirrorRootInodeRequest)); } #endif template - explicit PROTOBUF_CONSTEXPR MirrorRootInodeRequest( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : MirrorRootInodeRequest(nullptr, ::std::move(from)) {} inline MirrorRootInodeRequest& operator=(const MirrorRootInodeRequest& from) { CopyFrom(from); return *this; @@ -1113,30 +1165,27 @@ class MirrorRootInodeRequest final : public ::google::protobuf::internal::ZeroFi ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(MirrorRootInodeRequest* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -1144,7 +1193,7 @@ class MirrorRootInodeRequest final : public ::google::protobuf::internal::ZeroFi ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(MirrorRootInodeRequest* other) { + void UnsafeArenaSwap(MirrorRootInodeRequest* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -1152,7 +1201,7 @@ class MirrorRootInodeRequest final : public ::google::protobuf::internal::ZeroFi // implements Message ---------------------------------------------- - MirrorRootInodeRequest* New(::google::protobuf::Arena* arena = nullptr) const { + MirrorRootInodeRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); } using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; @@ -1170,24 +1219,26 @@ class MirrorRootInodeRequest final : public ::google::protobuf::internal::ZeroFi } private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit MirrorRootInodeRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + MirrorRootInodeRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const MirrorRootInodeRequest& from); + MirrorRootInodeRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -1196,9 +1247,9 @@ class MirrorRootInodeRequest final : public ::google::protobuf::internal::ZeroFi private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 0, 0, 0, - 0, 2> + static const ::google::protobuf::internal::TcParseTable<0, 0, + 0, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -1208,17 +1259,20 @@ class MirrorRootInodeRequest final : public ::google::protobuf::internal::ZeroFi 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const MirrorRootInodeRequest& from_msg); PROTOBUF_TSAN_DECLARE_MEMBER }; friend struct ::TableStruct_management_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull MirrorRootInodeRequest_class_data_; // ------------------------------------------------------------------- class GetTargetsRequest final : public ::google::protobuf::internal::ZeroFieldsBase @@ -1227,19 +1281,18 @@ class GetTargetsRequest final : public ::google::protobuf::internal::ZeroFieldsB inline GetTargetsRequest() : GetTargetsRequest(nullptr) {} #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetTargetsRequest* msg, std::destroying_delete_t) { + void operator delete(GetTargetsRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(GetTargetsRequest)); } #endif template - explicit PROTOBUF_CONSTEXPR GetTargetsRequest( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : GetTargetsRequest(nullptr, ::std::move(from)) {} inline GetTargetsRequest& operator=(const GetTargetsRequest& from) { CopyFrom(from); return *this; @@ -1258,30 +1311,27 @@ class GetTargetsRequest final : public ::google::protobuf::internal::ZeroFieldsB ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(GetTargetsRequest* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -1289,7 +1339,7 @@ class GetTargetsRequest final : public ::google::protobuf::internal::ZeroFieldsB ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(GetTargetsRequest* other) { + void UnsafeArenaSwap(GetTargetsRequest* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -1297,7 +1347,7 @@ class GetTargetsRequest final : public ::google::protobuf::internal::ZeroFieldsB // implements Message ---------------------------------------------- - GetTargetsRequest* New(::google::protobuf::Arena* arena = nullptr) const { + GetTargetsRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); } using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; @@ -1315,24 +1365,26 @@ class GetTargetsRequest final : public ::google::protobuf::internal::ZeroFieldsB } private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit GetTargetsRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + GetTargetsRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetTargetsRequest& from); + GetTargetsRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -1341,9 +1393,9 @@ class GetTargetsRequest final : public ::google::protobuf::internal::ZeroFieldsB private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 0, 0, 0, - 0, 2> + static const ::google::protobuf::internal::TcParseTable<0, 0, + 0, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -1353,17 +1405,20 @@ class GetTargetsRequest final : public ::google::protobuf::internal::ZeroFieldsB 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const GetTargetsRequest& from_msg); PROTOBUF_TSAN_DECLARE_MEMBER }; friend struct ::TableStruct_management_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull GetTargetsRequest_class_data_; // ------------------------------------------------------------------- class GetPoolsRequest final : public ::google::protobuf::Message @@ -1373,19 +1428,18 @@ class GetPoolsRequest final : public ::google::protobuf::Message ~GetPoolsRequest() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetPoolsRequest* msg, std::destroying_delete_t) { + void operator delete(GetPoolsRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(GetPoolsRequest)); } #endif template - explicit PROTOBUF_CONSTEXPR GetPoolsRequest( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : GetPoolsRequest(nullptr, ::std::move(from)) {} inline GetPoolsRequest& operator=(const GetPoolsRequest& from) { CopyFrom(from); return *this; @@ -1404,30 +1458,27 @@ class GetPoolsRequest final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(GetPoolsRequest* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -1435,7 +1486,7 @@ class GetPoolsRequest final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(GetPoolsRequest* other) { + void UnsafeArenaSwap(GetPoolsRequest* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -1443,7 +1494,7 @@ class GetPoolsRequest final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - GetPoolsRequest* New(::google::protobuf::Arena* arena = nullptr) const { + GetPoolsRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -1452,9 +1503,8 @@ class GetPoolsRequest final : public ::google::protobuf::Message void MergeFrom(const GetPoolsRequest& from) { GetPoolsRequest::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -1464,49 +1514,51 @@ class GetPoolsRequest final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(GetPoolsRequest* other); + void InternalSwap(GetPoolsRequest* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit GetPoolsRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + GetPoolsRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetPoolsRequest& from); + GetPoolsRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -1528,9 +1580,9 @@ class GetPoolsRequest final : public ::google::protobuf::Message private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 0, 1, 0, - 0, 2> + static const ::google::protobuf::internal::TcParseTable<0, 1, + 0, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -1540,20 +1592,24 @@ class GetPoolsRequest final : public ::google::protobuf::Message 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_; + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const GetPoolsRequest& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; + bool with_quota_limits_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_management_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull GetPoolsRequest_class_data_; // ------------------------------------------------------------------- class GetNodesResponse_Node_Nic final : public ::google::protobuf::Message @@ -1563,19 +1619,18 @@ class GetNodesResponse_Node_Nic final : public ::google::protobuf::Message ~GetNodesResponse_Node_Nic() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetNodesResponse_Node_Nic* msg, std::destroying_delete_t) { + void operator delete(GetNodesResponse_Node_Nic* PROTOBUF_NONNULL 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); + 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)) {} + : GetNodesResponse_Node_Nic(nullptr, ::std::move(from)) {} inline GetNodesResponse_Node_Nic& operator=(const GetNodesResponse_Node_Nic& from) { CopyFrom(from); return *this; @@ -1594,30 +1649,27 @@ class GetNodesResponse_Node_Nic final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(GetNodesResponse_Node_Nic* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -1625,7 +1677,7 @@ class GetNodesResponse_Node_Nic final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(GetNodesResponse_Node_Nic* other) { + void UnsafeArenaSwap(GetNodesResponse_Node_Nic* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -1633,7 +1685,7 @@ class GetNodesResponse_Node_Nic final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - GetNodesResponse_Node_Nic* New(::google::protobuf::Arena* arena = nullptr) const { + GetNodesResponse_Node_Nic* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -1642,9 +1694,8 @@ class GetNodesResponse_Node_Nic final : public ::google::protobuf::Message 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); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -1654,49 +1705,51 @@ class GetNodesResponse_Node_Nic final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(GetNodesResponse_Node_Nic* other); + void InternalSwap(GetNodesResponse_Node_Nic* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit GetNodesResponse_Node_Nic(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + GetNodesResponse_Node_Nic(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetNodesResponse_Node_Nic& from); + GetNodesResponse_Node_Nic( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -1708,34 +1761,32 @@ class GetNodesResponse_Node_Nic final : public ::google::protobuf::Message }; // string addr = 1; void clear_addr() ; - const std::string& addr() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_addr(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_addr(); + void set_allocated_addr(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_addr() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_addr(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_addr(); public: // string name = 2; void clear_name() ; - const std::string& name() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_name(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_name(); + void set_allocated_name(::std::string* PROTOBUF_NULLABLE value); private: - const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( - const std::string& value); - std::string* _internal_mutable_name(); + const ::std::string& _internal_name() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_name(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_name(); public: // .beegfs.NicType nic_type = 3; @@ -1752,9 +1803,9 @@ class GetNodesResponse_Node_Nic final : public ::google::protobuf::Message private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 2, 3, 0, - 53, 2> + static const ::google::protobuf::internal::TcParseTable<2, 3, + 0, 53, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -1764,22 +1815,26 @@ class GetNodesResponse_Node_Nic final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const GetNodesResponse_Node_Nic& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; ::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; }; + +extern const ::google::protobuf::internal::ClassDataFull GetNodesResponse_Node_Nic_class_data_; // ------------------------------------------------------------------- class GetNodesRequest final : public ::google::protobuf::Message @@ -1789,19 +1844,18 @@ class GetNodesRequest final : public ::google::protobuf::Message ~GetNodesRequest() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetNodesRequest* msg, std::destroying_delete_t) { + void operator delete(GetNodesRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(GetNodesRequest)); } #endif template - explicit PROTOBUF_CONSTEXPR GetNodesRequest( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : GetNodesRequest(nullptr, ::std::move(from)) {} inline GetNodesRequest& operator=(const GetNodesRequest& from) { CopyFrom(from); return *this; @@ -1820,30 +1874,27 @@ class GetNodesRequest final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(GetNodesRequest* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -1851,7 +1902,7 @@ class GetNodesRequest final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(GetNodesRequest* other) { + void UnsafeArenaSwap(GetNodesRequest* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -1859,7 +1910,7 @@ class GetNodesRequest final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - GetNodesRequest* New(::google::protobuf::Arena* arena = nullptr) const { + GetNodesRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -1868,9 +1919,8 @@ class GetNodesRequest final : public ::google::protobuf::Message void MergeFrom(const GetNodesRequest& from) { GetNodesRequest::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -1880,49 +1930,51 @@ class GetNodesRequest final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(GetNodesRequest* other); + void InternalSwap(GetNodesRequest* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit GetNodesRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + GetNodesRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetNodesRequest& from); + GetNodesRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -1944,9 +1996,9 @@ class GetNodesRequest final : public ::google::protobuf::Message private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 0, 1, 0, - 0, 2> + static const ::google::protobuf::internal::TcParseTable<0, 1, + 0, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -1956,20 +2008,24 @@ class GetNodesRequest final : public ::google::protobuf::Message 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_; + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const GetNodesRequest& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; + bool include_nics_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_management_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull GetNodesRequest_class_data_; // ------------------------------------------------------------------- class GetLicenseRequest final : public ::google::protobuf::Message @@ -1979,19 +2035,18 @@ class GetLicenseRequest final : public ::google::protobuf::Message ~GetLicenseRequest() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetLicenseRequest* msg, std::destroying_delete_t) { + void operator delete(GetLicenseRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(GetLicenseRequest)); } #endif template - explicit PROTOBUF_CONSTEXPR GetLicenseRequest( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : GetLicenseRequest(nullptr, ::std::move(from)) {} inline GetLicenseRequest& operator=(const GetLicenseRequest& from) { CopyFrom(from); return *this; @@ -2010,30 +2065,27 @@ class GetLicenseRequest final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(GetLicenseRequest* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -2041,7 +2093,7 @@ class GetLicenseRequest final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(GetLicenseRequest* other) { + void UnsafeArenaSwap(GetLicenseRequest* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -2049,7 +2101,7 @@ class GetLicenseRequest final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - GetLicenseRequest* New(::google::protobuf::Arena* arena = nullptr) const { + GetLicenseRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -2058,9 +2110,8 @@ class GetLicenseRequest final : public ::google::protobuf::Message void MergeFrom(const GetLicenseRequest& from) { GetLicenseRequest::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -2070,49 +2121,51 @@ class GetLicenseRequest final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(GetLicenseRequest* other); + void InternalSwap(GetLicenseRequest* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit GetLicenseRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + GetLicenseRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetLicenseRequest& from); + GetLicenseRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -2135,9 +2188,9 @@ class GetLicenseRequest final : public ::google::protobuf::Message private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 0, 1, 0, - 0, 2> + static const ::google::protobuf::internal::TcParseTable<0, 1, + 0, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -2147,13 +2200,14 @@ class GetLicenseRequest final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const GetLicenseRequest& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; bool reload_; @@ -2162,6 +2216,8 @@ class GetLicenseRequest final : public ::google::protobuf::Message union { Impl_ _impl_; }; friend struct ::TableStruct_management_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull GetLicenseRequest_class_data_; // ------------------------------------------------------------------- class GetBuddyGroupsRequest final : public ::google::protobuf::internal::ZeroFieldsBase @@ -2170,19 +2226,18 @@ class GetBuddyGroupsRequest final : public ::google::protobuf::internal::ZeroFie inline GetBuddyGroupsRequest() : GetBuddyGroupsRequest(nullptr) {} #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetBuddyGroupsRequest* msg, std::destroying_delete_t) { + void operator delete(GetBuddyGroupsRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(GetBuddyGroupsRequest)); } #endif template - explicit PROTOBUF_CONSTEXPR GetBuddyGroupsRequest( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : GetBuddyGroupsRequest(nullptr, ::std::move(from)) {} inline GetBuddyGroupsRequest& operator=(const GetBuddyGroupsRequest& from) { CopyFrom(from); return *this; @@ -2201,30 +2256,27 @@ class GetBuddyGroupsRequest final : public ::google::protobuf::internal::ZeroFie ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(GetBuddyGroupsRequest* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -2232,7 +2284,7 @@ class GetBuddyGroupsRequest final : public ::google::protobuf::internal::ZeroFie ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(GetBuddyGroupsRequest* other) { + void UnsafeArenaSwap(GetBuddyGroupsRequest* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -2240,7 +2292,7 @@ class GetBuddyGroupsRequest final : public ::google::protobuf::internal::ZeroFie // implements Message ---------------------------------------------- - GetBuddyGroupsRequest* New(::google::protobuf::Arena* arena = nullptr) const { + GetBuddyGroupsRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); } using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; @@ -2258,24 +2310,26 @@ class GetBuddyGroupsRequest final : public ::google::protobuf::internal::ZeroFie } private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit GetBuddyGroupsRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + GetBuddyGroupsRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetBuddyGroupsRequest& from); + GetBuddyGroupsRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -2284,9 +2338,9 @@ class GetBuddyGroupsRequest final : public ::google::protobuf::internal::ZeroFie private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 0, 0, 0, - 0, 2> + static const ::google::protobuf::internal::TcParseTable<0, 0, + 0, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -2296,17 +2350,20 @@ class GetBuddyGroupsRequest final : public ::google::protobuf::internal::ZeroFie 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const GetBuddyGroupsRequest& from_msg); PROTOBUF_TSAN_DECLARE_MEMBER }; friend struct ::TableStruct_management_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull GetBuddyGroupsRequest_class_data_; // ------------------------------------------------------------------- class StartResyncRequest final : public ::google::protobuf::Message @@ -2316,19 +2373,18 @@ class StartResyncRequest final : public ::google::protobuf::Message ~StartResyncRequest() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(StartResyncRequest* msg, std::destroying_delete_t) { + void operator delete(StartResyncRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(StartResyncRequest)); } #endif template - explicit PROTOBUF_CONSTEXPR StartResyncRequest( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : StartResyncRequest(nullptr, ::std::move(from)) {} inline StartResyncRequest& operator=(const StartResyncRequest& from) { CopyFrom(from); return *this; @@ -2347,30 +2403,27 @@ class StartResyncRequest final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(StartResyncRequest* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -2378,7 +2431,7 @@ class StartResyncRequest final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(StartResyncRequest* other) { + void UnsafeArenaSwap(StartResyncRequest* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -2386,7 +2439,7 @@ class StartResyncRequest final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - StartResyncRequest* New(::google::protobuf::Arena* arena = nullptr) const { + StartResyncRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -2395,9 +2448,8 @@ class StartResyncRequest final : public ::google::protobuf::Message void MergeFrom(const StartResyncRequest& from) { StartResyncRequest::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -2407,49 +2459,51 @@ class StartResyncRequest final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(StartResyncRequest* other); + void InternalSwap(StartResyncRequest* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit StartResyncRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + StartResyncRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const StartResyncRequest& from); + StartResyncRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -2463,15 +2517,15 @@ class StartResyncRequest final : public ::google::protobuf::Message 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(); + [[nodiscard]] ::beegfs::EntityIdSet* PROTOBUF_NULLABLE release_buddy_group(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL mutable_buddy_group(); + void set_allocated_buddy_group(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_buddy_group(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE unsafe_arena_release_buddy_group(); private: const ::beegfs::EntityIdSet& _internal_buddy_group() const; - ::beegfs::EntityIdSet* _internal_mutable_buddy_group(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL _internal_mutable_buddy_group(); public: // optional int64 timestamp = 2; @@ -2500,9 +2554,9 @@ class StartResyncRequest final : public ::google::protobuf::Message private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 2, 3, 1, - 0, 2> + static const ::google::protobuf::internal::TcParseTable<2, 3, + 1, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -2512,16 +2566,17 @@ class StartResyncRequest final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const StartResyncRequest& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; - ::beegfs::EntityIdSet* buddy_group_; + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE buddy_group_; ::int64_t timestamp_; bool restart_; PROTOBUF_TSAN_DECLARE_MEMBER @@ -2529,6 +2584,8 @@ class StartResyncRequest final : public ::google::protobuf::Message union { Impl_ _impl_; }; friend struct ::TableStruct_management_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull StartResyncRequest_class_data_; // ------------------------------------------------------------------- class SetTargetStateRequest final : public ::google::protobuf::Message @@ -2538,19 +2595,18 @@ class SetTargetStateRequest final : public ::google::protobuf::Message ~SetTargetStateRequest() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SetTargetStateRequest* msg, std::destroying_delete_t) { + void operator delete(SetTargetStateRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(SetTargetStateRequest)); } #endif template - explicit PROTOBUF_CONSTEXPR SetTargetStateRequest( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : SetTargetStateRequest(nullptr, ::std::move(from)) {} inline SetTargetStateRequest& operator=(const SetTargetStateRequest& from) { CopyFrom(from); return *this; @@ -2569,30 +2625,27 @@ class SetTargetStateRequest final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(SetTargetStateRequest* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -2600,7 +2653,7 @@ class SetTargetStateRequest final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(SetTargetStateRequest* other) { + void UnsafeArenaSwap(SetTargetStateRequest* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -2608,7 +2661,7 @@ class SetTargetStateRequest final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - SetTargetStateRequest* New(::google::protobuf::Arena* arena = nullptr) const { + SetTargetStateRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -2617,9 +2670,8 @@ class SetTargetStateRequest final : public ::google::protobuf::Message void MergeFrom(const SetTargetStateRequest& from) { SetTargetStateRequest::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -2629,49 +2681,51 @@ class SetTargetStateRequest final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(SetTargetStateRequest* other); + void InternalSwap(SetTargetStateRequest* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit SetTargetStateRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + SetTargetStateRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SetTargetStateRequest& from); + SetTargetStateRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -2684,15 +2738,15 @@ class SetTargetStateRequest final : public ::google::protobuf::Message 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(); + [[nodiscard]] ::beegfs::EntityIdSet* PROTOBUF_NULLABLE release_target(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL mutable_target(); + void set_allocated_target(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_target(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE unsafe_arena_release_target(); private: const ::beegfs::EntityIdSet& _internal_target() const; - ::beegfs::EntityIdSet* _internal_mutable_target(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL _internal_mutable_target(); public: // optional .beegfs.ConsistencyState consistency_state = 2; @@ -2710,9 +2764,9 @@ class SetTargetStateRequest final : public ::google::protobuf::Message private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 1, 2, 1, - 0, 2> + static const ::google::protobuf::internal::TcParseTable<1, 2, + 1, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -2722,22 +2776,25 @@ class SetTargetStateRequest final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const SetTargetStateRequest& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; - ::beegfs::EntityIdSet* target_; + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE target_; int consistency_state_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_management_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull SetTargetStateRequest_class_data_; // ------------------------------------------------------------------- class SetDefaultQuotaLimitsRequest final : public ::google::protobuf::Message @@ -2747,19 +2804,18 @@ class SetDefaultQuotaLimitsRequest final : public ::google::protobuf::Message ~SetDefaultQuotaLimitsRequest() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SetDefaultQuotaLimitsRequest* msg, std::destroying_delete_t) { + void operator delete(SetDefaultQuotaLimitsRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(SetDefaultQuotaLimitsRequest)); } #endif template - explicit PROTOBUF_CONSTEXPR SetDefaultQuotaLimitsRequest( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : SetDefaultQuotaLimitsRequest(nullptr, ::std::move(from)) {} inline SetDefaultQuotaLimitsRequest& operator=(const SetDefaultQuotaLimitsRequest& from) { CopyFrom(from); return *this; @@ -2778,30 +2834,27 @@ class SetDefaultQuotaLimitsRequest final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(SetDefaultQuotaLimitsRequest* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -2809,7 +2862,7 @@ class SetDefaultQuotaLimitsRequest final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(SetDefaultQuotaLimitsRequest* other) { + void UnsafeArenaSwap(SetDefaultQuotaLimitsRequest* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -2817,7 +2870,7 @@ class SetDefaultQuotaLimitsRequest final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - SetDefaultQuotaLimitsRequest* New(::google::protobuf::Arena* arena = nullptr) const { + SetDefaultQuotaLimitsRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -2826,9 +2879,8 @@ class SetDefaultQuotaLimitsRequest final : public ::google::protobuf::Message void MergeFrom(const SetDefaultQuotaLimitsRequest& from) { SetDefaultQuotaLimitsRequest::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -2838,49 +2890,51 @@ class SetDefaultQuotaLimitsRequest final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(SetDefaultQuotaLimitsRequest* other); + void InternalSwap(SetDefaultQuotaLimitsRequest* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit SetDefaultQuotaLimitsRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + SetDefaultQuotaLimitsRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SetDefaultQuotaLimitsRequest& from); + SetDefaultQuotaLimitsRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -2896,15 +2950,15 @@ class SetDefaultQuotaLimitsRequest final : public ::google::protobuf::Message 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(); + [[nodiscard]] ::beegfs::EntityIdSet* PROTOBUF_NULLABLE release_pool(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL mutable_pool(); + void set_allocated_pool(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_pool(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE unsafe_arena_release_pool(); private: const ::beegfs::EntityIdSet& _internal_pool() const; - ::beegfs::EntityIdSet* _internal_mutable_pool(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL _internal_mutable_pool(); public: // optional int64 user_space_limit = 2; @@ -2955,9 +3009,9 @@ class SetDefaultQuotaLimitsRequest final : public ::google::protobuf::Message private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 3, 5, 1, - 0, 2> + static const ::google::protobuf::internal::TcParseTable<3, 5, + 1, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -2967,16 +3021,17 @@ class SetDefaultQuotaLimitsRequest final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const SetDefaultQuotaLimitsRequest& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; - ::beegfs::EntityIdSet* pool_; + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE pool_; ::int64_t user_space_limit_; ::int64_t user_inode_limit_; ::int64_t group_space_limit_; @@ -2986,6 +3041,8 @@ class SetDefaultQuotaLimitsRequest final : public ::google::protobuf::Message union { Impl_ _impl_; }; friend struct ::TableStruct_management_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull SetDefaultQuotaLimitsRequest_class_data_; // ------------------------------------------------------------------- class SetAliasRequest final : public ::google::protobuf::Message @@ -2995,19 +3052,18 @@ class SetAliasRequest final : public ::google::protobuf::Message ~SetAliasRequest() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SetAliasRequest* msg, std::destroying_delete_t) { + void operator delete(SetAliasRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(SetAliasRequest)); } #endif template - explicit PROTOBUF_CONSTEXPR SetAliasRequest( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : SetAliasRequest(nullptr, ::std::move(from)) {} inline SetAliasRequest& operator=(const SetAliasRequest& from) { CopyFrom(from); return *this; @@ -3026,30 +3082,27 @@ class SetAliasRequest final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(SetAliasRequest* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -3057,7 +3110,7 @@ class SetAliasRequest final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(SetAliasRequest* other) { + void UnsafeArenaSwap(SetAliasRequest* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -3065,7 +3118,7 @@ class SetAliasRequest final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - SetAliasRequest* New(::google::protobuf::Arena* arena = nullptr) const { + SetAliasRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -3074,9 +3127,8 @@ class SetAliasRequest final : public ::google::protobuf::Message void MergeFrom(const SetAliasRequest& from) { SetAliasRequest::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -3086,49 +3138,51 @@ class SetAliasRequest final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(SetAliasRequest* other); + void InternalSwap(SetAliasRequest* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit SetAliasRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + SetAliasRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SetAliasRequest& from); + SetAliasRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -3140,33 +3194,32 @@ class SetAliasRequest final : public ::google::protobuf::Message }; // string new_alias = 3; void clear_new_alias() ; - const std::string& new_alias() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_new_alias(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_new_alias(); + void set_allocated_new_alias(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_new_alias() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_new_alias(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _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(); + [[nodiscard]] ::beegfs::EntityIdSet* PROTOBUF_NULLABLE release_entity_id(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL mutable_entity_id(); + void set_allocated_entity_id(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_entity_id(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE unsafe_arena_release_entity_id(); private: const ::beegfs::EntityIdSet& _internal_entity_id() const; - ::beegfs::EntityIdSet* _internal_mutable_entity_id(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL _internal_mutable_entity_id(); public: // .beegfs.EntityType entity_type = 2; @@ -3183,9 +3236,9 @@ class SetAliasRequest final : public ::google::protobuf::Message private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 2, 3, 1, - 44, 2> + static const ::google::protobuf::internal::TcParseTable<2, 3, + 1, 44, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -3195,23 +3248,26 @@ class SetAliasRequest final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const 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_; + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE entity_id_; int entity_type_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_management_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull SetAliasRequest_class_data_; // ------------------------------------------------------------------- class QuotaInfo final : public ::google::protobuf::Message @@ -3221,19 +3277,18 @@ class QuotaInfo final : public ::google::protobuf::Message ~QuotaInfo() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(QuotaInfo* msg, std::destroying_delete_t) { + void operator delete(QuotaInfo* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(QuotaInfo)); } #endif template - explicit PROTOBUF_CONSTEXPR QuotaInfo( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : QuotaInfo(nullptr, ::std::move(from)) {} inline QuotaInfo& operator=(const QuotaInfo& from) { CopyFrom(from); return *this; @@ -3252,30 +3307,27 @@ class QuotaInfo final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(QuotaInfo* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -3283,7 +3335,7 @@ class QuotaInfo final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(QuotaInfo* other) { + void UnsafeArenaSwap(QuotaInfo* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -3291,7 +3343,7 @@ class QuotaInfo final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - QuotaInfo* New(::google::protobuf::Arena* arena = nullptr) const { + QuotaInfo* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -3300,9 +3352,8 @@ class QuotaInfo final : public ::google::protobuf::Message void MergeFrom(const QuotaInfo& from) { QuotaInfo::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -3312,49 +3363,51 @@ class QuotaInfo final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(QuotaInfo* other); + void InternalSwap(QuotaInfo* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit QuotaInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + QuotaInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const QuotaInfo& from); + QuotaInfo( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -3372,15 +3425,15 @@ class QuotaInfo final : public ::google::protobuf::Message 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(); + [[nodiscard]] ::beegfs::EntityIdSet* PROTOBUF_NULLABLE release_pool(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL mutable_pool(); + void set_allocated_pool(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_pool(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE unsafe_arena_release_pool(); private: const ::beegfs::EntityIdSet& _internal_pool() const; - ::beegfs::EntityIdSet* _internal_mutable_pool(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL _internal_mutable_pool(); public: // optional uint32 quota_id = 1; @@ -3452,9 +3505,9 @@ class QuotaInfo final : public ::google::protobuf::Message private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 3, 7, 1, - 0, 2> + static const ::google::protobuf::internal::TcParseTable<3, 7, + 1, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -3464,16 +3517,17 @@ class QuotaInfo final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const QuotaInfo& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; - ::beegfs::EntityIdSet* pool_; + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE pool_; ::uint32_t quota_id_; int id_type_; ::int64_t space_limit_; @@ -3485,6 +3539,8 @@ class QuotaInfo final : public ::google::protobuf::Message union { Impl_ _impl_; }; friend struct ::TableStruct_management_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull QuotaInfo_class_data_; // ------------------------------------------------------------------- class GetTargetsResponse_Target final : public ::google::protobuf::Message @@ -3494,19 +3550,18 @@ class GetTargetsResponse_Target final : public ::google::protobuf::Message ~GetTargetsResponse_Target() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetTargetsResponse_Target* msg, std::destroying_delete_t) { + void operator delete(GetTargetsResponse_Target* PROTOBUF_NONNULL 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); + 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)) {} + : GetTargetsResponse_Target(nullptr, ::std::move(from)) {} inline GetTargetsResponse_Target& operator=(const GetTargetsResponse_Target& from) { CopyFrom(from); return *this; @@ -3525,30 +3580,27 @@ class GetTargetsResponse_Target final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(GetTargetsResponse_Target* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -3556,7 +3608,7 @@ class GetTargetsResponse_Target final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(GetTargetsResponse_Target* other) { + void UnsafeArenaSwap(GetTargetsResponse_Target* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -3564,7 +3616,7 @@ class GetTargetsResponse_Target final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - GetTargetsResponse_Target* New(::google::protobuf::Arena* arena = nullptr) const { + GetTargetsResponse_Target* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -3573,9 +3625,8 @@ class GetTargetsResponse_Target final : public ::google::protobuf::Message 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); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -3585,49 +3636,51 @@ class GetTargetsResponse_Target final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(GetTargetsResponse_Target* other); + void InternalSwap(GetTargetsResponse_Target* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit GetTargetsResponse_Target(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + GetTargetsResponse_Target(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetTargetsResponse_Target& from); + GetTargetsResponse_Target( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -3650,45 +3703,45 @@ class GetTargetsResponse_Target final : public ::google::protobuf::Message 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(); + [[nodiscard]] ::beegfs::EntityIdSet* PROTOBUF_NULLABLE release_id(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL mutable_id(); + void set_allocated_id(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_id(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE unsafe_arena_release_id(); private: const ::beegfs::EntityIdSet& _internal_id() const; - ::beegfs::EntityIdSet* _internal_mutable_id(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL _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(); + [[nodiscard]] ::beegfs::EntityIdSet* PROTOBUF_NULLABLE release_node(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL mutable_node(); + void set_allocated_node(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_node(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE unsafe_arena_release_node(); private: const ::beegfs::EntityIdSet& _internal_node() const; - ::beegfs::EntityIdSet* _internal_mutable_node(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL _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(); + [[nodiscard]] ::beegfs::EntityIdSet* PROTOBUF_NULLABLE release_storage_pool(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL mutable_storage_pool(); + void set_allocated_storage_pool(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_storage_pool(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE unsafe_arena_release_storage_pool(); private: const ::beegfs::EntityIdSet& _internal_storage_pool() const; - ::beegfs::EntityIdSet* _internal_mutable_storage_pool(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL _internal_mutable_storage_pool(); public: // .beegfs.NodeType node_type = 2; @@ -3790,9 +3843,9 @@ class GetTargetsResponse_Target final : public ::google::protobuf::Message private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 4, 12, 3, - 0, 2> + static const ::google::protobuf::internal::TcParseTable<4, 12, + 3, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -3802,18 +3855,19 @@ class GetTargetsResponse_Target final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const 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_; + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE id_; + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE node_; + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE storage_pool_; int node_type_; int reachability_state_; ::uint64_t last_contact_s_; @@ -3828,6 +3882,8 @@ class GetTargetsResponse_Target final : public ::google::protobuf::Message union { Impl_ _impl_; }; friend struct ::TableStruct_management_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull GetTargetsResponse_Target_class_data_; // ------------------------------------------------------------------- class GetQuotaUsageRequest final : public ::google::protobuf::Message @@ -3837,19 +3893,18 @@ class GetQuotaUsageRequest final : public ::google::protobuf::Message ~GetQuotaUsageRequest() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetQuotaUsageRequest* msg, std::destroying_delete_t) { + void operator delete(GetQuotaUsageRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(GetQuotaUsageRequest)); } #endif template - explicit PROTOBUF_CONSTEXPR GetQuotaUsageRequest( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : GetQuotaUsageRequest(nullptr, ::std::move(from)) {} inline GetQuotaUsageRequest& operator=(const GetQuotaUsageRequest& from) { CopyFrom(from); return *this; @@ -3868,30 +3923,27 @@ class GetQuotaUsageRequest final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(GetQuotaUsageRequest* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -3899,7 +3951,7 @@ class GetQuotaUsageRequest final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(GetQuotaUsageRequest* other) { + void UnsafeArenaSwap(GetQuotaUsageRequest* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -3907,7 +3959,7 @@ class GetQuotaUsageRequest final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - GetQuotaUsageRequest* New(::google::protobuf::Arena* arena = nullptr) const { + GetQuotaUsageRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -3916,9 +3968,8 @@ class GetQuotaUsageRequest final : public ::google::protobuf::Message void MergeFrom(const GetQuotaUsageRequest& from) { GetQuotaUsageRequest::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -3928,49 +3979,51 @@ class GetQuotaUsageRequest final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(GetQuotaUsageRequest* other); + void InternalSwap(GetQuotaUsageRequest* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit GetQuotaUsageRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + GetQuotaUsageRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetQuotaUsageRequest& from); + GetQuotaUsageRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -3996,11 +4049,11 @@ class GetQuotaUsageRequest final : public ::google::protobuf::Message 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(); + ::google::protobuf::RepeatedField<::uint32_t>* PROTOBUF_NONNULL 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(); + ::google::protobuf::RepeatedField<::uint32_t>* PROTOBUF_NONNULL _internal_mutable_user_id_list(); public: // repeated uint32 group_id_list = 6; @@ -4014,26 +4067,26 @@ class GetQuotaUsageRequest final : public ::google::protobuf::Message 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(); + ::google::protobuf::RepeatedField<::uint32_t>* PROTOBUF_NONNULL 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(); + ::google::protobuf::RepeatedField<::uint32_t>* PROTOBUF_NONNULL _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(); + [[nodiscard]] ::beegfs::EntityIdSet* PROTOBUF_NULLABLE release_pool(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL mutable_pool(); + void set_allocated_pool(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_pool(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE unsafe_arena_release_pool(); private: const ::beegfs::EntityIdSet& _internal_pool() const; - ::beegfs::EntityIdSet* _internal_mutable_pool(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL _internal_mutable_pool(); public: // optional uint32 user_id_min = 1; @@ -4095,9 +4148,9 @@ class GetQuotaUsageRequest final : public ::google::protobuf::Message private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 3, 8, 1, - 0, 2> + static const ::google::protobuf::internal::TcParseTable<3, 8, + 1, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -4107,20 +4160,21 @@ class GetQuotaUsageRequest final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const 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_; + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE pool_; ::uint32_t user_id_min_; ::uint32_t user_id_max_; ::uint32_t group_id_min_; @@ -4131,6 +4185,8 @@ class GetQuotaUsageRequest final : public ::google::protobuf::Message union { Impl_ _impl_; }; friend struct ::TableStruct_management_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull GetQuotaUsageRequest_class_data_; // ------------------------------------------------------------------- class GetQuotaLimitsRequest final : public ::google::protobuf::Message @@ -4140,19 +4196,18 @@ class GetQuotaLimitsRequest final : public ::google::protobuf::Message ~GetQuotaLimitsRequest() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetQuotaLimitsRequest* msg, std::destroying_delete_t) { + void operator delete(GetQuotaLimitsRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(GetQuotaLimitsRequest)); } #endif template - explicit PROTOBUF_CONSTEXPR GetQuotaLimitsRequest( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : GetQuotaLimitsRequest(nullptr, ::std::move(from)) {} inline GetQuotaLimitsRequest& operator=(const GetQuotaLimitsRequest& from) { CopyFrom(from); return *this; @@ -4171,30 +4226,27 @@ class GetQuotaLimitsRequest final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(GetQuotaLimitsRequest* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -4202,7 +4254,7 @@ class GetQuotaLimitsRequest final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(GetQuotaLimitsRequest* other) { + void UnsafeArenaSwap(GetQuotaLimitsRequest* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -4210,7 +4262,7 @@ class GetQuotaLimitsRequest final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - GetQuotaLimitsRequest* New(::google::protobuf::Arena* arena = nullptr) const { + GetQuotaLimitsRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -4219,9 +4271,8 @@ class GetQuotaLimitsRequest final : public ::google::protobuf::Message void MergeFrom(const GetQuotaLimitsRequest& from) { GetQuotaLimitsRequest::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -4231,49 +4282,51 @@ class GetQuotaLimitsRequest final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(GetQuotaLimitsRequest* other); + void InternalSwap(GetQuotaLimitsRequest* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit GetQuotaLimitsRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + GetQuotaLimitsRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetQuotaLimitsRequest& from); + GetQuotaLimitsRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -4298,11 +4351,11 @@ class GetQuotaLimitsRequest final : public ::google::protobuf::Message 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(); + ::google::protobuf::RepeatedField<::uint32_t>* PROTOBUF_NONNULL 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(); + ::google::protobuf::RepeatedField<::uint32_t>* PROTOBUF_NONNULL _internal_mutable_user_id_list(); public: // repeated uint32 group_id_list = 6; @@ -4316,26 +4369,26 @@ class GetQuotaLimitsRequest final : public ::google::protobuf::Message 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(); + ::google::protobuf::RepeatedField<::uint32_t>* PROTOBUF_NONNULL 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(); + ::google::protobuf::RepeatedField<::uint32_t>* PROTOBUF_NONNULL _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(); + [[nodiscard]] ::beegfs::EntityIdSet* PROTOBUF_NULLABLE release_pool(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL mutable_pool(); + void set_allocated_pool(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_pool(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE unsafe_arena_release_pool(); private: const ::beegfs::EntityIdSet& _internal_pool() const; - ::beegfs::EntityIdSet* _internal_mutable_pool(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL _internal_mutable_pool(); public: // optional uint32 user_id_min = 1; @@ -4386,9 +4439,9 @@ class GetQuotaLimitsRequest final : public ::google::protobuf::Message private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 3, 7, 1, - 0, 2> + static const ::google::protobuf::internal::TcParseTable<3, 7, + 1, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -4398,20 +4451,21 @@ class GetQuotaLimitsRequest final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const 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_; + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE pool_; ::uint32_t user_id_min_; ::uint32_t user_id_max_; ::uint32_t group_id_min_; @@ -4421,6 +4475,8 @@ class GetQuotaLimitsRequest final : public ::google::protobuf::Message union { Impl_ _impl_; }; friend struct ::TableStruct_management_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull GetQuotaLimitsRequest_class_data_; // ------------------------------------------------------------------- class GetPoolsResponse_StoragePool final : public ::google::protobuf::Message @@ -4430,19 +4486,18 @@ class GetPoolsResponse_StoragePool final : public ::google::protobuf::Message ~GetPoolsResponse_StoragePool() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetPoolsResponse_StoragePool* msg, std::destroying_delete_t) { + void operator delete(GetPoolsResponse_StoragePool* PROTOBUF_NONNULL 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); + 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)) {} + : GetPoolsResponse_StoragePool(nullptr, ::std::move(from)) {} inline GetPoolsResponse_StoragePool& operator=(const GetPoolsResponse_StoragePool& from) { CopyFrom(from); return *this; @@ -4461,30 +4516,27 @@ class GetPoolsResponse_StoragePool final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(GetPoolsResponse_StoragePool* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -4492,7 +4544,7 @@ class GetPoolsResponse_StoragePool final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(GetPoolsResponse_StoragePool* other) { + void UnsafeArenaSwap(GetPoolsResponse_StoragePool* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -4500,7 +4552,7 @@ class GetPoolsResponse_StoragePool final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - GetPoolsResponse_StoragePool* New(::google::protobuf::Arena* arena = nullptr) const { + GetPoolsResponse_StoragePool* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -4509,9 +4561,8 @@ class GetPoolsResponse_StoragePool final : public ::google::protobuf::Message 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); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -4521,49 +4572,51 @@ class GetPoolsResponse_StoragePool final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(GetPoolsResponse_StoragePool* other); + void InternalSwap(GetPoolsResponse_StoragePool* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit GetPoolsResponse_StoragePool(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + GetPoolsResponse_StoragePool(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetPoolsResponse_StoragePool& from); + GetPoolsResponse_StoragePool( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -4584,15 +4637,15 @@ class GetPoolsResponse_StoragePool final : public ::google::protobuf::Message public: void clear_targets() ; - ::beegfs::EntityIdSet* mutable_targets(int index); - ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* mutable_targets(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL mutable_targets(int index); + ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* PROTOBUF_NONNULL mutable_targets(); private: const ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>& _internal_targets() const; - ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* _internal_mutable_targets(); + ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* PROTOBUF_NONNULL _internal_mutable_targets(); public: const ::beegfs::EntityIdSet& targets(int index) const; - ::beegfs::EntityIdSet* add_targets(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL add_targets(); const ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>& targets() const; // repeated .beegfs.EntityIdSet buddy_groups = 3; int buddy_groups_size() const; @@ -4601,29 +4654,29 @@ class GetPoolsResponse_StoragePool final : public ::google::protobuf::Message public: void clear_buddy_groups() ; - ::beegfs::EntityIdSet* mutable_buddy_groups(int index); - ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* mutable_buddy_groups(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL mutable_buddy_groups(int index); + ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* PROTOBUF_NONNULL mutable_buddy_groups(); private: const ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>& _internal_buddy_groups() const; - ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* _internal_mutable_buddy_groups(); + ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* PROTOBUF_NONNULL _internal_mutable_buddy_groups(); public: const ::beegfs::EntityIdSet& buddy_groups(int index) const; - ::beegfs::EntityIdSet* add_buddy_groups(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL 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(); + [[nodiscard]] ::beegfs::EntityIdSet* PROTOBUF_NULLABLE release_id(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL mutable_id(); + void set_allocated_id(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_id(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE unsafe_arena_release_id(); private: const ::beegfs::EntityIdSet& _internal_id() const; - ::beegfs::EntityIdSet* _internal_mutable_id(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL _internal_mutable_id(); public: // optional int64 user_space_limit = 4; @@ -4674,9 +4727,9 @@ class GetPoolsResponse_StoragePool final : public ::google::protobuf::Message private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 3, 7, 3, - 0, 2> + static const ::google::protobuf::internal::TcParseTable<3, 7, + 3, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -4686,18 +4739,19 @@ class GetPoolsResponse_StoragePool final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const 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_; + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE id_; ::int64_t user_space_limit_; ::int64_t user_inode_limit_; ::int64_t group_space_limit_; @@ -4707,6 +4761,8 @@ class GetPoolsResponse_StoragePool final : public ::google::protobuf::Message union { Impl_ _impl_; }; friend struct ::TableStruct_management_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull GetPoolsResponse_StoragePool_class_data_; // ------------------------------------------------------------------- class GetNodesResponse_Node final : public ::google::protobuf::Message @@ -4716,19 +4772,18 @@ class GetNodesResponse_Node final : public ::google::protobuf::Message ~GetNodesResponse_Node() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetNodesResponse_Node* msg, std::destroying_delete_t) { + void operator delete(GetNodesResponse_Node* PROTOBUF_NONNULL 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); + 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)) {} + : GetNodesResponse_Node(nullptr, ::std::move(from)) {} inline GetNodesResponse_Node& operator=(const GetNodesResponse_Node& from) { CopyFrom(from); return *this; @@ -4747,30 +4802,27 @@ class GetNodesResponse_Node final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(GetNodesResponse_Node* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -4778,7 +4830,7 @@ class GetNodesResponse_Node final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(GetNodesResponse_Node* other) { + void UnsafeArenaSwap(GetNodesResponse_Node* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -4786,7 +4838,7 @@ class GetNodesResponse_Node final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - GetNodesResponse_Node* New(::google::protobuf::Arena* arena = nullptr) const { + GetNodesResponse_Node* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -4795,9 +4847,8 @@ class GetNodesResponse_Node final : public ::google::protobuf::Message 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); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -4807,49 +4858,51 @@ class GetNodesResponse_Node final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(GetNodesResponse_Node* other); + void InternalSwap(GetNodesResponse_Node* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit GetNodesResponse_Node(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + GetNodesResponse_Node(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetNodesResponse_Node& from); + GetNodesResponse_Node( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- using Nic = GetNodesResponse_Node_Nic; @@ -4868,29 +4921,29 @@ class GetNodesResponse_Node final : public ::google::protobuf::Message public: void clear_nics() ; - ::management::GetNodesResponse_Node_Nic* mutable_nics(int index); - ::google::protobuf::RepeatedPtrField<::management::GetNodesResponse_Node_Nic>* mutable_nics(); + ::management::GetNodesResponse_Node_Nic* PROTOBUF_NONNULL mutable_nics(int index); + ::google::protobuf::RepeatedPtrField<::management::GetNodesResponse_Node_Nic>* PROTOBUF_NONNULL mutable_nics(); private: const ::google::protobuf::RepeatedPtrField<::management::GetNodesResponse_Node_Nic>& _internal_nics() const; - ::google::protobuf::RepeatedPtrField<::management::GetNodesResponse_Node_Nic>* _internal_mutable_nics(); + ::google::protobuf::RepeatedPtrField<::management::GetNodesResponse_Node_Nic>* PROTOBUF_NONNULL _internal_mutable_nics(); public: const ::management::GetNodesResponse_Node_Nic& nics(int index) const; - ::management::GetNodesResponse_Node_Nic* add_nics(); + ::management::GetNodesResponse_Node_Nic* PROTOBUF_NONNULL 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(); + [[nodiscard]] ::beegfs::EntityIdSet* PROTOBUF_NULLABLE release_id(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL mutable_id(); + void set_allocated_id(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_id(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE unsafe_arena_release_id(); private: const ::beegfs::EntityIdSet& _internal_id() const; - ::beegfs::EntityIdSet* _internal_mutable_id(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL _internal_mutable_id(); public: // .beegfs.NodeType node_type = 2; @@ -4917,9 +4970,9 @@ class GetNodesResponse_Node final : public ::google::protobuf::Message private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 2, 4, 2, - 0, 2> + static const ::google::protobuf::internal::TcParseTable<2, 4, + 2, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -4929,17 +4982,18 @@ class GetNodesResponse_Node final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const 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_; + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE id_; int node_type_; ::uint32_t port_; PROTOBUF_TSAN_DECLARE_MEMBER @@ -4947,6 +5001,8 @@ class GetNodesResponse_Node final : public ::google::protobuf::Message union { Impl_ _impl_; }; friend struct ::TableStruct_management_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull GetNodesResponse_Node_class_data_; // ------------------------------------------------------------------- class GetBuddyGroupsResponse_BuddyGroup final : public ::google::protobuf::Message @@ -4956,19 +5012,18 @@ class GetBuddyGroupsResponse_BuddyGroup final : public ::google::protobuf::Messa ~GetBuddyGroupsResponse_BuddyGroup() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetBuddyGroupsResponse_BuddyGroup* msg, std::destroying_delete_t) { + void operator delete(GetBuddyGroupsResponse_BuddyGroup* PROTOBUF_NONNULL 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); + 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)) {} + : GetBuddyGroupsResponse_BuddyGroup(nullptr, ::std::move(from)) {} inline GetBuddyGroupsResponse_BuddyGroup& operator=(const GetBuddyGroupsResponse_BuddyGroup& from) { CopyFrom(from); return *this; @@ -4987,30 +5042,27 @@ class GetBuddyGroupsResponse_BuddyGroup final : public ::google::protobuf::Messa ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(GetBuddyGroupsResponse_BuddyGroup* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -5018,7 +5070,7 @@ class GetBuddyGroupsResponse_BuddyGroup final : public ::google::protobuf::Messa ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(GetBuddyGroupsResponse_BuddyGroup* other) { + void UnsafeArenaSwap(GetBuddyGroupsResponse_BuddyGroup* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -5026,7 +5078,7 @@ class GetBuddyGroupsResponse_BuddyGroup final : public ::google::protobuf::Messa // implements Message ---------------------------------------------- - GetBuddyGroupsResponse_BuddyGroup* New(::google::protobuf::Arena* arena = nullptr) const { + GetBuddyGroupsResponse_BuddyGroup* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -5035,9 +5087,8 @@ class GetBuddyGroupsResponse_BuddyGroup final : public ::google::protobuf::Messa 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); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -5047,49 +5098,51 @@ class GetBuddyGroupsResponse_BuddyGroup final : public ::google::protobuf::Messa #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(GetBuddyGroupsResponse_BuddyGroup* other); + void InternalSwap(GetBuddyGroupsResponse_BuddyGroup* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit GetBuddyGroupsResponse_BuddyGroup(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + GetBuddyGroupsResponse_BuddyGroup(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetBuddyGroupsResponse_BuddyGroup& from); + GetBuddyGroupsResponse_BuddyGroup( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -5107,60 +5160,60 @@ class GetBuddyGroupsResponse_BuddyGroup final : public ::google::protobuf::Messa 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(); + [[nodiscard]] ::beegfs::EntityIdSet* PROTOBUF_NULLABLE release_id(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL mutable_id(); + void set_allocated_id(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_id(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE unsafe_arena_release_id(); private: const ::beegfs::EntityIdSet& _internal_id() const; - ::beegfs::EntityIdSet* _internal_mutable_id(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL _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(); + [[nodiscard]] ::beegfs::EntityIdSet* PROTOBUF_NULLABLE release_primary_target(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL mutable_primary_target(); + void set_allocated_primary_target(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_primary_target(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE unsafe_arena_release_primary_target(); private: const ::beegfs::EntityIdSet& _internal_primary_target() const; - ::beegfs::EntityIdSet* _internal_mutable_primary_target(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL _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(); + [[nodiscard]] ::beegfs::EntityIdSet* PROTOBUF_NULLABLE release_secondary_target(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL mutable_secondary_target(); + void set_allocated_secondary_target(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_secondary_target(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE unsafe_arena_release_secondary_target(); private: const ::beegfs::EntityIdSet& _internal_secondary_target() const; - ::beegfs::EntityIdSet* _internal_mutable_secondary_target(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL _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(); + [[nodiscard]] ::beegfs::EntityIdSet* PROTOBUF_NULLABLE release_storage_pool(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL mutable_storage_pool(); + void set_allocated_storage_pool(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_storage_pool(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE unsafe_arena_release_storage_pool(); private: const ::beegfs::EntityIdSet& _internal_storage_pool() const; - ::beegfs::EntityIdSet* _internal_mutable_storage_pool(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL _internal_mutable_storage_pool(); public: // .beegfs.NodeType node_type = 2; @@ -5197,9 +5250,9 @@ class GetBuddyGroupsResponse_BuddyGroup final : public ::google::protobuf::Messa private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 3, 7, 4, - 0, 2> + static const ::google::protobuf::internal::TcParseTable<3, 7, + 4, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -5209,19 +5262,20 @@ class GetBuddyGroupsResponse_BuddyGroup final : public ::google::protobuf::Messa 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const 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_; + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE id_; + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE primary_target_; + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE secondary_target_; + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE storage_pool_; int node_type_; int primary_consistency_state_; int secondary_consistency_state_; @@ -5230,6 +5284,8 @@ class GetBuddyGroupsResponse_BuddyGroup final : public ::google::protobuf::Messa union { Impl_ _impl_; }; friend struct ::TableStruct_management_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull GetBuddyGroupsResponse_BuddyGroup_class_data_; // ------------------------------------------------------------------- class DeleteTargetResponse final : public ::google::protobuf::Message @@ -5239,19 +5295,18 @@ class DeleteTargetResponse final : public ::google::protobuf::Message ~DeleteTargetResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(DeleteTargetResponse* msg, std::destroying_delete_t) { + void operator delete(DeleteTargetResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(DeleteTargetResponse)); } #endif template - explicit PROTOBUF_CONSTEXPR DeleteTargetResponse( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : DeleteTargetResponse(nullptr, ::std::move(from)) {} inline DeleteTargetResponse& operator=(const DeleteTargetResponse& from) { CopyFrom(from); return *this; @@ -5270,30 +5325,27 @@ class DeleteTargetResponse final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(DeleteTargetResponse* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -5301,7 +5353,7 @@ class DeleteTargetResponse final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(DeleteTargetResponse* other) { + void UnsafeArenaSwap(DeleteTargetResponse* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -5309,7 +5361,7 @@ class DeleteTargetResponse final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - DeleteTargetResponse* New(::google::protobuf::Arena* arena = nullptr) const { + DeleteTargetResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -5318,9 +5370,8 @@ class DeleteTargetResponse final : public ::google::protobuf::Message void MergeFrom(const DeleteTargetResponse& from) { DeleteTargetResponse::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -5330,49 +5381,51 @@ class DeleteTargetResponse final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(DeleteTargetResponse* other); + void InternalSwap(DeleteTargetResponse* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit DeleteTargetResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + DeleteTargetResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const DeleteTargetResponse& from); + DeleteTargetResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -5384,24 +5437,24 @@ class DeleteTargetResponse final : public ::google::protobuf::Message 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(); + [[nodiscard]] ::beegfs::EntityIdSet* PROTOBUF_NULLABLE release_target(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL mutable_target(); + void set_allocated_target(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_target(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE unsafe_arena_release_target(); private: const ::beegfs::EntityIdSet& _internal_target() const; - ::beegfs::EntityIdSet* _internal_mutable_target(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL _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> + static const ::google::protobuf::internal::TcParseTable<0, 1, + 1, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -5411,21 +5464,24 @@ class DeleteTargetResponse final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const DeleteTargetResponse& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; - ::beegfs::EntityIdSet* target_; + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE target_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_management_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull DeleteTargetResponse_class_data_; // ------------------------------------------------------------------- class DeleteTargetRequest final : public ::google::protobuf::Message @@ -5435,19 +5491,18 @@ class DeleteTargetRequest final : public ::google::protobuf::Message ~DeleteTargetRequest() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(DeleteTargetRequest* msg, std::destroying_delete_t) { + void operator delete(DeleteTargetRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(DeleteTargetRequest)); } #endif template - explicit PROTOBUF_CONSTEXPR DeleteTargetRequest( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : DeleteTargetRequest(nullptr, ::std::move(from)) {} inline DeleteTargetRequest& operator=(const DeleteTargetRequest& from) { CopyFrom(from); return *this; @@ -5466,30 +5521,27 @@ class DeleteTargetRequest final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(DeleteTargetRequest* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -5497,7 +5549,7 @@ class DeleteTargetRequest final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(DeleteTargetRequest* other) { + void UnsafeArenaSwap(DeleteTargetRequest* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -5505,7 +5557,7 @@ class DeleteTargetRequest final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - DeleteTargetRequest* New(::google::protobuf::Arena* arena = nullptr) const { + DeleteTargetRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -5514,9 +5566,8 @@ class DeleteTargetRequest final : public ::google::protobuf::Message void MergeFrom(const DeleteTargetRequest& from) { DeleteTargetRequest::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -5526,49 +5577,51 @@ class DeleteTargetRequest final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(DeleteTargetRequest* other); + void InternalSwap(DeleteTargetRequest* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit DeleteTargetRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + DeleteTargetRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const DeleteTargetRequest& from); + DeleteTargetRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -5581,15 +5634,15 @@ class DeleteTargetRequest final : public ::google::protobuf::Message 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(); + [[nodiscard]] ::beegfs::EntityIdSet* PROTOBUF_NULLABLE release_target(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL mutable_target(); + void set_allocated_target(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_target(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE unsafe_arena_release_target(); private: const ::beegfs::EntityIdSet& _internal_target() const; - ::beegfs::EntityIdSet* _internal_mutable_target(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL _internal_mutable_target(); public: // optional bool execute = 2; @@ -5607,9 +5660,9 @@ class DeleteTargetRequest final : public ::google::protobuf::Message private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 1, 2, 1, - 0, 2> + static const ::google::protobuf::internal::TcParseTable<1, 2, + 1, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -5619,22 +5672,25 @@ class DeleteTargetRequest final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const DeleteTargetRequest& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; - ::beegfs::EntityIdSet* target_; + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE target_; bool execute_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_management_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull DeleteTargetRequest_class_data_; // ------------------------------------------------------------------- class DeletePoolResponse final : public ::google::protobuf::Message @@ -5644,19 +5700,18 @@ class DeletePoolResponse final : public ::google::protobuf::Message ~DeletePoolResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(DeletePoolResponse* msg, std::destroying_delete_t) { + void operator delete(DeletePoolResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(DeletePoolResponse)); } #endif template - explicit PROTOBUF_CONSTEXPR DeletePoolResponse( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : DeletePoolResponse(nullptr, ::std::move(from)) {} inline DeletePoolResponse& operator=(const DeletePoolResponse& from) { CopyFrom(from); return *this; @@ -5675,30 +5730,27 @@ class DeletePoolResponse final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(DeletePoolResponse* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -5706,7 +5758,7 @@ class DeletePoolResponse final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(DeletePoolResponse* other) { + void UnsafeArenaSwap(DeletePoolResponse* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -5714,7 +5766,7 @@ class DeletePoolResponse final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - DeletePoolResponse* New(::google::protobuf::Arena* arena = nullptr) const { + DeletePoolResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -5723,9 +5775,8 @@ class DeletePoolResponse final : public ::google::protobuf::Message void MergeFrom(const DeletePoolResponse& from) { DeletePoolResponse::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -5735,49 +5786,51 @@ class DeletePoolResponse final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(DeletePoolResponse* other); + void InternalSwap(DeletePoolResponse* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit DeletePoolResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + DeletePoolResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const DeletePoolResponse& from); + DeletePoolResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -5789,24 +5842,24 @@ class DeletePoolResponse final : public ::google::protobuf::Message 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(); + [[nodiscard]] ::beegfs::EntityIdSet* PROTOBUF_NULLABLE release_pool(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL mutable_pool(); + void set_allocated_pool(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_pool(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE unsafe_arena_release_pool(); private: const ::beegfs::EntityIdSet& _internal_pool() const; - ::beegfs::EntityIdSet* _internal_mutable_pool(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL _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> + static const ::google::protobuf::internal::TcParseTable<0, 1, + 1, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -5816,21 +5869,24 @@ class DeletePoolResponse final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const DeletePoolResponse& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; - ::beegfs::EntityIdSet* pool_; + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE pool_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_management_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull DeletePoolResponse_class_data_; // ------------------------------------------------------------------- class DeletePoolRequest final : public ::google::protobuf::Message @@ -5840,19 +5896,18 @@ class DeletePoolRequest final : public ::google::protobuf::Message ~DeletePoolRequest() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(DeletePoolRequest* msg, std::destroying_delete_t) { + void operator delete(DeletePoolRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(DeletePoolRequest)); } #endif template - explicit PROTOBUF_CONSTEXPR DeletePoolRequest( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : DeletePoolRequest(nullptr, ::std::move(from)) {} inline DeletePoolRequest& operator=(const DeletePoolRequest& from) { CopyFrom(from); return *this; @@ -5871,30 +5926,27 @@ class DeletePoolRequest final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(DeletePoolRequest* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -5902,7 +5954,7 @@ class DeletePoolRequest final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(DeletePoolRequest* other) { + void UnsafeArenaSwap(DeletePoolRequest* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -5910,7 +5962,7 @@ class DeletePoolRequest final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - DeletePoolRequest* New(::google::protobuf::Arena* arena = nullptr) const { + DeletePoolRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -5919,9 +5971,8 @@ class DeletePoolRequest final : public ::google::protobuf::Message void MergeFrom(const DeletePoolRequest& from) { DeletePoolRequest::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -5931,49 +5982,51 @@ class DeletePoolRequest final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(DeletePoolRequest* other); + void InternalSwap(DeletePoolRequest* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit DeletePoolRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + DeletePoolRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const DeletePoolRequest& from); + DeletePoolRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -5986,15 +6039,15 @@ class DeletePoolRequest final : public ::google::protobuf::Message 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(); + [[nodiscard]] ::beegfs::EntityIdSet* PROTOBUF_NULLABLE release_pool(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL mutable_pool(); + void set_allocated_pool(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_pool(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE unsafe_arena_release_pool(); private: const ::beegfs::EntityIdSet& _internal_pool() const; - ::beegfs::EntityIdSet* _internal_mutable_pool(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL _internal_mutable_pool(); public: // optional bool execute = 2; @@ -6012,9 +6065,9 @@ class DeletePoolRequest final : public ::google::protobuf::Message private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 1, 2, 1, - 0, 2> + static const ::google::protobuf::internal::TcParseTable<1, 2, + 1, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -6024,22 +6077,25 @@ class DeletePoolRequest final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const DeletePoolRequest& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; - ::beegfs::EntityIdSet* pool_; + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE pool_; bool execute_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_management_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull DeletePoolRequest_class_data_; // ------------------------------------------------------------------- class DeleteNodeResponse final : public ::google::protobuf::Message @@ -6049,19 +6105,18 @@ class DeleteNodeResponse final : public ::google::protobuf::Message ~DeleteNodeResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(DeleteNodeResponse* msg, std::destroying_delete_t) { + void operator delete(DeleteNodeResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(DeleteNodeResponse)); } #endif template - explicit PROTOBUF_CONSTEXPR DeleteNodeResponse( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : DeleteNodeResponse(nullptr, ::std::move(from)) {} inline DeleteNodeResponse& operator=(const DeleteNodeResponse& from) { CopyFrom(from); return *this; @@ -6080,30 +6135,27 @@ class DeleteNodeResponse final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(DeleteNodeResponse* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -6111,7 +6163,7 @@ class DeleteNodeResponse final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(DeleteNodeResponse* other) { + void UnsafeArenaSwap(DeleteNodeResponse* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -6119,7 +6171,7 @@ class DeleteNodeResponse final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - DeleteNodeResponse* New(::google::protobuf::Arena* arena = nullptr) const { + DeleteNodeResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -6128,9 +6180,8 @@ class DeleteNodeResponse final : public ::google::protobuf::Message void MergeFrom(const DeleteNodeResponse& from) { DeleteNodeResponse::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -6140,49 +6191,51 @@ class DeleteNodeResponse final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(DeleteNodeResponse* other); + void InternalSwap(DeleteNodeResponse* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit DeleteNodeResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + DeleteNodeResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const DeleteNodeResponse& from); + DeleteNodeResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -6194,24 +6247,24 @@ class DeleteNodeResponse final : public ::google::protobuf::Message 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(); + [[nodiscard]] ::beegfs::EntityIdSet* PROTOBUF_NULLABLE release_node(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL mutable_node(); + void set_allocated_node(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_node(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE unsafe_arena_release_node(); private: const ::beegfs::EntityIdSet& _internal_node() const; - ::beegfs::EntityIdSet* _internal_mutable_node(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL _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> + static const ::google::protobuf::internal::TcParseTable<0, 1, + 1, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -6221,21 +6274,24 @@ class DeleteNodeResponse final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const DeleteNodeResponse& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; - ::beegfs::EntityIdSet* node_; + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE node_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_management_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull DeleteNodeResponse_class_data_; // ------------------------------------------------------------------- class DeleteNodeRequest final : public ::google::protobuf::Message @@ -6245,19 +6301,18 @@ class DeleteNodeRequest final : public ::google::protobuf::Message ~DeleteNodeRequest() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(DeleteNodeRequest* msg, std::destroying_delete_t) { + void operator delete(DeleteNodeRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(DeleteNodeRequest)); } #endif template - explicit PROTOBUF_CONSTEXPR DeleteNodeRequest( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : DeleteNodeRequest(nullptr, ::std::move(from)) {} inline DeleteNodeRequest& operator=(const DeleteNodeRequest& from) { CopyFrom(from); return *this; @@ -6276,30 +6331,27 @@ class DeleteNodeRequest final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(DeleteNodeRequest* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -6307,7 +6359,7 @@ class DeleteNodeRequest final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(DeleteNodeRequest* other) { + void UnsafeArenaSwap(DeleteNodeRequest* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -6315,7 +6367,7 @@ class DeleteNodeRequest final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - DeleteNodeRequest* New(::google::protobuf::Arena* arena = nullptr) const { + DeleteNodeRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -6324,9 +6376,8 @@ class DeleteNodeRequest final : public ::google::protobuf::Message void MergeFrom(const DeleteNodeRequest& from) { DeleteNodeRequest::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -6336,49 +6387,51 @@ class DeleteNodeRequest final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(DeleteNodeRequest* other); + void InternalSwap(DeleteNodeRequest* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit DeleteNodeRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + DeleteNodeRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const DeleteNodeRequest& from); + DeleteNodeRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -6391,15 +6444,15 @@ class DeleteNodeRequest final : public ::google::protobuf::Message 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(); + [[nodiscard]] ::beegfs::EntityIdSet* PROTOBUF_NULLABLE release_node(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL mutable_node(); + void set_allocated_node(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_node(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE unsafe_arena_release_node(); private: const ::beegfs::EntityIdSet& _internal_node() const; - ::beegfs::EntityIdSet* _internal_mutable_node(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL _internal_mutable_node(); public: // optional bool execute = 2; @@ -6417,9 +6470,9 @@ class DeleteNodeRequest final : public ::google::protobuf::Message private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 1, 2, 1, - 0, 2> + static const ::google::protobuf::internal::TcParseTable<1, 2, + 1, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -6429,22 +6482,25 @@ class DeleteNodeRequest final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const DeleteNodeRequest& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; - ::beegfs::EntityIdSet* node_; + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE node_; bool execute_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_management_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull DeleteNodeRequest_class_data_; // ------------------------------------------------------------------- class DeleteBuddyGroupResponse final : public ::google::protobuf::Message @@ -6454,19 +6510,18 @@ class DeleteBuddyGroupResponse final : public ::google::protobuf::Message ~DeleteBuddyGroupResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(DeleteBuddyGroupResponse* msg, std::destroying_delete_t) { + void operator delete(DeleteBuddyGroupResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(DeleteBuddyGroupResponse)); } #endif template - explicit PROTOBUF_CONSTEXPR DeleteBuddyGroupResponse( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : DeleteBuddyGroupResponse(nullptr, ::std::move(from)) {} inline DeleteBuddyGroupResponse& operator=(const DeleteBuddyGroupResponse& from) { CopyFrom(from); return *this; @@ -6485,30 +6540,27 @@ class DeleteBuddyGroupResponse final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(DeleteBuddyGroupResponse* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -6516,7 +6568,7 @@ class DeleteBuddyGroupResponse final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(DeleteBuddyGroupResponse* other) { + void UnsafeArenaSwap(DeleteBuddyGroupResponse* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -6524,7 +6576,7 @@ class DeleteBuddyGroupResponse final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - DeleteBuddyGroupResponse* New(::google::protobuf::Arena* arena = nullptr) const { + DeleteBuddyGroupResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -6533,9 +6585,8 @@ class DeleteBuddyGroupResponse final : public ::google::protobuf::Message void MergeFrom(const DeleteBuddyGroupResponse& from) { DeleteBuddyGroupResponse::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -6545,49 +6596,51 @@ class DeleteBuddyGroupResponse final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(DeleteBuddyGroupResponse* other); + void InternalSwap(DeleteBuddyGroupResponse* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit DeleteBuddyGroupResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + DeleteBuddyGroupResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const DeleteBuddyGroupResponse& from); + DeleteBuddyGroupResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -6599,24 +6652,24 @@ class DeleteBuddyGroupResponse final : public ::google::protobuf::Message 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(); + [[nodiscard]] ::beegfs::EntityIdSet* PROTOBUF_NULLABLE release_group(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL mutable_group(); + void set_allocated_group(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_group(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE unsafe_arena_release_group(); private: const ::beegfs::EntityIdSet& _internal_group() const; - ::beegfs::EntityIdSet* _internal_mutable_group(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL _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> + static const ::google::protobuf::internal::TcParseTable<0, 1, + 1, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -6626,21 +6679,24 @@ class DeleteBuddyGroupResponse final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const DeleteBuddyGroupResponse& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; - ::beegfs::EntityIdSet* group_; + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE group_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_management_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull DeleteBuddyGroupResponse_class_data_; // ------------------------------------------------------------------- class DeleteBuddyGroupRequest final : public ::google::protobuf::Message @@ -6650,19 +6706,18 @@ class DeleteBuddyGroupRequest final : public ::google::protobuf::Message ~DeleteBuddyGroupRequest() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(DeleteBuddyGroupRequest* msg, std::destroying_delete_t) { + void operator delete(DeleteBuddyGroupRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(DeleteBuddyGroupRequest)); } #endif template - explicit PROTOBUF_CONSTEXPR DeleteBuddyGroupRequest( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : DeleteBuddyGroupRequest(nullptr, ::std::move(from)) {} inline DeleteBuddyGroupRequest& operator=(const DeleteBuddyGroupRequest& from) { CopyFrom(from); return *this; @@ -6681,30 +6736,27 @@ class DeleteBuddyGroupRequest final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(DeleteBuddyGroupRequest* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -6712,7 +6764,7 @@ class DeleteBuddyGroupRequest final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(DeleteBuddyGroupRequest* other) { + void UnsafeArenaSwap(DeleteBuddyGroupRequest* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -6720,7 +6772,7 @@ class DeleteBuddyGroupRequest final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - DeleteBuddyGroupRequest* New(::google::protobuf::Arena* arena = nullptr) const { + DeleteBuddyGroupRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -6729,9 +6781,8 @@ class DeleteBuddyGroupRequest final : public ::google::protobuf::Message void MergeFrom(const DeleteBuddyGroupRequest& from) { DeleteBuddyGroupRequest::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -6741,49 +6792,51 @@ class DeleteBuddyGroupRequest final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(DeleteBuddyGroupRequest* other); + void InternalSwap(DeleteBuddyGroupRequest* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit DeleteBuddyGroupRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + DeleteBuddyGroupRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const DeleteBuddyGroupRequest& from); + DeleteBuddyGroupRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -6796,15 +6849,15 @@ class DeleteBuddyGroupRequest final : public ::google::protobuf::Message 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(); + [[nodiscard]] ::beegfs::EntityIdSet* PROTOBUF_NULLABLE release_group(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL mutable_group(); + void set_allocated_group(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_group(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE unsafe_arena_release_group(); private: const ::beegfs::EntityIdSet& _internal_group() const; - ::beegfs::EntityIdSet* _internal_mutable_group(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL _internal_mutable_group(); public: // optional bool execute = 2; @@ -6822,9 +6875,9 @@ class DeleteBuddyGroupRequest final : public ::google::protobuf::Message private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 1, 2, 1, - 0, 2> + static const ::google::protobuf::internal::TcParseTable<1, 2, + 1, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -6834,22 +6887,25 @@ class DeleteBuddyGroupRequest final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const DeleteBuddyGroupRequest& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; - ::beegfs::EntityIdSet* group_; + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE group_; bool execute_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_management_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull DeleteBuddyGroupRequest_class_data_; // ------------------------------------------------------------------- class CreatePoolResponse final : public ::google::protobuf::Message @@ -6859,19 +6915,18 @@ class CreatePoolResponse final : public ::google::protobuf::Message ~CreatePoolResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(CreatePoolResponse* msg, std::destroying_delete_t) { + void operator delete(CreatePoolResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(CreatePoolResponse)); } #endif template - explicit PROTOBUF_CONSTEXPR CreatePoolResponse( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : CreatePoolResponse(nullptr, ::std::move(from)) {} inline CreatePoolResponse& operator=(const CreatePoolResponse& from) { CopyFrom(from); return *this; @@ -6890,30 +6945,27 @@ class CreatePoolResponse final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(CreatePoolResponse* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -6921,7 +6973,7 @@ class CreatePoolResponse final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(CreatePoolResponse* other) { + void UnsafeArenaSwap(CreatePoolResponse* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -6929,7 +6981,7 @@ class CreatePoolResponse final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - CreatePoolResponse* New(::google::protobuf::Arena* arena = nullptr) const { + CreatePoolResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -6938,9 +6990,8 @@ class CreatePoolResponse final : public ::google::protobuf::Message void MergeFrom(const CreatePoolResponse& from) { CreatePoolResponse::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -6950,49 +7001,51 @@ class CreatePoolResponse final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(CreatePoolResponse* other); + void InternalSwap(CreatePoolResponse* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit CreatePoolResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + CreatePoolResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CreatePoolResponse& from); + CreatePoolResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -7004,24 +7057,24 @@ class CreatePoolResponse final : public ::google::protobuf::Message 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(); + [[nodiscard]] ::beegfs::EntityIdSet* PROTOBUF_NULLABLE release_pool(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL mutable_pool(); + void set_allocated_pool(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_pool(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE unsafe_arena_release_pool(); private: const ::beegfs::EntityIdSet& _internal_pool() const; - ::beegfs::EntityIdSet* _internal_mutable_pool(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL _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> + static const ::google::protobuf::internal::TcParseTable<0, 1, + 1, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -7031,21 +7084,24 @@ class CreatePoolResponse final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const CreatePoolResponse& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; - ::beegfs::EntityIdSet* pool_; + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE pool_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_management_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull CreatePoolResponse_class_data_; // ------------------------------------------------------------------- class CreatePoolRequest final : public ::google::protobuf::Message @@ -7055,19 +7111,18 @@ class CreatePoolRequest final : public ::google::protobuf::Message ~CreatePoolRequest() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(CreatePoolRequest* msg, std::destroying_delete_t) { + void operator delete(CreatePoolRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(CreatePoolRequest)); } #endif template - explicit PROTOBUF_CONSTEXPR CreatePoolRequest( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : CreatePoolRequest(nullptr, ::std::move(from)) {} inline CreatePoolRequest& operator=(const CreatePoolRequest& from) { CopyFrom(from); return *this; @@ -7086,30 +7141,27 @@ class CreatePoolRequest final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(CreatePoolRequest* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -7117,7 +7169,7 @@ class CreatePoolRequest final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(CreatePoolRequest* other) { + void UnsafeArenaSwap(CreatePoolRequest* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -7125,7 +7177,7 @@ class CreatePoolRequest final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - CreatePoolRequest* New(::google::protobuf::Arena* arena = nullptr) const { + CreatePoolRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -7134,9 +7186,8 @@ class CreatePoolRequest final : public ::google::protobuf::Message void MergeFrom(const CreatePoolRequest& from) { CreatePoolRequest::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -7146,49 +7197,51 @@ class CreatePoolRequest final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(CreatePoolRequest* other); + void InternalSwap(CreatePoolRequest* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit CreatePoolRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + CreatePoolRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CreatePoolRequest& from); + CreatePoolRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -7207,15 +7260,15 @@ class CreatePoolRequest final : public ::google::protobuf::Message public: void clear_targets() ; - ::beegfs::EntityIdSet* mutable_targets(int index); - ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* mutable_targets(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL mutable_targets(int index); + ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* PROTOBUF_NONNULL mutable_targets(); private: const ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>& _internal_targets() const; - ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* _internal_mutable_targets(); + ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* PROTOBUF_NONNULL _internal_mutable_targets(); public: const ::beegfs::EntityIdSet& targets(int index) const; - ::beegfs::EntityIdSet* add_targets(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL add_targets(); const ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>& targets() const; // repeated .beegfs.EntityIdSet buddy_groups = 5; int buddy_groups_size() const; @@ -7224,31 +7277,30 @@ class CreatePoolRequest final : public ::google::protobuf::Message public: void clear_buddy_groups() ; - ::beegfs::EntityIdSet* mutable_buddy_groups(int index); - ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* mutable_buddy_groups(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL mutable_buddy_groups(int index); + ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* PROTOBUF_NONNULL mutable_buddy_groups(); private: const ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>& _internal_buddy_groups() const; - ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* _internal_mutable_buddy_groups(); + ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* PROTOBUF_NONNULL _internal_mutable_buddy_groups(); public: const ::beegfs::EntityIdSet& buddy_groups(int index) const; - ::beegfs::EntityIdSet* add_buddy_groups(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL 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 + 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); + ::std::string* PROTOBUF_NONNULL mutable_alias(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_alias(); + void set_allocated_alias(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_alias() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_alias(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_alias(); public: // optional .beegfs.NodeType node_type = 1; @@ -7277,9 +7329,9 @@ class CreatePoolRequest final : public ::google::protobuf::Message private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 3, 5, 2, - 42, 2> + static const ::google::protobuf::internal::TcParseTable<3, 5, + 2, 42, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -7289,13 +7341,14 @@ class CreatePoolRequest final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const CreatePoolRequest& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; ::google::protobuf::RepeatedPtrField< ::beegfs::EntityIdSet > targets_; @@ -7308,6 +7361,8 @@ class CreatePoolRequest final : public ::google::protobuf::Message union { Impl_ _impl_; }; friend struct ::TableStruct_management_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull CreatePoolRequest_class_data_; // ------------------------------------------------------------------- class CreateBuddyGroupResponse final : public ::google::protobuf::Message @@ -7317,19 +7372,18 @@ class CreateBuddyGroupResponse final : public ::google::protobuf::Message ~CreateBuddyGroupResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(CreateBuddyGroupResponse* msg, std::destroying_delete_t) { + void operator delete(CreateBuddyGroupResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(CreateBuddyGroupResponse)); } #endif template - explicit PROTOBUF_CONSTEXPR CreateBuddyGroupResponse( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : CreateBuddyGroupResponse(nullptr, ::std::move(from)) {} inline CreateBuddyGroupResponse& operator=(const CreateBuddyGroupResponse& from) { CopyFrom(from); return *this; @@ -7348,30 +7402,27 @@ class CreateBuddyGroupResponse final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(CreateBuddyGroupResponse* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -7379,7 +7430,7 @@ class CreateBuddyGroupResponse final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(CreateBuddyGroupResponse* other) { + void UnsafeArenaSwap(CreateBuddyGroupResponse* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -7387,7 +7438,7 @@ class CreateBuddyGroupResponse final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - CreateBuddyGroupResponse* New(::google::protobuf::Arena* arena = nullptr) const { + CreateBuddyGroupResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -7396,9 +7447,8 @@ class CreateBuddyGroupResponse final : public ::google::protobuf::Message void MergeFrom(const CreateBuddyGroupResponse& from) { CreateBuddyGroupResponse::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -7408,49 +7458,51 @@ class CreateBuddyGroupResponse final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(CreateBuddyGroupResponse* other); + void InternalSwap(CreateBuddyGroupResponse* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit CreateBuddyGroupResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + CreateBuddyGroupResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CreateBuddyGroupResponse& from); + CreateBuddyGroupResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -7462,24 +7514,24 @@ class CreateBuddyGroupResponse final : public ::google::protobuf::Message 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(); + [[nodiscard]] ::beegfs::EntityIdSet* PROTOBUF_NULLABLE release_group(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL mutable_group(); + void set_allocated_group(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_group(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE unsafe_arena_release_group(); private: const ::beegfs::EntityIdSet& _internal_group() const; - ::beegfs::EntityIdSet* _internal_mutable_group(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL _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> + static const ::google::protobuf::internal::TcParseTable<0, 1, + 1, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -7489,21 +7541,24 @@ class CreateBuddyGroupResponse final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const CreateBuddyGroupResponse& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; - ::beegfs::EntityIdSet* group_; + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE group_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_management_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull CreateBuddyGroupResponse_class_data_; // ------------------------------------------------------------------- class CreateBuddyGroupRequest final : public ::google::protobuf::Message @@ -7513,19 +7568,18 @@ class CreateBuddyGroupRequest final : public ::google::protobuf::Message ~CreateBuddyGroupRequest() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(CreateBuddyGroupRequest* msg, std::destroying_delete_t) { + void operator delete(CreateBuddyGroupRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(CreateBuddyGroupRequest)); } #endif template - explicit PROTOBUF_CONSTEXPR CreateBuddyGroupRequest( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : CreateBuddyGroupRequest(nullptr, ::std::move(from)) {} inline CreateBuddyGroupRequest& operator=(const CreateBuddyGroupRequest& from) { CopyFrom(from); return *this; @@ -7544,30 +7598,27 @@ class CreateBuddyGroupRequest final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(CreateBuddyGroupRequest* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -7575,7 +7626,7 @@ class CreateBuddyGroupRequest final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(CreateBuddyGroupRequest* other) { + void UnsafeArenaSwap(CreateBuddyGroupRequest* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -7583,7 +7634,7 @@ class CreateBuddyGroupRequest final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - CreateBuddyGroupRequest* New(::google::protobuf::Arena* arena = nullptr) const { + CreateBuddyGroupRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -7592,9 +7643,8 @@ class CreateBuddyGroupRequest final : public ::google::protobuf::Message void MergeFrom(const CreateBuddyGroupRequest& from) { CreateBuddyGroupRequest::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -7604,49 +7654,51 @@ class CreateBuddyGroupRequest final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(CreateBuddyGroupRequest* other); + void InternalSwap(CreateBuddyGroupRequest* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit CreateBuddyGroupRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + CreateBuddyGroupRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CreateBuddyGroupRequest& from); + CreateBuddyGroupRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -7661,48 +7713,47 @@ class CreateBuddyGroupRequest final : public ::google::protobuf::Message // optional string alias = 3; bool has_alias() const; void clear_alias() ; - const std::string& alias() const; - template + 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); + ::std::string* PROTOBUF_NONNULL mutable_alias(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_alias(); + void set_allocated_alias(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_alias() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_alias(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _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(); + [[nodiscard]] ::beegfs::EntityIdSet* PROTOBUF_NULLABLE release_primary_target(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL mutable_primary_target(); + void set_allocated_primary_target(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_primary_target(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE unsafe_arena_release_primary_target(); private: const ::beegfs::EntityIdSet& _internal_primary_target() const; - ::beegfs::EntityIdSet* _internal_mutable_primary_target(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL _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(); + [[nodiscard]] ::beegfs::EntityIdSet* PROTOBUF_NULLABLE release_secondary_target(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL mutable_secondary_target(); + void set_allocated_secondary_target(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_secondary_target(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE unsafe_arena_release_secondary_target(); private: const ::beegfs::EntityIdSet& _internal_secondary_target() const; - ::beegfs::EntityIdSet* _internal_mutable_secondary_target(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL _internal_mutable_secondary_target(); public: // optional .beegfs.NodeType node_type = 1; @@ -7731,9 +7782,9 @@ class CreateBuddyGroupRequest final : public ::google::protobuf::Message private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 3, 5, 2, - 48, 2> + static const ::google::protobuf::internal::TcParseTable<3, 5, + 2, 48, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -7743,18 +7794,19 @@ class CreateBuddyGroupRequest final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const 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_; + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE primary_target_; + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE secondary_target_; int node_type_; ::uint32_t num_id_; PROTOBUF_TSAN_DECLARE_MEMBER @@ -7762,6 +7814,8 @@ class CreateBuddyGroupRequest final : public ::google::protobuf::Message union { Impl_ _impl_; }; friend struct ::TableStruct_management_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull CreateBuddyGroupRequest_class_data_; // ------------------------------------------------------------------- class AssignPoolResponse final : public ::google::protobuf::Message @@ -7771,19 +7825,18 @@ class AssignPoolResponse final : public ::google::protobuf::Message ~AssignPoolResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(AssignPoolResponse* msg, std::destroying_delete_t) { + void operator delete(AssignPoolResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(AssignPoolResponse)); } #endif template - explicit PROTOBUF_CONSTEXPR AssignPoolResponse( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : AssignPoolResponse(nullptr, ::std::move(from)) {} inline AssignPoolResponse& operator=(const AssignPoolResponse& from) { CopyFrom(from); return *this; @@ -7802,30 +7855,27 @@ class AssignPoolResponse final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(AssignPoolResponse* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -7833,7 +7883,7 @@ class AssignPoolResponse final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(AssignPoolResponse* other) { + void UnsafeArenaSwap(AssignPoolResponse* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -7841,7 +7891,7 @@ class AssignPoolResponse final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - AssignPoolResponse* New(::google::protobuf::Arena* arena = nullptr) const { + AssignPoolResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -7850,9 +7900,8 @@ class AssignPoolResponse final : public ::google::protobuf::Message void MergeFrom(const AssignPoolResponse& from) { AssignPoolResponse::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -7862,49 +7911,51 @@ class AssignPoolResponse final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(AssignPoolResponse* other); + void InternalSwap(AssignPoolResponse* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit AssignPoolResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + AssignPoolResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const AssignPoolResponse& from); + AssignPoolResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -7916,24 +7967,24 @@ class AssignPoolResponse final : public ::google::protobuf::Message 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(); + [[nodiscard]] ::beegfs::EntityIdSet* PROTOBUF_NULLABLE release_pool(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL mutable_pool(); + void set_allocated_pool(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_pool(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE unsafe_arena_release_pool(); private: const ::beegfs::EntityIdSet& _internal_pool() const; - ::beegfs::EntityIdSet* _internal_mutable_pool(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL _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> + static const ::google::protobuf::internal::TcParseTable<0, 1, + 1, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -7943,21 +7994,24 @@ class AssignPoolResponse final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const AssignPoolResponse& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; - ::beegfs::EntityIdSet* pool_; + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE pool_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_management_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull AssignPoolResponse_class_data_; // ------------------------------------------------------------------- class AssignPoolRequest final : public ::google::protobuf::Message @@ -7967,19 +8021,18 @@ class AssignPoolRequest final : public ::google::protobuf::Message ~AssignPoolRequest() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(AssignPoolRequest* msg, std::destroying_delete_t) { + void operator delete(AssignPoolRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(AssignPoolRequest)); } #endif template - explicit PROTOBUF_CONSTEXPR AssignPoolRequest( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : AssignPoolRequest(nullptr, ::std::move(from)) {} inline AssignPoolRequest& operator=(const AssignPoolRequest& from) { CopyFrom(from); return *this; @@ -7998,30 +8051,27 @@ class AssignPoolRequest final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(AssignPoolRequest* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -8029,7 +8079,7 @@ class AssignPoolRequest final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(AssignPoolRequest* other) { + void UnsafeArenaSwap(AssignPoolRequest* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -8037,7 +8087,7 @@ class AssignPoolRequest final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - AssignPoolRequest* New(::google::protobuf::Arena* arena = nullptr) const { + AssignPoolRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -8046,9 +8096,8 @@ class AssignPoolRequest final : public ::google::protobuf::Message void MergeFrom(const AssignPoolRequest& from) { AssignPoolRequest::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -8058,49 +8107,51 @@ class AssignPoolRequest final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(AssignPoolRequest* other); + void InternalSwap(AssignPoolRequest* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit AssignPoolRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + AssignPoolRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const AssignPoolRequest& from); + AssignPoolRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -8117,15 +8168,15 @@ class AssignPoolRequest final : public ::google::protobuf::Message public: void clear_targets() ; - ::beegfs::EntityIdSet* mutable_targets(int index); - ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* mutable_targets(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL mutable_targets(int index); + ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* PROTOBUF_NONNULL mutable_targets(); private: const ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>& _internal_targets() const; - ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* _internal_mutable_targets(); + ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* PROTOBUF_NONNULL _internal_mutable_targets(); public: const ::beegfs::EntityIdSet& targets(int index) const; - ::beegfs::EntityIdSet* add_targets(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL add_targets(); const ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>& targets() const; // repeated .beegfs.EntityIdSet buddy_groups = 3; int buddy_groups_size() const; @@ -8134,38 +8185,38 @@ class AssignPoolRequest final : public ::google::protobuf::Message public: void clear_buddy_groups() ; - ::beegfs::EntityIdSet* mutable_buddy_groups(int index); - ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* mutable_buddy_groups(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL mutable_buddy_groups(int index); + ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* PROTOBUF_NONNULL mutable_buddy_groups(); private: const ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>& _internal_buddy_groups() const; - ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* _internal_mutable_buddy_groups(); + ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* PROTOBUF_NONNULL _internal_mutable_buddy_groups(); public: const ::beegfs::EntityIdSet& buddy_groups(int index) const; - ::beegfs::EntityIdSet* add_buddy_groups(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL 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(); + [[nodiscard]] ::beegfs::EntityIdSet* PROTOBUF_NULLABLE release_pool(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL mutable_pool(); + void set_allocated_pool(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_pool(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE unsafe_arena_release_pool(); private: const ::beegfs::EntityIdSet& _internal_pool() const; - ::beegfs::EntityIdSet* _internal_mutable_pool(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL _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> + static const ::google::protobuf::internal::TcParseTable<2, 3, + 3, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -8175,23 +8226,26 @@ class AssignPoolRequest final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const 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_; + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE pool_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_management_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull AssignPoolRequest_class_data_; // ------------------------------------------------------------------- class SetQuotaLimitsRequest final : public ::google::protobuf::Message @@ -8201,19 +8255,18 @@ class SetQuotaLimitsRequest final : public ::google::protobuf::Message ~SetQuotaLimitsRequest() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SetQuotaLimitsRequest* msg, std::destroying_delete_t) { + void operator delete(SetQuotaLimitsRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(SetQuotaLimitsRequest)); } #endif template - explicit PROTOBUF_CONSTEXPR SetQuotaLimitsRequest( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : SetQuotaLimitsRequest(nullptr, ::std::move(from)) {} inline SetQuotaLimitsRequest& operator=(const SetQuotaLimitsRequest& from) { CopyFrom(from); return *this; @@ -8232,30 +8285,27 @@ class SetQuotaLimitsRequest final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(SetQuotaLimitsRequest* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -8263,7 +8313,7 @@ class SetQuotaLimitsRequest final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(SetQuotaLimitsRequest* other) { + void UnsafeArenaSwap(SetQuotaLimitsRequest* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -8271,7 +8321,7 @@ class SetQuotaLimitsRequest final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - SetQuotaLimitsRequest* New(::google::protobuf::Arena* arena = nullptr) const { + SetQuotaLimitsRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -8280,9 +8330,8 @@ class SetQuotaLimitsRequest final : public ::google::protobuf::Message void MergeFrom(const SetQuotaLimitsRequest& from) { SetQuotaLimitsRequest::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -8292,49 +8341,51 @@ class SetQuotaLimitsRequest final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(SetQuotaLimitsRequest* other); + void InternalSwap(SetQuotaLimitsRequest* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit SetQuotaLimitsRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + SetQuotaLimitsRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SetQuotaLimitsRequest& from); + SetQuotaLimitsRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -8349,23 +8400,23 @@ class SetQuotaLimitsRequest final : public ::google::protobuf::Message public: void clear_limits() ; - ::management::QuotaInfo* mutable_limits(int index); - ::google::protobuf::RepeatedPtrField<::management::QuotaInfo>* mutable_limits(); + ::management::QuotaInfo* PROTOBUF_NONNULL mutable_limits(int index); + ::google::protobuf::RepeatedPtrField<::management::QuotaInfo>* PROTOBUF_NONNULL mutable_limits(); private: const ::google::protobuf::RepeatedPtrField<::management::QuotaInfo>& _internal_limits() const; - ::google::protobuf::RepeatedPtrField<::management::QuotaInfo>* _internal_mutable_limits(); + ::google::protobuf::RepeatedPtrField<::management::QuotaInfo>* PROTOBUF_NONNULL _internal_mutable_limits(); public: const ::management::QuotaInfo& limits(int index) const; - ::management::QuotaInfo* add_limits(); + ::management::QuotaInfo* PROTOBUF_NONNULL 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> + static const ::google::protobuf::internal::TcParseTable<0, 1, + 1, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -8375,13 +8426,14 @@ class SetQuotaLimitsRequest final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const SetQuotaLimitsRequest& from_msg); ::google::protobuf::RepeatedPtrField< ::management::QuotaInfo > limits_; ::google::protobuf::internal::CachedSize _cached_size_; PROTOBUF_TSAN_DECLARE_MEMBER @@ -8389,6 +8441,8 @@ class SetQuotaLimitsRequest final : public ::google::protobuf::Message union { Impl_ _impl_; }; friend struct ::TableStruct_management_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull SetQuotaLimitsRequest_class_data_; // ------------------------------------------------------------------- class GetTargetsResponse final : public ::google::protobuf::Message @@ -8398,19 +8452,18 @@ class GetTargetsResponse final : public ::google::protobuf::Message ~GetTargetsResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetTargetsResponse* msg, std::destroying_delete_t) { + void operator delete(GetTargetsResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(GetTargetsResponse)); } #endif template - explicit PROTOBUF_CONSTEXPR GetTargetsResponse( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : GetTargetsResponse(nullptr, ::std::move(from)) {} inline GetTargetsResponse& operator=(const GetTargetsResponse& from) { CopyFrom(from); return *this; @@ -8429,30 +8482,27 @@ class GetTargetsResponse final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(GetTargetsResponse* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -8460,7 +8510,7 @@ class GetTargetsResponse final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(GetTargetsResponse* other) { + void UnsafeArenaSwap(GetTargetsResponse* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -8468,7 +8518,7 @@ class GetTargetsResponse final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - GetTargetsResponse* New(::google::protobuf::Arena* arena = nullptr) const { + GetTargetsResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -8477,9 +8527,8 @@ class GetTargetsResponse final : public ::google::protobuf::Message void MergeFrom(const GetTargetsResponse& from) { GetTargetsResponse::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -8489,49 +8538,51 @@ class GetTargetsResponse final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(GetTargetsResponse* other); + void InternalSwap(GetTargetsResponse* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit GetTargetsResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + GetTargetsResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetTargetsResponse& from); + GetTargetsResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- using Target = GetTargetsResponse_Target; @@ -8547,23 +8598,23 @@ class GetTargetsResponse final : public ::google::protobuf::Message public: void clear_targets() ; - ::management::GetTargetsResponse_Target* mutable_targets(int index); - ::google::protobuf::RepeatedPtrField<::management::GetTargetsResponse_Target>* mutable_targets(); + ::management::GetTargetsResponse_Target* PROTOBUF_NONNULL mutable_targets(int index); + ::google::protobuf::RepeatedPtrField<::management::GetTargetsResponse_Target>* PROTOBUF_NONNULL mutable_targets(); private: const ::google::protobuf::RepeatedPtrField<::management::GetTargetsResponse_Target>& _internal_targets() const; - ::google::protobuf::RepeatedPtrField<::management::GetTargetsResponse_Target>* _internal_mutable_targets(); + ::google::protobuf::RepeatedPtrField<::management::GetTargetsResponse_Target>* PROTOBUF_NONNULL _internal_mutable_targets(); public: const ::management::GetTargetsResponse_Target& targets(int index) const; - ::management::GetTargetsResponse_Target* add_targets(); + ::management::GetTargetsResponse_Target* PROTOBUF_NONNULL 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> + static const ::google::protobuf::internal::TcParseTable<0, 1, + 1, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -8573,13 +8624,14 @@ class GetTargetsResponse final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const GetTargetsResponse& from_msg); ::google::protobuf::RepeatedPtrField< ::management::GetTargetsResponse_Target > targets_; ::google::protobuf::internal::CachedSize _cached_size_; PROTOBUF_TSAN_DECLARE_MEMBER @@ -8587,6 +8639,8 @@ class GetTargetsResponse final : public ::google::protobuf::Message union { Impl_ _impl_; }; friend struct ::TableStruct_management_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull GetTargetsResponse_class_data_; // ------------------------------------------------------------------- class GetQuotaUsageResponse final : public ::google::protobuf::Message @@ -8596,19 +8650,18 @@ class GetQuotaUsageResponse final : public ::google::protobuf::Message ~GetQuotaUsageResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetQuotaUsageResponse* msg, std::destroying_delete_t) { + void operator delete(GetQuotaUsageResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(GetQuotaUsageResponse)); } #endif template - explicit PROTOBUF_CONSTEXPR GetQuotaUsageResponse( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : GetQuotaUsageResponse(nullptr, ::std::move(from)) {} inline GetQuotaUsageResponse& operator=(const GetQuotaUsageResponse& from) { CopyFrom(from); return *this; @@ -8627,30 +8680,27 @@ class GetQuotaUsageResponse final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(GetQuotaUsageResponse* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -8658,7 +8708,7 @@ class GetQuotaUsageResponse final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(GetQuotaUsageResponse* other) { + void UnsafeArenaSwap(GetQuotaUsageResponse* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -8666,7 +8716,7 @@ class GetQuotaUsageResponse final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - GetQuotaUsageResponse* New(::google::protobuf::Arena* arena = nullptr) const { + GetQuotaUsageResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -8675,9 +8725,8 @@ class GetQuotaUsageResponse final : public ::google::protobuf::Message void MergeFrom(const GetQuotaUsageResponse& from) { GetQuotaUsageResponse::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -8687,49 +8736,51 @@ class GetQuotaUsageResponse final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(GetQuotaUsageResponse* other); + void InternalSwap(GetQuotaUsageResponse* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit GetQuotaUsageResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + GetQuotaUsageResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetQuotaUsageResponse& from); + GetQuotaUsageResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -8742,15 +8793,15 @@ class GetQuotaUsageResponse final : public ::google::protobuf::Message 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(); + [[nodiscard]] ::management::QuotaInfo* PROTOBUF_NULLABLE release_entry(); + ::management::QuotaInfo* PROTOBUF_NONNULL mutable_entry(); + void set_allocated_entry(::management::QuotaInfo* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_entry(::management::QuotaInfo* PROTOBUF_NULLABLE value); + ::management::QuotaInfo* PROTOBUF_NULLABLE unsafe_arena_release_entry(); private: const ::management::QuotaInfo& _internal_entry() const; - ::management::QuotaInfo* _internal_mutable_entry(); + ::management::QuotaInfo* PROTOBUF_NONNULL _internal_mutable_entry(); public: // optional uint64 refresh_period_s = 2; @@ -8768,9 +8819,9 @@ class GetQuotaUsageResponse final : public ::google::protobuf::Message private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 1, 2, 1, - 0, 2> + static const ::google::protobuf::internal::TcParseTable<1, 2, + 1, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -8780,22 +8831,25 @@ class GetQuotaUsageResponse final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const GetQuotaUsageResponse& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; - ::management::QuotaInfo* entry_; + ::management::QuotaInfo* PROTOBUF_NULLABLE entry_; ::uint64_t refresh_period_s_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_management_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull GetQuotaUsageResponse_class_data_; // ------------------------------------------------------------------- class GetQuotaLimitsResponse final : public ::google::protobuf::Message @@ -8805,19 +8859,18 @@ class GetQuotaLimitsResponse final : public ::google::protobuf::Message ~GetQuotaLimitsResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetQuotaLimitsResponse* msg, std::destroying_delete_t) { + void operator delete(GetQuotaLimitsResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(GetQuotaLimitsResponse)); } #endif template - explicit PROTOBUF_CONSTEXPR GetQuotaLimitsResponse( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : GetQuotaLimitsResponse(nullptr, ::std::move(from)) {} inline GetQuotaLimitsResponse& operator=(const GetQuotaLimitsResponse& from) { CopyFrom(from); return *this; @@ -8836,30 +8889,27 @@ class GetQuotaLimitsResponse final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(GetQuotaLimitsResponse* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -8867,7 +8917,7 @@ class GetQuotaLimitsResponse final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(GetQuotaLimitsResponse* other) { + void UnsafeArenaSwap(GetQuotaLimitsResponse* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -8875,7 +8925,7 @@ class GetQuotaLimitsResponse final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - GetQuotaLimitsResponse* New(::google::protobuf::Arena* arena = nullptr) const { + GetQuotaLimitsResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -8884,9 +8934,8 @@ class GetQuotaLimitsResponse final : public ::google::protobuf::Message void MergeFrom(const GetQuotaLimitsResponse& from) { GetQuotaLimitsResponse::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -8896,49 +8945,51 @@ class GetQuotaLimitsResponse final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(GetQuotaLimitsResponse* other); + void InternalSwap(GetQuotaLimitsResponse* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit GetQuotaLimitsResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + GetQuotaLimitsResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetQuotaLimitsResponse& from); + GetQuotaLimitsResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -8950,24 +9001,24 @@ class GetQuotaLimitsResponse final : public ::google::protobuf::Message 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(); + [[nodiscard]] ::management::QuotaInfo* PROTOBUF_NULLABLE release_limits(); + ::management::QuotaInfo* PROTOBUF_NONNULL mutable_limits(); + void set_allocated_limits(::management::QuotaInfo* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_limits(::management::QuotaInfo* PROTOBUF_NULLABLE value); + ::management::QuotaInfo* PROTOBUF_NULLABLE unsafe_arena_release_limits(); private: const ::management::QuotaInfo& _internal_limits() const; - ::management::QuotaInfo* _internal_mutable_limits(); + ::management::QuotaInfo* PROTOBUF_NONNULL _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> + static const ::google::protobuf::internal::TcParseTable<0, 1, + 1, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -8977,21 +9028,24 @@ class GetQuotaLimitsResponse final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const GetQuotaLimitsResponse& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; - ::management::QuotaInfo* limits_; + ::management::QuotaInfo* PROTOBUF_NULLABLE limits_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_management_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull GetQuotaLimitsResponse_class_data_; // ------------------------------------------------------------------- class GetPoolsResponse final : public ::google::protobuf::Message @@ -9001,19 +9055,18 @@ class GetPoolsResponse final : public ::google::protobuf::Message ~GetPoolsResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetPoolsResponse* msg, std::destroying_delete_t) { + void operator delete(GetPoolsResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(GetPoolsResponse)); } #endif template - explicit PROTOBUF_CONSTEXPR GetPoolsResponse( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : GetPoolsResponse(nullptr, ::std::move(from)) {} inline GetPoolsResponse& operator=(const GetPoolsResponse& from) { CopyFrom(from); return *this; @@ -9032,30 +9085,27 @@ class GetPoolsResponse final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(GetPoolsResponse* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -9063,7 +9113,7 @@ class GetPoolsResponse final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(GetPoolsResponse* other) { + void UnsafeArenaSwap(GetPoolsResponse* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -9071,7 +9121,7 @@ class GetPoolsResponse final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - GetPoolsResponse* New(::google::protobuf::Arena* arena = nullptr) const { + GetPoolsResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -9080,9 +9130,8 @@ class GetPoolsResponse final : public ::google::protobuf::Message void MergeFrom(const GetPoolsResponse& from) { GetPoolsResponse::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -9092,49 +9141,51 @@ class GetPoolsResponse final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(GetPoolsResponse* other); + void InternalSwap(GetPoolsResponse* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit GetPoolsResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + GetPoolsResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetPoolsResponse& from); + GetPoolsResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- using StoragePool = GetPoolsResponse_StoragePool; @@ -9150,23 +9201,23 @@ class GetPoolsResponse final : public ::google::protobuf::Message public: void clear_pools() ; - ::management::GetPoolsResponse_StoragePool* mutable_pools(int index); - ::google::protobuf::RepeatedPtrField<::management::GetPoolsResponse_StoragePool>* mutable_pools(); + ::management::GetPoolsResponse_StoragePool* PROTOBUF_NONNULL mutable_pools(int index); + ::google::protobuf::RepeatedPtrField<::management::GetPoolsResponse_StoragePool>* PROTOBUF_NONNULL mutable_pools(); private: const ::google::protobuf::RepeatedPtrField<::management::GetPoolsResponse_StoragePool>& _internal_pools() const; - ::google::protobuf::RepeatedPtrField<::management::GetPoolsResponse_StoragePool>* _internal_mutable_pools(); + ::google::protobuf::RepeatedPtrField<::management::GetPoolsResponse_StoragePool>* PROTOBUF_NONNULL _internal_mutable_pools(); public: const ::management::GetPoolsResponse_StoragePool& pools(int index) const; - ::management::GetPoolsResponse_StoragePool* add_pools(); + ::management::GetPoolsResponse_StoragePool* PROTOBUF_NONNULL 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> + static const ::google::protobuf::internal::TcParseTable<0, 1, + 1, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -9176,13 +9227,14 @@ class GetPoolsResponse final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const GetPoolsResponse& from_msg); ::google::protobuf::RepeatedPtrField< ::management::GetPoolsResponse_StoragePool > pools_; ::google::protobuf::internal::CachedSize _cached_size_; PROTOBUF_TSAN_DECLARE_MEMBER @@ -9190,6 +9242,8 @@ class GetPoolsResponse final : public ::google::protobuf::Message union { Impl_ _impl_; }; friend struct ::TableStruct_management_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull GetPoolsResponse_class_data_; // ------------------------------------------------------------------- class GetNodesResponse final : public ::google::protobuf::Message @@ -9199,19 +9253,18 @@ class GetNodesResponse final : public ::google::protobuf::Message ~GetNodesResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetNodesResponse* msg, std::destroying_delete_t) { + void operator delete(GetNodesResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(GetNodesResponse)); } #endif template - explicit PROTOBUF_CONSTEXPR GetNodesResponse( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : GetNodesResponse(nullptr, ::std::move(from)) {} inline GetNodesResponse& operator=(const GetNodesResponse& from) { CopyFrom(from); return *this; @@ -9230,30 +9283,27 @@ class GetNodesResponse final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(GetNodesResponse* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -9261,7 +9311,7 @@ class GetNodesResponse final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(GetNodesResponse* other) { + void UnsafeArenaSwap(GetNodesResponse* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -9269,7 +9319,7 @@ class GetNodesResponse final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - GetNodesResponse* New(::google::protobuf::Arena* arena = nullptr) const { + GetNodesResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -9278,9 +9328,8 @@ class GetNodesResponse final : public ::google::protobuf::Message void MergeFrom(const GetNodesResponse& from) { GetNodesResponse::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -9290,49 +9339,51 @@ class GetNodesResponse final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(GetNodesResponse* other); + void InternalSwap(GetNodesResponse* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit GetNodesResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + GetNodesResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetNodesResponse& from); + GetNodesResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- using Node = GetNodesResponse_Node; @@ -9351,70 +9402,69 @@ class GetNodesResponse final : public ::google::protobuf::Message public: void clear_nodes() ; - ::management::GetNodesResponse_Node* mutable_nodes(int index); - ::google::protobuf::RepeatedPtrField<::management::GetNodesResponse_Node>* mutable_nodes(); + ::management::GetNodesResponse_Node* PROTOBUF_NONNULL mutable_nodes(int index); + ::google::protobuf::RepeatedPtrField<::management::GetNodesResponse_Node>* PROTOBUF_NONNULL mutable_nodes(); private: const ::google::protobuf::RepeatedPtrField<::management::GetNodesResponse_Node>& _internal_nodes() const; - ::google::protobuf::RepeatedPtrField<::management::GetNodesResponse_Node>* _internal_mutable_nodes(); + ::google::protobuf::RepeatedPtrField<::management::GetNodesResponse_Node>* PROTOBUF_NONNULL _internal_mutable_nodes(); public: const ::management::GetNodesResponse_Node& nodes(int index) const; - ::management::GetNodesResponse_Node* add_nodes(); + ::management::GetNodesResponse_Node* PROTOBUF_NONNULL 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 + 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); + ::std::string* PROTOBUF_NONNULL mutable_fs_uuid(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_fs_uuid(); + void set_allocated_fs_uuid(::std::string* PROTOBUF_NULLABLE 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(); + const ::std::string& _internal_fs_uuid() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_fs_uuid(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _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(); + [[nodiscard]] ::beegfs::EntityIdSet* PROTOBUF_NULLABLE release_meta_root_node(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL mutable_meta_root_node(); + void set_allocated_meta_root_node(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_meta_root_node(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE unsafe_arena_release_meta_root_node(); private: const ::beegfs::EntityIdSet& _internal_meta_root_node() const; - ::beegfs::EntityIdSet* _internal_mutable_meta_root_node(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL _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(); + [[nodiscard]] ::beegfs::EntityIdSet* PROTOBUF_NULLABLE release_meta_root_buddy_group(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL mutable_meta_root_buddy_group(); + void set_allocated_meta_root_buddy_group(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_meta_root_buddy_group(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value); + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE 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(); + ::beegfs::EntityIdSet* PROTOBUF_NONNULL _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> + static const ::google::protobuf::internal::TcParseTable<2, 4, + 3, 43, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -9424,24 +9474,27 @@ class GetNodesResponse final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const 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_; + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE meta_root_node_; + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE meta_root_buddy_group_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_management_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull GetNodesResponse_class_data_; // ------------------------------------------------------------------- class GetLicenseResponse final : public ::google::protobuf::Message @@ -9451,19 +9504,18 @@ class GetLicenseResponse final : public ::google::protobuf::Message ~GetLicenseResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetLicenseResponse* msg, std::destroying_delete_t) { + void operator delete(GetLicenseResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(GetLicenseResponse)); } #endif template - explicit PROTOBUF_CONSTEXPR GetLicenseResponse( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : GetLicenseResponse(nullptr, ::std::move(from)) {} inline GetLicenseResponse& operator=(const GetLicenseResponse& from) { CopyFrom(from); return *this; @@ -9482,30 +9534,27 @@ class GetLicenseResponse final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(GetLicenseResponse* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -9513,7 +9562,7 @@ class GetLicenseResponse final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(GetLicenseResponse* other) { + void UnsafeArenaSwap(GetLicenseResponse* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -9521,7 +9570,7 @@ class GetLicenseResponse final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - GetLicenseResponse* New(::google::protobuf::Arena* arena = nullptr) const { + GetLicenseResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -9530,9 +9579,8 @@ class GetLicenseResponse final : public ::google::protobuf::Message void MergeFrom(const GetLicenseResponse& from) { GetLicenseResponse::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -9542,49 +9590,51 @@ class GetLicenseResponse final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(GetLicenseResponse* other); + void InternalSwap(GetLicenseResponse* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit GetLicenseResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + GetLicenseResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetLicenseResponse& from); + GetLicenseResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -9596,24 +9646,24 @@ class GetLicenseResponse final : public ::google::protobuf::Message 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(); + [[nodiscard]] ::license::GetCertDataResult* PROTOBUF_NULLABLE release_cert_data(); + ::license::GetCertDataResult* PROTOBUF_NONNULL mutable_cert_data(); + void set_allocated_cert_data(::license::GetCertDataResult* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_cert_data(::license::GetCertDataResult* PROTOBUF_NULLABLE value); + ::license::GetCertDataResult* PROTOBUF_NULLABLE unsafe_arena_release_cert_data(); private: const ::license::GetCertDataResult& _internal_cert_data() const; - ::license::GetCertDataResult* _internal_mutable_cert_data(); + ::license::GetCertDataResult* PROTOBUF_NONNULL _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> + static const ::google::protobuf::internal::TcParseTable<0, 1, + 1, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -9623,21 +9673,24 @@ class GetLicenseResponse final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const GetLicenseResponse& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; - ::license::GetCertDataResult* cert_data_; + ::license::GetCertDataResult* PROTOBUF_NULLABLE cert_data_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_management_2eproto; }; + +extern const ::google::protobuf::internal::ClassDataFull GetLicenseResponse_class_data_; // ------------------------------------------------------------------- class GetBuddyGroupsResponse final : public ::google::protobuf::Message @@ -9647,19 +9700,18 @@ class GetBuddyGroupsResponse final : public ::google::protobuf::Message ~GetBuddyGroupsResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetBuddyGroupsResponse* msg, std::destroying_delete_t) { + void operator delete(GetBuddyGroupsResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(GetBuddyGroupsResponse)); } #endif template - explicit PROTOBUF_CONSTEXPR GetBuddyGroupsResponse( - ::google::protobuf::internal::ConstantInitialized); + 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)) {} + : GetBuddyGroupsResponse(nullptr, ::std::move(from)) {} inline GetBuddyGroupsResponse& operator=(const GetBuddyGroupsResponse& from) { CopyFrom(from); return *this; @@ -9678,30 +9730,27 @@ class GetBuddyGroupsResponse final : public ::google::protobuf::Message ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() { + static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } - static const ::google::protobuf::Reflection* GetReflection() { + static const ::google::protobuf::Reflection* PROTOBUF_NONNULL 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( + 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) { + inline void Swap(GetBuddyGroupsResponse* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -9709,7 +9758,7 @@ class GetBuddyGroupsResponse final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(GetBuddyGroupsResponse* other) { + void UnsafeArenaSwap(GetBuddyGroupsResponse* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -9717,7 +9766,7 @@ class GetBuddyGroupsResponse final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - GetBuddyGroupsResponse* New(::google::protobuf::Arena* arena = nullptr) const { + GetBuddyGroupsResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; @@ -9726,9 +9775,8 @@ class GetBuddyGroupsResponse final : public ::google::protobuf::Message void MergeFrom(const GetBuddyGroupsResponse& from) { GetBuddyGroupsResponse::MergeImpl(*this, from); } private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { @@ -9738,49 +9786,51 @@ class GetBuddyGroupsResponse final : public ::google::protobuf::Message #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); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: - void SharedCtor(::google::protobuf::Arena* arena); + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); - void InternalSwap(GetBuddyGroupsResponse* other); + void InternalSwap(GetBuddyGroupsResponse* PROTOBUF_NONNULL other); private: template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); + 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 + explicit GetBuddyGroupsResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + GetBuddyGroupsResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetBuddyGroupsResponse& from); + GetBuddyGroupsResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE 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); + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- using BuddyGroup = GetBuddyGroupsResponse_BuddyGroup; @@ -9796,23 +9846,23 @@ class GetBuddyGroupsResponse final : public ::google::protobuf::Message public: void clear_buddy_groups() ; - ::management::GetBuddyGroupsResponse_BuddyGroup* mutable_buddy_groups(int index); - ::google::protobuf::RepeatedPtrField<::management::GetBuddyGroupsResponse_BuddyGroup>* mutable_buddy_groups(); + ::management::GetBuddyGroupsResponse_BuddyGroup* PROTOBUF_NONNULL mutable_buddy_groups(int index); + ::google::protobuf::RepeatedPtrField<::management::GetBuddyGroupsResponse_BuddyGroup>* PROTOBUF_NONNULL 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(); + ::google::protobuf::RepeatedPtrField<::management::GetBuddyGroupsResponse_BuddyGroup>* PROTOBUF_NONNULL _internal_mutable_buddy_groups(); public: const ::management::GetBuddyGroupsResponse_BuddyGroup& buddy_groups(int index) const; - ::management::GetBuddyGroupsResponse_BuddyGroup* add_buddy_groups(); + ::management::GetBuddyGroupsResponse_BuddyGroup* PROTOBUF_NONNULL 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> + static const ::google::protobuf::internal::TcParseTable<0, 1, + 1, 0, + 2> _table_; friend class ::google::protobuf::MessageLite; @@ -9822,13 +9872,14 @@ class GetBuddyGroupsResponse final : public ::google::protobuf::Message 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); + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const GetBuddyGroupsResponse& from_msg); ::google::protobuf::RepeatedPtrField< ::management::GetBuddyGroupsResponse_BuddyGroup > buddy_groups_; ::google::protobuf::internal::CachedSize _cached_size_; PROTOBUF_TSAN_DECLARE_MEMBER @@ -9837,6 +9888,8 @@ class GetBuddyGroupsResponse final : public ::google::protobuf::Message friend struct ::TableStruct_management_2eproto; }; +extern const ::google::protobuf::internal::ClassDataFull GetBuddyGroupsResponse_class_data_; + // =================================================================== @@ -9855,7 +9908,7 @@ class GetBuddyGroupsResponse final : public ::google::protobuf::Message // .beegfs.EntityIdSet entity_id = 1; inline bool SetAliasRequest::has_entity_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; PROTOBUF_ASSUME(!value || _impl_.entity_id_ != nullptr); return value; } @@ -9868,23 +9921,24 @@ inline const ::beegfs::EntityIdSet& SetAliasRequest::entity_id() const ABSL_ATTR // @@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) { +inline void SetAliasRequest::unsafe_arena_set_allocated_entity_id( + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE 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; + _impl_._has_bits_[0] |= 0x00000002u; } else { - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000002u; } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.SetAliasRequest.entity_id) } -inline ::beegfs::EntityIdSet* SetAliasRequest::release_entity_id() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE SetAliasRequest::release_entity_id() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000002u; ::beegfs::EntityIdSet* released = _impl_.entity_id_; _impl_.entity_id_ = nullptr; if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { @@ -9900,16 +9954,16 @@ inline ::beegfs::EntityIdSet* SetAliasRequest::release_entity_id() { } return released; } -inline ::beegfs::EntityIdSet* SetAliasRequest::unsafe_arena_release_entity_id() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE 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; + _impl_._has_bits_[0] &= ~0x00000002u; ::beegfs::EntityIdSet* temp = _impl_.entity_id_; _impl_.entity_id_ = nullptr; return temp; } -inline ::beegfs::EntityIdSet* SetAliasRequest::_internal_mutable_entity_id() { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL SetAliasRequest::_internal_mutable_entity_id() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.entity_id_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); @@ -9917,13 +9971,14 @@ inline ::beegfs::EntityIdSet* SetAliasRequest::_internal_mutable_entity_id() { } return _impl_.entity_id_; } -inline ::beegfs::EntityIdSet* SetAliasRequest::mutable_entity_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL SetAliasRequest::mutable_entity_id() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; ::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) { +inline void SetAliasRequest::set_allocated_entity_id(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { @@ -9931,13 +9986,13 @@ inline void SetAliasRequest::set_allocated_entity_id(::beegfs::EntityIdSet* valu } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - _impl_._has_bits_[0] |= 0x00000001u; + _impl_._has_bits_[0] |= 0x00000002u; } else { - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000002u; } _impl_.entity_id_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); @@ -9948,6 +10003,7 @@ inline void SetAliasRequest::set_allocated_entity_id(::beegfs::EntityIdSet* valu inline void SetAliasRequest::clear_entity_type() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.entity_type_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; } inline ::beegfs::EntityType SetAliasRequest::entity_type() const { // @@protoc_insertion_point(field_get:management.SetAliasRequest.entity_type) @@ -9955,6 +10011,7 @@ inline ::beegfs::EntityType SetAliasRequest::entity_type() const { } inline void SetAliasRequest::set_entity_type(::beegfs::EntityType value) { _internal_set_entity_type(value); + _impl_._has_bits_[0] |= 0x00000004u; // @@protoc_insertion_point(field_set:management.SetAliasRequest.entity_type) } inline ::beegfs::EntityType SetAliasRequest::_internal_entity_type() const { @@ -9970,43 +10027,60 @@ inline void SetAliasRequest::_internal_set_entity_type(::beegfs::EntityType valu inline void SetAliasRequest::clear_new_alias() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.new_alias_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; } -inline const std::string& SetAliasRequest::new_alias() const +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) { +PROTOBUF_ALWAYS_INLINE void SetAliasRequest::set_new_alias(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void SetAliasRequest::_internal_set_new_alias(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _impl_.new_alias_.Set(value, GetArena()); } -inline std::string* SetAliasRequest::_internal_mutable_new_alias() { +inline ::std::string* PROTOBUF_NONNULL SetAliasRequest::_internal_mutable_new_alias() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; return _impl_.new_alias_.Mutable( GetArena()); } -inline std::string* SetAliasRequest::release_new_alias() { +inline ::std::string* PROTOBUF_NULLABLE SetAliasRequest::release_new_alias() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:management.SetAliasRequest.new_alias) - return _impl_.new_alias_.Release(); + if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* released = _impl_.new_alias_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.new_alias_.Set("", GetArena()); + } + return released; } -inline void SetAliasRequest::set_allocated_new_alias(std::string* value) { +inline void SetAliasRequest::set_allocated_new_alias(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } _impl_.new_alias_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.new_alias_.IsDefault()) { _impl_.new_alias_.Set("", GetArena()); @@ -10026,6 +10100,7 @@ inline void SetAliasRequest::set_allocated_new_alias(std::string* value) { inline void GetNodesRequest::clear_include_nics() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.include_nics_ = false; + _impl_._has_bits_[0] &= ~0x00000001u; } inline bool GetNodesRequest::include_nics() const { // @@protoc_insertion_point(field_get:management.GetNodesRequest.include_nics) @@ -10033,6 +10108,7 @@ inline bool GetNodesRequest::include_nics() const { } inline void GetNodesRequest::set_include_nics(bool value) { _internal_set_include_nics(value); + _impl_._has_bits_[0] |= 0x00000001u; // @@protoc_insertion_point(field_set:management.GetNodesRequest.include_nics) } inline bool GetNodesRequest::_internal_include_nics() const { @@ -10052,43 +10128,60 @@ inline void GetNodesRequest::_internal_set_include_nics(bool value) { inline void GetNodesResponse_Node_Nic::clear_addr() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.addr_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; } -inline const std::string& GetNodesResponse_Node_Nic::addr() const +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) { +PROTOBUF_ALWAYS_INLINE void GetNodesResponse_Node_Nic::set_addr(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void GetNodesResponse_Node_Nic::_internal_set_addr(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; _impl_.addr_.Set(value, GetArena()); } -inline std::string* GetNodesResponse_Node_Nic::_internal_mutable_addr() { +inline ::std::string* PROTOBUF_NONNULL GetNodesResponse_Node_Nic::_internal_mutable_addr() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; return _impl_.addr_.Mutable( GetArena()); } -inline std::string* GetNodesResponse_Node_Nic::release_addr() { +inline ::std::string* PROTOBUF_NULLABLE GetNodesResponse_Node_Nic::release_addr() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:management.GetNodesResponse.Node.Nic.addr) - return _impl_.addr_.Release(); + if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* released = _impl_.addr_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.addr_.Set("", GetArena()); + } + return released; } -inline void GetNodesResponse_Node_Nic::set_allocated_addr(std::string* value) { +inline void GetNodesResponse_Node_Nic::set_allocated_addr(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } _impl_.addr_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.addr_.IsDefault()) { _impl_.addr_.Set("", GetArena()); @@ -10100,43 +10193,60 @@ inline void GetNodesResponse_Node_Nic::set_allocated_addr(std::string* value) { inline void GetNodesResponse_Node_Nic::clear_name() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; } -inline const std::string& GetNodesResponse_Node_Nic::name() const +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) { +PROTOBUF_ALWAYS_INLINE void GetNodesResponse_Node_Nic::set_name(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; _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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +inline void GetNodesResponse_Node_Nic::_internal_set_name(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; _impl_.name_.Set(value, GetArena()); } -inline std::string* GetNodesResponse_Node_Nic::_internal_mutable_name() { +inline ::std::string* PROTOBUF_NONNULL GetNodesResponse_Node_Nic::_internal_mutable_name() { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000002u; return _impl_.name_.Mutable( GetArena()); } -inline std::string* GetNodesResponse_Node_Nic::release_name() { +inline ::std::string* PROTOBUF_NULLABLE GetNodesResponse_Node_Nic::release_name() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:management.GetNodesResponse.Node.Nic.name) - return _impl_.name_.Release(); + if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* released = _impl_.name_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.name_.Set("", GetArena()); + } + return released; } -inline void GetNodesResponse_Node_Nic::set_allocated_name(std::string* value) { +inline void GetNodesResponse_Node_Nic::set_allocated_name(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } _impl_.name_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) { _impl_.name_.Set("", GetArena()); @@ -10148,6 +10258,7 @@ inline void GetNodesResponse_Node_Nic::set_allocated_name(std::string* value) { inline void GetNodesResponse_Node_Nic::clear_nic_type() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.nic_type_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; } inline ::beegfs::NicType GetNodesResponse_Node_Nic::nic_type() const { // @@protoc_insertion_point(field_get:management.GetNodesResponse.Node.Nic.nic_type) @@ -10155,6 +10266,7 @@ inline ::beegfs::NicType GetNodesResponse_Node_Nic::nic_type() const { } inline void GetNodesResponse_Node_Nic::set_nic_type(::beegfs::NicType value) { _internal_set_nic_type(value); + _impl_._has_bits_[0] |= 0x00000004u; // @@protoc_insertion_point(field_set:management.GetNodesResponse.Node.Nic.nic_type) } inline ::beegfs::NicType GetNodesResponse_Node_Nic::_internal_nic_type() const { @@ -10185,7 +10297,8 @@ inline const ::beegfs::EntityIdSet& GetNodesResponse_Node::id() const ABSL_ATTRI // @@protoc_insertion_point(field_get:management.GetNodesResponse.Node.id) return _internal_id(); } -inline void GetNodesResponse_Node::unsafe_arena_set_allocated_id(::beegfs::EntityIdSet* value) { +inline void GetNodesResponse_Node::unsafe_arena_set_allocated_id( + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.id_); @@ -10198,7 +10311,7 @@ inline void GetNodesResponse_Node::unsafe_arena_set_allocated_id(::beegfs::Entit } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.GetNodesResponse.Node.id) } -inline ::beegfs::EntityIdSet* GetNodesResponse_Node::release_id() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE GetNodesResponse_Node::release_id() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000001u; @@ -10217,7 +10330,7 @@ inline ::beegfs::EntityIdSet* GetNodesResponse_Node::release_id() { } return released; } -inline ::beegfs::EntityIdSet* GetNodesResponse_Node::unsafe_arena_release_id() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE GetNodesResponse_Node::unsafe_arena_release_id() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:management.GetNodesResponse.Node.id) @@ -10226,7 +10339,7 @@ inline ::beegfs::EntityIdSet* GetNodesResponse_Node::unsafe_arena_release_id() { _impl_.id_ = nullptr; return temp; } -inline ::beegfs::EntityIdSet* GetNodesResponse_Node::_internal_mutable_id() { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL GetNodesResponse_Node::_internal_mutable_id() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.id_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); @@ -10234,13 +10347,14 @@ inline ::beegfs::EntityIdSet* GetNodesResponse_Node::_internal_mutable_id() { } return _impl_.id_; } -inline ::beegfs::EntityIdSet* GetNodesResponse_Node::mutable_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL 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) { +inline void GetNodesResponse_Node::set_allocated_id(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { @@ -10248,7 +10362,7 @@ inline void GetNodesResponse_Node::set_allocated_id(::beegfs::EntityIdSet* value } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } @@ -10265,6 +10379,7 @@ inline void GetNodesResponse_Node::set_allocated_id(::beegfs::EntityIdSet* value inline void GetNodesResponse_Node::clear_node_type() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.node_type_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; } inline ::beegfs::NodeType GetNodesResponse_Node::node_type() const { // @@protoc_insertion_point(field_get:management.GetNodesResponse.Node.node_type) @@ -10272,6 +10387,7 @@ inline ::beegfs::NodeType GetNodesResponse_Node::node_type() const { } inline void GetNodesResponse_Node::set_node_type(::beegfs::NodeType value) { _internal_set_node_type(value); + _impl_._has_bits_[0] |= 0x00000002u; // @@protoc_insertion_point(field_set:management.GetNodesResponse.Node.node_type) } inline ::beegfs::NodeType GetNodesResponse_Node::_internal_node_type() const { @@ -10287,6 +10403,7 @@ inline void GetNodesResponse_Node::_internal_set_node_type(::beegfs::NodeType va inline void GetNodesResponse_Node::clear_port() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.port_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; } inline ::uint32_t GetNodesResponse_Node::port() const { // @@protoc_insertion_point(field_get:management.GetNodesResponse.Node.port) @@ -10294,6 +10411,7 @@ inline ::uint32_t GetNodesResponse_Node::port() const { } inline void GetNodesResponse_Node::set_port(::uint32_t value) { _internal_set_port(value); + _impl_._has_bits_[0] |= 0x00000004u; // @@protoc_insertion_point(field_set:management.GetNodesResponse.Node.port) } inline ::uint32_t GetNodesResponse_Node::_internal_port() const { @@ -10316,12 +10434,12 @@ 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) +inline ::management::GetNodesResponse_Node_Nic* PROTOBUF_NONNULL 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() +inline ::google::protobuf::RepeatedPtrField<::management::GetNodesResponse_Node_Nic>* PROTOBUF_NONNULL GetNodesResponse_Node::mutable_nics() ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_mutable_list:management.GetNodesResponse.Node.nics) ::google::protobuf::internal::TSanWrite(&_impl_); @@ -10332,7 +10450,8 @@ inline const ::management::GetNodesResponse_Node_Nic& GetNodesResponse_Node::nic // @@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 { +inline ::management::GetNodesResponse_Node_Nic* PROTOBUF_NONNULL 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) @@ -10348,7 +10467,7 @@ GetNodesResponse_Node::_internal_nics() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.nics_; } -inline ::google::protobuf::RepeatedPtrField<::management::GetNodesResponse_Node_Nic>* +inline ::google::protobuf::RepeatedPtrField<::management::GetNodesResponse_Node_Nic>* PROTOBUF_NONNULL GetNodesResponse_Node::_internal_mutable_nics() { ::google::protobuf::internal::TSanRead(&_impl_); return &_impl_.nics_; @@ -10369,12 +10488,12 @@ inline void GetNodesResponse::clear_nodes() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.nodes_.Clear(); } -inline ::management::GetNodesResponse_Node* GetNodesResponse::mutable_nodes(int index) +inline ::management::GetNodesResponse_Node* PROTOBUF_NONNULL 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() +inline ::google::protobuf::RepeatedPtrField<::management::GetNodesResponse_Node>* PROTOBUF_NONNULL GetNodesResponse::mutable_nodes() ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_mutable_list:management.GetNodesResponse.nodes) ::google::protobuf::internal::TSanWrite(&_impl_); @@ -10385,7 +10504,8 @@ inline const ::management::GetNodesResponse_Node& GetNodesResponse::nodes(int in // @@protoc_insertion_point(field_get:management.GetNodesResponse.nodes) return _internal_nodes().Get(index); } -inline ::management::GetNodesResponse_Node* GetNodesResponse::add_nodes() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::management::GetNodesResponse_Node* PROTOBUF_NONNULL 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) @@ -10401,7 +10521,7 @@ GetNodesResponse::_internal_nodes() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.nodes_; } -inline ::google::protobuf::RepeatedPtrField<::management::GetNodesResponse_Node>* +inline ::google::protobuf::RepeatedPtrField<::management::GetNodesResponse_Node>* PROTOBUF_NONNULL GetNodesResponse::_internal_mutable_nodes() { ::google::protobuf::internal::TSanRead(&_impl_); return &_impl_.nodes_; @@ -10422,7 +10542,8 @@ inline const ::beegfs::EntityIdSet& GetNodesResponse::meta_root_node() const ABS // @@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) { +inline void GetNodesResponse::unsafe_arena_set_allocated_meta_root_node( + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.meta_root_node_); @@ -10435,7 +10556,7 @@ inline void GetNodesResponse::unsafe_arena_set_allocated_meta_root_node(::beegfs } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.GetNodesResponse.meta_root_node) } -inline ::beegfs::EntityIdSet* GetNodesResponse::release_meta_root_node() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE GetNodesResponse::release_meta_root_node() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000002u; @@ -10454,7 +10575,7 @@ inline ::beegfs::EntityIdSet* GetNodesResponse::release_meta_root_node() { } return released; } -inline ::beegfs::EntityIdSet* GetNodesResponse::unsafe_arena_release_meta_root_node() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE GetNodesResponse::unsafe_arena_release_meta_root_node() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:management.GetNodesResponse.meta_root_node) @@ -10463,7 +10584,7 @@ inline ::beegfs::EntityIdSet* GetNodesResponse::unsafe_arena_release_meta_root_n _impl_.meta_root_node_ = nullptr; return temp; } -inline ::beegfs::EntityIdSet* GetNodesResponse::_internal_mutable_meta_root_node() { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL 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()); @@ -10471,13 +10592,14 @@ inline ::beegfs::EntityIdSet* GetNodesResponse::_internal_mutable_meta_root_node } return _impl_.meta_root_node_; } -inline ::beegfs::EntityIdSet* GetNodesResponse::mutable_meta_root_node() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL 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) { +inline void GetNodesResponse::set_allocated_meta_root_node(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { @@ -10485,7 +10607,7 @@ inline void GetNodesResponse::set_allocated_meta_root_node(::beegfs::EntityIdSet } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } @@ -10508,39 +10630,39 @@ inline void GetNodesResponse::clear_fs_uuid() { _impl_.fs_uuid_.ClearToEmpty(); _impl_._has_bits_[0] &= ~0x00000001u; } -inline const std::string& GetNodesResponse::fs_uuid() const +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) { +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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +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() { +inline ::std::string* PROTOBUF_NONNULL 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() { +inline ::std::string* PROTOBUF_NULLABLE 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) { @@ -10553,7 +10675,7 @@ inline std::string* GetNodesResponse::release_fs_uuid() { } return released; } -inline void GetNodesResponse::set_allocated_fs_uuid(std::string* value) { +inline void GetNodesResponse::set_allocated_fs_uuid(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (value != nullptr) { _impl_._has_bits_[0] |= 0x00000001u; @@ -10582,7 +10704,8 @@ inline const ::beegfs::EntityIdSet& GetNodesResponse::meta_root_buddy_group() co // @@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) { +inline void GetNodesResponse::unsafe_arena_set_allocated_meta_root_buddy_group( + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.meta_root_buddy_group_); @@ -10595,7 +10718,7 @@ inline void GetNodesResponse::unsafe_arena_set_allocated_meta_root_buddy_group(: } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.GetNodesResponse.meta_root_buddy_group) } -inline ::beegfs::EntityIdSet* GetNodesResponse::release_meta_root_buddy_group() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE GetNodesResponse::release_meta_root_buddy_group() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000004u; @@ -10614,7 +10737,7 @@ inline ::beegfs::EntityIdSet* GetNodesResponse::release_meta_root_buddy_group() } return released; } -inline ::beegfs::EntityIdSet* GetNodesResponse::unsafe_arena_release_meta_root_buddy_group() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE GetNodesResponse::unsafe_arena_release_meta_root_buddy_group() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:management.GetNodesResponse.meta_root_buddy_group) @@ -10623,7 +10746,7 @@ inline ::beegfs::EntityIdSet* GetNodesResponse::unsafe_arena_release_meta_root_b _impl_.meta_root_buddy_group_ = nullptr; return temp; } -inline ::beegfs::EntityIdSet* GetNodesResponse::_internal_mutable_meta_root_buddy_group() { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL 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()); @@ -10631,13 +10754,14 @@ inline ::beegfs::EntityIdSet* GetNodesResponse::_internal_mutable_meta_root_budd } return _impl_.meta_root_buddy_group_; } -inline ::beegfs::EntityIdSet* GetNodesResponse::mutable_meta_root_buddy_group() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL 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) { +inline void GetNodesResponse::set_allocated_meta_root_buddy_group(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { @@ -10645,7 +10769,7 @@ inline void GetNodesResponse::set_allocated_meta_root_buddy_group(::beegfs::Enti } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } @@ -10677,7 +10801,8 @@ inline const ::beegfs::EntityIdSet& DeleteNodeRequest::node() const ABSL_ATTRIBU // @@protoc_insertion_point(field_get:management.DeleteNodeRequest.node) return _internal_node(); } -inline void DeleteNodeRequest::unsafe_arena_set_allocated_node(::beegfs::EntityIdSet* value) { +inline void DeleteNodeRequest::unsafe_arena_set_allocated_node( + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.node_); @@ -10690,7 +10815,7 @@ inline void DeleteNodeRequest::unsafe_arena_set_allocated_node(::beegfs::EntityI } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.DeleteNodeRequest.node) } -inline ::beegfs::EntityIdSet* DeleteNodeRequest::release_node() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE DeleteNodeRequest::release_node() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000001u; @@ -10709,7 +10834,7 @@ inline ::beegfs::EntityIdSet* DeleteNodeRequest::release_node() { } return released; } -inline ::beegfs::EntityIdSet* DeleteNodeRequest::unsafe_arena_release_node() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE DeleteNodeRequest::unsafe_arena_release_node() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:management.DeleteNodeRequest.node) @@ -10718,7 +10843,7 @@ inline ::beegfs::EntityIdSet* DeleteNodeRequest::unsafe_arena_release_node() { _impl_.node_ = nullptr; return temp; } -inline ::beegfs::EntityIdSet* DeleteNodeRequest::_internal_mutable_node() { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL DeleteNodeRequest::_internal_mutable_node() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.node_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); @@ -10726,13 +10851,14 @@ inline ::beegfs::EntityIdSet* DeleteNodeRequest::_internal_mutable_node() { } return _impl_.node_; } -inline ::beegfs::EntityIdSet* DeleteNodeRequest::mutable_node() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL 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) { +inline void DeleteNodeRequest::set_allocated_node(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { @@ -10740,7 +10866,7 @@ inline void DeleteNodeRequest::set_allocated_node(::beegfs::EntityIdSet* value) } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } @@ -10800,7 +10926,8 @@ inline const ::beegfs::EntityIdSet& DeleteNodeResponse::node() const ABSL_ATTRIB // @@protoc_insertion_point(field_get:management.DeleteNodeResponse.node) return _internal_node(); } -inline void DeleteNodeResponse::unsafe_arena_set_allocated_node(::beegfs::EntityIdSet* value) { +inline void DeleteNodeResponse::unsafe_arena_set_allocated_node( + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.node_); @@ -10813,7 +10940,7 @@ inline void DeleteNodeResponse::unsafe_arena_set_allocated_node(::beegfs::Entity } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.DeleteNodeResponse.node) } -inline ::beegfs::EntityIdSet* DeleteNodeResponse::release_node() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE DeleteNodeResponse::release_node() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000001u; @@ -10832,7 +10959,7 @@ inline ::beegfs::EntityIdSet* DeleteNodeResponse::release_node() { } return released; } -inline ::beegfs::EntityIdSet* DeleteNodeResponse::unsafe_arena_release_node() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE DeleteNodeResponse::unsafe_arena_release_node() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:management.DeleteNodeResponse.node) @@ -10841,7 +10968,7 @@ inline ::beegfs::EntityIdSet* DeleteNodeResponse::unsafe_arena_release_node() { _impl_.node_ = nullptr; return temp; } -inline ::beegfs::EntityIdSet* DeleteNodeResponse::_internal_mutable_node() { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL DeleteNodeResponse::_internal_mutable_node() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.node_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); @@ -10849,13 +10976,14 @@ inline ::beegfs::EntityIdSet* DeleteNodeResponse::_internal_mutable_node() { } return _impl_.node_; } -inline ::beegfs::EntityIdSet* DeleteNodeResponse::mutable_node() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL 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) { +inline void DeleteNodeResponse::set_allocated_node(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { @@ -10863,7 +10991,7 @@ inline void DeleteNodeResponse::set_allocated_node(::beegfs::EntityIdSet* value) } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } @@ -10899,7 +11027,8 @@ inline const ::beegfs::EntityIdSet& GetTargetsResponse_Target::id() const ABSL_A // @@protoc_insertion_point(field_get:management.GetTargetsResponse.Target.id) return _internal_id(); } -inline void GetTargetsResponse_Target::unsafe_arena_set_allocated_id(::beegfs::EntityIdSet* value) { +inline void GetTargetsResponse_Target::unsafe_arena_set_allocated_id( + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.id_); @@ -10912,7 +11041,7 @@ inline void GetTargetsResponse_Target::unsafe_arena_set_allocated_id(::beegfs::E } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.GetTargetsResponse.Target.id) } -inline ::beegfs::EntityIdSet* GetTargetsResponse_Target::release_id() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE GetTargetsResponse_Target::release_id() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000001u; @@ -10931,7 +11060,7 @@ inline ::beegfs::EntityIdSet* GetTargetsResponse_Target::release_id() { } return released; } -inline ::beegfs::EntityIdSet* GetTargetsResponse_Target::unsafe_arena_release_id() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE GetTargetsResponse_Target::unsafe_arena_release_id() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:management.GetTargetsResponse.Target.id) @@ -10940,7 +11069,7 @@ inline ::beegfs::EntityIdSet* GetTargetsResponse_Target::unsafe_arena_release_id _impl_.id_ = nullptr; return temp; } -inline ::beegfs::EntityIdSet* GetTargetsResponse_Target::_internal_mutable_id() { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL GetTargetsResponse_Target::_internal_mutable_id() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.id_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); @@ -10948,13 +11077,14 @@ inline ::beegfs::EntityIdSet* GetTargetsResponse_Target::_internal_mutable_id() } return _impl_.id_; } -inline ::beegfs::EntityIdSet* GetTargetsResponse_Target::mutable_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL 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) { +inline void GetTargetsResponse_Target::set_allocated_id(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { @@ -10962,7 +11092,7 @@ inline void GetTargetsResponse_Target::set_allocated_id(::beegfs::EntityIdSet* v } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } @@ -10979,6 +11109,7 @@ inline void GetTargetsResponse_Target::set_allocated_id(::beegfs::EntityIdSet* v inline void GetTargetsResponse_Target::clear_node_type() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.node_type_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; } inline ::beegfs::NodeType GetTargetsResponse_Target::node_type() const { // @@protoc_insertion_point(field_get:management.GetTargetsResponse.Target.node_type) @@ -10986,6 +11117,7 @@ inline ::beegfs::NodeType GetTargetsResponse_Target::node_type() const { } inline void GetTargetsResponse_Target::set_node_type(::beegfs::NodeType value) { _internal_set_node_type(value); + _impl_._has_bits_[0] |= 0x00000008u; // @@protoc_insertion_point(field_set:management.GetTargetsResponse.Target.node_type) } inline ::beegfs::NodeType GetTargetsResponse_Target::_internal_node_type() const { @@ -11001,6 +11133,7 @@ inline void GetTargetsResponse_Target::_internal_set_node_type(::beegfs::NodeTyp inline void GetTargetsResponse_Target::clear_reachability_state() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.reachability_state_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; } inline ::beegfs::ReachabilityState GetTargetsResponse_Target::reachability_state() const { // @@protoc_insertion_point(field_get:management.GetTargetsResponse.Target.reachability_state) @@ -11008,6 +11141,7 @@ inline ::beegfs::ReachabilityState GetTargetsResponse_Target::reachability_state } inline void GetTargetsResponse_Target::set_reachability_state(::beegfs::ReachabilityState value) { _internal_set_reachability_state(value); + _impl_._has_bits_[0] |= 0x00000010u; // @@protoc_insertion_point(field_set:management.GetTargetsResponse.Target.reachability_state) } inline ::beegfs::ReachabilityState GetTargetsResponse_Target::_internal_reachability_state() const { @@ -11023,6 +11157,7 @@ inline void GetTargetsResponse_Target::_internal_set_reachability_state(::beegfs inline void GetTargetsResponse_Target::clear_consistency_state() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.consistency_state_ = 0; + _impl_._has_bits_[0] &= ~0x00000100u; } inline ::beegfs::ConsistencyState GetTargetsResponse_Target::consistency_state() const { // @@protoc_insertion_point(field_get:management.GetTargetsResponse.Target.consistency_state) @@ -11030,6 +11165,7 @@ inline ::beegfs::ConsistencyState GetTargetsResponse_Target::consistency_state() } inline void GetTargetsResponse_Target::set_consistency_state(::beegfs::ConsistencyState value) { _internal_set_consistency_state(value); + _impl_._has_bits_[0] |= 0x00000100u; // @@protoc_insertion_point(field_set:management.GetTargetsResponse.Target.consistency_state) } inline ::beegfs::ConsistencyState GetTargetsResponse_Target::_internal_consistency_state() const { @@ -11043,13 +11179,13 @@ inline void GetTargetsResponse_Target::_internal_set_consistency_state(::beegfs: // optional uint64 last_contact_s = 5; inline bool GetTargetsResponse_Target::has_last_contact_s() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 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; + _impl_._has_bits_[0] &= ~0x00000020u; } inline ::uint64_t GetTargetsResponse_Target::last_contact_s() const { // @@protoc_insertion_point(field_get:management.GetTargetsResponse.Target.last_contact_s) @@ -11057,7 +11193,7 @@ inline ::uint64_t GetTargetsResponse_Target::last_contact_s() const { } inline void GetTargetsResponse_Target::set_last_contact_s(::uint64_t value) { _internal_set_last_contact_s(value); - _impl_._has_bits_[0] |= 0x00000008u; + _impl_._has_bits_[0] |= 0x00000020u; // @@protoc_insertion_point(field_set:management.GetTargetsResponse.Target.last_contact_s) } inline ::uint64_t GetTargetsResponse_Target::_internal_last_contact_s() const { @@ -11071,13 +11207,13 @@ inline void GetTargetsResponse_Target::_internal_set_last_contact_s(::uint64_t v // optional uint64 total_space_bytes = 6; inline bool GetTargetsResponse_Target::has_total_space_bytes() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 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; + _impl_._has_bits_[0] &= ~0x00000040u; } inline ::uint64_t GetTargetsResponse_Target::total_space_bytes() const { // @@protoc_insertion_point(field_get:management.GetTargetsResponse.Target.total_space_bytes) @@ -11085,7 +11221,7 @@ inline ::uint64_t GetTargetsResponse_Target::total_space_bytes() const { } inline void GetTargetsResponse_Target::set_total_space_bytes(::uint64_t value) { _internal_set_total_space_bytes(value); - _impl_._has_bits_[0] |= 0x00000010u; + _impl_._has_bits_[0] |= 0x00000040u; // @@protoc_insertion_point(field_set:management.GetTargetsResponse.Target.total_space_bytes) } inline ::uint64_t GetTargetsResponse_Target::_internal_total_space_bytes() const { @@ -11099,13 +11235,13 @@ inline void GetTargetsResponse_Target::_internal_set_total_space_bytes(::uint64_ // optional uint64 free_space_bytes = 7; inline bool GetTargetsResponse_Target::has_free_space_bytes() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 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; + _impl_._has_bits_[0] &= ~0x00000080u; } inline ::uint64_t GetTargetsResponse_Target::free_space_bytes() const { // @@protoc_insertion_point(field_get:management.GetTargetsResponse.Target.free_space_bytes) @@ -11113,7 +11249,7 @@ inline ::uint64_t GetTargetsResponse_Target::free_space_bytes() const { } inline void GetTargetsResponse_Target::set_free_space_bytes(::uint64_t value) { _internal_set_free_space_bytes(value); - _impl_._has_bits_[0] |= 0x00000020u; + _impl_._has_bits_[0] |= 0x00000080u; // @@protoc_insertion_point(field_set:management.GetTargetsResponse.Target.free_space_bytes) } inline ::uint64_t GetTargetsResponse_Target::_internal_free_space_bytes() const { @@ -11127,13 +11263,13 @@ inline void GetTargetsResponse_Target::_internal_set_free_space_bytes(::uint64_t // optional uint64 total_inodes = 8; inline bool GetTargetsResponse_Target::has_total_inodes() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 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; + _impl_._has_bits_[0] &= ~0x00000400u; } inline ::uint64_t GetTargetsResponse_Target::total_inodes() const { // @@protoc_insertion_point(field_get:management.GetTargetsResponse.Target.total_inodes) @@ -11141,7 +11277,7 @@ inline ::uint64_t GetTargetsResponse_Target::total_inodes() const { } inline void GetTargetsResponse_Target::set_total_inodes(::uint64_t value) { _internal_set_total_inodes(value); - _impl_._has_bits_[0] |= 0x00000040u; + _impl_._has_bits_[0] |= 0x00000400u; // @@protoc_insertion_point(field_set:management.GetTargetsResponse.Target.total_inodes) } inline ::uint64_t GetTargetsResponse_Target::_internal_total_inodes() const { @@ -11155,13 +11291,13 @@ inline void GetTargetsResponse_Target::_internal_set_total_inodes(::uint64_t val // optional uint64 free_inodes = 9; inline bool GetTargetsResponse_Target::has_free_inodes() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 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; + _impl_._has_bits_[0] &= ~0x00000800u; } inline ::uint64_t GetTargetsResponse_Target::free_inodes() const { // @@protoc_insertion_point(field_get:management.GetTargetsResponse.Target.free_inodes) @@ -11169,7 +11305,7 @@ inline ::uint64_t GetTargetsResponse_Target::free_inodes() const { } inline void GetTargetsResponse_Target::set_free_inodes(::uint64_t value) { _internal_set_free_inodes(value); - _impl_._has_bits_[0] |= 0x00000080u; + _impl_._has_bits_[0] |= 0x00000800u; // @@protoc_insertion_point(field_set:management.GetTargetsResponse.Target.free_inodes) } inline ::uint64_t GetTargetsResponse_Target::_internal_free_inodes() const { @@ -11185,6 +11321,7 @@ inline void GetTargetsResponse_Target::_internal_set_free_inodes(::uint64_t valu inline void GetTargetsResponse_Target::clear_cap_pool() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.cap_pool_ = 0; + _impl_._has_bits_[0] &= ~0x00000200u; } inline ::beegfs::CapacityPool GetTargetsResponse_Target::cap_pool() const { // @@protoc_insertion_point(field_get:management.GetTargetsResponse.Target.cap_pool) @@ -11192,6 +11329,7 @@ inline ::beegfs::CapacityPool GetTargetsResponse_Target::cap_pool() const { } inline void GetTargetsResponse_Target::set_cap_pool(::beegfs::CapacityPool value) { _internal_set_cap_pool(value); + _impl_._has_bits_[0] |= 0x00000200u; // @@protoc_insertion_point(field_set:management.GetTargetsResponse.Target.cap_pool) } inline ::beegfs::CapacityPool GetTargetsResponse_Target::_internal_cap_pool() const { @@ -11218,7 +11356,8 @@ inline const ::beegfs::EntityIdSet& GetTargetsResponse_Target::node() const ABSL // @@protoc_insertion_point(field_get:management.GetTargetsResponse.Target.node) return _internal_node(); } -inline void GetTargetsResponse_Target::unsafe_arena_set_allocated_node(::beegfs::EntityIdSet* value) { +inline void GetTargetsResponse_Target::unsafe_arena_set_allocated_node( + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.node_); @@ -11231,7 +11370,7 @@ inline void GetTargetsResponse_Target::unsafe_arena_set_allocated_node(::beegfs: } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.GetTargetsResponse.Target.node) } -inline ::beegfs::EntityIdSet* GetTargetsResponse_Target::release_node() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE GetTargetsResponse_Target::release_node() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000002u; @@ -11250,7 +11389,7 @@ inline ::beegfs::EntityIdSet* GetTargetsResponse_Target::release_node() { } return released; } -inline ::beegfs::EntityIdSet* GetTargetsResponse_Target::unsafe_arena_release_node() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE GetTargetsResponse_Target::unsafe_arena_release_node() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:management.GetTargetsResponse.Target.node) @@ -11259,7 +11398,7 @@ inline ::beegfs::EntityIdSet* GetTargetsResponse_Target::unsafe_arena_release_no _impl_.node_ = nullptr; return temp; } -inline ::beegfs::EntityIdSet* GetTargetsResponse_Target::_internal_mutable_node() { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL GetTargetsResponse_Target::_internal_mutable_node() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.node_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); @@ -11267,13 +11406,14 @@ inline ::beegfs::EntityIdSet* GetTargetsResponse_Target::_internal_mutable_node( } return _impl_.node_; } -inline ::beegfs::EntityIdSet* GetTargetsResponse_Target::mutable_node() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL 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) { +inline void GetTargetsResponse_Target::set_allocated_node(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { @@ -11281,7 +11421,7 @@ inline void GetTargetsResponse_Target::set_allocated_node(::beegfs::EntityIdSet* } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } @@ -11309,7 +11449,8 @@ inline const ::beegfs::EntityIdSet& GetTargetsResponse_Target::storage_pool() co // @@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) { +inline void GetTargetsResponse_Target::unsafe_arena_set_allocated_storage_pool( + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.storage_pool_); @@ -11322,7 +11463,7 @@ inline void GetTargetsResponse_Target::unsafe_arena_set_allocated_storage_pool(: } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.GetTargetsResponse.Target.storage_pool) } -inline ::beegfs::EntityIdSet* GetTargetsResponse_Target::release_storage_pool() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE GetTargetsResponse_Target::release_storage_pool() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000004u; @@ -11341,7 +11482,7 @@ inline ::beegfs::EntityIdSet* GetTargetsResponse_Target::release_storage_pool() } return released; } -inline ::beegfs::EntityIdSet* GetTargetsResponse_Target::unsafe_arena_release_storage_pool() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE GetTargetsResponse_Target::unsafe_arena_release_storage_pool() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:management.GetTargetsResponse.Target.storage_pool) @@ -11350,7 +11491,7 @@ inline ::beegfs::EntityIdSet* GetTargetsResponse_Target::unsafe_arena_release_st _impl_.storage_pool_ = nullptr; return temp; } -inline ::beegfs::EntityIdSet* GetTargetsResponse_Target::_internal_mutable_storage_pool() { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL 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()); @@ -11358,13 +11499,14 @@ inline ::beegfs::EntityIdSet* GetTargetsResponse_Target::_internal_mutable_stora } return _impl_.storage_pool_; } -inline ::beegfs::EntityIdSet* GetTargetsResponse_Target::mutable_storage_pool() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL 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) { +inline void GetTargetsResponse_Target::set_allocated_storage_pool(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { @@ -11372,7 +11514,7 @@ inline void GetTargetsResponse_Target::set_allocated_storage_pool(::beegfs::Enti } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } @@ -11400,12 +11542,12 @@ inline void GetTargetsResponse::clear_targets() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.targets_.Clear(); } -inline ::management::GetTargetsResponse_Target* GetTargetsResponse::mutable_targets(int index) +inline ::management::GetTargetsResponse_Target* PROTOBUF_NONNULL 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() +inline ::google::protobuf::RepeatedPtrField<::management::GetTargetsResponse_Target>* PROTOBUF_NONNULL GetTargetsResponse::mutable_targets() ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_mutable_list:management.GetTargetsResponse.targets) ::google::protobuf::internal::TSanWrite(&_impl_); @@ -11416,7 +11558,8 @@ inline const ::management::GetTargetsResponse_Target& GetTargetsResponse::target // @@protoc_insertion_point(field_get:management.GetTargetsResponse.targets) return _internal_targets().Get(index); } -inline ::management::GetTargetsResponse_Target* GetTargetsResponse::add_targets() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::management::GetTargetsResponse_Target* PROTOBUF_NONNULL 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) @@ -11432,7 +11575,7 @@ GetTargetsResponse::_internal_targets() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.targets_; } -inline ::google::protobuf::RepeatedPtrField<::management::GetTargetsResponse_Target>* +inline ::google::protobuf::RepeatedPtrField<::management::GetTargetsResponse_Target>* PROTOBUF_NONNULL GetTargetsResponse::_internal_mutable_targets() { ::google::protobuf::internal::TSanRead(&_impl_); return &_impl_.targets_; @@ -11457,7 +11600,8 @@ inline const ::beegfs::EntityIdSet& DeleteTargetRequest::target() const ABSL_ATT // @@protoc_insertion_point(field_get:management.DeleteTargetRequest.target) return _internal_target(); } -inline void DeleteTargetRequest::unsafe_arena_set_allocated_target(::beegfs::EntityIdSet* value) { +inline void DeleteTargetRequest::unsafe_arena_set_allocated_target( + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.target_); @@ -11470,7 +11614,7 @@ inline void DeleteTargetRequest::unsafe_arena_set_allocated_target(::beegfs::Ent } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.DeleteTargetRequest.target) } -inline ::beegfs::EntityIdSet* DeleteTargetRequest::release_target() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE DeleteTargetRequest::release_target() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000001u; @@ -11489,7 +11633,7 @@ inline ::beegfs::EntityIdSet* DeleteTargetRequest::release_target() { } return released; } -inline ::beegfs::EntityIdSet* DeleteTargetRequest::unsafe_arena_release_target() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE DeleteTargetRequest::unsafe_arena_release_target() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:management.DeleteTargetRequest.target) @@ -11498,7 +11642,7 @@ inline ::beegfs::EntityIdSet* DeleteTargetRequest::unsafe_arena_release_target() _impl_.target_ = nullptr; return temp; } -inline ::beegfs::EntityIdSet* DeleteTargetRequest::_internal_mutable_target() { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL DeleteTargetRequest::_internal_mutable_target() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.target_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); @@ -11506,13 +11650,14 @@ inline ::beegfs::EntityIdSet* DeleteTargetRequest::_internal_mutable_target() { } return _impl_.target_; } -inline ::beegfs::EntityIdSet* DeleteTargetRequest::mutable_target() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL 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) { +inline void DeleteTargetRequest::set_allocated_target(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { @@ -11520,7 +11665,7 @@ inline void DeleteTargetRequest::set_allocated_target(::beegfs::EntityIdSet* val } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } @@ -11580,7 +11725,8 @@ inline const ::beegfs::EntityIdSet& DeleteTargetResponse::target() const ABSL_AT // @@protoc_insertion_point(field_get:management.DeleteTargetResponse.target) return _internal_target(); } -inline void DeleteTargetResponse::unsafe_arena_set_allocated_target(::beegfs::EntityIdSet* value) { +inline void DeleteTargetResponse::unsafe_arena_set_allocated_target( + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.target_); @@ -11593,7 +11739,7 @@ inline void DeleteTargetResponse::unsafe_arena_set_allocated_target(::beegfs::En } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.DeleteTargetResponse.target) } -inline ::beegfs::EntityIdSet* DeleteTargetResponse::release_target() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE DeleteTargetResponse::release_target() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000001u; @@ -11612,7 +11758,7 @@ inline ::beegfs::EntityIdSet* DeleteTargetResponse::release_target() { } return released; } -inline ::beegfs::EntityIdSet* DeleteTargetResponse::unsafe_arena_release_target() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE DeleteTargetResponse::unsafe_arena_release_target() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:management.DeleteTargetResponse.target) @@ -11621,7 +11767,7 @@ inline ::beegfs::EntityIdSet* DeleteTargetResponse::unsafe_arena_release_target( _impl_.target_ = nullptr; return temp; } -inline ::beegfs::EntityIdSet* DeleteTargetResponse::_internal_mutable_target() { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL DeleteTargetResponse::_internal_mutable_target() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.target_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); @@ -11629,13 +11775,14 @@ inline ::beegfs::EntityIdSet* DeleteTargetResponse::_internal_mutable_target() { } return _impl_.target_; } -inline ::beegfs::EntityIdSet* DeleteTargetResponse::mutable_target() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL 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) { +inline void DeleteTargetResponse::set_allocated_target(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { @@ -11643,7 +11790,7 @@ inline void DeleteTargetResponse::set_allocated_target(::beegfs::EntityIdSet* va } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } @@ -11675,7 +11822,8 @@ inline const ::beegfs::EntityIdSet& SetTargetStateRequest::target() const ABSL_A // @@protoc_insertion_point(field_get:management.SetTargetStateRequest.target) return _internal_target(); } -inline void SetTargetStateRequest::unsafe_arena_set_allocated_target(::beegfs::EntityIdSet* value) { +inline void SetTargetStateRequest::unsafe_arena_set_allocated_target( + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.target_); @@ -11688,7 +11836,7 @@ inline void SetTargetStateRequest::unsafe_arena_set_allocated_target(::beegfs::E } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.SetTargetStateRequest.target) } -inline ::beegfs::EntityIdSet* SetTargetStateRequest::release_target() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE SetTargetStateRequest::release_target() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000001u; @@ -11707,7 +11855,7 @@ inline ::beegfs::EntityIdSet* SetTargetStateRequest::release_target() { } return released; } -inline ::beegfs::EntityIdSet* SetTargetStateRequest::unsafe_arena_release_target() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE SetTargetStateRequest::unsafe_arena_release_target() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:management.SetTargetStateRequest.target) @@ -11716,7 +11864,7 @@ inline ::beegfs::EntityIdSet* SetTargetStateRequest::unsafe_arena_release_target _impl_.target_ = nullptr; return temp; } -inline ::beegfs::EntityIdSet* SetTargetStateRequest::_internal_mutable_target() { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL SetTargetStateRequest::_internal_mutable_target() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.target_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); @@ -11724,13 +11872,14 @@ inline ::beegfs::EntityIdSet* SetTargetStateRequest::_internal_mutable_target() } return _impl_.target_; } -inline ::beegfs::EntityIdSet* SetTargetStateRequest::mutable_target() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL 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) { +inline void SetTargetStateRequest::set_allocated_target(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { @@ -11738,7 +11887,7 @@ inline void SetTargetStateRequest::set_allocated_target(::beegfs::EntityIdSet* v } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } @@ -11791,6 +11940,7 @@ inline void SetTargetStateRequest::_internal_set_consistency_state(::beegfs::Con inline void GetPoolsRequest::clear_with_quota_limits() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.with_quota_limits_ = false; + _impl_._has_bits_[0] &= ~0x00000001u; } inline bool GetPoolsRequest::with_quota_limits() const { // @@protoc_insertion_point(field_get:management.GetPoolsRequest.with_quota_limits) @@ -11798,6 +11948,7 @@ inline bool GetPoolsRequest::with_quota_limits() const { } inline void GetPoolsRequest::set_with_quota_limits(bool value) { _internal_set_with_quota_limits(value); + _impl_._has_bits_[0] |= 0x00000001u; // @@protoc_insertion_point(field_set:management.GetPoolsRequest.with_quota_limits) } inline bool GetPoolsRequest::_internal_with_quota_limits() const { @@ -11828,7 +11979,8 @@ inline const ::beegfs::EntityIdSet& GetPoolsResponse_StoragePool::id() const ABS // @@protoc_insertion_point(field_get:management.GetPoolsResponse.StoragePool.id) return _internal_id(); } -inline void GetPoolsResponse_StoragePool::unsafe_arena_set_allocated_id(::beegfs::EntityIdSet* value) { +inline void GetPoolsResponse_StoragePool::unsafe_arena_set_allocated_id( + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.id_); @@ -11841,7 +11993,7 @@ inline void GetPoolsResponse_StoragePool::unsafe_arena_set_allocated_id(::beegfs } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.GetPoolsResponse.StoragePool.id) } -inline ::beegfs::EntityIdSet* GetPoolsResponse_StoragePool::release_id() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE GetPoolsResponse_StoragePool::release_id() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000001u; @@ -11860,7 +12012,7 @@ inline ::beegfs::EntityIdSet* GetPoolsResponse_StoragePool::release_id() { } return released; } -inline ::beegfs::EntityIdSet* GetPoolsResponse_StoragePool::unsafe_arena_release_id() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE GetPoolsResponse_StoragePool::unsafe_arena_release_id() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:management.GetPoolsResponse.StoragePool.id) @@ -11869,7 +12021,7 @@ inline ::beegfs::EntityIdSet* GetPoolsResponse_StoragePool::unsafe_arena_release _impl_.id_ = nullptr; return temp; } -inline ::beegfs::EntityIdSet* GetPoolsResponse_StoragePool::_internal_mutable_id() { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL GetPoolsResponse_StoragePool::_internal_mutable_id() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.id_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); @@ -11877,13 +12029,14 @@ inline ::beegfs::EntityIdSet* GetPoolsResponse_StoragePool::_internal_mutable_id } return _impl_.id_; } -inline ::beegfs::EntityIdSet* GetPoolsResponse_StoragePool::mutable_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL 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) { +inline void GetPoolsResponse_StoragePool::set_allocated_id(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { @@ -11891,7 +12044,7 @@ inline void GetPoolsResponse_StoragePool::set_allocated_id(::beegfs::EntityIdSet } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } @@ -11911,12 +12064,12 @@ inline int GetPoolsResponse_StoragePool::_internal_targets_size() const { inline int GetPoolsResponse_StoragePool::targets_size() const { return _internal_targets_size(); } -inline ::beegfs::EntityIdSet* GetPoolsResponse_StoragePool::mutable_targets(int index) +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL 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() +inline ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* PROTOBUF_NONNULL GetPoolsResponse_StoragePool::mutable_targets() ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_mutable_list:management.GetPoolsResponse.StoragePool.targets) ::google::protobuf::internal::TSanWrite(&_impl_); @@ -11927,7 +12080,8 @@ inline const ::beegfs::EntityIdSet& GetPoolsResponse_StoragePool::targets(int in // @@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 { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL 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) @@ -11943,7 +12097,7 @@ GetPoolsResponse_StoragePool::_internal_targets() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.targets_; } -inline ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* +inline ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* PROTOBUF_NONNULL GetPoolsResponse_StoragePool::_internal_mutable_targets() { ::google::protobuf::internal::TSanRead(&_impl_); return &_impl_.targets_; @@ -11956,12 +12110,12 @@ inline int GetPoolsResponse_StoragePool::_internal_buddy_groups_size() const { inline int GetPoolsResponse_StoragePool::buddy_groups_size() const { return _internal_buddy_groups_size(); } -inline ::beegfs::EntityIdSet* GetPoolsResponse_StoragePool::mutable_buddy_groups(int index) +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL 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() +inline ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* PROTOBUF_NONNULL 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_); @@ -11972,7 +12126,8 @@ inline const ::beegfs::EntityIdSet& GetPoolsResponse_StoragePool::buddy_groups(i // @@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 { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL 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) @@ -11988,7 +12143,7 @@ GetPoolsResponse_StoragePool::_internal_buddy_groups() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.buddy_groups_; } -inline ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* +inline ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* PROTOBUF_NONNULL GetPoolsResponse_StoragePool::_internal_mutable_buddy_groups() { ::google::protobuf::internal::TSanRead(&_impl_); return &_impl_.buddy_groups_; @@ -12121,12 +12276,12 @@ inline void GetPoolsResponse::clear_pools() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.pools_.Clear(); } -inline ::management::GetPoolsResponse_StoragePool* GetPoolsResponse::mutable_pools(int index) +inline ::management::GetPoolsResponse_StoragePool* PROTOBUF_NONNULL 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() +inline ::google::protobuf::RepeatedPtrField<::management::GetPoolsResponse_StoragePool>* PROTOBUF_NONNULL GetPoolsResponse::mutable_pools() ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_mutable_list:management.GetPoolsResponse.pools) ::google::protobuf::internal::TSanWrite(&_impl_); @@ -12137,7 +12292,8 @@ inline const ::management::GetPoolsResponse_StoragePool& GetPoolsResponse::pools // @@protoc_insertion_point(field_get:management.GetPoolsResponse.pools) return _internal_pools().Get(index); } -inline ::management::GetPoolsResponse_StoragePool* GetPoolsResponse::add_pools() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::management::GetPoolsResponse_StoragePool* PROTOBUF_NONNULL 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) @@ -12153,7 +12309,7 @@ GetPoolsResponse::_internal_pools() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.pools_; } -inline ::google::protobuf::RepeatedPtrField<::management::GetPoolsResponse_StoragePool>* +inline ::google::protobuf::RepeatedPtrField<::management::GetPoolsResponse_StoragePool>* PROTOBUF_NONNULL GetPoolsResponse::_internal_mutable_pools() { ::google::protobuf::internal::TSanRead(&_impl_); return &_impl_.pools_; @@ -12229,39 +12385,39 @@ inline void CreatePoolRequest::clear_alias() { _impl_.alias_.ClearToEmpty(); _impl_._has_bits_[0] &= ~0x00000001u; } -inline const std::string& CreatePoolRequest::alias() const +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) { +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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +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() { +inline ::std::string* PROTOBUF_NONNULL 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() { +inline ::std::string* PROTOBUF_NULLABLE CreatePoolRequest::release_alias() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:management.CreatePoolRequest.alias) if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { @@ -12274,7 +12430,7 @@ inline std::string* CreatePoolRequest::release_alias() { } return released; } -inline void CreatePoolRequest::set_allocated_alias(std::string* value) { +inline void CreatePoolRequest::set_allocated_alias(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (value != nullptr) { _impl_._has_bits_[0] |= 0x00000001u; @@ -12295,12 +12451,12 @@ inline int CreatePoolRequest::_internal_targets_size() const { inline int CreatePoolRequest::targets_size() const { return _internal_targets_size(); } -inline ::beegfs::EntityIdSet* CreatePoolRequest::mutable_targets(int index) +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL 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() +inline ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* PROTOBUF_NONNULL CreatePoolRequest::mutable_targets() ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_mutable_list:management.CreatePoolRequest.targets) ::google::protobuf::internal::TSanWrite(&_impl_); @@ -12311,7 +12467,8 @@ inline const ::beegfs::EntityIdSet& CreatePoolRequest::targets(int index) const // @@protoc_insertion_point(field_get:management.CreatePoolRequest.targets) return _internal_targets().Get(index); } -inline ::beegfs::EntityIdSet* CreatePoolRequest::add_targets() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL 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) @@ -12327,7 +12484,7 @@ CreatePoolRequest::_internal_targets() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.targets_; } -inline ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* +inline ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* PROTOBUF_NONNULL CreatePoolRequest::_internal_mutable_targets() { ::google::protobuf::internal::TSanRead(&_impl_); return &_impl_.targets_; @@ -12340,12 +12497,12 @@ inline int CreatePoolRequest::_internal_buddy_groups_size() const { inline int CreatePoolRequest::buddy_groups_size() const { return _internal_buddy_groups_size(); } -inline ::beegfs::EntityIdSet* CreatePoolRequest::mutable_buddy_groups(int index) +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL 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() +inline ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* PROTOBUF_NONNULL CreatePoolRequest::mutable_buddy_groups() ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_mutable_list:management.CreatePoolRequest.buddy_groups) ::google::protobuf::internal::TSanWrite(&_impl_); @@ -12356,7 +12513,8 @@ inline const ::beegfs::EntityIdSet& CreatePoolRequest::buddy_groups(int index) c // @@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 { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL 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) @@ -12372,7 +12530,7 @@ CreatePoolRequest::_internal_buddy_groups() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.buddy_groups_; } -inline ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* +inline ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* PROTOBUF_NONNULL CreatePoolRequest::_internal_mutable_buddy_groups() { ::google::protobuf::internal::TSanRead(&_impl_); return &_impl_.buddy_groups_; @@ -12397,7 +12555,8 @@ inline const ::beegfs::EntityIdSet& CreatePoolResponse::pool() const ABSL_ATTRIB // @@protoc_insertion_point(field_get:management.CreatePoolResponse.pool) return _internal_pool(); } -inline void CreatePoolResponse::unsafe_arena_set_allocated_pool(::beegfs::EntityIdSet* value) { +inline void CreatePoolResponse::unsafe_arena_set_allocated_pool( + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.pool_); @@ -12410,7 +12569,7 @@ inline void CreatePoolResponse::unsafe_arena_set_allocated_pool(::beegfs::Entity } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.CreatePoolResponse.pool) } -inline ::beegfs::EntityIdSet* CreatePoolResponse::release_pool() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE CreatePoolResponse::release_pool() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000001u; @@ -12429,7 +12588,7 @@ inline ::beegfs::EntityIdSet* CreatePoolResponse::release_pool() { } return released; } -inline ::beegfs::EntityIdSet* CreatePoolResponse::unsafe_arena_release_pool() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE CreatePoolResponse::unsafe_arena_release_pool() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:management.CreatePoolResponse.pool) @@ -12438,7 +12597,7 @@ inline ::beegfs::EntityIdSet* CreatePoolResponse::unsafe_arena_release_pool() { _impl_.pool_ = nullptr; return temp; } -inline ::beegfs::EntityIdSet* CreatePoolResponse::_internal_mutable_pool() { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL CreatePoolResponse::_internal_mutable_pool() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.pool_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); @@ -12446,13 +12605,14 @@ inline ::beegfs::EntityIdSet* CreatePoolResponse::_internal_mutable_pool() { } return _impl_.pool_; } -inline ::beegfs::EntityIdSet* CreatePoolResponse::mutable_pool() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL 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) { +inline void CreatePoolResponse::set_allocated_pool(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { @@ -12460,7 +12620,7 @@ inline void CreatePoolResponse::set_allocated_pool(::beegfs::EntityIdSet* value) } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } @@ -12492,7 +12652,8 @@ inline const ::beegfs::EntityIdSet& AssignPoolRequest::pool() const ABSL_ATTRIBU // @@protoc_insertion_point(field_get:management.AssignPoolRequest.pool) return _internal_pool(); } -inline void AssignPoolRequest::unsafe_arena_set_allocated_pool(::beegfs::EntityIdSet* value) { +inline void AssignPoolRequest::unsafe_arena_set_allocated_pool( + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.pool_); @@ -12505,7 +12666,7 @@ inline void AssignPoolRequest::unsafe_arena_set_allocated_pool(::beegfs::EntityI } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.AssignPoolRequest.pool) } -inline ::beegfs::EntityIdSet* AssignPoolRequest::release_pool() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE AssignPoolRequest::release_pool() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000001u; @@ -12524,7 +12685,7 @@ inline ::beegfs::EntityIdSet* AssignPoolRequest::release_pool() { } return released; } -inline ::beegfs::EntityIdSet* AssignPoolRequest::unsafe_arena_release_pool() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE AssignPoolRequest::unsafe_arena_release_pool() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:management.AssignPoolRequest.pool) @@ -12533,7 +12694,7 @@ inline ::beegfs::EntityIdSet* AssignPoolRequest::unsafe_arena_release_pool() { _impl_.pool_ = nullptr; return temp; } -inline ::beegfs::EntityIdSet* AssignPoolRequest::_internal_mutable_pool() { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL AssignPoolRequest::_internal_mutable_pool() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.pool_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); @@ -12541,13 +12702,14 @@ inline ::beegfs::EntityIdSet* AssignPoolRequest::_internal_mutable_pool() { } return _impl_.pool_; } -inline ::beegfs::EntityIdSet* AssignPoolRequest::mutable_pool() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL 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) { +inline void AssignPoolRequest::set_allocated_pool(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { @@ -12555,7 +12717,7 @@ inline void AssignPoolRequest::set_allocated_pool(::beegfs::EntityIdSet* value) } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } @@ -12575,12 +12737,12 @@ inline int AssignPoolRequest::_internal_targets_size() const { inline int AssignPoolRequest::targets_size() const { return _internal_targets_size(); } -inline ::beegfs::EntityIdSet* AssignPoolRequest::mutable_targets(int index) +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL 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() +inline ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* PROTOBUF_NONNULL AssignPoolRequest::mutable_targets() ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_mutable_list:management.AssignPoolRequest.targets) ::google::protobuf::internal::TSanWrite(&_impl_); @@ -12591,7 +12753,8 @@ inline const ::beegfs::EntityIdSet& AssignPoolRequest::targets(int index) const // @@protoc_insertion_point(field_get:management.AssignPoolRequest.targets) return _internal_targets().Get(index); } -inline ::beegfs::EntityIdSet* AssignPoolRequest::add_targets() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL 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) @@ -12607,7 +12770,7 @@ AssignPoolRequest::_internal_targets() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.targets_; } -inline ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* +inline ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* PROTOBUF_NONNULL AssignPoolRequest::_internal_mutable_targets() { ::google::protobuf::internal::TSanRead(&_impl_); return &_impl_.targets_; @@ -12620,12 +12783,12 @@ inline int AssignPoolRequest::_internal_buddy_groups_size() const { inline int AssignPoolRequest::buddy_groups_size() const { return _internal_buddy_groups_size(); } -inline ::beegfs::EntityIdSet* AssignPoolRequest::mutable_buddy_groups(int index) +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL 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() +inline ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* PROTOBUF_NONNULL AssignPoolRequest::mutable_buddy_groups() ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_mutable_list:management.AssignPoolRequest.buddy_groups) ::google::protobuf::internal::TSanWrite(&_impl_); @@ -12636,7 +12799,8 @@ inline const ::beegfs::EntityIdSet& AssignPoolRequest::buddy_groups(int index) c // @@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 { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL 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) @@ -12652,7 +12816,7 @@ AssignPoolRequest::_internal_buddy_groups() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.buddy_groups_; } -inline ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* +inline ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* PROTOBUF_NONNULL AssignPoolRequest::_internal_mutable_buddy_groups() { ::google::protobuf::internal::TSanRead(&_impl_); return &_impl_.buddy_groups_; @@ -12677,7 +12841,8 @@ inline const ::beegfs::EntityIdSet& AssignPoolResponse::pool() const ABSL_ATTRIB // @@protoc_insertion_point(field_get:management.AssignPoolResponse.pool) return _internal_pool(); } -inline void AssignPoolResponse::unsafe_arena_set_allocated_pool(::beegfs::EntityIdSet* value) { +inline void AssignPoolResponse::unsafe_arena_set_allocated_pool( + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.pool_); @@ -12690,7 +12855,7 @@ inline void AssignPoolResponse::unsafe_arena_set_allocated_pool(::beegfs::Entity } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.AssignPoolResponse.pool) } -inline ::beegfs::EntityIdSet* AssignPoolResponse::release_pool() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE AssignPoolResponse::release_pool() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000001u; @@ -12709,7 +12874,7 @@ inline ::beegfs::EntityIdSet* AssignPoolResponse::release_pool() { } return released; } -inline ::beegfs::EntityIdSet* AssignPoolResponse::unsafe_arena_release_pool() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE AssignPoolResponse::unsafe_arena_release_pool() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:management.AssignPoolResponse.pool) @@ -12718,7 +12883,7 @@ inline ::beegfs::EntityIdSet* AssignPoolResponse::unsafe_arena_release_pool() { _impl_.pool_ = nullptr; return temp; } -inline ::beegfs::EntityIdSet* AssignPoolResponse::_internal_mutable_pool() { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL AssignPoolResponse::_internal_mutable_pool() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.pool_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); @@ -12726,13 +12891,14 @@ inline ::beegfs::EntityIdSet* AssignPoolResponse::_internal_mutable_pool() { } return _impl_.pool_; } -inline ::beegfs::EntityIdSet* AssignPoolResponse::mutable_pool() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL 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) { +inline void AssignPoolResponse::set_allocated_pool(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { @@ -12740,7 +12906,7 @@ inline void AssignPoolResponse::set_allocated_pool(::beegfs::EntityIdSet* value) } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } @@ -12772,7 +12938,8 @@ inline const ::beegfs::EntityIdSet& DeletePoolRequest::pool() const ABSL_ATTRIBU // @@protoc_insertion_point(field_get:management.DeletePoolRequest.pool) return _internal_pool(); } -inline void DeletePoolRequest::unsafe_arena_set_allocated_pool(::beegfs::EntityIdSet* value) { +inline void DeletePoolRequest::unsafe_arena_set_allocated_pool( + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.pool_); @@ -12785,7 +12952,7 @@ inline void DeletePoolRequest::unsafe_arena_set_allocated_pool(::beegfs::EntityI } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.DeletePoolRequest.pool) } -inline ::beegfs::EntityIdSet* DeletePoolRequest::release_pool() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE DeletePoolRequest::release_pool() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000001u; @@ -12804,7 +12971,7 @@ inline ::beegfs::EntityIdSet* DeletePoolRequest::release_pool() { } return released; } -inline ::beegfs::EntityIdSet* DeletePoolRequest::unsafe_arena_release_pool() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE DeletePoolRequest::unsafe_arena_release_pool() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:management.DeletePoolRequest.pool) @@ -12813,7 +12980,7 @@ inline ::beegfs::EntityIdSet* DeletePoolRequest::unsafe_arena_release_pool() { _impl_.pool_ = nullptr; return temp; } -inline ::beegfs::EntityIdSet* DeletePoolRequest::_internal_mutable_pool() { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL DeletePoolRequest::_internal_mutable_pool() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.pool_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); @@ -12821,13 +12988,14 @@ inline ::beegfs::EntityIdSet* DeletePoolRequest::_internal_mutable_pool() { } return _impl_.pool_; } -inline ::beegfs::EntityIdSet* DeletePoolRequest::mutable_pool() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL 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) { +inline void DeletePoolRequest::set_allocated_pool(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { @@ -12835,7 +13003,7 @@ inline void DeletePoolRequest::set_allocated_pool(::beegfs::EntityIdSet* value) } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } @@ -12895,7 +13063,8 @@ inline const ::beegfs::EntityIdSet& DeletePoolResponse::pool() const ABSL_ATTRIB // @@protoc_insertion_point(field_get:management.DeletePoolResponse.pool) return _internal_pool(); } -inline void DeletePoolResponse::unsafe_arena_set_allocated_pool(::beegfs::EntityIdSet* value) { +inline void DeletePoolResponse::unsafe_arena_set_allocated_pool( + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.pool_); @@ -12908,7 +13077,7 @@ inline void DeletePoolResponse::unsafe_arena_set_allocated_pool(::beegfs::Entity } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.DeletePoolResponse.pool) } -inline ::beegfs::EntityIdSet* DeletePoolResponse::release_pool() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE DeletePoolResponse::release_pool() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000001u; @@ -12927,7 +13096,7 @@ inline ::beegfs::EntityIdSet* DeletePoolResponse::release_pool() { } return released; } -inline ::beegfs::EntityIdSet* DeletePoolResponse::unsafe_arena_release_pool() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE DeletePoolResponse::unsafe_arena_release_pool() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:management.DeletePoolResponse.pool) @@ -12936,7 +13105,7 @@ inline ::beegfs::EntityIdSet* DeletePoolResponse::unsafe_arena_release_pool() { _impl_.pool_ = nullptr; return temp; } -inline ::beegfs::EntityIdSet* DeletePoolResponse::_internal_mutable_pool() { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL DeletePoolResponse::_internal_mutable_pool() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.pool_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); @@ -12944,13 +13113,14 @@ inline ::beegfs::EntityIdSet* DeletePoolResponse::_internal_mutable_pool() { } return _impl_.pool_; } -inline ::beegfs::EntityIdSet* DeletePoolResponse::mutable_pool() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL 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) { +inline void DeletePoolResponse::set_allocated_pool(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { @@ -12958,7 +13128,7 @@ inline void DeletePoolResponse::set_allocated_pool(::beegfs::EntityIdSet* value) } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } @@ -12994,7 +13164,8 @@ inline const ::beegfs::EntityIdSet& GetBuddyGroupsResponse_BuddyGroup::id() cons // @@protoc_insertion_point(field_get:management.GetBuddyGroupsResponse.BuddyGroup.id) return _internal_id(); } -inline void GetBuddyGroupsResponse_BuddyGroup::unsafe_arena_set_allocated_id(::beegfs::EntityIdSet* value) { +inline void GetBuddyGroupsResponse_BuddyGroup::unsafe_arena_set_allocated_id( + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.id_); @@ -13007,7 +13178,7 @@ inline void GetBuddyGroupsResponse_BuddyGroup::unsafe_arena_set_allocated_id(::b } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.GetBuddyGroupsResponse.BuddyGroup.id) } -inline ::beegfs::EntityIdSet* GetBuddyGroupsResponse_BuddyGroup::release_id() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE GetBuddyGroupsResponse_BuddyGroup::release_id() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000001u; @@ -13026,7 +13197,7 @@ inline ::beegfs::EntityIdSet* GetBuddyGroupsResponse_BuddyGroup::release_id() { } return released; } -inline ::beegfs::EntityIdSet* GetBuddyGroupsResponse_BuddyGroup::unsafe_arena_release_id() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE GetBuddyGroupsResponse_BuddyGroup::unsafe_arena_release_id() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:management.GetBuddyGroupsResponse.BuddyGroup.id) @@ -13035,7 +13206,7 @@ inline ::beegfs::EntityIdSet* GetBuddyGroupsResponse_BuddyGroup::unsafe_arena_re _impl_.id_ = nullptr; return temp; } -inline ::beegfs::EntityIdSet* GetBuddyGroupsResponse_BuddyGroup::_internal_mutable_id() { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL GetBuddyGroupsResponse_BuddyGroup::_internal_mutable_id() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.id_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); @@ -13043,13 +13214,14 @@ inline ::beegfs::EntityIdSet* GetBuddyGroupsResponse_BuddyGroup::_internal_mutab } return _impl_.id_; } -inline ::beegfs::EntityIdSet* GetBuddyGroupsResponse_BuddyGroup::mutable_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL 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) { +inline void GetBuddyGroupsResponse_BuddyGroup::set_allocated_id(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { @@ -13057,7 +13229,7 @@ inline void GetBuddyGroupsResponse_BuddyGroup::set_allocated_id(::beegfs::Entity } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } @@ -13074,6 +13246,7 @@ inline void GetBuddyGroupsResponse_BuddyGroup::set_allocated_id(::beegfs::Entity inline void GetBuddyGroupsResponse_BuddyGroup::clear_node_type() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.node_type_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; } inline ::beegfs::NodeType GetBuddyGroupsResponse_BuddyGroup::node_type() const { // @@protoc_insertion_point(field_get:management.GetBuddyGroupsResponse.BuddyGroup.node_type) @@ -13081,6 +13254,7 @@ inline ::beegfs::NodeType GetBuddyGroupsResponse_BuddyGroup::node_type() const { } inline void GetBuddyGroupsResponse_BuddyGroup::set_node_type(::beegfs::NodeType value) { _internal_set_node_type(value); + _impl_._has_bits_[0] |= 0x00000010u; // @@protoc_insertion_point(field_set:management.GetBuddyGroupsResponse.BuddyGroup.node_type) } inline ::beegfs::NodeType GetBuddyGroupsResponse_BuddyGroup::_internal_node_type() const { @@ -13107,7 +13281,8 @@ inline const ::beegfs::EntityIdSet& GetBuddyGroupsResponse_BuddyGroup::primary_t // @@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) { +inline void GetBuddyGroupsResponse_BuddyGroup::unsafe_arena_set_allocated_primary_target( + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.primary_target_); @@ -13120,7 +13295,7 @@ inline void GetBuddyGroupsResponse_BuddyGroup::unsafe_arena_set_allocated_primar } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.GetBuddyGroupsResponse.BuddyGroup.primary_target) } -inline ::beegfs::EntityIdSet* GetBuddyGroupsResponse_BuddyGroup::release_primary_target() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE GetBuddyGroupsResponse_BuddyGroup::release_primary_target() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000002u; @@ -13139,7 +13314,7 @@ inline ::beegfs::EntityIdSet* GetBuddyGroupsResponse_BuddyGroup::release_primary } return released; } -inline ::beegfs::EntityIdSet* GetBuddyGroupsResponse_BuddyGroup::unsafe_arena_release_primary_target() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE GetBuddyGroupsResponse_BuddyGroup::unsafe_arena_release_primary_target() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:management.GetBuddyGroupsResponse.BuddyGroup.primary_target) @@ -13148,7 +13323,7 @@ inline ::beegfs::EntityIdSet* GetBuddyGroupsResponse_BuddyGroup::unsafe_arena_re _impl_.primary_target_ = nullptr; return temp; } -inline ::beegfs::EntityIdSet* GetBuddyGroupsResponse_BuddyGroup::_internal_mutable_primary_target() { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL 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()); @@ -13156,13 +13331,14 @@ inline ::beegfs::EntityIdSet* GetBuddyGroupsResponse_BuddyGroup::_internal_mutab } return _impl_.primary_target_; } -inline ::beegfs::EntityIdSet* GetBuddyGroupsResponse_BuddyGroup::mutable_primary_target() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL 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) { +inline void GetBuddyGroupsResponse_BuddyGroup::set_allocated_primary_target(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { @@ -13170,7 +13346,7 @@ inline void GetBuddyGroupsResponse_BuddyGroup::set_allocated_primary_target(::be } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } @@ -13198,7 +13374,8 @@ inline const ::beegfs::EntityIdSet& GetBuddyGroupsResponse_BuddyGroup::secondary // @@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) { +inline void GetBuddyGroupsResponse_BuddyGroup::unsafe_arena_set_allocated_secondary_target( + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.secondary_target_); @@ -13211,7 +13388,7 @@ inline void GetBuddyGroupsResponse_BuddyGroup::unsafe_arena_set_allocated_second } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.GetBuddyGroupsResponse.BuddyGroup.secondary_target) } -inline ::beegfs::EntityIdSet* GetBuddyGroupsResponse_BuddyGroup::release_secondary_target() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE GetBuddyGroupsResponse_BuddyGroup::release_secondary_target() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000004u; @@ -13230,7 +13407,7 @@ inline ::beegfs::EntityIdSet* GetBuddyGroupsResponse_BuddyGroup::release_seconda } return released; } -inline ::beegfs::EntityIdSet* GetBuddyGroupsResponse_BuddyGroup::unsafe_arena_release_secondary_target() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE GetBuddyGroupsResponse_BuddyGroup::unsafe_arena_release_secondary_target() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:management.GetBuddyGroupsResponse.BuddyGroup.secondary_target) @@ -13239,7 +13416,7 @@ inline ::beegfs::EntityIdSet* GetBuddyGroupsResponse_BuddyGroup::unsafe_arena_re _impl_.secondary_target_ = nullptr; return temp; } -inline ::beegfs::EntityIdSet* GetBuddyGroupsResponse_BuddyGroup::_internal_mutable_secondary_target() { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL 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()); @@ -13247,13 +13424,14 @@ inline ::beegfs::EntityIdSet* GetBuddyGroupsResponse_BuddyGroup::_internal_mutab } return _impl_.secondary_target_; } -inline ::beegfs::EntityIdSet* GetBuddyGroupsResponse_BuddyGroup::mutable_secondary_target() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL 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) { +inline void GetBuddyGroupsResponse_BuddyGroup::set_allocated_secondary_target(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { @@ -13261,7 +13439,7 @@ inline void GetBuddyGroupsResponse_BuddyGroup::set_allocated_secondary_target(:: } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } @@ -13278,6 +13456,7 @@ inline void GetBuddyGroupsResponse_BuddyGroup::set_allocated_secondary_target(:: inline void GetBuddyGroupsResponse_BuddyGroup::clear_primary_consistency_state() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.primary_consistency_state_ = 0; + _impl_._has_bits_[0] &= ~0x00000020u; } inline ::beegfs::ConsistencyState GetBuddyGroupsResponse_BuddyGroup::primary_consistency_state() const { // @@protoc_insertion_point(field_get:management.GetBuddyGroupsResponse.BuddyGroup.primary_consistency_state) @@ -13285,6 +13464,7 @@ inline ::beegfs::ConsistencyState GetBuddyGroupsResponse_BuddyGroup::primary_con } inline void GetBuddyGroupsResponse_BuddyGroup::set_primary_consistency_state(::beegfs::ConsistencyState value) { _internal_set_primary_consistency_state(value); + _impl_._has_bits_[0] |= 0x00000020u; // @@protoc_insertion_point(field_set:management.GetBuddyGroupsResponse.BuddyGroup.primary_consistency_state) } inline ::beegfs::ConsistencyState GetBuddyGroupsResponse_BuddyGroup::_internal_primary_consistency_state() const { @@ -13300,6 +13480,7 @@ inline void GetBuddyGroupsResponse_BuddyGroup::_internal_set_primary_consistency inline void GetBuddyGroupsResponse_BuddyGroup::clear_secondary_consistency_state() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.secondary_consistency_state_ = 0; + _impl_._has_bits_[0] &= ~0x00000040u; } inline ::beegfs::ConsistencyState GetBuddyGroupsResponse_BuddyGroup::secondary_consistency_state() const { // @@protoc_insertion_point(field_get:management.GetBuddyGroupsResponse.BuddyGroup.secondary_consistency_state) @@ -13307,6 +13488,7 @@ inline ::beegfs::ConsistencyState GetBuddyGroupsResponse_BuddyGroup::secondary_c } inline void GetBuddyGroupsResponse_BuddyGroup::set_secondary_consistency_state(::beegfs::ConsistencyState value) { _internal_set_secondary_consistency_state(value); + _impl_._has_bits_[0] |= 0x00000040u; // @@protoc_insertion_point(field_set:management.GetBuddyGroupsResponse.BuddyGroup.secondary_consistency_state) } inline ::beegfs::ConsistencyState GetBuddyGroupsResponse_BuddyGroup::_internal_secondary_consistency_state() const { @@ -13333,7 +13515,8 @@ inline const ::beegfs::EntityIdSet& GetBuddyGroupsResponse_BuddyGroup::storage_p // @@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) { +inline void GetBuddyGroupsResponse_BuddyGroup::unsafe_arena_set_allocated_storage_pool( + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.storage_pool_); @@ -13346,7 +13529,7 @@ inline void GetBuddyGroupsResponse_BuddyGroup::unsafe_arena_set_allocated_storag } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.GetBuddyGroupsResponse.BuddyGroup.storage_pool) } -inline ::beegfs::EntityIdSet* GetBuddyGroupsResponse_BuddyGroup::release_storage_pool() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE GetBuddyGroupsResponse_BuddyGroup::release_storage_pool() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000008u; @@ -13365,7 +13548,7 @@ inline ::beegfs::EntityIdSet* GetBuddyGroupsResponse_BuddyGroup::release_storage } return released; } -inline ::beegfs::EntityIdSet* GetBuddyGroupsResponse_BuddyGroup::unsafe_arena_release_storage_pool() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE GetBuddyGroupsResponse_BuddyGroup::unsafe_arena_release_storage_pool() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:management.GetBuddyGroupsResponse.BuddyGroup.storage_pool) @@ -13374,7 +13557,7 @@ inline ::beegfs::EntityIdSet* GetBuddyGroupsResponse_BuddyGroup::unsafe_arena_re _impl_.storage_pool_ = nullptr; return temp; } -inline ::beegfs::EntityIdSet* GetBuddyGroupsResponse_BuddyGroup::_internal_mutable_storage_pool() { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL 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()); @@ -13382,13 +13565,14 @@ inline ::beegfs::EntityIdSet* GetBuddyGroupsResponse_BuddyGroup::_internal_mutab } return _impl_.storage_pool_; } -inline ::beegfs::EntityIdSet* GetBuddyGroupsResponse_BuddyGroup::mutable_storage_pool() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL 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) { +inline void GetBuddyGroupsResponse_BuddyGroup::set_allocated_storage_pool(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { @@ -13396,7 +13580,7 @@ inline void GetBuddyGroupsResponse_BuddyGroup::set_allocated_storage_pool(::beeg } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } @@ -13424,12 +13608,12 @@ 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) +inline ::management::GetBuddyGroupsResponse_BuddyGroup* PROTOBUF_NONNULL 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() +inline ::google::protobuf::RepeatedPtrField<::management::GetBuddyGroupsResponse_BuddyGroup>* PROTOBUF_NONNULL GetBuddyGroupsResponse::mutable_buddy_groups() ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_mutable_list:management.GetBuddyGroupsResponse.buddy_groups) ::google::protobuf::internal::TSanWrite(&_impl_); @@ -13440,7 +13624,8 @@ inline const ::management::GetBuddyGroupsResponse_BuddyGroup& GetBuddyGroupsResp // @@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 { +inline ::management::GetBuddyGroupsResponse_BuddyGroup* PROTOBUF_NONNULL 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) @@ -13456,7 +13641,7 @@ GetBuddyGroupsResponse::_internal_buddy_groups() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.buddy_groups_; } -inline ::google::protobuf::RepeatedPtrField<::management::GetBuddyGroupsResponse_BuddyGroup>* +inline ::google::protobuf::RepeatedPtrField<::management::GetBuddyGroupsResponse_BuddyGroup>* PROTOBUF_NONNULL GetBuddyGroupsResponse::_internal_mutable_buddy_groups() { ::google::protobuf::internal::TSanRead(&_impl_); return &_impl_.buddy_groups_; @@ -13532,39 +13717,39 @@ inline void CreateBuddyGroupRequest::clear_alias() { _impl_.alias_.ClearToEmpty(); _impl_._has_bits_[0] &= ~0x00000001u; } -inline const std::string& CreateBuddyGroupRequest::alias() const +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) { +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(); +inline ::std::string* PROTOBUF_NONNULL 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 { +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) { +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() { +inline ::std::string* PROTOBUF_NONNULL 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() { +inline ::std::string* PROTOBUF_NULLABLE CreateBuddyGroupRequest::release_alias() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:management.CreateBuddyGroupRequest.alias) if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { @@ -13577,7 +13762,7 @@ inline std::string* CreateBuddyGroupRequest::release_alias() { } return released; } -inline void CreateBuddyGroupRequest::set_allocated_alias(std::string* value) { +inline void CreateBuddyGroupRequest::set_allocated_alias(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (value != nullptr) { _impl_._has_bits_[0] |= 0x00000001u; @@ -13606,7 +13791,8 @@ inline const ::beegfs::EntityIdSet& CreateBuddyGroupRequest::primary_target() co // @@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) { +inline void CreateBuddyGroupRequest::unsafe_arena_set_allocated_primary_target( + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.primary_target_); @@ -13619,7 +13805,7 @@ inline void CreateBuddyGroupRequest::unsafe_arena_set_allocated_primary_target(: } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.CreateBuddyGroupRequest.primary_target) } -inline ::beegfs::EntityIdSet* CreateBuddyGroupRequest::release_primary_target() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE CreateBuddyGroupRequest::release_primary_target() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000002u; @@ -13638,7 +13824,7 @@ inline ::beegfs::EntityIdSet* CreateBuddyGroupRequest::release_primary_target() } return released; } -inline ::beegfs::EntityIdSet* CreateBuddyGroupRequest::unsafe_arena_release_primary_target() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE CreateBuddyGroupRequest::unsafe_arena_release_primary_target() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:management.CreateBuddyGroupRequest.primary_target) @@ -13647,7 +13833,7 @@ inline ::beegfs::EntityIdSet* CreateBuddyGroupRequest::unsafe_arena_release_prim _impl_.primary_target_ = nullptr; return temp; } -inline ::beegfs::EntityIdSet* CreateBuddyGroupRequest::_internal_mutable_primary_target() { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL CreateBuddyGroupRequest::_internal_mutable_primary_target() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.primary_target_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); @@ -13655,13 +13841,14 @@ inline ::beegfs::EntityIdSet* CreateBuddyGroupRequest::_internal_mutable_primary } return _impl_.primary_target_; } -inline ::beegfs::EntityIdSet* CreateBuddyGroupRequest::mutable_primary_target() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL 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) { +inline void CreateBuddyGroupRequest::set_allocated_primary_target(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { @@ -13669,7 +13856,7 @@ inline void CreateBuddyGroupRequest::set_allocated_primary_target(::beegfs::Enti } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } @@ -13697,7 +13884,8 @@ inline const ::beegfs::EntityIdSet& CreateBuddyGroupRequest::secondary_target() // @@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) { +inline void CreateBuddyGroupRequest::unsafe_arena_set_allocated_secondary_target( + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.secondary_target_); @@ -13710,7 +13898,7 @@ inline void CreateBuddyGroupRequest::unsafe_arena_set_allocated_secondary_target } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.CreateBuddyGroupRequest.secondary_target) } -inline ::beegfs::EntityIdSet* CreateBuddyGroupRequest::release_secondary_target() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE CreateBuddyGroupRequest::release_secondary_target() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000004u; @@ -13729,7 +13917,7 @@ inline ::beegfs::EntityIdSet* CreateBuddyGroupRequest::release_secondary_target( } return released; } -inline ::beegfs::EntityIdSet* CreateBuddyGroupRequest::unsafe_arena_release_secondary_target() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE CreateBuddyGroupRequest::unsafe_arena_release_secondary_target() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:management.CreateBuddyGroupRequest.secondary_target) @@ -13738,7 +13926,7 @@ inline ::beegfs::EntityIdSet* CreateBuddyGroupRequest::unsafe_arena_release_seco _impl_.secondary_target_ = nullptr; return temp; } -inline ::beegfs::EntityIdSet* CreateBuddyGroupRequest::_internal_mutable_secondary_target() { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL CreateBuddyGroupRequest::_internal_mutable_secondary_target() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.secondary_target_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); @@ -13746,13 +13934,14 @@ inline ::beegfs::EntityIdSet* CreateBuddyGroupRequest::_internal_mutable_seconda } return _impl_.secondary_target_; } -inline ::beegfs::EntityIdSet* CreateBuddyGroupRequest::mutable_secondary_target() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL 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) { +inline void CreateBuddyGroupRequest::set_allocated_secondary_target(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { @@ -13760,7 +13949,7 @@ inline void CreateBuddyGroupRequest::set_allocated_secondary_target(::beegfs::En } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } @@ -13792,7 +13981,8 @@ inline const ::beegfs::EntityIdSet& CreateBuddyGroupResponse::group() const ABSL // @@protoc_insertion_point(field_get:management.CreateBuddyGroupResponse.group) return _internal_group(); } -inline void CreateBuddyGroupResponse::unsafe_arena_set_allocated_group(::beegfs::EntityIdSet* value) { +inline void CreateBuddyGroupResponse::unsafe_arena_set_allocated_group( + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.group_); @@ -13805,7 +13995,7 @@ inline void CreateBuddyGroupResponse::unsafe_arena_set_allocated_group(::beegfs: } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.CreateBuddyGroupResponse.group) } -inline ::beegfs::EntityIdSet* CreateBuddyGroupResponse::release_group() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE CreateBuddyGroupResponse::release_group() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000001u; @@ -13824,7 +14014,7 @@ inline ::beegfs::EntityIdSet* CreateBuddyGroupResponse::release_group() { } return released; } -inline ::beegfs::EntityIdSet* CreateBuddyGroupResponse::unsafe_arena_release_group() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE CreateBuddyGroupResponse::unsafe_arena_release_group() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:management.CreateBuddyGroupResponse.group) @@ -13833,7 +14023,7 @@ inline ::beegfs::EntityIdSet* CreateBuddyGroupResponse::unsafe_arena_release_gro _impl_.group_ = nullptr; return temp; } -inline ::beegfs::EntityIdSet* CreateBuddyGroupResponse::_internal_mutable_group() { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL CreateBuddyGroupResponse::_internal_mutable_group() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.group_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); @@ -13841,13 +14031,14 @@ inline ::beegfs::EntityIdSet* CreateBuddyGroupResponse::_internal_mutable_group( } return _impl_.group_; } -inline ::beegfs::EntityIdSet* CreateBuddyGroupResponse::mutable_group() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL 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) { +inline void CreateBuddyGroupResponse::set_allocated_group(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { @@ -13855,7 +14046,7 @@ inline void CreateBuddyGroupResponse::set_allocated_group(::beegfs::EntityIdSet* } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } @@ -13887,7 +14078,8 @@ inline const ::beegfs::EntityIdSet& DeleteBuddyGroupRequest::group() const ABSL_ // @@protoc_insertion_point(field_get:management.DeleteBuddyGroupRequest.group) return _internal_group(); } -inline void DeleteBuddyGroupRequest::unsafe_arena_set_allocated_group(::beegfs::EntityIdSet* value) { +inline void DeleteBuddyGroupRequest::unsafe_arena_set_allocated_group( + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.group_); @@ -13900,7 +14092,7 @@ inline void DeleteBuddyGroupRequest::unsafe_arena_set_allocated_group(::beegfs:: } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.DeleteBuddyGroupRequest.group) } -inline ::beegfs::EntityIdSet* DeleteBuddyGroupRequest::release_group() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE DeleteBuddyGroupRequest::release_group() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000001u; @@ -13919,7 +14111,7 @@ inline ::beegfs::EntityIdSet* DeleteBuddyGroupRequest::release_group() { } return released; } -inline ::beegfs::EntityIdSet* DeleteBuddyGroupRequest::unsafe_arena_release_group() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE DeleteBuddyGroupRequest::unsafe_arena_release_group() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:management.DeleteBuddyGroupRequest.group) @@ -13928,7 +14120,7 @@ inline ::beegfs::EntityIdSet* DeleteBuddyGroupRequest::unsafe_arena_release_grou _impl_.group_ = nullptr; return temp; } -inline ::beegfs::EntityIdSet* DeleteBuddyGroupRequest::_internal_mutable_group() { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL DeleteBuddyGroupRequest::_internal_mutable_group() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.group_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); @@ -13936,13 +14128,14 @@ inline ::beegfs::EntityIdSet* DeleteBuddyGroupRequest::_internal_mutable_group() } return _impl_.group_; } -inline ::beegfs::EntityIdSet* DeleteBuddyGroupRequest::mutable_group() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL 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) { +inline void DeleteBuddyGroupRequest::set_allocated_group(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { @@ -13950,7 +14143,7 @@ inline void DeleteBuddyGroupRequest::set_allocated_group(::beegfs::EntityIdSet* } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } @@ -14010,7 +14203,8 @@ inline const ::beegfs::EntityIdSet& DeleteBuddyGroupResponse::group() const ABSL // @@protoc_insertion_point(field_get:management.DeleteBuddyGroupResponse.group) return _internal_group(); } -inline void DeleteBuddyGroupResponse::unsafe_arena_set_allocated_group(::beegfs::EntityIdSet* value) { +inline void DeleteBuddyGroupResponse::unsafe_arena_set_allocated_group( + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.group_); @@ -14023,7 +14217,7 @@ inline void DeleteBuddyGroupResponse::unsafe_arena_set_allocated_group(::beegfs: } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.DeleteBuddyGroupResponse.group) } -inline ::beegfs::EntityIdSet* DeleteBuddyGroupResponse::release_group() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE DeleteBuddyGroupResponse::release_group() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000001u; @@ -14042,7 +14236,7 @@ inline ::beegfs::EntityIdSet* DeleteBuddyGroupResponse::release_group() { } return released; } -inline ::beegfs::EntityIdSet* DeleteBuddyGroupResponse::unsafe_arena_release_group() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE DeleteBuddyGroupResponse::unsafe_arena_release_group() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:management.DeleteBuddyGroupResponse.group) @@ -14051,7 +14245,7 @@ inline ::beegfs::EntityIdSet* DeleteBuddyGroupResponse::unsafe_arena_release_gro _impl_.group_ = nullptr; return temp; } -inline ::beegfs::EntityIdSet* DeleteBuddyGroupResponse::_internal_mutable_group() { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL DeleteBuddyGroupResponse::_internal_mutable_group() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.group_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); @@ -14059,13 +14253,14 @@ inline ::beegfs::EntityIdSet* DeleteBuddyGroupResponse::_internal_mutable_group( } return _impl_.group_; } -inline ::beegfs::EntityIdSet* DeleteBuddyGroupResponse::mutable_group() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL 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) { +inline void DeleteBuddyGroupResponse::set_allocated_group(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { @@ -14073,7 +14268,7 @@ inline void DeleteBuddyGroupResponse::set_allocated_group(::beegfs::EntityIdSet* } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } @@ -14113,7 +14308,8 @@ inline const ::beegfs::EntityIdSet& StartResyncRequest::buddy_group() const ABSL // @@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) { +inline void StartResyncRequest::unsafe_arena_set_allocated_buddy_group( + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.buddy_group_); @@ -14126,7 +14322,7 @@ inline void StartResyncRequest::unsafe_arena_set_allocated_buddy_group(::beegfs: } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.StartResyncRequest.buddy_group) } -inline ::beegfs::EntityIdSet* StartResyncRequest::release_buddy_group() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE StartResyncRequest::release_buddy_group() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000001u; @@ -14145,7 +14341,7 @@ inline ::beegfs::EntityIdSet* StartResyncRequest::release_buddy_group() { } return released; } -inline ::beegfs::EntityIdSet* StartResyncRequest::unsafe_arena_release_buddy_group() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE StartResyncRequest::unsafe_arena_release_buddy_group() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:management.StartResyncRequest.buddy_group) @@ -14154,7 +14350,7 @@ inline ::beegfs::EntityIdSet* StartResyncRequest::unsafe_arena_release_buddy_gro _impl_.buddy_group_ = nullptr; return temp; } -inline ::beegfs::EntityIdSet* StartResyncRequest::_internal_mutable_buddy_group() { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL StartResyncRequest::_internal_mutable_buddy_group() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.buddy_group_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); @@ -14162,13 +14358,14 @@ inline ::beegfs::EntityIdSet* StartResyncRequest::_internal_mutable_buddy_group( } return _impl_.buddy_group_; } -inline ::beegfs::EntityIdSet* StartResyncRequest::mutable_buddy_group() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL 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) { +inline void StartResyncRequest::set_allocated_buddy_group(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { @@ -14176,7 +14373,7 @@ inline void StartResyncRequest::set_allocated_buddy_group(::beegfs::EntityIdSet* } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } @@ -14285,6 +14482,7 @@ inline void QuotaInfo::_internal_set_quota_id(::uint32_t value) { inline void QuotaInfo::clear_id_type() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.id_type_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; } inline ::beegfs::QuotaIdType QuotaInfo::id_type() const { // @@protoc_insertion_point(field_get:management.QuotaInfo.id_type) @@ -14292,6 +14490,7 @@ inline ::beegfs::QuotaIdType QuotaInfo::id_type() const { } inline void QuotaInfo::set_id_type(::beegfs::QuotaIdType value) { _internal_set_id_type(value); + _impl_._has_bits_[0] |= 0x00000004u; // @@protoc_insertion_point(field_set:management.QuotaInfo.id_type) } inline ::beegfs::QuotaIdType QuotaInfo::_internal_id_type() const { @@ -14318,7 +14517,8 @@ inline const ::beegfs::EntityIdSet& QuotaInfo::pool() const ABSL_ATTRIBUTE_LIFET // @@protoc_insertion_point(field_get:management.QuotaInfo.pool) return _internal_pool(); } -inline void QuotaInfo::unsafe_arena_set_allocated_pool(::beegfs::EntityIdSet* value) { +inline void QuotaInfo::unsafe_arena_set_allocated_pool( + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.pool_); @@ -14331,7 +14531,7 @@ inline void QuotaInfo::unsafe_arena_set_allocated_pool(::beegfs::EntityIdSet* va } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.QuotaInfo.pool) } -inline ::beegfs::EntityIdSet* QuotaInfo::release_pool() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE QuotaInfo::release_pool() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000001u; @@ -14350,7 +14550,7 @@ inline ::beegfs::EntityIdSet* QuotaInfo::release_pool() { } return released; } -inline ::beegfs::EntityIdSet* QuotaInfo::unsafe_arena_release_pool() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE QuotaInfo::unsafe_arena_release_pool() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:management.QuotaInfo.pool) @@ -14359,7 +14559,7 @@ inline ::beegfs::EntityIdSet* QuotaInfo::unsafe_arena_release_pool() { _impl_.pool_ = nullptr; return temp; } -inline ::beegfs::EntityIdSet* QuotaInfo::_internal_mutable_pool() { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL QuotaInfo::_internal_mutable_pool() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.pool_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); @@ -14367,13 +14567,14 @@ inline ::beegfs::EntityIdSet* QuotaInfo::_internal_mutable_pool() { } return _impl_.pool_; } -inline ::beegfs::EntityIdSet* QuotaInfo::mutable_pool() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL 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) { +inline void QuotaInfo::set_allocated_pool(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { @@ -14381,7 +14582,7 @@ inline void QuotaInfo::set_allocated_pool(::beegfs::EntityIdSet* value) { } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } @@ -14396,13 +14597,13 @@ inline void QuotaInfo::set_allocated_pool(::beegfs::EntityIdSet* value) { // optional int64 space_limit = 4; inline bool QuotaInfo::has_space_limit() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 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; + _impl_._has_bits_[0] &= ~0x00000008u; } inline ::int64_t QuotaInfo::space_limit() const { // @@protoc_insertion_point(field_get:management.QuotaInfo.space_limit) @@ -14410,7 +14611,7 @@ inline ::int64_t QuotaInfo::space_limit() const { } inline void QuotaInfo::set_space_limit(::int64_t value) { _internal_set_space_limit(value); - _impl_._has_bits_[0] |= 0x00000004u; + _impl_._has_bits_[0] |= 0x00000008u; // @@protoc_insertion_point(field_set:management.QuotaInfo.space_limit) } inline ::int64_t QuotaInfo::_internal_space_limit() const { @@ -14424,13 +14625,13 @@ inline void QuotaInfo::_internal_set_space_limit(::int64_t value) { // optional int64 inode_limit = 5; inline bool QuotaInfo::has_inode_limit() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 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; + _impl_._has_bits_[0] &= ~0x00000010u; } inline ::int64_t QuotaInfo::inode_limit() const { // @@protoc_insertion_point(field_get:management.QuotaInfo.inode_limit) @@ -14438,7 +14639,7 @@ inline ::int64_t QuotaInfo::inode_limit() const { } inline void QuotaInfo::set_inode_limit(::int64_t value) { _internal_set_inode_limit(value); - _impl_._has_bits_[0] |= 0x00000008u; + _impl_._has_bits_[0] |= 0x00000010u; // @@protoc_insertion_point(field_set:management.QuotaInfo.inode_limit) } inline ::int64_t QuotaInfo::_internal_inode_limit() const { @@ -14452,13 +14653,13 @@ inline void QuotaInfo::_internal_set_inode_limit(::int64_t value) { // optional int64 space_used = 6; inline bool QuotaInfo::has_space_used() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 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; + _impl_._has_bits_[0] &= ~0x00000020u; } inline ::int64_t QuotaInfo::space_used() const { // @@protoc_insertion_point(field_get:management.QuotaInfo.space_used) @@ -14466,7 +14667,7 @@ inline ::int64_t QuotaInfo::space_used() const { } inline void QuotaInfo::set_space_used(::int64_t value) { _internal_set_space_used(value); - _impl_._has_bits_[0] |= 0x00000010u; + _impl_._has_bits_[0] |= 0x00000020u; // @@protoc_insertion_point(field_set:management.QuotaInfo.space_used) } inline ::int64_t QuotaInfo::_internal_space_used() const { @@ -14480,13 +14681,13 @@ inline void QuotaInfo::_internal_set_space_used(::int64_t value) { // optional int64 inode_used = 7; inline bool QuotaInfo::has_inode_used() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 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; + _impl_._has_bits_[0] &= ~0x00000040u; } inline ::int64_t QuotaInfo::inode_used() const { // @@protoc_insertion_point(field_get:management.QuotaInfo.inode_used) @@ -14494,7 +14695,7 @@ inline ::int64_t QuotaInfo::inode_used() const { } inline void QuotaInfo::set_inode_used(::int64_t value) { _internal_set_inode_used(value); - _impl_._has_bits_[0] |= 0x00000020u; + _impl_._has_bits_[0] |= 0x00000040u; // @@protoc_insertion_point(field_set:management.QuotaInfo.inode_used) } inline ::int64_t QuotaInfo::_internal_inode_used() const { @@ -14525,7 +14726,8 @@ inline const ::beegfs::EntityIdSet& SetDefaultQuotaLimitsRequest::pool() const A // @@protoc_insertion_point(field_get:management.SetDefaultQuotaLimitsRequest.pool) return _internal_pool(); } -inline void SetDefaultQuotaLimitsRequest::unsafe_arena_set_allocated_pool(::beegfs::EntityIdSet* value) { +inline void SetDefaultQuotaLimitsRequest::unsafe_arena_set_allocated_pool( + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.pool_); @@ -14538,7 +14740,7 @@ inline void SetDefaultQuotaLimitsRequest::unsafe_arena_set_allocated_pool(::beeg } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.SetDefaultQuotaLimitsRequest.pool) } -inline ::beegfs::EntityIdSet* SetDefaultQuotaLimitsRequest::release_pool() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE SetDefaultQuotaLimitsRequest::release_pool() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000001u; @@ -14557,7 +14759,7 @@ inline ::beegfs::EntityIdSet* SetDefaultQuotaLimitsRequest::release_pool() { } return released; } -inline ::beegfs::EntityIdSet* SetDefaultQuotaLimitsRequest::unsafe_arena_release_pool() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE SetDefaultQuotaLimitsRequest::unsafe_arena_release_pool() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:management.SetDefaultQuotaLimitsRequest.pool) @@ -14566,7 +14768,7 @@ inline ::beegfs::EntityIdSet* SetDefaultQuotaLimitsRequest::unsafe_arena_release _impl_.pool_ = nullptr; return temp; } -inline ::beegfs::EntityIdSet* SetDefaultQuotaLimitsRequest::_internal_mutable_pool() { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL SetDefaultQuotaLimitsRequest::_internal_mutable_pool() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.pool_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); @@ -14574,13 +14776,14 @@ inline ::beegfs::EntityIdSet* SetDefaultQuotaLimitsRequest::_internal_mutable_po } return _impl_.pool_; } -inline ::beegfs::EntityIdSet* SetDefaultQuotaLimitsRequest::mutable_pool() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL 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) { +inline void SetDefaultQuotaLimitsRequest::set_allocated_pool(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { @@ -14588,7 +14791,7 @@ inline void SetDefaultQuotaLimitsRequest::set_allocated_pool(::beegfs::EntityIdS } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } @@ -14732,12 +14935,12 @@ inline void SetQuotaLimitsRequest::clear_limits() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.limits_.Clear(); } -inline ::management::QuotaInfo* SetQuotaLimitsRequest::mutable_limits(int index) +inline ::management::QuotaInfo* PROTOBUF_NONNULL 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() +inline ::google::protobuf::RepeatedPtrField<::management::QuotaInfo>* PROTOBUF_NONNULL SetQuotaLimitsRequest::mutable_limits() ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_mutable_list:management.SetQuotaLimitsRequest.limits) ::google::protobuf::internal::TSanWrite(&_impl_); @@ -14748,7 +14951,8 @@ inline const ::management::QuotaInfo& SetQuotaLimitsRequest::limits(int index) c // @@protoc_insertion_point(field_get:management.SetQuotaLimitsRequest.limits) return _internal_limits().Get(index); } -inline ::management::QuotaInfo* SetQuotaLimitsRequest::add_limits() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::management::QuotaInfo* PROTOBUF_NONNULL 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) @@ -14764,7 +14968,7 @@ SetQuotaLimitsRequest::_internal_limits() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.limits_; } -inline ::google::protobuf::RepeatedPtrField<::management::QuotaInfo>* +inline ::google::protobuf::RepeatedPtrField<::management::QuotaInfo>* PROTOBUF_NONNULL SetQuotaLimitsRequest::_internal_mutable_limits() { ::google::protobuf::internal::TSanRead(&_impl_); return &_impl_.limits_; @@ -14863,7 +15067,7 @@ inline const ::google::protobuf::RepeatedField<::uint32_t>& GetQuotaLimitsReques // @@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() +inline ::google::protobuf::RepeatedField<::uint32_t>* PROTOBUF_NONNULL 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_); @@ -14874,7 +15078,8 @@ 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() { +inline ::google::protobuf::RepeatedField<::uint32_t>* PROTOBUF_NONNULL +GetQuotaLimitsRequest::_internal_mutable_user_id_list() { ::google::protobuf::internal::TSanRead(&_impl_); return &_impl_.user_id_list_; } @@ -14964,7 +15169,7 @@ inline const ::google::protobuf::RepeatedField<::uint32_t>& GetQuotaLimitsReques // @@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() +inline ::google::protobuf::RepeatedField<::uint32_t>* PROTOBUF_NONNULL 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_); @@ -14975,7 +15180,8 @@ 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() { +inline ::google::protobuf::RepeatedField<::uint32_t>* PROTOBUF_NONNULL +GetQuotaLimitsRequest::_internal_mutable_group_id_list() { ::google::protobuf::internal::TSanRead(&_impl_); return &_impl_.group_id_list_; } @@ -14995,7 +15201,8 @@ inline const ::beegfs::EntityIdSet& GetQuotaLimitsRequest::pool() const ABSL_ATT // @@protoc_insertion_point(field_get:management.GetQuotaLimitsRequest.pool) return _internal_pool(); } -inline void GetQuotaLimitsRequest::unsafe_arena_set_allocated_pool(::beegfs::EntityIdSet* value) { +inline void GetQuotaLimitsRequest::unsafe_arena_set_allocated_pool( + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.pool_); @@ -15008,7 +15215,7 @@ inline void GetQuotaLimitsRequest::unsafe_arena_set_allocated_pool(::beegfs::Ent } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.GetQuotaLimitsRequest.pool) } -inline ::beegfs::EntityIdSet* GetQuotaLimitsRequest::release_pool() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE GetQuotaLimitsRequest::release_pool() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000001u; @@ -15027,7 +15234,7 @@ inline ::beegfs::EntityIdSet* GetQuotaLimitsRequest::release_pool() { } return released; } -inline ::beegfs::EntityIdSet* GetQuotaLimitsRequest::unsafe_arena_release_pool() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE GetQuotaLimitsRequest::unsafe_arena_release_pool() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:management.GetQuotaLimitsRequest.pool) @@ -15036,7 +15243,7 @@ inline ::beegfs::EntityIdSet* GetQuotaLimitsRequest::unsafe_arena_release_pool() _impl_.pool_ = nullptr; return temp; } -inline ::beegfs::EntityIdSet* GetQuotaLimitsRequest::_internal_mutable_pool() { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL GetQuotaLimitsRequest::_internal_mutable_pool() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.pool_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); @@ -15044,13 +15251,14 @@ inline ::beegfs::EntityIdSet* GetQuotaLimitsRequest::_internal_mutable_pool() { } return _impl_.pool_; } -inline ::beegfs::EntityIdSet* GetQuotaLimitsRequest::mutable_pool() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL 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) { +inline void GetQuotaLimitsRequest::set_allocated_pool(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { @@ -15058,7 +15266,7 @@ inline void GetQuotaLimitsRequest::set_allocated_pool(::beegfs::EntityIdSet* val } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } @@ -15095,7 +15303,8 @@ inline const ::management::QuotaInfo& GetQuotaLimitsResponse::limits() const ABS // @@protoc_insertion_point(field_get:management.GetQuotaLimitsResponse.limits) return _internal_limits(); } -inline void GetQuotaLimitsResponse::unsafe_arena_set_allocated_limits(::management::QuotaInfo* value) { +inline void GetQuotaLimitsResponse::unsafe_arena_set_allocated_limits( + ::management::QuotaInfo* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.limits_); @@ -15108,7 +15317,7 @@ inline void GetQuotaLimitsResponse::unsafe_arena_set_allocated_limits(::manageme } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.GetQuotaLimitsResponse.limits) } -inline ::management::QuotaInfo* GetQuotaLimitsResponse::release_limits() { +inline ::management::QuotaInfo* PROTOBUF_NULLABLE GetQuotaLimitsResponse::release_limits() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000001u; @@ -15127,7 +15336,7 @@ inline ::management::QuotaInfo* GetQuotaLimitsResponse::release_limits() { } return released; } -inline ::management::QuotaInfo* GetQuotaLimitsResponse::unsafe_arena_release_limits() { +inline ::management::QuotaInfo* PROTOBUF_NULLABLE GetQuotaLimitsResponse::unsafe_arena_release_limits() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:management.GetQuotaLimitsResponse.limits) @@ -15136,7 +15345,7 @@ inline ::management::QuotaInfo* GetQuotaLimitsResponse::unsafe_arena_release_lim _impl_.limits_ = nullptr; return temp; } -inline ::management::QuotaInfo* GetQuotaLimitsResponse::_internal_mutable_limits() { +inline ::management::QuotaInfo* PROTOBUF_NONNULL GetQuotaLimitsResponse::_internal_mutable_limits() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.limits_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::management::QuotaInfo>(GetArena()); @@ -15144,21 +15353,22 @@ inline ::management::QuotaInfo* GetQuotaLimitsResponse::_internal_mutable_limits } return _impl_.limits_; } -inline ::management::QuotaInfo* GetQuotaLimitsResponse::mutable_limits() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::management::QuotaInfo* PROTOBUF_NONNULL 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) { +inline void GetQuotaLimitsResponse::set_allocated_limits(::management::QuotaInfo* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { - delete (_impl_.limits_); + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.limits_); } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = value->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } @@ -15260,7 +15470,7 @@ inline const ::google::protobuf::RepeatedField<::uint32_t>& GetQuotaUsageRequest // @@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() +inline ::google::protobuf::RepeatedField<::uint32_t>* PROTOBUF_NONNULL 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_); @@ -15271,7 +15481,8 @@ 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() { +inline ::google::protobuf::RepeatedField<::uint32_t>* PROTOBUF_NONNULL +GetQuotaUsageRequest::_internal_mutable_user_id_list() { ::google::protobuf::internal::TSanRead(&_impl_); return &_impl_.user_id_list_; } @@ -15361,7 +15572,7 @@ inline const ::google::protobuf::RepeatedField<::uint32_t>& GetQuotaUsageRequest // @@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() +inline ::google::protobuf::RepeatedField<::uint32_t>* PROTOBUF_NONNULL 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_); @@ -15372,7 +15583,8 @@ 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() { +inline ::google::protobuf::RepeatedField<::uint32_t>* PROTOBUF_NONNULL +GetQuotaUsageRequest::_internal_mutable_group_id_list() { ::google::protobuf::internal::TSanRead(&_impl_); return &_impl_.group_id_list_; } @@ -15392,7 +15604,8 @@ inline const ::beegfs::EntityIdSet& GetQuotaUsageRequest::pool() const ABSL_ATTR // @@protoc_insertion_point(field_get:management.GetQuotaUsageRequest.pool) return _internal_pool(); } -inline void GetQuotaUsageRequest::unsafe_arena_set_allocated_pool(::beegfs::EntityIdSet* value) { +inline void GetQuotaUsageRequest::unsafe_arena_set_allocated_pool( + ::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.pool_); @@ -15405,7 +15618,7 @@ inline void GetQuotaUsageRequest::unsafe_arena_set_allocated_pool(::beegfs::Enti } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.GetQuotaUsageRequest.pool) } -inline ::beegfs::EntityIdSet* GetQuotaUsageRequest::release_pool() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE GetQuotaUsageRequest::release_pool() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000001u; @@ -15424,7 +15637,7 @@ inline ::beegfs::EntityIdSet* GetQuotaUsageRequest::release_pool() { } return released; } -inline ::beegfs::EntityIdSet* GetQuotaUsageRequest::unsafe_arena_release_pool() { +inline ::beegfs::EntityIdSet* PROTOBUF_NULLABLE GetQuotaUsageRequest::unsafe_arena_release_pool() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:management.GetQuotaUsageRequest.pool) @@ -15433,7 +15646,7 @@ inline ::beegfs::EntityIdSet* GetQuotaUsageRequest::unsafe_arena_release_pool() _impl_.pool_ = nullptr; return temp; } -inline ::beegfs::EntityIdSet* GetQuotaUsageRequest::_internal_mutable_pool() { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL GetQuotaUsageRequest::_internal_mutable_pool() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.pool_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); @@ -15441,13 +15654,14 @@ inline ::beegfs::EntityIdSet* GetQuotaUsageRequest::_internal_mutable_pool() { } return _impl_.pool_; } -inline ::beegfs::EntityIdSet* GetQuotaUsageRequest::mutable_pool() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::beegfs::EntityIdSet* PROTOBUF_NONNULL 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) { +inline void GetQuotaUsageRequest::set_allocated_pool(::beegfs::EntityIdSet* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { @@ -15455,7 +15669,7 @@ inline void GetQuotaUsageRequest::set_allocated_pool(::beegfs::EntityIdSet* valu } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } @@ -15520,7 +15734,8 @@ inline const ::management::QuotaInfo& GetQuotaUsageResponse::entry() const ABSL_ // @@protoc_insertion_point(field_get:management.GetQuotaUsageResponse.entry) return _internal_entry(); } -inline void GetQuotaUsageResponse::unsafe_arena_set_allocated_entry(::management::QuotaInfo* value) { +inline void GetQuotaUsageResponse::unsafe_arena_set_allocated_entry( + ::management::QuotaInfo* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.entry_); @@ -15533,7 +15748,7 @@ inline void GetQuotaUsageResponse::unsafe_arena_set_allocated_entry(::management } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.GetQuotaUsageResponse.entry) } -inline ::management::QuotaInfo* GetQuotaUsageResponse::release_entry() { +inline ::management::QuotaInfo* PROTOBUF_NULLABLE GetQuotaUsageResponse::release_entry() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000001u; @@ -15552,7 +15767,7 @@ inline ::management::QuotaInfo* GetQuotaUsageResponse::release_entry() { } return released; } -inline ::management::QuotaInfo* GetQuotaUsageResponse::unsafe_arena_release_entry() { +inline ::management::QuotaInfo* PROTOBUF_NULLABLE GetQuotaUsageResponse::unsafe_arena_release_entry() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:management.GetQuotaUsageResponse.entry) @@ -15561,7 +15776,7 @@ inline ::management::QuotaInfo* GetQuotaUsageResponse::unsafe_arena_release_entr _impl_.entry_ = nullptr; return temp; } -inline ::management::QuotaInfo* GetQuotaUsageResponse::_internal_mutable_entry() { +inline ::management::QuotaInfo* PROTOBUF_NONNULL GetQuotaUsageResponse::_internal_mutable_entry() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.entry_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::management::QuotaInfo>(GetArena()); @@ -15569,21 +15784,22 @@ inline ::management::QuotaInfo* GetQuotaUsageResponse::_internal_mutable_entry() } return _impl_.entry_; } -inline ::management::QuotaInfo* GetQuotaUsageResponse::mutable_entry() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::management::QuotaInfo* PROTOBUF_NONNULL 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) { +inline void GetQuotaUsageResponse::set_allocated_entry(::management::QuotaInfo* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { - delete (_impl_.entry_); + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.entry_); } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = value->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } @@ -15675,7 +15891,8 @@ inline const ::license::GetCertDataResult& GetLicenseResponse::cert_data() const // @@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) { +inline void GetLicenseResponse::unsafe_arena_set_allocated_cert_data( + ::license::GetCertDataResult* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.cert_data_); @@ -15688,7 +15905,7 @@ inline void GetLicenseResponse::unsafe_arena_set_allocated_cert_data(::license:: } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.GetLicenseResponse.cert_data) } -inline ::license::GetCertDataResult* GetLicenseResponse::release_cert_data() { +inline ::license::GetCertDataResult* PROTOBUF_NULLABLE GetLicenseResponse::release_cert_data() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000001u; @@ -15707,7 +15924,7 @@ inline ::license::GetCertDataResult* GetLicenseResponse::release_cert_data() { } return released; } -inline ::license::GetCertDataResult* GetLicenseResponse::unsafe_arena_release_cert_data() { +inline ::license::GetCertDataResult* PROTOBUF_NULLABLE GetLicenseResponse::unsafe_arena_release_cert_data() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:management.GetLicenseResponse.cert_data) @@ -15716,7 +15933,7 @@ inline ::license::GetCertDataResult* GetLicenseResponse::unsafe_arena_release_ce _impl_.cert_data_ = nullptr; return temp; } -inline ::license::GetCertDataResult* GetLicenseResponse::_internal_mutable_cert_data() { +inline ::license::GetCertDataResult* PROTOBUF_NONNULL GetLicenseResponse::_internal_mutable_cert_data() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.cert_data_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::license::GetCertDataResult>(GetArena()); @@ -15724,13 +15941,14 @@ inline ::license::GetCertDataResult* GetLicenseResponse::_internal_mutable_cert_ } return _impl_.cert_data_; } -inline ::license::GetCertDataResult* GetLicenseResponse::mutable_cert_data() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::license::GetCertDataResult* PROTOBUF_NONNULL 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) { +inline void GetLicenseResponse::set_allocated_cert_data(::license::GetCertDataResult* PROTOBUF_NULLABLE value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { @@ -15738,7 +15956,7 @@ inline void GetLicenseResponse::set_allocated_cert_data(::license::GetCertDataRe } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } diff --git a/cpp/license.pb.cc b/cpp/license.pb.cc deleted file mode 100644 index 75f7367..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*\274\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\026\n\022CERT_TYPE_" - "CUSTOMER\020\004\022\027\n\023CERT_TYPE_TEMPORARY\020\005\022\027\n\023C" - "ERT_TYPE_COMMUNITY\020\006B*Z(github.com/think" - "parq/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, - 1072, - 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/go/beegfs/beegfs.pb.go b/go/beegfs/beegfs.pb.go index 7b7ed63..10e5d1b 100644 --- a/go/beegfs/beegfs.pb.go +++ b/go/beegfs/beegfs.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.2 -// protoc v5.29.2 +// protoc v6.31.1 // source: beegfs.proto //go:build !protoopaque diff --git a/go/beegfs/beegfs_protoopaque.pb.go b/go/beegfs/beegfs_protoopaque.pb.go index 0e6ace9..8e88964 100644 --- a/go/beegfs/beegfs_protoopaque.pb.go +++ b/go/beegfs/beegfs_protoopaque.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.2 -// protoc v5.29.2 +// protoc v6.31.1 // source: beegfs.proto //go:build protoopaque diff --git a/go/beeremote/beeremote.pb.go b/go/beeremote/beeremote.pb.go index 8169375..d715e11 100644 --- a/go/beeremote/beeremote.pb.go +++ b/go/beeremote/beeremote.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.2 -// protoc v5.29.2 +// protoc v6.31.1 // source: beeremote.proto //go:build !protoopaque diff --git a/go/beeremote/beeremote_grpc.pb.go b/go/beeremote/beeremote_grpc.pb.go index 288194f..37367f8 100644 --- a/go/beeremote/beeremote_grpc.pb.go +++ b/go/beeremote/beeremote_grpc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.5.1 -// - protoc v5.29.2 +// - protoc v6.31.1 // source: beeremote.proto package beeremote diff --git a/go/beeremote/beeremote_protoopaque.pb.go b/go/beeremote/beeremote_protoopaque.pb.go index d957f81..1ed8fc0 100644 --- a/go/beeremote/beeremote_protoopaque.pb.go +++ b/go/beeremote/beeremote_protoopaque.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.2 -// protoc v5.29.2 +// protoc v6.31.1 // source: beeremote.proto //go:build protoopaque diff --git a/go/beewatch/beewatch.pb.go b/go/beewatch/beewatch.pb.go index b902d23..cd887e1 100644 --- a/go/beewatch/beewatch.pb.go +++ b/go/beewatch/beewatch.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.2 -// protoc v5.29.2 +// protoc v6.31.1 // source: beewatch.proto //go:build !protoopaque diff --git a/go/beewatch/beewatch_grpc.pb.go b/go/beewatch/beewatch_grpc.pb.go index e9e1c50..fa0c921 100644 --- a/go/beewatch/beewatch_grpc.pb.go +++ b/go/beewatch/beewatch_grpc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.5.1 -// - protoc v5.29.2 +// - protoc v6.31.1 // source: beewatch.proto package beewatch diff --git a/go/beewatch/beewatch_protoopaque.pb.go b/go/beewatch/beewatch_protoopaque.pb.go index 4a3dbd4..2ec1eaf 100644 --- a/go/beewatch/beewatch_protoopaque.pb.go +++ b/go/beewatch/beewatch_protoopaque.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.2 -// protoc v5.29.2 +// protoc v6.31.1 // source: beewatch.proto //go:build protoopaque diff --git a/go/flex/flex.pb.go b/go/flex/flex.pb.go index fb896df..4639ecd 100644 --- a/go/flex/flex.pb.go +++ b/go/flex/flex.pb.go @@ -3,7 +3,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.2 -// protoc v5.29.2 +// protoc v6.31.1 // source: flex.proto //go:build !protoopaque diff --git a/go/flex/flex_grpc.pb.go b/go/flex/flex_grpc.pb.go index d49cf3a..38d458a 100644 --- a/go/flex/flex_grpc.pb.go +++ b/go/flex/flex_grpc.pb.go @@ -3,7 +3,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.5.1 -// - protoc v5.29.2 +// - protoc v6.31.1 // source: flex.proto package flex diff --git a/go/flex/flex_protoopaque.pb.go b/go/flex/flex_protoopaque.pb.go index e66a2c4..5614d4c 100644 --- a/go/flex/flex_protoopaque.pb.go +++ b/go/flex/flex_protoopaque.pb.go @@ -3,7 +3,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.2 -// protoc v5.29.2 +// protoc v6.31.1 // source: flex.proto //go:build protoopaque diff --git a/go/license/license.pb.go b/go/license/license.pb.go index 1796b4d..fbdace0 100644 --- a/go/license/license.pb.go +++ b/go/license/license.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.2 -// protoc v5.29.2 +// protoc v6.31.1 // source: license.proto //go:build !protoopaque diff --git a/go/license/license_protoopaque.pb.go b/go/license/license_protoopaque.pb.go index 80c3d3e..9d1adc7 100644 --- a/go/license/license_protoopaque.pb.go +++ b/go/license/license_protoopaque.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.2 -// protoc v5.29.2 +// protoc v6.31.1 // source: license.proto //go:build protoopaque diff --git a/go/management/management.pb.go b/go/management/management.pb.go index 49e0e8b..e027e10 100644 --- a/go/management/management.pb.go +++ b/go/management/management.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.2 -// protoc v5.29.2 +// protoc v6.31.1 // source: management.proto //go:build !protoopaque diff --git a/go/management/management_grpc.pb.go b/go/management/management_grpc.pb.go index 92fa8bd..f670470 100644 --- a/go/management/management_grpc.pb.go +++ b/go/management/management_grpc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.5.1 -// - protoc v5.29.2 +// - protoc v6.31.1 // source: management.proto package management diff --git a/go/management/management_protoopaque.pb.go b/go/management/management_protoopaque.pb.go index 5ec382d..bdc676f 100644 --- a/go/management/management_protoopaque.pb.go +++ b/go/management/management_protoopaque.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.2 -// protoc v5.29.2 +// protoc v6.31.1 // source: management.proto //go:build protoopaque