/
smychkov
/
SStorage
Обзор
Документация
Войти
/
smychkov
/
SStorage
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
src/server/storage.pb.h
3 993 строки
156 KB
Андрей
feat: top N keys + scan stream (range/top/all) with pagination
14 июл 2026, 12:56
14 июл 2026, 12:56
56c6264
Код
Авторство
О чём код?
// Generated by the protocol buffer compiler. DO NOT EDIT! // NO CHECKED-IN PROTOBUF GENCODE // source: storage.proto // Protobuf C++ Version: 7.34.1 #ifndef storage_2eproto_2epb_2eh #define storage_2eproto_2epb_2eh #include <limits> #include <string> #include <type_traits> #include <utility> // clang-format off #include "google/protobuf/runtime_version.h" #if PROTOBUF_VERSION != 7034001 #error "Protobuf C++ gencode is built with an incompatible version of" #error "Protobuf C++ headers/runtime. See" #error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp" #endif #include "google/protobuf/io/coded_stream.h" #include "google/protobuf/arena.h" #include "google/protobuf/arenastring.h" #include "google/protobuf/generated_message_bases.h" #include "google/protobuf/generated_message_tctable_decl.h" #include "google/protobuf/generated_message_util.h" #include "google/protobuf/metadata_lite.h" #include "google/protobuf/generated_message_reflection.h" #include "google/protobuf/message.h" #include "google/protobuf/message_lite.h" #include "google/protobuf/repeated_field.h" // IWYU pragma: export #include "google/protobuf/extension_set.h" // IWYU pragma: export #include "google/protobuf/generated_enum_reflection.h" #include "google/protobuf/unknown_field_set.h" // @@protoc_insertion_point(includes) // Must be included last. #include "google/protobuf/port_def.inc" #define PROTOBUF_INTERNAL_EXPORT_storage_2eproto namespace google { namespace protobuf { namespace internal { template <typename T> ::absl::string_view GetAnyMessageName(); } // namespace internal } // namespace protobuf } // namespace google // Internal implementation detail -- do not use these members. struct TableStruct_storage_2eproto { static const ::uint32_t offsets[]; }; extern "C" { extern const ::google::protobuf::internal::DescriptorTable descriptor_table_storage_2eproto; } // extern "C" namespace sstorage { enum ScanMode : int; extern const uint32_t ScanMode_internal_data_[]; class CompactRequest; struct CompactRequestDefaultTypeInternal; extern CompactRequestDefaultTypeInternal _CompactRequest_default_instance_; extern const ::google::protobuf::internal::ClassDataFull CompactRequest_class_data_; class CompactResponse; struct CompactResponseDefaultTypeInternal; extern CompactResponseDefaultTypeInternal _CompactResponse_default_instance_; extern const ::google::protobuf::internal::ClassDataFull CompactResponse_class_data_; class DeleteRequest; struct DeleteRequestDefaultTypeInternal; extern DeleteRequestDefaultTypeInternal _DeleteRequest_default_instance_; extern const ::google::protobuf::internal::ClassDataFull DeleteRequest_class_data_; class DeleteResponse; struct DeleteResponseDefaultTypeInternal; extern DeleteResponseDefaultTypeInternal _DeleteResponse_default_instance_; extern const ::google::protobuf::internal::ClassDataFull DeleteResponse_class_data_; class FlushRequest; struct FlushRequestDefaultTypeInternal; extern FlushRequestDefaultTypeInternal _FlushRequest_default_instance_; extern const ::google::protobuf::internal::ClassDataFull FlushRequest_class_data_; class FlushResponse; struct FlushResponseDefaultTypeInternal; extern FlushResponseDefaultTypeInternal _FlushResponse_default_instance_; extern const ::google::protobuf::internal::ClassDataFull FlushResponse_class_data_; class GetRequest; struct GetRequestDefaultTypeInternal; extern GetRequestDefaultTypeInternal _GetRequest_default_instance_; extern const ::google::protobuf::internal::ClassDataFull GetRequest_class_data_; class GetResponse; struct GetResponseDefaultTypeInternal; extern GetResponseDefaultTypeInternal _GetResponse_default_instance_; extern const ::google::protobuf::internal::ClassDataFull GetResponse_class_data_; class PutRequest; struct PutRequestDefaultTypeInternal; extern PutRequestDefaultTypeInternal _PutRequest_default_instance_; extern const ::google::protobuf::internal::ClassDataFull PutRequest_class_data_; class PutResponse; struct PutResponseDefaultTypeInternal; extern PutResponseDefaultTypeInternal _PutResponse_default_instance_; extern const ::google::protobuf::internal::ClassDataFull PutResponse_class_data_; class ScanRequest; struct ScanRequestDefaultTypeInternal; extern ScanRequestDefaultTypeInternal _ScanRequest_default_instance_; extern const ::google::protobuf::internal::ClassDataFull ScanRequest_class_data_; class ScanResponse; struct ScanResponseDefaultTypeInternal; extern ScanResponseDefaultTypeInternal _ScanResponse_default_instance_; extern const ::google::protobuf::internal::ClassDataFull ScanResponse_class_data_; class StatsRequest; struct StatsRequestDefaultTypeInternal; extern StatsRequestDefaultTypeInternal _StatsRequest_default_instance_; extern const ::google::protobuf::internal::ClassDataFull StatsRequest_class_data_; class StatsResponse; struct StatsResponseDefaultTypeInternal; extern StatsResponseDefaultTypeInternal _StatsResponse_default_instance_; extern const ::google::protobuf::internal::ClassDataFull StatsResponse_class_data_; } // namespace sstorage namespace google { namespace protobuf { template <> internal::EnumTraitsT<::sstorage::ScanMode_internal_data_> internal::EnumTraitsImpl::value<::sstorage::ScanMode>; } // namespace protobuf } // namespace google namespace sstorage { enum ScanMode : int { SCAN_RANGE = 0, SCAN_TOP = 1, SCAN_ALL = 2, ScanMode_INT_MIN_SENTINEL_DO_NOT_USE_ = ::std::numeric_limits<::int32_t>::min(), ScanMode_INT_MAX_SENTINEL_DO_NOT_USE_ = ::std::numeric_limits<::int32_t>::max(), }; extern const uint32_t ScanMode_internal_data_[]; inline constexpr ScanMode ScanMode_MIN = static_cast<ScanMode>(0); inline constexpr ScanMode ScanMode_MAX = static_cast<ScanMode>(2); [[nodiscard]] inline bool ScanMode_IsValid(int value) { return 0 <= value && value <= 2; } inline constexpr int ScanMode_ARRAYSIZE = 2 + 1; [[nodiscard]] const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL ScanMode_descriptor(); [[nodiscard]] inline auto ProtobufInternalGetEnumDescriptor(ScanMode) { return ScanMode_descriptor(); } template <typename T> [[nodiscard]] const ::std::string& ScanMode_Name(T value) { static_assert(::std::is_same<T, ScanMode>::value || ::std::is_integral<T>::value, "Incorrect type passed to ScanMode_Name()."); return ScanMode_Name(static_cast<ScanMode>(value)); } template <> [[nodiscard]] inline const ::std::string& ScanMode_Name(ScanMode value) { return ::google::protobuf::internal::NameOfDenseEnum<ScanMode_descriptor, 0, 2>( static_cast<int>(value)); } [[nodiscard]] inline bool ScanMode_Parse( ::absl::string_view name, ScanMode* PROTOBUF_NONNULL value) { return ::google::protobuf::internal::ParseNamedEnum<ScanMode>(ScanMode_descriptor(), name, value); } // =================================================================== // ------------------------------------------------------------------- class PROTOBUF_FUTURE_ADD_EARLY_WARN_UNUSED StatsResponse final : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:sstorage.StatsResponse) */ { public: inline StatsResponse() : StatsResponse(nullptr) {} ~StatsResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) void operator delete(StatsResponse* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(StatsResponse)); } #endif template <typename = void> explicit constexpr StatsResponse(::google::protobuf::internal::ConstantInitialized); inline StatsResponse(const StatsResponse& from) : StatsResponse(nullptr, from) {} inline StatsResponse(StatsResponse&& from) noexcept : StatsResponse(nullptr, ::std::move(from)) {} inline StatsResponse& operator=(const StatsResponse& from) { CopyFrom(from); return *this; } inline StatsResponse& operator=(StatsResponse&& from) noexcept { if (this == &from) return *this; if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { InternalSwap(&from); } else { CopyFrom(from); } return *this; } [[nodiscard]] inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } [[nodiscard]] inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } [[nodiscard]] static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } [[nodiscard]] static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } [[nodiscard]] static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() { return default_instance().GetMetadata().reflection; } [[nodiscard]] static const StatsResponse& default_instance() { return *reinterpret_cast<const StatsResponse*>( &_StatsResponse_default_instance_); } static constexpr int kIndexInFileMessages = 9; friend void swap(StatsResponse& a, StatsResponse& b) { a.Swap(&b); } inline void Swap(StatsResponse* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); } else { ::google::protobuf::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(StatsResponse* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- [[nodiscard]] StatsResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct<StatsResponse>(arena); } using ::google::protobuf::Message::CopyFrom; void CopyFrom(const StatsResponse& from); using ::google::protobuf::Message::MergeFrom; void MergeFrom(const StatsResponse& from) { StatsResponse::MergeImpl(*this, from); } private: static void MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); public: [[nodiscard]] bool IsInitialized() const { return true; } ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) private: [[nodiscard]] static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); [[nodiscard]] static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: [[nodiscard]] ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } [[nodiscard]] ::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 [[nodiscard]] ::size_t ByteSizeLong() const final; [[nodiscard]] ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( ::uint8_t* PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE [[nodiscard]] int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); void InternalSwap(StatsResponse* PROTOBUF_NONNULL other); private: template <typename T> friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); static ::absl::string_view FullMessageName() { return "sstorage.StatsResponse"; } explicit StatsResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); StatsResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const StatsResponse& from); StatsResponse( ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, StatsResponse&& from) noexcept : StatsResponse(arena) { *this = ::std::move(from); } const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; static void* PROTOBUF_NONNULL PlacementNew_( const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); public: static constexpr auto InternalGenerateClassData_(); [[nodiscard]] ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kLevelRecordsFieldNumber = 3, kLevelFileCountsFieldNumber = 4, kMemtableSizeFieldNumber = 1, kImmutableCountFieldNumber = 2, kTotalRecordsFieldNumber = 5, }; // repeated uint64 level_records = 3; [[nodiscard]] int level_records_size() const; private: int _internal_level_records_size() const; public: void clear_level_records() ; [[nodiscard]] ::uint64_t level_records(int index) const; void set_level_records(int index, ::uint64_t value); void add_level_records(::uint64_t value); [[nodiscard]] const ::google::protobuf::RepeatedField<::uint64_t>& level_records() const; ::google::protobuf::RepeatedField<::uint64_t>* PROTOBUF_NONNULL mutable_level_records(); private: const ::google::protobuf::RepeatedField<::uint64_t>& _internal_level_records() const; ::google::protobuf::RepeatedField<::uint64_t>* PROTOBUF_NONNULL _internal_mutable_level_records(); public: // repeated uint64 level_file_counts = 4; [[nodiscard]] int level_file_counts_size() const; private: int _internal_level_file_counts_size() const; public: void clear_level_file_counts() ; [[nodiscard]] ::uint64_t level_file_counts(int index) const; void set_level_file_counts(int index, ::uint64_t value); void add_level_file_counts(::uint64_t value); [[nodiscard]] const ::google::protobuf::RepeatedField<::uint64_t>& level_file_counts() const; ::google::protobuf::RepeatedField<::uint64_t>* PROTOBUF_NONNULL mutable_level_file_counts(); private: const ::google::protobuf::RepeatedField<::uint64_t>& _internal_level_file_counts() const; ::google::protobuf::RepeatedField<::uint64_t>* PROTOBUF_NONNULL _internal_mutable_level_file_counts(); public: // uint64 memtable_size = 1; void clear_memtable_size() ; [[nodiscard]] ::uint64_t memtable_size() const; void set_memtable_size(::uint64_t value); private: ::uint64_t _internal_memtable_size() const; void _internal_set_memtable_size(::uint64_t value); public: // uint64 immutable_count = 2; void clear_immutable_count() ; [[nodiscard]] ::uint64_t immutable_count() const; void set_immutable_count(::uint64_t value); private: ::uint64_t _internal_immutable_count() const; void _internal_set_immutable_count(::uint64_t value); public: // uint64 total_records = 5; void clear_total_records() ; [[nodiscard]] ::uint64_t total_records() const; void set_total_records(::uint64_t value); private: ::uint64_t _internal_total_records() const; void _internal_set_total_records(::uint64_t value); public: // @@protoc_insertion_point(class_scope:sstorage.StatsResponse) private: class _Internal; friend class ::google::protobuf::internal::TcParser; static const ::google::protobuf::internal::TcParseTable<3, 5, 0, 0, 2> _table_; friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; friend ::google::protobuf::internal::PrivateAccess; template <typename T> friend class ::google::protobuf::Arena::InternalHelper; using InternalArenaConstructable_ = void; using DestructorSkippable_ = void; struct Impl_ { inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility, ::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 StatsResponse& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; ::google::protobuf::RepeatedField<::uint64_t> level_records_; ::google::protobuf::internal::CachedSize _level_records_cached_byte_size_; ::google::protobuf::RepeatedField<::uint64_t> level_file_counts_; ::google::protobuf::internal::CachedSize _level_file_counts_cached_byte_size_; ::uint64_t memtable_size_; ::uint64_t immutable_count_; ::uint64_t total_records_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_storage_2eproto; }; extern const ::google::protobuf::internal::ClassDataFull StatsResponse_class_data_; // ------------------------------------------------------------------- class PROTOBUF_FUTURE_ADD_EARLY_WARN_UNUSED StatsRequest final : public ::google::protobuf::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:sstorage.StatsRequest) */ { public: inline StatsRequest() : StatsRequest(nullptr) {} #if defined(PROTOBUF_CUSTOM_VTABLE) void operator delete(StatsRequest* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(StatsRequest)); } #endif template <typename = void> explicit constexpr StatsRequest(::google::protobuf::internal::ConstantInitialized); inline StatsRequest(const StatsRequest& from) : StatsRequest(nullptr, from) {} inline StatsRequest(StatsRequest&& from) noexcept : StatsRequest(nullptr, ::std::move(from)) {} inline StatsRequest& operator=(const StatsRequest& from) { CopyFrom(from); return *this; } inline StatsRequest& operator=(StatsRequest&& from) noexcept { if (this == &from) return *this; if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { InternalSwap(&from); } else { CopyFrom(from); } return *this; } [[nodiscard]] inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } [[nodiscard]] inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } [[nodiscard]] static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } [[nodiscard]] static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } [[nodiscard]] static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() { return default_instance().GetMetadata().reflection; } [[nodiscard]] static const StatsRequest& default_instance() { return *reinterpret_cast<const StatsRequest*>( &_StatsRequest_default_instance_); } static constexpr int kIndexInFileMessages = 8; friend void swap(StatsRequest& a, StatsRequest& b) { a.Swap(&b); } inline void Swap(StatsRequest* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); } else { ::google::protobuf::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(StatsRequest* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- [[nodiscard]] StatsRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct<StatsRequest>(arena); } using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; inline void CopyFrom(const StatsRequest& from) { ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); } using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; void MergeFrom(const StatsRequest& from) { ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); } public: [[nodiscard]] bool IsInitialized() const { return true; } private: template <typename T> friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); static ::absl::string_view FullMessageName() { return "sstorage.StatsRequest"; } explicit StatsRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); StatsRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const StatsRequest& from); StatsRequest( ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, StatsRequest&& from) noexcept : StatsRequest(arena) { *this = ::std::move(from); } const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; static void* PROTOBUF_NONNULL PlacementNew_( const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); public: static constexpr auto InternalGenerateClassData_(); [[nodiscard]] ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // @@protoc_insertion_point(class_scope:sstorage.StatsRequest) private: class _Internal; friend class ::google::protobuf::internal::TcParser; static const ::google::protobuf::internal::TcParseTable<0, 0, 0, 0, 2> _table_; friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; friend ::google::protobuf::internal::PrivateAccess; template <typename T> friend class ::google::protobuf::Arena::InternalHelper; using InternalArenaConstructable_ = void; using DestructorSkippable_ = void; friend struct ::TableStruct_storage_2eproto; }; extern const ::google::protobuf::internal::ClassDataFull StatsRequest_class_data_; // ------------------------------------------------------------------- class PROTOBUF_FUTURE_ADD_EARLY_WARN_UNUSED ScanResponse final : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:sstorage.ScanResponse) */ { public: inline ScanResponse() : ScanResponse(nullptr) {} ~ScanResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) void operator delete(ScanResponse* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(ScanResponse)); } #endif template <typename = void> explicit constexpr ScanResponse(::google::protobuf::internal::ConstantInitialized); inline ScanResponse(const ScanResponse& from) : ScanResponse(nullptr, from) {} inline ScanResponse(ScanResponse&& from) noexcept : ScanResponse(nullptr, ::std::move(from)) {} inline ScanResponse& operator=(const ScanResponse& from) { CopyFrom(from); return *this; } inline ScanResponse& operator=(ScanResponse&& from) noexcept { if (this == &from) return *this; if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { InternalSwap(&from); } else { CopyFrom(from); } return *this; } [[nodiscard]] inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } [[nodiscard]] inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } [[nodiscard]] static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } [[nodiscard]] static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } [[nodiscard]] static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() { return default_instance().GetMetadata().reflection; } [[nodiscard]] static const ScanResponse& default_instance() { return *reinterpret_cast<const ScanResponse*>( &_ScanResponse_default_instance_); } static constexpr int kIndexInFileMessages = 7; friend void swap(ScanResponse& a, ScanResponse& b) { a.Swap(&b); } inline void Swap(ScanResponse* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); } else { ::google::protobuf::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(ScanResponse* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- [[nodiscard]] ScanResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct<ScanResponse>(arena); } using ::google::protobuf::Message::CopyFrom; void CopyFrom(const ScanResponse& from); using ::google::protobuf::Message::MergeFrom; void MergeFrom(const ScanResponse& from) { ScanResponse::MergeImpl(*this, from); } private: static void MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); public: [[nodiscard]] bool IsInitialized() const { return true; } ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) private: [[nodiscard]] static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); [[nodiscard]] static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: [[nodiscard]] ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } [[nodiscard]] ::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 [[nodiscard]] ::size_t ByteSizeLong() const final; [[nodiscard]] ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( ::uint8_t* PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE [[nodiscard]] int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); void InternalSwap(ScanResponse* PROTOBUF_NONNULL other); private: template <typename T> friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); static ::absl::string_view FullMessageName() { return "sstorage.ScanResponse"; } explicit ScanResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); ScanResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ScanResponse& from); ScanResponse( ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ScanResponse&& from) noexcept : ScanResponse(arena) { *this = ::std::move(from); } const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; static void* PROTOBUF_NONNULL PlacementNew_( const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); public: static constexpr auto InternalGenerateClassData_(); [[nodiscard]] ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kKeyFieldNumber = 1, kValueFieldNumber = 2, }; // bytes key = 1; void clear_key() ; [[nodiscard]] const ::std::string& key() const; template <typename Arg_ = const ::std::string&, typename... Args_> void set_key(Arg_&& arg, Args_... args); ::std::string* PROTOBUF_NONNULL mutable_key(); [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_key(); void set_allocated_key(::std::string* PROTOBUF_NULLABLE value); private: const ::std::string& _internal_key() const; PROTOBUF_ALWAYS_INLINE void _internal_set_key(const ::std::string& value); ::std::string* PROTOBUF_NONNULL _internal_mutable_key(); public: // bytes value = 2; void clear_value() ; [[nodiscard]] const ::std::string& value() const; template <typename Arg_ = const ::std::string&, typename... Args_> void set_value(Arg_&& arg, Args_... args); ::std::string* PROTOBUF_NONNULL mutable_value(); [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_value(); void set_allocated_value(::std::string* PROTOBUF_NULLABLE value); private: const ::std::string& _internal_value() const; PROTOBUF_ALWAYS_INLINE void _internal_set_value(const ::std::string& value); ::std::string* PROTOBUF_NONNULL _internal_mutable_value(); public: // @@protoc_insertion_point(class_scope:sstorage.ScanResponse) private: class _Internal; friend class ::google::protobuf::internal::TcParser; static const ::google::protobuf::internal::TcParseTable<1, 2, 0, 0, 2> _table_; friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; friend ::google::protobuf::internal::PrivateAccess; template <typename T> friend class ::google::protobuf::Arena::InternalHelper; using InternalArenaConstructable_ = void; using DestructorSkippable_ = void; struct Impl_ { inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility, ::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 ScanResponse& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; ::google::protobuf::internal::ArenaStringPtr key_; ::google::protobuf::internal::ArenaStringPtr value_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_storage_2eproto; }; extern const ::google::protobuf::internal::ClassDataFull ScanResponse_class_data_; // ------------------------------------------------------------------- class PROTOBUF_FUTURE_ADD_EARLY_WARN_UNUSED ScanRequest final : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:sstorage.ScanRequest) */ { public: inline ScanRequest() : ScanRequest(nullptr) {} ~ScanRequest() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) void operator delete(ScanRequest* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(ScanRequest)); } #endif template <typename = void> explicit constexpr ScanRequest(::google::protobuf::internal::ConstantInitialized); inline ScanRequest(const ScanRequest& from) : ScanRequest(nullptr, from) {} inline ScanRequest(ScanRequest&& from) noexcept : ScanRequest(nullptr, ::std::move(from)) {} inline ScanRequest& operator=(const ScanRequest& from) { CopyFrom(from); return *this; } inline ScanRequest& operator=(ScanRequest&& from) noexcept { if (this == &from) return *this; if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { InternalSwap(&from); } else { CopyFrom(from); } return *this; } [[nodiscard]] inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } [[nodiscard]] inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } [[nodiscard]] static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } [[nodiscard]] static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } [[nodiscard]] static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() { return default_instance().GetMetadata().reflection; } [[nodiscard]] static const ScanRequest& default_instance() { return *reinterpret_cast<const ScanRequest*>( &_ScanRequest_default_instance_); } static constexpr int kIndexInFileMessages = 6; friend void swap(ScanRequest& a, ScanRequest& b) { a.Swap(&b); } inline void Swap(ScanRequest* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); } else { ::google::protobuf::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(ScanRequest* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- [[nodiscard]] ScanRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct<ScanRequest>(arena); } using ::google::protobuf::Message::CopyFrom; void CopyFrom(const ScanRequest& from); using ::google::protobuf::Message::MergeFrom; void MergeFrom(const ScanRequest& from) { ScanRequest::MergeImpl(*this, from); } private: static void MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); public: [[nodiscard]] bool IsInitialized() const { return true; } ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) private: [[nodiscard]] static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); [[nodiscard]] static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: [[nodiscard]] ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } [[nodiscard]] ::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 [[nodiscard]] ::size_t ByteSizeLong() const final; [[nodiscard]] ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( ::uint8_t* PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE [[nodiscard]] int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); void InternalSwap(ScanRequest* PROTOBUF_NONNULL other); private: template <typename T> friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); static ::absl::string_view FullMessageName() { return "sstorage.ScanRequest"; } explicit ScanRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); ScanRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ScanRequest& from); ScanRequest( ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ScanRequest&& from) noexcept : ScanRequest(arena) { *this = ::std::move(from); } const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; static void* PROTOBUF_NONNULL PlacementNew_( const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); public: static constexpr auto InternalGenerateClassData_(); [[nodiscard]] ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kFromKeyFieldNumber = 1, kToKeyFieldNumber = 2, kLimitFieldNumber = 3, kModeFieldNumber = 4, kTopNFieldNumber = 5, }; // bytes from_key = 1; void clear_from_key() ; [[nodiscard]] const ::std::string& from_key() const; template <typename Arg_ = const ::std::string&, typename... Args_> void set_from_key(Arg_&& arg, Args_... args); ::std::string* PROTOBUF_NONNULL mutable_from_key(); [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_from_key(); void set_allocated_from_key(::std::string* PROTOBUF_NULLABLE value); private: const ::std::string& _internal_from_key() const; PROTOBUF_ALWAYS_INLINE void _internal_set_from_key(const ::std::string& value); ::std::string* PROTOBUF_NONNULL _internal_mutable_from_key(); public: // bytes to_key = 2; void clear_to_key() ; [[nodiscard]] const ::std::string& to_key() const; template <typename Arg_ = const ::std::string&, typename... Args_> void set_to_key(Arg_&& arg, Args_... args); ::std::string* PROTOBUF_NONNULL mutable_to_key(); [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_to_key(); void set_allocated_to_key(::std::string* PROTOBUF_NULLABLE value); private: const ::std::string& _internal_to_key() const; PROTOBUF_ALWAYS_INLINE void _internal_set_to_key(const ::std::string& value); ::std::string* PROTOBUF_NONNULL _internal_mutable_to_key(); public: // uint32 limit = 3; void clear_limit() ; [[nodiscard]] ::uint32_t limit() const; void set_limit(::uint32_t value); private: ::uint32_t _internal_limit() const; void _internal_set_limit(::uint32_t value); public: // .sstorage.ScanMode mode = 4; void clear_mode() ; [[nodiscard]] ::sstorage::ScanMode mode() const; void set_mode(::sstorage::ScanMode value); private: ::sstorage::ScanMode _internal_mode() const; void _internal_set_mode(::sstorage::ScanMode value); public: // uint64 top_n = 5; void clear_top_n() ; [[nodiscard]] ::uint64_t top_n() const; void set_top_n(::uint64_t value); private: ::uint64_t _internal_top_n() const; void _internal_set_top_n(::uint64_t value); public: // @@protoc_insertion_point(class_scope:sstorage.ScanRequest) private: class _Internal; friend class ::google::protobuf::internal::TcParser; static const ::google::protobuf::internal::TcParseTable<3, 5, 0, 0, 2> _table_; friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; friend ::google::protobuf::internal::PrivateAccess; template <typename T> friend class ::google::protobuf::Arena::InternalHelper; using InternalArenaConstructable_ = void; using DestructorSkippable_ = void; struct Impl_ { inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility, ::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 ScanRequest& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; ::google::protobuf::internal::ArenaStringPtr from_key_; ::google::protobuf::internal::ArenaStringPtr to_key_; ::uint32_t limit_; int mode_; ::uint64_t top_n_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_storage_2eproto; }; extern const ::google::protobuf::internal::ClassDataFull ScanRequest_class_data_; // ------------------------------------------------------------------- class PROTOBUF_FUTURE_ADD_EARLY_WARN_UNUSED PutResponse final : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:sstorage.PutResponse) */ { public: inline PutResponse() : PutResponse(nullptr) {} ~PutResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) void operator delete(PutResponse* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(PutResponse)); } #endif template <typename = void> explicit constexpr PutResponse(::google::protobuf::internal::ConstantInitialized); inline PutResponse(const PutResponse& from) : PutResponse(nullptr, from) {} inline PutResponse(PutResponse&& from) noexcept : PutResponse(nullptr, ::std::move(from)) {} inline PutResponse& operator=(const PutResponse& from) { CopyFrom(from); return *this; } inline PutResponse& operator=(PutResponse&& from) noexcept { if (this == &from) return *this; if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { InternalSwap(&from); } else { CopyFrom(from); } return *this; } [[nodiscard]] inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } [[nodiscard]] inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } [[nodiscard]] static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } [[nodiscard]] static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } [[nodiscard]] static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() { return default_instance().GetMetadata().reflection; } [[nodiscard]] static const PutResponse& default_instance() { return *reinterpret_cast<const PutResponse*>( &_PutResponse_default_instance_); } static constexpr int kIndexInFileMessages = 1; friend void swap(PutResponse& a, PutResponse& b) { a.Swap(&b); } inline void Swap(PutResponse* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); } else { ::google::protobuf::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(PutResponse* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- [[nodiscard]] PutResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct<PutResponse>(arena); } using ::google::protobuf::Message::CopyFrom; void CopyFrom(const PutResponse& from); using ::google::protobuf::Message::MergeFrom; void MergeFrom(const PutResponse& from) { PutResponse::MergeImpl(*this, from); } private: static void MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); public: [[nodiscard]] bool IsInitialized() const { return true; } ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) private: [[nodiscard]] static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); [[nodiscard]] static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: [[nodiscard]] ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } [[nodiscard]] ::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 [[nodiscard]] ::size_t ByteSizeLong() const final; [[nodiscard]] ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( ::uint8_t* PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE [[nodiscard]] int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); void InternalSwap(PutResponse* PROTOBUF_NONNULL other); private: template <typename T> friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); static ::absl::string_view FullMessageName() { return "sstorage.PutResponse"; } explicit PutResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); PutResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const PutResponse& from); PutResponse( ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, PutResponse&& from) noexcept : PutResponse(arena) { *this = ::std::move(from); } const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; static void* PROTOBUF_NONNULL PlacementNew_( const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); public: static constexpr auto InternalGenerateClassData_(); [[nodiscard]] ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kOkFieldNumber = 1, }; // bool ok = 1; void clear_ok() ; [[nodiscard]] bool ok() const; void set_ok(bool value); private: bool _internal_ok() const; void _internal_set_ok(bool value); public: // @@protoc_insertion_point(class_scope:sstorage.PutResponse) private: class _Internal; friend class ::google::protobuf::internal::TcParser; static const ::google::protobuf::internal::TcParseTable<0, 1, 0, 0, 2> _table_; friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; friend ::google::protobuf::internal::PrivateAccess; template <typename T> friend class ::google::protobuf::Arena::InternalHelper; using InternalArenaConstructable_ = void; using DestructorSkippable_ = void; struct Impl_ { inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility, ::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 PutResponse& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; bool ok_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_storage_2eproto; }; extern const ::google::protobuf::internal::ClassDataFull PutResponse_class_data_; // ------------------------------------------------------------------- class PROTOBUF_FUTURE_ADD_EARLY_WARN_UNUSED PutRequest final : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:sstorage.PutRequest) */ { public: inline PutRequest() : PutRequest(nullptr) {} ~PutRequest() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) void operator delete(PutRequest* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(PutRequest)); } #endif template <typename = void> explicit constexpr PutRequest(::google::protobuf::internal::ConstantInitialized); inline PutRequest(const PutRequest& from) : PutRequest(nullptr, from) {} inline PutRequest(PutRequest&& from) noexcept : PutRequest(nullptr, ::std::move(from)) {} inline PutRequest& operator=(const PutRequest& from) { CopyFrom(from); return *this; } inline PutRequest& operator=(PutRequest&& from) noexcept { if (this == &from) return *this; if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { InternalSwap(&from); } else { CopyFrom(from); } return *this; } [[nodiscard]] inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } [[nodiscard]] inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } [[nodiscard]] static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } [[nodiscard]] static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } [[nodiscard]] static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() { return default_instance().GetMetadata().reflection; } [[nodiscard]] static const PutRequest& default_instance() { return *reinterpret_cast<const PutRequest*>( &_PutRequest_default_instance_); } static constexpr int kIndexInFileMessages = 0; friend void swap(PutRequest& a, PutRequest& b) { a.Swap(&b); } inline void Swap(PutRequest* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); } else { ::google::protobuf::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(PutRequest* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- [[nodiscard]] PutRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct<PutRequest>(arena); } using ::google::protobuf::Message::CopyFrom; void CopyFrom(const PutRequest& from); using ::google::protobuf::Message::MergeFrom; void MergeFrom(const PutRequest& from) { PutRequest::MergeImpl(*this, from); } private: static void MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); public: [[nodiscard]] bool IsInitialized() const { return true; } ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) private: [[nodiscard]] static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); [[nodiscard]] static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: [[nodiscard]] ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } [[nodiscard]] ::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 [[nodiscard]] ::size_t ByteSizeLong() const final; [[nodiscard]] ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( ::uint8_t* PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE [[nodiscard]] int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); void InternalSwap(PutRequest* PROTOBUF_NONNULL other); private: template <typename T> friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); static ::absl::string_view FullMessageName() { return "sstorage.PutRequest"; } explicit PutRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); PutRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const PutRequest& from); PutRequest( ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, PutRequest&& from) noexcept : PutRequest(arena) { *this = ::std::move(from); } const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; static void* PROTOBUF_NONNULL PlacementNew_( const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); public: static constexpr auto InternalGenerateClassData_(); [[nodiscard]] ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kKeyFieldNumber = 1, kValueFieldNumber = 2, }; // bytes key = 1; void clear_key() ; [[nodiscard]] const ::std::string& key() const; template <typename Arg_ = const ::std::string&, typename... Args_> void set_key(Arg_&& arg, Args_... args); ::std::string* PROTOBUF_NONNULL mutable_key(); [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_key(); void set_allocated_key(::std::string* PROTOBUF_NULLABLE value); private: const ::std::string& _internal_key() const; PROTOBUF_ALWAYS_INLINE void _internal_set_key(const ::std::string& value); ::std::string* PROTOBUF_NONNULL _internal_mutable_key(); public: // bytes value = 2; void clear_value() ; [[nodiscard]] const ::std::string& value() const; template <typename Arg_ = const ::std::string&, typename... Args_> void set_value(Arg_&& arg, Args_... args); ::std::string* PROTOBUF_NONNULL mutable_value(); [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_value(); void set_allocated_value(::std::string* PROTOBUF_NULLABLE value); private: const ::std::string& _internal_value() const; PROTOBUF_ALWAYS_INLINE void _internal_set_value(const ::std::string& value); ::std::string* PROTOBUF_NONNULL _internal_mutable_value(); public: // @@protoc_insertion_point(class_scope:sstorage.PutRequest) private: class _Internal; friend class ::google::protobuf::internal::TcParser; static const ::google::protobuf::internal::TcParseTable<1, 2, 0, 0, 2> _table_; friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; friend ::google::protobuf::internal::PrivateAccess; template <typename T> friend class ::google::protobuf::Arena::InternalHelper; using InternalArenaConstructable_ = void; using DestructorSkippable_ = void; struct Impl_ { inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility, ::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 PutRequest& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; ::google::protobuf::internal::ArenaStringPtr key_; ::google::protobuf::internal::ArenaStringPtr value_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_storage_2eproto; }; extern const ::google::protobuf::internal::ClassDataFull PutRequest_class_data_; // ------------------------------------------------------------------- class PROTOBUF_FUTURE_ADD_EARLY_WARN_UNUSED GetResponse final : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:sstorage.GetResponse) */ { public: inline GetResponse() : GetResponse(nullptr) {} ~GetResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) void operator delete(GetResponse* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(GetResponse)); } #endif template <typename = void> explicit constexpr GetResponse(::google::protobuf::internal::ConstantInitialized); inline GetResponse(const GetResponse& from) : GetResponse(nullptr, from) {} inline GetResponse(GetResponse&& from) noexcept : GetResponse(nullptr, ::std::move(from)) {} inline GetResponse& operator=(const GetResponse& from) { CopyFrom(from); return *this; } inline GetResponse& operator=(GetResponse&& from) noexcept { if (this == &from) return *this; if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { InternalSwap(&from); } else { CopyFrom(from); } return *this; } [[nodiscard]] inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } [[nodiscard]] inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } [[nodiscard]] static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } [[nodiscard]] static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } [[nodiscard]] static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() { return default_instance().GetMetadata().reflection; } [[nodiscard]] static const GetResponse& default_instance() { return *reinterpret_cast<const GetResponse*>( &_GetResponse_default_instance_); } static constexpr int kIndexInFileMessages = 3; friend void swap(GetResponse& a, GetResponse& b) { a.Swap(&b); } inline void Swap(GetResponse* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); } else { ::google::protobuf::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(GetResponse* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- [[nodiscard]] GetResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct<GetResponse>(arena); } using ::google::protobuf::Message::CopyFrom; void CopyFrom(const GetResponse& from); using ::google::protobuf::Message::MergeFrom; void MergeFrom(const GetResponse& from) { GetResponse::MergeImpl(*this, from); } private: static void MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); public: [[nodiscard]] bool IsInitialized() const { return true; } ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) private: [[nodiscard]] static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); [[nodiscard]] static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: [[nodiscard]] ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } [[nodiscard]] ::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 [[nodiscard]] ::size_t ByteSizeLong() const final; [[nodiscard]] ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( ::uint8_t* PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE [[nodiscard]] int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); void InternalSwap(GetResponse* PROTOBUF_NONNULL other); private: template <typename T> friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); static ::absl::string_view FullMessageName() { return "sstorage.GetResponse"; } explicit GetResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); GetResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetResponse& from); GetResponse( ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, GetResponse&& from) noexcept : GetResponse(arena) { *this = ::std::move(from); } const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; static void* PROTOBUF_NONNULL PlacementNew_( const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); public: static constexpr auto InternalGenerateClassData_(); [[nodiscard]] ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kValueFieldNumber = 2, kFoundFieldNumber = 1, }; // bytes value = 2; void clear_value() ; [[nodiscard]] const ::std::string& value() const; template <typename Arg_ = const ::std::string&, typename... Args_> void set_value(Arg_&& arg, Args_... args); ::std::string* PROTOBUF_NONNULL mutable_value(); [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_value(); void set_allocated_value(::std::string* PROTOBUF_NULLABLE value); private: const ::std::string& _internal_value() const; PROTOBUF_ALWAYS_INLINE void _internal_set_value(const ::std::string& value); ::std::string* PROTOBUF_NONNULL _internal_mutable_value(); public: // bool found = 1; void clear_found() ; [[nodiscard]] bool found() const; void set_found(bool value); private: bool _internal_found() const; void _internal_set_found(bool value); public: // @@protoc_insertion_point(class_scope:sstorage.GetResponse) private: class _Internal; friend class ::google::protobuf::internal::TcParser; static const ::google::protobuf::internal::TcParseTable<1, 2, 0, 0, 2> _table_; friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; friend ::google::protobuf::internal::PrivateAccess; template <typename T> friend class ::google::protobuf::Arena::InternalHelper; using InternalArenaConstructable_ = void; using DestructorSkippable_ = void; struct Impl_ { inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility, ::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 GetResponse& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; ::google::protobuf::internal::ArenaStringPtr value_; bool found_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_storage_2eproto; }; extern const ::google::protobuf::internal::ClassDataFull GetResponse_class_data_; // ------------------------------------------------------------------- class PROTOBUF_FUTURE_ADD_EARLY_WARN_UNUSED GetRequest final : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:sstorage.GetRequest) */ { public: inline GetRequest() : GetRequest(nullptr) {} ~GetRequest() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) void operator delete(GetRequest* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(GetRequest)); } #endif template <typename = void> explicit constexpr GetRequest(::google::protobuf::internal::ConstantInitialized); inline GetRequest(const GetRequest& from) : GetRequest(nullptr, from) {} inline GetRequest(GetRequest&& from) noexcept : GetRequest(nullptr, ::std::move(from)) {} inline GetRequest& operator=(const GetRequest& from) { CopyFrom(from); return *this; } inline GetRequest& operator=(GetRequest&& from) noexcept { if (this == &from) return *this; if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { InternalSwap(&from); } else { CopyFrom(from); } return *this; } [[nodiscard]] inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } [[nodiscard]] inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } [[nodiscard]] static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } [[nodiscard]] static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } [[nodiscard]] static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() { return default_instance().GetMetadata().reflection; } [[nodiscard]] static const GetRequest& default_instance() { return *reinterpret_cast<const GetRequest*>( &_GetRequest_default_instance_); } static constexpr int kIndexInFileMessages = 2; friend void swap(GetRequest& a, GetRequest& b) { a.Swap(&b); } inline void Swap(GetRequest* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); } else { ::google::protobuf::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(GetRequest* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- [[nodiscard]] GetRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct<GetRequest>(arena); } using ::google::protobuf::Message::CopyFrom; void CopyFrom(const GetRequest& from); using ::google::protobuf::Message::MergeFrom; void MergeFrom(const GetRequest& from) { GetRequest::MergeImpl(*this, from); } private: static void MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); public: [[nodiscard]] bool IsInitialized() const { return true; } ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) private: [[nodiscard]] static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); [[nodiscard]] static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: [[nodiscard]] ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } [[nodiscard]] ::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 [[nodiscard]] ::size_t ByteSizeLong() const final; [[nodiscard]] ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( ::uint8_t* PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE [[nodiscard]] int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); void InternalSwap(GetRequest* PROTOBUF_NONNULL other); private: template <typename T> friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); static ::absl::string_view FullMessageName() { return "sstorage.GetRequest"; } explicit GetRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); GetRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetRequest& from); GetRequest( ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, GetRequest&& from) noexcept : GetRequest(arena) { *this = ::std::move(from); } const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; static void* PROTOBUF_NONNULL PlacementNew_( const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); public: static constexpr auto InternalGenerateClassData_(); [[nodiscard]] ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kKeyFieldNumber = 1, }; // bytes key = 1; void clear_key() ; [[nodiscard]] const ::std::string& key() const; template <typename Arg_ = const ::std::string&, typename... Args_> void set_key(Arg_&& arg, Args_... args); ::std::string* PROTOBUF_NONNULL mutable_key(); [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_key(); void set_allocated_key(::std::string* PROTOBUF_NULLABLE value); private: const ::std::string& _internal_key() const; PROTOBUF_ALWAYS_INLINE void _internal_set_key(const ::std::string& value); ::std::string* PROTOBUF_NONNULL _internal_mutable_key(); public: // @@protoc_insertion_point(class_scope:sstorage.GetRequest) private: class _Internal; friend class ::google::protobuf::internal::TcParser; static const ::google::protobuf::internal::TcParseTable<0, 1, 0, 0, 2> _table_; friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; friend ::google::protobuf::internal::PrivateAccess; template <typename T> friend class ::google::protobuf::Arena::InternalHelper; using InternalArenaConstructable_ = void; using DestructorSkippable_ = void; struct Impl_ { inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility, ::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 GetRequest& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; ::google::protobuf::internal::ArenaStringPtr key_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_storage_2eproto; }; extern const ::google::protobuf::internal::ClassDataFull GetRequest_class_data_; // ------------------------------------------------------------------- class PROTOBUF_FUTURE_ADD_EARLY_WARN_UNUSED FlushResponse final : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:sstorage.FlushResponse) */ { public: inline FlushResponse() : FlushResponse(nullptr) {} ~FlushResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) void operator delete(FlushResponse* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(FlushResponse)); } #endif template <typename = void> explicit constexpr FlushResponse(::google::protobuf::internal::ConstantInitialized); inline FlushResponse(const FlushResponse& from) : FlushResponse(nullptr, from) {} inline FlushResponse(FlushResponse&& from) noexcept : FlushResponse(nullptr, ::std::move(from)) {} inline FlushResponse& operator=(const FlushResponse& from) { CopyFrom(from); return *this; } inline FlushResponse& operator=(FlushResponse&& from) noexcept { if (this == &from) return *this; if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { InternalSwap(&from); } else { CopyFrom(from); } return *this; } [[nodiscard]] inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } [[nodiscard]] inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } [[nodiscard]] static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } [[nodiscard]] static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } [[nodiscard]] static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() { return default_instance().GetMetadata().reflection; } [[nodiscard]] static const FlushResponse& default_instance() { return *reinterpret_cast<const FlushResponse*>( &_FlushResponse_default_instance_); } static constexpr int kIndexInFileMessages = 11; friend void swap(FlushResponse& a, FlushResponse& b) { a.Swap(&b); } inline void Swap(FlushResponse* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); } else { ::google::protobuf::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(FlushResponse* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- [[nodiscard]] FlushResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct<FlushResponse>(arena); } using ::google::protobuf::Message::CopyFrom; void CopyFrom(const FlushResponse& from); using ::google::protobuf::Message::MergeFrom; void MergeFrom(const FlushResponse& from) { FlushResponse::MergeImpl(*this, from); } private: static void MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); public: [[nodiscard]] bool IsInitialized() const { return true; } ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) private: [[nodiscard]] static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); [[nodiscard]] static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: [[nodiscard]] ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } [[nodiscard]] ::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 [[nodiscard]] ::size_t ByteSizeLong() const final; [[nodiscard]] ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( ::uint8_t* PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE [[nodiscard]] int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); void InternalSwap(FlushResponse* PROTOBUF_NONNULL other); private: template <typename T> friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); static ::absl::string_view FullMessageName() { return "sstorage.FlushResponse"; } explicit FlushResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); FlushResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const FlushResponse& from); FlushResponse( ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, FlushResponse&& from) noexcept : FlushResponse(arena) { *this = ::std::move(from); } const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; static void* PROTOBUF_NONNULL PlacementNew_( const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); public: static constexpr auto InternalGenerateClassData_(); [[nodiscard]] ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kOkFieldNumber = 1, }; // bool ok = 1; void clear_ok() ; [[nodiscard]] bool ok() const; void set_ok(bool value); private: bool _internal_ok() const; void _internal_set_ok(bool value); public: // @@protoc_insertion_point(class_scope:sstorage.FlushResponse) private: class _Internal; friend class ::google::protobuf::internal::TcParser; static const ::google::protobuf::internal::TcParseTable<0, 1, 0, 0, 2> _table_; friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; friend ::google::protobuf::internal::PrivateAccess; template <typename T> friend class ::google::protobuf::Arena::InternalHelper; using InternalArenaConstructable_ = void; using DestructorSkippable_ = void; struct Impl_ { inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility, ::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 FlushResponse& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; bool ok_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_storage_2eproto; }; extern const ::google::protobuf::internal::ClassDataFull FlushResponse_class_data_; // ------------------------------------------------------------------- class PROTOBUF_FUTURE_ADD_EARLY_WARN_UNUSED FlushRequest final : public ::google::protobuf::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:sstorage.FlushRequest) */ { public: inline FlushRequest() : FlushRequest(nullptr) {} #if defined(PROTOBUF_CUSTOM_VTABLE) void operator delete(FlushRequest* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(FlushRequest)); } #endif template <typename = void> explicit constexpr FlushRequest(::google::protobuf::internal::ConstantInitialized); inline FlushRequest(const FlushRequest& from) : FlushRequest(nullptr, from) {} inline FlushRequest(FlushRequest&& from) noexcept : FlushRequest(nullptr, ::std::move(from)) {} inline FlushRequest& operator=(const FlushRequest& from) { CopyFrom(from); return *this; } inline FlushRequest& operator=(FlushRequest&& from) noexcept { if (this == &from) return *this; if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { InternalSwap(&from); } else { CopyFrom(from); } return *this; } [[nodiscard]] inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } [[nodiscard]] inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } [[nodiscard]] static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } [[nodiscard]] static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } [[nodiscard]] static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() { return default_instance().GetMetadata().reflection; } [[nodiscard]] static const FlushRequest& default_instance() { return *reinterpret_cast<const FlushRequest*>( &_FlushRequest_default_instance_); } static constexpr int kIndexInFileMessages = 10; friend void swap(FlushRequest& a, FlushRequest& b) { a.Swap(&b); } inline void Swap(FlushRequest* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); } else { ::google::protobuf::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(FlushRequest* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- [[nodiscard]] FlushRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct<FlushRequest>(arena); } using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; inline void CopyFrom(const FlushRequest& from) { ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); } using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; void MergeFrom(const FlushRequest& from) { ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); } public: [[nodiscard]] bool IsInitialized() const { return true; } private: template <typename T> friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); static ::absl::string_view FullMessageName() { return "sstorage.FlushRequest"; } explicit FlushRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); FlushRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const FlushRequest& from); FlushRequest( ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, FlushRequest&& from) noexcept : FlushRequest(arena) { *this = ::std::move(from); } const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; static void* PROTOBUF_NONNULL PlacementNew_( const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); public: static constexpr auto InternalGenerateClassData_(); [[nodiscard]] ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // @@protoc_insertion_point(class_scope:sstorage.FlushRequest) private: class _Internal; friend class ::google::protobuf::internal::TcParser; static const ::google::protobuf::internal::TcParseTable<0, 0, 0, 0, 2> _table_; friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; friend ::google::protobuf::internal::PrivateAccess; template <typename T> friend class ::google::protobuf::Arena::InternalHelper; using InternalArenaConstructable_ = void; using DestructorSkippable_ = void; friend struct ::TableStruct_storage_2eproto; }; extern const ::google::protobuf::internal::ClassDataFull FlushRequest_class_data_; // ------------------------------------------------------------------- class PROTOBUF_FUTURE_ADD_EARLY_WARN_UNUSED DeleteResponse final : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:sstorage.DeleteResponse) */ { public: inline DeleteResponse() : DeleteResponse(nullptr) {} ~DeleteResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) void operator delete(DeleteResponse* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(DeleteResponse)); } #endif template <typename = void> explicit constexpr DeleteResponse(::google::protobuf::internal::ConstantInitialized); inline DeleteResponse(const DeleteResponse& from) : DeleteResponse(nullptr, from) {} inline DeleteResponse(DeleteResponse&& from) noexcept : DeleteResponse(nullptr, ::std::move(from)) {} inline DeleteResponse& operator=(const DeleteResponse& from) { CopyFrom(from); return *this; } inline DeleteResponse& operator=(DeleteResponse&& from) noexcept { if (this == &from) return *this; if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { InternalSwap(&from); } else { CopyFrom(from); } return *this; } [[nodiscard]] inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } [[nodiscard]] inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } [[nodiscard]] static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } [[nodiscard]] static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } [[nodiscard]] static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() { return default_instance().GetMetadata().reflection; } [[nodiscard]] static const DeleteResponse& default_instance() { return *reinterpret_cast<const DeleteResponse*>( &_DeleteResponse_default_instance_); } static constexpr int kIndexInFileMessages = 5; friend void swap(DeleteResponse& a, DeleteResponse& b) { a.Swap(&b); } inline void Swap(DeleteResponse* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); } else { ::google::protobuf::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(DeleteResponse* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- [[nodiscard]] DeleteResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct<DeleteResponse>(arena); } using ::google::protobuf::Message::CopyFrom; void CopyFrom(const DeleteResponse& from); using ::google::protobuf::Message::MergeFrom; void MergeFrom(const DeleteResponse& from) { DeleteResponse::MergeImpl(*this, from); } private: static void MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); public: [[nodiscard]] bool IsInitialized() const { return true; } ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) private: [[nodiscard]] static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); [[nodiscard]] static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: [[nodiscard]] ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } [[nodiscard]] ::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 [[nodiscard]] ::size_t ByteSizeLong() const final; [[nodiscard]] ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( ::uint8_t* PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE [[nodiscard]] int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); void InternalSwap(DeleteResponse* PROTOBUF_NONNULL other); private: template <typename T> friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); static ::absl::string_view FullMessageName() { return "sstorage.DeleteResponse"; } explicit DeleteResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); DeleteResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const DeleteResponse& from); DeleteResponse( ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, DeleteResponse&& from) noexcept : DeleteResponse(arena) { *this = ::std::move(from); } const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; static void* PROTOBUF_NONNULL PlacementNew_( const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); public: static constexpr auto InternalGenerateClassData_(); [[nodiscard]] ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kOkFieldNumber = 1, }; // bool ok = 1; void clear_ok() ; [[nodiscard]] bool ok() const; void set_ok(bool value); private: bool _internal_ok() const; void _internal_set_ok(bool value); public: // @@protoc_insertion_point(class_scope:sstorage.DeleteResponse) private: class _Internal; friend class ::google::protobuf::internal::TcParser; static const ::google::protobuf::internal::TcParseTable<0, 1, 0, 0, 2> _table_; friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; friend ::google::protobuf::internal::PrivateAccess; template <typename T> friend class ::google::protobuf::Arena::InternalHelper; using InternalArenaConstructable_ = void; using DestructorSkippable_ = void; struct Impl_ { inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility, ::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 DeleteResponse& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; bool ok_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_storage_2eproto; }; extern const ::google::protobuf::internal::ClassDataFull DeleteResponse_class_data_; // ------------------------------------------------------------------- class PROTOBUF_FUTURE_ADD_EARLY_WARN_UNUSED DeleteRequest final : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:sstorage.DeleteRequest) */ { public: inline DeleteRequest() : DeleteRequest(nullptr) {} ~DeleteRequest() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) void operator delete(DeleteRequest* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(DeleteRequest)); } #endif template <typename = void> explicit constexpr DeleteRequest(::google::protobuf::internal::ConstantInitialized); inline DeleteRequest(const DeleteRequest& from) : DeleteRequest(nullptr, from) {} inline DeleteRequest(DeleteRequest&& from) noexcept : DeleteRequest(nullptr, ::std::move(from)) {} inline DeleteRequest& operator=(const DeleteRequest& from) { CopyFrom(from); return *this; } inline DeleteRequest& operator=(DeleteRequest&& from) noexcept { if (this == &from) return *this; if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { InternalSwap(&from); } else { CopyFrom(from); } return *this; } [[nodiscard]] inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } [[nodiscard]] inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } [[nodiscard]] static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } [[nodiscard]] static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } [[nodiscard]] static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() { return default_instance().GetMetadata().reflection; } [[nodiscard]] static const DeleteRequest& default_instance() { return *reinterpret_cast<const DeleteRequest*>( &_DeleteRequest_default_instance_); } static constexpr int kIndexInFileMessages = 4; friend void swap(DeleteRequest& a, DeleteRequest& b) { a.Swap(&b); } inline void Swap(DeleteRequest* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); } else { ::google::protobuf::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(DeleteRequest* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- [[nodiscard]] DeleteRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct<DeleteRequest>(arena); } using ::google::protobuf::Message::CopyFrom; void CopyFrom(const DeleteRequest& from); using ::google::protobuf::Message::MergeFrom; void MergeFrom(const DeleteRequest& from) { DeleteRequest::MergeImpl(*this, from); } private: static void MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); public: [[nodiscard]] bool IsInitialized() const { return true; } ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) private: [[nodiscard]] static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); [[nodiscard]] static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: [[nodiscard]] ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } [[nodiscard]] ::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 [[nodiscard]] ::size_t ByteSizeLong() const final; [[nodiscard]] ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( ::uint8_t* PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE [[nodiscard]] int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); void InternalSwap(DeleteRequest* PROTOBUF_NONNULL other); private: template <typename T> friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); static ::absl::string_view FullMessageName() { return "sstorage.DeleteRequest"; } explicit DeleteRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); DeleteRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const DeleteRequest& from); DeleteRequest( ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, DeleteRequest&& from) noexcept : DeleteRequest(arena) { *this = ::std::move(from); } const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; static void* PROTOBUF_NONNULL PlacementNew_( const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); public: static constexpr auto InternalGenerateClassData_(); [[nodiscard]] ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kKeyFieldNumber = 1, }; // bytes key = 1; void clear_key() ; [[nodiscard]] const ::std::string& key() const; template <typename Arg_ = const ::std::string&, typename... Args_> void set_key(Arg_&& arg, Args_... args); ::std::string* PROTOBUF_NONNULL mutable_key(); [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_key(); void set_allocated_key(::std::string* PROTOBUF_NULLABLE value); private: const ::std::string& _internal_key() const; PROTOBUF_ALWAYS_INLINE void _internal_set_key(const ::std::string& value); ::std::string* PROTOBUF_NONNULL _internal_mutable_key(); public: // @@protoc_insertion_point(class_scope:sstorage.DeleteRequest) private: class _Internal; friend class ::google::protobuf::internal::TcParser; static const ::google::protobuf::internal::TcParseTable<0, 1, 0, 0, 2> _table_; friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; friend ::google::protobuf::internal::PrivateAccess; template <typename T> friend class ::google::protobuf::Arena::InternalHelper; using InternalArenaConstructable_ = void; using DestructorSkippable_ = void; struct Impl_ { inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility, ::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 DeleteRequest& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; ::google::protobuf::internal::ArenaStringPtr key_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_storage_2eproto; }; extern const ::google::protobuf::internal::ClassDataFull DeleteRequest_class_data_; // ------------------------------------------------------------------- class PROTOBUF_FUTURE_ADD_EARLY_WARN_UNUSED CompactResponse final : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:sstorage.CompactResponse) */ { public: inline CompactResponse() : CompactResponse(nullptr) {} ~CompactResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) void operator delete(CompactResponse* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(CompactResponse)); } #endif template <typename = void> explicit constexpr CompactResponse(::google::protobuf::internal::ConstantInitialized); inline CompactResponse(const CompactResponse& from) : CompactResponse(nullptr, from) {} inline CompactResponse(CompactResponse&& from) noexcept : CompactResponse(nullptr, ::std::move(from)) {} inline CompactResponse& operator=(const CompactResponse& from) { CopyFrom(from); return *this; } inline CompactResponse& operator=(CompactResponse&& from) noexcept { if (this == &from) return *this; if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { InternalSwap(&from); } else { CopyFrom(from); } return *this; } [[nodiscard]] inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } [[nodiscard]] inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } [[nodiscard]] static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } [[nodiscard]] static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } [[nodiscard]] static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() { return default_instance().GetMetadata().reflection; } [[nodiscard]] static const CompactResponse& default_instance() { return *reinterpret_cast<const CompactResponse*>( &_CompactResponse_default_instance_); } static constexpr int kIndexInFileMessages = 13; friend void swap(CompactResponse& a, CompactResponse& b) { a.Swap(&b); } inline void Swap(CompactResponse* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); } else { ::google::protobuf::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(CompactResponse* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- [[nodiscard]] CompactResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct<CompactResponse>(arena); } using ::google::protobuf::Message::CopyFrom; void CopyFrom(const CompactResponse& from); using ::google::protobuf::Message::MergeFrom; void MergeFrom(const CompactResponse& from) { CompactResponse::MergeImpl(*this, from); } private: static void MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); public: [[nodiscard]] bool IsInitialized() const { return true; } ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) private: [[nodiscard]] static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); [[nodiscard]] static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); public: [[nodiscard]] ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } [[nodiscard]] ::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 [[nodiscard]] ::size_t ByteSizeLong() const final; [[nodiscard]] ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( ::uint8_t* PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE [[nodiscard]] int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static void SharedDtor(MessageLite& self); void InternalSwap(CompactResponse* PROTOBUF_NONNULL other); private: template <typename T> friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); static ::absl::string_view FullMessageName() { return "sstorage.CompactResponse"; } explicit CompactResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); CompactResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CompactResponse& from); CompactResponse( ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, CompactResponse&& from) noexcept : CompactResponse(arena) { *this = ::std::move(from); } const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; static void* PROTOBUF_NONNULL PlacementNew_( const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); public: static constexpr auto InternalGenerateClassData_(); [[nodiscard]] ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kOkFieldNumber = 1, }; // bool ok = 1; void clear_ok() ; [[nodiscard]] bool ok() const; void set_ok(bool value); private: bool _internal_ok() const; void _internal_set_ok(bool value); public: // @@protoc_insertion_point(class_scope:sstorage.CompactResponse) private: class _Internal; friend class ::google::protobuf::internal::TcParser; static const ::google::protobuf::internal::TcParseTable<0, 1, 0, 0, 2> _table_; friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; friend ::google::protobuf::internal::PrivateAccess; template <typename T> friend class ::google::protobuf::Arena::InternalHelper; using InternalArenaConstructable_ = void; using DestructorSkippable_ = void; struct Impl_ { inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility, ::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 CompactResponse& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; bool ok_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_storage_2eproto; }; extern const ::google::protobuf::internal::ClassDataFull CompactResponse_class_data_; // ------------------------------------------------------------------- class PROTOBUF_FUTURE_ADD_EARLY_WARN_UNUSED CompactRequest final : public ::google::protobuf::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:sstorage.CompactRequest) */ { public: inline CompactRequest() : CompactRequest(nullptr) {} #if defined(PROTOBUF_CUSTOM_VTABLE) void operator delete(CompactRequest* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(CompactRequest)); } #endif template <typename = void> explicit constexpr CompactRequest(::google::protobuf::internal::ConstantInitialized); inline CompactRequest(const CompactRequest& from) : CompactRequest(nullptr, from) {} inline CompactRequest(CompactRequest&& from) noexcept : CompactRequest(nullptr, ::std::move(from)) {} inline CompactRequest& operator=(const CompactRequest& from) { CopyFrom(from); return *this; } inline CompactRequest& operator=(CompactRequest&& from) noexcept { if (this == &from) return *this; if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { InternalSwap(&from); } else { CopyFrom(from); } return *this; } [[nodiscard]] inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } [[nodiscard]] inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } [[nodiscard]] static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } [[nodiscard]] static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } [[nodiscard]] static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() { return default_instance().GetMetadata().reflection; } [[nodiscard]] static const CompactRequest& default_instance() { return *reinterpret_cast<const CompactRequest*>( &_CompactRequest_default_instance_); } static constexpr int kIndexInFileMessages = 12; friend void swap(CompactRequest& a, CompactRequest& b) { a.Swap(&b); } inline void Swap(CompactRequest* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); } else { ::google::protobuf::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(CompactRequest* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- [[nodiscard]] CompactRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct<CompactRequest>(arena); } using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; inline void CopyFrom(const CompactRequest& from) { ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); } using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; void MergeFrom(const CompactRequest& from) { ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); } public: [[nodiscard]] bool IsInitialized() const { return true; } private: template <typename T> friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); static ::absl::string_view FullMessageName() { return "sstorage.CompactRequest"; } explicit CompactRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); CompactRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CompactRequest& from); CompactRequest( ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, CompactRequest&& from) noexcept : CompactRequest(arena) { *this = ::std::move(from); } const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; static void* PROTOBUF_NONNULL PlacementNew_( const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); static constexpr auto InternalNewImpl_(); public: static constexpr auto InternalGenerateClassData_(); [[nodiscard]] ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // @@protoc_insertion_point(class_scope:sstorage.CompactRequest) private: class _Internal; friend class ::google::protobuf::internal::TcParser; static const ::google::protobuf::internal::TcParseTable<0, 0, 0, 0, 2> _table_; friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; friend ::google::protobuf::internal::PrivateAccess; template <typename T> friend class ::google::protobuf::Arena::InternalHelper; using InternalArenaConstructable_ = void; using DestructorSkippable_ = void; friend struct ::TableStruct_storage_2eproto; }; extern const ::google::protobuf::internal::ClassDataFull CompactRequest_class_data_; // =================================================================== // =================================================================== #ifdef __GNUC__ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wstrict-aliasing" #endif // __GNUC__ // ------------------------------------------------------------------- // PutRequest // bytes key = 1; inline void PutRequest::clear_key() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.key_.ClearToEmpty(); ClearHasBit(_impl_._has_bits_[0], 0x00000001U); } inline const ::std::string& PutRequest::key() const ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_get:sstorage.PutRequest.key) return _internal_key(); } template <typename Arg_, typename... Args_> PROTOBUF_ALWAYS_INLINE void PutRequest::set_key(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); SetHasBit(_impl_._has_bits_[0], 0x00000001U); _impl_.key_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena()); // @@protoc_insertion_point(field_set:sstorage.PutRequest.key) } inline ::std::string* PROTOBUF_NONNULL PutRequest::mutable_key() ABSL_ATTRIBUTE_LIFETIME_BOUND { SetHasBit(_impl_._has_bits_[0], 0x00000001U); ::std::string* _s = _internal_mutable_key(); // @@protoc_insertion_point(field_mutable:sstorage.PutRequest.key) return _s; } inline const ::std::string& PutRequest::_internal_key() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.key_.Get(); } inline void PutRequest::_internal_set_key(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.key_.Set(value, GetArena()); } inline ::std::string* PROTOBUF_NONNULL PutRequest::_internal_mutable_key() { ::google::protobuf::internal::TSanWrite(&_impl_); return _impl_.key_.Mutable( GetArena()); } inline ::std::string* PROTOBUF_NULLABLE PutRequest::release_key() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:sstorage.PutRequest.key) if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) { return nullptr; } ClearHasBit(_impl_._has_bits_[0], 0x00000001U); auto* released = _impl_.key_.Release(); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { _impl_.key_.Set("", GetArena()); } return released; } inline void PutRequest::set_allocated_key(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (value != nullptr) { SetHasBit(_impl_._has_bits_[0], 0x00000001U); } else { ClearHasBit(_impl_._has_bits_[0], 0x00000001U); } _impl_.key_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.key_.IsDefault()) { _impl_.key_.Set("", GetArena()); } // @@protoc_insertion_point(field_set_allocated:sstorage.PutRequest.key) } // bytes value = 2; inline void PutRequest::clear_value() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.value_.ClearToEmpty(); ClearHasBit(_impl_._has_bits_[0], 0x00000002U); } inline const ::std::string& PutRequest::value() const ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_get:sstorage.PutRequest.value) return _internal_value(); } template <typename Arg_, typename... Args_> PROTOBUF_ALWAYS_INLINE void PutRequest::set_value(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); SetHasBit(_impl_._has_bits_[0], 0x00000002U); _impl_.value_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena()); // @@protoc_insertion_point(field_set:sstorage.PutRequest.value) } inline ::std::string* PROTOBUF_NONNULL PutRequest::mutable_value() ABSL_ATTRIBUTE_LIFETIME_BOUND { SetHasBit(_impl_._has_bits_[0], 0x00000002U); ::std::string* _s = _internal_mutable_value(); // @@protoc_insertion_point(field_mutable:sstorage.PutRequest.value) return _s; } inline const ::std::string& PutRequest::_internal_value() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.value_.Get(); } inline void PutRequest::_internal_set_value(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.value_.Set(value, GetArena()); } inline ::std::string* PROTOBUF_NONNULL PutRequest::_internal_mutable_value() { ::google::protobuf::internal::TSanWrite(&_impl_); return _impl_.value_.Mutable( GetArena()); } inline ::std::string* PROTOBUF_NULLABLE PutRequest::release_value() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:sstorage.PutRequest.value) if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) { return nullptr; } ClearHasBit(_impl_._has_bits_[0], 0x00000002U); auto* released = _impl_.value_.Release(); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { _impl_.value_.Set("", GetArena()); } return released; } inline void PutRequest::set_allocated_value(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (value != nullptr) { SetHasBit(_impl_._has_bits_[0], 0x00000002U); } else { ClearHasBit(_impl_._has_bits_[0], 0x00000002U); } _impl_.value_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.value_.IsDefault()) { _impl_.value_.Set("", GetArena()); } // @@protoc_insertion_point(field_set_allocated:sstorage.PutRequest.value) } // ------------------------------------------------------------------- // PutResponse // bool ok = 1; inline void PutResponse::clear_ok() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.ok_ = false; ClearHasBit(_impl_._has_bits_[0], 0x00000001U); } inline bool PutResponse::ok() const { // @@protoc_insertion_point(field_get:sstorage.PutResponse.ok) return _internal_ok(); } inline void PutResponse::set_ok(bool value) { _internal_set_ok(value); SetHasBit(_impl_._has_bits_[0], 0x00000001U); // @@protoc_insertion_point(field_set:sstorage.PutResponse.ok) } inline bool PutResponse::_internal_ok() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.ok_; } inline void PutResponse::_internal_set_ok(bool value) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.ok_ = value; } // ------------------------------------------------------------------- // GetRequest // bytes key = 1; inline void GetRequest::clear_key() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.key_.ClearToEmpty(); ClearHasBit(_impl_._has_bits_[0], 0x00000001U); } inline const ::std::string& GetRequest::key() const ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_get:sstorage.GetRequest.key) return _internal_key(); } template <typename Arg_, typename... Args_> PROTOBUF_ALWAYS_INLINE void GetRequest::set_key(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); SetHasBit(_impl_._has_bits_[0], 0x00000001U); _impl_.key_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena()); // @@protoc_insertion_point(field_set:sstorage.GetRequest.key) } inline ::std::string* PROTOBUF_NONNULL GetRequest::mutable_key() ABSL_ATTRIBUTE_LIFETIME_BOUND { SetHasBit(_impl_._has_bits_[0], 0x00000001U); ::std::string* _s = _internal_mutable_key(); // @@protoc_insertion_point(field_mutable:sstorage.GetRequest.key) return _s; } inline const ::std::string& GetRequest::_internal_key() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.key_.Get(); } inline void GetRequest::_internal_set_key(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.key_.Set(value, GetArena()); } inline ::std::string* PROTOBUF_NONNULL GetRequest::_internal_mutable_key() { ::google::protobuf::internal::TSanWrite(&_impl_); return _impl_.key_.Mutable( GetArena()); } inline ::std::string* PROTOBUF_NULLABLE GetRequest::release_key() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:sstorage.GetRequest.key) if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) { return nullptr; } ClearHasBit(_impl_._has_bits_[0], 0x00000001U); auto* released = _impl_.key_.Release(); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { _impl_.key_.Set("", GetArena()); } return released; } inline void GetRequest::set_allocated_key(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (value != nullptr) { SetHasBit(_impl_._has_bits_[0], 0x00000001U); } else { ClearHasBit(_impl_._has_bits_[0], 0x00000001U); } _impl_.key_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.key_.IsDefault()) { _impl_.key_.Set("", GetArena()); } // @@protoc_insertion_point(field_set_allocated:sstorage.GetRequest.key) } // ------------------------------------------------------------------- // GetResponse // bool found = 1; inline void GetResponse::clear_found() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.found_ = false; ClearHasBit(_impl_._has_bits_[0], 0x00000002U); } inline bool GetResponse::found() const { // @@protoc_insertion_point(field_get:sstorage.GetResponse.found) return _internal_found(); } inline void GetResponse::set_found(bool value) { _internal_set_found(value); SetHasBit(_impl_._has_bits_[0], 0x00000002U); // @@protoc_insertion_point(field_set:sstorage.GetResponse.found) } inline bool GetResponse::_internal_found() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.found_; } inline void GetResponse::_internal_set_found(bool value) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.found_ = value; } // bytes value = 2; inline void GetResponse::clear_value() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.value_.ClearToEmpty(); ClearHasBit(_impl_._has_bits_[0], 0x00000001U); } inline const ::std::string& GetResponse::value() const ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_get:sstorage.GetResponse.value) return _internal_value(); } template <typename Arg_, typename... Args_> PROTOBUF_ALWAYS_INLINE void GetResponse::set_value(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); SetHasBit(_impl_._has_bits_[0], 0x00000001U); _impl_.value_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena()); // @@protoc_insertion_point(field_set:sstorage.GetResponse.value) } inline ::std::string* PROTOBUF_NONNULL GetResponse::mutable_value() ABSL_ATTRIBUTE_LIFETIME_BOUND { SetHasBit(_impl_._has_bits_[0], 0x00000001U); ::std::string* _s = _internal_mutable_value(); // @@protoc_insertion_point(field_mutable:sstorage.GetResponse.value) return _s; } inline const ::std::string& GetResponse::_internal_value() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.value_.Get(); } inline void GetResponse::_internal_set_value(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.value_.Set(value, GetArena()); } inline ::std::string* PROTOBUF_NONNULL GetResponse::_internal_mutable_value() { ::google::protobuf::internal::TSanWrite(&_impl_); return _impl_.value_.Mutable( GetArena()); } inline ::std::string* PROTOBUF_NULLABLE GetResponse::release_value() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:sstorage.GetResponse.value) if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) { return nullptr; } ClearHasBit(_impl_._has_bits_[0], 0x00000001U); auto* released = _impl_.value_.Release(); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { _impl_.value_.Set("", GetArena()); } return released; } inline void GetResponse::set_allocated_value(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (value != nullptr) { SetHasBit(_impl_._has_bits_[0], 0x00000001U); } else { ClearHasBit(_impl_._has_bits_[0], 0x00000001U); } _impl_.value_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.value_.IsDefault()) { _impl_.value_.Set("", GetArena()); } // @@protoc_insertion_point(field_set_allocated:sstorage.GetResponse.value) } // ------------------------------------------------------------------- // DeleteRequest // bytes key = 1; inline void DeleteRequest::clear_key() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.key_.ClearToEmpty(); ClearHasBit(_impl_._has_bits_[0], 0x00000001U); } inline const ::std::string& DeleteRequest::key() const ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_get:sstorage.DeleteRequest.key) return _internal_key(); } template <typename Arg_, typename... Args_> PROTOBUF_ALWAYS_INLINE void DeleteRequest::set_key(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); SetHasBit(_impl_._has_bits_[0], 0x00000001U); _impl_.key_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena()); // @@protoc_insertion_point(field_set:sstorage.DeleteRequest.key) } inline ::std::string* PROTOBUF_NONNULL DeleteRequest::mutable_key() ABSL_ATTRIBUTE_LIFETIME_BOUND { SetHasBit(_impl_._has_bits_[0], 0x00000001U); ::std::string* _s = _internal_mutable_key(); // @@protoc_insertion_point(field_mutable:sstorage.DeleteRequest.key) return _s; } inline const ::std::string& DeleteRequest::_internal_key() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.key_.Get(); } inline void DeleteRequest::_internal_set_key(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.key_.Set(value, GetArena()); } inline ::std::string* PROTOBUF_NONNULL DeleteRequest::_internal_mutable_key() { ::google::protobuf::internal::TSanWrite(&_impl_); return _impl_.key_.Mutable( GetArena()); } inline ::std::string* PROTOBUF_NULLABLE DeleteRequest::release_key() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:sstorage.DeleteRequest.key) if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) { return nullptr; } ClearHasBit(_impl_._has_bits_[0], 0x00000001U); auto* released = _impl_.key_.Release(); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { _impl_.key_.Set("", GetArena()); } return released; } inline void DeleteRequest::set_allocated_key(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (value != nullptr) { SetHasBit(_impl_._has_bits_[0], 0x00000001U); } else { ClearHasBit(_impl_._has_bits_[0], 0x00000001U); } _impl_.key_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.key_.IsDefault()) { _impl_.key_.Set("", GetArena()); } // @@protoc_insertion_point(field_set_allocated:sstorage.DeleteRequest.key) } // ------------------------------------------------------------------- // DeleteResponse // bool ok = 1; inline void DeleteResponse::clear_ok() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.ok_ = false; ClearHasBit(_impl_._has_bits_[0], 0x00000001U); } inline bool DeleteResponse::ok() const { // @@protoc_insertion_point(field_get:sstorage.DeleteResponse.ok) return _internal_ok(); } inline void DeleteResponse::set_ok(bool value) { _internal_set_ok(value); SetHasBit(_impl_._has_bits_[0], 0x00000001U); // @@protoc_insertion_point(field_set:sstorage.DeleteResponse.ok) } inline bool DeleteResponse::_internal_ok() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.ok_; } inline void DeleteResponse::_internal_set_ok(bool value) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.ok_ = value; } // ------------------------------------------------------------------- // ScanRequest // bytes from_key = 1; inline void ScanRequest::clear_from_key() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.from_key_.ClearToEmpty(); ClearHasBit(_impl_._has_bits_[0], 0x00000001U); } inline const ::std::string& ScanRequest::from_key() const ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_get:sstorage.ScanRequest.from_key) return _internal_from_key(); } template <typename Arg_, typename... Args_> PROTOBUF_ALWAYS_INLINE void ScanRequest::set_from_key(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); SetHasBit(_impl_._has_bits_[0], 0x00000001U); _impl_.from_key_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena()); // @@protoc_insertion_point(field_set:sstorage.ScanRequest.from_key) } inline ::std::string* PROTOBUF_NONNULL ScanRequest::mutable_from_key() ABSL_ATTRIBUTE_LIFETIME_BOUND { SetHasBit(_impl_._has_bits_[0], 0x00000001U); ::std::string* _s = _internal_mutable_from_key(); // @@protoc_insertion_point(field_mutable:sstorage.ScanRequest.from_key) return _s; } inline const ::std::string& ScanRequest::_internal_from_key() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.from_key_.Get(); } inline void ScanRequest::_internal_set_from_key(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.from_key_.Set(value, GetArena()); } inline ::std::string* PROTOBUF_NONNULL ScanRequest::_internal_mutable_from_key() { ::google::protobuf::internal::TSanWrite(&_impl_); return _impl_.from_key_.Mutable( GetArena()); } inline ::std::string* PROTOBUF_NULLABLE ScanRequest::release_from_key() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:sstorage.ScanRequest.from_key) if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) { return nullptr; } ClearHasBit(_impl_._has_bits_[0], 0x00000001U); auto* released = _impl_.from_key_.Release(); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { _impl_.from_key_.Set("", GetArena()); } return released; } inline void ScanRequest::set_allocated_from_key(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (value != nullptr) { SetHasBit(_impl_._has_bits_[0], 0x00000001U); } else { ClearHasBit(_impl_._has_bits_[0], 0x00000001U); } _impl_.from_key_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.from_key_.IsDefault()) { _impl_.from_key_.Set("", GetArena()); } // @@protoc_insertion_point(field_set_allocated:sstorage.ScanRequest.from_key) } // bytes to_key = 2; inline void ScanRequest::clear_to_key() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.to_key_.ClearToEmpty(); ClearHasBit(_impl_._has_bits_[0], 0x00000002U); } inline const ::std::string& ScanRequest::to_key() const ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_get:sstorage.ScanRequest.to_key) return _internal_to_key(); } template <typename Arg_, typename... Args_> PROTOBUF_ALWAYS_INLINE void ScanRequest::set_to_key(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); SetHasBit(_impl_._has_bits_[0], 0x00000002U); _impl_.to_key_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena()); // @@protoc_insertion_point(field_set:sstorage.ScanRequest.to_key) } inline ::std::string* PROTOBUF_NONNULL ScanRequest::mutable_to_key() ABSL_ATTRIBUTE_LIFETIME_BOUND { SetHasBit(_impl_._has_bits_[0], 0x00000002U); ::std::string* _s = _internal_mutable_to_key(); // @@protoc_insertion_point(field_mutable:sstorage.ScanRequest.to_key) return _s; } inline const ::std::string& ScanRequest::_internal_to_key() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.to_key_.Get(); } inline void ScanRequest::_internal_set_to_key(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.to_key_.Set(value, GetArena()); } inline ::std::string* PROTOBUF_NONNULL ScanRequest::_internal_mutable_to_key() { ::google::protobuf::internal::TSanWrite(&_impl_); return _impl_.to_key_.Mutable( GetArena()); } inline ::std::string* PROTOBUF_NULLABLE ScanRequest::release_to_key() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:sstorage.ScanRequest.to_key) if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) { return nullptr; } ClearHasBit(_impl_._has_bits_[0], 0x00000002U); auto* released = _impl_.to_key_.Release(); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { _impl_.to_key_.Set("", GetArena()); } return released; } inline void ScanRequest::set_allocated_to_key(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (value != nullptr) { SetHasBit(_impl_._has_bits_[0], 0x00000002U); } else { ClearHasBit(_impl_._has_bits_[0], 0x00000002U); } _impl_.to_key_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.to_key_.IsDefault()) { _impl_.to_key_.Set("", GetArena()); } // @@protoc_insertion_point(field_set_allocated:sstorage.ScanRequest.to_key) } // uint32 limit = 3; inline void ScanRequest::clear_limit() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.limit_ = 0u; ClearHasBit(_impl_._has_bits_[0], 0x00000004U); } inline ::uint32_t ScanRequest::limit() const { // @@protoc_insertion_point(field_get:sstorage.ScanRequest.limit) return _internal_limit(); } inline void ScanRequest::set_limit(::uint32_t value) { _internal_set_limit(value); SetHasBit(_impl_._has_bits_[0], 0x00000004U); // @@protoc_insertion_point(field_set:sstorage.ScanRequest.limit) } inline ::uint32_t ScanRequest::_internal_limit() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.limit_; } inline void ScanRequest::_internal_set_limit(::uint32_t value) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.limit_ = value; } // .sstorage.ScanMode mode = 4; inline void ScanRequest::clear_mode() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.mode_ = 0; ClearHasBit(_impl_._has_bits_[0], 0x00000008U); } inline ::sstorage::ScanMode ScanRequest::mode() const { // @@protoc_insertion_point(field_get:sstorage.ScanRequest.mode) return _internal_mode(); } inline void ScanRequest::set_mode(::sstorage::ScanMode value) { _internal_set_mode(value); SetHasBit(_impl_._has_bits_[0], 0x00000008U); // @@protoc_insertion_point(field_set:sstorage.ScanRequest.mode) } inline ::sstorage::ScanMode ScanRequest::_internal_mode() const { ::google::protobuf::internal::TSanRead(&_impl_); return static_cast<::sstorage::ScanMode>(_impl_.mode_); } inline void ScanRequest::_internal_set_mode(::sstorage::ScanMode value) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.mode_ = value; } // uint64 top_n = 5; inline void ScanRequest::clear_top_n() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.top_n_ = ::uint64_t{0u}; ClearHasBit(_impl_._has_bits_[0], 0x00000010U); } inline ::uint64_t ScanRequest::top_n() const { // @@protoc_insertion_point(field_get:sstorage.ScanRequest.top_n) return _internal_top_n(); } inline void ScanRequest::set_top_n(::uint64_t value) { _internal_set_top_n(value); SetHasBit(_impl_._has_bits_[0], 0x00000010U); // @@protoc_insertion_point(field_set:sstorage.ScanRequest.top_n) } inline ::uint64_t ScanRequest::_internal_top_n() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.top_n_; } inline void ScanRequest::_internal_set_top_n(::uint64_t value) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.top_n_ = value; } // ------------------------------------------------------------------- // ScanResponse // bytes key = 1; inline void ScanResponse::clear_key() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.key_.ClearToEmpty(); ClearHasBit(_impl_._has_bits_[0], 0x00000001U); } inline const ::std::string& ScanResponse::key() const ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_get:sstorage.ScanResponse.key) return _internal_key(); } template <typename Arg_, typename... Args_> PROTOBUF_ALWAYS_INLINE void ScanResponse::set_key(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); SetHasBit(_impl_._has_bits_[0], 0x00000001U); _impl_.key_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena()); // @@protoc_insertion_point(field_set:sstorage.ScanResponse.key) } inline ::std::string* PROTOBUF_NONNULL ScanResponse::mutable_key() ABSL_ATTRIBUTE_LIFETIME_BOUND { SetHasBit(_impl_._has_bits_[0], 0x00000001U); ::std::string* _s = _internal_mutable_key(); // @@protoc_insertion_point(field_mutable:sstorage.ScanResponse.key) return _s; } inline const ::std::string& ScanResponse::_internal_key() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.key_.Get(); } inline void ScanResponse::_internal_set_key(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.key_.Set(value, GetArena()); } inline ::std::string* PROTOBUF_NONNULL ScanResponse::_internal_mutable_key() { ::google::protobuf::internal::TSanWrite(&_impl_); return _impl_.key_.Mutable( GetArena()); } inline ::std::string* PROTOBUF_NULLABLE ScanResponse::release_key() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:sstorage.ScanResponse.key) if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) { return nullptr; } ClearHasBit(_impl_._has_bits_[0], 0x00000001U); auto* released = _impl_.key_.Release(); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { _impl_.key_.Set("", GetArena()); } return released; } inline void ScanResponse::set_allocated_key(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (value != nullptr) { SetHasBit(_impl_._has_bits_[0], 0x00000001U); } else { ClearHasBit(_impl_._has_bits_[0], 0x00000001U); } _impl_.key_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.key_.IsDefault()) { _impl_.key_.Set("", GetArena()); } // @@protoc_insertion_point(field_set_allocated:sstorage.ScanResponse.key) } // bytes value = 2; inline void ScanResponse::clear_value() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.value_.ClearToEmpty(); ClearHasBit(_impl_._has_bits_[0], 0x00000002U); } inline const ::std::string& ScanResponse::value() const ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_get:sstorage.ScanResponse.value) return _internal_value(); } template <typename Arg_, typename... Args_> PROTOBUF_ALWAYS_INLINE void ScanResponse::set_value(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); SetHasBit(_impl_._has_bits_[0], 0x00000002U); _impl_.value_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena()); // @@protoc_insertion_point(field_set:sstorage.ScanResponse.value) } inline ::std::string* PROTOBUF_NONNULL ScanResponse::mutable_value() ABSL_ATTRIBUTE_LIFETIME_BOUND { SetHasBit(_impl_._has_bits_[0], 0x00000002U); ::std::string* _s = _internal_mutable_value(); // @@protoc_insertion_point(field_mutable:sstorage.ScanResponse.value) return _s; } inline const ::std::string& ScanResponse::_internal_value() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.value_.Get(); } inline void ScanResponse::_internal_set_value(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.value_.Set(value, GetArena()); } inline ::std::string* PROTOBUF_NONNULL ScanResponse::_internal_mutable_value() { ::google::protobuf::internal::TSanWrite(&_impl_); return _impl_.value_.Mutable( GetArena()); } inline ::std::string* PROTOBUF_NULLABLE ScanResponse::release_value() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:sstorage.ScanResponse.value) if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) { return nullptr; } ClearHasBit(_impl_._has_bits_[0], 0x00000002U); auto* released = _impl_.value_.Release(); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { _impl_.value_.Set("", GetArena()); } return released; } inline void ScanResponse::set_allocated_value(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (value != nullptr) { SetHasBit(_impl_._has_bits_[0], 0x00000002U); } else { ClearHasBit(_impl_._has_bits_[0], 0x00000002U); } _impl_.value_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.value_.IsDefault()) { _impl_.value_.Set("", GetArena()); } // @@protoc_insertion_point(field_set_allocated:sstorage.ScanResponse.value) } // ------------------------------------------------------------------- // StatsRequest // ------------------------------------------------------------------- // StatsResponse // uint64 memtable_size = 1; inline void StatsResponse::clear_memtable_size() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.memtable_size_ = ::uint64_t{0u}; ClearHasBit(_impl_._has_bits_[0], 0x00000004U); } inline ::uint64_t StatsResponse::memtable_size() const { // @@protoc_insertion_point(field_get:sstorage.StatsResponse.memtable_size) return _internal_memtable_size(); } inline void StatsResponse::set_memtable_size(::uint64_t value) { _internal_set_memtable_size(value); SetHasBit(_impl_._has_bits_[0], 0x00000004U); // @@protoc_insertion_point(field_set:sstorage.StatsResponse.memtable_size) } inline ::uint64_t StatsResponse::_internal_memtable_size() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.memtable_size_; } inline void StatsResponse::_internal_set_memtable_size(::uint64_t value) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.memtable_size_ = value; } // uint64 immutable_count = 2; inline void StatsResponse::clear_immutable_count() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.immutable_count_ = ::uint64_t{0u}; ClearHasBit(_impl_._has_bits_[0], 0x00000008U); } inline ::uint64_t StatsResponse::immutable_count() const { // @@protoc_insertion_point(field_get:sstorage.StatsResponse.immutable_count) return _internal_immutable_count(); } inline void StatsResponse::set_immutable_count(::uint64_t value) { _internal_set_immutable_count(value); SetHasBit(_impl_._has_bits_[0], 0x00000008U); // @@protoc_insertion_point(field_set:sstorage.StatsResponse.immutable_count) } inline ::uint64_t StatsResponse::_internal_immutable_count() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.immutable_count_; } inline void StatsResponse::_internal_set_immutable_count(::uint64_t value) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.immutable_count_ = value; } // repeated uint64 level_records = 3; inline int StatsResponse::_internal_level_records_size() const { return _internal_level_records().size(); } inline int StatsResponse::level_records_size() const { return _internal_level_records_size(); } inline void StatsResponse::clear_level_records() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.level_records_.Clear(); ClearHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); } inline ::uint64_t StatsResponse::level_records(int index) const { // @@protoc_insertion_point(field_get:sstorage.StatsResponse.level_records) return _internal_level_records().Get(index); } inline void StatsResponse::set_level_records(int index, ::uint64_t value) { _internal_mutable_level_records()->Set(index, value); // @@protoc_insertion_point(field_set:sstorage.StatsResponse.level_records) } inline void StatsResponse::add_level_records(::uint64_t value) { ::google::protobuf::internal::TSanWrite(&_impl_); _internal_mutable_level_records()->InternalAddWithArena( internal_visibility(), GetArena(), value); SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); // @@protoc_insertion_point(field_add:sstorage.StatsResponse.level_records) } inline const ::google::protobuf::RepeatedField<::uint64_t>& StatsResponse::level_records() const ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_list:sstorage.StatsResponse.level_records) return _internal_level_records(); } inline ::google::protobuf::RepeatedField<::uint64_t>* PROTOBUF_NONNULL StatsResponse::mutable_level_records() ABSL_ATTRIBUTE_LIFETIME_BOUND { SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); // @@protoc_insertion_point(field_mutable_list:sstorage.StatsResponse.level_records) ::google::protobuf::internal::TSanWrite(&_impl_); return _internal_mutable_level_records(); } inline const ::google::protobuf::RepeatedField<::uint64_t>& StatsResponse::_internal_level_records() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.level_records_; } inline ::google::protobuf::RepeatedField<::uint64_t>* PROTOBUF_NONNULL StatsResponse::_internal_mutable_level_records() { ::google::protobuf::internal::TSanRead(&_impl_); return &_impl_.level_records_; } // repeated uint64 level_file_counts = 4; inline int StatsResponse::_internal_level_file_counts_size() const { return _internal_level_file_counts().size(); } inline int StatsResponse::level_file_counts_size() const { return _internal_level_file_counts_size(); } inline void StatsResponse::clear_level_file_counts() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.level_file_counts_.Clear(); ClearHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U); } inline ::uint64_t StatsResponse::level_file_counts(int index) const { // @@protoc_insertion_point(field_get:sstorage.StatsResponse.level_file_counts) return _internal_level_file_counts().Get(index); } inline void StatsResponse::set_level_file_counts(int index, ::uint64_t value) { _internal_mutable_level_file_counts()->Set(index, value); // @@protoc_insertion_point(field_set:sstorage.StatsResponse.level_file_counts) } inline void StatsResponse::add_level_file_counts(::uint64_t value) { ::google::protobuf::internal::TSanWrite(&_impl_); _internal_mutable_level_file_counts()->InternalAddWithArena( internal_visibility(), GetArena(), value); SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U); // @@protoc_insertion_point(field_add:sstorage.StatsResponse.level_file_counts) } inline const ::google::protobuf::RepeatedField<::uint64_t>& StatsResponse::level_file_counts() const ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_list:sstorage.StatsResponse.level_file_counts) return _internal_level_file_counts(); } inline ::google::protobuf::RepeatedField<::uint64_t>* PROTOBUF_NONNULL StatsResponse::mutable_level_file_counts() ABSL_ATTRIBUTE_LIFETIME_BOUND { SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U); // @@protoc_insertion_point(field_mutable_list:sstorage.StatsResponse.level_file_counts) ::google::protobuf::internal::TSanWrite(&_impl_); return _internal_mutable_level_file_counts(); } inline const ::google::protobuf::RepeatedField<::uint64_t>& StatsResponse::_internal_level_file_counts() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.level_file_counts_; } inline ::google::protobuf::RepeatedField<::uint64_t>* PROTOBUF_NONNULL StatsResponse::_internal_mutable_level_file_counts() { ::google::protobuf::internal::TSanRead(&_impl_); return &_impl_.level_file_counts_; } // uint64 total_records = 5; inline void StatsResponse::clear_total_records() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.total_records_ = ::uint64_t{0u}; ClearHasBit(_impl_._has_bits_[0], 0x00000010U); } inline ::uint64_t StatsResponse::total_records() const { // @@protoc_insertion_point(field_get:sstorage.StatsResponse.total_records) return _internal_total_records(); } inline void StatsResponse::set_total_records(::uint64_t value) { _internal_set_total_records(value); SetHasBit(_impl_._has_bits_[0], 0x00000010U); // @@protoc_insertion_point(field_set:sstorage.StatsResponse.total_records) } inline ::uint64_t StatsResponse::_internal_total_records() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.total_records_; } inline void StatsResponse::_internal_set_total_records(::uint64_t value) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.total_records_ = value; } // ------------------------------------------------------------------- // FlushRequest // ------------------------------------------------------------------- // FlushResponse // bool ok = 1; inline void FlushResponse::clear_ok() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.ok_ = false; ClearHasBit(_impl_._has_bits_[0], 0x00000001U); } inline bool FlushResponse::ok() const { // @@protoc_insertion_point(field_get:sstorage.FlushResponse.ok) return _internal_ok(); } inline void FlushResponse::set_ok(bool value) { _internal_set_ok(value); SetHasBit(_impl_._has_bits_[0], 0x00000001U); // @@protoc_insertion_point(field_set:sstorage.FlushResponse.ok) } inline bool FlushResponse::_internal_ok() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.ok_; } inline void FlushResponse::_internal_set_ok(bool value) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.ok_ = value; } // ------------------------------------------------------------------- // CompactRequest // ------------------------------------------------------------------- // CompactResponse // bool ok = 1; inline void CompactResponse::clear_ok() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.ok_ = false; ClearHasBit(_impl_._has_bits_[0], 0x00000001U); } inline bool CompactResponse::ok() const { // @@protoc_insertion_point(field_get:sstorage.CompactResponse.ok) return _internal_ok(); } inline void CompactResponse::set_ok(bool value) { _internal_set_ok(value); SetHasBit(_impl_._has_bits_[0], 0x00000001U); // @@protoc_insertion_point(field_set:sstorage.CompactResponse.ok) } inline bool CompactResponse::_internal_ok() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.ok_; } inline void CompactResponse::_internal_set_ok(bool value) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.ok_ = value; } #ifdef __GNUC__ #pragma GCC diagnostic pop #endif // __GNUC__ // @@protoc_insertion_point(namespace_scope) } // namespace sstorage namespace google { namespace protobuf { template <> struct is_proto_enum<::sstorage::ScanMode> : std::true_type {}; template <> inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::sstorage::ScanMode>() { return ::sstorage::ScanMode_descriptor(); } } // namespace protobuf } // namespace google // @@protoc_insertion_point(global_scope) #include "google/protobuf/port_undef.inc" // clang-format on #endif // storage_2eproto_2epb_2eh