// Generated by the protocol buffer compiler. DO NOT EDIT! // source: CompLib.proto #ifndef GOOGLE_PROTOBUF_INCLUDED_CompLib_2eproto #define GOOGLE_PROTOBUF_INCLUDED_CompLib_2eproto #include #include #include #if PROTOBUF_VERSION < 3019000 #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 #if 3019004 < 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 #include #include #include #include #include #include #include #include #include #include // IWYU pragma: export #include // IWYU pragma: export #include // @@protoc_insertion_point(includes) #include #define PROTOBUF_INTERNAL_EXPORT_CompLib_2eproto PROTOBUF_NAMESPACE_OPEN namespace internal { class AnyMetadata; } // namespace internal PROTOBUF_NAMESPACE_CLOSE // Internal implementation detail -- do not use these members. struct TableStruct_CompLib_2eproto { static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[6] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]; static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; static const uint32_t offsets[]; }; extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_CompLib_2eproto; namespace CompLib { class GenericRequest; struct GenericRequestDefaultTypeInternal; extern GenericRequestDefaultTypeInternal _GenericRequest_default_instance_; class GenericResponse; struct GenericResponseDefaultTypeInternal; extern GenericResponseDefaultTypeInternal _GenericResponse_default_instance_; class Header; struct HeaderDefaultTypeInternal; extern HeaderDefaultTypeInternal _Header_default_instance_; class ReadSensorsRequest; struct ReadSensorsRequestDefaultTypeInternal; extern ReadSensorsRequestDefaultTypeInternal _ReadSensorsRequest_default_instance_; class ReadSensorsResponse; struct ReadSensorsResponseDefaultTypeInternal; extern ReadSensorsResponseDefaultTypeInternal _ReadSensorsResponse_default_instance_; class Status; struct StatusDefaultTypeInternal; extern StatusDefaultTypeInternal _Status_default_instance_; } // namespace CompLib PROTOBUF_NAMESPACE_OPEN template<> ::CompLib::GenericRequest* Arena::CreateMaybeMessage<::CompLib::GenericRequest>(Arena*); template<> ::CompLib::GenericResponse* Arena::CreateMaybeMessage<::CompLib::GenericResponse>(Arena*); template<> ::CompLib::Header* Arena::CreateMaybeMessage<::CompLib::Header>(Arena*); template<> ::CompLib::ReadSensorsRequest* Arena::CreateMaybeMessage<::CompLib::ReadSensorsRequest>(Arena*); template<> ::CompLib::ReadSensorsResponse* Arena::CreateMaybeMessage<::CompLib::ReadSensorsResponse>(Arena*); template<> ::CompLib::Status* Arena::CreateMaybeMessage<::CompLib::Status>(Arena*); PROTOBUF_NAMESPACE_CLOSE namespace CompLib { // =================================================================== class Header final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CompLib.Header) */ { public: inline Header() : Header(nullptr) {} ~Header() override; explicit constexpr Header(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); Header(const Header& from); Header(Header&& from) noexcept : Header() { *this = ::std::move(from); } inline Header& operator=(const Header& from) { CopyFrom(from); return *this; } inline Header& operator=(Header&& 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; } 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 Header& default_instance() { return *internal_default_instance(); } static inline const Header* internal_default_instance() { return reinterpret_cast( &_Header_default_instance_); } static constexpr int kIndexInFileMessages = 0; friend void swap(Header& a, Header& b) { a.Swap(&b); } inline void Swap(Header* 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(Header* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- Header* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage
(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const Header& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; void MergeFrom(const Header& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); 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 _cached_size_.Get(); } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(Header* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "CompLib.Header"; } protected: explicit Header(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::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 { kMessageTypeFieldNumber = 1, }; // string message_type = 1; void clear_message_type(); const std::string& message_type() const; template void set_message_type(ArgT0&& arg0, ArgT... args); std::string* mutable_message_type(); PROTOBUF_NODISCARD std::string* release_message_type(); void set_allocated_message_type(std::string* message_type); private: const std::string& _internal_message_type() const; inline PROTOBUF_ALWAYS_INLINE void _internal_set_message_type(const std::string& value); std::string* _internal_mutable_message_type(); public: // @@protoc_insertion_point(class_scope:CompLib.Header) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr message_type_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_CompLib_2eproto; }; // ------------------------------------------------------------------- class Status final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CompLib.Status) */ { public: inline Status() : Status(nullptr) {} ~Status() override; explicit constexpr Status(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); Status(const Status& from); Status(Status&& from) noexcept : Status() { *this = ::std::move(from); } inline Status& operator=(const Status& from) { CopyFrom(from); return *this; } inline Status& operator=(Status&& 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; } 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 Status& default_instance() { return *internal_default_instance(); } static inline const Status* internal_default_instance() { return reinterpret_cast( &_Status_default_instance_); } static constexpr int kIndexInFileMessages = 1; friend void swap(Status& a, Status& b) { a.Swap(&b); } inline void Swap(Status* 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(Status* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- Status* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const Status& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; void MergeFrom(const Status& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); 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 _cached_size_.Get(); } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(Status* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "CompLib.Status"; } protected: explicit Status(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::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 { kErrorMessageFieldNumber = 2, kSuccessfulFieldNumber = 1, }; // string error_message = 2; void clear_error_message(); const std::string& error_message() const; template void set_error_message(ArgT0&& arg0, ArgT... args); std::string* mutable_error_message(); PROTOBUF_NODISCARD std::string* release_error_message(); void set_allocated_error_message(std::string* error_message); private: const std::string& _internal_error_message() const; inline PROTOBUF_ALWAYS_INLINE void _internal_set_error_message(const std::string& value); std::string* _internal_mutable_error_message(); public: // bool successful = 1; void clear_successful(); bool successful() const; void set_successful(bool value); private: bool _internal_successful() const; void _internal_set_successful(bool value); public: // @@protoc_insertion_point(class_scope:CompLib.Status) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr error_message_; bool successful_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_CompLib_2eproto; }; // ------------------------------------------------------------------- class GenericRequest final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CompLib.GenericRequest) */ { public: inline GenericRequest() : GenericRequest(nullptr) {} ~GenericRequest() override; explicit constexpr GenericRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); GenericRequest(const GenericRequest& from); GenericRequest(GenericRequest&& from) noexcept : GenericRequest() { *this = ::std::move(from); } inline GenericRequest& operator=(const GenericRequest& from) { CopyFrom(from); return *this; } inline GenericRequest& operator=(GenericRequest&& 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; } 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 GenericRequest& default_instance() { return *internal_default_instance(); } static inline const GenericRequest* internal_default_instance() { return reinterpret_cast( &_GenericRequest_default_instance_); } static constexpr int kIndexInFileMessages = 2; friend void swap(GenericRequest& a, GenericRequest& b) { a.Swap(&b); } inline void Swap(GenericRequest* 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(GenericRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- GenericRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const GenericRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; void MergeFrom(const GenericRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); 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 _cached_size_.Get(); } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(GenericRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "CompLib.GenericRequest"; } protected: explicit GenericRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::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 { kHeaderFieldNumber = 1, }; // .CompLib.Header header = 1; bool has_header() const; private: bool _internal_has_header() const; public: void clear_header(); const ::CompLib::Header& header() const; PROTOBUF_NODISCARD ::CompLib::Header* release_header(); ::CompLib::Header* mutable_header(); void set_allocated_header(::CompLib::Header* header); private: const ::CompLib::Header& _internal_header() const; ::CompLib::Header* _internal_mutable_header(); public: void unsafe_arena_set_allocated_header( ::CompLib::Header* header); ::CompLib::Header* unsafe_arena_release_header(); // @@protoc_insertion_point(class_scope:CompLib.GenericRequest) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::CompLib::Header* header_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_CompLib_2eproto; }; // ------------------------------------------------------------------- class GenericResponse final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CompLib.GenericResponse) */ { public: inline GenericResponse() : GenericResponse(nullptr) {} ~GenericResponse() override; explicit constexpr GenericResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); GenericResponse(const GenericResponse& from); GenericResponse(GenericResponse&& from) noexcept : GenericResponse() { *this = ::std::move(from); } inline GenericResponse& operator=(const GenericResponse& from) { CopyFrom(from); return *this; } inline GenericResponse& operator=(GenericResponse&& 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; } 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 GenericResponse& default_instance() { return *internal_default_instance(); } static inline const GenericResponse* internal_default_instance() { return reinterpret_cast( &_GenericResponse_default_instance_); } static constexpr int kIndexInFileMessages = 3; friend void swap(GenericResponse& a, GenericResponse& b) { a.Swap(&b); } inline void Swap(GenericResponse* 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(GenericResponse* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- GenericResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const GenericResponse& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; void MergeFrom(const GenericResponse& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); 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 _cached_size_.Get(); } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(GenericResponse* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "CompLib.GenericResponse"; } protected: explicit GenericResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::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 { kHeaderFieldNumber = 1, kStatusFieldNumber = 2, }; // .CompLib.Header header = 1; bool has_header() const; private: bool _internal_has_header() const; public: void clear_header(); const ::CompLib::Header& header() const; PROTOBUF_NODISCARD ::CompLib::Header* release_header(); ::CompLib::Header* mutable_header(); void set_allocated_header(::CompLib::Header* header); private: const ::CompLib::Header& _internal_header() const; ::CompLib::Header* _internal_mutable_header(); public: void unsafe_arena_set_allocated_header( ::CompLib::Header* header); ::CompLib::Header* unsafe_arena_release_header(); // .CompLib.Status status = 2; bool has_status() const; private: bool _internal_has_status() const; public: void clear_status(); const ::CompLib::Status& status() const; PROTOBUF_NODISCARD ::CompLib::Status* release_status(); ::CompLib::Status* mutable_status(); void set_allocated_status(::CompLib::Status* status); private: const ::CompLib::Status& _internal_status() const; ::CompLib::Status* _internal_mutable_status(); public: void unsafe_arena_set_allocated_status( ::CompLib::Status* status); ::CompLib::Status* unsafe_arena_release_status(); // @@protoc_insertion_point(class_scope:CompLib.GenericResponse) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::CompLib::Header* header_; ::CompLib::Status* status_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_CompLib_2eproto; }; // ------------------------------------------------------------------- class ReadSensorsRequest final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CompLib.ReadSensorsRequest) */ { public: inline ReadSensorsRequest() : ReadSensorsRequest(nullptr) {} ~ReadSensorsRequest() override; explicit constexpr ReadSensorsRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); ReadSensorsRequest(const ReadSensorsRequest& from); ReadSensorsRequest(ReadSensorsRequest&& from) noexcept : ReadSensorsRequest() { *this = ::std::move(from); } inline ReadSensorsRequest& operator=(const ReadSensorsRequest& from) { CopyFrom(from); return *this; } inline ReadSensorsRequest& operator=(ReadSensorsRequest&& 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; } 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 ReadSensorsRequest& default_instance() { return *internal_default_instance(); } static inline const ReadSensorsRequest* internal_default_instance() { return reinterpret_cast( &_ReadSensorsRequest_default_instance_); } static constexpr int kIndexInFileMessages = 4; friend void swap(ReadSensorsRequest& a, ReadSensorsRequest& b) { a.Swap(&b); } inline void Swap(ReadSensorsRequest* 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(ReadSensorsRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- ReadSensorsRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const ReadSensorsRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; void MergeFrom(const ReadSensorsRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); 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 _cached_size_.Get(); } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(ReadSensorsRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "CompLib.ReadSensorsRequest"; } protected: explicit ReadSensorsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::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 { kHeaderFieldNumber = 1, }; // .CompLib.Header header = 1; bool has_header() const; private: bool _internal_has_header() const; public: void clear_header(); const ::CompLib::Header& header() const; PROTOBUF_NODISCARD ::CompLib::Header* release_header(); ::CompLib::Header* mutable_header(); void set_allocated_header(::CompLib::Header* header); private: const ::CompLib::Header& _internal_header() const; ::CompLib::Header* _internal_mutable_header(); public: void unsafe_arena_set_allocated_header( ::CompLib::Header* header); ::CompLib::Header* unsafe_arena_release_header(); // @@protoc_insertion_point(class_scope:CompLib.ReadSensorsRequest) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::CompLib::Header* header_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_CompLib_2eproto; }; // ------------------------------------------------------------------- class ReadSensorsResponse final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CompLib.ReadSensorsResponse) */ { public: inline ReadSensorsResponse() : ReadSensorsResponse(nullptr) {} ~ReadSensorsResponse() override; explicit constexpr ReadSensorsResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); ReadSensorsResponse(const ReadSensorsResponse& from); ReadSensorsResponse(ReadSensorsResponse&& from) noexcept : ReadSensorsResponse() { *this = ::std::move(from); } inline ReadSensorsResponse& operator=(const ReadSensorsResponse& from) { CopyFrom(from); return *this; } inline ReadSensorsResponse& operator=(ReadSensorsResponse&& 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; } 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 ReadSensorsResponse& default_instance() { return *internal_default_instance(); } static inline const ReadSensorsResponse* internal_default_instance() { return reinterpret_cast( &_ReadSensorsResponse_default_instance_); } static constexpr int kIndexInFileMessages = 5; friend void swap(ReadSensorsResponse& a, ReadSensorsResponse& b) { a.Swap(&b); } inline void Swap(ReadSensorsResponse* 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(ReadSensorsResponse* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- ReadSensorsResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const ReadSensorsResponse& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; void MergeFrom(const ReadSensorsResponse& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); 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 _cached_size_.Get(); } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(ReadSensorsResponse* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "CompLib.ReadSensorsResponse"; } protected: explicit ReadSensorsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::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 { kHeaderFieldNumber = 1, kStatusFieldNumber = 2, kIr1FieldNumber = 3, kIr2FieldNumber = 4, kIr3FieldNumber = 5, kIr4FieldNumber = 6, kIr5FieldNumber = 7, }; // .CompLib.Header header = 1; bool has_header() const; private: bool _internal_has_header() const; public: void clear_header(); const ::CompLib::Header& header() const; PROTOBUF_NODISCARD ::CompLib::Header* release_header(); ::CompLib::Header* mutable_header(); void set_allocated_header(::CompLib::Header* header); private: const ::CompLib::Header& _internal_header() const; ::CompLib::Header* _internal_mutable_header(); public: void unsafe_arena_set_allocated_header( ::CompLib::Header* header); ::CompLib::Header* unsafe_arena_release_header(); // .CompLib.Status status = 2; bool has_status() const; private: bool _internal_has_status() const; public: void clear_status(); const ::CompLib::Status& status() const; PROTOBUF_NODISCARD ::CompLib::Status* release_status(); ::CompLib::Status* mutable_status(); void set_allocated_status(::CompLib::Status* status); private: const ::CompLib::Status& _internal_status() const; ::CompLib::Status* _internal_mutable_status(); public: void unsafe_arena_set_allocated_status( ::CompLib::Status* status); ::CompLib::Status* unsafe_arena_release_status(); // uint32 ir_1 = 3; void clear_ir_1(); uint32_t ir_1() const; void set_ir_1(uint32_t value); private: uint32_t _internal_ir_1() const; void _internal_set_ir_1(uint32_t value); public: // uint32 ir_2 = 4; void clear_ir_2(); uint32_t ir_2() const; void set_ir_2(uint32_t value); private: uint32_t _internal_ir_2() const; void _internal_set_ir_2(uint32_t value); public: // uint32 ir_3 = 5; void clear_ir_3(); uint32_t ir_3() const; void set_ir_3(uint32_t value); private: uint32_t _internal_ir_3() const; void _internal_set_ir_3(uint32_t value); public: // uint32 ir_4 = 6; void clear_ir_4(); uint32_t ir_4() const; void set_ir_4(uint32_t value); private: uint32_t _internal_ir_4() const; void _internal_set_ir_4(uint32_t value); public: // uint32 ir_5 = 7; void clear_ir_5(); uint32_t ir_5() const; void set_ir_5(uint32_t value); private: uint32_t _internal_ir_5() const; void _internal_set_ir_5(uint32_t value); public: // @@protoc_insertion_point(class_scope:CompLib.ReadSensorsResponse) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::CompLib::Header* header_; ::CompLib::Status* status_; uint32_t ir_1_; uint32_t ir_2_; uint32_t ir_3_; uint32_t ir_4_; uint32_t ir_5_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_CompLib_2eproto; }; // =================================================================== // =================================================================== #ifdef __GNUC__ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wstrict-aliasing" #endif // __GNUC__ // Header // string message_type = 1; inline void Header::clear_message_type() { message_type_.ClearToEmpty(); } inline const std::string& Header::message_type() const { // @@protoc_insertion_point(field_get:CompLib.Header.message_type) return _internal_message_type(); } template inline PROTOBUF_ALWAYS_INLINE void Header::set_message_type(ArgT0&& arg0, ArgT... args) { message_type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:CompLib.Header.message_type) } inline std::string* Header::mutable_message_type() { std::string* _s = _internal_mutable_message_type(); // @@protoc_insertion_point(field_mutable:CompLib.Header.message_type) return _s; } inline const std::string& Header::_internal_message_type() const { return message_type_.Get(); } inline void Header::_internal_set_message_type(const std::string& value) { message_type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } inline std::string* Header::_internal_mutable_message_type() { return message_type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } inline std::string* Header::release_message_type() { // @@protoc_insertion_point(field_release:CompLib.Header.message_type) return message_type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); } inline void Header::set_allocated_message_type(std::string* message_type) { if (message_type != nullptr) { } else { } message_type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), message_type, GetArenaForAllocation()); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING if (message_type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { message_type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); } #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING // @@protoc_insertion_point(field_set_allocated:CompLib.Header.message_type) } // ------------------------------------------------------------------- // Status // bool successful = 1; inline void Status::clear_successful() { successful_ = false; } inline bool Status::_internal_successful() const { return successful_; } inline bool Status::successful() const { // @@protoc_insertion_point(field_get:CompLib.Status.successful) return _internal_successful(); } inline void Status::_internal_set_successful(bool value) { successful_ = value; } inline void Status::set_successful(bool value) { _internal_set_successful(value); // @@protoc_insertion_point(field_set:CompLib.Status.successful) } // string error_message = 2; inline void Status::clear_error_message() { error_message_.ClearToEmpty(); } inline const std::string& Status::error_message() const { // @@protoc_insertion_point(field_get:CompLib.Status.error_message) return _internal_error_message(); } template inline PROTOBUF_ALWAYS_INLINE void Status::set_error_message(ArgT0&& arg0, ArgT... args) { error_message_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:CompLib.Status.error_message) } inline std::string* Status::mutable_error_message() { std::string* _s = _internal_mutable_error_message(); // @@protoc_insertion_point(field_mutable:CompLib.Status.error_message) return _s; } inline const std::string& Status::_internal_error_message() const { return error_message_.Get(); } inline void Status::_internal_set_error_message(const std::string& value) { error_message_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } inline std::string* Status::_internal_mutable_error_message() { return error_message_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } inline std::string* Status::release_error_message() { // @@protoc_insertion_point(field_release:CompLib.Status.error_message) return error_message_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); } inline void Status::set_allocated_error_message(std::string* error_message) { if (error_message != nullptr) { } else { } error_message_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), error_message, GetArenaForAllocation()); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING if (error_message_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { error_message_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); } #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING // @@protoc_insertion_point(field_set_allocated:CompLib.Status.error_message) } // ------------------------------------------------------------------- // GenericRequest // .CompLib.Header header = 1; inline bool GenericRequest::_internal_has_header() const { return this != internal_default_instance() && header_ != nullptr; } inline bool GenericRequest::has_header() const { return _internal_has_header(); } inline void GenericRequest::clear_header() { if (GetArenaForAllocation() == nullptr && header_ != nullptr) { delete header_; } header_ = nullptr; } inline const ::CompLib::Header& GenericRequest::_internal_header() const { const ::CompLib::Header* p = header_; return p != nullptr ? *p : reinterpret_cast( ::CompLib::_Header_default_instance_); } inline const ::CompLib::Header& GenericRequest::header() const { // @@protoc_insertion_point(field_get:CompLib.GenericRequest.header) return _internal_header(); } inline void GenericRequest::unsafe_arena_set_allocated_header( ::CompLib::Header* header) { if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_); } header_ = header; if (header) { } else { } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CompLib.GenericRequest.header) } inline ::CompLib::Header* GenericRequest::release_header() { ::CompLib::Header* temp = header_; header_ = 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 ::CompLib::Header* GenericRequest::unsafe_arena_release_header() { // @@protoc_insertion_point(field_release:CompLib.GenericRequest.header) ::CompLib::Header* temp = header_; header_ = nullptr; return temp; } inline ::CompLib::Header* GenericRequest::_internal_mutable_header() { if (header_ == nullptr) { auto* p = CreateMaybeMessage<::CompLib::Header>(GetArenaForAllocation()); header_ = p; } return header_; } inline ::CompLib::Header* GenericRequest::mutable_header() { ::CompLib::Header* _msg = _internal_mutable_header(); // @@protoc_insertion_point(field_mutable:CompLib.GenericRequest.header) return _msg; } inline void GenericRequest::set_allocated_header(::CompLib::Header* header) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete header_; } if (header) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::CompLib::Header>::GetOwningArena(header); if (message_arena != submessage_arena) { header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, header, submessage_arena); } } else { } header_ = header; // @@protoc_insertion_point(field_set_allocated:CompLib.GenericRequest.header) } // ------------------------------------------------------------------- // GenericResponse // .CompLib.Header header = 1; inline bool GenericResponse::_internal_has_header() const { return this != internal_default_instance() && header_ != nullptr; } inline bool GenericResponse::has_header() const { return _internal_has_header(); } inline void GenericResponse::clear_header() { if (GetArenaForAllocation() == nullptr && header_ != nullptr) { delete header_; } header_ = nullptr; } inline const ::CompLib::Header& GenericResponse::_internal_header() const { const ::CompLib::Header* p = header_; return p != nullptr ? *p : reinterpret_cast( ::CompLib::_Header_default_instance_); } inline const ::CompLib::Header& GenericResponse::header() const { // @@protoc_insertion_point(field_get:CompLib.GenericResponse.header) return _internal_header(); } inline void GenericResponse::unsafe_arena_set_allocated_header( ::CompLib::Header* header) { if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_); } header_ = header; if (header) { } else { } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CompLib.GenericResponse.header) } inline ::CompLib::Header* GenericResponse::release_header() { ::CompLib::Header* temp = header_; header_ = 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 ::CompLib::Header* GenericResponse::unsafe_arena_release_header() { // @@protoc_insertion_point(field_release:CompLib.GenericResponse.header) ::CompLib::Header* temp = header_; header_ = nullptr; return temp; } inline ::CompLib::Header* GenericResponse::_internal_mutable_header() { if (header_ == nullptr) { auto* p = CreateMaybeMessage<::CompLib::Header>(GetArenaForAllocation()); header_ = p; } return header_; } inline ::CompLib::Header* GenericResponse::mutable_header() { ::CompLib::Header* _msg = _internal_mutable_header(); // @@protoc_insertion_point(field_mutable:CompLib.GenericResponse.header) return _msg; } inline void GenericResponse::set_allocated_header(::CompLib::Header* header) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete header_; } if (header) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::CompLib::Header>::GetOwningArena(header); if (message_arena != submessage_arena) { header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, header, submessage_arena); } } else { } header_ = header; // @@protoc_insertion_point(field_set_allocated:CompLib.GenericResponse.header) } // .CompLib.Status status = 2; inline bool GenericResponse::_internal_has_status() const { return this != internal_default_instance() && status_ != nullptr; } inline bool GenericResponse::has_status() const { return _internal_has_status(); } inline void GenericResponse::clear_status() { if (GetArenaForAllocation() == nullptr && status_ != nullptr) { delete status_; } status_ = nullptr; } inline const ::CompLib::Status& GenericResponse::_internal_status() const { const ::CompLib::Status* p = status_; return p != nullptr ? *p : reinterpret_cast( ::CompLib::_Status_default_instance_); } inline const ::CompLib::Status& GenericResponse::status() const { // @@protoc_insertion_point(field_get:CompLib.GenericResponse.status) return _internal_status(); } inline void GenericResponse::unsafe_arena_set_allocated_status( ::CompLib::Status* status) { if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(status_); } status_ = status; if (status) { } else { } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CompLib.GenericResponse.status) } inline ::CompLib::Status* GenericResponse::release_status() { ::CompLib::Status* temp = status_; status_ = 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 ::CompLib::Status* GenericResponse::unsafe_arena_release_status() { // @@protoc_insertion_point(field_release:CompLib.GenericResponse.status) ::CompLib::Status* temp = status_; status_ = nullptr; return temp; } inline ::CompLib::Status* GenericResponse::_internal_mutable_status() { if (status_ == nullptr) { auto* p = CreateMaybeMessage<::CompLib::Status>(GetArenaForAllocation()); status_ = p; } return status_; } inline ::CompLib::Status* GenericResponse::mutable_status() { ::CompLib::Status* _msg = _internal_mutable_status(); // @@protoc_insertion_point(field_mutable:CompLib.GenericResponse.status) return _msg; } inline void GenericResponse::set_allocated_status(::CompLib::Status* status) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete status_; } if (status) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::CompLib::Status>::GetOwningArena(status); if (message_arena != submessage_arena) { status = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, status, submessage_arena); } } else { } status_ = status; // @@protoc_insertion_point(field_set_allocated:CompLib.GenericResponse.status) } // ------------------------------------------------------------------- // ReadSensorsRequest // .CompLib.Header header = 1; inline bool ReadSensorsRequest::_internal_has_header() const { return this != internal_default_instance() && header_ != nullptr; } inline bool ReadSensorsRequest::has_header() const { return _internal_has_header(); } inline void ReadSensorsRequest::clear_header() { if (GetArenaForAllocation() == nullptr && header_ != nullptr) { delete header_; } header_ = nullptr; } inline const ::CompLib::Header& ReadSensorsRequest::_internal_header() const { const ::CompLib::Header* p = header_; return p != nullptr ? *p : reinterpret_cast( ::CompLib::_Header_default_instance_); } inline const ::CompLib::Header& ReadSensorsRequest::header() const { // @@protoc_insertion_point(field_get:CompLib.ReadSensorsRequest.header) return _internal_header(); } inline void ReadSensorsRequest::unsafe_arena_set_allocated_header( ::CompLib::Header* header) { if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_); } header_ = header; if (header) { } else { } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CompLib.ReadSensorsRequest.header) } inline ::CompLib::Header* ReadSensorsRequest::release_header() { ::CompLib::Header* temp = header_; header_ = 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 ::CompLib::Header* ReadSensorsRequest::unsafe_arena_release_header() { // @@protoc_insertion_point(field_release:CompLib.ReadSensorsRequest.header) ::CompLib::Header* temp = header_; header_ = nullptr; return temp; } inline ::CompLib::Header* ReadSensorsRequest::_internal_mutable_header() { if (header_ == nullptr) { auto* p = CreateMaybeMessage<::CompLib::Header>(GetArenaForAllocation()); header_ = p; } return header_; } inline ::CompLib::Header* ReadSensorsRequest::mutable_header() { ::CompLib::Header* _msg = _internal_mutable_header(); // @@protoc_insertion_point(field_mutable:CompLib.ReadSensorsRequest.header) return _msg; } inline void ReadSensorsRequest::set_allocated_header(::CompLib::Header* header) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete header_; } if (header) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::CompLib::Header>::GetOwningArena(header); if (message_arena != submessage_arena) { header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, header, submessage_arena); } } else { } header_ = header; // @@protoc_insertion_point(field_set_allocated:CompLib.ReadSensorsRequest.header) } // ------------------------------------------------------------------- // ReadSensorsResponse // .CompLib.Header header = 1; inline bool ReadSensorsResponse::_internal_has_header() const { return this != internal_default_instance() && header_ != nullptr; } inline bool ReadSensorsResponse::has_header() const { return _internal_has_header(); } inline void ReadSensorsResponse::clear_header() { if (GetArenaForAllocation() == nullptr && header_ != nullptr) { delete header_; } header_ = nullptr; } inline const ::CompLib::Header& ReadSensorsResponse::_internal_header() const { const ::CompLib::Header* p = header_; return p != nullptr ? *p : reinterpret_cast( ::CompLib::_Header_default_instance_); } inline const ::CompLib::Header& ReadSensorsResponse::header() const { // @@protoc_insertion_point(field_get:CompLib.ReadSensorsResponse.header) return _internal_header(); } inline void ReadSensorsResponse::unsafe_arena_set_allocated_header( ::CompLib::Header* header) { if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_); } header_ = header; if (header) { } else { } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CompLib.ReadSensorsResponse.header) } inline ::CompLib::Header* ReadSensorsResponse::release_header() { ::CompLib::Header* temp = header_; header_ = 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 ::CompLib::Header* ReadSensorsResponse::unsafe_arena_release_header() { // @@protoc_insertion_point(field_release:CompLib.ReadSensorsResponse.header) ::CompLib::Header* temp = header_; header_ = nullptr; return temp; } inline ::CompLib::Header* ReadSensorsResponse::_internal_mutable_header() { if (header_ == nullptr) { auto* p = CreateMaybeMessage<::CompLib::Header>(GetArenaForAllocation()); header_ = p; } return header_; } inline ::CompLib::Header* ReadSensorsResponse::mutable_header() { ::CompLib::Header* _msg = _internal_mutable_header(); // @@protoc_insertion_point(field_mutable:CompLib.ReadSensorsResponse.header) return _msg; } inline void ReadSensorsResponse::set_allocated_header(::CompLib::Header* header) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete header_; } if (header) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::CompLib::Header>::GetOwningArena(header); if (message_arena != submessage_arena) { header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, header, submessage_arena); } } else { } header_ = header; // @@protoc_insertion_point(field_set_allocated:CompLib.ReadSensorsResponse.header) } // .CompLib.Status status = 2; inline bool ReadSensorsResponse::_internal_has_status() const { return this != internal_default_instance() && status_ != nullptr; } inline bool ReadSensorsResponse::has_status() const { return _internal_has_status(); } inline void ReadSensorsResponse::clear_status() { if (GetArenaForAllocation() == nullptr && status_ != nullptr) { delete status_; } status_ = nullptr; } inline const ::CompLib::Status& ReadSensorsResponse::_internal_status() const { const ::CompLib::Status* p = status_; return p != nullptr ? *p : reinterpret_cast( ::CompLib::_Status_default_instance_); } inline const ::CompLib::Status& ReadSensorsResponse::status() const { // @@protoc_insertion_point(field_get:CompLib.ReadSensorsResponse.status) return _internal_status(); } inline void ReadSensorsResponse::unsafe_arena_set_allocated_status( ::CompLib::Status* status) { if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(status_); } status_ = status; if (status) { } else { } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CompLib.ReadSensorsResponse.status) } inline ::CompLib::Status* ReadSensorsResponse::release_status() { ::CompLib::Status* temp = status_; status_ = 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 ::CompLib::Status* ReadSensorsResponse::unsafe_arena_release_status() { // @@protoc_insertion_point(field_release:CompLib.ReadSensorsResponse.status) ::CompLib::Status* temp = status_; status_ = nullptr; return temp; } inline ::CompLib::Status* ReadSensorsResponse::_internal_mutable_status() { if (status_ == nullptr) { auto* p = CreateMaybeMessage<::CompLib::Status>(GetArenaForAllocation()); status_ = p; } return status_; } inline ::CompLib::Status* ReadSensorsResponse::mutable_status() { ::CompLib::Status* _msg = _internal_mutable_status(); // @@protoc_insertion_point(field_mutable:CompLib.ReadSensorsResponse.status) return _msg; } inline void ReadSensorsResponse::set_allocated_status(::CompLib::Status* status) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete status_; } if (status) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::CompLib::Status>::GetOwningArena(status); if (message_arena != submessage_arena) { status = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, status, submessage_arena); } } else { } status_ = status; // @@protoc_insertion_point(field_set_allocated:CompLib.ReadSensorsResponse.status) } // uint32 ir_1 = 3; inline void ReadSensorsResponse::clear_ir_1() { ir_1_ = 0u; } inline uint32_t ReadSensorsResponse::_internal_ir_1() const { return ir_1_; } inline uint32_t ReadSensorsResponse::ir_1() const { // @@protoc_insertion_point(field_get:CompLib.ReadSensorsResponse.ir_1) return _internal_ir_1(); } inline void ReadSensorsResponse::_internal_set_ir_1(uint32_t value) { ir_1_ = value; } inline void ReadSensorsResponse::set_ir_1(uint32_t value) { _internal_set_ir_1(value); // @@protoc_insertion_point(field_set:CompLib.ReadSensorsResponse.ir_1) } // uint32 ir_2 = 4; inline void ReadSensorsResponse::clear_ir_2() { ir_2_ = 0u; } inline uint32_t ReadSensorsResponse::_internal_ir_2() const { return ir_2_; } inline uint32_t ReadSensorsResponse::ir_2() const { // @@protoc_insertion_point(field_get:CompLib.ReadSensorsResponse.ir_2) return _internal_ir_2(); } inline void ReadSensorsResponse::_internal_set_ir_2(uint32_t value) { ir_2_ = value; } inline void ReadSensorsResponse::set_ir_2(uint32_t value) { _internal_set_ir_2(value); // @@protoc_insertion_point(field_set:CompLib.ReadSensorsResponse.ir_2) } // uint32 ir_3 = 5; inline void ReadSensorsResponse::clear_ir_3() { ir_3_ = 0u; } inline uint32_t ReadSensorsResponse::_internal_ir_3() const { return ir_3_; } inline uint32_t ReadSensorsResponse::ir_3() const { // @@protoc_insertion_point(field_get:CompLib.ReadSensorsResponse.ir_3) return _internal_ir_3(); } inline void ReadSensorsResponse::_internal_set_ir_3(uint32_t value) { ir_3_ = value; } inline void ReadSensorsResponse::set_ir_3(uint32_t value) { _internal_set_ir_3(value); // @@protoc_insertion_point(field_set:CompLib.ReadSensorsResponse.ir_3) } // uint32 ir_4 = 6; inline void ReadSensorsResponse::clear_ir_4() { ir_4_ = 0u; } inline uint32_t ReadSensorsResponse::_internal_ir_4() const { return ir_4_; } inline uint32_t ReadSensorsResponse::ir_4() const { // @@protoc_insertion_point(field_get:CompLib.ReadSensorsResponse.ir_4) return _internal_ir_4(); } inline void ReadSensorsResponse::_internal_set_ir_4(uint32_t value) { ir_4_ = value; } inline void ReadSensorsResponse::set_ir_4(uint32_t value) { _internal_set_ir_4(value); // @@protoc_insertion_point(field_set:CompLib.ReadSensorsResponse.ir_4) } // uint32 ir_5 = 7; inline void ReadSensorsResponse::clear_ir_5() { ir_5_ = 0u; } inline uint32_t ReadSensorsResponse::_internal_ir_5() const { return ir_5_; } inline uint32_t ReadSensorsResponse::ir_5() const { // @@protoc_insertion_point(field_get:CompLib.ReadSensorsResponse.ir_5) return _internal_ir_5(); } inline void ReadSensorsResponse::_internal_set_ir_5(uint32_t value) { ir_5_ = value; } inline void ReadSensorsResponse::set_ir_5(uint32_t value) { _internal_set_ir_5(value); // @@protoc_insertion_point(field_set:CompLib.ReadSensorsResponse.ir_5) } #ifdef __GNUC__ #pragma GCC diagnostic pop #endif // __GNUC__ // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // @@protoc_insertion_point(namespace_scope) } // namespace CompLib // @@protoc_insertion_point(global_scope) #include #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_CompLib_2eproto