// Generated by the protocol buffer compiler. DO NOT EDIT! // source: protocol.proto #ifndef GOOGLE_PROTOBUF_INCLUDED_protocol_2eproto #define GOOGLE_PROTOBUF_INCLUDED_protocol_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 #include // IWYU pragma: export #include // IWYU pragma: export #include #include // @@protoc_insertion_point(includes) #include #define PROTOBUF_INTERNAL_EXPORT_protocol_2eproto PROTOBUF_NAMESPACE_OPEN namespace internal { class AnyMetadata; } // namespace internal PROTOBUF_NAMESPACE_CLOSE // Internal implementation detail -- do not use these members. struct TableStruct_protocol_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[41] 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_protocol_2eproto; namespace RemoNet { class Answer; struct AnswerDefaultTypeInternal; extern AnswerDefaultTypeInternal _Answer_default_instance_; class CCAskDataChannel; struct CCAskDataChannelDefaultTypeInternal; extern CCAskDataChannelDefaultTypeInternal _CCAskDataChannel_default_instance_; class CCCanMsg; struct CCCanMsgDefaultTypeInternal; extern CCCanMsgDefaultTypeInternal _CCCanMsg_default_instance_; class CCPing; struct CCPingDefaultTypeInternal; extern CCPingDefaultTypeInternal _CCPing_default_instance_; class CCSensor; struct CCSensorDefaultTypeInternal; extern CCSensorDefaultTypeInternal _CCSensor_default_instance_; class CCSwitch; struct CCSwitchDefaultTypeInternal; extern CCSwitchDefaultTypeInternal _CCSwitch_default_instance_; class CSAdd; struct CSAddDefaultTypeInternal; extern CSAddDefaultTypeInternal _CSAdd_default_instance_; class CSMoveBegin; struct CSMoveBeginDefaultTypeInternal; extern CSMoveBeginDefaultTypeInternal _CSMoveBegin_default_instance_; class CSMoveEnd; struct CSMoveEndDefaultTypeInternal; extern CSMoveEndDefaultTypeInternal _CSMoveEnd_default_instance_; class CSRep; struct CSRepDefaultTypeInternal; extern CSRepDefaultTypeInternal _CSRep_default_instance_; class CSReq; struct CSReqDefaultTypeInternal; extern CSReqDefaultTypeInternal _CSReq_default_instance_; class CSRobot; struct CSRobotDefaultTypeInternal; extern CSRobotDefaultTypeInternal _CSRobot_default_instance_; class CSSign; struct CSSignDefaultTypeInternal; extern CSSignDefaultTypeInternal _CSSign_default_instance_; class CSState; struct CSStateDefaultTypeInternal; extern CSStateDefaultTypeInternal _CSState_default_instance_; class Candidate; struct CandidateDefaultTypeInternal; extern CandidateDefaultTypeInternal _Candidate_default_instance_; class Close; struct CloseDefaultTypeInternal; extern CloseDefaultTypeInternal _Close_default_instance_; class Leave; struct LeaveDefaultTypeInternal; extern LeaveDefaultTypeInternal _Leave_default_instance_; class LidarPoint; struct LidarPointDefaultTypeInternal; extern LidarPointDefaultTypeInternal _LidarPoint_default_instance_; class MoveRet; struct MoveRetDefaultTypeInternal; extern MoveRetDefaultTypeInternal _MoveRet_default_instance_; class NDTPos; struct NDTPosDefaultTypeInternal; extern NDTPosDefaultTypeInternal _NDTPos_default_instance_; class Offer; struct OfferDefaultTypeInternal; extern OfferDefaultTypeInternal _Offer_default_instance_; class Robot; struct RobotDefaultTypeInternal; extern RobotDefaultTypeInternal _Robot_default_instance_; class SCAdd; struct SCAddDefaultTypeInternal; extern SCAddDefaultTypeInternal _SCAdd_default_instance_; class SCAddRobot; struct SCAddRobotDefaultTypeInternal; extern SCAddRobotDefaultTypeInternal _SCAddRobot_default_instance_; class SCDelRobot; struct SCDelRobotDefaultTypeInternal; extern SCDelRobotDefaultTypeInternal _SCDelRobot_default_instance_; class SCKickOff; struct SCKickOffDefaultTypeInternal; extern SCKickOffDefaultTypeInternal _SCKickOff_default_instance_; class SCMoveBegin; struct SCMoveBeginDefaultTypeInternal; extern SCMoveBeginDefaultTypeInternal _SCMoveBegin_default_instance_; class SCMoveEnd; struct SCMoveEndDefaultTypeInternal; extern SCMoveEndDefaultTypeInternal _SCMoveEnd_default_instance_; class SCRep; struct SCRepDefaultTypeInternal; extern SCRepDefaultTypeInternal _SCRep_default_instance_; class SCReq; struct SCReqDefaultTypeInternal; extern SCReqDefaultTypeInternal _SCReq_default_instance_; class SCRobot; struct SCRobotDefaultTypeInternal; extern SCRobotDefaultTypeInternal _SCRobot_default_instance_; class SCSign; struct SCSignDefaultTypeInternal; extern SCSignDefaultTypeInternal _SCSign_default_instance_; class SCState; struct SCStateDefaultTypeInternal; extern SCStateDefaultTypeInternal _SCState_default_instance_; class SensorStop; struct SensorStopDefaultTypeInternal; extern SensorStopDefaultTypeInternal _SensorStop_default_instance_; class State; struct StateDefaultTypeInternal; extern StateDefaultTypeInternal _State_default_instance_; class StopAck; struct StopAckDefaultTypeInternal; extern StopAckDefaultTypeInternal _StopAck_default_instance_; class SwitchDriver; struct SwitchDriverDefaultTypeInternal; extern SwitchDriverDefaultTypeInternal _SwitchDriver_default_instance_; class SyncTime; struct SyncTimeDefaultTypeInternal; extern SyncTimeDefaultTypeInternal _SyncTime_default_instance_; class TestTextReq; struct TestTextReqDefaultTypeInternal; extern TestTextReqDefaultTypeInternal _TestTextReq_default_instance_; class can_net_frame; struct can_net_frameDefaultTypeInternal; extern can_net_frameDefaultTypeInternal _can_net_frame_default_instance_; class radar_node; struct radar_nodeDefaultTypeInternal; extern radar_nodeDefaultTypeInternal _radar_node_default_instance_; } // namespace RemoNet PROTOBUF_NAMESPACE_OPEN template<> ::RemoNet::Answer* Arena::CreateMaybeMessage<::RemoNet::Answer>(Arena*); template<> ::RemoNet::CCAskDataChannel* Arena::CreateMaybeMessage<::RemoNet::CCAskDataChannel>(Arena*); template<> ::RemoNet::CCCanMsg* Arena::CreateMaybeMessage<::RemoNet::CCCanMsg>(Arena*); template<> ::RemoNet::CCPing* Arena::CreateMaybeMessage<::RemoNet::CCPing>(Arena*); template<> ::RemoNet::CCSensor* Arena::CreateMaybeMessage<::RemoNet::CCSensor>(Arena*); template<> ::RemoNet::CCSwitch* Arena::CreateMaybeMessage<::RemoNet::CCSwitch>(Arena*); template<> ::RemoNet::CSAdd* Arena::CreateMaybeMessage<::RemoNet::CSAdd>(Arena*); template<> ::RemoNet::CSMoveBegin* Arena::CreateMaybeMessage<::RemoNet::CSMoveBegin>(Arena*); template<> ::RemoNet::CSMoveEnd* Arena::CreateMaybeMessage<::RemoNet::CSMoveEnd>(Arena*); template<> ::RemoNet::CSRep* Arena::CreateMaybeMessage<::RemoNet::CSRep>(Arena*); template<> ::RemoNet::CSReq* Arena::CreateMaybeMessage<::RemoNet::CSReq>(Arena*); template<> ::RemoNet::CSRobot* Arena::CreateMaybeMessage<::RemoNet::CSRobot>(Arena*); template<> ::RemoNet::CSSign* Arena::CreateMaybeMessage<::RemoNet::CSSign>(Arena*); template<> ::RemoNet::CSState* Arena::CreateMaybeMessage<::RemoNet::CSState>(Arena*); template<> ::RemoNet::Candidate* Arena::CreateMaybeMessage<::RemoNet::Candidate>(Arena*); template<> ::RemoNet::Close* Arena::CreateMaybeMessage<::RemoNet::Close>(Arena*); template<> ::RemoNet::Leave* Arena::CreateMaybeMessage<::RemoNet::Leave>(Arena*); template<> ::RemoNet::LidarPoint* Arena::CreateMaybeMessage<::RemoNet::LidarPoint>(Arena*); template<> ::RemoNet::MoveRet* Arena::CreateMaybeMessage<::RemoNet::MoveRet>(Arena*); template<> ::RemoNet::NDTPos* Arena::CreateMaybeMessage<::RemoNet::NDTPos>(Arena*); template<> ::RemoNet::Offer* Arena::CreateMaybeMessage<::RemoNet::Offer>(Arena*); template<> ::RemoNet::Robot* Arena::CreateMaybeMessage<::RemoNet::Robot>(Arena*); template<> ::RemoNet::SCAdd* Arena::CreateMaybeMessage<::RemoNet::SCAdd>(Arena*); template<> ::RemoNet::SCAddRobot* Arena::CreateMaybeMessage<::RemoNet::SCAddRobot>(Arena*); template<> ::RemoNet::SCDelRobot* Arena::CreateMaybeMessage<::RemoNet::SCDelRobot>(Arena*); template<> ::RemoNet::SCKickOff* Arena::CreateMaybeMessage<::RemoNet::SCKickOff>(Arena*); template<> ::RemoNet::SCMoveBegin* Arena::CreateMaybeMessage<::RemoNet::SCMoveBegin>(Arena*); template<> ::RemoNet::SCMoveEnd* Arena::CreateMaybeMessage<::RemoNet::SCMoveEnd>(Arena*); template<> ::RemoNet::SCRep* Arena::CreateMaybeMessage<::RemoNet::SCRep>(Arena*); template<> ::RemoNet::SCReq* Arena::CreateMaybeMessage<::RemoNet::SCReq>(Arena*); template<> ::RemoNet::SCRobot* Arena::CreateMaybeMessage<::RemoNet::SCRobot>(Arena*); template<> ::RemoNet::SCSign* Arena::CreateMaybeMessage<::RemoNet::SCSign>(Arena*); template<> ::RemoNet::SCState* Arena::CreateMaybeMessage<::RemoNet::SCState>(Arena*); template<> ::RemoNet::SensorStop* Arena::CreateMaybeMessage<::RemoNet::SensorStop>(Arena*); template<> ::RemoNet::State* Arena::CreateMaybeMessage<::RemoNet::State>(Arena*); template<> ::RemoNet::StopAck* Arena::CreateMaybeMessage<::RemoNet::StopAck>(Arena*); template<> ::RemoNet::SwitchDriver* Arena::CreateMaybeMessage<::RemoNet::SwitchDriver>(Arena*); template<> ::RemoNet::SyncTime* Arena::CreateMaybeMessage<::RemoNet::SyncTime>(Arena*); template<> ::RemoNet::TestTextReq* Arena::CreateMaybeMessage<::RemoNet::TestTextReq>(Arena*); template<> ::RemoNet::can_net_frame* Arena::CreateMaybeMessage<::RemoNet::can_net_frame>(Arena*); template<> ::RemoNet::radar_node* Arena::CreateMaybeMessage<::RemoNet::radar_node>(Arena*); PROTOBUF_NAMESPACE_CLOSE namespace RemoNet { enum CSMessage : int { CS_NONE = 0, CS_Sign = 2000, CS_Req = 2001, CS_Rep = 2002, CS_CancelReq = 2003, CS_Offer = 2004, CS_Answer = 2005, CS_Candidate = 2006, CS_Leave = 2007, CS_KeepAlive = 2008, CS_Add = 2009, CS_Robot = 2010, CS_CloseVideo = 2011, CS_MoveBegin = 2012, CS_MoveEnd = 2013, CS_State = 2014, CS_SwitchDriver = 2015, CS_MoveRet = 2016, CS_SyncTime = 2017, CSMessage_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits::min(), CSMessage_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits::max() }; bool CSMessage_IsValid(int value); constexpr CSMessage CSMessage_MIN = CS_NONE; constexpr CSMessage CSMessage_MAX = CS_SyncTime; constexpr int CSMessage_ARRAYSIZE = CSMessage_MAX + 1; const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CSMessage_descriptor(); template inline const std::string& CSMessage_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function CSMessage_Name."); return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( CSMessage_descriptor(), enum_t_value); } inline bool CSMessage_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CSMessage* value) { return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( CSMessage_descriptor(), name, value); } enum SCMessage : int { SC_NONE = 0, SC_Sign = 4000, SC_Req = 4001, SC_Rep = 4002, SC_Cancel = 4003, SC_Offer = 4004, SC_Answer = 4005, SC_Candidate = 4006, SC_Add = 4007, SC_Robot = 4008, SC_NotifyReq = 4009, SC_NotifyRep = 4010, SC_NotifyAnswer = 4011, SC_NotifyOffer = 4012, SC_NotifyCandidate = 4013, SC_NotifyLeave = 4014, SC_NotifyCancel = 4015, SC_NotifyAdd = 4016, SC_NotifyDel = 4017, SC_NotifyCloseVideo = 4018, SC_KickOff = 4019, SC_MoveBegin = 4020, SC_MoveEnd = 4021, SC_State = 4022, SC_SwitchDriver = 4023, SC_MoveRet = 4024, SC_NotifyState = 4025, SC_SyncTime = 4026, SCMessage_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits::min(), SCMessage_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits::max() }; bool SCMessage_IsValid(int value); constexpr SCMessage SCMessage_MIN = SC_NONE; constexpr SCMessage SCMessage_MAX = SC_SyncTime; constexpr int SCMessage_ARRAYSIZE = SCMessage_MAX + 1; const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* SCMessage_descriptor(); template inline const std::string& SCMessage_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function SCMessage_Name."); return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( SCMessage_descriptor(), enum_t_value); } inline bool SCMessage_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SCMessage* value) { return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( SCMessage_descriptor(), name, value); } enum CCMessage : int { CC_None = 0, CC_Text = 8000, CC_ASKDATACHANNEL = 8003, CC_Manipulation = 8004, CC_Radar = 8005, CC_Switch = 8006, CC_Ping = 8007, CC_SensorStop = 8008, CC_StopACK = 8009, CC_Lidar = 8010, CC_CANMSG = 8011, CC_STATE = 8012, CC_NDTPOS = 8013, CCMessage_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits::min(), CCMessage_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits::max() }; bool CCMessage_IsValid(int value); constexpr CCMessage CCMessage_MIN = CC_None; constexpr CCMessage CCMessage_MAX = CC_NDTPOS; constexpr int CCMessage_ARRAYSIZE = CCMessage_MAX + 1; const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CCMessage_descriptor(); template inline const std::string& CCMessage_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function CCMessage_Name."); return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( CCMessage_descriptor(), enum_t_value); } inline bool CCMessage_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CCMessage* value) { return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( CCMessage_descriptor(), name, value); } enum VideoDesc : int { OK = 0, Busy = 1, Reject = 2, NoFound = 3, IsVideoing = 4, VideoDesc_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits::min(), VideoDesc_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits::max() }; bool VideoDesc_IsValid(int value); constexpr VideoDesc VideoDesc_MIN = OK; constexpr VideoDesc VideoDesc_MAX = IsVideoing; constexpr int VideoDesc_ARRAYSIZE = VideoDesc_MAX + 1; const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* VideoDesc_descriptor(); template inline const std::string& VideoDesc_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function VideoDesc_Name."); return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( VideoDesc_descriptor(), enum_t_value); } inline bool VideoDesc_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, VideoDesc* value) { return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( VideoDesc_descriptor(), name, value); } enum MoveDesc : int { Move_OK = 0, Move_Encode_Fail = 1, Move_Unknow_Faile = 2, MoveDesc_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits::min(), MoveDesc_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits::max() }; bool MoveDesc_IsValid(int value); constexpr MoveDesc MoveDesc_MIN = Move_OK; constexpr MoveDesc MoveDesc_MAX = Move_Unknow_Faile; constexpr int MoveDesc_ARRAYSIZE = MoveDesc_MAX + 1; const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* MoveDesc_descriptor(); template inline const std::string& MoveDesc_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function MoveDesc_Name."); return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( MoveDesc_descriptor(), enum_t_value); } inline bool MoveDesc_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, MoveDesc* value) { return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( MoveDesc_descriptor(), name, value); } enum UserState : int { Offline = 0, Idle = 1, Remote = 2, Automotive = 3, AskRemote = 4, UserState_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits::min(), UserState_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits::max() }; bool UserState_IsValid(int value); constexpr UserState UserState_MIN = Offline; constexpr UserState UserState_MAX = AskRemote; constexpr int UserState_ARRAYSIZE = UserState_MAX + 1; const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* UserState_descriptor(); template inline const std::string& UserState_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function UserState_Name."); return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( UserState_descriptor(), enum_t_value); } inline bool UserState_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, UserState* value) { return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( UserState_descriptor(), name, value); } // =================================================================== class SwitchDriver final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SwitchDriver) */ { public: inline SwitchDriver() : SwitchDriver(nullptr) {} ~SwitchDriver() override; explicit constexpr SwitchDriver(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); SwitchDriver(const SwitchDriver& from); SwitchDriver(SwitchDriver&& from) noexcept : SwitchDriver() { *this = ::std::move(from); } inline SwitchDriver& operator=(const SwitchDriver& from) { CopyFrom(from); return *this; } inline SwitchDriver& operator=(SwitchDriver&& 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 SwitchDriver& default_instance() { return *internal_default_instance(); } static inline const SwitchDriver* internal_default_instance() { return reinterpret_cast( &_SwitchDriver_default_instance_); } static constexpr int kIndexInFileMessages = 0; friend void swap(SwitchDriver& a, SwitchDriver& b) { a.Swap(&b); } inline void Swap(SwitchDriver* 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(SwitchDriver* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- SwitchDriver* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const SwitchDriver& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; void MergeFrom(const SwitchDriver& 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(SwitchDriver* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "RemoNet.SwitchDriver"; } protected: explicit SwitchDriver(::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 { kPeerFieldNumber = 1, }; // int32 peer = 1; void clear_peer(); int32_t peer() const; void set_peer(int32_t value); private: int32_t _internal_peer() const; void _internal_set_peer(int32_t value); public: // @@protoc_insertion_point(class_scope:RemoNet.SwitchDriver) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; int32_t peer_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_protocol_2eproto; }; // ------------------------------------------------------------------- class NDTPos final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.NDTPos) */ { public: inline NDTPos() : NDTPos(nullptr) {} ~NDTPos() override; explicit constexpr NDTPos(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); NDTPos(const NDTPos& from); NDTPos(NDTPos&& from) noexcept : NDTPos() { *this = ::std::move(from); } inline NDTPos& operator=(const NDTPos& from) { CopyFrom(from); return *this; } inline NDTPos& operator=(NDTPos&& 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 NDTPos& default_instance() { return *internal_default_instance(); } static inline const NDTPos* internal_default_instance() { return reinterpret_cast( &_NDTPos_default_instance_); } static constexpr int kIndexInFileMessages = 1; friend void swap(NDTPos& a, NDTPos& b) { a.Swap(&b); } inline void Swap(NDTPos* 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(NDTPos* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- NDTPos* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const NDTPos& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; void MergeFrom(const NDTPos& 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(NDTPos* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "RemoNet.NDTPos"; } protected: explicit NDTPos(::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 { kXFieldNumber = 1, kYFieldNumber = 2, kZFieldNumber = 3, kRxFieldNumber = 4, kRyFieldNumber = 5, kRzFieldNumber = 6, kRwFieldNumber = 7, }; // float x = 1; void clear_x(); float x() const; void set_x(float value); private: float _internal_x() const; void _internal_set_x(float value); public: // float y = 2; void clear_y(); float y() const; void set_y(float value); private: float _internal_y() const; void _internal_set_y(float value); public: // float z = 3; void clear_z(); float z() const; void set_z(float value); private: float _internal_z() const; void _internal_set_z(float value); public: // float rx = 4; void clear_rx(); float rx() const; void set_rx(float value); private: float _internal_rx() const; void _internal_set_rx(float value); public: // float ry = 5; void clear_ry(); float ry() const; void set_ry(float value); private: float _internal_ry() const; void _internal_set_ry(float value); public: // float rz = 6; void clear_rz(); float rz() const; void set_rz(float value); private: float _internal_rz() const; void _internal_set_rz(float value); public: // float rw = 7; void clear_rw(); float rw() const; void set_rw(float value); private: float _internal_rw() const; void _internal_set_rw(float value); public: // @@protoc_insertion_point(class_scope:RemoNet.NDTPos) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; float x_; float y_; float z_; float rx_; float ry_; float rz_; float rw_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_protocol_2eproto; }; // ------------------------------------------------------------------- class CSMoveBegin final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSMoveBegin) */ { public: inline CSMoveBegin() : CSMoveBegin(nullptr) {} ~CSMoveBegin() override; explicit constexpr CSMoveBegin(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); CSMoveBegin(const CSMoveBegin& from); CSMoveBegin(CSMoveBegin&& from) noexcept : CSMoveBegin() { *this = ::std::move(from); } inline CSMoveBegin& operator=(const CSMoveBegin& from) { CopyFrom(from); return *this; } inline CSMoveBegin& operator=(CSMoveBegin&& 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 CSMoveBegin& default_instance() { return *internal_default_instance(); } static inline const CSMoveBegin* internal_default_instance() { return reinterpret_cast( &_CSMoveBegin_default_instance_); } static constexpr int kIndexInFileMessages = 2; friend void swap(CSMoveBegin& a, CSMoveBegin& b) { a.Swap(&b); } inline void Swap(CSMoveBegin* 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(CSMoveBegin* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- CSMoveBegin* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const CSMoveBegin& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; void MergeFrom(const CSMoveBegin& 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(CSMoveBegin* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "RemoNet.CSMoveBegin"; } protected: explicit CSMoveBegin(::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 { kPeerFieldNumber = 1, kAreaFieldNumber = 2, kNoFieldNumber = 3, }; // int32 peer = 1; void clear_peer(); int32_t peer() const; void set_peer(int32_t value); private: int32_t _internal_peer() const; void _internal_set_peer(int32_t value); public: // int32 area = 2; void clear_area(); int32_t area() const; void set_area(int32_t value); private: int32_t _internal_area() const; void _internal_set_area(int32_t value); public: // int32 no = 3; void clear_no(); int32_t no() const; void set_no(int32_t value); private: int32_t _internal_no() const; void _internal_set_no(int32_t value); public: // @@protoc_insertion_point(class_scope:RemoNet.CSMoveBegin) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; int32_t peer_; int32_t area_; int32_t no_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_protocol_2eproto; }; // ------------------------------------------------------------------- class MoveRet final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.MoveRet) */ { public: inline MoveRet() : MoveRet(nullptr) {} ~MoveRet() override; explicit constexpr MoveRet(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); MoveRet(const MoveRet& from); MoveRet(MoveRet&& from) noexcept : MoveRet() { *this = ::std::move(from); } inline MoveRet& operator=(const MoveRet& from) { CopyFrom(from); return *this; } inline MoveRet& operator=(MoveRet&& 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 MoveRet& default_instance() { return *internal_default_instance(); } static inline const MoveRet* internal_default_instance() { return reinterpret_cast( &_MoveRet_default_instance_); } static constexpr int kIndexInFileMessages = 3; friend void swap(MoveRet& a, MoveRet& b) { a.Swap(&b); } inline void Swap(MoveRet* 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(MoveRet* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- MoveRet* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const MoveRet& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; void MergeFrom(const MoveRet& 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(MoveRet* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "RemoNet.MoveRet"; } protected: explicit MoveRet(::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 { kDescFieldNumber = 1, kPeerFieldNumber = 2, }; // .RemoNet.MoveDesc desc = 1; void clear_desc(); ::RemoNet::MoveDesc desc() const; void set_desc(::RemoNet::MoveDesc value); private: ::RemoNet::MoveDesc _internal_desc() const; void _internal_set_desc(::RemoNet::MoveDesc value); public: // int32 peer = 2; void clear_peer(); int32_t peer() const; void set_peer(int32_t value); private: int32_t _internal_peer() const; void _internal_set_peer(int32_t value); public: // @@protoc_insertion_point(class_scope:RemoNet.MoveRet) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; int desc_; int32_t peer_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_protocol_2eproto; }; // ------------------------------------------------------------------- class CSMoveEnd final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSMoveEnd) */ { public: inline CSMoveEnd() : CSMoveEnd(nullptr) {} ~CSMoveEnd() override; explicit constexpr CSMoveEnd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); CSMoveEnd(const CSMoveEnd& from); CSMoveEnd(CSMoveEnd&& from) noexcept : CSMoveEnd() { *this = ::std::move(from); } inline CSMoveEnd& operator=(const CSMoveEnd& from) { CopyFrom(from); return *this; } inline CSMoveEnd& operator=(CSMoveEnd&& 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 CSMoveEnd& default_instance() { return *internal_default_instance(); } static inline const CSMoveEnd* internal_default_instance() { return reinterpret_cast( &_CSMoveEnd_default_instance_); } static constexpr int kIndexInFileMessages = 4; friend void swap(CSMoveEnd& a, CSMoveEnd& b) { a.Swap(&b); } inline void Swap(CSMoveEnd* 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(CSMoveEnd* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- CSMoveEnd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const CSMoveEnd& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; void MergeFrom(const CSMoveEnd& 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(CSMoveEnd* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "RemoNet.CSMoveEnd"; } protected: explicit CSMoveEnd(::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 { kAreaFieldNumber = 1, kNoFieldNumber = 2, kUidFieldNumber = 3, }; // int32 area = 1; void clear_area(); int32_t area() const; void set_area(int32_t value); private: int32_t _internal_area() const; void _internal_set_area(int32_t value); public: // int32 no = 2; void clear_no(); int32_t no() const; void set_no(int32_t value); private: int32_t _internal_no() const; void _internal_set_no(int32_t value); public: // int32 uid = 3; void clear_uid(); int32_t uid() const; void set_uid(int32_t value); private: int32_t _internal_uid() const; void _internal_set_uid(int32_t value); public: // @@protoc_insertion_point(class_scope:RemoNet.CSMoveEnd) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; int32_t area_; int32_t no_; int32_t uid_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_protocol_2eproto; }; // ------------------------------------------------------------------- class SCMoveBegin final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCMoveBegin) */ { public: inline SCMoveBegin() : SCMoveBegin(nullptr) {} ~SCMoveBegin() override; explicit constexpr SCMoveBegin(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); SCMoveBegin(const SCMoveBegin& from); SCMoveBegin(SCMoveBegin&& from) noexcept : SCMoveBegin() { *this = ::std::move(from); } inline SCMoveBegin& operator=(const SCMoveBegin& from) { CopyFrom(from); return *this; } inline SCMoveBegin& operator=(SCMoveBegin&& 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 SCMoveBegin& default_instance() { return *internal_default_instance(); } static inline const SCMoveBegin* internal_default_instance() { return reinterpret_cast( &_SCMoveBegin_default_instance_); } static constexpr int kIndexInFileMessages = 5; friend void swap(SCMoveBegin& a, SCMoveBegin& b) { a.Swap(&b); } inline void Swap(SCMoveBegin* 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(SCMoveBegin* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- SCMoveBegin* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const SCMoveBegin& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; void MergeFrom(const SCMoveBegin& 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(SCMoveBegin* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "RemoNet.SCMoveBegin"; } protected: explicit SCMoveBegin(::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 { kUidFieldNumber = 1, kAreaFieldNumber = 2, kNoFieldNumber = 3, kXFieldNumber = 4, kYFieldNumber = 5, }; // int32 uid = 1; void clear_uid(); int32_t uid() const; void set_uid(int32_t value); private: int32_t _internal_uid() const; void _internal_set_uid(int32_t value); public: // int32 area = 2; void clear_area(); int32_t area() const; void set_area(int32_t value); private: int32_t _internal_area() const; void _internal_set_area(int32_t value); public: // int32 no = 3; void clear_no(); int32_t no() const; void set_no(int32_t value); private: int32_t _internal_no() const; void _internal_set_no(int32_t value); public: // float x = 4; void clear_x(); float x() const; void set_x(float value); private: float _internal_x() const; void _internal_set_x(float value); public: // float y = 5; void clear_y(); float y() const; void set_y(float value); private: float _internal_y() const; void _internal_set_y(float value); public: // @@protoc_insertion_point(class_scope:RemoNet.SCMoveBegin) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; int32_t uid_; int32_t area_; int32_t no_; float x_; float y_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_protocol_2eproto; }; // ------------------------------------------------------------------- class SCMoveEnd final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCMoveEnd) */ { public: inline SCMoveEnd() : SCMoveEnd(nullptr) {} ~SCMoveEnd() override; explicit constexpr SCMoveEnd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); SCMoveEnd(const SCMoveEnd& from); SCMoveEnd(SCMoveEnd&& from) noexcept : SCMoveEnd() { *this = ::std::move(from); } inline SCMoveEnd& operator=(const SCMoveEnd& from) { CopyFrom(from); return *this; } inline SCMoveEnd& operator=(SCMoveEnd&& 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 SCMoveEnd& default_instance() { return *internal_default_instance(); } static inline const SCMoveEnd* internal_default_instance() { return reinterpret_cast( &_SCMoveEnd_default_instance_); } static constexpr int kIndexInFileMessages = 6; friend void swap(SCMoveEnd& a, SCMoveEnd& b) { a.Swap(&b); } inline void Swap(SCMoveEnd* 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(SCMoveEnd* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- SCMoveEnd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const SCMoveEnd& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; void MergeFrom(const SCMoveEnd& 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(SCMoveEnd* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "RemoNet.SCMoveEnd"; } protected: explicit SCMoveEnd(::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 { kAreaFieldNumber = 1, kNoFieldNumber = 2, kUidFieldNumber = 3, }; // int32 area = 1; void clear_area(); int32_t area() const; void set_area(int32_t value); private: int32_t _internal_area() const; void _internal_set_area(int32_t value); public: // int32 no = 2; void clear_no(); int32_t no() const; void set_no(int32_t value); private: int32_t _internal_no() const; void _internal_set_no(int32_t value); public: // int32 uid = 3; void clear_uid(); int32_t uid() const; void set_uid(int32_t value); private: int32_t _internal_uid() const; void _internal_set_uid(int32_t value); public: // @@protoc_insertion_point(class_scope:RemoNet.SCMoveEnd) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; int32_t area_; int32_t no_; int32_t uid_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_protocol_2eproto; }; // ------------------------------------------------------------------- class CSAdd final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSAdd) */ { public: inline CSAdd() : CSAdd(nullptr) {} ~CSAdd() override; explicit constexpr CSAdd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); CSAdd(const CSAdd& from); CSAdd(CSAdd&& from) noexcept : CSAdd() { *this = ::std::move(from); } inline CSAdd& operator=(const CSAdd& from) { CopyFrom(from); return *this; } inline CSAdd& operator=(CSAdd&& 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 CSAdd& default_instance() { return *internal_default_instance(); } static inline const CSAdd* internal_default_instance() { return reinterpret_cast( &_CSAdd_default_instance_); } static constexpr int kIndexInFileMessages = 7; friend void swap(CSAdd& a, CSAdd& b) { a.Swap(&b); } inline void Swap(CSAdd* 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(CSAdd* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- CSAdd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const CSAdd& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; void MergeFrom(const CSAdd& 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(CSAdd* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "RemoNet.CSAdd"; } protected: explicit CSAdd(::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 { kSerialFieldNumber = 1, kNameFieldNumber = 3, kTypeFieldNumber = 2, kCarFieldNumber = 4, }; // string serial = 1; void clear_serial(); const std::string& serial() const; template void set_serial(ArgT0&& arg0, ArgT... args); std::string* mutable_serial(); PROTOBUF_NODISCARD std::string* release_serial(); void set_allocated_serial(std::string* serial); private: const std::string& _internal_serial() const; inline PROTOBUF_ALWAYS_INLINE void _internal_set_serial(const std::string& value); std::string* _internal_mutable_serial(); public: // string name = 3; void clear_name(); const std::string& name() const; template void set_name(ArgT0&& arg0, ArgT... args); std::string* mutable_name(); PROTOBUF_NODISCARD std::string* release_name(); void set_allocated_name(std::string* name); private: const std::string& _internal_name() const; inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); std::string* _internal_mutable_name(); public: // int32 type = 2; void clear_type(); int32_t type() const; void set_type(int32_t value); private: int32_t _internal_type() const; void _internal_set_type(int32_t value); public: // int32 car = 4; void clear_car(); int32_t car() const; void set_car(int32_t value); private: int32_t _internal_car() const; void _internal_set_car(int32_t value); public: // @@protoc_insertion_point(class_scope:RemoNet.CSAdd) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr serial_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; int32_t type_; int32_t car_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_protocol_2eproto; }; // ------------------------------------------------------------------- class SCAdd final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCAdd) */ { public: inline SCAdd() : SCAdd(nullptr) {} ~SCAdd() override; explicit constexpr SCAdd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); SCAdd(const SCAdd& from); SCAdd(SCAdd&& from) noexcept : SCAdd() { *this = ::std::move(from); } inline SCAdd& operator=(const SCAdd& from) { CopyFrom(from); return *this; } inline SCAdd& operator=(SCAdd&& 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 SCAdd& default_instance() { return *internal_default_instance(); } static inline const SCAdd* internal_default_instance() { return reinterpret_cast( &_SCAdd_default_instance_); } static constexpr int kIndexInFileMessages = 8; friend void swap(SCAdd& a, SCAdd& b) { a.Swap(&b); } inline void Swap(SCAdd* 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(SCAdd* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- SCAdd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const SCAdd& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; void MergeFrom(const SCAdd& 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(SCAdd* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "RemoNet.SCAdd"; } protected: explicit SCAdd(::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 { kNameFieldNumber = 3, kRetFieldNumber = 1, kUidFieldNumber = 2, kCarFieldNumber = 4, }; // string name = 3; void clear_name(); const std::string& name() const; template void set_name(ArgT0&& arg0, ArgT... args); std::string* mutable_name(); PROTOBUF_NODISCARD std::string* release_name(); void set_allocated_name(std::string* name); private: const std::string& _internal_name() const; inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); std::string* _internal_mutable_name(); public: // bool ret = 1; void clear_ret(); bool ret() const; void set_ret(bool value); private: bool _internal_ret() const; void _internal_set_ret(bool value); public: // int32 uid = 2; void clear_uid(); int32_t uid() const; void set_uid(int32_t value); private: int32_t _internal_uid() const; void _internal_set_uid(int32_t value); public: // int32 car = 4; void clear_car(); int32_t car() const; void set_car(int32_t value); private: int32_t _internal_car() const; void _internal_set_car(int32_t value); public: // @@protoc_insertion_point(class_scope:RemoNet.SCAdd) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; bool ret_; int32_t uid_; int32_t car_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_protocol_2eproto; }; // ------------------------------------------------------------------- class SCKickOff final : public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.SCKickOff) */ { public: inline SCKickOff() : SCKickOff(nullptr) {} explicit constexpr SCKickOff(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); SCKickOff(const SCKickOff& from); SCKickOff(SCKickOff&& from) noexcept : SCKickOff() { *this = ::std::move(from); } inline SCKickOff& operator=(const SCKickOff& from) { CopyFrom(from); return *this; } inline SCKickOff& operator=(SCKickOff&& 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 SCKickOff& default_instance() { return *internal_default_instance(); } static inline const SCKickOff* internal_default_instance() { return reinterpret_cast( &_SCKickOff_default_instance_); } static constexpr int kIndexInFileMessages = 9; friend void swap(SCKickOff& a, SCKickOff& b) { a.Swap(&b); } inline void Swap(SCKickOff* 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(SCKickOff* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- SCKickOff* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; inline void CopyFrom(const SCKickOff& from) { ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from); } using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; void MergeFrom(const SCKickOff& from) { ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from); } public: private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "RemoNet.SCKickOff"; } protected: explicit SCKickOff(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: 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 ------------------------------------------------------- // @@protoc_insertion_point(class_scope:RemoNet.SCKickOff) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_protocol_2eproto; }; // ------------------------------------------------------------------- class CSState final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSState) */ { public: inline CSState() : CSState(nullptr) {} ~CSState() override; explicit constexpr CSState(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); CSState(const CSState& from); CSState(CSState&& from) noexcept : CSState() { *this = ::std::move(from); } inline CSState& operator=(const CSState& from) { CopyFrom(from); return *this; } inline CSState& operator=(CSState&& 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 CSState& default_instance() { return *internal_default_instance(); } static inline const CSState* internal_default_instance() { return reinterpret_cast( &_CSState_default_instance_); } static constexpr int kIndexInFileMessages = 10; friend void swap(CSState& a, CSState& b) { a.Swap(&b); } inline void Swap(CSState* 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(CSState* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- CSState* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const CSState& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; void MergeFrom(const CSState& 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(CSState* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "RemoNet.CSState"; } protected: explicit CSState(::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 { kStateFieldNumber = 1, kUidFieldNumber = 2, }; // .RemoNet.UserState state = 1; void clear_state(); ::RemoNet::UserState state() const; void set_state(::RemoNet::UserState value); private: ::RemoNet::UserState _internal_state() const; void _internal_set_state(::RemoNet::UserState value); public: // int32 uid = 2; void clear_uid(); int32_t uid() const; void set_uid(int32_t value); private: int32_t _internal_uid() const; void _internal_set_uid(int32_t value); public: // @@protoc_insertion_point(class_scope:RemoNet.CSState) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; int state_; int32_t uid_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_protocol_2eproto; }; // ------------------------------------------------------------------- class SCState final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCState) */ { public: inline SCState() : SCState(nullptr) {} ~SCState() override; explicit constexpr SCState(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); SCState(const SCState& from); SCState(SCState&& from) noexcept : SCState() { *this = ::std::move(from); } inline SCState& operator=(const SCState& from) { CopyFrom(from); return *this; } inline SCState& operator=(SCState&& 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 SCState& default_instance() { return *internal_default_instance(); } static inline const SCState* internal_default_instance() { return reinterpret_cast( &_SCState_default_instance_); } static constexpr int kIndexInFileMessages = 11; friend void swap(SCState& a, SCState& b) { a.Swap(&b); } inline void Swap(SCState* 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(SCState* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- SCState* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const SCState& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; void MergeFrom(const SCState& 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(SCState* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "RemoNet.SCState"; } protected: explicit SCState(::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 { kStateFieldNumber = 1, kUidFieldNumber = 2, }; // .RemoNet.UserState state = 1; void clear_state(); ::RemoNet::UserState state() const; void set_state(::RemoNet::UserState value); private: ::RemoNet::UserState _internal_state() const; void _internal_set_state(::RemoNet::UserState value); public: // int32 uid = 2; void clear_uid(); int32_t uid() const; void set_uid(int32_t value); private: int32_t _internal_uid() const; void _internal_set_uid(int32_t value); public: // @@protoc_insertion_point(class_scope:RemoNet.SCState) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; int state_; int32_t uid_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_protocol_2eproto; }; // ------------------------------------------------------------------- class Robot final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Robot) */ { public: inline Robot() : Robot(nullptr) {} ~Robot() override; explicit constexpr Robot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); Robot(const Robot& from); Robot(Robot&& from) noexcept : Robot() { *this = ::std::move(from); } inline Robot& operator=(const Robot& from) { CopyFrom(from); return *this; } inline Robot& operator=(Robot&& 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 Robot& default_instance() { return *internal_default_instance(); } static inline const Robot* internal_default_instance() { return reinterpret_cast( &_Robot_default_instance_); } static constexpr int kIndexInFileMessages = 12; friend void swap(Robot& a, Robot& b) { a.Swap(&b); } inline void Swap(Robot* 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(Robot* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- Robot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const Robot& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; void MergeFrom(const Robot& 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(Robot* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "RemoNet.Robot"; } protected: explicit Robot(::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 { kNameFieldNumber = 2, kRidFieldNumber = 1, kTypeFieldNumber = 3, kStateFieldNumber = 4, kCarTypeFieldNumber = 5, }; // string name = 2; void clear_name(); const std::string& name() const; template void set_name(ArgT0&& arg0, ArgT... args); std::string* mutable_name(); PROTOBUF_NODISCARD std::string* release_name(); void set_allocated_name(std::string* name); private: const std::string& _internal_name() const; inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); std::string* _internal_mutable_name(); public: // int32 rid = 1; void clear_rid(); int32_t rid() const; void set_rid(int32_t value); private: int32_t _internal_rid() const; void _internal_set_rid(int32_t value); public: // int32 type = 3; void clear_type(); int32_t type() const; void set_type(int32_t value); private: int32_t _internal_type() const; void _internal_set_type(int32_t value); public: // .RemoNet.UserState state = 4; void clear_state(); ::RemoNet::UserState state() const; void set_state(::RemoNet::UserState value); private: ::RemoNet::UserState _internal_state() const; void _internal_set_state(::RemoNet::UserState value); public: // int32 carType = 5; void clear_cartype(); int32_t cartype() const; void set_cartype(int32_t value); private: int32_t _internal_cartype() const; void _internal_set_cartype(int32_t value); public: // @@protoc_insertion_point(class_scope:RemoNet.Robot) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; int32_t rid_; int32_t type_; int state_; int32_t cartype_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_protocol_2eproto; }; // ------------------------------------------------------------------- class CSRobot final : public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.CSRobot) */ { public: inline CSRobot() : CSRobot(nullptr) {} explicit constexpr CSRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); CSRobot(const CSRobot& from); CSRobot(CSRobot&& from) noexcept : CSRobot() { *this = ::std::move(from); } inline CSRobot& operator=(const CSRobot& from) { CopyFrom(from); return *this; } inline CSRobot& operator=(CSRobot&& 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 CSRobot& default_instance() { return *internal_default_instance(); } static inline const CSRobot* internal_default_instance() { return reinterpret_cast( &_CSRobot_default_instance_); } static constexpr int kIndexInFileMessages = 13; friend void swap(CSRobot& a, CSRobot& b) { a.Swap(&b); } inline void Swap(CSRobot* 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(CSRobot* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- CSRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; inline void CopyFrom(const CSRobot& from) { ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from); } using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; void MergeFrom(const CSRobot& from) { ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from); } public: private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "RemoNet.CSRobot"; } protected: explicit CSRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: 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 ------------------------------------------------------- // @@protoc_insertion_point(class_scope:RemoNet.CSRobot) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_protocol_2eproto; }; // ------------------------------------------------------------------- class SCRobot final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCRobot) */ { public: inline SCRobot() : SCRobot(nullptr) {} ~SCRobot() override; explicit constexpr SCRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); SCRobot(const SCRobot& from); SCRobot(SCRobot&& from) noexcept : SCRobot() { *this = ::std::move(from); } inline SCRobot& operator=(const SCRobot& from) { CopyFrom(from); return *this; } inline SCRobot& operator=(SCRobot&& 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 SCRobot& default_instance() { return *internal_default_instance(); } static inline const SCRobot* internal_default_instance() { return reinterpret_cast( &_SCRobot_default_instance_); } static constexpr int kIndexInFileMessages = 14; friend void swap(SCRobot& a, SCRobot& b) { a.Swap(&b); } inline void Swap(SCRobot* 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(SCRobot* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- SCRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const SCRobot& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; void MergeFrom(const SCRobot& 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(SCRobot* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "RemoNet.SCRobot"; } protected: explicit SCRobot(::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 { kRobotFieldNumber = 1, }; // repeated .RemoNet.Robot robot = 1; int robot_size() const; private: int _internal_robot_size() const; public: void clear_robot(); ::RemoNet::Robot* mutable_robot(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot >* mutable_robot(); private: const ::RemoNet::Robot& _internal_robot(int index) const; ::RemoNet::Robot* _internal_add_robot(); public: const ::RemoNet::Robot& robot(int index) const; ::RemoNet::Robot* add_robot(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot >& robot() const; // @@protoc_insertion_point(class_scope:RemoNet.SCRobot) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot > robot_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_protocol_2eproto; }; // ------------------------------------------------------------------- class CSSign final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSSign) */ { public: inline CSSign() : CSSign(nullptr) {} ~CSSign() override; explicit constexpr CSSign(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); CSSign(const CSSign& from); CSSign(CSSign&& from) noexcept : CSSign() { *this = ::std::move(from); } inline CSSign& operator=(const CSSign& from) { CopyFrom(from); return *this; } inline CSSign& operator=(CSSign&& 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 CSSign& default_instance() { return *internal_default_instance(); } static inline const CSSign* internal_default_instance() { return reinterpret_cast( &_CSSign_default_instance_); } static constexpr int kIndexInFileMessages = 15; friend void swap(CSSign& a, CSSign& b) { a.Swap(&b); } inline void Swap(CSSign* 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(CSSign* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- CSSign* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const CSSign& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; void MergeFrom(const CSSign& 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(CSSign* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "RemoNet.CSSign"; } protected: explicit CSSign(::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 { kAccountFieldNumber = 1, kPasswordFieldNumber = 2, }; // string account = 1; void clear_account(); const std::string& account() const; template void set_account(ArgT0&& arg0, ArgT... args); std::string* mutable_account(); PROTOBUF_NODISCARD std::string* release_account(); void set_allocated_account(std::string* account); private: const std::string& _internal_account() const; inline PROTOBUF_ALWAYS_INLINE void _internal_set_account(const std::string& value); std::string* _internal_mutable_account(); public: // string password = 2; void clear_password(); const std::string& password() const; template void set_password(ArgT0&& arg0, ArgT... args); std::string* mutable_password(); PROTOBUF_NODISCARD std::string* release_password(); void set_allocated_password(std::string* password); private: const std::string& _internal_password() const; inline PROTOBUF_ALWAYS_INLINE void _internal_set_password(const std::string& value); std::string* _internal_mutable_password(); public: // @@protoc_insertion_point(class_scope:RemoNet.CSSign) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr account_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr password_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_protocol_2eproto; }; // ------------------------------------------------------------------- class SCSign final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCSign) */ { public: inline SCSign() : SCSign(nullptr) {} ~SCSign() override; explicit constexpr SCSign(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); SCSign(const SCSign& from); SCSign(SCSign&& from) noexcept : SCSign() { *this = ::std::move(from); } inline SCSign& operator=(const SCSign& from) { CopyFrom(from); return *this; } inline SCSign& operator=(SCSign&& 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 SCSign& default_instance() { return *internal_default_instance(); } static inline const SCSign* internal_default_instance() { return reinterpret_cast( &_SCSign_default_instance_); } static constexpr int kIndexInFileMessages = 16; friend void swap(SCSign& a, SCSign& b) { a.Swap(&b); } inline void Swap(SCSign* 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(SCSign* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- SCSign* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const SCSign& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; void MergeFrom(const SCSign& 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(SCSign* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "RemoNet.SCSign"; } protected: explicit SCSign(::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 { kNameFieldNumber = 3, kRetFieldNumber = 1, kUidFieldNumber = 2, }; // string name = 3; void clear_name(); const std::string& name() const; template void set_name(ArgT0&& arg0, ArgT... args); std::string* mutable_name(); PROTOBUF_NODISCARD std::string* release_name(); void set_allocated_name(std::string* name); private: const std::string& _internal_name() const; inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); std::string* _internal_mutable_name(); public: // bool ret = 1; void clear_ret(); bool ret() const; void set_ret(bool value); private: bool _internal_ret() const; void _internal_set_ret(bool value); public: // int32 uid = 2; void clear_uid(); int32_t uid() const; void set_uid(int32_t value); private: int32_t _internal_uid() const; void _internal_set_uid(int32_t value); public: // @@protoc_insertion_point(class_scope:RemoNet.SCSign) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; bool ret_; int32_t uid_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_protocol_2eproto; }; // ------------------------------------------------------------------- class CSReq final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSReq) */ { public: inline CSReq() : CSReq(nullptr) {} ~CSReq() override; explicit constexpr CSReq(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); CSReq(const CSReq& from); CSReq(CSReq&& from) noexcept : CSReq() { *this = ::std::move(from); } inline CSReq& operator=(const CSReq& from) { CopyFrom(from); return *this; } inline CSReq& operator=(CSReq&& 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 CSReq& default_instance() { return *internal_default_instance(); } static inline const CSReq* internal_default_instance() { return reinterpret_cast( &_CSReq_default_instance_); } static constexpr int kIndexInFileMessages = 17; friend void swap(CSReq& a, CSReq& b) { a.Swap(&b); } inline void Swap(CSReq* 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(CSReq* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- CSReq* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const CSReq& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; void MergeFrom(const CSReq& 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(CSReq* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "RemoNet.CSReq"; } protected: explicit CSReq(::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 { kPeerFieldNumber = 1, kIndexFieldNumber = 2, kEgotypeFieldNumber = 3, }; // int32 peer = 1; void clear_peer(); int32_t peer() const; void set_peer(int32_t value); private: int32_t _internal_peer() const; void _internal_set_peer(int32_t value); public: // int32 index = 2; void clear_index(); int32_t index() const; void set_index(int32_t value); private: int32_t _internal_index() const; void _internal_set_index(int32_t value); public: // int32 egotype = 3; void clear_egotype(); int32_t egotype() const; void set_egotype(int32_t value); private: int32_t _internal_egotype() const; void _internal_set_egotype(int32_t value); public: // @@protoc_insertion_point(class_scope:RemoNet.CSReq) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; int32_t peer_; int32_t index_; int32_t egotype_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_protocol_2eproto; }; // ------------------------------------------------------------------- class SCReq final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCReq) */ { public: inline SCReq() : SCReq(nullptr) {} ~SCReq() override; explicit constexpr SCReq(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); SCReq(const SCReq& from); SCReq(SCReq&& from) noexcept : SCReq() { *this = ::std::move(from); } inline SCReq& operator=(const SCReq& from) { CopyFrom(from); return *this; } inline SCReq& operator=(SCReq&& 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 SCReq& default_instance() { return *internal_default_instance(); } static inline const SCReq* internal_default_instance() { return reinterpret_cast( &_SCReq_default_instance_); } static constexpr int kIndexInFileMessages = 18; friend void swap(SCReq& a, SCReq& b) { a.Swap(&b); } inline void Swap(SCReq* 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(SCReq* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- SCReq* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const SCReq& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; void MergeFrom(const SCReq& 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(SCReq* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "RemoNet.SCReq"; } protected: explicit SCReq(::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 { kDescFieldNumber = 1, kPeerFieldNumber = 2, kEgotypeFieldNumber = 3, }; // .RemoNet.VideoDesc desc = 1; void clear_desc(); ::RemoNet::VideoDesc desc() const; void set_desc(::RemoNet::VideoDesc value); private: ::RemoNet::VideoDesc _internal_desc() const; void _internal_set_desc(::RemoNet::VideoDesc value); public: // int32 peer = 2; void clear_peer(); int32_t peer() const; void set_peer(int32_t value); private: int32_t _internal_peer() const; void _internal_set_peer(int32_t value); public: // int32 egotype = 3; void clear_egotype(); int32_t egotype() const; void set_egotype(int32_t value); private: int32_t _internal_egotype() const; void _internal_set_egotype(int32_t value); public: // @@protoc_insertion_point(class_scope:RemoNet.SCReq) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; int desc_; int32_t peer_; int32_t egotype_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_protocol_2eproto; }; // ------------------------------------------------------------------- class CSRep final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSRep) */ { public: inline CSRep() : CSRep(nullptr) {} ~CSRep() override; explicit constexpr CSRep(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); CSRep(const CSRep& from); CSRep(CSRep&& from) noexcept : CSRep() { *this = ::std::move(from); } inline CSRep& operator=(const CSRep& from) { CopyFrom(from); return *this; } inline CSRep& operator=(CSRep&& 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 CSRep& default_instance() { return *internal_default_instance(); } static inline const CSRep* internal_default_instance() { return reinterpret_cast( &_CSRep_default_instance_); } static constexpr int kIndexInFileMessages = 19; friend void swap(CSRep& a, CSRep& b) { a.Swap(&b); } inline void Swap(CSRep* 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(CSRep* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- CSRep* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const CSRep& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; void MergeFrom(const CSRep& 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(CSRep* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "RemoNet.CSRep"; } protected: explicit CSRep(::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 { kDescFieldNumber = 1, kPeerFieldNumber = 2, kIndexFieldNumber = 3, kEgotypeFieldNumber = 4, }; // .RemoNet.VideoDesc desc = 1; void clear_desc(); ::RemoNet::VideoDesc desc() const; void set_desc(::RemoNet::VideoDesc value); private: ::RemoNet::VideoDesc _internal_desc() const; void _internal_set_desc(::RemoNet::VideoDesc value); public: // int32 peer = 2; void clear_peer(); int32_t peer() const; void set_peer(int32_t value); private: int32_t _internal_peer() const; void _internal_set_peer(int32_t value); public: // int32 index = 3; void clear_index(); int32_t index() const; void set_index(int32_t value); private: int32_t _internal_index() const; void _internal_set_index(int32_t value); public: // int32 egotype = 4; void clear_egotype(); int32_t egotype() const; void set_egotype(int32_t value); private: int32_t _internal_egotype() const; void _internal_set_egotype(int32_t value); public: // @@protoc_insertion_point(class_scope:RemoNet.CSRep) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; int desc_; int32_t peer_; int32_t index_; int32_t egotype_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_protocol_2eproto; }; // ------------------------------------------------------------------- class SCRep final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCRep) */ { public: inline SCRep() : SCRep(nullptr) {} ~SCRep() override; explicit constexpr SCRep(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); SCRep(const SCRep& from); SCRep(SCRep&& from) noexcept : SCRep() { *this = ::std::move(from); } inline SCRep& operator=(const SCRep& from) { CopyFrom(from); return *this; } inline SCRep& operator=(SCRep&& 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 SCRep& default_instance() { return *internal_default_instance(); } static inline const SCRep* internal_default_instance() { return reinterpret_cast( &_SCRep_default_instance_); } static constexpr int kIndexInFileMessages = 20; friend void swap(SCRep& a, SCRep& b) { a.Swap(&b); } inline void Swap(SCRep* 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(SCRep* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- SCRep* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const SCRep& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; void MergeFrom(const SCRep& 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(SCRep* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "RemoNet.SCRep"; } protected: explicit SCRep(::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 { kDescFieldNumber = 1, kIndexFieldNumber = 2, kEgotypeFieldNumber = 3, kPeerFieldNumber = 4, }; // .RemoNet.VideoDesc desc = 1; void clear_desc(); ::RemoNet::VideoDesc desc() const; void set_desc(::RemoNet::VideoDesc value); private: ::RemoNet::VideoDesc _internal_desc() const; void _internal_set_desc(::RemoNet::VideoDesc value); public: // int32 index = 2; void clear_index(); int32_t index() const; void set_index(int32_t value); private: int32_t _internal_index() const; void _internal_set_index(int32_t value); public: // int32 egotype = 3; void clear_egotype(); int32_t egotype() const; void set_egotype(int32_t value); private: int32_t _internal_egotype() const; void _internal_set_egotype(int32_t value); public: // int32 peer = 4; void clear_peer(); int32_t peer() const; void set_peer(int32_t value); private: int32_t _internal_peer() const; void _internal_set_peer(int32_t value); public: // @@protoc_insertion_point(class_scope:RemoNet.SCRep) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; int desc_; int32_t index_; int32_t egotype_; int32_t peer_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_protocol_2eproto; }; // ------------------------------------------------------------------- class Offer final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Offer) */ { public: inline Offer() : Offer(nullptr) {} ~Offer() override; explicit constexpr Offer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); Offer(const Offer& from); Offer(Offer&& from) noexcept : Offer() { *this = ::std::move(from); } inline Offer& operator=(const Offer& from) { CopyFrom(from); return *this; } inline Offer& operator=(Offer&& 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 Offer& default_instance() { return *internal_default_instance(); } static inline const Offer* internal_default_instance() { return reinterpret_cast( &_Offer_default_instance_); } static constexpr int kIndexInFileMessages = 21; friend void swap(Offer& a, Offer& b) { a.Swap(&b); } inline void Swap(Offer* 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(Offer* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- Offer* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const Offer& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; void MergeFrom(const Offer& 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(Offer* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "RemoNet.Offer"; } protected: explicit Offer(::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 { kTypeFieldNumber = 3, kSdpFieldNumber = 4, kIndexFieldNumber = 1, kPeerFieldNumber = 2, }; // string type = 3; void clear_type(); const std::string& type() const; template void set_type(ArgT0&& arg0, ArgT... args); std::string* mutable_type(); PROTOBUF_NODISCARD std::string* release_type(); void set_allocated_type(std::string* type); private: const std::string& _internal_type() const; inline PROTOBUF_ALWAYS_INLINE void _internal_set_type(const std::string& value); std::string* _internal_mutable_type(); public: // string sdp = 4; void clear_sdp(); const std::string& sdp() const; template void set_sdp(ArgT0&& arg0, ArgT... args); std::string* mutable_sdp(); PROTOBUF_NODISCARD std::string* release_sdp(); void set_allocated_sdp(std::string* sdp); private: const std::string& _internal_sdp() const; inline PROTOBUF_ALWAYS_INLINE void _internal_set_sdp(const std::string& value); std::string* _internal_mutable_sdp(); public: // int32 index = 1; void clear_index(); int32_t index() const; void set_index(int32_t value); private: int32_t _internal_index() const; void _internal_set_index(int32_t value); public: // int32 peer = 2; void clear_peer(); int32_t peer() const; void set_peer(int32_t value); private: int32_t _internal_peer() const; void _internal_set_peer(int32_t value); public: // @@protoc_insertion_point(class_scope:RemoNet.Offer) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sdp_; int32_t index_; int32_t peer_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_protocol_2eproto; }; // ------------------------------------------------------------------- class Answer final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Answer) */ { public: inline Answer() : Answer(nullptr) {} ~Answer() override; explicit constexpr Answer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); Answer(const Answer& from); Answer(Answer&& from) noexcept : Answer() { *this = ::std::move(from); } inline Answer& operator=(const Answer& from) { CopyFrom(from); return *this; } inline Answer& operator=(Answer&& 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 Answer& default_instance() { return *internal_default_instance(); } static inline const Answer* internal_default_instance() { return reinterpret_cast( &_Answer_default_instance_); } static constexpr int kIndexInFileMessages = 22; friend void swap(Answer& a, Answer& b) { a.Swap(&b); } inline void Swap(Answer* 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(Answer* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- Answer* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const Answer& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; void MergeFrom(const Answer& 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(Answer* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "RemoNet.Answer"; } protected: explicit Answer(::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 { kTypeFieldNumber = 3, kSdpFieldNumber = 4, kIndexFieldNumber = 1, kPeerFieldNumber = 2, }; // string type = 3; void clear_type(); const std::string& type() const; template void set_type(ArgT0&& arg0, ArgT... args); std::string* mutable_type(); PROTOBUF_NODISCARD std::string* release_type(); void set_allocated_type(std::string* type); private: const std::string& _internal_type() const; inline PROTOBUF_ALWAYS_INLINE void _internal_set_type(const std::string& value); std::string* _internal_mutable_type(); public: // string sdp = 4; void clear_sdp(); const std::string& sdp() const; template void set_sdp(ArgT0&& arg0, ArgT... args); std::string* mutable_sdp(); PROTOBUF_NODISCARD std::string* release_sdp(); void set_allocated_sdp(std::string* sdp); private: const std::string& _internal_sdp() const; inline PROTOBUF_ALWAYS_INLINE void _internal_set_sdp(const std::string& value); std::string* _internal_mutable_sdp(); public: // int32 index = 1; void clear_index(); int32_t index() const; void set_index(int32_t value); private: int32_t _internal_index() const; void _internal_set_index(int32_t value); public: // int32 peer = 2; void clear_peer(); int32_t peer() const; void set_peer(int32_t value); private: int32_t _internal_peer() const; void _internal_set_peer(int32_t value); public: // @@protoc_insertion_point(class_scope:RemoNet.Answer) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sdp_; int32_t index_; int32_t peer_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_protocol_2eproto; }; // ------------------------------------------------------------------- class Candidate final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Candidate) */ { public: inline Candidate() : Candidate(nullptr) {} ~Candidate() override; explicit constexpr Candidate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); Candidate(const Candidate& from); Candidate(Candidate&& from) noexcept : Candidate() { *this = ::std::move(from); } inline Candidate& operator=(const Candidate& from) { CopyFrom(from); return *this; } inline Candidate& operator=(Candidate&& 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 Candidate& default_instance() { return *internal_default_instance(); } static inline const Candidate* internal_default_instance() { return reinterpret_cast( &_Candidate_default_instance_); } static constexpr int kIndexInFileMessages = 23; friend void swap(Candidate& a, Candidate& b) { a.Swap(&b); } inline void Swap(Candidate* 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(Candidate* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- Candidate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const Candidate& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; void MergeFrom(const Candidate& 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(Candidate* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "RemoNet.Candidate"; } protected: explicit Candidate(::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 { kTypeFieldNumber = 3, kCandidateFieldNumber = 4, kSdpMidFieldNumber = 6, kIndexFieldNumber = 1, kPeerFieldNumber = 2, kSdpMLineIndexFieldNumber = 5, kEgotypeFieldNumber = 7, }; // string type = 3; void clear_type(); const std::string& type() const; template void set_type(ArgT0&& arg0, ArgT... args); std::string* mutable_type(); PROTOBUF_NODISCARD std::string* release_type(); void set_allocated_type(std::string* type); private: const std::string& _internal_type() const; inline PROTOBUF_ALWAYS_INLINE void _internal_set_type(const std::string& value); std::string* _internal_mutable_type(); public: // string candidate = 4; void clear_candidate(); const std::string& candidate() const; template void set_candidate(ArgT0&& arg0, ArgT... args); std::string* mutable_candidate(); PROTOBUF_NODISCARD std::string* release_candidate(); void set_allocated_candidate(std::string* candidate); private: const std::string& _internal_candidate() const; inline PROTOBUF_ALWAYS_INLINE void _internal_set_candidate(const std::string& value); std::string* _internal_mutable_candidate(); public: // string sdpMid = 6; void clear_sdpmid(); const std::string& sdpmid() const; template void set_sdpmid(ArgT0&& arg0, ArgT... args); std::string* mutable_sdpmid(); PROTOBUF_NODISCARD std::string* release_sdpmid(); void set_allocated_sdpmid(std::string* sdpmid); private: const std::string& _internal_sdpmid() const; inline PROTOBUF_ALWAYS_INLINE void _internal_set_sdpmid(const std::string& value); std::string* _internal_mutable_sdpmid(); public: // int32 index = 1; void clear_index(); int32_t index() const; void set_index(int32_t value); private: int32_t _internal_index() const; void _internal_set_index(int32_t value); public: // int32 peer = 2; void clear_peer(); int32_t peer() const; void set_peer(int32_t value); private: int32_t _internal_peer() const; void _internal_set_peer(int32_t value); public: // int32 sdpMLineIndex = 5; void clear_sdpmlineindex(); int32_t sdpmlineindex() const; void set_sdpmlineindex(int32_t value); private: int32_t _internal_sdpmlineindex() const; void _internal_set_sdpmlineindex(int32_t value); public: // int32 egotype = 7; void clear_egotype(); int32_t egotype() const; void set_egotype(int32_t value); private: int32_t _internal_egotype() const; void _internal_set_egotype(int32_t value); public: // @@protoc_insertion_point(class_scope:RemoNet.Candidate) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr candidate_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sdpmid_; int32_t index_; int32_t peer_; int32_t sdpmlineindex_; int32_t egotype_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_protocol_2eproto; }; // ------------------------------------------------------------------- class Leave final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Leave) */ { public: inline Leave() : Leave(nullptr) {} ~Leave() override; explicit constexpr Leave(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); Leave(const Leave& from); Leave(Leave&& from) noexcept : Leave() { *this = ::std::move(from); } inline Leave& operator=(const Leave& from) { CopyFrom(from); return *this; } inline Leave& operator=(Leave&& 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 Leave& default_instance() { return *internal_default_instance(); } static inline const Leave* internal_default_instance() { return reinterpret_cast( &_Leave_default_instance_); } static constexpr int kIndexInFileMessages = 24; friend void swap(Leave& a, Leave& b) { a.Swap(&b); } inline void Swap(Leave* 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(Leave* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- Leave* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const Leave& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; void MergeFrom(const Leave& 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(Leave* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "RemoNet.Leave"; } protected: explicit Leave(::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 { kPeerFieldNumber = 1, kEgotypeFieldNumber = 2, }; // int32 peer = 1; void clear_peer(); int32_t peer() const; void set_peer(int32_t value); private: int32_t _internal_peer() const; void _internal_set_peer(int32_t value); public: // int32 egotype = 2; void clear_egotype(); int32_t egotype() const; void set_egotype(int32_t value); private: int32_t _internal_egotype() const; void _internal_set_egotype(int32_t value); public: // @@protoc_insertion_point(class_scope:RemoNet.Leave) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; int32_t peer_; int32_t egotype_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_protocol_2eproto; }; // ------------------------------------------------------------------- class Close final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Close) */ { public: inline Close() : Close(nullptr) {} ~Close() override; explicit constexpr Close(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); Close(const Close& from); Close(Close&& from) noexcept : Close() { *this = ::std::move(from); } inline Close& operator=(const Close& from) { CopyFrom(from); return *this; } inline Close& operator=(Close&& 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 Close& default_instance() { return *internal_default_instance(); } static inline const Close* internal_default_instance() { return reinterpret_cast( &_Close_default_instance_); } static constexpr int kIndexInFileMessages = 25; friend void swap(Close& a, Close& b) { a.Swap(&b); } inline void Swap(Close* 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(Close* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- Close* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const Close& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; void MergeFrom(const Close& 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(Close* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "RemoNet.Close"; } protected: explicit Close(::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 { kPeerFieldNumber = 1, kEgotypeFieldNumber = 2, kIndexFieldNumber = 3, }; // int32 peer = 1; void clear_peer(); int32_t peer() const; void set_peer(int32_t value); private: int32_t _internal_peer() const; void _internal_set_peer(int32_t value); public: // int32 egotype = 2; void clear_egotype(); int32_t egotype() const; void set_egotype(int32_t value); private: int32_t _internal_egotype() const; void _internal_set_egotype(int32_t value); public: // int32 index = 3; void clear_index(); int32_t index() const; void set_index(int32_t value); private: int32_t _internal_index() const; void _internal_set_index(int32_t value); public: // @@protoc_insertion_point(class_scope:RemoNet.Close) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; int32_t peer_; int32_t egotype_; int32_t index_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_protocol_2eproto; }; // ------------------------------------------------------------------- class TestTextReq final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.TestTextReq) */ { public: inline TestTextReq() : TestTextReq(nullptr) {} ~TestTextReq() override; explicit constexpr TestTextReq(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); TestTextReq(const TestTextReq& from); TestTextReq(TestTextReq&& from) noexcept : TestTextReq() { *this = ::std::move(from); } inline TestTextReq& operator=(const TestTextReq& from) { CopyFrom(from); return *this; } inline TestTextReq& operator=(TestTextReq&& 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 TestTextReq& default_instance() { return *internal_default_instance(); } static inline const TestTextReq* internal_default_instance() { return reinterpret_cast( &_TestTextReq_default_instance_); } static constexpr int kIndexInFileMessages = 26; friend void swap(TestTextReq& a, TestTextReq& b) { a.Swap(&b); } inline void Swap(TestTextReq* 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(TestTextReq* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- TestTextReq* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const TestTextReq& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; void MergeFrom(const TestTextReq& 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(TestTextReq* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "RemoNet.TestTextReq"; } protected: explicit TestTextReq(::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 { kTextFieldNumber = 1, }; // string text = 1; void clear_text(); const std::string& text() const; template void set_text(ArgT0&& arg0, ArgT... args); std::string* mutable_text(); PROTOBUF_NODISCARD std::string* release_text(); void set_allocated_text(std::string* text); private: const std::string& _internal_text() const; inline PROTOBUF_ALWAYS_INLINE void _internal_set_text(const std::string& value); std::string* _internal_mutable_text(); public: // @@protoc_insertion_point(class_scope:RemoNet.TestTextReq) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr text_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_protocol_2eproto; }; // ------------------------------------------------------------------- class SyncTime final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SyncTime) */ { public: inline SyncTime() : SyncTime(nullptr) {} ~SyncTime() override; explicit constexpr SyncTime(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); SyncTime(const SyncTime& from); SyncTime(SyncTime&& from) noexcept : SyncTime() { *this = ::std::move(from); } inline SyncTime& operator=(const SyncTime& from) { CopyFrom(from); return *this; } inline SyncTime& operator=(SyncTime&& 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 SyncTime& default_instance() { return *internal_default_instance(); } static inline const SyncTime* internal_default_instance() { return reinterpret_cast( &_SyncTime_default_instance_); } static constexpr int kIndexInFileMessages = 27; friend void swap(SyncTime& a, SyncTime& b) { a.Swap(&b); } inline void Swap(SyncTime* 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(SyncTime* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- SyncTime* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const SyncTime& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; void MergeFrom(const SyncTime& 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(SyncTime* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "RemoNet.SyncTime"; } protected: explicit SyncTime(::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 { kTmSecFieldNumber = 1, kTmMinFieldNumber = 2, kTmHourFieldNumber = 3, kTmMdayFieldNumber = 4, kTmMonFieldNumber = 5, kTmYearFieldNumber = 6, kTmWdayFieldNumber = 7, kTmYdayFieldNumber = 8, kTmIsdstFieldNumber = 9, kUpdateTimeFieldNumber = 10, }; // int32 tm_sec = 1; void clear_tm_sec(); int32_t tm_sec() const; void set_tm_sec(int32_t value); private: int32_t _internal_tm_sec() const; void _internal_set_tm_sec(int32_t value); public: // int32 tm_min = 2; void clear_tm_min(); int32_t tm_min() const; void set_tm_min(int32_t value); private: int32_t _internal_tm_min() const; void _internal_set_tm_min(int32_t value); public: // int32 tm_hour = 3; void clear_tm_hour(); int32_t tm_hour() const; void set_tm_hour(int32_t value); private: int32_t _internal_tm_hour() const; void _internal_set_tm_hour(int32_t value); public: // int32 tm_mday = 4; void clear_tm_mday(); int32_t tm_mday() const; void set_tm_mday(int32_t value); private: int32_t _internal_tm_mday() const; void _internal_set_tm_mday(int32_t value); public: // int32 tm_mon = 5; void clear_tm_mon(); int32_t tm_mon() const; void set_tm_mon(int32_t value); private: int32_t _internal_tm_mon() const; void _internal_set_tm_mon(int32_t value); public: // int32 tm_year = 6; void clear_tm_year(); int32_t tm_year() const; void set_tm_year(int32_t value); private: int32_t _internal_tm_year() const; void _internal_set_tm_year(int32_t value); public: // int32 tm_wday = 7; void clear_tm_wday(); int32_t tm_wday() const; void set_tm_wday(int32_t value); private: int32_t _internal_tm_wday() const; void _internal_set_tm_wday(int32_t value); public: // int32 tm_yday = 8; void clear_tm_yday(); int32_t tm_yday() const; void set_tm_yday(int32_t value); private: int32_t _internal_tm_yday() const; void _internal_set_tm_yday(int32_t value); public: // int32 tm_isdst = 9; void clear_tm_isdst(); int32_t tm_isdst() const; void set_tm_isdst(int32_t value); private: int32_t _internal_tm_isdst() const; void _internal_set_tm_isdst(int32_t value); public: // bool update_time = 10; void clear_update_time(); bool update_time() const; void set_update_time(bool value); private: bool _internal_update_time() const; void _internal_set_update_time(bool value); public: // @@protoc_insertion_point(class_scope:RemoNet.SyncTime) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; int32_t tm_sec_; int32_t tm_min_; int32_t tm_hour_; int32_t tm_mday_; int32_t tm_mon_; int32_t tm_year_; int32_t tm_wday_; int32_t tm_yday_; int32_t tm_isdst_; bool update_time_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_protocol_2eproto; }; // ------------------------------------------------------------------- class CCAskDataChannel final : public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.CCAskDataChannel) */ { public: inline CCAskDataChannel() : CCAskDataChannel(nullptr) {} explicit constexpr CCAskDataChannel(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); CCAskDataChannel(const CCAskDataChannel& from); CCAskDataChannel(CCAskDataChannel&& from) noexcept : CCAskDataChannel() { *this = ::std::move(from); } inline CCAskDataChannel& operator=(const CCAskDataChannel& from) { CopyFrom(from); return *this; } inline CCAskDataChannel& operator=(CCAskDataChannel&& 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 CCAskDataChannel& default_instance() { return *internal_default_instance(); } static inline const CCAskDataChannel* internal_default_instance() { return reinterpret_cast( &_CCAskDataChannel_default_instance_); } static constexpr int kIndexInFileMessages = 28; friend void swap(CCAskDataChannel& a, CCAskDataChannel& b) { a.Swap(&b); } inline void Swap(CCAskDataChannel* 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(CCAskDataChannel* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- CCAskDataChannel* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; inline void CopyFrom(const CCAskDataChannel& from) { ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from); } using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; void MergeFrom(const CCAskDataChannel& from) { ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from); } public: private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "RemoNet.CCAskDataChannel"; } protected: explicit CCAskDataChannel(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: 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 ------------------------------------------------------- // @@protoc_insertion_point(class_scope:RemoNet.CCAskDataChannel) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_protocol_2eproto; }; // ------------------------------------------------------------------- class CCPing final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCPing) */ { public: inline CCPing() : CCPing(nullptr) {} ~CCPing() override; explicit constexpr CCPing(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); CCPing(const CCPing& from); CCPing(CCPing&& from) noexcept : CCPing() { *this = ::std::move(from); } inline CCPing& operator=(const CCPing& from) { CopyFrom(from); return *this; } inline CCPing& operator=(CCPing&& 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 CCPing& default_instance() { return *internal_default_instance(); } static inline const CCPing* internal_default_instance() { return reinterpret_cast( &_CCPing_default_instance_); } static constexpr int kIndexInFileMessages = 29; friend void swap(CCPing& a, CCPing& b) { a.Swap(&b); } inline void Swap(CCPing* 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(CCPing* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- CCPing* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const CCPing& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; void MergeFrom(const CCPing& 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(CCPing* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "RemoNet.CCPing"; } protected: explicit CCPing(::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 { kTickFieldNumber = 1, kTempFieldNumber = 2, }; // int64 tick = 1; void clear_tick(); int64_t tick() const; void set_tick(int64_t value); private: int64_t _internal_tick() const; void _internal_set_tick(int64_t value); public: // double temp = 2; void clear_temp(); double temp() const; void set_temp(double value); private: double _internal_temp() const; void _internal_set_temp(double value); public: // @@protoc_insertion_point(class_scope:RemoNet.CCPing) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; int64_t tick_; double temp_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_protocol_2eproto; }; // ------------------------------------------------------------------- class radar_node final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.radar_node) */ { public: inline radar_node() : radar_node(nullptr) {} ~radar_node() override; explicit constexpr radar_node(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); radar_node(const radar_node& from); radar_node(radar_node&& from) noexcept : radar_node() { *this = ::std::move(from); } inline radar_node& operator=(const radar_node& from) { CopyFrom(from); return *this; } inline radar_node& operator=(radar_node&& 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 radar_node& default_instance() { return *internal_default_instance(); } static inline const radar_node* internal_default_instance() { return reinterpret_cast( &_radar_node_default_instance_); } static constexpr int kIndexInFileMessages = 30; friend void swap(radar_node& a, radar_node& b) { a.Swap(&b); } inline void Swap(radar_node* 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(radar_node* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- radar_node* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const radar_node& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; void MergeFrom(const radar_node& 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(radar_node* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "RemoNet.radar_node"; } protected: explicit radar_node(::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 { kIdFieldNumber = 1, kRangeFieldNumber = 2, }; // int32 id = 1; void clear_id(); int32_t id() const; void set_id(int32_t value); private: int32_t _internal_id() const; void _internal_set_id(int32_t value); public: // int32 range = 2; void clear_range(); int32_t range() const; void set_range(int32_t value); private: int32_t _internal_range() const; void _internal_set_range(int32_t value); public: // @@protoc_insertion_point(class_scope:RemoNet.radar_node) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; int32_t id_; int32_t range_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_protocol_2eproto; }; // ------------------------------------------------------------------- class CCSensor final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCSensor) */ { public: inline CCSensor() : CCSensor(nullptr) {} ~CCSensor() override; explicit constexpr CCSensor(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); CCSensor(const CCSensor& from); CCSensor(CCSensor&& from) noexcept : CCSensor() { *this = ::std::move(from); } inline CCSensor& operator=(const CCSensor& from) { CopyFrom(from); return *this; } inline CCSensor& operator=(CCSensor&& 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 CCSensor& default_instance() { return *internal_default_instance(); } static inline const CCSensor* internal_default_instance() { return reinterpret_cast( &_CCSensor_default_instance_); } static constexpr int kIndexInFileMessages = 31; friend void swap(CCSensor& a, CCSensor& b) { a.Swap(&b); } inline void Swap(CCSensor* 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(CCSensor* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- CCSensor* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const CCSensor& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; void MergeFrom(const CCSensor& 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(CCSensor* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "RemoNet.CCSensor"; } protected: explicit CCSensor(::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 { kNodeFieldNumber = 1, kLeftEncodeFieldNumber = 2, kRightEncodeFieldNumber = 3, }; // repeated .RemoNet.radar_node node = 1; int node_size() const; private: int _internal_node_size() const; public: void clear_node(); ::RemoNet::radar_node* mutable_node(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::radar_node >* mutable_node(); private: const ::RemoNet::radar_node& _internal_node(int index) const; ::RemoNet::radar_node* _internal_add_node(); public: const ::RemoNet::radar_node& node(int index) const; ::RemoNet::radar_node* add_node(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::radar_node >& node() const; // int32 left_encode = 2; void clear_left_encode(); int32_t left_encode() const; void set_left_encode(int32_t value); private: int32_t _internal_left_encode() const; void _internal_set_left_encode(int32_t value); public: // int32 right_encode = 3; void clear_right_encode(); int32_t right_encode() const; void set_right_encode(int32_t value); private: int32_t _internal_right_encode() const; void _internal_set_right_encode(int32_t value); public: // @@protoc_insertion_point(class_scope:RemoNet.CCSensor) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::radar_node > node_; int32_t left_encode_; int32_t right_encode_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_protocol_2eproto; }; // ------------------------------------------------------------------- class CCSwitch final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCSwitch) */ { public: inline CCSwitch() : CCSwitch(nullptr) {} ~CCSwitch() override; explicit constexpr CCSwitch(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); CCSwitch(const CCSwitch& from); CCSwitch(CCSwitch&& from) noexcept : CCSwitch() { *this = ::std::move(from); } inline CCSwitch& operator=(const CCSwitch& from) { CopyFrom(from); return *this; } inline CCSwitch& operator=(CCSwitch&& 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 CCSwitch& default_instance() { return *internal_default_instance(); } static inline const CCSwitch* internal_default_instance() { return reinterpret_cast( &_CCSwitch_default_instance_); } static constexpr int kIndexInFileMessages = 32; friend void swap(CCSwitch& a, CCSwitch& b) { a.Swap(&b); } inline void Swap(CCSwitch* 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(CCSwitch* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- CCSwitch* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const CCSwitch& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; void MergeFrom(const CCSwitch& 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(CCSwitch* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "RemoNet.CCSwitch"; } protected: explicit CCSwitch(::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 { kFrontFieldNumber = 1, }; // bool front = 1; void clear_front(); bool front() const; void set_front(bool value); private: bool _internal_front() const; void _internal_set_front(bool value); public: // @@protoc_insertion_point(class_scope:RemoNet.CCSwitch) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; bool front_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_protocol_2eproto; }; // ------------------------------------------------------------------- class State final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.State) */ { public: inline State() : State(nullptr) {} ~State() override; explicit constexpr State(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); State(const State& from); State(State&& from) noexcept : State() { *this = ::std::move(from); } inline State& operator=(const State& from) { CopyFrom(from); return *this; } inline State& operator=(State&& 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 State& default_instance() { return *internal_default_instance(); } static inline const State* internal_default_instance() { return reinterpret_cast( &_State_default_instance_); } static constexpr int kIndexInFileMessages = 33; friend void swap(State& a, State& b) { a.Swap(&b); } inline void Swap(State* 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(State* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- State* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const State& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; void MergeFrom(const State& 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(State* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "RemoNet.State"; } protected: explicit State(::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 { kWorkPressureFieldNumber = 1, kBrakePressureFieldNumber = 2, kGearboxOilTempFieldNumber = 3, kGearboxOilPressureFieldNumber = 4, kEngineRpmFieldNumber = 5, kSpeedFieldNumber = 6, kEnginePressureFieldNumber = 8, kColdWaterFieldNumber = 9, kSteerAngleFieldNumber = 10, kLeftLockFieldNumber = 11, kRightLockFieldNumber = 12, }; // int32 work_pressure = 1; void clear_work_pressure(); int32_t work_pressure() const; void set_work_pressure(int32_t value); private: int32_t _internal_work_pressure() const; void _internal_set_work_pressure(int32_t value); public: // int32 brake_pressure = 2; void clear_brake_pressure(); int32_t brake_pressure() const; void set_brake_pressure(int32_t value); private: int32_t _internal_brake_pressure() const; void _internal_set_brake_pressure(int32_t value); public: // int32 gearbox_oil_temp = 3; void clear_gearbox_oil_temp(); int32_t gearbox_oil_temp() const; void set_gearbox_oil_temp(int32_t value); private: int32_t _internal_gearbox_oil_temp() const; void _internal_set_gearbox_oil_temp(int32_t value); public: // int32 gearbox_oil_pressure = 4; void clear_gearbox_oil_pressure(); int32_t gearbox_oil_pressure() const; void set_gearbox_oil_pressure(int32_t value); private: int32_t _internal_gearbox_oil_pressure() const; void _internal_set_gearbox_oil_pressure(int32_t value); public: // int32 engine_rpm = 5; void clear_engine_rpm(); int32_t engine_rpm() const; void set_engine_rpm(int32_t value); private: int32_t _internal_engine_rpm() const; void _internal_set_engine_rpm(int32_t value); public: // int32 speed = 6; void clear_speed(); int32_t speed() const; void set_speed(int32_t value); private: int32_t _internal_speed() const; void _internal_set_speed(int32_t value); public: // int32 engine_pressure = 8; void clear_engine_pressure(); int32_t engine_pressure() const; void set_engine_pressure(int32_t value); private: int32_t _internal_engine_pressure() const; void _internal_set_engine_pressure(int32_t value); public: // int32 cold_water = 9; void clear_cold_water(); int32_t cold_water() const; void set_cold_water(int32_t value); private: int32_t _internal_cold_water() const; void _internal_set_cold_water(int32_t value); public: // int32 steer_angle = 10; void clear_steer_angle(); int32_t steer_angle() const; void set_steer_angle(int32_t value); private: int32_t _internal_steer_angle() const; void _internal_set_steer_angle(int32_t value); public: // int32 left_lock = 11; void clear_left_lock(); int32_t left_lock() const; void set_left_lock(int32_t value); private: int32_t _internal_left_lock() const; void _internal_set_left_lock(int32_t value); public: // int32 right_lock = 12; void clear_right_lock(); int32_t right_lock() const; void set_right_lock(int32_t value); private: int32_t _internal_right_lock() const; void _internal_set_right_lock(int32_t value); public: // @@protoc_insertion_point(class_scope:RemoNet.State) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; int32_t work_pressure_; int32_t brake_pressure_; int32_t gearbox_oil_temp_; int32_t gearbox_oil_pressure_; int32_t engine_rpm_; int32_t speed_; int32_t engine_pressure_; int32_t cold_water_; int32_t steer_angle_; int32_t left_lock_; int32_t right_lock_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_protocol_2eproto; }; // ------------------------------------------------------------------- class LidarPoint final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.LidarPoint) */ { public: inline LidarPoint() : LidarPoint(nullptr) {} ~LidarPoint() override; explicit constexpr LidarPoint(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); LidarPoint(const LidarPoint& from); LidarPoint(LidarPoint&& from) noexcept : LidarPoint() { *this = ::std::move(from); } inline LidarPoint& operator=(const LidarPoint& from) { CopyFrom(from); return *this; } inline LidarPoint& operator=(LidarPoint&& 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 LidarPoint& default_instance() { return *internal_default_instance(); } static inline const LidarPoint* internal_default_instance() { return reinterpret_cast( &_LidarPoint_default_instance_); } static constexpr int kIndexInFileMessages = 34; friend void swap(LidarPoint& a, LidarPoint& b) { a.Swap(&b); } inline void Swap(LidarPoint* 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(LidarPoint* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- LidarPoint* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const LidarPoint& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; void MergeFrom(const LidarPoint& 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(LidarPoint* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "RemoNet.LidarPoint"; } protected: explicit LidarPoint(::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 { kDataFieldNumber = 8, kFrameIdFieldNumber = 3, kTimestampFieldNumber = 1, kSeqFieldNumber = 2, kHeightFieldNumber = 4, kWidthFieldNumber = 5, kIsDenseFieldNumber = 6, kIsLeftFieldNumber = 7, }; // repeated float data = 8; int data_size() const; private: int _internal_data_size() const; public: void clear_data(); private: float _internal_data(int index) const; const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& _internal_data() const; void _internal_add_data(float value); ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* _internal_mutable_data(); public: float data(int index) const; void set_data(int index, float value); void add_data(float value); const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& data() const; ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* mutable_data(); // optional string frame_id = 3; bool has_frame_id() const; private: bool _internal_has_frame_id() const; public: void clear_frame_id(); const std::string& frame_id() const; template void set_frame_id(ArgT0&& arg0, ArgT... args); std::string* mutable_frame_id(); PROTOBUF_NODISCARD std::string* release_frame_id(); void set_allocated_frame_id(std::string* frame_id); private: const std::string& _internal_frame_id() const; inline PROTOBUF_ALWAYS_INLINE void _internal_set_frame_id(const std::string& value); std::string* _internal_mutable_frame_id(); public: // optional double timestamp = 1; bool has_timestamp() const; private: bool _internal_has_timestamp() const; public: void clear_timestamp(); double timestamp() const; void set_timestamp(double value); private: double _internal_timestamp() const; void _internal_set_timestamp(double value); public: // optional uint32 seq = 2; bool has_seq() const; private: bool _internal_has_seq() const; public: void clear_seq(); uint32_t seq() const; void set_seq(uint32_t value); private: uint32_t _internal_seq() const; void _internal_set_seq(uint32_t value); public: // optional uint32 height = 4; bool has_height() const; private: bool _internal_has_height() const; public: void clear_height(); uint32_t height() const; void set_height(uint32_t value); private: uint32_t _internal_height() const; void _internal_set_height(uint32_t value); public: // optional uint32 width = 5; bool has_width() const; private: bool _internal_has_width() const; public: void clear_width(); uint32_t width() const; void set_width(uint32_t value); private: uint32_t _internal_width() const; void _internal_set_width(uint32_t value); public: // optional bool is_dense = 6; bool has_is_dense() const; private: bool _internal_has_is_dense() const; public: void clear_is_dense(); bool is_dense() const; void set_is_dense(bool value); private: bool _internal_is_dense() const; void _internal_set_is_dense(bool value); public: // optional bool is_left = 7; bool has_is_left() const; private: bool _internal_has_is_left() const; public: void clear_is_left(); bool is_left() const; void set_is_left(bool value); private: bool _internal_is_left() const; void _internal_set_is_left(bool value); public: // @@protoc_insertion_point(class_scope:RemoNet.LidarPoint) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::RepeatedField< float > data_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr frame_id_; double timestamp_; uint32_t seq_; uint32_t height_; uint32_t width_; bool is_dense_; bool is_left_; friend struct ::TableStruct_protocol_2eproto; }; // ------------------------------------------------------------------- class SensorStop final : public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.SensorStop) */ { public: inline SensorStop() : SensorStop(nullptr) {} explicit constexpr SensorStop(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); SensorStop(const SensorStop& from); SensorStop(SensorStop&& from) noexcept : SensorStop() { *this = ::std::move(from); } inline SensorStop& operator=(const SensorStop& from) { CopyFrom(from); return *this; } inline SensorStop& operator=(SensorStop&& 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 SensorStop& default_instance() { return *internal_default_instance(); } static inline const SensorStop* internal_default_instance() { return reinterpret_cast( &_SensorStop_default_instance_); } static constexpr int kIndexInFileMessages = 35; friend void swap(SensorStop& a, SensorStop& b) { a.Swap(&b); } inline void Swap(SensorStop* 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(SensorStop* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- SensorStop* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; inline void CopyFrom(const SensorStop& from) { ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from); } using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; void MergeFrom(const SensorStop& from) { ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from); } public: private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "RemoNet.SensorStop"; } protected: explicit SensorStop(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: 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 ------------------------------------------------------- // @@protoc_insertion_point(class_scope:RemoNet.SensorStop) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_protocol_2eproto; }; // ------------------------------------------------------------------- class StopAck final : public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.StopAck) */ { public: inline StopAck() : StopAck(nullptr) {} explicit constexpr StopAck(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); StopAck(const StopAck& from); StopAck(StopAck&& from) noexcept : StopAck() { *this = ::std::move(from); } inline StopAck& operator=(const StopAck& from) { CopyFrom(from); return *this; } inline StopAck& operator=(StopAck&& 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 StopAck& default_instance() { return *internal_default_instance(); } static inline const StopAck* internal_default_instance() { return reinterpret_cast( &_StopAck_default_instance_); } static constexpr int kIndexInFileMessages = 36; friend void swap(StopAck& a, StopAck& b) { a.Swap(&b); } inline void Swap(StopAck* 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(StopAck* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- StopAck* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; inline void CopyFrom(const StopAck& from) { ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from); } using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; void MergeFrom(const StopAck& from) { ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from); } public: private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "RemoNet.StopAck"; } protected: explicit StopAck(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: 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 ------------------------------------------------------- // @@protoc_insertion_point(class_scope:RemoNet.StopAck) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_protocol_2eproto; }; // ------------------------------------------------------------------- class can_net_frame final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.can_net_frame) */ { public: inline can_net_frame() : can_net_frame(nullptr) {} ~can_net_frame() override; explicit constexpr can_net_frame(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); can_net_frame(const can_net_frame& from); can_net_frame(can_net_frame&& from) noexcept : can_net_frame() { *this = ::std::move(from); } inline can_net_frame& operator=(const can_net_frame& from) { CopyFrom(from); return *this; } inline can_net_frame& operator=(can_net_frame&& 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 can_net_frame& default_instance() { return *internal_default_instance(); } static inline const can_net_frame* internal_default_instance() { return reinterpret_cast( &_can_net_frame_default_instance_); } static constexpr int kIndexInFileMessages = 37; friend void swap(can_net_frame& a, can_net_frame& b) { a.Swap(&b); } inline void Swap(can_net_frame* 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(can_net_frame* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- can_net_frame* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const can_net_frame& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; void MergeFrom(const can_net_frame& 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(can_net_frame* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "RemoNet.can_net_frame"; } protected: explicit can_net_frame(::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 { kDataFieldNumber = 3, kDlcFieldNumber = 1, kCanidFieldNumber = 2, }; // bytes data = 3; void clear_data(); const std::string& data() const; template void set_data(ArgT0&& arg0, ArgT... args); std::string* mutable_data(); PROTOBUF_NODISCARD std::string* release_data(); void set_allocated_data(std::string* data); private: const std::string& _internal_data() const; inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value); std::string* _internal_mutable_data(); public: // sint32 dlc = 1; void clear_dlc(); int32_t dlc() const; void set_dlc(int32_t value); private: int32_t _internal_dlc() const; void _internal_set_dlc(int32_t value); public: // int32 canid = 2; void clear_canid(); int32_t canid() const; void set_canid(int32_t value); private: int32_t _internal_canid() const; void _internal_set_canid(int32_t value); public: // @@protoc_insertion_point(class_scope:RemoNet.can_net_frame) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; int32_t dlc_; int32_t canid_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_protocol_2eproto; }; // ------------------------------------------------------------------- class CCCanMsg final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCCanMsg) */ { public: inline CCCanMsg() : CCCanMsg(nullptr) {} ~CCCanMsg() override; explicit constexpr CCCanMsg(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); CCCanMsg(const CCCanMsg& from); CCCanMsg(CCCanMsg&& from) noexcept : CCCanMsg() { *this = ::std::move(from); } inline CCCanMsg& operator=(const CCCanMsg& from) { CopyFrom(from); return *this; } inline CCCanMsg& operator=(CCCanMsg&& 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 CCCanMsg& default_instance() { return *internal_default_instance(); } static inline const CCCanMsg* internal_default_instance() { return reinterpret_cast( &_CCCanMsg_default_instance_); } static constexpr int kIndexInFileMessages = 38; friend void swap(CCCanMsg& a, CCCanMsg& b) { a.Swap(&b); } inline void Swap(CCCanMsg* 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(CCCanMsg* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- CCCanMsg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const CCCanMsg& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; void MergeFrom(const CCCanMsg& 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(CCCanMsg* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "RemoNet.CCCanMsg"; } protected: explicit CCCanMsg(::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 { kFramsFieldNumber = 1, }; // repeated .RemoNet.can_net_frame frams = 1; int frams_size() const; private: int _internal_frams_size() const; public: void clear_frams(); ::RemoNet::can_net_frame* mutable_frams(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::can_net_frame >* mutable_frams(); private: const ::RemoNet::can_net_frame& _internal_frams(int index) const; ::RemoNet::can_net_frame* _internal_add_frams(); public: const ::RemoNet::can_net_frame& frams(int index) const; ::RemoNet::can_net_frame* add_frams(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::can_net_frame >& frams() const; // @@protoc_insertion_point(class_scope:RemoNet.CCCanMsg) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::can_net_frame > frams_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_protocol_2eproto; }; // ------------------------------------------------------------------- class SCAddRobot final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCAddRobot) */ { public: inline SCAddRobot() : SCAddRobot(nullptr) {} ~SCAddRobot() override; explicit constexpr SCAddRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); SCAddRobot(const SCAddRobot& from); SCAddRobot(SCAddRobot&& from) noexcept : SCAddRobot() { *this = ::std::move(from); } inline SCAddRobot& operator=(const SCAddRobot& from) { CopyFrom(from); return *this; } inline SCAddRobot& operator=(SCAddRobot&& 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 SCAddRobot& default_instance() { return *internal_default_instance(); } static inline const SCAddRobot* internal_default_instance() { return reinterpret_cast( &_SCAddRobot_default_instance_); } static constexpr int kIndexInFileMessages = 39; friend void swap(SCAddRobot& a, SCAddRobot& b) { a.Swap(&b); } inline void Swap(SCAddRobot* 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(SCAddRobot* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- SCAddRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const SCAddRobot& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; void MergeFrom(const SCAddRobot& 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(SCAddRobot* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "RemoNet.SCAddRobot"; } protected: explicit SCAddRobot(::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 { kRobotFieldNumber = 1, }; // .RemoNet.Robot robot = 1; bool has_robot() const; private: bool _internal_has_robot() const; public: void clear_robot(); const ::RemoNet::Robot& robot() const; PROTOBUF_NODISCARD ::RemoNet::Robot* release_robot(); ::RemoNet::Robot* mutable_robot(); void set_allocated_robot(::RemoNet::Robot* robot); private: const ::RemoNet::Robot& _internal_robot() const; ::RemoNet::Robot* _internal_mutable_robot(); public: void unsafe_arena_set_allocated_robot( ::RemoNet::Robot* robot); ::RemoNet::Robot* unsafe_arena_release_robot(); // @@protoc_insertion_point(class_scope:RemoNet.SCAddRobot) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::RemoNet::Robot* robot_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_protocol_2eproto; }; // ------------------------------------------------------------------- class SCDelRobot final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCDelRobot) */ { public: inline SCDelRobot() : SCDelRobot(nullptr) {} ~SCDelRobot() override; explicit constexpr SCDelRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); SCDelRobot(const SCDelRobot& from); SCDelRobot(SCDelRobot&& from) noexcept : SCDelRobot() { *this = ::std::move(from); } inline SCDelRobot& operator=(const SCDelRobot& from) { CopyFrom(from); return *this; } inline SCDelRobot& operator=(SCDelRobot&& 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 SCDelRobot& default_instance() { return *internal_default_instance(); } static inline const SCDelRobot* internal_default_instance() { return reinterpret_cast( &_SCDelRobot_default_instance_); } static constexpr int kIndexInFileMessages = 40; friend void swap(SCDelRobot& a, SCDelRobot& b) { a.Swap(&b); } inline void Swap(SCDelRobot* 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(SCDelRobot* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- SCDelRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const SCDelRobot& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; void MergeFrom(const SCDelRobot& 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(SCDelRobot* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "RemoNet.SCDelRobot"; } protected: explicit SCDelRobot(::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 { kPeerFieldNumber = 1, kEgotypeFieldNumber = 2, }; // int32 peer = 1; void clear_peer(); int32_t peer() const; void set_peer(int32_t value); private: int32_t _internal_peer() const; void _internal_set_peer(int32_t value); public: // int32 egotype = 2; void clear_egotype(); int32_t egotype() const; void set_egotype(int32_t value); private: int32_t _internal_egotype() const; void _internal_set_egotype(int32_t value); public: // @@protoc_insertion_point(class_scope:RemoNet.SCDelRobot) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; int32_t peer_; int32_t egotype_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_protocol_2eproto; }; // =================================================================== // =================================================================== #ifdef __GNUC__ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wstrict-aliasing" #endif // __GNUC__ // SwitchDriver // int32 peer = 1; inline void SwitchDriver::clear_peer() { peer_ = 0; } inline int32_t SwitchDriver::_internal_peer() const { return peer_; } inline int32_t SwitchDriver::peer() const { // @@protoc_insertion_point(field_get:RemoNet.SwitchDriver.peer) return _internal_peer(); } inline void SwitchDriver::_internal_set_peer(int32_t value) { peer_ = value; } inline void SwitchDriver::set_peer(int32_t value) { _internal_set_peer(value); // @@protoc_insertion_point(field_set:RemoNet.SwitchDriver.peer) } // ------------------------------------------------------------------- // NDTPos // float x = 1; inline void NDTPos::clear_x() { x_ = 0; } inline float NDTPos::_internal_x() const { return x_; } inline float NDTPos::x() const { // @@protoc_insertion_point(field_get:RemoNet.NDTPos.x) return _internal_x(); } inline void NDTPos::_internal_set_x(float value) { x_ = value; } inline void NDTPos::set_x(float value) { _internal_set_x(value); // @@protoc_insertion_point(field_set:RemoNet.NDTPos.x) } // float y = 2; inline void NDTPos::clear_y() { y_ = 0; } inline float NDTPos::_internal_y() const { return y_; } inline float NDTPos::y() const { // @@protoc_insertion_point(field_get:RemoNet.NDTPos.y) return _internal_y(); } inline void NDTPos::_internal_set_y(float value) { y_ = value; } inline void NDTPos::set_y(float value) { _internal_set_y(value); // @@protoc_insertion_point(field_set:RemoNet.NDTPos.y) } // float z = 3; inline void NDTPos::clear_z() { z_ = 0; } inline float NDTPos::_internal_z() const { return z_; } inline float NDTPos::z() const { // @@protoc_insertion_point(field_get:RemoNet.NDTPos.z) return _internal_z(); } inline void NDTPos::_internal_set_z(float value) { z_ = value; } inline void NDTPos::set_z(float value) { _internal_set_z(value); // @@protoc_insertion_point(field_set:RemoNet.NDTPos.z) } // float rx = 4; inline void NDTPos::clear_rx() { rx_ = 0; } inline float NDTPos::_internal_rx() const { return rx_; } inline float NDTPos::rx() const { // @@protoc_insertion_point(field_get:RemoNet.NDTPos.rx) return _internal_rx(); } inline void NDTPos::_internal_set_rx(float value) { rx_ = value; } inline void NDTPos::set_rx(float value) { _internal_set_rx(value); // @@protoc_insertion_point(field_set:RemoNet.NDTPos.rx) } // float ry = 5; inline void NDTPos::clear_ry() { ry_ = 0; } inline float NDTPos::_internal_ry() const { return ry_; } inline float NDTPos::ry() const { // @@protoc_insertion_point(field_get:RemoNet.NDTPos.ry) return _internal_ry(); } inline void NDTPos::_internal_set_ry(float value) { ry_ = value; } inline void NDTPos::set_ry(float value) { _internal_set_ry(value); // @@protoc_insertion_point(field_set:RemoNet.NDTPos.ry) } // float rz = 6; inline void NDTPos::clear_rz() { rz_ = 0; } inline float NDTPos::_internal_rz() const { return rz_; } inline float NDTPos::rz() const { // @@protoc_insertion_point(field_get:RemoNet.NDTPos.rz) return _internal_rz(); } inline void NDTPos::_internal_set_rz(float value) { rz_ = value; } inline void NDTPos::set_rz(float value) { _internal_set_rz(value); // @@protoc_insertion_point(field_set:RemoNet.NDTPos.rz) } // float rw = 7; inline void NDTPos::clear_rw() { rw_ = 0; } inline float NDTPos::_internal_rw() const { return rw_; } inline float NDTPos::rw() const { // @@protoc_insertion_point(field_get:RemoNet.NDTPos.rw) return _internal_rw(); } inline void NDTPos::_internal_set_rw(float value) { rw_ = value; } inline void NDTPos::set_rw(float value) { _internal_set_rw(value); // @@protoc_insertion_point(field_set:RemoNet.NDTPos.rw) } // ------------------------------------------------------------------- // CSMoveBegin // int32 peer = 1; inline void CSMoveBegin::clear_peer() { peer_ = 0; } inline int32_t CSMoveBegin::_internal_peer() const { return peer_; } inline int32_t CSMoveBegin::peer() const { // @@protoc_insertion_point(field_get:RemoNet.CSMoveBegin.peer) return _internal_peer(); } inline void CSMoveBegin::_internal_set_peer(int32_t value) { peer_ = value; } inline void CSMoveBegin::set_peer(int32_t value) { _internal_set_peer(value); // @@protoc_insertion_point(field_set:RemoNet.CSMoveBegin.peer) } // int32 area = 2; inline void CSMoveBegin::clear_area() { area_ = 0; } inline int32_t CSMoveBegin::_internal_area() const { return area_; } inline int32_t CSMoveBegin::area() const { // @@protoc_insertion_point(field_get:RemoNet.CSMoveBegin.area) return _internal_area(); } inline void CSMoveBegin::_internal_set_area(int32_t value) { area_ = value; } inline void CSMoveBegin::set_area(int32_t value) { _internal_set_area(value); // @@protoc_insertion_point(field_set:RemoNet.CSMoveBegin.area) } // int32 no = 3; inline void CSMoveBegin::clear_no() { no_ = 0; } inline int32_t CSMoveBegin::_internal_no() const { return no_; } inline int32_t CSMoveBegin::no() const { // @@protoc_insertion_point(field_get:RemoNet.CSMoveBegin.no) return _internal_no(); } inline void CSMoveBegin::_internal_set_no(int32_t value) { no_ = value; } inline void CSMoveBegin::set_no(int32_t value) { _internal_set_no(value); // @@protoc_insertion_point(field_set:RemoNet.CSMoveBegin.no) } // ------------------------------------------------------------------- // MoveRet // .RemoNet.MoveDesc desc = 1; inline void MoveRet::clear_desc() { desc_ = 0; } inline ::RemoNet::MoveDesc MoveRet::_internal_desc() const { return static_cast< ::RemoNet::MoveDesc >(desc_); } inline ::RemoNet::MoveDesc MoveRet::desc() const { // @@protoc_insertion_point(field_get:RemoNet.MoveRet.desc) return _internal_desc(); } inline void MoveRet::_internal_set_desc(::RemoNet::MoveDesc value) { desc_ = value; } inline void MoveRet::set_desc(::RemoNet::MoveDesc value) { _internal_set_desc(value); // @@protoc_insertion_point(field_set:RemoNet.MoveRet.desc) } // int32 peer = 2; inline void MoveRet::clear_peer() { peer_ = 0; } inline int32_t MoveRet::_internal_peer() const { return peer_; } inline int32_t MoveRet::peer() const { // @@protoc_insertion_point(field_get:RemoNet.MoveRet.peer) return _internal_peer(); } inline void MoveRet::_internal_set_peer(int32_t value) { peer_ = value; } inline void MoveRet::set_peer(int32_t value) { _internal_set_peer(value); // @@protoc_insertion_point(field_set:RemoNet.MoveRet.peer) } // ------------------------------------------------------------------- // CSMoveEnd // int32 area = 1; inline void CSMoveEnd::clear_area() { area_ = 0; } inline int32_t CSMoveEnd::_internal_area() const { return area_; } inline int32_t CSMoveEnd::area() const { // @@protoc_insertion_point(field_get:RemoNet.CSMoveEnd.area) return _internal_area(); } inline void CSMoveEnd::_internal_set_area(int32_t value) { area_ = value; } inline void CSMoveEnd::set_area(int32_t value) { _internal_set_area(value); // @@protoc_insertion_point(field_set:RemoNet.CSMoveEnd.area) } // int32 no = 2; inline void CSMoveEnd::clear_no() { no_ = 0; } inline int32_t CSMoveEnd::_internal_no() const { return no_; } inline int32_t CSMoveEnd::no() const { // @@protoc_insertion_point(field_get:RemoNet.CSMoveEnd.no) return _internal_no(); } inline void CSMoveEnd::_internal_set_no(int32_t value) { no_ = value; } inline void CSMoveEnd::set_no(int32_t value) { _internal_set_no(value); // @@protoc_insertion_point(field_set:RemoNet.CSMoveEnd.no) } // int32 uid = 3; inline void CSMoveEnd::clear_uid() { uid_ = 0; } inline int32_t CSMoveEnd::_internal_uid() const { return uid_; } inline int32_t CSMoveEnd::uid() const { // @@protoc_insertion_point(field_get:RemoNet.CSMoveEnd.uid) return _internal_uid(); } inline void CSMoveEnd::_internal_set_uid(int32_t value) { uid_ = value; } inline void CSMoveEnd::set_uid(int32_t value) { _internal_set_uid(value); // @@protoc_insertion_point(field_set:RemoNet.CSMoveEnd.uid) } // ------------------------------------------------------------------- // SCMoveBegin // int32 uid = 1; inline void SCMoveBegin::clear_uid() { uid_ = 0; } inline int32_t SCMoveBegin::_internal_uid() const { return uid_; } inline int32_t SCMoveBegin::uid() const { // @@protoc_insertion_point(field_get:RemoNet.SCMoveBegin.uid) return _internal_uid(); } inline void SCMoveBegin::_internal_set_uid(int32_t value) { uid_ = value; } inline void SCMoveBegin::set_uid(int32_t value) { _internal_set_uid(value); // @@protoc_insertion_point(field_set:RemoNet.SCMoveBegin.uid) } // int32 area = 2; inline void SCMoveBegin::clear_area() { area_ = 0; } inline int32_t SCMoveBegin::_internal_area() const { return area_; } inline int32_t SCMoveBegin::area() const { // @@protoc_insertion_point(field_get:RemoNet.SCMoveBegin.area) return _internal_area(); } inline void SCMoveBegin::_internal_set_area(int32_t value) { area_ = value; } inline void SCMoveBegin::set_area(int32_t value) { _internal_set_area(value); // @@protoc_insertion_point(field_set:RemoNet.SCMoveBegin.area) } // int32 no = 3; inline void SCMoveBegin::clear_no() { no_ = 0; } inline int32_t SCMoveBegin::_internal_no() const { return no_; } inline int32_t SCMoveBegin::no() const { // @@protoc_insertion_point(field_get:RemoNet.SCMoveBegin.no) return _internal_no(); } inline void SCMoveBegin::_internal_set_no(int32_t value) { no_ = value; } inline void SCMoveBegin::set_no(int32_t value) { _internal_set_no(value); // @@protoc_insertion_point(field_set:RemoNet.SCMoveBegin.no) } // float x = 4; inline void SCMoveBegin::clear_x() { x_ = 0; } inline float SCMoveBegin::_internal_x() const { return x_; } inline float SCMoveBegin::x() const { // @@protoc_insertion_point(field_get:RemoNet.SCMoveBegin.x) return _internal_x(); } inline void SCMoveBegin::_internal_set_x(float value) { x_ = value; } inline void SCMoveBegin::set_x(float value) { _internal_set_x(value); // @@protoc_insertion_point(field_set:RemoNet.SCMoveBegin.x) } // float y = 5; inline void SCMoveBegin::clear_y() { y_ = 0; } inline float SCMoveBegin::_internal_y() const { return y_; } inline float SCMoveBegin::y() const { // @@protoc_insertion_point(field_get:RemoNet.SCMoveBegin.y) return _internal_y(); } inline void SCMoveBegin::_internal_set_y(float value) { y_ = value; } inline void SCMoveBegin::set_y(float value) { _internal_set_y(value); // @@protoc_insertion_point(field_set:RemoNet.SCMoveBegin.y) } // ------------------------------------------------------------------- // SCMoveEnd // int32 area = 1; inline void SCMoveEnd::clear_area() { area_ = 0; } inline int32_t SCMoveEnd::_internal_area() const { return area_; } inline int32_t SCMoveEnd::area() const { // @@protoc_insertion_point(field_get:RemoNet.SCMoveEnd.area) return _internal_area(); } inline void SCMoveEnd::_internal_set_area(int32_t value) { area_ = value; } inline void SCMoveEnd::set_area(int32_t value) { _internal_set_area(value); // @@protoc_insertion_point(field_set:RemoNet.SCMoveEnd.area) } // int32 no = 2; inline void SCMoveEnd::clear_no() { no_ = 0; } inline int32_t SCMoveEnd::_internal_no() const { return no_; } inline int32_t SCMoveEnd::no() const { // @@protoc_insertion_point(field_get:RemoNet.SCMoveEnd.no) return _internal_no(); } inline void SCMoveEnd::_internal_set_no(int32_t value) { no_ = value; } inline void SCMoveEnd::set_no(int32_t value) { _internal_set_no(value); // @@protoc_insertion_point(field_set:RemoNet.SCMoveEnd.no) } // int32 uid = 3; inline void SCMoveEnd::clear_uid() { uid_ = 0; } inline int32_t SCMoveEnd::_internal_uid() const { return uid_; } inline int32_t SCMoveEnd::uid() const { // @@protoc_insertion_point(field_get:RemoNet.SCMoveEnd.uid) return _internal_uid(); } inline void SCMoveEnd::_internal_set_uid(int32_t value) { uid_ = value; } inline void SCMoveEnd::set_uid(int32_t value) { _internal_set_uid(value); // @@protoc_insertion_point(field_set:RemoNet.SCMoveEnd.uid) } // ------------------------------------------------------------------- // CSAdd // string serial = 1; inline void CSAdd::clear_serial() { serial_.ClearToEmpty(); } inline const std::string& CSAdd::serial() const { // @@protoc_insertion_point(field_get:RemoNet.CSAdd.serial) return _internal_serial(); } template inline PROTOBUF_ALWAYS_INLINE void CSAdd::set_serial(ArgT0&& arg0, ArgT... args) { serial_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:RemoNet.CSAdd.serial) } inline std::string* CSAdd::mutable_serial() { std::string* _s = _internal_mutable_serial(); // @@protoc_insertion_point(field_mutable:RemoNet.CSAdd.serial) return _s; } inline const std::string& CSAdd::_internal_serial() const { return serial_.Get(); } inline void CSAdd::_internal_set_serial(const std::string& value) { serial_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } inline std::string* CSAdd::_internal_mutable_serial() { return serial_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } inline std::string* CSAdd::release_serial() { // @@protoc_insertion_point(field_release:RemoNet.CSAdd.serial) return serial_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); } inline void CSAdd::set_allocated_serial(std::string* serial) { if (serial != nullptr) { } else { } serial_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), serial, GetArenaForAllocation()); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING if (serial_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { serial_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); } #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING // @@protoc_insertion_point(field_set_allocated:RemoNet.CSAdd.serial) } // int32 type = 2; inline void CSAdd::clear_type() { type_ = 0; } inline int32_t CSAdd::_internal_type() const { return type_; } inline int32_t CSAdd::type() const { // @@protoc_insertion_point(field_get:RemoNet.CSAdd.type) return _internal_type(); } inline void CSAdd::_internal_set_type(int32_t value) { type_ = value; } inline void CSAdd::set_type(int32_t value) { _internal_set_type(value); // @@protoc_insertion_point(field_set:RemoNet.CSAdd.type) } // string name = 3; inline void CSAdd::clear_name() { name_.ClearToEmpty(); } inline const std::string& CSAdd::name() const { // @@protoc_insertion_point(field_get:RemoNet.CSAdd.name) return _internal_name(); } template inline PROTOBUF_ALWAYS_INLINE void CSAdd::set_name(ArgT0&& arg0, ArgT... args) { name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:RemoNet.CSAdd.name) } inline std::string* CSAdd::mutable_name() { std::string* _s = _internal_mutable_name(); // @@protoc_insertion_point(field_mutable:RemoNet.CSAdd.name) return _s; } inline const std::string& CSAdd::_internal_name() const { return name_.Get(); } inline void CSAdd::_internal_set_name(const std::string& value) { name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } inline std::string* CSAdd::_internal_mutable_name() { return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } inline std::string* CSAdd::release_name() { // @@protoc_insertion_point(field_release:RemoNet.CSAdd.name) return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); } inline void CSAdd::set_allocated_name(std::string* name) { if (name != nullptr) { } else { } name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name, GetArenaForAllocation()); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); } #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING // @@protoc_insertion_point(field_set_allocated:RemoNet.CSAdd.name) } // int32 car = 4; inline void CSAdd::clear_car() { car_ = 0; } inline int32_t CSAdd::_internal_car() const { return car_; } inline int32_t CSAdd::car() const { // @@protoc_insertion_point(field_get:RemoNet.CSAdd.car) return _internal_car(); } inline void CSAdd::_internal_set_car(int32_t value) { car_ = value; } inline void CSAdd::set_car(int32_t value) { _internal_set_car(value); // @@protoc_insertion_point(field_set:RemoNet.CSAdd.car) } // ------------------------------------------------------------------- // SCAdd // bool ret = 1; inline void SCAdd::clear_ret() { ret_ = false; } inline bool SCAdd::_internal_ret() const { return ret_; } inline bool SCAdd::ret() const { // @@protoc_insertion_point(field_get:RemoNet.SCAdd.ret) return _internal_ret(); } inline void SCAdd::_internal_set_ret(bool value) { ret_ = value; } inline void SCAdd::set_ret(bool value) { _internal_set_ret(value); // @@protoc_insertion_point(field_set:RemoNet.SCAdd.ret) } // int32 uid = 2; inline void SCAdd::clear_uid() { uid_ = 0; } inline int32_t SCAdd::_internal_uid() const { return uid_; } inline int32_t SCAdd::uid() const { // @@protoc_insertion_point(field_get:RemoNet.SCAdd.uid) return _internal_uid(); } inline void SCAdd::_internal_set_uid(int32_t value) { uid_ = value; } inline void SCAdd::set_uid(int32_t value) { _internal_set_uid(value); // @@protoc_insertion_point(field_set:RemoNet.SCAdd.uid) } // string name = 3; inline void SCAdd::clear_name() { name_.ClearToEmpty(); } inline const std::string& SCAdd::name() const { // @@protoc_insertion_point(field_get:RemoNet.SCAdd.name) return _internal_name(); } template inline PROTOBUF_ALWAYS_INLINE void SCAdd::set_name(ArgT0&& arg0, ArgT... args) { name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:RemoNet.SCAdd.name) } inline std::string* SCAdd::mutable_name() { std::string* _s = _internal_mutable_name(); // @@protoc_insertion_point(field_mutable:RemoNet.SCAdd.name) return _s; } inline const std::string& SCAdd::_internal_name() const { return name_.Get(); } inline void SCAdd::_internal_set_name(const std::string& value) { name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } inline std::string* SCAdd::_internal_mutable_name() { return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } inline std::string* SCAdd::release_name() { // @@protoc_insertion_point(field_release:RemoNet.SCAdd.name) return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); } inline void SCAdd::set_allocated_name(std::string* name) { if (name != nullptr) { } else { } name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name, GetArenaForAllocation()); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); } #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING // @@protoc_insertion_point(field_set_allocated:RemoNet.SCAdd.name) } // int32 car = 4; inline void SCAdd::clear_car() { car_ = 0; } inline int32_t SCAdd::_internal_car() const { return car_; } inline int32_t SCAdd::car() const { // @@protoc_insertion_point(field_get:RemoNet.SCAdd.car) return _internal_car(); } inline void SCAdd::_internal_set_car(int32_t value) { car_ = value; } inline void SCAdd::set_car(int32_t value) { _internal_set_car(value); // @@protoc_insertion_point(field_set:RemoNet.SCAdd.car) } // ------------------------------------------------------------------- // SCKickOff // ------------------------------------------------------------------- // CSState // .RemoNet.UserState state = 1; inline void CSState::clear_state() { state_ = 0; } inline ::RemoNet::UserState CSState::_internal_state() const { return static_cast< ::RemoNet::UserState >(state_); } inline ::RemoNet::UserState CSState::state() const { // @@protoc_insertion_point(field_get:RemoNet.CSState.state) return _internal_state(); } inline void CSState::_internal_set_state(::RemoNet::UserState value) { state_ = value; } inline void CSState::set_state(::RemoNet::UserState value) { _internal_set_state(value); // @@protoc_insertion_point(field_set:RemoNet.CSState.state) } // int32 uid = 2; inline void CSState::clear_uid() { uid_ = 0; } inline int32_t CSState::_internal_uid() const { return uid_; } inline int32_t CSState::uid() const { // @@protoc_insertion_point(field_get:RemoNet.CSState.uid) return _internal_uid(); } inline void CSState::_internal_set_uid(int32_t value) { uid_ = value; } inline void CSState::set_uid(int32_t value) { _internal_set_uid(value); // @@protoc_insertion_point(field_set:RemoNet.CSState.uid) } // ------------------------------------------------------------------- // SCState // .RemoNet.UserState state = 1; inline void SCState::clear_state() { state_ = 0; } inline ::RemoNet::UserState SCState::_internal_state() const { return static_cast< ::RemoNet::UserState >(state_); } inline ::RemoNet::UserState SCState::state() const { // @@protoc_insertion_point(field_get:RemoNet.SCState.state) return _internal_state(); } inline void SCState::_internal_set_state(::RemoNet::UserState value) { state_ = value; } inline void SCState::set_state(::RemoNet::UserState value) { _internal_set_state(value); // @@protoc_insertion_point(field_set:RemoNet.SCState.state) } // int32 uid = 2; inline void SCState::clear_uid() { uid_ = 0; } inline int32_t SCState::_internal_uid() const { return uid_; } inline int32_t SCState::uid() const { // @@protoc_insertion_point(field_get:RemoNet.SCState.uid) return _internal_uid(); } inline void SCState::_internal_set_uid(int32_t value) { uid_ = value; } inline void SCState::set_uid(int32_t value) { _internal_set_uid(value); // @@protoc_insertion_point(field_set:RemoNet.SCState.uid) } // ------------------------------------------------------------------- // Robot // int32 rid = 1; inline void Robot::clear_rid() { rid_ = 0; } inline int32_t Robot::_internal_rid() const { return rid_; } inline int32_t Robot::rid() const { // @@protoc_insertion_point(field_get:RemoNet.Robot.rid) return _internal_rid(); } inline void Robot::_internal_set_rid(int32_t value) { rid_ = value; } inline void Robot::set_rid(int32_t value) { _internal_set_rid(value); // @@protoc_insertion_point(field_set:RemoNet.Robot.rid) } // string name = 2; inline void Robot::clear_name() { name_.ClearToEmpty(); } inline const std::string& Robot::name() const { // @@protoc_insertion_point(field_get:RemoNet.Robot.name) return _internal_name(); } template inline PROTOBUF_ALWAYS_INLINE void Robot::set_name(ArgT0&& arg0, ArgT... args) { name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:RemoNet.Robot.name) } inline std::string* Robot::mutable_name() { std::string* _s = _internal_mutable_name(); // @@protoc_insertion_point(field_mutable:RemoNet.Robot.name) return _s; } inline const std::string& Robot::_internal_name() const { return name_.Get(); } inline void Robot::_internal_set_name(const std::string& value) { name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } inline std::string* Robot::_internal_mutable_name() { return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } inline std::string* Robot::release_name() { // @@protoc_insertion_point(field_release:RemoNet.Robot.name) return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); } inline void Robot::set_allocated_name(std::string* name) { if (name != nullptr) { } else { } name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name, GetArenaForAllocation()); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); } #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING // @@protoc_insertion_point(field_set_allocated:RemoNet.Robot.name) } // int32 type = 3; inline void Robot::clear_type() { type_ = 0; } inline int32_t Robot::_internal_type() const { return type_; } inline int32_t Robot::type() const { // @@protoc_insertion_point(field_get:RemoNet.Robot.type) return _internal_type(); } inline void Robot::_internal_set_type(int32_t value) { type_ = value; } inline void Robot::set_type(int32_t value) { _internal_set_type(value); // @@protoc_insertion_point(field_set:RemoNet.Robot.type) } // .RemoNet.UserState state = 4; inline void Robot::clear_state() { state_ = 0; } inline ::RemoNet::UserState Robot::_internal_state() const { return static_cast< ::RemoNet::UserState >(state_); } inline ::RemoNet::UserState Robot::state() const { // @@protoc_insertion_point(field_get:RemoNet.Robot.state) return _internal_state(); } inline void Robot::_internal_set_state(::RemoNet::UserState value) { state_ = value; } inline void Robot::set_state(::RemoNet::UserState value) { _internal_set_state(value); // @@protoc_insertion_point(field_set:RemoNet.Robot.state) } // int32 carType = 5; inline void Robot::clear_cartype() { cartype_ = 0; } inline int32_t Robot::_internal_cartype() const { return cartype_; } inline int32_t Robot::cartype() const { // @@protoc_insertion_point(field_get:RemoNet.Robot.carType) return _internal_cartype(); } inline void Robot::_internal_set_cartype(int32_t value) { cartype_ = value; } inline void Robot::set_cartype(int32_t value) { _internal_set_cartype(value); // @@protoc_insertion_point(field_set:RemoNet.Robot.carType) } // ------------------------------------------------------------------- // CSRobot // ------------------------------------------------------------------- // SCRobot // repeated .RemoNet.Robot robot = 1; inline int SCRobot::_internal_robot_size() const { return robot_.size(); } inline int SCRobot::robot_size() const { return _internal_robot_size(); } inline void SCRobot::clear_robot() { robot_.Clear(); } inline ::RemoNet::Robot* SCRobot::mutable_robot(int index) { // @@protoc_insertion_point(field_mutable:RemoNet.SCRobot.robot) return robot_.Mutable(index); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot >* SCRobot::mutable_robot() { // @@protoc_insertion_point(field_mutable_list:RemoNet.SCRobot.robot) return &robot_; } inline const ::RemoNet::Robot& SCRobot::_internal_robot(int index) const { return robot_.Get(index); } inline const ::RemoNet::Robot& SCRobot::robot(int index) const { // @@protoc_insertion_point(field_get:RemoNet.SCRobot.robot) return _internal_robot(index); } inline ::RemoNet::Robot* SCRobot::_internal_add_robot() { return robot_.Add(); } inline ::RemoNet::Robot* SCRobot::add_robot() { ::RemoNet::Robot* _add = _internal_add_robot(); // @@protoc_insertion_point(field_add:RemoNet.SCRobot.robot) return _add; } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot >& SCRobot::robot() const { // @@protoc_insertion_point(field_list:RemoNet.SCRobot.robot) return robot_; } // ------------------------------------------------------------------- // CSSign // string account = 1; inline void CSSign::clear_account() { account_.ClearToEmpty(); } inline const std::string& CSSign::account() const { // @@protoc_insertion_point(field_get:RemoNet.CSSign.account) return _internal_account(); } template inline PROTOBUF_ALWAYS_INLINE void CSSign::set_account(ArgT0&& arg0, ArgT... args) { account_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:RemoNet.CSSign.account) } inline std::string* CSSign::mutable_account() { std::string* _s = _internal_mutable_account(); // @@protoc_insertion_point(field_mutable:RemoNet.CSSign.account) return _s; } inline const std::string& CSSign::_internal_account() const { return account_.Get(); } inline void CSSign::_internal_set_account(const std::string& value) { account_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } inline std::string* CSSign::_internal_mutable_account() { return account_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } inline std::string* CSSign::release_account() { // @@protoc_insertion_point(field_release:RemoNet.CSSign.account) return account_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); } inline void CSSign::set_allocated_account(std::string* account) { if (account != nullptr) { } else { } account_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), account, GetArenaForAllocation()); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING if (account_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { account_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); } #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING // @@protoc_insertion_point(field_set_allocated:RemoNet.CSSign.account) } // string password = 2; inline void CSSign::clear_password() { password_.ClearToEmpty(); } inline const std::string& CSSign::password() const { // @@protoc_insertion_point(field_get:RemoNet.CSSign.password) return _internal_password(); } template inline PROTOBUF_ALWAYS_INLINE void CSSign::set_password(ArgT0&& arg0, ArgT... args) { password_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:RemoNet.CSSign.password) } inline std::string* CSSign::mutable_password() { std::string* _s = _internal_mutable_password(); // @@protoc_insertion_point(field_mutable:RemoNet.CSSign.password) return _s; } inline const std::string& CSSign::_internal_password() const { return password_.Get(); } inline void CSSign::_internal_set_password(const std::string& value) { password_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } inline std::string* CSSign::_internal_mutable_password() { return password_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } inline std::string* CSSign::release_password() { // @@protoc_insertion_point(field_release:RemoNet.CSSign.password) return password_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); } inline void CSSign::set_allocated_password(std::string* password) { if (password != nullptr) { } else { } password_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), password, GetArenaForAllocation()); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING if (password_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { password_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); } #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING // @@protoc_insertion_point(field_set_allocated:RemoNet.CSSign.password) } // ------------------------------------------------------------------- // SCSign // bool ret = 1; inline void SCSign::clear_ret() { ret_ = false; } inline bool SCSign::_internal_ret() const { return ret_; } inline bool SCSign::ret() const { // @@protoc_insertion_point(field_get:RemoNet.SCSign.ret) return _internal_ret(); } inline void SCSign::_internal_set_ret(bool value) { ret_ = value; } inline void SCSign::set_ret(bool value) { _internal_set_ret(value); // @@protoc_insertion_point(field_set:RemoNet.SCSign.ret) } // int32 uid = 2; inline void SCSign::clear_uid() { uid_ = 0; } inline int32_t SCSign::_internal_uid() const { return uid_; } inline int32_t SCSign::uid() const { // @@protoc_insertion_point(field_get:RemoNet.SCSign.uid) return _internal_uid(); } inline void SCSign::_internal_set_uid(int32_t value) { uid_ = value; } inline void SCSign::set_uid(int32_t value) { _internal_set_uid(value); // @@protoc_insertion_point(field_set:RemoNet.SCSign.uid) } // string name = 3; inline void SCSign::clear_name() { name_.ClearToEmpty(); } inline const std::string& SCSign::name() const { // @@protoc_insertion_point(field_get:RemoNet.SCSign.name) return _internal_name(); } template inline PROTOBUF_ALWAYS_INLINE void SCSign::set_name(ArgT0&& arg0, ArgT... args) { name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:RemoNet.SCSign.name) } inline std::string* SCSign::mutable_name() { std::string* _s = _internal_mutable_name(); // @@protoc_insertion_point(field_mutable:RemoNet.SCSign.name) return _s; } inline const std::string& SCSign::_internal_name() const { return name_.Get(); } inline void SCSign::_internal_set_name(const std::string& value) { name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } inline std::string* SCSign::_internal_mutable_name() { return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } inline std::string* SCSign::release_name() { // @@protoc_insertion_point(field_release:RemoNet.SCSign.name) return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); } inline void SCSign::set_allocated_name(std::string* name) { if (name != nullptr) { } else { } name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name, GetArenaForAllocation()); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); } #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING // @@protoc_insertion_point(field_set_allocated:RemoNet.SCSign.name) } // ------------------------------------------------------------------- // CSReq // int32 peer = 1; inline void CSReq::clear_peer() { peer_ = 0; } inline int32_t CSReq::_internal_peer() const { return peer_; } inline int32_t CSReq::peer() const { // @@protoc_insertion_point(field_get:RemoNet.CSReq.peer) return _internal_peer(); } inline void CSReq::_internal_set_peer(int32_t value) { peer_ = value; } inline void CSReq::set_peer(int32_t value) { _internal_set_peer(value); // @@protoc_insertion_point(field_set:RemoNet.CSReq.peer) } // int32 index = 2; inline void CSReq::clear_index() { index_ = 0; } inline int32_t CSReq::_internal_index() const { return index_; } inline int32_t CSReq::index() const { // @@protoc_insertion_point(field_get:RemoNet.CSReq.index) return _internal_index(); } inline void CSReq::_internal_set_index(int32_t value) { index_ = value; } inline void CSReq::set_index(int32_t value) { _internal_set_index(value); // @@protoc_insertion_point(field_set:RemoNet.CSReq.index) } // int32 egotype = 3; inline void CSReq::clear_egotype() { egotype_ = 0; } inline int32_t CSReq::_internal_egotype() const { return egotype_; } inline int32_t CSReq::egotype() const { // @@protoc_insertion_point(field_get:RemoNet.CSReq.egotype) return _internal_egotype(); } inline void CSReq::_internal_set_egotype(int32_t value) { egotype_ = value; } inline void CSReq::set_egotype(int32_t value) { _internal_set_egotype(value); // @@protoc_insertion_point(field_set:RemoNet.CSReq.egotype) } // ------------------------------------------------------------------- // SCReq // .RemoNet.VideoDesc desc = 1; inline void SCReq::clear_desc() { desc_ = 0; } inline ::RemoNet::VideoDesc SCReq::_internal_desc() const { return static_cast< ::RemoNet::VideoDesc >(desc_); } inline ::RemoNet::VideoDesc SCReq::desc() const { // @@protoc_insertion_point(field_get:RemoNet.SCReq.desc) return _internal_desc(); } inline void SCReq::_internal_set_desc(::RemoNet::VideoDesc value) { desc_ = value; } inline void SCReq::set_desc(::RemoNet::VideoDesc value) { _internal_set_desc(value); // @@protoc_insertion_point(field_set:RemoNet.SCReq.desc) } // int32 peer = 2; inline void SCReq::clear_peer() { peer_ = 0; } inline int32_t SCReq::_internal_peer() const { return peer_; } inline int32_t SCReq::peer() const { // @@protoc_insertion_point(field_get:RemoNet.SCReq.peer) return _internal_peer(); } inline void SCReq::_internal_set_peer(int32_t value) { peer_ = value; } inline void SCReq::set_peer(int32_t value) { _internal_set_peer(value); // @@protoc_insertion_point(field_set:RemoNet.SCReq.peer) } // int32 egotype = 3; inline void SCReq::clear_egotype() { egotype_ = 0; } inline int32_t SCReq::_internal_egotype() const { return egotype_; } inline int32_t SCReq::egotype() const { // @@protoc_insertion_point(field_get:RemoNet.SCReq.egotype) return _internal_egotype(); } inline void SCReq::_internal_set_egotype(int32_t value) { egotype_ = value; } inline void SCReq::set_egotype(int32_t value) { _internal_set_egotype(value); // @@protoc_insertion_point(field_set:RemoNet.SCReq.egotype) } // ------------------------------------------------------------------- // CSRep // .RemoNet.VideoDesc desc = 1; inline void CSRep::clear_desc() { desc_ = 0; } inline ::RemoNet::VideoDesc CSRep::_internal_desc() const { return static_cast< ::RemoNet::VideoDesc >(desc_); } inline ::RemoNet::VideoDesc CSRep::desc() const { // @@protoc_insertion_point(field_get:RemoNet.CSRep.desc) return _internal_desc(); } inline void CSRep::_internal_set_desc(::RemoNet::VideoDesc value) { desc_ = value; } inline void CSRep::set_desc(::RemoNet::VideoDesc value) { _internal_set_desc(value); // @@protoc_insertion_point(field_set:RemoNet.CSRep.desc) } // int32 peer = 2; inline void CSRep::clear_peer() { peer_ = 0; } inline int32_t CSRep::_internal_peer() const { return peer_; } inline int32_t CSRep::peer() const { // @@protoc_insertion_point(field_get:RemoNet.CSRep.peer) return _internal_peer(); } inline void CSRep::_internal_set_peer(int32_t value) { peer_ = value; } inline void CSRep::set_peer(int32_t value) { _internal_set_peer(value); // @@protoc_insertion_point(field_set:RemoNet.CSRep.peer) } // int32 index = 3; inline void CSRep::clear_index() { index_ = 0; } inline int32_t CSRep::_internal_index() const { return index_; } inline int32_t CSRep::index() const { // @@protoc_insertion_point(field_get:RemoNet.CSRep.index) return _internal_index(); } inline void CSRep::_internal_set_index(int32_t value) { index_ = value; } inline void CSRep::set_index(int32_t value) { _internal_set_index(value); // @@protoc_insertion_point(field_set:RemoNet.CSRep.index) } // int32 egotype = 4; inline void CSRep::clear_egotype() { egotype_ = 0; } inline int32_t CSRep::_internal_egotype() const { return egotype_; } inline int32_t CSRep::egotype() const { // @@protoc_insertion_point(field_get:RemoNet.CSRep.egotype) return _internal_egotype(); } inline void CSRep::_internal_set_egotype(int32_t value) { egotype_ = value; } inline void CSRep::set_egotype(int32_t value) { _internal_set_egotype(value); // @@protoc_insertion_point(field_set:RemoNet.CSRep.egotype) } // ------------------------------------------------------------------- // SCRep // .RemoNet.VideoDesc desc = 1; inline void SCRep::clear_desc() { desc_ = 0; } inline ::RemoNet::VideoDesc SCRep::_internal_desc() const { return static_cast< ::RemoNet::VideoDesc >(desc_); } inline ::RemoNet::VideoDesc SCRep::desc() const { // @@protoc_insertion_point(field_get:RemoNet.SCRep.desc) return _internal_desc(); } inline void SCRep::_internal_set_desc(::RemoNet::VideoDesc value) { desc_ = value; } inline void SCRep::set_desc(::RemoNet::VideoDesc value) { _internal_set_desc(value); // @@protoc_insertion_point(field_set:RemoNet.SCRep.desc) } // int32 index = 2; inline void SCRep::clear_index() { index_ = 0; } inline int32_t SCRep::_internal_index() const { return index_; } inline int32_t SCRep::index() const { // @@protoc_insertion_point(field_get:RemoNet.SCRep.index) return _internal_index(); } inline void SCRep::_internal_set_index(int32_t value) { index_ = value; } inline void SCRep::set_index(int32_t value) { _internal_set_index(value); // @@protoc_insertion_point(field_set:RemoNet.SCRep.index) } // int32 egotype = 3; inline void SCRep::clear_egotype() { egotype_ = 0; } inline int32_t SCRep::_internal_egotype() const { return egotype_; } inline int32_t SCRep::egotype() const { // @@protoc_insertion_point(field_get:RemoNet.SCRep.egotype) return _internal_egotype(); } inline void SCRep::_internal_set_egotype(int32_t value) { egotype_ = value; } inline void SCRep::set_egotype(int32_t value) { _internal_set_egotype(value); // @@protoc_insertion_point(field_set:RemoNet.SCRep.egotype) } // int32 peer = 4; inline void SCRep::clear_peer() { peer_ = 0; } inline int32_t SCRep::_internal_peer() const { return peer_; } inline int32_t SCRep::peer() const { // @@protoc_insertion_point(field_get:RemoNet.SCRep.peer) return _internal_peer(); } inline void SCRep::_internal_set_peer(int32_t value) { peer_ = value; } inline void SCRep::set_peer(int32_t value) { _internal_set_peer(value); // @@protoc_insertion_point(field_set:RemoNet.SCRep.peer) } // ------------------------------------------------------------------- // Offer // int32 index = 1; inline void Offer::clear_index() { index_ = 0; } inline int32_t Offer::_internal_index() const { return index_; } inline int32_t Offer::index() const { // @@protoc_insertion_point(field_get:RemoNet.Offer.index) return _internal_index(); } inline void Offer::_internal_set_index(int32_t value) { index_ = value; } inline void Offer::set_index(int32_t value) { _internal_set_index(value); // @@protoc_insertion_point(field_set:RemoNet.Offer.index) } // int32 peer = 2; inline void Offer::clear_peer() { peer_ = 0; } inline int32_t Offer::_internal_peer() const { return peer_; } inline int32_t Offer::peer() const { // @@protoc_insertion_point(field_get:RemoNet.Offer.peer) return _internal_peer(); } inline void Offer::_internal_set_peer(int32_t value) { peer_ = value; } inline void Offer::set_peer(int32_t value) { _internal_set_peer(value); // @@protoc_insertion_point(field_set:RemoNet.Offer.peer) } // string type = 3; inline void Offer::clear_type() { type_.ClearToEmpty(); } inline const std::string& Offer::type() const { // @@protoc_insertion_point(field_get:RemoNet.Offer.type) return _internal_type(); } template inline PROTOBUF_ALWAYS_INLINE void Offer::set_type(ArgT0&& arg0, ArgT... args) { type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:RemoNet.Offer.type) } inline std::string* Offer::mutable_type() { std::string* _s = _internal_mutable_type(); // @@protoc_insertion_point(field_mutable:RemoNet.Offer.type) return _s; } inline const std::string& Offer::_internal_type() const { return type_.Get(); } inline void Offer::_internal_set_type(const std::string& value) { type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } inline std::string* Offer::_internal_mutable_type() { return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } inline std::string* Offer::release_type() { // @@protoc_insertion_point(field_release:RemoNet.Offer.type) return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); } inline void Offer::set_allocated_type(std::string* type) { if (type != nullptr) { } else { } type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type, GetArenaForAllocation()); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING if (type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); } #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING // @@protoc_insertion_point(field_set_allocated:RemoNet.Offer.type) } // string sdp = 4; inline void Offer::clear_sdp() { sdp_.ClearToEmpty(); } inline const std::string& Offer::sdp() const { // @@protoc_insertion_point(field_get:RemoNet.Offer.sdp) return _internal_sdp(); } template inline PROTOBUF_ALWAYS_INLINE void Offer::set_sdp(ArgT0&& arg0, ArgT... args) { sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:RemoNet.Offer.sdp) } inline std::string* Offer::mutable_sdp() { std::string* _s = _internal_mutable_sdp(); // @@protoc_insertion_point(field_mutable:RemoNet.Offer.sdp) return _s; } inline const std::string& Offer::_internal_sdp() const { return sdp_.Get(); } inline void Offer::_internal_set_sdp(const std::string& value) { sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } inline std::string* Offer::_internal_mutable_sdp() { return sdp_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } inline std::string* Offer::release_sdp() { // @@protoc_insertion_point(field_release:RemoNet.Offer.sdp) return sdp_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); } inline void Offer::set_allocated_sdp(std::string* sdp) { if (sdp != nullptr) { } else { } sdp_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sdp, GetArenaForAllocation()); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING if (sdp_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { sdp_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); } #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING // @@protoc_insertion_point(field_set_allocated:RemoNet.Offer.sdp) } // ------------------------------------------------------------------- // Answer // int32 index = 1; inline void Answer::clear_index() { index_ = 0; } inline int32_t Answer::_internal_index() const { return index_; } inline int32_t Answer::index() const { // @@protoc_insertion_point(field_get:RemoNet.Answer.index) return _internal_index(); } inline void Answer::_internal_set_index(int32_t value) { index_ = value; } inline void Answer::set_index(int32_t value) { _internal_set_index(value); // @@protoc_insertion_point(field_set:RemoNet.Answer.index) } // int32 peer = 2; inline void Answer::clear_peer() { peer_ = 0; } inline int32_t Answer::_internal_peer() const { return peer_; } inline int32_t Answer::peer() const { // @@protoc_insertion_point(field_get:RemoNet.Answer.peer) return _internal_peer(); } inline void Answer::_internal_set_peer(int32_t value) { peer_ = value; } inline void Answer::set_peer(int32_t value) { _internal_set_peer(value); // @@protoc_insertion_point(field_set:RemoNet.Answer.peer) } // string type = 3; inline void Answer::clear_type() { type_.ClearToEmpty(); } inline const std::string& Answer::type() const { // @@protoc_insertion_point(field_get:RemoNet.Answer.type) return _internal_type(); } template inline PROTOBUF_ALWAYS_INLINE void Answer::set_type(ArgT0&& arg0, ArgT... args) { type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:RemoNet.Answer.type) } inline std::string* Answer::mutable_type() { std::string* _s = _internal_mutable_type(); // @@protoc_insertion_point(field_mutable:RemoNet.Answer.type) return _s; } inline const std::string& Answer::_internal_type() const { return type_.Get(); } inline void Answer::_internal_set_type(const std::string& value) { type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } inline std::string* Answer::_internal_mutable_type() { return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } inline std::string* Answer::release_type() { // @@protoc_insertion_point(field_release:RemoNet.Answer.type) return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); } inline void Answer::set_allocated_type(std::string* type) { if (type != nullptr) { } else { } type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type, GetArenaForAllocation()); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING if (type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); } #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING // @@protoc_insertion_point(field_set_allocated:RemoNet.Answer.type) } // string sdp = 4; inline void Answer::clear_sdp() { sdp_.ClearToEmpty(); } inline const std::string& Answer::sdp() const { // @@protoc_insertion_point(field_get:RemoNet.Answer.sdp) return _internal_sdp(); } template inline PROTOBUF_ALWAYS_INLINE void Answer::set_sdp(ArgT0&& arg0, ArgT... args) { sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:RemoNet.Answer.sdp) } inline std::string* Answer::mutable_sdp() { std::string* _s = _internal_mutable_sdp(); // @@protoc_insertion_point(field_mutable:RemoNet.Answer.sdp) return _s; } inline const std::string& Answer::_internal_sdp() const { return sdp_.Get(); } inline void Answer::_internal_set_sdp(const std::string& value) { sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } inline std::string* Answer::_internal_mutable_sdp() { return sdp_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } inline std::string* Answer::release_sdp() { // @@protoc_insertion_point(field_release:RemoNet.Answer.sdp) return sdp_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); } inline void Answer::set_allocated_sdp(std::string* sdp) { if (sdp != nullptr) { } else { } sdp_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sdp, GetArenaForAllocation()); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING if (sdp_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { sdp_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); } #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING // @@protoc_insertion_point(field_set_allocated:RemoNet.Answer.sdp) } // ------------------------------------------------------------------- // Candidate // int32 index = 1; inline void Candidate::clear_index() { index_ = 0; } inline int32_t Candidate::_internal_index() const { return index_; } inline int32_t Candidate::index() const { // @@protoc_insertion_point(field_get:RemoNet.Candidate.index) return _internal_index(); } inline void Candidate::_internal_set_index(int32_t value) { index_ = value; } inline void Candidate::set_index(int32_t value) { _internal_set_index(value); // @@protoc_insertion_point(field_set:RemoNet.Candidate.index) } // int32 peer = 2; inline void Candidate::clear_peer() { peer_ = 0; } inline int32_t Candidate::_internal_peer() const { return peer_; } inline int32_t Candidate::peer() const { // @@protoc_insertion_point(field_get:RemoNet.Candidate.peer) return _internal_peer(); } inline void Candidate::_internal_set_peer(int32_t value) { peer_ = value; } inline void Candidate::set_peer(int32_t value) { _internal_set_peer(value); // @@protoc_insertion_point(field_set:RemoNet.Candidate.peer) } // string type = 3; inline void Candidate::clear_type() { type_.ClearToEmpty(); } inline const std::string& Candidate::type() const { // @@protoc_insertion_point(field_get:RemoNet.Candidate.type) return _internal_type(); } template inline PROTOBUF_ALWAYS_INLINE void Candidate::set_type(ArgT0&& arg0, ArgT... args) { type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:RemoNet.Candidate.type) } inline std::string* Candidate::mutable_type() { std::string* _s = _internal_mutable_type(); // @@protoc_insertion_point(field_mutable:RemoNet.Candidate.type) return _s; } inline const std::string& Candidate::_internal_type() const { return type_.Get(); } inline void Candidate::_internal_set_type(const std::string& value) { type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } inline std::string* Candidate::_internal_mutable_type() { return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } inline std::string* Candidate::release_type() { // @@protoc_insertion_point(field_release:RemoNet.Candidate.type) return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); } inline void Candidate::set_allocated_type(std::string* type) { if (type != nullptr) { } else { } type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type, GetArenaForAllocation()); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING if (type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); } #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING // @@protoc_insertion_point(field_set_allocated:RemoNet.Candidate.type) } // string candidate = 4; inline void Candidate::clear_candidate() { candidate_.ClearToEmpty(); } inline const std::string& Candidate::candidate() const { // @@protoc_insertion_point(field_get:RemoNet.Candidate.candidate) return _internal_candidate(); } template inline PROTOBUF_ALWAYS_INLINE void Candidate::set_candidate(ArgT0&& arg0, ArgT... args) { candidate_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:RemoNet.Candidate.candidate) } inline std::string* Candidate::mutable_candidate() { std::string* _s = _internal_mutable_candidate(); // @@protoc_insertion_point(field_mutable:RemoNet.Candidate.candidate) return _s; } inline const std::string& Candidate::_internal_candidate() const { return candidate_.Get(); } inline void Candidate::_internal_set_candidate(const std::string& value) { candidate_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } inline std::string* Candidate::_internal_mutable_candidate() { return candidate_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } inline std::string* Candidate::release_candidate() { // @@protoc_insertion_point(field_release:RemoNet.Candidate.candidate) return candidate_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); } inline void Candidate::set_allocated_candidate(std::string* candidate) { if (candidate != nullptr) { } else { } candidate_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), candidate, GetArenaForAllocation()); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING if (candidate_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { candidate_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); } #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING // @@protoc_insertion_point(field_set_allocated:RemoNet.Candidate.candidate) } // int32 sdpMLineIndex = 5; inline void Candidate::clear_sdpmlineindex() { sdpmlineindex_ = 0; } inline int32_t Candidate::_internal_sdpmlineindex() const { return sdpmlineindex_; } inline int32_t Candidate::sdpmlineindex() const { // @@protoc_insertion_point(field_get:RemoNet.Candidate.sdpMLineIndex) return _internal_sdpmlineindex(); } inline void Candidate::_internal_set_sdpmlineindex(int32_t value) { sdpmlineindex_ = value; } inline void Candidate::set_sdpmlineindex(int32_t value) { _internal_set_sdpmlineindex(value); // @@protoc_insertion_point(field_set:RemoNet.Candidate.sdpMLineIndex) } // string sdpMid = 6; inline void Candidate::clear_sdpmid() { sdpmid_.ClearToEmpty(); } inline const std::string& Candidate::sdpmid() const { // @@protoc_insertion_point(field_get:RemoNet.Candidate.sdpMid) return _internal_sdpmid(); } template inline PROTOBUF_ALWAYS_INLINE void Candidate::set_sdpmid(ArgT0&& arg0, ArgT... args) { sdpmid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:RemoNet.Candidate.sdpMid) } inline std::string* Candidate::mutable_sdpmid() { std::string* _s = _internal_mutable_sdpmid(); // @@protoc_insertion_point(field_mutable:RemoNet.Candidate.sdpMid) return _s; } inline const std::string& Candidate::_internal_sdpmid() const { return sdpmid_.Get(); } inline void Candidate::_internal_set_sdpmid(const std::string& value) { sdpmid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } inline std::string* Candidate::_internal_mutable_sdpmid() { return sdpmid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } inline std::string* Candidate::release_sdpmid() { // @@protoc_insertion_point(field_release:RemoNet.Candidate.sdpMid) return sdpmid_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); } inline void Candidate::set_allocated_sdpmid(std::string* sdpmid) { if (sdpmid != nullptr) { } else { } sdpmid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sdpmid, GetArenaForAllocation()); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING if (sdpmid_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { sdpmid_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); } #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING // @@protoc_insertion_point(field_set_allocated:RemoNet.Candidate.sdpMid) } // int32 egotype = 7; inline void Candidate::clear_egotype() { egotype_ = 0; } inline int32_t Candidate::_internal_egotype() const { return egotype_; } inline int32_t Candidate::egotype() const { // @@protoc_insertion_point(field_get:RemoNet.Candidate.egotype) return _internal_egotype(); } inline void Candidate::_internal_set_egotype(int32_t value) { egotype_ = value; } inline void Candidate::set_egotype(int32_t value) { _internal_set_egotype(value); // @@protoc_insertion_point(field_set:RemoNet.Candidate.egotype) } // ------------------------------------------------------------------- // Leave // int32 peer = 1; inline void Leave::clear_peer() { peer_ = 0; } inline int32_t Leave::_internal_peer() const { return peer_; } inline int32_t Leave::peer() const { // @@protoc_insertion_point(field_get:RemoNet.Leave.peer) return _internal_peer(); } inline void Leave::_internal_set_peer(int32_t value) { peer_ = value; } inline void Leave::set_peer(int32_t value) { _internal_set_peer(value); // @@protoc_insertion_point(field_set:RemoNet.Leave.peer) } // int32 egotype = 2; inline void Leave::clear_egotype() { egotype_ = 0; } inline int32_t Leave::_internal_egotype() const { return egotype_; } inline int32_t Leave::egotype() const { // @@protoc_insertion_point(field_get:RemoNet.Leave.egotype) return _internal_egotype(); } inline void Leave::_internal_set_egotype(int32_t value) { egotype_ = value; } inline void Leave::set_egotype(int32_t value) { _internal_set_egotype(value); // @@protoc_insertion_point(field_set:RemoNet.Leave.egotype) } // ------------------------------------------------------------------- // Close // int32 peer = 1; inline void Close::clear_peer() { peer_ = 0; } inline int32_t Close::_internal_peer() const { return peer_; } inline int32_t Close::peer() const { // @@protoc_insertion_point(field_get:RemoNet.Close.peer) return _internal_peer(); } inline void Close::_internal_set_peer(int32_t value) { peer_ = value; } inline void Close::set_peer(int32_t value) { _internal_set_peer(value); // @@protoc_insertion_point(field_set:RemoNet.Close.peer) } // int32 egotype = 2; inline void Close::clear_egotype() { egotype_ = 0; } inline int32_t Close::_internal_egotype() const { return egotype_; } inline int32_t Close::egotype() const { // @@protoc_insertion_point(field_get:RemoNet.Close.egotype) return _internal_egotype(); } inline void Close::_internal_set_egotype(int32_t value) { egotype_ = value; } inline void Close::set_egotype(int32_t value) { _internal_set_egotype(value); // @@protoc_insertion_point(field_set:RemoNet.Close.egotype) } // int32 index = 3; inline void Close::clear_index() { index_ = 0; } inline int32_t Close::_internal_index() const { return index_; } inline int32_t Close::index() const { // @@protoc_insertion_point(field_get:RemoNet.Close.index) return _internal_index(); } inline void Close::_internal_set_index(int32_t value) { index_ = value; } inline void Close::set_index(int32_t value) { _internal_set_index(value); // @@protoc_insertion_point(field_set:RemoNet.Close.index) } // ------------------------------------------------------------------- // TestTextReq // string text = 1; inline void TestTextReq::clear_text() { text_.ClearToEmpty(); } inline const std::string& TestTextReq::text() const { // @@protoc_insertion_point(field_get:RemoNet.TestTextReq.text) return _internal_text(); } template inline PROTOBUF_ALWAYS_INLINE void TestTextReq::set_text(ArgT0&& arg0, ArgT... args) { text_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:RemoNet.TestTextReq.text) } inline std::string* TestTextReq::mutable_text() { std::string* _s = _internal_mutable_text(); // @@protoc_insertion_point(field_mutable:RemoNet.TestTextReq.text) return _s; } inline const std::string& TestTextReq::_internal_text() const { return text_.Get(); } inline void TestTextReq::_internal_set_text(const std::string& value) { text_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } inline std::string* TestTextReq::_internal_mutable_text() { return text_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } inline std::string* TestTextReq::release_text() { // @@protoc_insertion_point(field_release:RemoNet.TestTextReq.text) return text_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); } inline void TestTextReq::set_allocated_text(std::string* text) { if (text != nullptr) { } else { } text_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), text, GetArenaForAllocation()); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING if (text_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { text_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); } #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING // @@protoc_insertion_point(field_set_allocated:RemoNet.TestTextReq.text) } // ------------------------------------------------------------------- // SyncTime // int32 tm_sec = 1; inline void SyncTime::clear_tm_sec() { tm_sec_ = 0; } inline int32_t SyncTime::_internal_tm_sec() const { return tm_sec_; } inline int32_t SyncTime::tm_sec() const { // @@protoc_insertion_point(field_get:RemoNet.SyncTime.tm_sec) return _internal_tm_sec(); } inline void SyncTime::_internal_set_tm_sec(int32_t value) { tm_sec_ = value; } inline void SyncTime::set_tm_sec(int32_t value) { _internal_set_tm_sec(value); // @@protoc_insertion_point(field_set:RemoNet.SyncTime.tm_sec) } // int32 tm_min = 2; inline void SyncTime::clear_tm_min() { tm_min_ = 0; } inline int32_t SyncTime::_internal_tm_min() const { return tm_min_; } inline int32_t SyncTime::tm_min() const { // @@protoc_insertion_point(field_get:RemoNet.SyncTime.tm_min) return _internal_tm_min(); } inline void SyncTime::_internal_set_tm_min(int32_t value) { tm_min_ = value; } inline void SyncTime::set_tm_min(int32_t value) { _internal_set_tm_min(value); // @@protoc_insertion_point(field_set:RemoNet.SyncTime.tm_min) } // int32 tm_hour = 3; inline void SyncTime::clear_tm_hour() { tm_hour_ = 0; } inline int32_t SyncTime::_internal_tm_hour() const { return tm_hour_; } inline int32_t SyncTime::tm_hour() const { // @@protoc_insertion_point(field_get:RemoNet.SyncTime.tm_hour) return _internal_tm_hour(); } inline void SyncTime::_internal_set_tm_hour(int32_t value) { tm_hour_ = value; } inline void SyncTime::set_tm_hour(int32_t value) { _internal_set_tm_hour(value); // @@protoc_insertion_point(field_set:RemoNet.SyncTime.tm_hour) } // int32 tm_mday = 4; inline void SyncTime::clear_tm_mday() { tm_mday_ = 0; } inline int32_t SyncTime::_internal_tm_mday() const { return tm_mday_; } inline int32_t SyncTime::tm_mday() const { // @@protoc_insertion_point(field_get:RemoNet.SyncTime.tm_mday) return _internal_tm_mday(); } inline void SyncTime::_internal_set_tm_mday(int32_t value) { tm_mday_ = value; } inline void SyncTime::set_tm_mday(int32_t value) { _internal_set_tm_mday(value); // @@protoc_insertion_point(field_set:RemoNet.SyncTime.tm_mday) } // int32 tm_mon = 5; inline void SyncTime::clear_tm_mon() { tm_mon_ = 0; } inline int32_t SyncTime::_internal_tm_mon() const { return tm_mon_; } inline int32_t SyncTime::tm_mon() const { // @@protoc_insertion_point(field_get:RemoNet.SyncTime.tm_mon) return _internal_tm_mon(); } inline void SyncTime::_internal_set_tm_mon(int32_t value) { tm_mon_ = value; } inline void SyncTime::set_tm_mon(int32_t value) { _internal_set_tm_mon(value); // @@protoc_insertion_point(field_set:RemoNet.SyncTime.tm_mon) } // int32 tm_year = 6; inline void SyncTime::clear_tm_year() { tm_year_ = 0; } inline int32_t SyncTime::_internal_tm_year() const { return tm_year_; } inline int32_t SyncTime::tm_year() const { // @@protoc_insertion_point(field_get:RemoNet.SyncTime.tm_year) return _internal_tm_year(); } inline void SyncTime::_internal_set_tm_year(int32_t value) { tm_year_ = value; } inline void SyncTime::set_tm_year(int32_t value) { _internal_set_tm_year(value); // @@protoc_insertion_point(field_set:RemoNet.SyncTime.tm_year) } // int32 tm_wday = 7; inline void SyncTime::clear_tm_wday() { tm_wday_ = 0; } inline int32_t SyncTime::_internal_tm_wday() const { return tm_wday_; } inline int32_t SyncTime::tm_wday() const { // @@protoc_insertion_point(field_get:RemoNet.SyncTime.tm_wday) return _internal_tm_wday(); } inline void SyncTime::_internal_set_tm_wday(int32_t value) { tm_wday_ = value; } inline void SyncTime::set_tm_wday(int32_t value) { _internal_set_tm_wday(value); // @@protoc_insertion_point(field_set:RemoNet.SyncTime.tm_wday) } // int32 tm_yday = 8; inline void SyncTime::clear_tm_yday() { tm_yday_ = 0; } inline int32_t SyncTime::_internal_tm_yday() const { return tm_yday_; } inline int32_t SyncTime::tm_yday() const { // @@protoc_insertion_point(field_get:RemoNet.SyncTime.tm_yday) return _internal_tm_yday(); } inline void SyncTime::_internal_set_tm_yday(int32_t value) { tm_yday_ = value; } inline void SyncTime::set_tm_yday(int32_t value) { _internal_set_tm_yday(value); // @@protoc_insertion_point(field_set:RemoNet.SyncTime.tm_yday) } // int32 tm_isdst = 9; inline void SyncTime::clear_tm_isdst() { tm_isdst_ = 0; } inline int32_t SyncTime::_internal_tm_isdst() const { return tm_isdst_; } inline int32_t SyncTime::tm_isdst() const { // @@protoc_insertion_point(field_get:RemoNet.SyncTime.tm_isdst) return _internal_tm_isdst(); } inline void SyncTime::_internal_set_tm_isdst(int32_t value) { tm_isdst_ = value; } inline void SyncTime::set_tm_isdst(int32_t value) { _internal_set_tm_isdst(value); // @@protoc_insertion_point(field_set:RemoNet.SyncTime.tm_isdst) } // bool update_time = 10; inline void SyncTime::clear_update_time() { update_time_ = false; } inline bool SyncTime::_internal_update_time() const { return update_time_; } inline bool SyncTime::update_time() const { // @@protoc_insertion_point(field_get:RemoNet.SyncTime.update_time) return _internal_update_time(); } inline void SyncTime::_internal_set_update_time(bool value) { update_time_ = value; } inline void SyncTime::set_update_time(bool value) { _internal_set_update_time(value); // @@protoc_insertion_point(field_set:RemoNet.SyncTime.update_time) } // ------------------------------------------------------------------- // CCAskDataChannel // ------------------------------------------------------------------- // CCPing // int64 tick = 1; inline void CCPing::clear_tick() { tick_ = int64_t{0}; } inline int64_t CCPing::_internal_tick() const { return tick_; } inline int64_t CCPing::tick() const { // @@protoc_insertion_point(field_get:RemoNet.CCPing.tick) return _internal_tick(); } inline void CCPing::_internal_set_tick(int64_t value) { tick_ = value; } inline void CCPing::set_tick(int64_t value) { _internal_set_tick(value); // @@protoc_insertion_point(field_set:RemoNet.CCPing.tick) } // double temp = 2; inline void CCPing::clear_temp() { temp_ = 0; } inline double CCPing::_internal_temp() const { return temp_; } inline double CCPing::temp() const { // @@protoc_insertion_point(field_get:RemoNet.CCPing.temp) return _internal_temp(); } inline void CCPing::_internal_set_temp(double value) { temp_ = value; } inline void CCPing::set_temp(double value) { _internal_set_temp(value); // @@protoc_insertion_point(field_set:RemoNet.CCPing.temp) } // ------------------------------------------------------------------- // radar_node // int32 id = 1; inline void radar_node::clear_id() { id_ = 0; } inline int32_t radar_node::_internal_id() const { return id_; } inline int32_t radar_node::id() const { // @@protoc_insertion_point(field_get:RemoNet.radar_node.id) return _internal_id(); } inline void radar_node::_internal_set_id(int32_t value) { id_ = value; } inline void radar_node::set_id(int32_t value) { _internal_set_id(value); // @@protoc_insertion_point(field_set:RemoNet.radar_node.id) } // int32 range = 2; inline void radar_node::clear_range() { range_ = 0; } inline int32_t radar_node::_internal_range() const { return range_; } inline int32_t radar_node::range() const { // @@protoc_insertion_point(field_get:RemoNet.radar_node.range) return _internal_range(); } inline void radar_node::_internal_set_range(int32_t value) { range_ = value; } inline void radar_node::set_range(int32_t value) { _internal_set_range(value); // @@protoc_insertion_point(field_set:RemoNet.radar_node.range) } // ------------------------------------------------------------------- // CCSensor // repeated .RemoNet.radar_node node = 1; inline int CCSensor::_internal_node_size() const { return node_.size(); } inline int CCSensor::node_size() const { return _internal_node_size(); } inline void CCSensor::clear_node() { node_.Clear(); } inline ::RemoNet::radar_node* CCSensor::mutable_node(int index) { // @@protoc_insertion_point(field_mutable:RemoNet.CCSensor.node) return node_.Mutable(index); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::radar_node >* CCSensor::mutable_node() { // @@protoc_insertion_point(field_mutable_list:RemoNet.CCSensor.node) return &node_; } inline const ::RemoNet::radar_node& CCSensor::_internal_node(int index) const { return node_.Get(index); } inline const ::RemoNet::radar_node& CCSensor::node(int index) const { // @@protoc_insertion_point(field_get:RemoNet.CCSensor.node) return _internal_node(index); } inline ::RemoNet::radar_node* CCSensor::_internal_add_node() { return node_.Add(); } inline ::RemoNet::radar_node* CCSensor::add_node() { ::RemoNet::radar_node* _add = _internal_add_node(); // @@protoc_insertion_point(field_add:RemoNet.CCSensor.node) return _add; } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::radar_node >& CCSensor::node() const { // @@protoc_insertion_point(field_list:RemoNet.CCSensor.node) return node_; } // int32 left_encode = 2; inline void CCSensor::clear_left_encode() { left_encode_ = 0; } inline int32_t CCSensor::_internal_left_encode() const { return left_encode_; } inline int32_t CCSensor::left_encode() const { // @@protoc_insertion_point(field_get:RemoNet.CCSensor.left_encode) return _internal_left_encode(); } inline void CCSensor::_internal_set_left_encode(int32_t value) { left_encode_ = value; } inline void CCSensor::set_left_encode(int32_t value) { _internal_set_left_encode(value); // @@protoc_insertion_point(field_set:RemoNet.CCSensor.left_encode) } // int32 right_encode = 3; inline void CCSensor::clear_right_encode() { right_encode_ = 0; } inline int32_t CCSensor::_internal_right_encode() const { return right_encode_; } inline int32_t CCSensor::right_encode() const { // @@protoc_insertion_point(field_get:RemoNet.CCSensor.right_encode) return _internal_right_encode(); } inline void CCSensor::_internal_set_right_encode(int32_t value) { right_encode_ = value; } inline void CCSensor::set_right_encode(int32_t value) { _internal_set_right_encode(value); // @@protoc_insertion_point(field_set:RemoNet.CCSensor.right_encode) } // ------------------------------------------------------------------- // CCSwitch // bool front = 1; inline void CCSwitch::clear_front() { front_ = false; } inline bool CCSwitch::_internal_front() const { return front_; } inline bool CCSwitch::front() const { // @@protoc_insertion_point(field_get:RemoNet.CCSwitch.front) return _internal_front(); } inline void CCSwitch::_internal_set_front(bool value) { front_ = value; } inline void CCSwitch::set_front(bool value) { _internal_set_front(value); // @@protoc_insertion_point(field_set:RemoNet.CCSwitch.front) } // ------------------------------------------------------------------- // State // int32 work_pressure = 1; inline void State::clear_work_pressure() { work_pressure_ = 0; } inline int32_t State::_internal_work_pressure() const { return work_pressure_; } inline int32_t State::work_pressure() const { // @@protoc_insertion_point(field_get:RemoNet.State.work_pressure) return _internal_work_pressure(); } inline void State::_internal_set_work_pressure(int32_t value) { work_pressure_ = value; } inline void State::set_work_pressure(int32_t value) { _internal_set_work_pressure(value); // @@protoc_insertion_point(field_set:RemoNet.State.work_pressure) } // int32 brake_pressure = 2; inline void State::clear_brake_pressure() { brake_pressure_ = 0; } inline int32_t State::_internal_brake_pressure() const { return brake_pressure_; } inline int32_t State::brake_pressure() const { // @@protoc_insertion_point(field_get:RemoNet.State.brake_pressure) return _internal_brake_pressure(); } inline void State::_internal_set_brake_pressure(int32_t value) { brake_pressure_ = value; } inline void State::set_brake_pressure(int32_t value) { _internal_set_brake_pressure(value); // @@protoc_insertion_point(field_set:RemoNet.State.brake_pressure) } // int32 gearbox_oil_temp = 3; inline void State::clear_gearbox_oil_temp() { gearbox_oil_temp_ = 0; } inline int32_t State::_internal_gearbox_oil_temp() const { return gearbox_oil_temp_; } inline int32_t State::gearbox_oil_temp() const { // @@protoc_insertion_point(field_get:RemoNet.State.gearbox_oil_temp) return _internal_gearbox_oil_temp(); } inline void State::_internal_set_gearbox_oil_temp(int32_t value) { gearbox_oil_temp_ = value; } inline void State::set_gearbox_oil_temp(int32_t value) { _internal_set_gearbox_oil_temp(value); // @@protoc_insertion_point(field_set:RemoNet.State.gearbox_oil_temp) } // int32 gearbox_oil_pressure = 4; inline void State::clear_gearbox_oil_pressure() { gearbox_oil_pressure_ = 0; } inline int32_t State::_internal_gearbox_oil_pressure() const { return gearbox_oil_pressure_; } inline int32_t State::gearbox_oil_pressure() const { // @@protoc_insertion_point(field_get:RemoNet.State.gearbox_oil_pressure) return _internal_gearbox_oil_pressure(); } inline void State::_internal_set_gearbox_oil_pressure(int32_t value) { gearbox_oil_pressure_ = value; } inline void State::set_gearbox_oil_pressure(int32_t value) { _internal_set_gearbox_oil_pressure(value); // @@protoc_insertion_point(field_set:RemoNet.State.gearbox_oil_pressure) } // int32 engine_rpm = 5; inline void State::clear_engine_rpm() { engine_rpm_ = 0; } inline int32_t State::_internal_engine_rpm() const { return engine_rpm_; } inline int32_t State::engine_rpm() const { // @@protoc_insertion_point(field_get:RemoNet.State.engine_rpm) return _internal_engine_rpm(); } inline void State::_internal_set_engine_rpm(int32_t value) { engine_rpm_ = value; } inline void State::set_engine_rpm(int32_t value) { _internal_set_engine_rpm(value); // @@protoc_insertion_point(field_set:RemoNet.State.engine_rpm) } // int32 speed = 6; inline void State::clear_speed() { speed_ = 0; } inline int32_t State::_internal_speed() const { return speed_; } inline int32_t State::speed() const { // @@protoc_insertion_point(field_get:RemoNet.State.speed) return _internal_speed(); } inline void State::_internal_set_speed(int32_t value) { speed_ = value; } inline void State::set_speed(int32_t value) { _internal_set_speed(value); // @@protoc_insertion_point(field_set:RemoNet.State.speed) } // int32 engine_pressure = 8; inline void State::clear_engine_pressure() { engine_pressure_ = 0; } inline int32_t State::_internal_engine_pressure() const { return engine_pressure_; } inline int32_t State::engine_pressure() const { // @@protoc_insertion_point(field_get:RemoNet.State.engine_pressure) return _internal_engine_pressure(); } inline void State::_internal_set_engine_pressure(int32_t value) { engine_pressure_ = value; } inline void State::set_engine_pressure(int32_t value) { _internal_set_engine_pressure(value); // @@protoc_insertion_point(field_set:RemoNet.State.engine_pressure) } // int32 cold_water = 9; inline void State::clear_cold_water() { cold_water_ = 0; } inline int32_t State::_internal_cold_water() const { return cold_water_; } inline int32_t State::cold_water() const { // @@protoc_insertion_point(field_get:RemoNet.State.cold_water) return _internal_cold_water(); } inline void State::_internal_set_cold_water(int32_t value) { cold_water_ = value; } inline void State::set_cold_water(int32_t value) { _internal_set_cold_water(value); // @@protoc_insertion_point(field_set:RemoNet.State.cold_water) } // int32 steer_angle = 10; inline void State::clear_steer_angle() { steer_angle_ = 0; } inline int32_t State::_internal_steer_angle() const { return steer_angle_; } inline int32_t State::steer_angle() const { // @@protoc_insertion_point(field_get:RemoNet.State.steer_angle) return _internal_steer_angle(); } inline void State::_internal_set_steer_angle(int32_t value) { steer_angle_ = value; } inline void State::set_steer_angle(int32_t value) { _internal_set_steer_angle(value); // @@protoc_insertion_point(field_set:RemoNet.State.steer_angle) } // int32 left_lock = 11; inline void State::clear_left_lock() { left_lock_ = 0; } inline int32_t State::_internal_left_lock() const { return left_lock_; } inline int32_t State::left_lock() const { // @@protoc_insertion_point(field_get:RemoNet.State.left_lock) return _internal_left_lock(); } inline void State::_internal_set_left_lock(int32_t value) { left_lock_ = value; } inline void State::set_left_lock(int32_t value) { _internal_set_left_lock(value); // @@protoc_insertion_point(field_set:RemoNet.State.left_lock) } // int32 right_lock = 12; inline void State::clear_right_lock() { right_lock_ = 0; } inline int32_t State::_internal_right_lock() const { return right_lock_; } inline int32_t State::right_lock() const { // @@protoc_insertion_point(field_get:RemoNet.State.right_lock) return _internal_right_lock(); } inline void State::_internal_set_right_lock(int32_t value) { right_lock_ = value; } inline void State::set_right_lock(int32_t value) { _internal_set_right_lock(value); // @@protoc_insertion_point(field_set:RemoNet.State.right_lock) } // ------------------------------------------------------------------- // LidarPoint // optional double timestamp = 1; inline bool LidarPoint::_internal_has_timestamp() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; return value; } inline bool LidarPoint::has_timestamp() const { return _internal_has_timestamp(); } inline void LidarPoint::clear_timestamp() { timestamp_ = 0; _has_bits_[0] &= ~0x00000002u; } inline double LidarPoint::_internal_timestamp() const { return timestamp_; } inline double LidarPoint::timestamp() const { // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.timestamp) return _internal_timestamp(); } inline void LidarPoint::_internal_set_timestamp(double value) { _has_bits_[0] |= 0x00000002u; timestamp_ = value; } inline void LidarPoint::set_timestamp(double value) { _internal_set_timestamp(value); // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.timestamp) } // optional uint32 seq = 2; inline bool LidarPoint::_internal_has_seq() const { bool value = (_has_bits_[0] & 0x00000004u) != 0; return value; } inline bool LidarPoint::has_seq() const { return _internal_has_seq(); } inline void LidarPoint::clear_seq() { seq_ = 0u; _has_bits_[0] &= ~0x00000004u; } inline uint32_t LidarPoint::_internal_seq() const { return seq_; } inline uint32_t LidarPoint::seq() const { // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.seq) return _internal_seq(); } inline void LidarPoint::_internal_set_seq(uint32_t value) { _has_bits_[0] |= 0x00000004u; seq_ = value; } inline void LidarPoint::set_seq(uint32_t value) { _internal_set_seq(value); // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.seq) } // optional string frame_id = 3; inline bool LidarPoint::_internal_has_frame_id() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool LidarPoint::has_frame_id() const { return _internal_has_frame_id(); } inline void LidarPoint::clear_frame_id() { frame_id_.ClearToEmpty(); _has_bits_[0] &= ~0x00000001u; } inline const std::string& LidarPoint::frame_id() const { // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.frame_id) return _internal_frame_id(); } template inline PROTOBUF_ALWAYS_INLINE void LidarPoint::set_frame_id(ArgT0&& arg0, ArgT... args) { _has_bits_[0] |= 0x00000001u; frame_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.frame_id) } inline std::string* LidarPoint::mutable_frame_id() { std::string* _s = _internal_mutable_frame_id(); // @@protoc_insertion_point(field_mutable:RemoNet.LidarPoint.frame_id) return _s; } inline const std::string& LidarPoint::_internal_frame_id() const { return frame_id_.Get(); } inline void LidarPoint::_internal_set_frame_id(const std::string& value) { _has_bits_[0] |= 0x00000001u; frame_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } inline std::string* LidarPoint::_internal_mutable_frame_id() { _has_bits_[0] |= 0x00000001u; return frame_id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } inline std::string* LidarPoint::release_frame_id() { // @@protoc_insertion_point(field_release:RemoNet.LidarPoint.frame_id) if (!_internal_has_frame_id()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; auto* p = frame_id_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING if (frame_id_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { frame_id_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); } #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING return p; } inline void LidarPoint::set_allocated_frame_id(std::string* frame_id) { if (frame_id != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } frame_id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), frame_id, GetArenaForAllocation()); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING if (frame_id_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { frame_id_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); } #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING // @@protoc_insertion_point(field_set_allocated:RemoNet.LidarPoint.frame_id) } // optional uint32 height = 4; inline bool LidarPoint::_internal_has_height() const { bool value = (_has_bits_[0] & 0x00000008u) != 0; return value; } inline bool LidarPoint::has_height() const { return _internal_has_height(); } inline void LidarPoint::clear_height() { height_ = 0u; _has_bits_[0] &= ~0x00000008u; } inline uint32_t LidarPoint::_internal_height() const { return height_; } inline uint32_t LidarPoint::height() const { // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.height) return _internal_height(); } inline void LidarPoint::_internal_set_height(uint32_t value) { _has_bits_[0] |= 0x00000008u; height_ = value; } inline void LidarPoint::set_height(uint32_t value) { _internal_set_height(value); // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.height) } // optional uint32 width = 5; inline bool LidarPoint::_internal_has_width() const { bool value = (_has_bits_[0] & 0x00000010u) != 0; return value; } inline bool LidarPoint::has_width() const { return _internal_has_width(); } inline void LidarPoint::clear_width() { width_ = 0u; _has_bits_[0] &= ~0x00000010u; } inline uint32_t LidarPoint::_internal_width() const { return width_; } inline uint32_t LidarPoint::width() const { // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.width) return _internal_width(); } inline void LidarPoint::_internal_set_width(uint32_t value) { _has_bits_[0] |= 0x00000010u; width_ = value; } inline void LidarPoint::set_width(uint32_t value) { _internal_set_width(value); // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.width) } // optional bool is_dense = 6; inline bool LidarPoint::_internal_has_is_dense() const { bool value = (_has_bits_[0] & 0x00000020u) != 0; return value; } inline bool LidarPoint::has_is_dense() const { return _internal_has_is_dense(); } inline void LidarPoint::clear_is_dense() { is_dense_ = false; _has_bits_[0] &= ~0x00000020u; } inline bool LidarPoint::_internal_is_dense() const { return is_dense_; } inline bool LidarPoint::is_dense() const { // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.is_dense) return _internal_is_dense(); } inline void LidarPoint::_internal_set_is_dense(bool value) { _has_bits_[0] |= 0x00000020u; is_dense_ = value; } inline void LidarPoint::set_is_dense(bool value) { _internal_set_is_dense(value); // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.is_dense) } // optional bool is_left = 7; inline bool LidarPoint::_internal_has_is_left() const { bool value = (_has_bits_[0] & 0x00000040u) != 0; return value; } inline bool LidarPoint::has_is_left() const { return _internal_has_is_left(); } inline void LidarPoint::clear_is_left() { is_left_ = false; _has_bits_[0] &= ~0x00000040u; } inline bool LidarPoint::_internal_is_left() const { return is_left_; } inline bool LidarPoint::is_left() const { // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.is_left) return _internal_is_left(); } inline void LidarPoint::_internal_set_is_left(bool value) { _has_bits_[0] |= 0x00000040u; is_left_ = value; } inline void LidarPoint::set_is_left(bool value) { _internal_set_is_left(value); // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.is_left) } // repeated float data = 8; inline int LidarPoint::_internal_data_size() const { return data_.size(); } inline int LidarPoint::data_size() const { return _internal_data_size(); } inline void LidarPoint::clear_data() { data_.Clear(); } inline float LidarPoint::_internal_data(int index) const { return data_.Get(index); } inline float LidarPoint::data(int index) const { // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.data) return _internal_data(index); } inline void LidarPoint::set_data(int index, float value) { data_.Set(index, value); // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.data) } inline void LidarPoint::_internal_add_data(float value) { data_.Add(value); } inline void LidarPoint::add_data(float value) { _internal_add_data(value); // @@protoc_insertion_point(field_add:RemoNet.LidarPoint.data) } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& LidarPoint::_internal_data() const { return data_; } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& LidarPoint::data() const { // @@protoc_insertion_point(field_list:RemoNet.LidarPoint.data) return _internal_data(); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* LidarPoint::_internal_mutable_data() { return &data_; } inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* LidarPoint::mutable_data() { // @@protoc_insertion_point(field_mutable_list:RemoNet.LidarPoint.data) return _internal_mutable_data(); } // ------------------------------------------------------------------- // SensorStop // ------------------------------------------------------------------- // StopAck // ------------------------------------------------------------------- // can_net_frame // sint32 dlc = 1; inline void can_net_frame::clear_dlc() { dlc_ = 0; } inline int32_t can_net_frame::_internal_dlc() const { return dlc_; } inline int32_t can_net_frame::dlc() const { // @@protoc_insertion_point(field_get:RemoNet.can_net_frame.dlc) return _internal_dlc(); } inline void can_net_frame::_internal_set_dlc(int32_t value) { dlc_ = value; } inline void can_net_frame::set_dlc(int32_t value) { _internal_set_dlc(value); // @@protoc_insertion_point(field_set:RemoNet.can_net_frame.dlc) } // int32 canid = 2; inline void can_net_frame::clear_canid() { canid_ = 0; } inline int32_t can_net_frame::_internal_canid() const { return canid_; } inline int32_t can_net_frame::canid() const { // @@protoc_insertion_point(field_get:RemoNet.can_net_frame.canid) return _internal_canid(); } inline void can_net_frame::_internal_set_canid(int32_t value) { canid_ = value; } inline void can_net_frame::set_canid(int32_t value) { _internal_set_canid(value); // @@protoc_insertion_point(field_set:RemoNet.can_net_frame.canid) } // bytes data = 3; inline void can_net_frame::clear_data() { data_.ClearToEmpty(); } inline const std::string& can_net_frame::data() const { // @@protoc_insertion_point(field_get:RemoNet.can_net_frame.data) return _internal_data(); } template inline PROTOBUF_ALWAYS_INLINE void can_net_frame::set_data(ArgT0&& arg0, ArgT... args) { data_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:RemoNet.can_net_frame.data) } inline std::string* can_net_frame::mutable_data() { std::string* _s = _internal_mutable_data(); // @@protoc_insertion_point(field_mutable:RemoNet.can_net_frame.data) return _s; } inline const std::string& can_net_frame::_internal_data() const { return data_.Get(); } inline void can_net_frame::_internal_set_data(const std::string& value) { data_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } inline std::string* can_net_frame::_internal_mutable_data() { return data_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } inline std::string* can_net_frame::release_data() { // @@protoc_insertion_point(field_release:RemoNet.can_net_frame.data) return data_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); } inline void can_net_frame::set_allocated_data(std::string* data) { if (data != nullptr) { } else { } data_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), data, GetArenaForAllocation()); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING if (data_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { data_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); } #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING // @@protoc_insertion_point(field_set_allocated:RemoNet.can_net_frame.data) } // ------------------------------------------------------------------- // CCCanMsg // repeated .RemoNet.can_net_frame frams = 1; inline int CCCanMsg::_internal_frams_size() const { return frams_.size(); } inline int CCCanMsg::frams_size() const { return _internal_frams_size(); } inline void CCCanMsg::clear_frams() { frams_.Clear(); } inline ::RemoNet::can_net_frame* CCCanMsg::mutable_frams(int index) { // @@protoc_insertion_point(field_mutable:RemoNet.CCCanMsg.frams) return frams_.Mutable(index); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::can_net_frame >* CCCanMsg::mutable_frams() { // @@protoc_insertion_point(field_mutable_list:RemoNet.CCCanMsg.frams) return &frams_; } inline const ::RemoNet::can_net_frame& CCCanMsg::_internal_frams(int index) const { return frams_.Get(index); } inline const ::RemoNet::can_net_frame& CCCanMsg::frams(int index) const { // @@protoc_insertion_point(field_get:RemoNet.CCCanMsg.frams) return _internal_frams(index); } inline ::RemoNet::can_net_frame* CCCanMsg::_internal_add_frams() { return frams_.Add(); } inline ::RemoNet::can_net_frame* CCCanMsg::add_frams() { ::RemoNet::can_net_frame* _add = _internal_add_frams(); // @@protoc_insertion_point(field_add:RemoNet.CCCanMsg.frams) return _add; } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::can_net_frame >& CCCanMsg::frams() const { // @@protoc_insertion_point(field_list:RemoNet.CCCanMsg.frams) return frams_; } // ------------------------------------------------------------------- // SCAddRobot // .RemoNet.Robot robot = 1; inline bool SCAddRobot::_internal_has_robot() const { return this != internal_default_instance() && robot_ != nullptr; } inline bool SCAddRobot::has_robot() const { return _internal_has_robot(); } inline void SCAddRobot::clear_robot() { if (GetArenaForAllocation() == nullptr && robot_ != nullptr) { delete robot_; } robot_ = nullptr; } inline const ::RemoNet::Robot& SCAddRobot::_internal_robot() const { const ::RemoNet::Robot* p = robot_; return p != nullptr ? *p : reinterpret_cast( ::RemoNet::_Robot_default_instance_); } inline const ::RemoNet::Robot& SCAddRobot::robot() const { // @@protoc_insertion_point(field_get:RemoNet.SCAddRobot.robot) return _internal_robot(); } inline void SCAddRobot::unsafe_arena_set_allocated_robot( ::RemoNet::Robot* robot) { if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(robot_); } robot_ = robot; if (robot) { } else { } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:RemoNet.SCAddRobot.robot) } inline ::RemoNet::Robot* SCAddRobot::release_robot() { ::RemoNet::Robot* temp = robot_; robot_ = 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 ::RemoNet::Robot* SCAddRobot::unsafe_arena_release_robot() { // @@protoc_insertion_point(field_release:RemoNet.SCAddRobot.robot) ::RemoNet::Robot* temp = robot_; robot_ = nullptr; return temp; } inline ::RemoNet::Robot* SCAddRobot::_internal_mutable_robot() { if (robot_ == nullptr) { auto* p = CreateMaybeMessage<::RemoNet::Robot>(GetArenaForAllocation()); robot_ = p; } return robot_; } inline ::RemoNet::Robot* SCAddRobot::mutable_robot() { ::RemoNet::Robot* _msg = _internal_mutable_robot(); // @@protoc_insertion_point(field_mutable:RemoNet.SCAddRobot.robot) return _msg; } inline void SCAddRobot::set_allocated_robot(::RemoNet::Robot* robot) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete robot_; } if (robot) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::RemoNet::Robot>::GetOwningArena(robot); if (message_arena != submessage_arena) { robot = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, robot, submessage_arena); } } else { } robot_ = robot; // @@protoc_insertion_point(field_set_allocated:RemoNet.SCAddRobot.robot) } // ------------------------------------------------------------------- // SCDelRobot // int32 peer = 1; inline void SCDelRobot::clear_peer() { peer_ = 0; } inline int32_t SCDelRobot::_internal_peer() const { return peer_; } inline int32_t SCDelRobot::peer() const { // @@protoc_insertion_point(field_get:RemoNet.SCDelRobot.peer) return _internal_peer(); } inline void SCDelRobot::_internal_set_peer(int32_t value) { peer_ = value; } inline void SCDelRobot::set_peer(int32_t value) { _internal_set_peer(value); // @@protoc_insertion_point(field_set:RemoNet.SCDelRobot.peer) } // int32 egotype = 2; inline void SCDelRobot::clear_egotype() { egotype_ = 0; } inline int32_t SCDelRobot::_internal_egotype() const { return egotype_; } inline int32_t SCDelRobot::egotype() const { // @@protoc_insertion_point(field_get:RemoNet.SCDelRobot.egotype) return _internal_egotype(); } inline void SCDelRobot::_internal_set_egotype(int32_t value) { egotype_ = value; } inline void SCDelRobot::set_egotype(int32_t value) { _internal_set_egotype(value); // @@protoc_insertion_point(field_set:RemoNet.SCDelRobot.egotype) } #ifdef __GNUC__ #pragma GCC diagnostic pop #endif // __GNUC__ // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // @@protoc_insertion_point(namespace_scope) } // namespace RemoNet PROTOBUF_NAMESPACE_OPEN template <> struct is_proto_enum< ::RemoNet::CSMessage> : ::std::true_type {}; template <> inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::CSMessage>() { return ::RemoNet::CSMessage_descriptor(); } template <> struct is_proto_enum< ::RemoNet::SCMessage> : ::std::true_type {}; template <> inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::SCMessage>() { return ::RemoNet::SCMessage_descriptor(); } template <> struct is_proto_enum< ::RemoNet::CCMessage> : ::std::true_type {}; template <> inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::CCMessage>() { return ::RemoNet::CCMessage_descriptor(); } template <> struct is_proto_enum< ::RemoNet::VideoDesc> : ::std::true_type {}; template <> inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::VideoDesc>() { return ::RemoNet::VideoDesc_descriptor(); } template <> struct is_proto_enum< ::RemoNet::MoveDesc> : ::std::true_type {}; template <> inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::MoveDesc>() { return ::RemoNet::MoveDesc_descriptor(); } template <> struct is_proto_enum< ::RemoNet::UserState> : ::std::true_type {}; template <> inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::UserState>() { return ::RemoNet::UserState_descriptor(); } PROTOBUF_NAMESPACE_CLOSE // @@protoc_insertion_point(global_scope) #include #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_protocol_2eproto