From 0b6ef55292e614471061e61bd411c72e8960a3ed Mon Sep 17 00:00:00 2001 From: Terry Westley Date: Thu, 19 Sep 2024 15:30:46 -0400 Subject: [PATCH] Remove protobuf-generated files from git --- .gitignore | 2 + include/message.pb.h | 2319 ------------------------------------------ src/message.pb.cc | 2213 ---------------------------------------- 3 files changed, 2 insertions(+), 4532 deletions(-) delete mode 100644 include/message.pb.h delete mode 100644 src/message.pb.cc diff --git a/.gitignore b/.gitignore index a038df9..66fd56f 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,5 @@ clean-outputs .*.icloud .DS_Store .*.swp +include/message.pb.h +src/message.pb.cc diff --git a/include/message.pb.h b/include/message.pb.h deleted file mode 100644 index b4f345e..0000000 --- a/include/message.pb.h +++ /dev/null @@ -1,2319 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: message.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_message_2eproto_2epb_2eh -#define GOOGLE_PROTOBUF_INCLUDED_message_2eproto_2epb_2eh - -#include -#include -#include - -#include "google/protobuf/port_def.inc" -#if PROTOBUF_VERSION < 4023000 -#error "This file was generated by a newer version of protoc which is" -#error "incompatible with your Protocol Buffer headers. Please update" -#error "your headers." -#endif // PROTOBUF_VERSION - -#if 4023004 < PROTOBUF_MIN_PROTOC_VERSION -#error "This file was generated by an older version of protoc which is" -#error "incompatible with your Protocol Buffer headers. Please" -#error "regenerate this file with a newer version of protoc." -#endif // PROTOBUF_MIN_PROTOC_VERSION -#include "google/protobuf/port_undef.inc" -#include "google/protobuf/io/coded_stream.h" -#include "google/protobuf/arena.h" -#include "google/protobuf/arenastring.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/repeated_field.h" // IWYU pragma: export -#include "google/protobuf/extension_set.h" // IWYU pragma: export -#include "google/protobuf/generated_enum_reflection.h" -#include "google/protobuf/unknown_field_set.h" -#include "google/protobuf/timestamp.pb.h" -// @@protoc_insertion_point(includes) - -// Must be included last. -#include "google/protobuf/port_def.inc" - -#define PROTOBUF_INTERNAL_EXPORT_message_2eproto - -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_message_2eproto { - static const ::uint32_t offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable - descriptor_table_message_2eproto; -class InformationalMessageContents; -struct InformationalMessageContentsDefaultTypeInternal; -extern InformationalMessageContentsDefaultTypeInternal _InformationalMessageContents_default_instance_; -class InformationalMessageContents_CollectionInformationRecord; -struct InformationalMessageContents_CollectionInformationRecordDefaultTypeInternal; -extern InformationalMessageContents_CollectionInformationRecordDefaultTypeInternal _InformationalMessageContents_CollectionInformationRecord_default_instance_; -class InformationalMessageContents_CollectionInformationRecord_CreationRateData; -struct InformationalMessageContents_CollectionInformationRecord_CreationRateDataDefaultTypeInternal; -extern InformationalMessageContents_CollectionInformationRecord_CreationRateDataDefaultTypeInternal _InformationalMessageContents_CollectionInformationRecord_CreationRateData_default_instance_; -class KeyspaceMessageContents; -struct KeyspaceMessageContentsDefaultTypeInternal; -extern KeyspaceMessageContentsDefaultTypeInternal _KeyspaceMessageContents_default_instance_; -class KeyspaceMessageContents_Keyspace; -struct KeyspaceMessageContents_KeyspaceDefaultTypeInternal; -extern KeyspaceMessageContents_KeyspaceDefaultTypeInternal _KeyspaceMessageContents_Keyspace_default_instance_; -class Message; -struct MessageDefaultTypeInternal; -extern MessageDefaultTypeInternal _Message_default_instance_; -PROTOBUF_NAMESPACE_OPEN -template <> -::InformationalMessageContents* Arena::CreateMaybeMessage<::InformationalMessageContents>(Arena*); -template <> -::InformationalMessageContents_CollectionInformationRecord* Arena::CreateMaybeMessage<::InformationalMessageContents_CollectionInformationRecord>(Arena*); -template <> -::InformationalMessageContents_CollectionInformationRecord_CreationRateData* Arena::CreateMaybeMessage<::InformationalMessageContents_CollectionInformationRecord_CreationRateData>(Arena*); -template <> -::KeyspaceMessageContents* Arena::CreateMaybeMessage<::KeyspaceMessageContents>(Arena*); -template <> -::KeyspaceMessageContents_Keyspace* Arena::CreateMaybeMessage<::KeyspaceMessageContents_Keyspace>(Arena*); -template <> -::Message* Arena::CreateMaybeMessage<::Message>(Arena*); -PROTOBUF_NAMESPACE_CLOSE - -enum Message_ChannelState : int { - Message_ChannelState_INITIAL_STARTUP = 0, - Message_ChannelState_NORMAL_COMMUNICATION = 1, - Message_ChannelState_CHANNEL_SHUTDOWN = 2, - Message_ChannelState_Message_ChannelState_INT_MIN_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::min(), - Message_ChannelState_Message_ChannelState_INT_MAX_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::max(), -}; - -bool Message_ChannelState_IsValid(int value); -constexpr Message_ChannelState Message_ChannelState_ChannelState_MIN = static_cast(0); -constexpr Message_ChannelState Message_ChannelState_ChannelState_MAX = static_cast(2); -constexpr int Message_ChannelState_ChannelState_ARRAYSIZE = 2 + 1; -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* -Message_ChannelState_descriptor(); -template -const std::string& Message_ChannelState_Name(T value) { - static_assert(std::is_same::value || - std::is_integral::value, - "Incorrect type passed to ChannelState_Name()."); - return Message_ChannelState_Name(static_cast(value)); -} -template <> -inline const std::string& Message_ChannelState_Name(Message_ChannelState value) { - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfDenseEnum( - static_cast(value)); -} -inline bool Message_ChannelState_Parse(absl::string_view name, Message_ChannelState* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - Message_ChannelState_descriptor(), name, value); -} -enum Message_MessageType : int { - Message_MessageType_INFORMATION = 0, - Message_MessageType_KEYSPACE = 1, - Message_MessageType_DATA_REPLICATION_UNUSED = 2, - Message_MessageType_Message_MessageType_INT_MIN_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::min(), - Message_MessageType_Message_MessageType_INT_MAX_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::max(), -}; - -bool Message_MessageType_IsValid(int value); -constexpr Message_MessageType Message_MessageType_MessageType_MIN = static_cast(0); -constexpr Message_MessageType Message_MessageType_MessageType_MAX = static_cast(2); -constexpr int Message_MessageType_MessageType_ARRAYSIZE = 2 + 1; -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* -Message_MessageType_descriptor(); -template -const std::string& Message_MessageType_Name(T value) { - static_assert(std::is_same::value || - std::is_integral::value, - "Incorrect type passed to MessageType_Name()."); - return Message_MessageType_Name(static_cast(value)); -} -template <> -inline const std::string& Message_MessageType_Name(Message_MessageType value) { - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfDenseEnum( - static_cast(value)); -} -inline bool Message_MessageType_Parse(absl::string_view name, Message_MessageType* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - Message_MessageType_descriptor(), name, value); -} - -// =================================================================== - - -// ------------------------------------------------------------------- - -class InformationalMessageContents_CollectionInformationRecord_CreationRateData final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:InformationalMessageContents.CollectionInformationRecord.CreationRateData) */ { - public: - inline InformationalMessageContents_CollectionInformationRecord_CreationRateData() : InformationalMessageContents_CollectionInformationRecord_CreationRateData(nullptr) {} - ~InformationalMessageContents_CollectionInformationRecord_CreationRateData() override; - template - explicit PROTOBUF_CONSTEXPR InformationalMessageContents_CollectionInformationRecord_CreationRateData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - InformationalMessageContents_CollectionInformationRecord_CreationRateData(const InformationalMessageContents_CollectionInformationRecord_CreationRateData& from); - InformationalMessageContents_CollectionInformationRecord_CreationRateData(InformationalMessageContents_CollectionInformationRecord_CreationRateData&& from) noexcept - : InformationalMessageContents_CollectionInformationRecord_CreationRateData() { - *this = ::std::move(from); - } - - inline InformationalMessageContents_CollectionInformationRecord_CreationRateData& operator=(const InformationalMessageContents_CollectionInformationRecord_CreationRateData& from) { - CopyFrom(from); - return *this; - } - inline InformationalMessageContents_CollectionInformationRecord_CreationRateData& operator=(InformationalMessageContents_CollectionInformationRecord_CreationRateData&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const InformationalMessageContents_CollectionInformationRecord_CreationRateData& default_instance() { - return *internal_default_instance(); - } - static inline const InformationalMessageContents_CollectionInformationRecord_CreationRateData* internal_default_instance() { - return reinterpret_cast( - &_InformationalMessageContents_CollectionInformationRecord_CreationRateData_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(InformationalMessageContents_CollectionInformationRecord_CreationRateData& a, InformationalMessageContents_CollectionInformationRecord_CreationRateData& b) { - a.Swap(&b); - } - inline void Swap(InformationalMessageContents_CollectionInformationRecord_CreationRateData* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(InformationalMessageContents_CollectionInformationRecord_CreationRateData* other) { - if (other == this) return; - ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - InformationalMessageContents_CollectionInformationRecord_CreationRateData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const InformationalMessageContents_CollectionInformationRecord_CreationRateData& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const InformationalMessageContents_CollectionInformationRecord_CreationRateData& from) { - InformationalMessageContents_CollectionInformationRecord_CreationRateData::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - ::size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(InformationalMessageContents_CollectionInformationRecord_CreationRateData* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::absl::string_view FullMessageName() { - return "InformationalMessageContents.CollectionInformationRecord.CreationRateData"; - } - protected: - explicit InformationalMessageContents_CollectionInformationRecord_CreationRateData(::PROTOBUF_NAMESPACE_ID::Arena* arena); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kShortAllocationRatioFieldNumber = 1, - kLongAllocationRatioFieldNumber = 2, - kCreatedPreviousDayFieldNumber = 3, - kCreatedPreviousWeekFieldNumber = 4, - }; - // double shortAllocationRatio = 1; - void clear_shortallocationratio() ; - double shortallocationratio() const; - void set_shortallocationratio(double value); - - private: - double _internal_shortallocationratio() const; - void _internal_set_shortallocationratio(double value); - - public: - // double longAllocationRatio = 2; - void clear_longallocationratio() ; - double longallocationratio() const; - void set_longallocationratio(double value); - - private: - double _internal_longallocationratio() const; - void _internal_set_longallocationratio(double value); - - public: - // double createdPreviousDay = 3; - void clear_createdpreviousday() ; - double createdpreviousday() const; - void set_createdpreviousday(double value); - - private: - double _internal_createdpreviousday() const; - void _internal_set_createdpreviousday(double value); - - public: - // double createdPreviousWeek = 4; - void clear_createdpreviousweek() ; - double createdpreviousweek() const; - void set_createdpreviousweek(double value); - - private: - double _internal_createdpreviousweek() const; - void _internal_set_createdpreviousweek(double value); - - public: - // @@protoc_insertion_point(class_scope:InformationalMessageContents.CollectionInformationRecord.CreationRateData) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - double shortallocationratio_; - double longallocationratio_; - double createdpreviousday_; - double createdpreviousweek_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_message_2eproto; -};// ------------------------------------------------------------------- - -class InformationalMessageContents_CollectionInformationRecord final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:InformationalMessageContents.CollectionInformationRecord) */ { - public: - inline InformationalMessageContents_CollectionInformationRecord() : InformationalMessageContents_CollectionInformationRecord(nullptr) {} - ~InformationalMessageContents_CollectionInformationRecord() override; - template - explicit PROTOBUF_CONSTEXPR InformationalMessageContents_CollectionInformationRecord(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - InformationalMessageContents_CollectionInformationRecord(const InformationalMessageContents_CollectionInformationRecord& from); - InformationalMessageContents_CollectionInformationRecord(InformationalMessageContents_CollectionInformationRecord&& from) noexcept - : InformationalMessageContents_CollectionInformationRecord() { - *this = ::std::move(from); - } - - inline InformationalMessageContents_CollectionInformationRecord& operator=(const InformationalMessageContents_CollectionInformationRecord& from) { - CopyFrom(from); - return *this; - } - inline InformationalMessageContents_CollectionInformationRecord& operator=(InformationalMessageContents_CollectionInformationRecord&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const InformationalMessageContents_CollectionInformationRecord& default_instance() { - return *internal_default_instance(); - } - static inline const InformationalMessageContents_CollectionInformationRecord* internal_default_instance() { - return reinterpret_cast( - &_InformationalMessageContents_CollectionInformationRecord_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - friend void swap(InformationalMessageContents_CollectionInformationRecord& a, InformationalMessageContents_CollectionInformationRecord& b) { - a.Swap(&b); - } - inline void Swap(InformationalMessageContents_CollectionInformationRecord* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(InformationalMessageContents_CollectionInformationRecord* other) { - if (other == this) return; - ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - InformationalMessageContents_CollectionInformationRecord* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const InformationalMessageContents_CollectionInformationRecord& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const InformationalMessageContents_CollectionInformationRecord& from) { - InformationalMessageContents_CollectionInformationRecord::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - ::size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(InformationalMessageContents_CollectionInformationRecord* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::absl::string_view FullMessageName() { - return "InformationalMessageContents.CollectionInformationRecord"; - } - protected: - explicit InformationalMessageContents_CollectionInformationRecord(::PROTOBUF_NAMESPACE_ID::Arena* arena); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef InformationalMessageContents_CollectionInformationRecord_CreationRateData CreationRateData; - - // accessors ------------------------------------------------------- - - enum : int { - kCollectionNameFieldNumber = 1, - kCreationRateDataFieldNumber = 2, - }; - // string collectionName = 1; - void clear_collectionname() ; - const std::string& collectionname() const; - - - - - template - void set_collectionname(Arg_&& arg, Args_... args); - std::string* mutable_collectionname(); - PROTOBUF_NODISCARD std::string* release_collectionname(); - void set_allocated_collectionname(std::string* ptr); - - private: - const std::string& _internal_collectionname() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_collectionname( - const std::string& value); - std::string* _internal_mutable_collectionname(); - - public: - // .InformationalMessageContents.CollectionInformationRecord.CreationRateData creationRateData = 2; - bool has_creationratedata() const; - void clear_creationratedata() ; - const ::InformationalMessageContents_CollectionInformationRecord_CreationRateData& creationratedata() const; - PROTOBUF_NODISCARD ::InformationalMessageContents_CollectionInformationRecord_CreationRateData* release_creationratedata(); - ::InformationalMessageContents_CollectionInformationRecord_CreationRateData* mutable_creationratedata(); - void set_allocated_creationratedata(::InformationalMessageContents_CollectionInformationRecord_CreationRateData* creationratedata); - private: - const ::InformationalMessageContents_CollectionInformationRecord_CreationRateData& _internal_creationratedata() const; - ::InformationalMessageContents_CollectionInformationRecord_CreationRateData* _internal_mutable_creationratedata(); - public: - void unsafe_arena_set_allocated_creationratedata( - ::InformationalMessageContents_CollectionInformationRecord_CreationRateData* creationratedata); - ::InformationalMessageContents_CollectionInformationRecord_CreationRateData* unsafe_arena_release_creationratedata(); - // @@protoc_insertion_point(class_scope:InformationalMessageContents.CollectionInformationRecord) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr collectionname_; - ::InformationalMessageContents_CollectionInformationRecord_CreationRateData* creationratedata_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_message_2eproto; -};// ------------------------------------------------------------------- - -class InformationalMessageContents final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:InformationalMessageContents) */ { - public: - inline InformationalMessageContents() : InformationalMessageContents(nullptr) {} - ~InformationalMessageContents() override; - template - explicit PROTOBUF_CONSTEXPR InformationalMessageContents(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - InformationalMessageContents(const InformationalMessageContents& from); - InformationalMessageContents(InformationalMessageContents&& from) noexcept - : InformationalMessageContents() { - *this = ::std::move(from); - } - - inline InformationalMessageContents& operator=(const InformationalMessageContents& from) { - CopyFrom(from); - return *this; - } - inline InformationalMessageContents& operator=(InformationalMessageContents&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const InformationalMessageContents& default_instance() { - return *internal_default_instance(); - } - static inline const InformationalMessageContents* internal_default_instance() { - return reinterpret_cast( - &_InformationalMessageContents_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - friend void swap(InformationalMessageContents& a, InformationalMessageContents& b) { - a.Swap(&b); - } - inline void Swap(InformationalMessageContents* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(InformationalMessageContents* other) { - if (other == this) return; - ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - InformationalMessageContents* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const InformationalMessageContents& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const InformationalMessageContents& from) { - InformationalMessageContents::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - ::size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(InformationalMessageContents* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::absl::string_view FullMessageName() { - return "InformationalMessageContents"; - } - protected: - explicit InformationalMessageContents(::PROTOBUF_NAMESPACE_ID::Arena* arena); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef InformationalMessageContents_CollectionInformationRecord CollectionInformationRecord; - - // accessors ------------------------------------------------------- - - enum : int { - kRecordsFieldNumber = 1, - }; - // repeated .InformationalMessageContents.CollectionInformationRecord records = 1; - int records_size() const; - private: - int _internal_records_size() const; - - public: - void clear_records() ; - ::InformationalMessageContents_CollectionInformationRecord* mutable_records(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::InformationalMessageContents_CollectionInformationRecord >* - mutable_records(); - private: - const ::InformationalMessageContents_CollectionInformationRecord& _internal_records(int index) const; - ::InformationalMessageContents_CollectionInformationRecord* _internal_add_records(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::InformationalMessageContents_CollectionInformationRecord>& _internal_records() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::InformationalMessageContents_CollectionInformationRecord>* _internal_mutable_records(); - public: - const ::InformationalMessageContents_CollectionInformationRecord& records(int index) const; - ::InformationalMessageContents_CollectionInformationRecord* add_records(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::InformationalMessageContents_CollectionInformationRecord >& - records() const; - // @@protoc_insertion_point(class_scope:InformationalMessageContents) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::InformationalMessageContents_CollectionInformationRecord > records_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_message_2eproto; -};// ------------------------------------------------------------------- - -class KeyspaceMessageContents_Keyspace final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:KeyspaceMessageContents.Keyspace) */ { - public: - inline KeyspaceMessageContents_Keyspace() : KeyspaceMessageContents_Keyspace(nullptr) {} - ~KeyspaceMessageContents_Keyspace() override; - template - explicit PROTOBUF_CONSTEXPR KeyspaceMessageContents_Keyspace(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - KeyspaceMessageContents_Keyspace(const KeyspaceMessageContents_Keyspace& from); - KeyspaceMessageContents_Keyspace(KeyspaceMessageContents_Keyspace&& from) noexcept - : KeyspaceMessageContents_Keyspace() { - *this = ::std::move(from); - } - - inline KeyspaceMessageContents_Keyspace& operator=(const KeyspaceMessageContents_Keyspace& from) { - CopyFrom(from); - return *this; - } - inline KeyspaceMessageContents_Keyspace& operator=(KeyspaceMessageContents_Keyspace&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const KeyspaceMessageContents_Keyspace& default_instance() { - return *internal_default_instance(); - } - static inline const KeyspaceMessageContents_Keyspace* internal_default_instance() { - return reinterpret_cast( - &_KeyspaceMessageContents_Keyspace_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - friend void swap(KeyspaceMessageContents_Keyspace& a, KeyspaceMessageContents_Keyspace& b) { - a.Swap(&b); - } - inline void Swap(KeyspaceMessageContents_Keyspace* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(KeyspaceMessageContents_Keyspace* other) { - if (other == this) return; - ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - KeyspaceMessageContents_Keyspace* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const KeyspaceMessageContents_Keyspace& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const KeyspaceMessageContents_Keyspace& from) { - KeyspaceMessageContents_Keyspace::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - ::size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(KeyspaceMessageContents_Keyspace* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::absl::string_view FullMessageName() { - return "KeyspaceMessageContents.Keyspace"; - } - protected: - explicit KeyspaceMessageContents_Keyspace(::PROTOBUF_NAMESPACE_ID::Arena* arena); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kNameFieldNumber = 1, - kStartIDFieldNumber = 2, - kEndIDFieldNumber = 3, - kSuffixBitsFieldNumber = 4, - }; - // string name = 1; - void clear_name() ; - const std::string& name() const; - - - - - template - void set_name(Arg_&& arg, Args_... args); - std::string* mutable_name(); - PROTOBUF_NODISCARD std::string* release_name(); - void set_allocated_name(std::string* ptr); - - private: - const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( - const std::string& value); - std::string* _internal_mutable_name(); - - public: - // uint64 startID = 2; - void clear_startid() ; - ::uint64_t startid() const; - void set_startid(::uint64_t value); - - private: - ::uint64_t _internal_startid() const; - void _internal_set_startid(::uint64_t value); - - public: - // uint64 endID = 3; - void clear_endid() ; - ::uint64_t endid() const; - void set_endid(::uint64_t value); - - private: - ::uint64_t _internal_endid() const; - void _internal_set_endid(::uint64_t value); - - public: - // uint32 suffixBits = 4; - void clear_suffixbits() ; - ::uint32_t suffixbits() const; - void set_suffixbits(::uint32_t value); - - private: - ::uint32_t _internal_suffixbits() const; - void _internal_set_suffixbits(::uint32_t value); - - public: - // @@protoc_insertion_point(class_scope:KeyspaceMessageContents.Keyspace) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; - ::uint64_t startid_; - ::uint64_t endid_; - ::uint32_t suffixbits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_message_2eproto; -};// ------------------------------------------------------------------- - -class KeyspaceMessageContents final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:KeyspaceMessageContents) */ { - public: - inline KeyspaceMessageContents() : KeyspaceMessageContents(nullptr) {} - ~KeyspaceMessageContents() override; - template - explicit PROTOBUF_CONSTEXPR KeyspaceMessageContents(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - KeyspaceMessageContents(const KeyspaceMessageContents& from); - KeyspaceMessageContents(KeyspaceMessageContents&& from) noexcept - : KeyspaceMessageContents() { - *this = ::std::move(from); - } - - inline KeyspaceMessageContents& operator=(const KeyspaceMessageContents& from) { - CopyFrom(from); - return *this; - } - inline KeyspaceMessageContents& operator=(KeyspaceMessageContents&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const KeyspaceMessageContents& default_instance() { - return *internal_default_instance(); - } - static inline const KeyspaceMessageContents* internal_default_instance() { - return reinterpret_cast( - &_KeyspaceMessageContents_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - friend void swap(KeyspaceMessageContents& a, KeyspaceMessageContents& b) { - a.Swap(&b); - } - inline void Swap(KeyspaceMessageContents* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(KeyspaceMessageContents* other) { - if (other == this) return; - ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - KeyspaceMessageContents* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const KeyspaceMessageContents& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const KeyspaceMessageContents& from) { - KeyspaceMessageContents::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - ::size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(KeyspaceMessageContents* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::absl::string_view FullMessageName() { - return "KeyspaceMessageContents"; - } - protected: - explicit KeyspaceMessageContents(::PROTOBUF_NAMESPACE_ID::Arena* arena); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef KeyspaceMessageContents_Keyspace Keyspace; - - // accessors ------------------------------------------------------- - - enum : int { - kKeyspacesFieldNumber = 1, - }; - // repeated .KeyspaceMessageContents.Keyspace keyspaces = 1; - int keyspaces_size() const; - private: - int _internal_keyspaces_size() const; - - public: - void clear_keyspaces() ; - ::KeyspaceMessageContents_Keyspace* mutable_keyspaces(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::KeyspaceMessageContents_Keyspace >* - mutable_keyspaces(); - private: - const ::KeyspaceMessageContents_Keyspace& _internal_keyspaces(int index) const; - ::KeyspaceMessageContents_Keyspace* _internal_add_keyspaces(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::KeyspaceMessageContents_Keyspace>& _internal_keyspaces() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::KeyspaceMessageContents_Keyspace>* _internal_mutable_keyspaces(); - public: - const ::KeyspaceMessageContents_Keyspace& keyspaces(int index) const; - ::KeyspaceMessageContents_Keyspace* add_keyspaces(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::KeyspaceMessageContents_Keyspace >& - keyspaces() const; - // @@protoc_insertion_point(class_scope:KeyspaceMessageContents) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::KeyspaceMessageContents_Keyspace > keyspaces_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_message_2eproto; -};// ------------------------------------------------------------------- - -class Message final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:Message) */ { - public: - inline Message() : Message(nullptr) {} - ~Message() override; - template - explicit PROTOBUF_CONSTEXPR Message(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - Message(const Message& from); - Message(Message&& from) noexcept - : Message() { - *this = ::std::move(from); - } - - inline Message& operator=(const Message& from) { - CopyFrom(from); - return *this; - } - inline Message& operator=(Message&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const Message& default_instance() { - return *internal_default_instance(); - } - enum MessageCase { - kInfo = 8, - kKeyspace = 9, - MESSAGE_NOT_SET = 0, - }; - - static inline const Message* internal_default_instance() { - return reinterpret_cast( - &_Message_default_instance_); - } - static constexpr int kIndexInFileMessages = - 5; - - friend void swap(Message& a, Message& b) { - a.Swap(&b); - } - inline void Swap(Message* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Message* other) { - if (other == this) return; - ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - Message* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const Message& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const Message& from) { - Message::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - ::size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(Message* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::absl::string_view FullMessageName() { - return "Message"; - } - protected: - explicit Message(::PROTOBUF_NAMESPACE_ID::Arena* arena); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - using ChannelState = Message_ChannelState; - static constexpr ChannelState INITIAL_STARTUP = Message_ChannelState_INITIAL_STARTUP; - static constexpr ChannelState NORMAL_COMMUNICATION = Message_ChannelState_NORMAL_COMMUNICATION; - static constexpr ChannelState CHANNEL_SHUTDOWN = Message_ChannelState_CHANNEL_SHUTDOWN; - static inline bool ChannelState_IsValid(int value) { - return Message_ChannelState_IsValid(value); - } - static constexpr ChannelState ChannelState_MIN = Message_ChannelState_ChannelState_MIN; - static constexpr ChannelState ChannelState_MAX = Message_ChannelState_ChannelState_MAX; - static constexpr int ChannelState_ARRAYSIZE = Message_ChannelState_ChannelState_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ChannelState_descriptor() { - return Message_ChannelState_descriptor(); - } - template - static inline const std::string& ChannelState_Name(T value) { - return Message_ChannelState_Name(value); - } - static inline bool ChannelState_Parse(absl::string_view name, ChannelState* value) { - return Message_ChannelState_Parse(name, value); - } - - using MessageType = Message_MessageType; - static constexpr MessageType INFORMATION = Message_MessageType_INFORMATION; - static constexpr MessageType KEYSPACE = Message_MessageType_KEYSPACE; - static constexpr MessageType DATA_REPLICATION_UNUSED = Message_MessageType_DATA_REPLICATION_UNUSED; - static inline bool MessageType_IsValid(int value) { - return Message_MessageType_IsValid(value); - } - static constexpr MessageType MessageType_MIN = Message_MessageType_MessageType_MIN; - static constexpr MessageType MessageType_MAX = Message_MessageType_MessageType_MAX; - static constexpr int MessageType_ARRAYSIZE = Message_MessageType_MessageType_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* MessageType_descriptor() { - return Message_MessageType_descriptor(); - } - template - static inline const std::string& MessageType_Name(T value) { - return Message_MessageType_Name(value); - } - static inline bool MessageType_Parse(absl::string_view name, MessageType* value) { - return Message_MessageType_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kSourceNodeIDFieldNumber = 1, - kDestNodeIDFieldNumber = 2, - kTimestampFieldNumber = 5, - kLastReceivedMsgFieldNumber = 3, - kChannelStateFieldNumber = 4, - kMessageTypeFieldNumber = 7, - kMessageIDFieldNumber = 6, - kInfoFieldNumber = 8, - kKeyspaceFieldNumber = 9, - }; - // bytes sourceNodeID = 1; - void clear_sourcenodeid() ; - const std::string& sourcenodeid() const; - - - - - template - void set_sourcenodeid(Arg_&& arg, Args_... args); - std::string* mutable_sourcenodeid(); - PROTOBUF_NODISCARD std::string* release_sourcenodeid(); - void set_allocated_sourcenodeid(std::string* ptr); - - private: - const std::string& _internal_sourcenodeid() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_sourcenodeid( - const std::string& value); - std::string* _internal_mutable_sourcenodeid(); - - public: - // bytes destNodeID = 2; - void clear_destnodeid() ; - const std::string& destnodeid() const; - - - - - template - void set_destnodeid(Arg_&& arg, Args_... args); - std::string* mutable_destnodeid(); - PROTOBUF_NODISCARD std::string* release_destnodeid(); - void set_allocated_destnodeid(std::string* ptr); - - private: - const std::string& _internal_destnodeid() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_destnodeid( - const std::string& value); - std::string* _internal_mutable_destnodeid(); - - public: - // .google.protobuf.Timestamp timestamp = 5; - bool has_timestamp() const; - void clear_timestamp() ; - const ::PROTOBUF_NAMESPACE_ID::Timestamp& timestamp() const; - PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::Timestamp* release_timestamp(); - ::PROTOBUF_NAMESPACE_ID::Timestamp* mutable_timestamp(); - void set_allocated_timestamp(::PROTOBUF_NAMESPACE_ID::Timestamp* timestamp); - private: - const ::PROTOBUF_NAMESPACE_ID::Timestamp& _internal_timestamp() const; - ::PROTOBUF_NAMESPACE_ID::Timestamp* _internal_mutable_timestamp(); - public: - void unsafe_arena_set_allocated_timestamp( - ::PROTOBUF_NAMESPACE_ID::Timestamp* timestamp); - ::PROTOBUF_NAMESPACE_ID::Timestamp* unsafe_arena_release_timestamp(); - // uint64 lastReceivedMsg = 3; - void clear_lastreceivedmsg() ; - ::uint64_t lastreceivedmsg() const; - void set_lastreceivedmsg(::uint64_t value); - - private: - ::uint64_t _internal_lastreceivedmsg() const; - void _internal_set_lastreceivedmsg(::uint64_t value); - - public: - // .Message.ChannelState channelState = 4; - void clear_channelstate() ; - ::Message_ChannelState channelstate() const; - void set_channelstate(::Message_ChannelState value); - - private: - ::Message_ChannelState _internal_channelstate() const; - void _internal_set_channelstate(::Message_ChannelState value); - - public: - // .Message.MessageType messageType = 7; - void clear_messagetype() ; - ::Message_MessageType messagetype() const; - void set_messagetype(::Message_MessageType value); - - private: - ::Message_MessageType _internal_messagetype() const; - void _internal_set_messagetype(::Message_MessageType value); - - public: - // sint64 messageID = 6; - void clear_messageid() ; - ::int64_t messageid() const; - void set_messageid(::int64_t value); - - private: - ::int64_t _internal_messageid() const; - void _internal_set_messageid(::int64_t value); - - public: - // .InformationalMessageContents info = 8; - bool has_info() const; - private: - bool _internal_has_info() const; - - public: - void clear_info() ; - const ::InformationalMessageContents& info() const; - PROTOBUF_NODISCARD ::InformationalMessageContents* release_info(); - ::InformationalMessageContents* mutable_info(); - void set_allocated_info(::InformationalMessageContents* info); - private: - const ::InformationalMessageContents& _internal_info() const; - ::InformationalMessageContents* _internal_mutable_info(); - public: - void unsafe_arena_set_allocated_info( - ::InformationalMessageContents* info); - ::InformationalMessageContents* unsafe_arena_release_info(); - // .KeyspaceMessageContents keyspace = 9; - bool has_keyspace() const; - private: - bool _internal_has_keyspace() const; - - public: - void clear_keyspace() ; - const ::KeyspaceMessageContents& keyspace() const; - PROTOBUF_NODISCARD ::KeyspaceMessageContents* release_keyspace(); - ::KeyspaceMessageContents* mutable_keyspace(); - void set_allocated_keyspace(::KeyspaceMessageContents* keyspace); - private: - const ::KeyspaceMessageContents& _internal_keyspace() const; - ::KeyspaceMessageContents* _internal_mutable_keyspace(); - public: - void unsafe_arena_set_allocated_keyspace( - ::KeyspaceMessageContents* keyspace); - ::KeyspaceMessageContents* unsafe_arena_release_keyspace(); - void clear_message(); - MessageCase message_case() const; - // @@protoc_insertion_point(class_scope:Message) - private: - class _Internal; - void set_has_info(); - void set_has_keyspace(); - - inline bool has_message() const; - inline void clear_has_message(); - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sourcenodeid_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr destnodeid_; - ::PROTOBUF_NAMESPACE_ID::Timestamp* timestamp_; - ::uint64_t lastreceivedmsg_; - int channelstate_; - int messagetype_; - ::int64_t messageid_; - union MessageUnion { - constexpr MessageUnion() : _constinit_{} {} - ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; - ::InformationalMessageContents* info_; - ::KeyspaceMessageContents* keyspace_; - } message_; - ::uint32_t _oneof_case_[1]; - - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_message_2eproto; -}; - -// =================================================================== - - - - -// =================================================================== - - -#ifdef __GNUC__ -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// InformationalMessageContents_CollectionInformationRecord_CreationRateData - -// double shortAllocationRatio = 1; -inline void InformationalMessageContents_CollectionInformationRecord_CreationRateData::clear_shortallocationratio() { - _impl_.shortallocationratio_ = 0; -} -inline double InformationalMessageContents_CollectionInformationRecord_CreationRateData::shortallocationratio() const { - // @@protoc_insertion_point(field_get:InformationalMessageContents.CollectionInformationRecord.CreationRateData.shortAllocationRatio) - return _internal_shortallocationratio(); -} -inline void InformationalMessageContents_CollectionInformationRecord_CreationRateData::set_shortallocationratio(double value) { - _internal_set_shortallocationratio(value); - // @@protoc_insertion_point(field_set:InformationalMessageContents.CollectionInformationRecord.CreationRateData.shortAllocationRatio) -} -inline double InformationalMessageContents_CollectionInformationRecord_CreationRateData::_internal_shortallocationratio() const { - return _impl_.shortallocationratio_; -} -inline void InformationalMessageContents_CollectionInformationRecord_CreationRateData::_internal_set_shortallocationratio(double value) { - ; - _impl_.shortallocationratio_ = value; -} - -// double longAllocationRatio = 2; -inline void InformationalMessageContents_CollectionInformationRecord_CreationRateData::clear_longallocationratio() { - _impl_.longallocationratio_ = 0; -} -inline double InformationalMessageContents_CollectionInformationRecord_CreationRateData::longallocationratio() const { - // @@protoc_insertion_point(field_get:InformationalMessageContents.CollectionInformationRecord.CreationRateData.longAllocationRatio) - return _internal_longallocationratio(); -} -inline void InformationalMessageContents_CollectionInformationRecord_CreationRateData::set_longallocationratio(double value) { - _internal_set_longallocationratio(value); - // @@protoc_insertion_point(field_set:InformationalMessageContents.CollectionInformationRecord.CreationRateData.longAllocationRatio) -} -inline double InformationalMessageContents_CollectionInformationRecord_CreationRateData::_internal_longallocationratio() const { - return _impl_.longallocationratio_; -} -inline void InformationalMessageContents_CollectionInformationRecord_CreationRateData::_internal_set_longallocationratio(double value) { - ; - _impl_.longallocationratio_ = value; -} - -// double createdPreviousDay = 3; -inline void InformationalMessageContents_CollectionInformationRecord_CreationRateData::clear_createdpreviousday() { - _impl_.createdpreviousday_ = 0; -} -inline double InformationalMessageContents_CollectionInformationRecord_CreationRateData::createdpreviousday() const { - // @@protoc_insertion_point(field_get:InformationalMessageContents.CollectionInformationRecord.CreationRateData.createdPreviousDay) - return _internal_createdpreviousday(); -} -inline void InformationalMessageContents_CollectionInformationRecord_CreationRateData::set_createdpreviousday(double value) { - _internal_set_createdpreviousday(value); - // @@protoc_insertion_point(field_set:InformationalMessageContents.CollectionInformationRecord.CreationRateData.createdPreviousDay) -} -inline double InformationalMessageContents_CollectionInformationRecord_CreationRateData::_internal_createdpreviousday() const { - return _impl_.createdpreviousday_; -} -inline void InformationalMessageContents_CollectionInformationRecord_CreationRateData::_internal_set_createdpreviousday(double value) { - ; - _impl_.createdpreviousday_ = value; -} - -// double createdPreviousWeek = 4; -inline void InformationalMessageContents_CollectionInformationRecord_CreationRateData::clear_createdpreviousweek() { - _impl_.createdpreviousweek_ = 0; -} -inline double InformationalMessageContents_CollectionInformationRecord_CreationRateData::createdpreviousweek() const { - // @@protoc_insertion_point(field_get:InformationalMessageContents.CollectionInformationRecord.CreationRateData.createdPreviousWeek) - return _internal_createdpreviousweek(); -} -inline void InformationalMessageContents_CollectionInformationRecord_CreationRateData::set_createdpreviousweek(double value) { - _internal_set_createdpreviousweek(value); - // @@protoc_insertion_point(field_set:InformationalMessageContents.CollectionInformationRecord.CreationRateData.createdPreviousWeek) -} -inline double InformationalMessageContents_CollectionInformationRecord_CreationRateData::_internal_createdpreviousweek() const { - return _impl_.createdpreviousweek_; -} -inline void InformationalMessageContents_CollectionInformationRecord_CreationRateData::_internal_set_createdpreviousweek(double value) { - ; - _impl_.createdpreviousweek_ = value; -} - -// ------------------------------------------------------------------- - -// InformationalMessageContents_CollectionInformationRecord - -// string collectionName = 1; -inline void InformationalMessageContents_CollectionInformationRecord::clear_collectionname() { - _impl_.collectionname_.ClearToEmpty(); -} -inline const std::string& InformationalMessageContents_CollectionInformationRecord::collectionname() const { - // @@protoc_insertion_point(field_get:InformationalMessageContents.CollectionInformationRecord.collectionName) - return _internal_collectionname(); -} -template -inline PROTOBUF_ALWAYS_INLINE void InformationalMessageContents_CollectionInformationRecord::set_collectionname(Arg_&& arg, - Args_... args) { - ; - _impl_.collectionname_.Set(static_cast(arg), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:InformationalMessageContents.CollectionInformationRecord.collectionName) -} -inline std::string* InformationalMessageContents_CollectionInformationRecord::mutable_collectionname() { - std::string* _s = _internal_mutable_collectionname(); - // @@protoc_insertion_point(field_mutable:InformationalMessageContents.CollectionInformationRecord.collectionName) - return _s; -} -inline const std::string& InformationalMessageContents_CollectionInformationRecord::_internal_collectionname() const { - return _impl_.collectionname_.Get(); -} -inline void InformationalMessageContents_CollectionInformationRecord::_internal_set_collectionname(const std::string& value) { - ; - - - _impl_.collectionname_.Set(value, GetArenaForAllocation()); -} -inline std::string* InformationalMessageContents_CollectionInformationRecord::_internal_mutable_collectionname() { - ; - return _impl_.collectionname_.Mutable( GetArenaForAllocation()); -} -inline std::string* InformationalMessageContents_CollectionInformationRecord::release_collectionname() { - // @@protoc_insertion_point(field_release:InformationalMessageContents.CollectionInformationRecord.collectionName) - return _impl_.collectionname_.Release(); -} -inline void InformationalMessageContents_CollectionInformationRecord::set_allocated_collectionname(std::string* value) { - _impl_.collectionname_.SetAllocated(value, GetArenaForAllocation()); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.collectionname_.IsDefault()) { - _impl_.collectionname_.Set("", GetArenaForAllocation()); - } - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:InformationalMessageContents.CollectionInformationRecord.collectionName) -} - -// .InformationalMessageContents.CollectionInformationRecord.CreationRateData creationRateData = 2; -inline bool InformationalMessageContents_CollectionInformationRecord::has_creationratedata() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.creationratedata_ != nullptr); - return value; -} -inline void InformationalMessageContents_CollectionInformationRecord::clear_creationratedata() { - if (_impl_.creationratedata_ != nullptr) _impl_.creationratedata_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::InformationalMessageContents_CollectionInformationRecord_CreationRateData& InformationalMessageContents_CollectionInformationRecord::_internal_creationratedata() const { - const ::InformationalMessageContents_CollectionInformationRecord_CreationRateData* p = _impl_.creationratedata_; - return p != nullptr ? *p : reinterpret_cast( - ::_InformationalMessageContents_CollectionInformationRecord_CreationRateData_default_instance_); -} -inline const ::InformationalMessageContents_CollectionInformationRecord_CreationRateData& InformationalMessageContents_CollectionInformationRecord::creationratedata() const { - // @@protoc_insertion_point(field_get:InformationalMessageContents.CollectionInformationRecord.creationRateData) - return _internal_creationratedata(); -} -inline void InformationalMessageContents_CollectionInformationRecord::unsafe_arena_set_allocated_creationratedata( - ::InformationalMessageContents_CollectionInformationRecord_CreationRateData* creationratedata) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.creationratedata_); - } - _impl_.creationratedata_ = creationratedata; - if (creationratedata) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:InformationalMessageContents.CollectionInformationRecord.creationRateData) -} -inline ::InformationalMessageContents_CollectionInformationRecord_CreationRateData* InformationalMessageContents_CollectionInformationRecord::release_creationratedata() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::InformationalMessageContents_CollectionInformationRecord_CreationRateData* temp = _impl_.creationratedata_; - _impl_.creationratedata_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::InformationalMessageContents_CollectionInformationRecord_CreationRateData* InformationalMessageContents_CollectionInformationRecord::unsafe_arena_release_creationratedata() { - // @@protoc_insertion_point(field_release:InformationalMessageContents.CollectionInformationRecord.creationRateData) - _impl_._has_bits_[0] &= ~0x00000001u; - ::InformationalMessageContents_CollectionInformationRecord_CreationRateData* temp = _impl_.creationratedata_; - _impl_.creationratedata_ = nullptr; - return temp; -} -inline ::InformationalMessageContents_CollectionInformationRecord_CreationRateData* InformationalMessageContents_CollectionInformationRecord::_internal_mutable_creationratedata() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.creationratedata_ == nullptr) { - auto* p = CreateMaybeMessage<::InformationalMessageContents_CollectionInformationRecord_CreationRateData>(GetArenaForAllocation()); - _impl_.creationratedata_ = p; - } - return _impl_.creationratedata_; -} -inline ::InformationalMessageContents_CollectionInformationRecord_CreationRateData* InformationalMessageContents_CollectionInformationRecord::mutable_creationratedata() { - ::InformationalMessageContents_CollectionInformationRecord_CreationRateData* _msg = _internal_mutable_creationratedata(); - // @@protoc_insertion_point(field_mutable:InformationalMessageContents.CollectionInformationRecord.creationRateData) - return _msg; -} -inline void InformationalMessageContents_CollectionInformationRecord::set_allocated_creationratedata(::InformationalMessageContents_CollectionInformationRecord_CreationRateData* creationratedata) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.creationratedata_; - } - if (creationratedata) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(creationratedata); - if (message_arena != submessage_arena) { - creationratedata = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, creationratedata, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.creationratedata_ = creationratedata; - // @@protoc_insertion_point(field_set_allocated:InformationalMessageContents.CollectionInformationRecord.creationRateData) -} - -// ------------------------------------------------------------------- - -// InformationalMessageContents - -// repeated .InformationalMessageContents.CollectionInformationRecord records = 1; -inline int InformationalMessageContents::_internal_records_size() const { - return _impl_.records_.size(); -} -inline int InformationalMessageContents::records_size() const { - return _internal_records_size(); -} -inline void InformationalMessageContents::clear_records() { - _internal_mutable_records()->Clear(); -} -inline ::InformationalMessageContents_CollectionInformationRecord* InformationalMessageContents::mutable_records(int index) { - // @@protoc_insertion_point(field_mutable:InformationalMessageContents.records) - return _internal_mutable_records()->Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::InformationalMessageContents_CollectionInformationRecord >* -InformationalMessageContents::mutable_records() { - // @@protoc_insertion_point(field_mutable_list:InformationalMessageContents.records) - return _internal_mutable_records(); -} -inline const ::InformationalMessageContents_CollectionInformationRecord& InformationalMessageContents::_internal_records(int index) const { - return _internal_records().Get(index); -} -inline const ::InformationalMessageContents_CollectionInformationRecord& InformationalMessageContents::records(int index) const { - // @@protoc_insertion_point(field_get:InformationalMessageContents.records) - return _internal_records(index); -} -inline ::InformationalMessageContents_CollectionInformationRecord* InformationalMessageContents::_internal_add_records() { - return _internal_mutable_records()->Add(); -} -inline ::InformationalMessageContents_CollectionInformationRecord* InformationalMessageContents::add_records() { - ::InformationalMessageContents_CollectionInformationRecord* _add = _internal_add_records(); - // @@protoc_insertion_point(field_add:InformationalMessageContents.records) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::InformationalMessageContents_CollectionInformationRecord >& -InformationalMessageContents::records() const { - // @@protoc_insertion_point(field_list:InformationalMessageContents.records) - return _internal_records(); -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::InformationalMessageContents_CollectionInformationRecord>& -InformationalMessageContents::_internal_records() const { - return _impl_.records_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::InformationalMessageContents_CollectionInformationRecord>* -InformationalMessageContents::_internal_mutable_records() { - return &_impl_.records_; -} - -// ------------------------------------------------------------------- - -// KeyspaceMessageContents_Keyspace - -// string name = 1; -inline void KeyspaceMessageContents_Keyspace::clear_name() { - _impl_.name_.ClearToEmpty(); -} -inline const std::string& KeyspaceMessageContents_Keyspace::name() const { - // @@protoc_insertion_point(field_get:KeyspaceMessageContents.Keyspace.name) - return _internal_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE void KeyspaceMessageContents_Keyspace::set_name(Arg_&& arg, - Args_... args) { - ; - _impl_.name_.Set(static_cast(arg), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:KeyspaceMessageContents.Keyspace.name) -} -inline std::string* KeyspaceMessageContents_Keyspace::mutable_name() { - std::string* _s = _internal_mutable_name(); - // @@protoc_insertion_point(field_mutable:KeyspaceMessageContents.Keyspace.name) - return _s; -} -inline const std::string& KeyspaceMessageContents_Keyspace::_internal_name() const { - return _impl_.name_.Get(); -} -inline void KeyspaceMessageContents_Keyspace::_internal_set_name(const std::string& value) { - ; - - - _impl_.name_.Set(value, GetArenaForAllocation()); -} -inline std::string* KeyspaceMessageContents_Keyspace::_internal_mutable_name() { - ; - return _impl_.name_.Mutable( GetArenaForAllocation()); -} -inline std::string* KeyspaceMessageContents_Keyspace::release_name() { - // @@protoc_insertion_point(field_release:KeyspaceMessageContents.Keyspace.name) - return _impl_.name_.Release(); -} -inline void KeyspaceMessageContents_Keyspace::set_allocated_name(std::string* value) { - _impl_.name_.SetAllocated(value, GetArenaForAllocation()); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:KeyspaceMessageContents.Keyspace.name) -} - -// uint64 startID = 2; -inline void KeyspaceMessageContents_Keyspace::clear_startid() { - _impl_.startid_ = ::uint64_t{0u}; -} -inline ::uint64_t KeyspaceMessageContents_Keyspace::startid() const { - // @@protoc_insertion_point(field_get:KeyspaceMessageContents.Keyspace.startID) - return _internal_startid(); -} -inline void KeyspaceMessageContents_Keyspace::set_startid(::uint64_t value) { - _internal_set_startid(value); - // @@protoc_insertion_point(field_set:KeyspaceMessageContents.Keyspace.startID) -} -inline ::uint64_t KeyspaceMessageContents_Keyspace::_internal_startid() const { - return _impl_.startid_; -} -inline void KeyspaceMessageContents_Keyspace::_internal_set_startid(::uint64_t value) { - ; - _impl_.startid_ = value; -} - -// uint64 endID = 3; -inline void KeyspaceMessageContents_Keyspace::clear_endid() { - _impl_.endid_ = ::uint64_t{0u}; -} -inline ::uint64_t KeyspaceMessageContents_Keyspace::endid() const { - // @@protoc_insertion_point(field_get:KeyspaceMessageContents.Keyspace.endID) - return _internal_endid(); -} -inline void KeyspaceMessageContents_Keyspace::set_endid(::uint64_t value) { - _internal_set_endid(value); - // @@protoc_insertion_point(field_set:KeyspaceMessageContents.Keyspace.endID) -} -inline ::uint64_t KeyspaceMessageContents_Keyspace::_internal_endid() const { - return _impl_.endid_; -} -inline void KeyspaceMessageContents_Keyspace::_internal_set_endid(::uint64_t value) { - ; - _impl_.endid_ = value; -} - -// uint32 suffixBits = 4; -inline void KeyspaceMessageContents_Keyspace::clear_suffixbits() { - _impl_.suffixbits_ = 0u; -} -inline ::uint32_t KeyspaceMessageContents_Keyspace::suffixbits() const { - // @@protoc_insertion_point(field_get:KeyspaceMessageContents.Keyspace.suffixBits) - return _internal_suffixbits(); -} -inline void KeyspaceMessageContents_Keyspace::set_suffixbits(::uint32_t value) { - _internal_set_suffixbits(value); - // @@protoc_insertion_point(field_set:KeyspaceMessageContents.Keyspace.suffixBits) -} -inline ::uint32_t KeyspaceMessageContents_Keyspace::_internal_suffixbits() const { - return _impl_.suffixbits_; -} -inline void KeyspaceMessageContents_Keyspace::_internal_set_suffixbits(::uint32_t value) { - ; - _impl_.suffixbits_ = value; -} - -// ------------------------------------------------------------------- - -// KeyspaceMessageContents - -// repeated .KeyspaceMessageContents.Keyspace keyspaces = 1; -inline int KeyspaceMessageContents::_internal_keyspaces_size() const { - return _impl_.keyspaces_.size(); -} -inline int KeyspaceMessageContents::keyspaces_size() const { - return _internal_keyspaces_size(); -} -inline void KeyspaceMessageContents::clear_keyspaces() { - _internal_mutable_keyspaces()->Clear(); -} -inline ::KeyspaceMessageContents_Keyspace* KeyspaceMessageContents::mutable_keyspaces(int index) { - // @@protoc_insertion_point(field_mutable:KeyspaceMessageContents.keyspaces) - return _internal_mutable_keyspaces()->Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::KeyspaceMessageContents_Keyspace >* -KeyspaceMessageContents::mutable_keyspaces() { - // @@protoc_insertion_point(field_mutable_list:KeyspaceMessageContents.keyspaces) - return _internal_mutable_keyspaces(); -} -inline const ::KeyspaceMessageContents_Keyspace& KeyspaceMessageContents::_internal_keyspaces(int index) const { - return _internal_keyspaces().Get(index); -} -inline const ::KeyspaceMessageContents_Keyspace& KeyspaceMessageContents::keyspaces(int index) const { - // @@protoc_insertion_point(field_get:KeyspaceMessageContents.keyspaces) - return _internal_keyspaces(index); -} -inline ::KeyspaceMessageContents_Keyspace* KeyspaceMessageContents::_internal_add_keyspaces() { - return _internal_mutable_keyspaces()->Add(); -} -inline ::KeyspaceMessageContents_Keyspace* KeyspaceMessageContents::add_keyspaces() { - ::KeyspaceMessageContents_Keyspace* _add = _internal_add_keyspaces(); - // @@protoc_insertion_point(field_add:KeyspaceMessageContents.keyspaces) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::KeyspaceMessageContents_Keyspace >& -KeyspaceMessageContents::keyspaces() const { - // @@protoc_insertion_point(field_list:KeyspaceMessageContents.keyspaces) - return _internal_keyspaces(); -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::KeyspaceMessageContents_Keyspace>& -KeyspaceMessageContents::_internal_keyspaces() const { - return _impl_.keyspaces_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::KeyspaceMessageContents_Keyspace>* -KeyspaceMessageContents::_internal_mutable_keyspaces() { - return &_impl_.keyspaces_; -} - -// ------------------------------------------------------------------- - -// Message - -// bytes sourceNodeID = 1; -inline void Message::clear_sourcenodeid() { - _impl_.sourcenodeid_.ClearToEmpty(); -} -inline const std::string& Message::sourcenodeid() const { - // @@protoc_insertion_point(field_get:Message.sourceNodeID) - return _internal_sourcenodeid(); -} -template -inline PROTOBUF_ALWAYS_INLINE void Message::set_sourcenodeid(Arg_&& arg, - Args_... args) { - ; - _impl_.sourcenodeid_.SetBytes(static_cast(arg), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:Message.sourceNodeID) -} -inline std::string* Message::mutable_sourcenodeid() { - std::string* _s = _internal_mutable_sourcenodeid(); - // @@protoc_insertion_point(field_mutable:Message.sourceNodeID) - return _s; -} -inline const std::string& Message::_internal_sourcenodeid() const { - return _impl_.sourcenodeid_.Get(); -} -inline void Message::_internal_set_sourcenodeid(const std::string& value) { - ; - - - _impl_.sourcenodeid_.Set(value, GetArenaForAllocation()); -} -inline std::string* Message::_internal_mutable_sourcenodeid() { - ; - return _impl_.sourcenodeid_.Mutable( GetArenaForAllocation()); -} -inline std::string* Message::release_sourcenodeid() { - // @@protoc_insertion_point(field_release:Message.sourceNodeID) - return _impl_.sourcenodeid_.Release(); -} -inline void Message::set_allocated_sourcenodeid(std::string* value) { - _impl_.sourcenodeid_.SetAllocated(value, GetArenaForAllocation()); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.sourcenodeid_.IsDefault()) { - _impl_.sourcenodeid_.Set("", GetArenaForAllocation()); - } - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:Message.sourceNodeID) -} - -// bytes destNodeID = 2; -inline void Message::clear_destnodeid() { - _impl_.destnodeid_.ClearToEmpty(); -} -inline const std::string& Message::destnodeid() const { - // @@protoc_insertion_point(field_get:Message.destNodeID) - return _internal_destnodeid(); -} -template -inline PROTOBUF_ALWAYS_INLINE void Message::set_destnodeid(Arg_&& arg, - Args_... args) { - ; - _impl_.destnodeid_.SetBytes(static_cast(arg), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:Message.destNodeID) -} -inline std::string* Message::mutable_destnodeid() { - std::string* _s = _internal_mutable_destnodeid(); - // @@protoc_insertion_point(field_mutable:Message.destNodeID) - return _s; -} -inline const std::string& Message::_internal_destnodeid() const { - return _impl_.destnodeid_.Get(); -} -inline void Message::_internal_set_destnodeid(const std::string& value) { - ; - - - _impl_.destnodeid_.Set(value, GetArenaForAllocation()); -} -inline std::string* Message::_internal_mutable_destnodeid() { - ; - return _impl_.destnodeid_.Mutable( GetArenaForAllocation()); -} -inline std::string* Message::release_destnodeid() { - // @@protoc_insertion_point(field_release:Message.destNodeID) - return _impl_.destnodeid_.Release(); -} -inline void Message::set_allocated_destnodeid(std::string* value) { - _impl_.destnodeid_.SetAllocated(value, GetArenaForAllocation()); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.destnodeid_.IsDefault()) { - _impl_.destnodeid_.Set("", GetArenaForAllocation()); - } - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:Message.destNodeID) -} - -// uint64 lastReceivedMsg = 3; -inline void Message::clear_lastreceivedmsg() { - _impl_.lastreceivedmsg_ = ::uint64_t{0u}; -} -inline ::uint64_t Message::lastreceivedmsg() const { - // @@protoc_insertion_point(field_get:Message.lastReceivedMsg) - return _internal_lastreceivedmsg(); -} -inline void Message::set_lastreceivedmsg(::uint64_t value) { - _internal_set_lastreceivedmsg(value); - // @@protoc_insertion_point(field_set:Message.lastReceivedMsg) -} -inline ::uint64_t Message::_internal_lastreceivedmsg() const { - return _impl_.lastreceivedmsg_; -} -inline void Message::_internal_set_lastreceivedmsg(::uint64_t value) { - ; - _impl_.lastreceivedmsg_ = value; -} - -// .Message.ChannelState channelState = 4; -inline void Message::clear_channelstate() { - _impl_.channelstate_ = 0; -} -inline ::Message_ChannelState Message::channelstate() const { - // @@protoc_insertion_point(field_get:Message.channelState) - return _internal_channelstate(); -} -inline void Message::set_channelstate(::Message_ChannelState value) { - _internal_set_channelstate(value); - // @@protoc_insertion_point(field_set:Message.channelState) -} -inline ::Message_ChannelState Message::_internal_channelstate() const { - return static_cast<::Message_ChannelState>(_impl_.channelstate_); -} -inline void Message::_internal_set_channelstate(::Message_ChannelState value) { - ; - _impl_.channelstate_ = value; -} - -// .google.protobuf.Timestamp timestamp = 5; -inline bool Message::has_timestamp() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.timestamp_ != nullptr); - return value; -} -inline const ::PROTOBUF_NAMESPACE_ID::Timestamp& Message::_internal_timestamp() const { - const ::PROTOBUF_NAMESPACE_ID::Timestamp* p = _impl_.timestamp_; - return p != nullptr ? *p : reinterpret_cast( - ::PROTOBUF_NAMESPACE_ID::_Timestamp_default_instance_); -} -inline const ::PROTOBUF_NAMESPACE_ID::Timestamp& Message::timestamp() const { - // @@protoc_insertion_point(field_get:Message.timestamp) - return _internal_timestamp(); -} -inline void Message::unsafe_arena_set_allocated_timestamp( - ::PROTOBUF_NAMESPACE_ID::Timestamp* timestamp) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.timestamp_); - } - _impl_.timestamp_ = timestamp; - if (timestamp) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:Message.timestamp) -} -inline ::PROTOBUF_NAMESPACE_ID::Timestamp* Message::release_timestamp() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::PROTOBUF_NAMESPACE_ID::Timestamp* temp = _impl_.timestamp_; - _impl_.timestamp_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::PROTOBUF_NAMESPACE_ID::Timestamp* Message::unsafe_arena_release_timestamp() { - // @@protoc_insertion_point(field_release:Message.timestamp) - _impl_._has_bits_[0] &= ~0x00000001u; - ::PROTOBUF_NAMESPACE_ID::Timestamp* temp = _impl_.timestamp_; - _impl_.timestamp_ = nullptr; - return temp; -} -inline ::PROTOBUF_NAMESPACE_ID::Timestamp* Message::_internal_mutable_timestamp() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.timestamp_ == nullptr) { - auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::Timestamp>(GetArenaForAllocation()); - _impl_.timestamp_ = p; - } - return _impl_.timestamp_; -} -inline ::PROTOBUF_NAMESPACE_ID::Timestamp* Message::mutable_timestamp() { - ::PROTOBUF_NAMESPACE_ID::Timestamp* _msg = _internal_mutable_timestamp(); - // @@protoc_insertion_point(field_mutable:Message.timestamp) - return _msg; -} -inline void Message::set_allocated_timestamp(::PROTOBUF_NAMESPACE_ID::Timestamp* timestamp) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.timestamp_); - } - if (timestamp) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(timestamp)); - if (message_arena != submessage_arena) { - timestamp = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, timestamp, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.timestamp_ = timestamp; - // @@protoc_insertion_point(field_set_allocated:Message.timestamp) -} - -// sint64 messageID = 6; -inline void Message::clear_messageid() { - _impl_.messageid_ = ::int64_t{0}; -} -inline ::int64_t Message::messageid() const { - // @@protoc_insertion_point(field_get:Message.messageID) - return _internal_messageid(); -} -inline void Message::set_messageid(::int64_t value) { - _internal_set_messageid(value); - // @@protoc_insertion_point(field_set:Message.messageID) -} -inline ::int64_t Message::_internal_messageid() const { - return _impl_.messageid_; -} -inline void Message::_internal_set_messageid(::int64_t value) { - ; - _impl_.messageid_ = value; -} - -// .Message.MessageType messageType = 7; -inline void Message::clear_messagetype() { - _impl_.messagetype_ = 0; -} -inline ::Message_MessageType Message::messagetype() const { - // @@protoc_insertion_point(field_get:Message.messageType) - return _internal_messagetype(); -} -inline void Message::set_messagetype(::Message_MessageType value) { - _internal_set_messagetype(value); - // @@protoc_insertion_point(field_set:Message.messageType) -} -inline ::Message_MessageType Message::_internal_messagetype() const { - return static_cast<::Message_MessageType>(_impl_.messagetype_); -} -inline void Message::_internal_set_messagetype(::Message_MessageType value) { - ; - _impl_.messagetype_ = value; -} - -// .InformationalMessageContents info = 8; -inline bool Message::has_info() const { - return message_case() == kInfo; -} -inline bool Message::_internal_has_info() const { - return message_case() == kInfo; -} -inline void Message::set_has_info() { - _impl_._oneof_case_[0] = kInfo; -} -inline void Message::clear_info() { - if (message_case() == kInfo) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.message_.info_; - } - clear_has_message(); - } -} -inline ::InformationalMessageContents* Message::release_info() { - // @@protoc_insertion_point(field_release:Message.info) - if (message_case() == kInfo) { - clear_has_message(); - ::InformationalMessageContents* temp = _impl_.message_.info_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.message_.info_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::InformationalMessageContents& Message::_internal_info() const { - return message_case() == kInfo - ? *_impl_.message_.info_ - : reinterpret_cast<::InformationalMessageContents&>(::_InformationalMessageContents_default_instance_); -} -inline const ::InformationalMessageContents& Message::info() const { - // @@protoc_insertion_point(field_get:Message.info) - return _internal_info(); -} -inline ::InformationalMessageContents* Message::unsafe_arena_release_info() { - // @@protoc_insertion_point(field_unsafe_arena_release:Message.info) - if (message_case() == kInfo) { - clear_has_message(); - ::InformationalMessageContents* temp = _impl_.message_.info_; - _impl_.message_.info_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Message::unsafe_arena_set_allocated_info(::InformationalMessageContents* info) { - clear_message(); - if (info) { - set_has_info(); - _impl_.message_.info_ = info; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:Message.info) -} -inline ::InformationalMessageContents* Message::_internal_mutable_info() { - if (message_case() != kInfo) { - clear_message(); - set_has_info(); - _impl_.message_.info_ = CreateMaybeMessage< ::InformationalMessageContents >(GetArenaForAllocation()); - } - return _impl_.message_.info_; -} -inline ::InformationalMessageContents* Message::mutable_info() { - ::InformationalMessageContents* _msg = _internal_mutable_info(); - // @@protoc_insertion_point(field_mutable:Message.info) - return _msg; -} - -// .KeyspaceMessageContents keyspace = 9; -inline bool Message::has_keyspace() const { - return message_case() == kKeyspace; -} -inline bool Message::_internal_has_keyspace() const { - return message_case() == kKeyspace; -} -inline void Message::set_has_keyspace() { - _impl_._oneof_case_[0] = kKeyspace; -} -inline void Message::clear_keyspace() { - if (message_case() == kKeyspace) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.message_.keyspace_; - } - clear_has_message(); - } -} -inline ::KeyspaceMessageContents* Message::release_keyspace() { - // @@protoc_insertion_point(field_release:Message.keyspace) - if (message_case() == kKeyspace) { - clear_has_message(); - ::KeyspaceMessageContents* temp = _impl_.message_.keyspace_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.message_.keyspace_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::KeyspaceMessageContents& Message::_internal_keyspace() const { - return message_case() == kKeyspace - ? *_impl_.message_.keyspace_ - : reinterpret_cast<::KeyspaceMessageContents&>(::_KeyspaceMessageContents_default_instance_); -} -inline const ::KeyspaceMessageContents& Message::keyspace() const { - // @@protoc_insertion_point(field_get:Message.keyspace) - return _internal_keyspace(); -} -inline ::KeyspaceMessageContents* Message::unsafe_arena_release_keyspace() { - // @@protoc_insertion_point(field_unsafe_arena_release:Message.keyspace) - if (message_case() == kKeyspace) { - clear_has_message(); - ::KeyspaceMessageContents* temp = _impl_.message_.keyspace_; - _impl_.message_.keyspace_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Message::unsafe_arena_set_allocated_keyspace(::KeyspaceMessageContents* keyspace) { - clear_message(); - if (keyspace) { - set_has_keyspace(); - _impl_.message_.keyspace_ = keyspace; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:Message.keyspace) -} -inline ::KeyspaceMessageContents* Message::_internal_mutable_keyspace() { - if (message_case() != kKeyspace) { - clear_message(); - set_has_keyspace(); - _impl_.message_.keyspace_ = CreateMaybeMessage< ::KeyspaceMessageContents >(GetArenaForAllocation()); - } - return _impl_.message_.keyspace_; -} -inline ::KeyspaceMessageContents* Message::mutable_keyspace() { - ::KeyspaceMessageContents* _msg = _internal_mutable_keyspace(); - // @@protoc_insertion_point(field_mutable:Message.keyspace) - return _msg; -} - -inline bool Message::has_message() const { - return message_case() != MESSAGE_NOT_SET; -} -inline void Message::clear_has_message() { - _impl_._oneof_case_[0] = MESSAGE_NOT_SET; -} -inline Message::MessageCase Message::message_case() const { - return Message::MessageCase(_impl_._oneof_case_[0]); -} -#ifdef __GNUC__ -#pragma GCC diagnostic pop -#endif // __GNUC__ - -// @@protoc_insertion_point(namespace_scope) - - -PROTOBUF_NAMESPACE_OPEN - -template <> -struct is_proto_enum<::Message_ChannelState> : std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor<::Message_ChannelState>() { - return ::Message_ChannelState_descriptor(); -} -template <> -struct is_proto_enum<::Message_MessageType> : std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor<::Message_MessageType>() { - return ::Message_MessageType_descriptor(); -} - -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) - -#include "google/protobuf/port_undef.inc" - -#endif // GOOGLE_PROTOBUF_INCLUDED_message_2eproto_2epb_2eh diff --git a/src/message.pb.cc b/src/message.pb.cc deleted file mode 100644 index 09582ab..0000000 --- a/src/message.pb.cc +++ /dev/null @@ -1,2213 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: message.proto - -#include "message.pb.h" - -#include -#include "google/protobuf/io/coded_stream.h" -#include "google/protobuf/extension_set.h" -#include "google/protobuf/wire_format_lite.h" -#include "google/protobuf/descriptor.h" -#include "google/protobuf/generated_message_reflection.h" -#include "google/protobuf/reflection_ops.h" -#include "google/protobuf/wire_format.h" -// @@protoc_insertion_point(includes) - -// Must be included last. -#include "google/protobuf/port_def.inc" -PROTOBUF_PRAGMA_INIT_SEG -namespace _pb = ::PROTOBUF_NAMESPACE_ID; -namespace _pbi = ::PROTOBUF_NAMESPACE_ID::internal; -template -PROTOBUF_CONSTEXPR InformationalMessageContents_CollectionInformationRecord_CreationRateData::InformationalMessageContents_CollectionInformationRecord_CreationRateData( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.shortallocationratio_)*/ 0 - - , /*decltype(_impl_.longallocationratio_)*/ 0 - - , /*decltype(_impl_.createdpreviousday_)*/ 0 - - , /*decltype(_impl_.createdpreviousweek_)*/ 0 - - , /*decltype(_impl_._cached_size_)*/{}} {} -struct InformationalMessageContents_CollectionInformationRecord_CreationRateDataDefaultTypeInternal { - PROTOBUF_CONSTEXPR InformationalMessageContents_CollectionInformationRecord_CreationRateDataDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~InformationalMessageContents_CollectionInformationRecord_CreationRateDataDefaultTypeInternal() {} - union { - InformationalMessageContents_CollectionInformationRecord_CreationRateData _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 InformationalMessageContents_CollectionInformationRecord_CreationRateDataDefaultTypeInternal _InformationalMessageContents_CollectionInformationRecord_CreationRateData_default_instance_; -template -PROTOBUF_CONSTEXPR InformationalMessageContents_CollectionInformationRecord::InformationalMessageContents_CollectionInformationRecord( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.collectionname_)*/ { - &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} - } - - , /*decltype(_impl_.creationratedata_)*/nullptr} {} -struct InformationalMessageContents_CollectionInformationRecordDefaultTypeInternal { - PROTOBUF_CONSTEXPR InformationalMessageContents_CollectionInformationRecordDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~InformationalMessageContents_CollectionInformationRecordDefaultTypeInternal() {} - union { - InformationalMessageContents_CollectionInformationRecord _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 InformationalMessageContents_CollectionInformationRecordDefaultTypeInternal _InformationalMessageContents_CollectionInformationRecord_default_instance_; -template -PROTOBUF_CONSTEXPR InformationalMessageContents::InformationalMessageContents( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.records_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct InformationalMessageContentsDefaultTypeInternal { - PROTOBUF_CONSTEXPR InformationalMessageContentsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~InformationalMessageContentsDefaultTypeInternal() {} - union { - InformationalMessageContents _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 InformationalMessageContentsDefaultTypeInternal _InformationalMessageContents_default_instance_; -template -PROTOBUF_CONSTEXPR KeyspaceMessageContents_Keyspace::KeyspaceMessageContents_Keyspace( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.name_)*/ { - &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} - } - - , /*decltype(_impl_.startid_)*/ ::uint64_t{0u} - - , /*decltype(_impl_.endid_)*/ ::uint64_t{0u} - - , /*decltype(_impl_.suffixbits_)*/ 0u - - , /*decltype(_impl_._cached_size_)*/{}} {} -struct KeyspaceMessageContents_KeyspaceDefaultTypeInternal { - PROTOBUF_CONSTEXPR KeyspaceMessageContents_KeyspaceDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~KeyspaceMessageContents_KeyspaceDefaultTypeInternal() {} - union { - KeyspaceMessageContents_Keyspace _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 KeyspaceMessageContents_KeyspaceDefaultTypeInternal _KeyspaceMessageContents_Keyspace_default_instance_; -template -PROTOBUF_CONSTEXPR KeyspaceMessageContents::KeyspaceMessageContents( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.keyspaces_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct KeyspaceMessageContentsDefaultTypeInternal { - PROTOBUF_CONSTEXPR KeyspaceMessageContentsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~KeyspaceMessageContentsDefaultTypeInternal() {} - union { - KeyspaceMessageContents _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 KeyspaceMessageContentsDefaultTypeInternal _KeyspaceMessageContents_default_instance_; -template -PROTOBUF_CONSTEXPR Message::Message( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.sourcenodeid_)*/ { - &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} - } - - , /*decltype(_impl_.destnodeid_)*/ { - &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} - } - - , /*decltype(_impl_.timestamp_)*/nullptr - , /*decltype(_impl_.lastreceivedmsg_)*/ ::uint64_t{0u} - - , /*decltype(_impl_.channelstate_)*/ 0 - - , /*decltype(_impl_.messagetype_)*/ 0 - - , /*decltype(_impl_.messageid_)*/ ::int64_t{0} - - , /*decltype(_impl_.message_)*/{} - , /*decltype(_impl_._oneof_case_)*/{}} {} -struct MessageDefaultTypeInternal { - PROTOBUF_CONSTEXPR MessageDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~MessageDefaultTypeInternal() {} - union { - Message _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MessageDefaultTypeInternal _Message_default_instance_; -static ::_pb::Metadata file_level_metadata_message_2eproto[6]; -static const ::_pb::EnumDescriptor* file_level_enum_descriptors_message_2eproto[2]; -static constexpr const ::_pb::ServiceDescriptor** - file_level_service_descriptors_message_2eproto = nullptr; -const ::uint32_t TableStruct_message_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE( - protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::InformationalMessageContents_CollectionInformationRecord_CreationRateData, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::InformationalMessageContents_CollectionInformationRecord_CreationRateData, _impl_.shortallocationratio_), - PROTOBUF_FIELD_OFFSET(::InformationalMessageContents_CollectionInformationRecord_CreationRateData, _impl_.longallocationratio_), - PROTOBUF_FIELD_OFFSET(::InformationalMessageContents_CollectionInformationRecord_CreationRateData, _impl_.createdpreviousday_), - PROTOBUF_FIELD_OFFSET(::InformationalMessageContents_CollectionInformationRecord_CreationRateData, _impl_.createdpreviousweek_), - PROTOBUF_FIELD_OFFSET(::InformationalMessageContents_CollectionInformationRecord, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::InformationalMessageContents_CollectionInformationRecord, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::InformationalMessageContents_CollectionInformationRecord, _impl_.collectionname_), - PROTOBUF_FIELD_OFFSET(::InformationalMessageContents_CollectionInformationRecord, _impl_.creationratedata_), - ~0u, - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::InformationalMessageContents, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::InformationalMessageContents, _impl_.records_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::KeyspaceMessageContents_Keyspace, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::KeyspaceMessageContents_Keyspace, _impl_.name_), - PROTOBUF_FIELD_OFFSET(::KeyspaceMessageContents_Keyspace, _impl_.startid_), - PROTOBUF_FIELD_OFFSET(::KeyspaceMessageContents_Keyspace, _impl_.endid_), - PROTOBUF_FIELD_OFFSET(::KeyspaceMessageContents_Keyspace, _impl_.suffixbits_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::KeyspaceMessageContents, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::KeyspaceMessageContents, _impl_.keyspaces_), - PROTOBUF_FIELD_OFFSET(::Message, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::Message, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::Message, _impl_._oneof_case_[0]), - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::Message, _impl_.sourcenodeid_), - PROTOBUF_FIELD_OFFSET(::Message, _impl_.destnodeid_), - PROTOBUF_FIELD_OFFSET(::Message, _impl_.lastreceivedmsg_), - PROTOBUF_FIELD_OFFSET(::Message, _impl_.channelstate_), - PROTOBUF_FIELD_OFFSET(::Message, _impl_.timestamp_), - PROTOBUF_FIELD_OFFSET(::Message, _impl_.messageid_), - PROTOBUF_FIELD_OFFSET(::Message, _impl_.messagetype_), - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - PROTOBUF_FIELD_OFFSET(::Message, _impl_.message_), - ~0u, - ~0u, - ~0u, - ~0u, - 0, - ~0u, - ~0u, - ~0u, - ~0u, -}; - -static const ::_pbi::MigrationSchema - schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, -1, sizeof(::InformationalMessageContents_CollectionInformationRecord_CreationRateData)}, - { 12, 22, -1, sizeof(::InformationalMessageContents_CollectionInformationRecord)}, - { 24, -1, -1, sizeof(::InformationalMessageContents)}, - { 33, -1, -1, sizeof(::KeyspaceMessageContents_Keyspace)}, - { 45, -1, -1, sizeof(::KeyspaceMessageContents)}, - { 54, 72, -1, sizeof(::Message)}, -}; - -static const ::_pb::Message* const file_default_instances[] = { - &::_InformationalMessageContents_CollectionInformationRecord_CreationRateData_default_instance_._instance, - &::_InformationalMessageContents_CollectionInformationRecord_default_instance_._instance, - &::_InformationalMessageContents_default_instance_._instance, - &::_KeyspaceMessageContents_Keyspace_default_instance_._instance, - &::_KeyspaceMessageContents_default_instance_._instance, - &::_Message_default_instance_._instance, -}; -const char descriptor_table_protodef_message_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - "\n\rmessage.proto\032\037google/protobuf/timesta" - "mp.proto\"\221\003\n\034InformationalMessageContent" - "s\022J\n\007records\030\001 \003(\01329.InformationalMessag" - "eContents.CollectionInformationRecord\032\244\002" - "\n\033CollectionInformationRecord\022\026\n\016collect" - "ionName\030\001 \001(\t\022d\n\020creationRateData\030\002 \001(\0132" - "J.InformationalMessageContents.Collectio" - "nInformationRecord.CreationRateData\032\206\001\n\020" - "CreationRateData\022\034\n\024shortAllocationRatio" - "\030\001 \001(\001\022\033\n\023longAllocationRatio\030\002 \001(\001\022\032\n\022c" - "reatedPreviousDay\030\003 \001(\001\022\033\n\023createdPrevio" - "usWeek\030\004 \001(\001\"\235\001\n\027KeyspaceMessageContents" - "\0224\n\tkeyspaces\030\001 \003(\0132!.KeyspaceMessageCon" - "tents.Keyspace\032L\n\010Keyspace\022\014\n\004name\030\001 \001(\t" - "\022\017\n\007startID\030\002 \001(\004\022\r\n\005endID\030\003 \001(\004\022\022\n\nsuff" - "ixBits\030\004 \001(\r\"\356\003\n\007Message\022\024\n\014sourceNodeID" - "\030\001 \001(\014\022\022\n\ndestNodeID\030\002 \001(\014\022\027\n\017lastReceiv" - "edMsg\030\003 \001(\004\022+\n\014channelState\030\004 \001(\0162\025.Mess" - "age.ChannelState\022-\n\ttimestamp\030\005 \001(\0132\032.go" - "ogle.protobuf.Timestamp\022\021\n\tmessageID\030\006 \001" - "(\022\022)\n\013messageType\030\007 \001(\0162\024.Message.Messag" - "eType\022-\n\004info\030\010 \001(\0132\035.InformationalMessa" - "geContentsH\000\022,\n\010keyspace\030\t \001(\0132\030.Keyspac" - "eMessageContentsH\000\"S\n\014ChannelState\022\023\n\017IN" - "ITIAL_STARTUP\020\000\022\030\n\024NORMAL_COMMUNICATION\020" - "\001\022\024\n\020CHANNEL_SHUTDOWN\020\002\"I\n\013MessageType\022\017" - "\n\013INFORMATION\020\000\022\014\n\010KEYSPACE\020\001\022\033\n\027DATA_RE" - "PLICATION_UNUSED\020\002B\t\n\007messageb\006proto3" -}; -static const ::_pbi::DescriptorTable* const descriptor_table_message_2eproto_deps[1] = - { - &::descriptor_table_google_2fprotobuf_2ftimestamp_2eproto, -}; -static ::absl::once_flag descriptor_table_message_2eproto_once; -const ::_pbi::DescriptorTable descriptor_table_message_2eproto = { - false, - false, - 1117, - descriptor_table_protodef_message_2eproto, - "message.proto", - &descriptor_table_message_2eproto_once, - descriptor_table_message_2eproto_deps, - 1, - 6, - schemas, - file_default_instances, - TableStruct_message_2eproto::offsets, - file_level_metadata_message_2eproto, - file_level_enum_descriptors_message_2eproto, - file_level_service_descriptors_message_2eproto, -}; - -// This function exists to be marked as weak. -// It can significantly speed up compilation by breaking up LLVM's SCC -// in the .pb.cc translation units. Large translation units see a -// reduction of more than 35% of walltime for optimized builds. Without -// the weak attribute all the messages in the file, including all the -// vtables and everything they use become part of the same SCC through -// a cycle like: -// GetMetadata -> descriptor table -> default instances -> -// vtables -> GetMetadata -// By adding a weak function here we break the connection from the -// individual vtables back into the descriptor table. -PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_message_2eproto_getter() { - return &descriptor_table_message_2eproto; -} -// Force running AddDescriptors() at dynamic initialization time. -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 -static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_message_2eproto(&descriptor_table_message_2eproto); -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Message_ChannelState_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_message_2eproto); - return file_level_enum_descriptors_message_2eproto[0]; -} -bool Message_ChannelState_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - return true; - default: - return false; - } -} -#if (__cplusplus < 201703) && \ - (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) - -constexpr Message_ChannelState Message::INITIAL_STARTUP; -constexpr Message_ChannelState Message::NORMAL_COMMUNICATION; -constexpr Message_ChannelState Message::CHANNEL_SHUTDOWN; -constexpr Message_ChannelState Message::ChannelState_MIN; -constexpr Message_ChannelState Message::ChannelState_MAX; -constexpr int Message::ChannelState_ARRAYSIZE; - -#endif // (__cplusplus < 201703) && - // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Message_MessageType_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_message_2eproto); - return file_level_enum_descriptors_message_2eproto[1]; -} -bool Message_MessageType_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - return true; - default: - return false; - } -} -#if (__cplusplus < 201703) && \ - (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) - -constexpr Message_MessageType Message::INFORMATION; -constexpr Message_MessageType Message::KEYSPACE; -constexpr Message_MessageType Message::DATA_REPLICATION_UNUSED; -constexpr Message_MessageType Message::MessageType_MIN; -constexpr Message_MessageType Message::MessageType_MAX; -constexpr int Message::MessageType_ARRAYSIZE; - -#endif // (__cplusplus < 201703) && - // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -// =================================================================== - -class InformationalMessageContents_CollectionInformationRecord_CreationRateData::_Internal { - public: -}; - -InformationalMessageContents_CollectionInformationRecord_CreationRateData::InformationalMessageContents_CollectionInformationRecord_CreationRateData(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::Message(arena) { - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:InformationalMessageContents.CollectionInformationRecord.CreationRateData) -} -InformationalMessageContents_CollectionInformationRecord_CreationRateData::InformationalMessageContents_CollectionInformationRecord_CreationRateData(const InformationalMessageContents_CollectionInformationRecord_CreationRateData& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( - from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:InformationalMessageContents.CollectionInformationRecord.CreationRateData) -} - -inline void InformationalMessageContents_CollectionInformationRecord_CreationRateData::SharedCtor(::_pb::Arena* arena) { - (void)arena; - new (&_impl_) Impl_{ - decltype(_impl_.shortallocationratio_) { 0 } - - , decltype(_impl_.longallocationratio_) { 0 } - - , decltype(_impl_.createdpreviousday_) { 0 } - - , decltype(_impl_.createdpreviousweek_) { 0 } - - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -InformationalMessageContents_CollectionInformationRecord_CreationRateData::~InformationalMessageContents_CollectionInformationRecord_CreationRateData() { - // @@protoc_insertion_point(destructor:InformationalMessageContents.CollectionInformationRecord.CreationRateData) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void InformationalMessageContents_CollectionInformationRecord_CreationRateData::SharedDtor() { - ABSL_DCHECK(GetArenaForAllocation() == nullptr); -} - -void InformationalMessageContents_CollectionInformationRecord_CreationRateData::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void InformationalMessageContents_CollectionInformationRecord_CreationRateData::Clear() { -// @@protoc_insertion_point(message_clear_start:InformationalMessageContents.CollectionInformationRecord.CreationRateData) - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - ::memset(&_impl_.shortallocationratio_, 0, static_cast<::size_t>( - reinterpret_cast(&_impl_.createdpreviousweek_) - - reinterpret_cast(&_impl_.shortallocationratio_)) + sizeof(_impl_.createdpreviousweek_)); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* InformationalMessageContents_CollectionInformationRecord_CreationRateData::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - ::uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // double shortAllocationRatio = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 9)) { - _impl_.shortallocationratio_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(double); - } else { - goto handle_unusual; - } - continue; - // double longAllocationRatio = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 17)) { - _impl_.longallocationratio_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(double); - } else { - goto handle_unusual; - } - continue; - // double createdPreviousDay = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 25)) { - _impl_.createdpreviousday_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(double); - } else { - goto handle_unusual; - } - continue; - // double createdPreviousWeek = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 33)) { - _impl_.createdpreviousweek_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(double); - } else { - goto handle_unusual; - } - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -::uint8_t* InformationalMessageContents_CollectionInformationRecord_CreationRateData::_InternalSerialize( - ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:InformationalMessageContents.CollectionInformationRecord.CreationRateData) - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // double shortAllocationRatio = 1; - static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); - double tmp_shortallocationratio = this->_internal_shortallocationratio(); - ::uint64_t raw_shortallocationratio; - memcpy(&raw_shortallocationratio, &tmp_shortallocationratio, sizeof(tmp_shortallocationratio)); - if (raw_shortallocationratio != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteDoubleToArray( - 1, this->_internal_shortallocationratio(), target); - } - - // double longAllocationRatio = 2; - static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); - double tmp_longallocationratio = this->_internal_longallocationratio(); - ::uint64_t raw_longallocationratio; - memcpy(&raw_longallocationratio, &tmp_longallocationratio, sizeof(tmp_longallocationratio)); - if (raw_longallocationratio != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteDoubleToArray( - 2, this->_internal_longallocationratio(), target); - } - - // double createdPreviousDay = 3; - static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); - double tmp_createdpreviousday = this->_internal_createdpreviousday(); - ::uint64_t raw_createdpreviousday; - memcpy(&raw_createdpreviousday, &tmp_createdpreviousday, sizeof(tmp_createdpreviousday)); - if (raw_createdpreviousday != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteDoubleToArray( - 3, this->_internal_createdpreviousday(), target); - } - - // double createdPreviousWeek = 4; - static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); - double tmp_createdpreviousweek = this->_internal_createdpreviousweek(); - ::uint64_t raw_createdpreviousweek; - memcpy(&raw_createdpreviousweek, &tmp_createdpreviousweek, sizeof(tmp_createdpreviousweek)); - if (raw_createdpreviousweek != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteDoubleToArray( - 4, this->_internal_createdpreviousweek(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:InformationalMessageContents.CollectionInformationRecord.CreationRateData) - return target; -} - -::size_t InformationalMessageContents_CollectionInformationRecord_CreationRateData::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:InformationalMessageContents.CollectionInformationRecord.CreationRateData) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // double shortAllocationRatio = 1; - static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); - double tmp_shortallocationratio = this->_internal_shortallocationratio(); - ::uint64_t raw_shortallocationratio; - memcpy(&raw_shortallocationratio, &tmp_shortallocationratio, sizeof(tmp_shortallocationratio)); - if (raw_shortallocationratio != 0) { - total_size += 9; - } - - // double longAllocationRatio = 2; - static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); - double tmp_longallocationratio = this->_internal_longallocationratio(); - ::uint64_t raw_longallocationratio; - memcpy(&raw_longallocationratio, &tmp_longallocationratio, sizeof(tmp_longallocationratio)); - if (raw_longallocationratio != 0) { - total_size += 9; - } - - // double createdPreviousDay = 3; - static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); - double tmp_createdpreviousday = this->_internal_createdpreviousday(); - ::uint64_t raw_createdpreviousday; - memcpy(&raw_createdpreviousday, &tmp_createdpreviousday, sizeof(tmp_createdpreviousday)); - if (raw_createdpreviousday != 0) { - total_size += 9; - } - - // double createdPreviousWeek = 4; - static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); - double tmp_createdpreviousweek = this->_internal_createdpreviousweek(); - ::uint64_t raw_createdpreviousweek; - memcpy(&raw_createdpreviousweek, &tmp_createdpreviousweek, sizeof(tmp_createdpreviousweek)); - if (raw_createdpreviousweek != 0) { - total_size += 9; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData InformationalMessageContents_CollectionInformationRecord_CreationRateData::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - InformationalMessageContents_CollectionInformationRecord_CreationRateData::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*InformationalMessageContents_CollectionInformationRecord_CreationRateData::GetClassData() const { return &_class_data_; } - - -void InformationalMessageContents_CollectionInformationRecord_CreationRateData::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:InformationalMessageContents.CollectionInformationRecord.CreationRateData) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); - double tmp_shortallocationratio = from._internal_shortallocationratio(); - ::uint64_t raw_shortallocationratio; - memcpy(&raw_shortallocationratio, &tmp_shortallocationratio, sizeof(tmp_shortallocationratio)); - if (raw_shortallocationratio != 0) { - _this->_internal_set_shortallocationratio(from._internal_shortallocationratio()); - } - static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); - double tmp_longallocationratio = from._internal_longallocationratio(); - ::uint64_t raw_longallocationratio; - memcpy(&raw_longallocationratio, &tmp_longallocationratio, sizeof(tmp_longallocationratio)); - if (raw_longallocationratio != 0) { - _this->_internal_set_longallocationratio(from._internal_longallocationratio()); - } - static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); - double tmp_createdpreviousday = from._internal_createdpreviousday(); - ::uint64_t raw_createdpreviousday; - memcpy(&raw_createdpreviousday, &tmp_createdpreviousday, sizeof(tmp_createdpreviousday)); - if (raw_createdpreviousday != 0) { - _this->_internal_set_createdpreviousday(from._internal_createdpreviousday()); - } - static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); - double tmp_createdpreviousweek = from._internal_createdpreviousweek(); - ::uint64_t raw_createdpreviousweek; - memcpy(&raw_createdpreviousweek, &tmp_createdpreviousweek, sizeof(tmp_createdpreviousweek)); - if (raw_createdpreviousweek != 0) { - _this->_internal_set_createdpreviousweek(from._internal_createdpreviousweek()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void InformationalMessageContents_CollectionInformationRecord_CreationRateData::CopyFrom(const InformationalMessageContents_CollectionInformationRecord_CreationRateData& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:InformationalMessageContents.CollectionInformationRecord.CreationRateData) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool InformationalMessageContents_CollectionInformationRecord_CreationRateData::IsInitialized() const { - return true; -} - -void InformationalMessageContents_CollectionInformationRecord_CreationRateData::InternalSwap(InformationalMessageContents_CollectionInformationRecord_CreationRateData* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(InformationalMessageContents_CollectionInformationRecord_CreationRateData, _impl_.createdpreviousweek_) - + sizeof(InformationalMessageContents_CollectionInformationRecord_CreationRateData::_impl_.createdpreviousweek_) - - PROTOBUF_FIELD_OFFSET(InformationalMessageContents_CollectionInformationRecord_CreationRateData, _impl_.shortallocationratio_)>( - reinterpret_cast(&_impl_.shortallocationratio_), - reinterpret_cast(&other->_impl_.shortallocationratio_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata InformationalMessageContents_CollectionInformationRecord_CreationRateData::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_message_2eproto_getter, &descriptor_table_message_2eproto_once, - file_level_metadata_message_2eproto[0]); -} -// =================================================================== - -class InformationalMessageContents_CollectionInformationRecord::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(InformationalMessageContents_CollectionInformationRecord, _impl_._has_bits_); - static const ::InformationalMessageContents_CollectionInformationRecord_CreationRateData& creationratedata(const InformationalMessageContents_CollectionInformationRecord* msg); - static void set_has_creationratedata(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::InformationalMessageContents_CollectionInformationRecord_CreationRateData& -InformationalMessageContents_CollectionInformationRecord::_Internal::creationratedata(const InformationalMessageContents_CollectionInformationRecord* msg) { - return *msg->_impl_.creationratedata_; -} -InformationalMessageContents_CollectionInformationRecord::InformationalMessageContents_CollectionInformationRecord(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::Message(arena) { - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:InformationalMessageContents.CollectionInformationRecord) -} -InformationalMessageContents_CollectionInformationRecord::InformationalMessageContents_CollectionInformationRecord(const InformationalMessageContents_CollectionInformationRecord& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - InformationalMessageContents_CollectionInformationRecord* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.collectionname_) {} - - , decltype(_impl_.creationratedata_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.collectionname_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.collectionname_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_collectionname().empty()) { - _this->_impl_.collectionname_.Set(from._internal_collectionname(), _this->GetArenaForAllocation()); - } - if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) { - _this->_impl_.creationratedata_ = new ::InformationalMessageContents_CollectionInformationRecord_CreationRateData(*from._impl_.creationratedata_); - } - // @@protoc_insertion_point(copy_constructor:InformationalMessageContents.CollectionInformationRecord) -} - -inline void InformationalMessageContents_CollectionInformationRecord::SharedCtor(::_pb::Arena* arena) { - (void)arena; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.collectionname_) {} - - , decltype(_impl_.creationratedata_){nullptr} - }; - _impl_.collectionname_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.collectionname_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -InformationalMessageContents_CollectionInformationRecord::~InformationalMessageContents_CollectionInformationRecord() { - // @@protoc_insertion_point(destructor:InformationalMessageContents.CollectionInformationRecord) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void InformationalMessageContents_CollectionInformationRecord::SharedDtor() { - ABSL_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.collectionname_.Destroy(); - if (this != internal_default_instance()) delete _impl_.creationratedata_; -} - -void InformationalMessageContents_CollectionInformationRecord::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void InformationalMessageContents_CollectionInformationRecord::Clear() { -// @@protoc_insertion_point(message_clear_start:InformationalMessageContents.CollectionInformationRecord) - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.collectionname_.ClearToEmpty(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.creationratedata_ != nullptr); - _impl_.creationratedata_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* InformationalMessageContents_CollectionInformationRecord::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - ::uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // string collectionName = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { - auto str = _internal_mutable_collectionname(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "InformationalMessageContents.CollectionInformationRecord.collectionName")); - } else { - goto handle_unusual; - } - continue; - // .InformationalMessageContents.CollectionInformationRecord.CreationRateData creationRateData = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_creationratedata(), ptr); - CHK_(ptr); - } else { - goto handle_unusual; - } - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -::uint8_t* InformationalMessageContents_CollectionInformationRecord::_InternalSerialize( - ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:InformationalMessageContents.CollectionInformationRecord) - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // string collectionName = 1; - if (!this->_internal_collectionname().empty()) { - const std::string& _s = this->_internal_collectionname(); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "InformationalMessageContents.CollectionInformationRecord.collectionName"); - target = stream->WriteStringMaybeAliased(1, _s, target); - } - - cached_has_bits = _impl_._has_bits_[0]; - // .InformationalMessageContents.CollectionInformationRecord.CreationRateData creationRateData = 2; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::creationratedata(this), - _Internal::creationratedata(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:InformationalMessageContents.CollectionInformationRecord) - return target; -} - -::size_t InformationalMessageContents_CollectionInformationRecord::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:InformationalMessageContents.CollectionInformationRecord) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string collectionName = 1; - if (!this->_internal_collectionname().empty()) { - total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_collectionname()); - } - - // .InformationalMessageContents.CollectionInformationRecord.CreationRateData creationRateData = 2; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.creationratedata_); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData InformationalMessageContents_CollectionInformationRecord::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - InformationalMessageContents_CollectionInformationRecord::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*InformationalMessageContents_CollectionInformationRecord::GetClassData() const { return &_class_data_; } - - -void InformationalMessageContents_CollectionInformationRecord::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:InformationalMessageContents.CollectionInformationRecord) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_collectionname().empty()) { - _this->_internal_set_collectionname(from._internal_collectionname()); - } - if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) { - _this->_internal_mutable_creationratedata()->::InformationalMessageContents_CollectionInformationRecord_CreationRateData::MergeFrom( - from._internal_creationratedata()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void InformationalMessageContents_CollectionInformationRecord::CopyFrom(const InformationalMessageContents_CollectionInformationRecord& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:InformationalMessageContents.CollectionInformationRecord) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool InformationalMessageContents_CollectionInformationRecord::IsInitialized() const { - return true; -} - -void InformationalMessageContents_CollectionInformationRecord::InternalSwap(InformationalMessageContents_CollectionInformationRecord* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.collectionname_, lhs_arena, - &other->_impl_.collectionname_, rhs_arena); - swap(_impl_.creationratedata_, other->_impl_.creationratedata_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata InformationalMessageContents_CollectionInformationRecord::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_message_2eproto_getter, &descriptor_table_message_2eproto_once, - file_level_metadata_message_2eproto[1]); -} -// =================================================================== - -class InformationalMessageContents::_Internal { - public: -}; - -InformationalMessageContents::InformationalMessageContents(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::Message(arena) { - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:InformationalMessageContents) -} -InformationalMessageContents::InformationalMessageContents(const InformationalMessageContents& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - InformationalMessageContents* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.records_){from._impl_.records_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:InformationalMessageContents) -} - -inline void InformationalMessageContents::SharedCtor(::_pb::Arena* arena) { - (void)arena; - new (&_impl_) Impl_{ - decltype(_impl_.records_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -InformationalMessageContents::~InformationalMessageContents() { - // @@protoc_insertion_point(destructor:InformationalMessageContents) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void InformationalMessageContents::SharedDtor() { - ABSL_DCHECK(GetArenaForAllocation() == nullptr); - _internal_mutable_records()->~RepeatedPtrField(); -} - -void InformationalMessageContents::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void InformationalMessageContents::Clear() { -// @@protoc_insertion_point(message_clear_start:InformationalMessageContents) - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _internal_mutable_records()->Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* InformationalMessageContents::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - ::uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .InformationalMessageContents.CollectionInformationRecord records = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_records(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else { - goto handle_unusual; - } - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -::uint8_t* InformationalMessageContents::_InternalSerialize( - ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:InformationalMessageContents) - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .InformationalMessageContents.CollectionInformationRecord records = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_records_size()); i < n; i++) { - const auto& repfield = this->_internal_records(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:InformationalMessageContents) - return target; -} - -::size_t InformationalMessageContents::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:InformationalMessageContents) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .InformationalMessageContents.CollectionInformationRecord records = 1; - total_size += 1UL * this->_internal_records_size(); - for (const auto& msg : this->_internal_records()) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData InformationalMessageContents::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - InformationalMessageContents::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*InformationalMessageContents::GetClassData() const { return &_class_data_; } - - -void InformationalMessageContents::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:InformationalMessageContents) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_internal_mutable_records()->MergeFrom(from._internal_records()); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void InformationalMessageContents::CopyFrom(const InformationalMessageContents& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:InformationalMessageContents) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool InformationalMessageContents::IsInitialized() const { - return true; -} - -void InformationalMessageContents::InternalSwap(InformationalMessageContents* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _internal_mutable_records()->InternalSwap(other->_internal_mutable_records()); -} - -::PROTOBUF_NAMESPACE_ID::Metadata InformationalMessageContents::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_message_2eproto_getter, &descriptor_table_message_2eproto_once, - file_level_metadata_message_2eproto[2]); -} -// =================================================================== - -class KeyspaceMessageContents_Keyspace::_Internal { - public: -}; - -KeyspaceMessageContents_Keyspace::KeyspaceMessageContents_Keyspace(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::Message(arena) { - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:KeyspaceMessageContents.Keyspace) -} -KeyspaceMessageContents_Keyspace::KeyspaceMessageContents_Keyspace(const KeyspaceMessageContents_Keyspace& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - KeyspaceMessageContents_Keyspace* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.name_) {} - - , decltype(_impl_.startid_) {} - - , decltype(_impl_.endid_) {} - - , decltype(_impl_.suffixbits_) {} - - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_name().empty()) { - _this->_impl_.name_.Set(from._internal_name(), _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.startid_, &from._impl_.startid_, - static_cast<::size_t>(reinterpret_cast(&_impl_.suffixbits_) - - reinterpret_cast(&_impl_.startid_)) + sizeof(_impl_.suffixbits_)); - // @@protoc_insertion_point(copy_constructor:KeyspaceMessageContents.Keyspace) -} - -inline void KeyspaceMessageContents_Keyspace::SharedCtor(::_pb::Arena* arena) { - (void)arena; - new (&_impl_) Impl_{ - decltype(_impl_.name_) {} - - , decltype(_impl_.startid_) { ::uint64_t{0u} } - - , decltype(_impl_.endid_) { ::uint64_t{0u} } - - , decltype(_impl_.suffixbits_) { 0u } - - , /*decltype(_impl_._cached_size_)*/{} - }; - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -KeyspaceMessageContents_Keyspace::~KeyspaceMessageContents_Keyspace() { - // @@protoc_insertion_point(destructor:KeyspaceMessageContents.Keyspace) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void KeyspaceMessageContents_Keyspace::SharedDtor() { - ABSL_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.name_.Destroy(); -} - -void KeyspaceMessageContents_Keyspace::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void KeyspaceMessageContents_Keyspace::Clear() { -// @@protoc_insertion_point(message_clear_start:KeyspaceMessageContents.Keyspace) - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.name_.ClearToEmpty(); - ::memset(&_impl_.startid_, 0, static_cast<::size_t>( - reinterpret_cast(&_impl_.suffixbits_) - - reinterpret_cast(&_impl_.startid_)) + sizeof(_impl_.suffixbits_)); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* KeyspaceMessageContents_Keyspace::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - ::uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // string name = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { - auto str = _internal_mutable_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "KeyspaceMessageContents.Keyspace.name")); - } else { - goto handle_unusual; - } - continue; - // uint64 startID = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { - _impl_.startid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else { - goto handle_unusual; - } - continue; - // uint64 endID = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) { - _impl_.endid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else { - goto handle_unusual; - } - continue; - // uint32 suffixBits = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) { - _impl_.suffixbits_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else { - goto handle_unusual; - } - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -::uint8_t* KeyspaceMessageContents_Keyspace::_InternalSerialize( - ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:KeyspaceMessageContents.Keyspace) - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // string name = 1; - if (!this->_internal_name().empty()) { - const std::string& _s = this->_internal_name(); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "KeyspaceMessageContents.Keyspace.name"); - target = stream->WriteStringMaybeAliased(1, _s, target); - } - - // uint64 startID = 2; - if (this->_internal_startid() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray( - 2, this->_internal_startid(), target); - } - - // uint64 endID = 3; - if (this->_internal_endid() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray( - 3, this->_internal_endid(), target); - } - - // uint32 suffixBits = 4; - if (this->_internal_suffixbits() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray( - 4, this->_internal_suffixbits(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:KeyspaceMessageContents.Keyspace) - return target; -} - -::size_t KeyspaceMessageContents_Keyspace::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:KeyspaceMessageContents.Keyspace) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string name = 1; - if (!this->_internal_name().empty()) { - total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_name()); - } - - // uint64 startID = 2; - if (this->_internal_startid() != 0) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( - this->_internal_startid()); - } - - // uint64 endID = 3; - if (this->_internal_endid() != 0) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( - this->_internal_endid()); - } - - // uint32 suffixBits = 4; - if (this->_internal_suffixbits() != 0) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( - this->_internal_suffixbits()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData KeyspaceMessageContents_Keyspace::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - KeyspaceMessageContents_Keyspace::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*KeyspaceMessageContents_Keyspace::GetClassData() const { return &_class_data_; } - - -void KeyspaceMessageContents_Keyspace::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:KeyspaceMessageContents.Keyspace) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_name().empty()) { - _this->_internal_set_name(from._internal_name()); - } - if (from._internal_startid() != 0) { - _this->_internal_set_startid(from._internal_startid()); - } - if (from._internal_endid() != 0) { - _this->_internal_set_endid(from._internal_endid()); - } - if (from._internal_suffixbits() != 0) { - _this->_internal_set_suffixbits(from._internal_suffixbits()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void KeyspaceMessageContents_Keyspace::CopyFrom(const KeyspaceMessageContents_Keyspace& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:KeyspaceMessageContents.Keyspace) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool KeyspaceMessageContents_Keyspace::IsInitialized() const { - return true; -} - -void KeyspaceMessageContents_Keyspace::InternalSwap(KeyspaceMessageContents_Keyspace* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, lhs_arena, - &other->_impl_.name_, rhs_arena); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(KeyspaceMessageContents_Keyspace, _impl_.suffixbits_) - + sizeof(KeyspaceMessageContents_Keyspace::_impl_.suffixbits_) - - PROTOBUF_FIELD_OFFSET(KeyspaceMessageContents_Keyspace, _impl_.startid_)>( - reinterpret_cast(&_impl_.startid_), - reinterpret_cast(&other->_impl_.startid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata KeyspaceMessageContents_Keyspace::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_message_2eproto_getter, &descriptor_table_message_2eproto_once, - file_level_metadata_message_2eproto[3]); -} -// =================================================================== - -class KeyspaceMessageContents::_Internal { - public: -}; - -KeyspaceMessageContents::KeyspaceMessageContents(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::Message(arena) { - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:KeyspaceMessageContents) -} -KeyspaceMessageContents::KeyspaceMessageContents(const KeyspaceMessageContents& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - KeyspaceMessageContents* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.keyspaces_){from._impl_.keyspaces_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:KeyspaceMessageContents) -} - -inline void KeyspaceMessageContents::SharedCtor(::_pb::Arena* arena) { - (void)arena; - new (&_impl_) Impl_{ - decltype(_impl_.keyspaces_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -KeyspaceMessageContents::~KeyspaceMessageContents() { - // @@protoc_insertion_point(destructor:KeyspaceMessageContents) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void KeyspaceMessageContents::SharedDtor() { - ABSL_DCHECK(GetArenaForAllocation() == nullptr); - _internal_mutable_keyspaces()->~RepeatedPtrField(); -} - -void KeyspaceMessageContents::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void KeyspaceMessageContents::Clear() { -// @@protoc_insertion_point(message_clear_start:KeyspaceMessageContents) - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _internal_mutable_keyspaces()->Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* KeyspaceMessageContents::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - ::uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .KeyspaceMessageContents.Keyspace keyspaces = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_keyspaces(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else { - goto handle_unusual; - } - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -::uint8_t* KeyspaceMessageContents::_InternalSerialize( - ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:KeyspaceMessageContents) - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .KeyspaceMessageContents.Keyspace keyspaces = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_keyspaces_size()); i < n; i++) { - const auto& repfield = this->_internal_keyspaces(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:KeyspaceMessageContents) - return target; -} - -::size_t KeyspaceMessageContents::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:KeyspaceMessageContents) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .KeyspaceMessageContents.Keyspace keyspaces = 1; - total_size += 1UL * this->_internal_keyspaces_size(); - for (const auto& msg : this->_internal_keyspaces()) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData KeyspaceMessageContents::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - KeyspaceMessageContents::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*KeyspaceMessageContents::GetClassData() const { return &_class_data_; } - - -void KeyspaceMessageContents::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:KeyspaceMessageContents) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_internal_mutable_keyspaces()->MergeFrom(from._internal_keyspaces()); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void KeyspaceMessageContents::CopyFrom(const KeyspaceMessageContents& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:KeyspaceMessageContents) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool KeyspaceMessageContents::IsInitialized() const { - return true; -} - -void KeyspaceMessageContents::InternalSwap(KeyspaceMessageContents* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _internal_mutable_keyspaces()->InternalSwap(other->_internal_mutable_keyspaces()); -} - -::PROTOBUF_NAMESPACE_ID::Metadata KeyspaceMessageContents::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_message_2eproto_getter, &descriptor_table_message_2eproto_once, - file_level_metadata_message_2eproto[4]); -} -// =================================================================== - -class Message::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(Message, _impl_._has_bits_); - static constexpr ::int32_t kOneofCaseOffset = - PROTOBUF_FIELD_OFFSET(::Message, _impl_._oneof_case_); - static const ::PROTOBUF_NAMESPACE_ID::Timestamp& timestamp(const Message* msg); - static void set_has_timestamp(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::InformationalMessageContents& info(const Message* msg); - static const ::KeyspaceMessageContents& keyspace(const Message* msg); -}; - -const ::PROTOBUF_NAMESPACE_ID::Timestamp& -Message::_Internal::timestamp(const Message* msg) { - return *msg->_impl_.timestamp_; -} -const ::InformationalMessageContents& -Message::_Internal::info(const Message* msg) { - return *msg->_impl_.message_.info_; -} -const ::KeyspaceMessageContents& -Message::_Internal::keyspace(const Message* msg) { - return *msg->_impl_.message_.keyspace_; -} -void Message::clear_timestamp() { - if (_impl_.timestamp_ != nullptr) _impl_.timestamp_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -void Message::set_allocated_info(::InformationalMessageContents* info) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_message(); - if (info) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(info); - if (message_arena != submessage_arena) { - info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, info, submessage_arena); - } - set_has_info(); - _impl_.message_.info_ = info; - } - // @@protoc_insertion_point(field_set_allocated:Message.info) -} -void Message::set_allocated_keyspace(::KeyspaceMessageContents* keyspace) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_message(); - if (keyspace) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(keyspace); - if (message_arena != submessage_arena) { - keyspace = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, keyspace, submessage_arena); - } - set_has_keyspace(); - _impl_.message_.keyspace_ = keyspace; - } - // @@protoc_insertion_point(field_set_allocated:Message.keyspace) -} -Message::Message(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::Message(arena) { - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:Message) -} -Message::Message(const Message& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - Message* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.sourcenodeid_) {} - - , decltype(_impl_.destnodeid_) {} - - , decltype(_impl_.timestamp_){nullptr} - , decltype(_impl_.lastreceivedmsg_) {} - - , decltype(_impl_.channelstate_) {} - - , decltype(_impl_.messagetype_) {} - - , decltype(_impl_.messageid_) {} - - , decltype(_impl_.message_){} - , /*decltype(_impl_._oneof_case_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.sourcenodeid_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.sourcenodeid_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_sourcenodeid().empty()) { - _this->_impl_.sourcenodeid_.Set(from._internal_sourcenodeid(), _this->GetArenaForAllocation()); - } - _impl_.destnodeid_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.destnodeid_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_destnodeid().empty()) { - _this->_impl_.destnodeid_.Set(from._internal_destnodeid(), _this->GetArenaForAllocation()); - } - if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) { - _this->_impl_.timestamp_ = new ::PROTOBUF_NAMESPACE_ID::Timestamp(*from._impl_.timestamp_); - } - ::memcpy(&_impl_.lastreceivedmsg_, &from._impl_.lastreceivedmsg_, - static_cast<::size_t>(reinterpret_cast(&_impl_.messageid_) - - reinterpret_cast(&_impl_.lastreceivedmsg_)) + sizeof(_impl_.messageid_)); - clear_has_message(); - switch (from.message_case()) { - case kInfo: { - _this->_internal_mutable_info()->::InformationalMessageContents::MergeFrom( - from._internal_info()); - break; - } - case kKeyspace: { - _this->_internal_mutable_keyspace()->::KeyspaceMessageContents::MergeFrom( - from._internal_keyspace()); - break; - } - case MESSAGE_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:Message) -} - -inline void Message::SharedCtor(::_pb::Arena* arena) { - (void)arena; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.sourcenodeid_) {} - - , decltype(_impl_.destnodeid_) {} - - , decltype(_impl_.timestamp_){nullptr} - , decltype(_impl_.lastreceivedmsg_) { ::uint64_t{0u} } - - , decltype(_impl_.channelstate_) { 0 } - - , decltype(_impl_.messagetype_) { 0 } - - , decltype(_impl_.messageid_) { ::int64_t{0} } - - , decltype(_impl_.message_){} - , /*decltype(_impl_._oneof_case_)*/{} - }; - _impl_.sourcenodeid_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.sourcenodeid_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.destnodeid_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.destnodeid_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - clear_has_message(); -} - -Message::~Message() { - // @@protoc_insertion_point(destructor:Message) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void Message::SharedDtor() { - ABSL_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.sourcenodeid_.Destroy(); - _impl_.destnodeid_.Destroy(); - if (this != internal_default_instance()) delete _impl_.timestamp_; - if (has_message()) { - clear_message(); - } -} - -void Message::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void Message::clear_message() { -// @@protoc_insertion_point(one_of_clear_start:Message) - switch (message_case()) { - case kInfo: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.message_.info_; - } - break; - } - case kKeyspace: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.message_.keyspace_; - } - break; - } - case MESSAGE_NOT_SET: { - break; - } - } - _impl_._oneof_case_[0] = MESSAGE_NOT_SET; -} - - -void Message::Clear() { -// @@protoc_insertion_point(message_clear_start:Message) - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.sourcenodeid_.ClearToEmpty(); - _impl_.destnodeid_.ClearToEmpty(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.timestamp_ != nullptr); - _impl_.timestamp_->Clear(); - } - ::memset(&_impl_.lastreceivedmsg_, 0, static_cast<::size_t>( - reinterpret_cast(&_impl_.messageid_) - - reinterpret_cast(&_impl_.lastreceivedmsg_)) + sizeof(_impl_.messageid_)); - clear_message(); - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* Message::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - ::uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // bytes sourceNodeID = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { - auto str = _internal_mutable_sourcenodeid(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else { - goto handle_unusual; - } - continue; - // bytes destNodeID = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { - auto str = _internal_mutable_destnodeid(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else { - goto handle_unusual; - } - continue; - // uint64 lastReceivedMsg = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) { - _impl_.lastreceivedmsg_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else { - goto handle_unusual; - } - continue; - // .Message.ChannelState channelState = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) { - ::int32_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - _internal_set_channelstate(static_cast<::Message_ChannelState>(val)); - } else { - goto handle_unusual; - } - continue; - // .google.protobuf.Timestamp timestamp = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 42)) { - ptr = ctx->ParseMessage(_internal_mutable_timestamp(), ptr); - CHK_(ptr); - } else { - goto handle_unusual; - } - continue; - // sint64 messageID = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) { - _impl_.messageid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag64(&ptr); - CHK_(ptr); - } else { - goto handle_unusual; - } - continue; - // .Message.MessageType messageType = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) { - ::int32_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - _internal_set_messagetype(static_cast<::Message_MessageType>(val)); - } else { - goto handle_unusual; - } - continue; - // .InformationalMessageContents info = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 66)) { - ptr = ctx->ParseMessage(_internal_mutable_info(), ptr); - CHK_(ptr); - } else { - goto handle_unusual; - } - continue; - // .KeyspaceMessageContents keyspace = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 74)) { - ptr = ctx->ParseMessage(_internal_mutable_keyspace(), ptr); - CHK_(ptr); - } else { - goto handle_unusual; - } - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -::uint8_t* Message::_InternalSerialize( - ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:Message) - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // bytes sourceNodeID = 1; - if (!this->_internal_sourcenodeid().empty()) { - const std::string& _s = this->_internal_sourcenodeid(); - target = stream->WriteBytesMaybeAliased(1, _s, target); - } - - // bytes destNodeID = 2; - if (!this->_internal_destnodeid().empty()) { - const std::string& _s = this->_internal_destnodeid(); - target = stream->WriteBytesMaybeAliased(2, _s, target); - } - - // uint64 lastReceivedMsg = 3; - if (this->_internal_lastreceivedmsg() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray( - 3, this->_internal_lastreceivedmsg(), target); - } - - // .Message.ChannelState channelState = 4; - if (this->_internal_channelstate() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 4, this->_internal_channelstate(), target); - } - - cached_has_bits = _impl_._has_bits_[0]; - // .google.protobuf.Timestamp timestamp = 5; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(5, _Internal::timestamp(this), - _Internal::timestamp(this).GetCachedSize(), target, stream); - } - - // sint64 messageID = 6; - if (this->_internal_messageid() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteSInt64ToArray( - 6, this->_internal_messageid(), target); - } - - // .Message.MessageType messageType = 7; - if (this->_internal_messagetype() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 7, this->_internal_messagetype(), target); - } - - switch (message_case()) { - case kInfo: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(8, _Internal::info(this), - _Internal::info(this).GetCachedSize(), target, stream); - break; - } - case kKeyspace: { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(9, _Internal::keyspace(this), - _Internal::keyspace(this).GetCachedSize(), target, stream); - break; - } - default: ; - } - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:Message) - return target; -} - -::size_t Message::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:Message) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // bytes sourceNodeID = 1; - if (!this->_internal_sourcenodeid().empty()) { - total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_sourcenodeid()); - } - - // bytes destNodeID = 2; - if (!this->_internal_destnodeid().empty()) { - total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_destnodeid()); - } - - // .google.protobuf.Timestamp timestamp = 5; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.timestamp_); - } - - // uint64 lastReceivedMsg = 3; - if (this->_internal_lastreceivedmsg() != 0) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( - this->_internal_lastreceivedmsg()); - } - - // .Message.ChannelState channelState = 4; - if (this->_internal_channelstate() != 0) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_channelstate()); - } - - // .Message.MessageType messageType = 7; - if (this->_internal_messagetype() != 0) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_messagetype()); - } - - // sint64 messageID = 6; - if (this->_internal_messageid() != 0) { - total_size += ::_pbi::WireFormatLite::SInt64SizePlusOne( - this->_internal_messageid()); - } - - switch (message_case()) { - // .InformationalMessageContents info = 8; - case kInfo: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.message_.info_); - break; - } - // .KeyspaceMessageContents keyspace = 9; - case kKeyspace: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.message_.keyspace_); - break; - } - case MESSAGE_NOT_SET: { - break; - } - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Message::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - Message::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Message::GetClassData() const { return &_class_data_; } - - -void Message::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:Message) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_sourcenodeid().empty()) { - _this->_internal_set_sourcenodeid(from._internal_sourcenodeid()); - } - if (!from._internal_destnodeid().empty()) { - _this->_internal_set_destnodeid(from._internal_destnodeid()); - } - if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) { - _this->_internal_mutable_timestamp()->::PROTOBUF_NAMESPACE_ID::Timestamp::MergeFrom( - from._internal_timestamp()); - } - if (from._internal_lastreceivedmsg() != 0) { - _this->_internal_set_lastreceivedmsg(from._internal_lastreceivedmsg()); - } - if (from._internal_channelstate() != 0) { - _this->_internal_set_channelstate(from._internal_channelstate()); - } - if (from._internal_messagetype() != 0) { - _this->_internal_set_messagetype(from._internal_messagetype()); - } - if (from._internal_messageid() != 0) { - _this->_internal_set_messageid(from._internal_messageid()); - } - switch (from.message_case()) { - case kInfo: { - _this->_internal_mutable_info()->::InformationalMessageContents::MergeFrom( - from._internal_info()); - break; - } - case kKeyspace: { - _this->_internal_mutable_keyspace()->::KeyspaceMessageContents::MergeFrom( - from._internal_keyspace()); - break; - } - case MESSAGE_NOT_SET: { - break; - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void Message::CopyFrom(const Message& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:Message) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Message::IsInitialized() const { - return true; -} - -void Message::InternalSwap(Message* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.sourcenodeid_, lhs_arena, - &other->_impl_.sourcenodeid_, rhs_arena); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.destnodeid_, lhs_arena, - &other->_impl_.destnodeid_, rhs_arena); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(Message, _impl_.messageid_) - + sizeof(Message::_impl_.messageid_) - - PROTOBUF_FIELD_OFFSET(Message, _impl_.timestamp_)>( - reinterpret_cast(&_impl_.timestamp_), - reinterpret_cast(&other->_impl_.timestamp_)); - swap(_impl_.message_, other->_impl_.message_); - swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); -} - -::PROTOBUF_NAMESPACE_ID::Metadata Message::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_message_2eproto_getter, &descriptor_table_message_2eproto_once, - file_level_metadata_message_2eproto[5]); -} -// @@protoc_insertion_point(namespace_scope) -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::InformationalMessageContents_CollectionInformationRecord_CreationRateData* -Arena::CreateMaybeMessage< ::InformationalMessageContents_CollectionInformationRecord_CreationRateData >(Arena* arena) { - return Arena::CreateMessageInternal< ::InformationalMessageContents_CollectionInformationRecord_CreationRateData >(arena); -} -template<> PROTOBUF_NOINLINE ::InformationalMessageContents_CollectionInformationRecord* -Arena::CreateMaybeMessage< ::InformationalMessageContents_CollectionInformationRecord >(Arena* arena) { - return Arena::CreateMessageInternal< ::InformationalMessageContents_CollectionInformationRecord >(arena); -} -template<> PROTOBUF_NOINLINE ::InformationalMessageContents* -Arena::CreateMaybeMessage< ::InformationalMessageContents >(Arena* arena) { - return Arena::CreateMessageInternal< ::InformationalMessageContents >(arena); -} -template<> PROTOBUF_NOINLINE ::KeyspaceMessageContents_Keyspace* -Arena::CreateMaybeMessage< ::KeyspaceMessageContents_Keyspace >(Arena* arena) { - return Arena::CreateMessageInternal< ::KeyspaceMessageContents_Keyspace >(arena); -} -template<> PROTOBUF_NOINLINE ::KeyspaceMessageContents* -Arena::CreateMaybeMessage< ::KeyspaceMessageContents >(Arena* arena) { - return Arena::CreateMessageInternal< ::KeyspaceMessageContents >(arena); -} -template<> PROTOBUF_NOINLINE ::Message* -Arena::CreateMaybeMessage< ::Message >(Arena* arena) { - return Arena::CreateMessageInternal< ::Message >(arena); -} -PROTOBUF_NAMESPACE_CLOSE -// @@protoc_insertion_point(global_scope) -#include "google/protobuf/port_undef.inc"