// Generated by the protocol buffer compiler. DO NOT EDIT! // source: bhome_msg_dev.proto #ifndef GOOGLE_PROTOBUF_INCLUDED_bhome_5fmsg_5fdev_2eproto #define GOOGLE_PROTOBUF_INCLUDED_bhome_5fmsg_5fdev_2eproto #include #include #include #if PROTOBUF_VERSION < 3017000 #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 3017003 < 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 // IWYU pragma: export #include // IWYU pragma: export #include "bhome_msg_api.pb.h" #include "error_msg.pb.h" // @@protoc_insertion_point(includes) #include #define PROTOBUF_INTERNAL_EXPORT_bhome_5fmsg_5fdev_2eproto PROTOBUF_NAMESPACE_OPEN namespace internal { class AnyMetadata; } // namespace internal PROTOBUF_NAMESPACE_CLOSE // Internal implementation detail -- do not use these members. struct TableStruct_bhome_5fmsg_5fdev_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[5] 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 ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]; }; namespace bhome_msg { class Arr_MsgDevRegisterInfo; struct Arr_MsgDevRegisterInfoDefaultTypeInternal; extern Arr_MsgDevRegisterInfoDefaultTypeInternal _Arr_MsgDevRegisterInfo_default_instance_; class MsgDevRegisterInfo; struct MsgDevRegisterInfoDefaultTypeInternal; extern MsgDevRegisterInfoDefaultTypeInternal _MsgDevRegisterInfo_default_instance_; class MsgProcTopicsAll; struct MsgProcTopicsAllDefaultTypeInternal; extern MsgProcTopicsAllDefaultTypeInternal _MsgProcTopicsAll_default_instance_; class TopicProcAddr; struct TopicProcAddrDefaultTypeInternal; extern TopicProcAddrDefaultTypeInternal _TopicProcAddr_default_instance_; class TopicQueryNodeAddr; struct TopicQueryNodeAddrDefaultTypeInternal; extern TopicQueryNodeAddrDefaultTypeInternal _TopicQueryNodeAddr_default_instance_; } // namespace bhome_msg PROTOBUF_NAMESPACE_OPEN template<> ::bhome_msg::Arr_MsgDevRegisterInfo* Arena::CreateMaybeMessage<::bhome_msg::Arr_MsgDevRegisterInfo>(Arena*); template<> ::bhome_msg::MsgDevRegisterInfo* Arena::CreateMaybeMessage<::bhome_msg::MsgDevRegisterInfo>(Arena*); template<> ::bhome_msg::MsgProcTopicsAll* Arena::CreateMaybeMessage<::bhome_msg::MsgProcTopicsAll>(Arena*); template<> ::bhome_msg::TopicProcAddr* Arena::CreateMaybeMessage<::bhome_msg::TopicProcAddr>(Arena*); template<> ::bhome_msg::TopicQueryNodeAddr* Arena::CreateMaybeMessage<::bhome_msg::TopicQueryNodeAddr>(Arena*); PROTOBUF_NAMESPACE_CLOSE namespace bhome_msg { // =================================================================== class MsgProcTopicsAll final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:bhome_msg.MsgProcTopicsAll) */ { public: inline MsgProcTopicsAll() : MsgProcTopicsAll(nullptr) {} ~MsgProcTopicsAll() override; explicit constexpr MsgProcTopicsAll(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); MsgProcTopicsAll(const MsgProcTopicsAll& from); MsgProcTopicsAll(MsgProcTopicsAll&& from) noexcept : MsgProcTopicsAll() { *this = ::std::move(from); } inline MsgProcTopicsAll& operator=(const MsgProcTopicsAll& from) { CopyFrom(from); return *this; } inline MsgProcTopicsAll& operator=(MsgProcTopicsAll&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena()) { InternalSwap(&from); } else { CopyFrom(from); } return *this; } static const MsgProcTopicsAll& default_instance() { return *internal_default_instance(); } static inline const MsgProcTopicsAll* internal_default_instance() { return reinterpret_cast( &_MsgProcTopicsAll_default_instance_); } static constexpr int kIndexInFileMessages = 0; friend void swap(MsgProcTopicsAll& a, MsgProcTopicsAll& b) { a.Swap(&b); } inline void Swap(MsgProcTopicsAll* other) { if (other == this) return; if (GetOwningArena() == other->GetOwningArena()) { InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(MsgProcTopicsAll* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- inline MsgProcTopicsAll* New() const final { return new MsgProcTopicsAll(); } MsgProcTopicsAll* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const MsgProcTopicsAll& from); void MergeFrom(const MsgProcTopicsAll& from); 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; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(MsgProcTopicsAll* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "bhome_msg.MsgProcTopicsAll"; } protected: explicit MsgProcTopicsAll(::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: std::string GetTypeName() const final; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kProcFieldNumber = 1, kTopicListFieldNumber = 4, kLocalSublistFieldNumber = 5, kNetSublistFieldNumber = 6, kPortFieldNumber = 2, kOnlineFieldNumber = 3, }; // .bhome_msg.ProcInfo proc = 1; bool has_proc() const; private: bool _internal_has_proc() const; public: void clear_proc(); const ::bhome_msg::ProcInfo& proc() const; PROTOBUF_MUST_USE_RESULT ::bhome_msg::ProcInfo* release_proc(); ::bhome_msg::ProcInfo* mutable_proc(); void set_allocated_proc(::bhome_msg::ProcInfo* proc); private: const ::bhome_msg::ProcInfo& _internal_proc() const; ::bhome_msg::ProcInfo* _internal_mutable_proc(); public: void unsafe_arena_set_allocated_proc( ::bhome_msg::ProcInfo* proc); ::bhome_msg::ProcInfo* unsafe_arena_release_proc(); // .bhome_msg.MsgTopicList topic_list = 4; bool has_topic_list() const; private: bool _internal_has_topic_list() const; public: void clear_topic_list(); const ::bhome_msg::MsgTopicList& topic_list() const; PROTOBUF_MUST_USE_RESULT ::bhome_msg::MsgTopicList* release_topic_list(); ::bhome_msg::MsgTopicList* mutable_topic_list(); void set_allocated_topic_list(::bhome_msg::MsgTopicList* topic_list); private: const ::bhome_msg::MsgTopicList& _internal_topic_list() const; ::bhome_msg::MsgTopicList* _internal_mutable_topic_list(); public: void unsafe_arena_set_allocated_topic_list( ::bhome_msg::MsgTopicList* topic_list); ::bhome_msg::MsgTopicList* unsafe_arena_release_topic_list(); // .bhome_msg.MsgTopicList local_sublist = 5; bool has_local_sublist() const; private: bool _internal_has_local_sublist() const; public: void clear_local_sublist(); const ::bhome_msg::MsgTopicList& local_sublist() const; PROTOBUF_MUST_USE_RESULT ::bhome_msg::MsgTopicList* release_local_sublist(); ::bhome_msg::MsgTopicList* mutable_local_sublist(); void set_allocated_local_sublist(::bhome_msg::MsgTopicList* local_sublist); private: const ::bhome_msg::MsgTopicList& _internal_local_sublist() const; ::bhome_msg::MsgTopicList* _internal_mutable_local_sublist(); public: void unsafe_arena_set_allocated_local_sublist( ::bhome_msg::MsgTopicList* local_sublist); ::bhome_msg::MsgTopicList* unsafe_arena_release_local_sublist(); // .bhome_msg.MsgTopicList net_sublist = 6; bool has_net_sublist() const; private: bool _internal_has_net_sublist() const; public: void clear_net_sublist(); const ::bhome_msg::MsgTopicList& net_sublist() const; PROTOBUF_MUST_USE_RESULT ::bhome_msg::MsgTopicList* release_net_sublist(); ::bhome_msg::MsgTopicList* mutable_net_sublist(); void set_allocated_net_sublist(::bhome_msg::MsgTopicList* net_sublist); private: const ::bhome_msg::MsgTopicList& _internal_net_sublist() const; ::bhome_msg::MsgTopicList* _internal_mutable_net_sublist(); public: void unsafe_arena_set_allocated_net_sublist( ::bhome_msg::MsgTopicList* net_sublist); ::bhome_msg::MsgTopicList* unsafe_arena_release_net_sublist(); // int32 port = 2; void clear_port(); ::PROTOBUF_NAMESPACE_ID::int32 port() const; void set_port(::PROTOBUF_NAMESPACE_ID::int32 value); private: ::PROTOBUF_NAMESPACE_ID::int32 _internal_port() const; void _internal_set_port(::PROTOBUF_NAMESPACE_ID::int32 value); public: // bool online = 3; void clear_online(); bool online() const; void set_online(bool value); private: bool _internal_online() const; void _internal_set_online(bool value); public: // @@protoc_insertion_point(class_scope:bhome_msg.MsgProcTopicsAll) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::bhome_msg::ProcInfo* proc_; ::bhome_msg::MsgTopicList* topic_list_; ::bhome_msg::MsgTopicList* local_sublist_; ::bhome_msg::MsgTopicList* net_sublist_; ::PROTOBUF_NAMESPACE_ID::int32 port_; bool online_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_bhome_5fmsg_5fdev_2eproto; }; // ------------------------------------------------------------------- class MsgDevRegisterInfo final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:bhome_msg.MsgDevRegisterInfo) */ { public: inline MsgDevRegisterInfo() : MsgDevRegisterInfo(nullptr) {} ~MsgDevRegisterInfo() override; explicit constexpr MsgDevRegisterInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); MsgDevRegisterInfo(const MsgDevRegisterInfo& from); MsgDevRegisterInfo(MsgDevRegisterInfo&& from) noexcept : MsgDevRegisterInfo() { *this = ::std::move(from); } inline MsgDevRegisterInfo& operator=(const MsgDevRegisterInfo& from) { CopyFrom(from); return *this; } inline MsgDevRegisterInfo& operator=(MsgDevRegisterInfo&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena()) { InternalSwap(&from); } else { CopyFrom(from); } return *this; } static const MsgDevRegisterInfo& default_instance() { return *internal_default_instance(); } static inline const MsgDevRegisterInfo* internal_default_instance() { return reinterpret_cast( &_MsgDevRegisterInfo_default_instance_); } static constexpr int kIndexInFileMessages = 1; friend void swap(MsgDevRegisterInfo& a, MsgDevRegisterInfo& b) { a.Swap(&b); } inline void Swap(MsgDevRegisterInfo* other) { if (other == this) return; if (GetOwningArena() == other->GetOwningArena()) { InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(MsgDevRegisterInfo* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- inline MsgDevRegisterInfo* New() const final { return new MsgDevRegisterInfo(); } MsgDevRegisterInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const MsgDevRegisterInfo& from); void MergeFrom(const MsgDevRegisterInfo& from); 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; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(MsgDevRegisterInfo* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "bhome_msg.MsgDevRegisterInfo"; } protected: explicit MsgDevRegisterInfo(::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: std::string GetTypeName() const final; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kProcInfosFieldNumber = 4, kDevIdFieldNumber = 1, kIpFieldNumber = 2, kProxyPortFieldNumber = 3, }; // repeated .bhome_msg.MsgProcTopicsAll procInfos = 4; int procinfos_size() const; private: int _internal_procinfos_size() const; public: void clear_procinfos(); ::bhome_msg::MsgProcTopicsAll* mutable_procinfos(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::bhome_msg::MsgProcTopicsAll >* mutable_procinfos(); private: const ::bhome_msg::MsgProcTopicsAll& _internal_procinfos(int index) const; ::bhome_msg::MsgProcTopicsAll* _internal_add_procinfos(); public: const ::bhome_msg::MsgProcTopicsAll& procinfos(int index) const; ::bhome_msg::MsgProcTopicsAll* add_procinfos(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::bhome_msg::MsgProcTopicsAll >& procinfos() const; // bytes devId = 1; void clear_devid(); const std::string& devid() const; template void set_devid(ArgT0&& arg0, ArgT... args); std::string* mutable_devid(); PROTOBUF_MUST_USE_RESULT std::string* release_devid(); void set_allocated_devid(std::string* devid); private: const std::string& _internal_devid() const; inline PROTOBUF_ALWAYS_INLINE void _internal_set_devid(const std::string& value); std::string* _internal_mutable_devid(); public: // bytes ip = 2; void clear_ip(); const std::string& ip() const; template void set_ip(ArgT0&& arg0, ArgT... args); std::string* mutable_ip(); PROTOBUF_MUST_USE_RESULT std::string* release_ip(); void set_allocated_ip(std::string* ip); private: const std::string& _internal_ip() const; inline PROTOBUF_ALWAYS_INLINE void _internal_set_ip(const std::string& value); std::string* _internal_mutable_ip(); public: // int32 proxyPort = 3; void clear_proxyport(); ::PROTOBUF_NAMESPACE_ID::int32 proxyport() const; void set_proxyport(::PROTOBUF_NAMESPACE_ID::int32 value); private: ::PROTOBUF_NAMESPACE_ID::int32 _internal_proxyport() const; void _internal_set_proxyport(::PROTOBUF_NAMESPACE_ID::int32 value); public: // @@protoc_insertion_point(class_scope:bhome_msg.MsgDevRegisterInfo) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::bhome_msg::MsgProcTopicsAll > procinfos_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr devid_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ip_; ::PROTOBUF_NAMESPACE_ID::int32 proxyport_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_bhome_5fmsg_5fdev_2eproto; }; // ------------------------------------------------------------------- class Arr_MsgDevRegisterInfo final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:bhome_msg.Arr_MsgDevRegisterInfo) */ { public: inline Arr_MsgDevRegisterInfo() : Arr_MsgDevRegisterInfo(nullptr) {} ~Arr_MsgDevRegisterInfo() override; explicit constexpr Arr_MsgDevRegisterInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); Arr_MsgDevRegisterInfo(const Arr_MsgDevRegisterInfo& from); Arr_MsgDevRegisterInfo(Arr_MsgDevRegisterInfo&& from) noexcept : Arr_MsgDevRegisterInfo() { *this = ::std::move(from); } inline Arr_MsgDevRegisterInfo& operator=(const Arr_MsgDevRegisterInfo& from) { CopyFrom(from); return *this; } inline Arr_MsgDevRegisterInfo& operator=(Arr_MsgDevRegisterInfo&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena()) { InternalSwap(&from); } else { CopyFrom(from); } return *this; } static const Arr_MsgDevRegisterInfo& default_instance() { return *internal_default_instance(); } static inline const Arr_MsgDevRegisterInfo* internal_default_instance() { return reinterpret_cast( &_Arr_MsgDevRegisterInfo_default_instance_); } static constexpr int kIndexInFileMessages = 2; friend void swap(Arr_MsgDevRegisterInfo& a, Arr_MsgDevRegisterInfo& b) { a.Swap(&b); } inline void Swap(Arr_MsgDevRegisterInfo* other) { if (other == this) return; if (GetOwningArena() == other->GetOwningArena()) { InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(Arr_MsgDevRegisterInfo* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- inline Arr_MsgDevRegisterInfo* New() const final { return new Arr_MsgDevRegisterInfo(); } Arr_MsgDevRegisterInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const Arr_MsgDevRegisterInfo& from); void MergeFrom(const Arr_MsgDevRegisterInfo& from); 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; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(Arr_MsgDevRegisterInfo* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "bhome_msg.Arr_MsgDevRegisterInfo"; } protected: explicit Arr_MsgDevRegisterInfo(::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: std::string GetTypeName() const final; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kArrFieldNumber = 1, }; // repeated .bhome_msg.MsgDevRegisterInfo arr = 1; int arr_size() const; private: int _internal_arr_size() const; public: void clear_arr(); ::bhome_msg::MsgDevRegisterInfo* mutable_arr(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::bhome_msg::MsgDevRegisterInfo >* mutable_arr(); private: const ::bhome_msg::MsgDevRegisterInfo& _internal_arr(int index) const; ::bhome_msg::MsgDevRegisterInfo* _internal_add_arr(); public: const ::bhome_msg::MsgDevRegisterInfo& arr(int index) const; ::bhome_msg::MsgDevRegisterInfo* add_arr(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::bhome_msg::MsgDevRegisterInfo >& arr() const; // @@protoc_insertion_point(class_scope:bhome_msg.Arr_MsgDevRegisterInfo) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::bhome_msg::MsgDevRegisterInfo > arr_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_bhome_5fmsg_5fdev_2eproto; }; // ------------------------------------------------------------------- class TopicProcAddr final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:bhome_msg.TopicProcAddr) */ { public: inline TopicProcAddr() : TopicProcAddr(nullptr) {} ~TopicProcAddr() override; explicit constexpr TopicProcAddr(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); TopicProcAddr(const TopicProcAddr& from); TopicProcAddr(TopicProcAddr&& from) noexcept : TopicProcAddr() { *this = ::std::move(from); } inline TopicProcAddr& operator=(const TopicProcAddr& from) { CopyFrom(from); return *this; } inline TopicProcAddr& operator=(TopicProcAddr&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena()) { InternalSwap(&from); } else { CopyFrom(from); } return *this; } static const TopicProcAddr& default_instance() { return *internal_default_instance(); } static inline const TopicProcAddr* internal_default_instance() { return reinterpret_cast( &_TopicProcAddr_default_instance_); } static constexpr int kIndexInFileMessages = 3; friend void swap(TopicProcAddr& a, TopicProcAddr& b) { a.Swap(&b); } inline void Swap(TopicProcAddr* other) { if (other == this) return; if (GetOwningArena() == other->GetOwningArena()) { InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(TopicProcAddr* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- inline TopicProcAddr* New() const final { return new TopicProcAddr(); } TopicProcAddr* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const TopicProcAddr& from); void MergeFrom(const TopicProcAddr& from); 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; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(TopicProcAddr* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "bhome_msg.TopicProcAddr"; } protected: explicit TopicProcAddr(::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: std::string GetTypeName() const final; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kDevIdFieldNumber = 1, kIpFieldNumber = 2, kProcIdFieldNumber = 3, kPortFieldNumber = 4, }; // bytes devId = 1; void clear_devid(); const std::string& devid() const; template void set_devid(ArgT0&& arg0, ArgT... args); std::string* mutable_devid(); PROTOBUF_MUST_USE_RESULT std::string* release_devid(); void set_allocated_devid(std::string* devid); private: const std::string& _internal_devid() const; inline PROTOBUF_ALWAYS_INLINE void _internal_set_devid(const std::string& value); std::string* _internal_mutable_devid(); public: // bytes ip = 2; void clear_ip(); const std::string& ip() const; template void set_ip(ArgT0&& arg0, ArgT... args); std::string* mutable_ip(); PROTOBUF_MUST_USE_RESULT std::string* release_ip(); void set_allocated_ip(std::string* ip); private: const std::string& _internal_ip() const; inline PROTOBUF_ALWAYS_INLINE void _internal_set_ip(const std::string& value); std::string* _internal_mutable_ip(); public: // bytes procId = 3; void clear_procid(); const std::string& procid() const; template void set_procid(ArgT0&& arg0, ArgT... args); std::string* mutable_procid(); PROTOBUF_MUST_USE_RESULT std::string* release_procid(); void set_allocated_procid(std::string* procid); private: const std::string& _internal_procid() const; inline PROTOBUF_ALWAYS_INLINE void _internal_set_procid(const std::string& value); std::string* _internal_mutable_procid(); public: // int32 port = 4; void clear_port(); ::PROTOBUF_NAMESPACE_ID::int32 port() const; void set_port(::PROTOBUF_NAMESPACE_ID::int32 value); private: ::PROTOBUF_NAMESPACE_ID::int32 _internal_port() const; void _internal_set_port(::PROTOBUF_NAMESPACE_ID::int32 value); public: // @@protoc_insertion_point(class_scope:bhome_msg.TopicProcAddr) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr devid_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ip_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr procid_; ::PROTOBUF_NAMESPACE_ID::int32 port_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_bhome_5fmsg_5fdev_2eproto; }; // ------------------------------------------------------------------- class TopicQueryNodeAddr final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:bhome_msg.TopicQueryNodeAddr) */ { public: inline TopicQueryNodeAddr() : TopicQueryNodeAddr(nullptr) {} ~TopicQueryNodeAddr() override; explicit constexpr TopicQueryNodeAddr(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); TopicQueryNodeAddr(const TopicQueryNodeAddr& from); TopicQueryNodeAddr(TopicQueryNodeAddr&& from) noexcept : TopicQueryNodeAddr() { *this = ::std::move(from); } inline TopicQueryNodeAddr& operator=(const TopicQueryNodeAddr& from) { CopyFrom(from); return *this; } inline TopicQueryNodeAddr& operator=(TopicQueryNodeAddr&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena()) { InternalSwap(&from); } else { CopyFrom(from); } return *this; } static const TopicQueryNodeAddr& default_instance() { return *internal_default_instance(); } static inline const TopicQueryNodeAddr* internal_default_instance() { return reinterpret_cast( &_TopicQueryNodeAddr_default_instance_); } static constexpr int kIndexInFileMessages = 4; friend void swap(TopicQueryNodeAddr& a, TopicQueryNodeAddr& b) { a.Swap(&b); } inline void Swap(TopicQueryNodeAddr* other) { if (other == this) return; if (GetOwningArena() == other->GetOwningArena()) { InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(TopicQueryNodeAddr* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- inline TopicQueryNodeAddr* New() const final { return new TopicQueryNodeAddr(); } TopicQueryNodeAddr* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const TopicQueryNodeAddr& from); void MergeFrom(const TopicQueryNodeAddr& from); 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; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(TopicQueryNodeAddr* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "bhome_msg.TopicQueryNodeAddr"; } protected: explicit TopicQueryNodeAddr(::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: std::string GetTypeName() const final; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kAddrsFieldNumber = 1, }; // repeated .bhome_msg.TopicProcAddr addrs = 1; int addrs_size() const; private: int _internal_addrs_size() const; public: void clear_addrs(); ::bhome_msg::TopicProcAddr* mutable_addrs(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::bhome_msg::TopicProcAddr >* mutable_addrs(); private: const ::bhome_msg::TopicProcAddr& _internal_addrs(int index) const; ::bhome_msg::TopicProcAddr* _internal_add_addrs(); public: const ::bhome_msg::TopicProcAddr& addrs(int index) const; ::bhome_msg::TopicProcAddr* add_addrs(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::bhome_msg::TopicProcAddr >& addrs() const; // @@protoc_insertion_point(class_scope:bhome_msg.TopicQueryNodeAddr) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::bhome_msg::TopicProcAddr > addrs_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_bhome_5fmsg_5fdev_2eproto; }; // =================================================================== // =================================================================== #ifdef __GNUC__ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wstrict-aliasing" #endif // __GNUC__ // MsgProcTopicsAll // .bhome_msg.ProcInfo proc = 1; inline bool MsgProcTopicsAll::_internal_has_proc() const { return this != internal_default_instance() && proc_ != nullptr; } inline bool MsgProcTopicsAll::has_proc() const { return _internal_has_proc(); } inline const ::bhome_msg::ProcInfo& MsgProcTopicsAll::_internal_proc() const { const ::bhome_msg::ProcInfo* p = proc_; return p != nullptr ? *p : reinterpret_cast( ::bhome_msg::_ProcInfo_default_instance_); } inline const ::bhome_msg::ProcInfo& MsgProcTopicsAll::proc() const { // @@protoc_insertion_point(field_get:bhome_msg.MsgProcTopicsAll.proc) return _internal_proc(); } inline void MsgProcTopicsAll::unsafe_arena_set_allocated_proc( ::bhome_msg::ProcInfo* proc) { if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(proc_); } proc_ = proc; if (proc) { } else { } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:bhome_msg.MsgProcTopicsAll.proc) } inline ::bhome_msg::ProcInfo* MsgProcTopicsAll::release_proc() { ::bhome_msg::ProcInfo* temp = proc_; proc_ = 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 ::bhome_msg::ProcInfo* MsgProcTopicsAll::unsafe_arena_release_proc() { // @@protoc_insertion_point(field_release:bhome_msg.MsgProcTopicsAll.proc) ::bhome_msg::ProcInfo* temp = proc_; proc_ = nullptr; return temp; } inline ::bhome_msg::ProcInfo* MsgProcTopicsAll::_internal_mutable_proc() { if (proc_ == nullptr) { auto* p = CreateMaybeMessage<::bhome_msg::ProcInfo>(GetArenaForAllocation()); proc_ = p; } return proc_; } inline ::bhome_msg::ProcInfo* MsgProcTopicsAll::mutable_proc() { ::bhome_msg::ProcInfo* _msg = _internal_mutable_proc(); // @@protoc_insertion_point(field_mutable:bhome_msg.MsgProcTopicsAll.proc) return _msg; } inline void MsgProcTopicsAll::set_allocated_proc(::bhome_msg::ProcInfo* proc) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(proc_); } if (proc) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(proc)); if (message_arena != submessage_arena) { proc = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, proc, submessage_arena); } } else { } proc_ = proc; // @@protoc_insertion_point(field_set_allocated:bhome_msg.MsgProcTopicsAll.proc) } // int32 port = 2; inline void MsgProcTopicsAll::clear_port() { port_ = 0; } inline ::PROTOBUF_NAMESPACE_ID::int32 MsgProcTopicsAll::_internal_port() const { return port_; } inline ::PROTOBUF_NAMESPACE_ID::int32 MsgProcTopicsAll::port() const { // @@protoc_insertion_point(field_get:bhome_msg.MsgProcTopicsAll.port) return _internal_port(); } inline void MsgProcTopicsAll::_internal_set_port(::PROTOBUF_NAMESPACE_ID::int32 value) { port_ = value; } inline void MsgProcTopicsAll::set_port(::PROTOBUF_NAMESPACE_ID::int32 value) { _internal_set_port(value); // @@protoc_insertion_point(field_set:bhome_msg.MsgProcTopicsAll.port) } // bool online = 3; inline void MsgProcTopicsAll::clear_online() { online_ = false; } inline bool MsgProcTopicsAll::_internal_online() const { return online_; } inline bool MsgProcTopicsAll::online() const { // @@protoc_insertion_point(field_get:bhome_msg.MsgProcTopicsAll.online) return _internal_online(); } inline void MsgProcTopicsAll::_internal_set_online(bool value) { online_ = value; } inline void MsgProcTopicsAll::set_online(bool value) { _internal_set_online(value); // @@protoc_insertion_point(field_set:bhome_msg.MsgProcTopicsAll.online) } // .bhome_msg.MsgTopicList topic_list = 4; inline bool MsgProcTopicsAll::_internal_has_topic_list() const { return this != internal_default_instance() && topic_list_ != nullptr; } inline bool MsgProcTopicsAll::has_topic_list() const { return _internal_has_topic_list(); } inline const ::bhome_msg::MsgTopicList& MsgProcTopicsAll::_internal_topic_list() const { const ::bhome_msg::MsgTopicList* p = topic_list_; return p != nullptr ? *p : reinterpret_cast( ::bhome_msg::_MsgTopicList_default_instance_); } inline const ::bhome_msg::MsgTopicList& MsgProcTopicsAll::topic_list() const { // @@protoc_insertion_point(field_get:bhome_msg.MsgProcTopicsAll.topic_list) return _internal_topic_list(); } inline void MsgProcTopicsAll::unsafe_arena_set_allocated_topic_list( ::bhome_msg::MsgTopicList* topic_list) { if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(topic_list_); } topic_list_ = topic_list; if (topic_list) { } else { } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:bhome_msg.MsgProcTopicsAll.topic_list) } inline ::bhome_msg::MsgTopicList* MsgProcTopicsAll::release_topic_list() { ::bhome_msg::MsgTopicList* temp = topic_list_; topic_list_ = 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 ::bhome_msg::MsgTopicList* MsgProcTopicsAll::unsafe_arena_release_topic_list() { // @@protoc_insertion_point(field_release:bhome_msg.MsgProcTopicsAll.topic_list) ::bhome_msg::MsgTopicList* temp = topic_list_; topic_list_ = nullptr; return temp; } inline ::bhome_msg::MsgTopicList* MsgProcTopicsAll::_internal_mutable_topic_list() { if (topic_list_ == nullptr) { auto* p = CreateMaybeMessage<::bhome_msg::MsgTopicList>(GetArenaForAllocation()); topic_list_ = p; } return topic_list_; } inline ::bhome_msg::MsgTopicList* MsgProcTopicsAll::mutable_topic_list() { ::bhome_msg::MsgTopicList* _msg = _internal_mutable_topic_list(); // @@protoc_insertion_point(field_mutable:bhome_msg.MsgProcTopicsAll.topic_list) return _msg; } inline void MsgProcTopicsAll::set_allocated_topic_list(::bhome_msg::MsgTopicList* topic_list) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(topic_list_); } if (topic_list) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(topic_list)); if (message_arena != submessage_arena) { topic_list = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, topic_list, submessage_arena); } } else { } topic_list_ = topic_list; // @@protoc_insertion_point(field_set_allocated:bhome_msg.MsgProcTopicsAll.topic_list) } // .bhome_msg.MsgTopicList local_sublist = 5; inline bool MsgProcTopicsAll::_internal_has_local_sublist() const { return this != internal_default_instance() && local_sublist_ != nullptr; } inline bool MsgProcTopicsAll::has_local_sublist() const { return _internal_has_local_sublist(); } inline const ::bhome_msg::MsgTopicList& MsgProcTopicsAll::_internal_local_sublist() const { const ::bhome_msg::MsgTopicList* p = local_sublist_; return p != nullptr ? *p : reinterpret_cast( ::bhome_msg::_MsgTopicList_default_instance_); } inline const ::bhome_msg::MsgTopicList& MsgProcTopicsAll::local_sublist() const { // @@protoc_insertion_point(field_get:bhome_msg.MsgProcTopicsAll.local_sublist) return _internal_local_sublist(); } inline void MsgProcTopicsAll::unsafe_arena_set_allocated_local_sublist( ::bhome_msg::MsgTopicList* local_sublist) { if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(local_sublist_); } local_sublist_ = local_sublist; if (local_sublist) { } else { } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:bhome_msg.MsgProcTopicsAll.local_sublist) } inline ::bhome_msg::MsgTopicList* MsgProcTopicsAll::release_local_sublist() { ::bhome_msg::MsgTopicList* temp = local_sublist_; local_sublist_ = 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 ::bhome_msg::MsgTopicList* MsgProcTopicsAll::unsafe_arena_release_local_sublist() { // @@protoc_insertion_point(field_release:bhome_msg.MsgProcTopicsAll.local_sublist) ::bhome_msg::MsgTopicList* temp = local_sublist_; local_sublist_ = nullptr; return temp; } inline ::bhome_msg::MsgTopicList* MsgProcTopicsAll::_internal_mutable_local_sublist() { if (local_sublist_ == nullptr) { auto* p = CreateMaybeMessage<::bhome_msg::MsgTopicList>(GetArenaForAllocation()); local_sublist_ = p; } return local_sublist_; } inline ::bhome_msg::MsgTopicList* MsgProcTopicsAll::mutable_local_sublist() { ::bhome_msg::MsgTopicList* _msg = _internal_mutable_local_sublist(); // @@protoc_insertion_point(field_mutable:bhome_msg.MsgProcTopicsAll.local_sublist) return _msg; } inline void MsgProcTopicsAll::set_allocated_local_sublist(::bhome_msg::MsgTopicList* local_sublist) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(local_sublist_); } if (local_sublist) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(local_sublist)); if (message_arena != submessage_arena) { local_sublist = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, local_sublist, submessage_arena); } } else { } local_sublist_ = local_sublist; // @@protoc_insertion_point(field_set_allocated:bhome_msg.MsgProcTopicsAll.local_sublist) } // .bhome_msg.MsgTopicList net_sublist = 6; inline bool MsgProcTopicsAll::_internal_has_net_sublist() const { return this != internal_default_instance() && net_sublist_ != nullptr; } inline bool MsgProcTopicsAll::has_net_sublist() const { return _internal_has_net_sublist(); } inline const ::bhome_msg::MsgTopicList& MsgProcTopicsAll::_internal_net_sublist() const { const ::bhome_msg::MsgTopicList* p = net_sublist_; return p != nullptr ? *p : reinterpret_cast( ::bhome_msg::_MsgTopicList_default_instance_); } inline const ::bhome_msg::MsgTopicList& MsgProcTopicsAll::net_sublist() const { // @@protoc_insertion_point(field_get:bhome_msg.MsgProcTopicsAll.net_sublist) return _internal_net_sublist(); } inline void MsgProcTopicsAll::unsafe_arena_set_allocated_net_sublist( ::bhome_msg::MsgTopicList* net_sublist) { if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(net_sublist_); } net_sublist_ = net_sublist; if (net_sublist) { } else { } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:bhome_msg.MsgProcTopicsAll.net_sublist) } inline ::bhome_msg::MsgTopicList* MsgProcTopicsAll::release_net_sublist() { ::bhome_msg::MsgTopicList* temp = net_sublist_; net_sublist_ = 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 ::bhome_msg::MsgTopicList* MsgProcTopicsAll::unsafe_arena_release_net_sublist() { // @@protoc_insertion_point(field_release:bhome_msg.MsgProcTopicsAll.net_sublist) ::bhome_msg::MsgTopicList* temp = net_sublist_; net_sublist_ = nullptr; return temp; } inline ::bhome_msg::MsgTopicList* MsgProcTopicsAll::_internal_mutable_net_sublist() { if (net_sublist_ == nullptr) { auto* p = CreateMaybeMessage<::bhome_msg::MsgTopicList>(GetArenaForAllocation()); net_sublist_ = p; } return net_sublist_; } inline ::bhome_msg::MsgTopicList* MsgProcTopicsAll::mutable_net_sublist() { ::bhome_msg::MsgTopicList* _msg = _internal_mutable_net_sublist(); // @@protoc_insertion_point(field_mutable:bhome_msg.MsgProcTopicsAll.net_sublist) return _msg; } inline void MsgProcTopicsAll::set_allocated_net_sublist(::bhome_msg::MsgTopicList* net_sublist) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(net_sublist_); } if (net_sublist) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(net_sublist)); if (message_arena != submessage_arena) { net_sublist = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, net_sublist, submessage_arena); } } else { } net_sublist_ = net_sublist; // @@protoc_insertion_point(field_set_allocated:bhome_msg.MsgProcTopicsAll.net_sublist) } // ------------------------------------------------------------------- // MsgDevRegisterInfo // bytes devId = 1; inline void MsgDevRegisterInfo::clear_devid() { devid_.ClearToEmpty(); } inline const std::string& MsgDevRegisterInfo::devid() const { // @@protoc_insertion_point(field_get:bhome_msg.MsgDevRegisterInfo.devId) return _internal_devid(); } template inline PROTOBUF_ALWAYS_INLINE void MsgDevRegisterInfo::set_devid(ArgT0&& arg0, ArgT... args) { devid_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:bhome_msg.MsgDevRegisterInfo.devId) } inline std::string* MsgDevRegisterInfo::mutable_devid() { std::string* _s = _internal_mutable_devid(); // @@protoc_insertion_point(field_mutable:bhome_msg.MsgDevRegisterInfo.devId) return _s; } inline const std::string& MsgDevRegisterInfo::_internal_devid() const { return devid_.Get(); } inline void MsgDevRegisterInfo::_internal_set_devid(const std::string& value) { devid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } inline std::string* MsgDevRegisterInfo::_internal_mutable_devid() { return devid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } inline std::string* MsgDevRegisterInfo::release_devid() { // @@protoc_insertion_point(field_release:bhome_msg.MsgDevRegisterInfo.devId) return devid_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); } inline void MsgDevRegisterInfo::set_allocated_devid(std::string* devid) { if (devid != nullptr) { } else { } devid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), devid, GetArenaForAllocation()); // @@protoc_insertion_point(field_set_allocated:bhome_msg.MsgDevRegisterInfo.devId) } // bytes ip = 2; inline void MsgDevRegisterInfo::clear_ip() { ip_.ClearToEmpty(); } inline const std::string& MsgDevRegisterInfo::ip() const { // @@protoc_insertion_point(field_get:bhome_msg.MsgDevRegisterInfo.ip) return _internal_ip(); } template inline PROTOBUF_ALWAYS_INLINE void MsgDevRegisterInfo::set_ip(ArgT0&& arg0, ArgT... args) { ip_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:bhome_msg.MsgDevRegisterInfo.ip) } inline std::string* MsgDevRegisterInfo::mutable_ip() { std::string* _s = _internal_mutable_ip(); // @@protoc_insertion_point(field_mutable:bhome_msg.MsgDevRegisterInfo.ip) return _s; } inline const std::string& MsgDevRegisterInfo::_internal_ip() const { return ip_.Get(); } inline void MsgDevRegisterInfo::_internal_set_ip(const std::string& value) { ip_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } inline std::string* MsgDevRegisterInfo::_internal_mutable_ip() { return ip_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } inline std::string* MsgDevRegisterInfo::release_ip() { // @@protoc_insertion_point(field_release:bhome_msg.MsgDevRegisterInfo.ip) return ip_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); } inline void MsgDevRegisterInfo::set_allocated_ip(std::string* ip) { if (ip != nullptr) { } else { } ip_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ip, GetArenaForAllocation()); // @@protoc_insertion_point(field_set_allocated:bhome_msg.MsgDevRegisterInfo.ip) } // int32 proxyPort = 3; inline void MsgDevRegisterInfo::clear_proxyport() { proxyport_ = 0; } inline ::PROTOBUF_NAMESPACE_ID::int32 MsgDevRegisterInfo::_internal_proxyport() const { return proxyport_; } inline ::PROTOBUF_NAMESPACE_ID::int32 MsgDevRegisterInfo::proxyport() const { // @@protoc_insertion_point(field_get:bhome_msg.MsgDevRegisterInfo.proxyPort) return _internal_proxyport(); } inline void MsgDevRegisterInfo::_internal_set_proxyport(::PROTOBUF_NAMESPACE_ID::int32 value) { proxyport_ = value; } inline void MsgDevRegisterInfo::set_proxyport(::PROTOBUF_NAMESPACE_ID::int32 value) { _internal_set_proxyport(value); // @@protoc_insertion_point(field_set:bhome_msg.MsgDevRegisterInfo.proxyPort) } // repeated .bhome_msg.MsgProcTopicsAll procInfos = 4; inline int MsgDevRegisterInfo::_internal_procinfos_size() const { return procinfos_.size(); } inline int MsgDevRegisterInfo::procinfos_size() const { return _internal_procinfos_size(); } inline void MsgDevRegisterInfo::clear_procinfos() { procinfos_.Clear(); } inline ::bhome_msg::MsgProcTopicsAll* MsgDevRegisterInfo::mutable_procinfos(int index) { // @@protoc_insertion_point(field_mutable:bhome_msg.MsgDevRegisterInfo.procInfos) return procinfos_.Mutable(index); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::bhome_msg::MsgProcTopicsAll >* MsgDevRegisterInfo::mutable_procinfos() { // @@protoc_insertion_point(field_mutable_list:bhome_msg.MsgDevRegisterInfo.procInfos) return &procinfos_; } inline const ::bhome_msg::MsgProcTopicsAll& MsgDevRegisterInfo::_internal_procinfos(int index) const { return procinfos_.Get(index); } inline const ::bhome_msg::MsgProcTopicsAll& MsgDevRegisterInfo::procinfos(int index) const { // @@protoc_insertion_point(field_get:bhome_msg.MsgDevRegisterInfo.procInfos) return _internal_procinfos(index); } inline ::bhome_msg::MsgProcTopicsAll* MsgDevRegisterInfo::_internal_add_procinfos() { return procinfos_.Add(); } inline ::bhome_msg::MsgProcTopicsAll* MsgDevRegisterInfo::add_procinfos() { ::bhome_msg::MsgProcTopicsAll* _add = _internal_add_procinfos(); // @@protoc_insertion_point(field_add:bhome_msg.MsgDevRegisterInfo.procInfos) return _add; } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::bhome_msg::MsgProcTopicsAll >& MsgDevRegisterInfo::procinfos() const { // @@protoc_insertion_point(field_list:bhome_msg.MsgDevRegisterInfo.procInfos) return procinfos_; } // ------------------------------------------------------------------- // Arr_MsgDevRegisterInfo // repeated .bhome_msg.MsgDevRegisterInfo arr = 1; inline int Arr_MsgDevRegisterInfo::_internal_arr_size() const { return arr_.size(); } inline int Arr_MsgDevRegisterInfo::arr_size() const { return _internal_arr_size(); } inline void Arr_MsgDevRegisterInfo::clear_arr() { arr_.Clear(); } inline ::bhome_msg::MsgDevRegisterInfo* Arr_MsgDevRegisterInfo::mutable_arr(int index) { // @@protoc_insertion_point(field_mutable:bhome_msg.Arr_MsgDevRegisterInfo.arr) return arr_.Mutable(index); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::bhome_msg::MsgDevRegisterInfo >* Arr_MsgDevRegisterInfo::mutable_arr() { // @@protoc_insertion_point(field_mutable_list:bhome_msg.Arr_MsgDevRegisterInfo.arr) return &arr_; } inline const ::bhome_msg::MsgDevRegisterInfo& Arr_MsgDevRegisterInfo::_internal_arr(int index) const { return arr_.Get(index); } inline const ::bhome_msg::MsgDevRegisterInfo& Arr_MsgDevRegisterInfo::arr(int index) const { // @@protoc_insertion_point(field_get:bhome_msg.Arr_MsgDevRegisterInfo.arr) return _internal_arr(index); } inline ::bhome_msg::MsgDevRegisterInfo* Arr_MsgDevRegisterInfo::_internal_add_arr() { return arr_.Add(); } inline ::bhome_msg::MsgDevRegisterInfo* Arr_MsgDevRegisterInfo::add_arr() { ::bhome_msg::MsgDevRegisterInfo* _add = _internal_add_arr(); // @@protoc_insertion_point(field_add:bhome_msg.Arr_MsgDevRegisterInfo.arr) return _add; } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::bhome_msg::MsgDevRegisterInfo >& Arr_MsgDevRegisterInfo::arr() const { // @@protoc_insertion_point(field_list:bhome_msg.Arr_MsgDevRegisterInfo.arr) return arr_; } // ------------------------------------------------------------------- // TopicProcAddr // bytes devId = 1; inline void TopicProcAddr::clear_devid() { devid_.ClearToEmpty(); } inline const std::string& TopicProcAddr::devid() const { // @@protoc_insertion_point(field_get:bhome_msg.TopicProcAddr.devId) return _internal_devid(); } template inline PROTOBUF_ALWAYS_INLINE void TopicProcAddr::set_devid(ArgT0&& arg0, ArgT... args) { devid_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:bhome_msg.TopicProcAddr.devId) } inline std::string* TopicProcAddr::mutable_devid() { std::string* _s = _internal_mutable_devid(); // @@protoc_insertion_point(field_mutable:bhome_msg.TopicProcAddr.devId) return _s; } inline const std::string& TopicProcAddr::_internal_devid() const { return devid_.Get(); } inline void TopicProcAddr::_internal_set_devid(const std::string& value) { devid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } inline std::string* TopicProcAddr::_internal_mutable_devid() { return devid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } inline std::string* TopicProcAddr::release_devid() { // @@protoc_insertion_point(field_release:bhome_msg.TopicProcAddr.devId) return devid_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); } inline void TopicProcAddr::set_allocated_devid(std::string* devid) { if (devid != nullptr) { } else { } devid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), devid, GetArenaForAllocation()); // @@protoc_insertion_point(field_set_allocated:bhome_msg.TopicProcAddr.devId) } // bytes ip = 2; inline void TopicProcAddr::clear_ip() { ip_.ClearToEmpty(); } inline const std::string& TopicProcAddr::ip() const { // @@protoc_insertion_point(field_get:bhome_msg.TopicProcAddr.ip) return _internal_ip(); } template inline PROTOBUF_ALWAYS_INLINE void TopicProcAddr::set_ip(ArgT0&& arg0, ArgT... args) { ip_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:bhome_msg.TopicProcAddr.ip) } inline std::string* TopicProcAddr::mutable_ip() { std::string* _s = _internal_mutable_ip(); // @@protoc_insertion_point(field_mutable:bhome_msg.TopicProcAddr.ip) return _s; } inline const std::string& TopicProcAddr::_internal_ip() const { return ip_.Get(); } inline void TopicProcAddr::_internal_set_ip(const std::string& value) { ip_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } inline std::string* TopicProcAddr::_internal_mutable_ip() { return ip_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } inline std::string* TopicProcAddr::release_ip() { // @@protoc_insertion_point(field_release:bhome_msg.TopicProcAddr.ip) return ip_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); } inline void TopicProcAddr::set_allocated_ip(std::string* ip) { if (ip != nullptr) { } else { } ip_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ip, GetArenaForAllocation()); // @@protoc_insertion_point(field_set_allocated:bhome_msg.TopicProcAddr.ip) } // bytes procId = 3; inline void TopicProcAddr::clear_procid() { procid_.ClearToEmpty(); } inline const std::string& TopicProcAddr::procid() const { // @@protoc_insertion_point(field_get:bhome_msg.TopicProcAddr.procId) return _internal_procid(); } template inline PROTOBUF_ALWAYS_INLINE void TopicProcAddr::set_procid(ArgT0&& arg0, ArgT... args) { procid_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:bhome_msg.TopicProcAddr.procId) } inline std::string* TopicProcAddr::mutable_procid() { std::string* _s = _internal_mutable_procid(); // @@protoc_insertion_point(field_mutable:bhome_msg.TopicProcAddr.procId) return _s; } inline const std::string& TopicProcAddr::_internal_procid() const { return procid_.Get(); } inline void TopicProcAddr::_internal_set_procid(const std::string& value) { procid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } inline std::string* TopicProcAddr::_internal_mutable_procid() { return procid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } inline std::string* TopicProcAddr::release_procid() { // @@protoc_insertion_point(field_release:bhome_msg.TopicProcAddr.procId) return procid_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); } inline void TopicProcAddr::set_allocated_procid(std::string* procid) { if (procid != nullptr) { } else { } procid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), procid, GetArenaForAllocation()); // @@protoc_insertion_point(field_set_allocated:bhome_msg.TopicProcAddr.procId) } // int32 port = 4; inline void TopicProcAddr::clear_port() { port_ = 0; } inline ::PROTOBUF_NAMESPACE_ID::int32 TopicProcAddr::_internal_port() const { return port_; } inline ::PROTOBUF_NAMESPACE_ID::int32 TopicProcAddr::port() const { // @@protoc_insertion_point(field_get:bhome_msg.TopicProcAddr.port) return _internal_port(); } inline void TopicProcAddr::_internal_set_port(::PROTOBUF_NAMESPACE_ID::int32 value) { port_ = value; } inline void TopicProcAddr::set_port(::PROTOBUF_NAMESPACE_ID::int32 value) { _internal_set_port(value); // @@protoc_insertion_point(field_set:bhome_msg.TopicProcAddr.port) } // ------------------------------------------------------------------- // TopicQueryNodeAddr // repeated .bhome_msg.TopicProcAddr addrs = 1; inline int TopicQueryNodeAddr::_internal_addrs_size() const { return addrs_.size(); } inline int TopicQueryNodeAddr::addrs_size() const { return _internal_addrs_size(); } inline void TopicQueryNodeAddr::clear_addrs() { addrs_.Clear(); } inline ::bhome_msg::TopicProcAddr* TopicQueryNodeAddr::mutable_addrs(int index) { // @@protoc_insertion_point(field_mutable:bhome_msg.TopicQueryNodeAddr.addrs) return addrs_.Mutable(index); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::bhome_msg::TopicProcAddr >* TopicQueryNodeAddr::mutable_addrs() { // @@protoc_insertion_point(field_mutable_list:bhome_msg.TopicQueryNodeAddr.addrs) return &addrs_; } inline const ::bhome_msg::TopicProcAddr& TopicQueryNodeAddr::_internal_addrs(int index) const { return addrs_.Get(index); } inline const ::bhome_msg::TopicProcAddr& TopicQueryNodeAddr::addrs(int index) const { // @@protoc_insertion_point(field_get:bhome_msg.TopicQueryNodeAddr.addrs) return _internal_addrs(index); } inline ::bhome_msg::TopicProcAddr* TopicQueryNodeAddr::_internal_add_addrs() { return addrs_.Add(); } inline ::bhome_msg::TopicProcAddr* TopicQueryNodeAddr::add_addrs() { ::bhome_msg::TopicProcAddr* _add = _internal_add_addrs(); // @@protoc_insertion_point(field_add:bhome_msg.TopicQueryNodeAddr.addrs) return _add; } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::bhome_msg::TopicProcAddr >& TopicQueryNodeAddr::addrs() const { // @@protoc_insertion_point(field_list:bhome_msg.TopicQueryNodeAddr.addrs) return addrs_; } #ifdef __GNUC__ #pragma GCC diagnostic pop #endif // __GNUC__ // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // @@protoc_insertion_point(namespace_scope) } // namespace bhome_msg // @@protoc_insertion_point(global_scope) #include #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_bhome_5fmsg_5fdev_2eproto