// Generated by the protocol buffer compiler. DO NOT EDIT! // source: central_control_message.proto #ifndef GOOGLE_PROTOBUF_INCLUDED_central_5fcontrol_5fmessage_2eproto #define GOOGLE_PROTOBUF_INCLUDED_central_5fcontrol_5fmessage_2eproto #include #include #include #if PROTOBUF_VERSION < 3013000 #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 3013000 < 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 #include "message_base.pb.h" // @@protoc_insertion_point(includes) #include #define PROTOBUF_INTERNAL_EXPORT_central_5fcontrol_5fmessage_2eproto PROTOBUF_NAMESPACE_OPEN namespace internal { class AnyMetadata; } // namespace internal PROTOBUF_NAMESPACE_CLOSE // Internal implementation detail -- do not use these members. struct TableStruct_central_5fcontrol_5fmessage_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[4] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]; static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]; }; extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_central_5fcontrol_5fmessage_2eproto; namespace message { class Central_controller_statu_msg; class Central_controller_statu_msgDefaultTypeInternal; extern Central_controller_statu_msgDefaultTypeInternal _Central_controller_statu_msg_default_instance_; class Entrance_manual_operation_msg; class Entrance_manual_operation_msgDefaultTypeInternal; extern Entrance_manual_operation_msgDefaultTypeInternal _Entrance_manual_operation_msg_default_instance_; class Entrance_statu; class Entrance_statuDefaultTypeInternal; extern Entrance_statuDefaultTypeInternal _Entrance_statu_default_instance_; class Process_manual_operation_msg; class Process_manual_operation_msgDefaultTypeInternal; extern Process_manual_operation_msgDefaultTypeInternal _Process_manual_operation_msg_default_instance_; } // namespace message PROTOBUF_NAMESPACE_OPEN template<> ::message::Central_controller_statu_msg* Arena::CreateMaybeMessage<::message::Central_controller_statu_msg>(Arena*); template<> ::message::Entrance_manual_operation_msg* Arena::CreateMaybeMessage<::message::Entrance_manual_operation_msg>(Arena*); template<> ::message::Entrance_statu* Arena::CreateMaybeMessage<::message::Entrance_statu>(Arena*); template<> ::message::Process_manual_operation_msg* Arena::CreateMaybeMessage<::message::Process_manual_operation_msg>(Arena*); PROTOBUF_NAMESPACE_CLOSE namespace message { enum Process_operation_type : int { eManual_cancel = 0, eManual_retry = 1, eManual_ignore = 2 }; bool Process_operation_type_IsValid(int value); constexpr Process_operation_type Process_operation_type_MIN = eManual_cancel; constexpr Process_operation_type Process_operation_type_MAX = eManual_ignore; constexpr int Process_operation_type_ARRAYSIZE = Process_operation_type_MAX + 1; const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Process_operation_type_descriptor(); template inline const std::string& Process_operation_type_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function Process_operation_type_Name."); return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( Process_operation_type_descriptor(), enum_t_value); } inline bool Process_operation_type_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Process_operation_type* value) { return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( Process_operation_type_descriptor(), name, value); } enum Module_statu : int { eConnected = 0, eDisconnected = 1, eFault = 2 }; bool Module_statu_IsValid(int value); constexpr Module_statu Module_statu_MIN = eConnected; constexpr Module_statu Module_statu_MAX = eFault; constexpr int Module_statu_ARRAYSIZE = Module_statu_MAX + 1; const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Module_statu_descriptor(); template inline const std::string& Module_statu_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function Module_statu_Name."); return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( Module_statu_descriptor(), enum_t_value); } inline bool Module_statu_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Module_statu* value) { return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( Module_statu_descriptor(), name, value); } // =================================================================== class Entrance_statu PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:message.Entrance_statu) */ { public: inline Entrance_statu() : Entrance_statu(nullptr) {} virtual ~Entrance_statu(); Entrance_statu(const Entrance_statu& from); Entrance_statu(Entrance_statu&& from) noexcept : Entrance_statu() { *this = ::std::move(from); } inline Entrance_statu& operator=(const Entrance_statu& from) { CopyFrom(from); return *this; } inline Entrance_statu& operator=(Entrance_statu&& from) noexcept { if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); } inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { return GetDescriptor(); } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { return GetMetadataStatic().descriptor; } static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } static const Entrance_statu& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const Entrance_statu* internal_default_instance() { return reinterpret_cast( &_Entrance_statu_default_instance_); } static constexpr int kIndexInFileMessages = 0; friend void swap(Entrance_statu& a, Entrance_statu& b) { a.Swap(&b); } inline void Swap(Entrance_statu* other) { if (other == this) return; if (GetArena() == other->GetArena()) { InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(Entrance_statu* other) { if (other == this) return; GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- inline Entrance_statu* New() const final { return CreateMaybeMessage(nullptr); } Entrance_statu* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void CopyFrom(const Entrance_statu& from); void MergeFrom(const Entrance_statu& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(Entrance_statu* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "message.Entrance_statu"; } protected: explicit Entrance_statu(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_central_5fcontrol_5fmessage_2eproto); return ::descriptor_table_central_5fcontrol_5fmessage_2eproto.file_level_metadata[kIndexInFileMessages]; } public: // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kPausedFieldNumber = 1, kParkspaceStatuFieldNumber = 2, kMeasureStatuFieldNumber = 3, kDispatchStatuFieldNumber = 4, }; // required bool paused = 1; bool has_paused() const; private: bool _internal_has_paused() const; public: void clear_paused(); bool paused() const; void set_paused(bool value); private: bool _internal_paused() const; void _internal_set_paused(bool value); public: // optional .message.Module_statu parkspace_statu = 2; bool has_parkspace_statu() const; private: bool _internal_has_parkspace_statu() const; public: void clear_parkspace_statu(); ::message::Module_statu parkspace_statu() const; void set_parkspace_statu(::message::Module_statu value); private: ::message::Module_statu _internal_parkspace_statu() const; void _internal_set_parkspace_statu(::message::Module_statu value); public: // optional .message.Module_statu measure_statu = 3; bool has_measure_statu() const; private: bool _internal_has_measure_statu() const; public: void clear_measure_statu(); ::message::Module_statu measure_statu() const; void set_measure_statu(::message::Module_statu value); private: ::message::Module_statu _internal_measure_statu() const; void _internal_set_measure_statu(::message::Module_statu value); public: // optional .message.Module_statu dispatch_statu = 4; bool has_dispatch_statu() const; private: bool _internal_has_dispatch_statu() const; public: void clear_dispatch_statu(); ::message::Module_statu dispatch_statu() const; void set_dispatch_statu(::message::Module_statu value); private: ::message::Module_statu _internal_dispatch_statu() const; void _internal_set_dispatch_statu(::message::Module_statu value); public: // @@protoc_insertion_point(class_scope:message.Entrance_statu) 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_; bool paused_; int parkspace_statu_; int measure_statu_; int dispatch_statu_; friend struct ::TableStruct_central_5fcontrol_5fmessage_2eproto; }; // ------------------------------------------------------------------- class Central_controller_statu_msg PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:message.Central_controller_statu_msg) */ { public: inline Central_controller_statu_msg() : Central_controller_statu_msg(nullptr) {} virtual ~Central_controller_statu_msg(); Central_controller_statu_msg(const Central_controller_statu_msg& from); Central_controller_statu_msg(Central_controller_statu_msg&& from) noexcept : Central_controller_statu_msg() { *this = ::std::move(from); } inline Central_controller_statu_msg& operator=(const Central_controller_statu_msg& from) { CopyFrom(from); return *this; } inline Central_controller_statu_msg& operator=(Central_controller_statu_msg&& from) noexcept { if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); } inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { return GetDescriptor(); } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { return GetMetadataStatic().descriptor; } static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } static const Central_controller_statu_msg& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const Central_controller_statu_msg* internal_default_instance() { return reinterpret_cast( &_Central_controller_statu_msg_default_instance_); } static constexpr int kIndexInFileMessages = 1; friend void swap(Central_controller_statu_msg& a, Central_controller_statu_msg& b) { a.Swap(&b); } inline void Swap(Central_controller_statu_msg* other) { if (other == this) return; if (GetArena() == other->GetArena()) { InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(Central_controller_statu_msg* other) { if (other == this) return; GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- inline Central_controller_statu_msg* New() const final { return CreateMaybeMessage(nullptr); } Central_controller_statu_msg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void CopyFrom(const Central_controller_statu_msg& from); void MergeFrom(const Central_controller_statu_msg& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(Central_controller_statu_msg* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "message.Central_controller_statu_msg"; } protected: explicit Central_controller_statu_msg(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_central_5fcontrol_5fmessage_2eproto); return ::descriptor_table_central_5fcontrol_5fmessage_2eproto.file_level_metadata[kIndexInFileMessages]; } public: // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kEntranceStatuVectorFieldNumber = 2, kExportStatuVectorFieldNumber = 3, kBaseInfoFieldNumber = 1, }; // repeated .message.Entrance_statu entrance_statu_vector = 2; int entrance_statu_vector_size() const; private: int _internal_entrance_statu_vector_size() const; public: void clear_entrance_statu_vector(); ::message::Entrance_statu* mutable_entrance_statu_vector(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::message::Entrance_statu >* mutable_entrance_statu_vector(); private: const ::message::Entrance_statu& _internal_entrance_statu_vector(int index) const; ::message::Entrance_statu* _internal_add_entrance_statu_vector(); public: const ::message::Entrance_statu& entrance_statu_vector(int index) const; ::message::Entrance_statu* add_entrance_statu_vector(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::message::Entrance_statu >& entrance_statu_vector() const; // repeated .message.Entrance_statu export_statu_vector = 3; int export_statu_vector_size() const; private: int _internal_export_statu_vector_size() const; public: void clear_export_statu_vector(); ::message::Entrance_statu* mutable_export_statu_vector(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::message::Entrance_statu >* mutable_export_statu_vector(); private: const ::message::Entrance_statu& _internal_export_statu_vector(int index) const; ::message::Entrance_statu* _internal_add_export_statu_vector(); public: const ::message::Entrance_statu& export_statu_vector(int index) const; ::message::Entrance_statu* add_export_statu_vector(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::message::Entrance_statu >& export_statu_vector() const; // required .message.Base_info base_info = 1; bool has_base_info() const; private: bool _internal_has_base_info() const; public: void clear_base_info(); const ::message::Base_info& base_info() const; ::message::Base_info* release_base_info(); ::message::Base_info* mutable_base_info(); void set_allocated_base_info(::message::Base_info* base_info); private: const ::message::Base_info& _internal_base_info() const; ::message::Base_info* _internal_mutable_base_info(); public: void unsafe_arena_set_allocated_base_info( ::message::Base_info* base_info); ::message::Base_info* unsafe_arena_release_base_info(); // @@protoc_insertion_point(class_scope:message.Central_controller_statu_msg) 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::RepeatedPtrField< ::message::Entrance_statu > entrance_statu_vector_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::message::Entrance_statu > export_statu_vector_; ::message::Base_info* base_info_; friend struct ::TableStruct_central_5fcontrol_5fmessage_2eproto; }; // ------------------------------------------------------------------- class Entrance_manual_operation_msg PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:message.Entrance_manual_operation_msg) */ { public: inline Entrance_manual_operation_msg() : Entrance_manual_operation_msg(nullptr) {} virtual ~Entrance_manual_operation_msg(); Entrance_manual_operation_msg(const Entrance_manual_operation_msg& from); Entrance_manual_operation_msg(Entrance_manual_operation_msg&& from) noexcept : Entrance_manual_operation_msg() { *this = ::std::move(from); } inline Entrance_manual_operation_msg& operator=(const Entrance_manual_operation_msg& from) { CopyFrom(from); return *this; } inline Entrance_manual_operation_msg& operator=(Entrance_manual_operation_msg&& from) noexcept { if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); } inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { return GetDescriptor(); } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { return GetMetadataStatic().descriptor; } static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } static const Entrance_manual_operation_msg& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const Entrance_manual_operation_msg* internal_default_instance() { return reinterpret_cast( &_Entrance_manual_operation_msg_default_instance_); } static constexpr int kIndexInFileMessages = 2; friend void swap(Entrance_manual_operation_msg& a, Entrance_manual_operation_msg& b) { a.Swap(&b); } inline void Swap(Entrance_manual_operation_msg* other) { if (other == this) return; if (GetArena() == other->GetArena()) { InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(Entrance_manual_operation_msg* other) { if (other == this) return; GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- inline Entrance_manual_operation_msg* New() const final { return CreateMaybeMessage(nullptr); } Entrance_manual_operation_msg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void CopyFrom(const Entrance_manual_operation_msg& from); void MergeFrom(const Entrance_manual_operation_msg& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(Entrance_manual_operation_msg* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "message.Entrance_manual_operation_msg"; } protected: explicit Entrance_manual_operation_msg(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_central_5fcontrol_5fmessage_2eproto); return ::descriptor_table_central_5fcontrol_5fmessage_2eproto.file_level_metadata[kIndexInFileMessages]; } public: // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kBaseInfoFieldNumber = 1, kTerminalIdFieldNumber = 2, kPausedFieldNumber = 4, kProcessTypeFieldNumber = 3, }; // required .message.Base_info base_info = 1; bool has_base_info() const; private: bool _internal_has_base_info() const; public: void clear_base_info(); const ::message::Base_info& base_info() const; ::message::Base_info* release_base_info(); ::message::Base_info* mutable_base_info(); void set_allocated_base_info(::message::Base_info* base_info); private: const ::message::Base_info& _internal_base_info() const; ::message::Base_info* _internal_mutable_base_info(); public: void unsafe_arena_set_allocated_base_info( ::message::Base_info* base_info); ::message::Base_info* unsafe_arena_release_base_info(); // required int32 terminal_id = 2; bool has_terminal_id() const; private: bool _internal_has_terminal_id() const; public: void clear_terminal_id(); ::PROTOBUF_NAMESPACE_ID::int32 terminal_id() const; void set_terminal_id(::PROTOBUF_NAMESPACE_ID::int32 value); private: ::PROTOBUF_NAMESPACE_ID::int32 _internal_terminal_id() const; void _internal_set_terminal_id(::PROTOBUF_NAMESPACE_ID::int32 value); public: // required bool paused = 4; bool has_paused() const; private: bool _internal_has_paused() const; public: void clear_paused(); bool paused() const; void set_paused(bool value); private: bool _internal_paused() const; void _internal_set_paused(bool value); public: // required .message.Process_type process_type = 3; bool has_process_type() const; private: bool _internal_has_process_type() const; public: void clear_process_type(); ::message::Process_type process_type() const; void set_process_type(::message::Process_type value); private: ::message::Process_type _internal_process_type() const; void _internal_set_process_type(::message::Process_type value); public: // @@protoc_insertion_point(class_scope:message.Entrance_manual_operation_msg) private: class _Internal; // helper for ByteSizeLong() size_t RequiredFieldsByteSizeFallback() const; 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_; ::message::Base_info* base_info_; ::PROTOBUF_NAMESPACE_ID::int32 terminal_id_; bool paused_; int process_type_; friend struct ::TableStruct_central_5fcontrol_5fmessage_2eproto; }; // ------------------------------------------------------------------- class Process_manual_operation_msg PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:message.Process_manual_operation_msg) */ { public: inline Process_manual_operation_msg() : Process_manual_operation_msg(nullptr) {} virtual ~Process_manual_operation_msg(); Process_manual_operation_msg(const Process_manual_operation_msg& from); Process_manual_operation_msg(Process_manual_operation_msg&& from) noexcept : Process_manual_operation_msg() { *this = ::std::move(from); } inline Process_manual_operation_msg& operator=(const Process_manual_operation_msg& from) { CopyFrom(from); return *this; } inline Process_manual_operation_msg& operator=(Process_manual_operation_msg&& from) noexcept { if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); } inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { return GetDescriptor(); } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { return GetMetadataStatic().descriptor; } static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } static const Process_manual_operation_msg& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const Process_manual_operation_msg* internal_default_instance() { return reinterpret_cast( &_Process_manual_operation_msg_default_instance_); } static constexpr int kIndexInFileMessages = 3; friend void swap(Process_manual_operation_msg& a, Process_manual_operation_msg& b) { a.Swap(&b); } inline void Swap(Process_manual_operation_msg* other) { if (other == this) return; if (GetArena() == other->GetArena()) { InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(Process_manual_operation_msg* other) { if (other == this) return; GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- inline Process_manual_operation_msg* New() const final { return CreateMaybeMessage(nullptr); } Process_manual_operation_msg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void CopyFrom(const Process_manual_operation_msg& from); void MergeFrom(const Process_manual_operation_msg& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(Process_manual_operation_msg* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "message.Process_manual_operation_msg"; } protected: explicit Process_manual_operation_msg(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_central_5fcontrol_5fmessage_2eproto); return ::descriptor_table_central_5fcontrol_5fmessage_2eproto.file_level_metadata[kIndexInFileMessages]; } public: // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kLicenseFieldNumber = 2, kBaseInfoFieldNumber = 1, kStepTypeFieldNumber = 3, kOperateTypeFieldNumber = 4, }; // required string license = 2; bool has_license() const; private: bool _internal_has_license() const; public: void clear_license(); const std::string& license() const; void set_license(const std::string& value); void set_license(std::string&& value); void set_license(const char* value); void set_license(const char* value, size_t size); std::string* mutable_license(); std::string* release_license(); void set_allocated_license(std::string* license); private: const std::string& _internal_license() const; void _internal_set_license(const std::string& value); std::string* _internal_mutable_license(); public: // required .message.Base_info base_info = 1; bool has_base_info() const; private: bool _internal_has_base_info() const; public: void clear_base_info(); const ::message::Base_info& base_info() const; ::message::Base_info* release_base_info(); ::message::Base_info* mutable_base_info(); void set_allocated_base_info(::message::Base_info* base_info); private: const ::message::Base_info& _internal_base_info() const; ::message::Base_info* _internal_mutable_base_info(); public: void unsafe_arena_set_allocated_base_info( ::message::Base_info* base_info); ::message::Base_info* unsafe_arena_release_base_info(); // required .message.Step_type step_type = 3; bool has_step_type() const; private: bool _internal_has_step_type() const; public: void clear_step_type(); ::message::Step_type step_type() const; void set_step_type(::message::Step_type value); private: ::message::Step_type _internal_step_type() const; void _internal_set_step_type(::message::Step_type value); public: // required .message.Process_operation_type operate_type = 4; bool has_operate_type() const; private: bool _internal_has_operate_type() const; public: void clear_operate_type(); ::message::Process_operation_type operate_type() const; void set_operate_type(::message::Process_operation_type value); private: ::message::Process_operation_type _internal_operate_type() const; void _internal_set_operate_type(::message::Process_operation_type value); public: // @@protoc_insertion_point(class_scope:message.Process_manual_operation_msg) private: class _Internal; // helper for ByteSizeLong() size_t RequiredFieldsByteSizeFallback() const; 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::internal::ArenaStringPtr license_; ::message::Base_info* base_info_; int step_type_; int operate_type_; friend struct ::TableStruct_central_5fcontrol_5fmessage_2eproto; }; // =================================================================== // =================================================================== #ifdef __GNUC__ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wstrict-aliasing" #endif // __GNUC__ // Entrance_statu // required bool paused = 1; inline bool Entrance_statu::_internal_has_paused() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool Entrance_statu::has_paused() const { return _internal_has_paused(); } inline void Entrance_statu::clear_paused() { paused_ = false; _has_bits_[0] &= ~0x00000001u; } inline bool Entrance_statu::_internal_paused() const { return paused_; } inline bool Entrance_statu::paused() const { // @@protoc_insertion_point(field_get:message.Entrance_statu.paused) return _internal_paused(); } inline void Entrance_statu::_internal_set_paused(bool value) { _has_bits_[0] |= 0x00000001u; paused_ = value; } inline void Entrance_statu::set_paused(bool value) { _internal_set_paused(value); // @@protoc_insertion_point(field_set:message.Entrance_statu.paused) } // optional .message.Module_statu parkspace_statu = 2; inline bool Entrance_statu::_internal_has_parkspace_statu() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; return value; } inline bool Entrance_statu::has_parkspace_statu() const { return _internal_has_parkspace_statu(); } inline void Entrance_statu::clear_parkspace_statu() { parkspace_statu_ = 0; _has_bits_[0] &= ~0x00000002u; } inline ::message::Module_statu Entrance_statu::_internal_parkspace_statu() const { return static_cast< ::message::Module_statu >(parkspace_statu_); } inline ::message::Module_statu Entrance_statu::parkspace_statu() const { // @@protoc_insertion_point(field_get:message.Entrance_statu.parkspace_statu) return _internal_parkspace_statu(); } inline void Entrance_statu::_internal_set_parkspace_statu(::message::Module_statu value) { assert(::message::Module_statu_IsValid(value)); _has_bits_[0] |= 0x00000002u; parkspace_statu_ = value; } inline void Entrance_statu::set_parkspace_statu(::message::Module_statu value) { _internal_set_parkspace_statu(value); // @@protoc_insertion_point(field_set:message.Entrance_statu.parkspace_statu) } // optional .message.Module_statu measure_statu = 3; inline bool Entrance_statu::_internal_has_measure_statu() const { bool value = (_has_bits_[0] & 0x00000004u) != 0; return value; } inline bool Entrance_statu::has_measure_statu() const { return _internal_has_measure_statu(); } inline void Entrance_statu::clear_measure_statu() { measure_statu_ = 0; _has_bits_[0] &= ~0x00000004u; } inline ::message::Module_statu Entrance_statu::_internal_measure_statu() const { return static_cast< ::message::Module_statu >(measure_statu_); } inline ::message::Module_statu Entrance_statu::measure_statu() const { // @@protoc_insertion_point(field_get:message.Entrance_statu.measure_statu) return _internal_measure_statu(); } inline void Entrance_statu::_internal_set_measure_statu(::message::Module_statu value) { assert(::message::Module_statu_IsValid(value)); _has_bits_[0] |= 0x00000004u; measure_statu_ = value; } inline void Entrance_statu::set_measure_statu(::message::Module_statu value) { _internal_set_measure_statu(value); // @@protoc_insertion_point(field_set:message.Entrance_statu.measure_statu) } // optional .message.Module_statu dispatch_statu = 4; inline bool Entrance_statu::_internal_has_dispatch_statu() const { bool value = (_has_bits_[0] & 0x00000008u) != 0; return value; } inline bool Entrance_statu::has_dispatch_statu() const { return _internal_has_dispatch_statu(); } inline void Entrance_statu::clear_dispatch_statu() { dispatch_statu_ = 0; _has_bits_[0] &= ~0x00000008u; } inline ::message::Module_statu Entrance_statu::_internal_dispatch_statu() const { return static_cast< ::message::Module_statu >(dispatch_statu_); } inline ::message::Module_statu Entrance_statu::dispatch_statu() const { // @@protoc_insertion_point(field_get:message.Entrance_statu.dispatch_statu) return _internal_dispatch_statu(); } inline void Entrance_statu::_internal_set_dispatch_statu(::message::Module_statu value) { assert(::message::Module_statu_IsValid(value)); _has_bits_[0] |= 0x00000008u; dispatch_statu_ = value; } inline void Entrance_statu::set_dispatch_statu(::message::Module_statu value) { _internal_set_dispatch_statu(value); // @@protoc_insertion_point(field_set:message.Entrance_statu.dispatch_statu) } // ------------------------------------------------------------------- // Central_controller_statu_msg // required .message.Base_info base_info = 1; inline bool Central_controller_statu_msg::_internal_has_base_info() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; PROTOBUF_ASSUME(!value || base_info_ != nullptr); return value; } inline bool Central_controller_statu_msg::has_base_info() const { return _internal_has_base_info(); } inline const ::message::Base_info& Central_controller_statu_msg::_internal_base_info() const { const ::message::Base_info* p = base_info_; return p != nullptr ? *p : *reinterpret_cast( &::message::_Base_info_default_instance_); } inline const ::message::Base_info& Central_controller_statu_msg::base_info() const { // @@protoc_insertion_point(field_get:message.Central_controller_statu_msg.base_info) return _internal_base_info(); } inline void Central_controller_statu_msg::unsafe_arena_set_allocated_base_info( ::message::Base_info* base_info) { if (GetArena() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info_); } base_info_ = base_info; if (base_info) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:message.Central_controller_statu_msg.base_info) } inline ::message::Base_info* Central_controller_statu_msg::release_base_info() { _has_bits_[0] &= ~0x00000001u; ::message::Base_info* temp = base_info_; base_info_ = nullptr; if (GetArena() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } return temp; } inline ::message::Base_info* Central_controller_statu_msg::unsafe_arena_release_base_info() { // @@protoc_insertion_point(field_release:message.Central_controller_statu_msg.base_info) _has_bits_[0] &= ~0x00000001u; ::message::Base_info* temp = base_info_; base_info_ = nullptr; return temp; } inline ::message::Base_info* Central_controller_statu_msg::_internal_mutable_base_info() { _has_bits_[0] |= 0x00000001u; if (base_info_ == nullptr) { auto* p = CreateMaybeMessage<::message::Base_info>(GetArena()); base_info_ = p; } return base_info_; } inline ::message::Base_info* Central_controller_statu_msg::mutable_base_info() { // @@protoc_insertion_point(field_mutable:message.Central_controller_statu_msg.base_info) return _internal_mutable_base_info(); } inline void Central_controller_statu_msg::set_allocated_base_info(::message::Base_info* base_info) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info_); } if (base_info) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info)->GetArena(); if (message_arena != submessage_arena) { base_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, base_info, submessage_arena); } _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } base_info_ = base_info; // @@protoc_insertion_point(field_set_allocated:message.Central_controller_statu_msg.base_info) } // repeated .message.Entrance_statu entrance_statu_vector = 2; inline int Central_controller_statu_msg::_internal_entrance_statu_vector_size() const { return entrance_statu_vector_.size(); } inline int Central_controller_statu_msg::entrance_statu_vector_size() const { return _internal_entrance_statu_vector_size(); } inline void Central_controller_statu_msg::clear_entrance_statu_vector() { entrance_statu_vector_.Clear(); } inline ::message::Entrance_statu* Central_controller_statu_msg::mutable_entrance_statu_vector(int index) { // @@protoc_insertion_point(field_mutable:message.Central_controller_statu_msg.entrance_statu_vector) return entrance_statu_vector_.Mutable(index); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::message::Entrance_statu >* Central_controller_statu_msg::mutable_entrance_statu_vector() { // @@protoc_insertion_point(field_mutable_list:message.Central_controller_statu_msg.entrance_statu_vector) return &entrance_statu_vector_; } inline const ::message::Entrance_statu& Central_controller_statu_msg::_internal_entrance_statu_vector(int index) const { return entrance_statu_vector_.Get(index); } inline const ::message::Entrance_statu& Central_controller_statu_msg::entrance_statu_vector(int index) const { // @@protoc_insertion_point(field_get:message.Central_controller_statu_msg.entrance_statu_vector) return _internal_entrance_statu_vector(index); } inline ::message::Entrance_statu* Central_controller_statu_msg::_internal_add_entrance_statu_vector() { return entrance_statu_vector_.Add(); } inline ::message::Entrance_statu* Central_controller_statu_msg::add_entrance_statu_vector() { // @@protoc_insertion_point(field_add:message.Central_controller_statu_msg.entrance_statu_vector) return _internal_add_entrance_statu_vector(); } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::message::Entrance_statu >& Central_controller_statu_msg::entrance_statu_vector() const { // @@protoc_insertion_point(field_list:message.Central_controller_statu_msg.entrance_statu_vector) return entrance_statu_vector_; } // repeated .message.Entrance_statu export_statu_vector = 3; inline int Central_controller_statu_msg::_internal_export_statu_vector_size() const { return export_statu_vector_.size(); } inline int Central_controller_statu_msg::export_statu_vector_size() const { return _internal_export_statu_vector_size(); } inline void Central_controller_statu_msg::clear_export_statu_vector() { export_statu_vector_.Clear(); } inline ::message::Entrance_statu* Central_controller_statu_msg::mutable_export_statu_vector(int index) { // @@protoc_insertion_point(field_mutable:message.Central_controller_statu_msg.export_statu_vector) return export_statu_vector_.Mutable(index); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::message::Entrance_statu >* Central_controller_statu_msg::mutable_export_statu_vector() { // @@protoc_insertion_point(field_mutable_list:message.Central_controller_statu_msg.export_statu_vector) return &export_statu_vector_; } inline const ::message::Entrance_statu& Central_controller_statu_msg::_internal_export_statu_vector(int index) const { return export_statu_vector_.Get(index); } inline const ::message::Entrance_statu& Central_controller_statu_msg::export_statu_vector(int index) const { // @@protoc_insertion_point(field_get:message.Central_controller_statu_msg.export_statu_vector) return _internal_export_statu_vector(index); } inline ::message::Entrance_statu* Central_controller_statu_msg::_internal_add_export_statu_vector() { return export_statu_vector_.Add(); } inline ::message::Entrance_statu* Central_controller_statu_msg::add_export_statu_vector() { // @@protoc_insertion_point(field_add:message.Central_controller_statu_msg.export_statu_vector) return _internal_add_export_statu_vector(); } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::message::Entrance_statu >& Central_controller_statu_msg::export_statu_vector() const { // @@protoc_insertion_point(field_list:message.Central_controller_statu_msg.export_statu_vector) return export_statu_vector_; } // ------------------------------------------------------------------- // Entrance_manual_operation_msg // required .message.Base_info base_info = 1; inline bool Entrance_manual_operation_msg::_internal_has_base_info() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; PROTOBUF_ASSUME(!value || base_info_ != nullptr); return value; } inline bool Entrance_manual_operation_msg::has_base_info() const { return _internal_has_base_info(); } inline const ::message::Base_info& Entrance_manual_operation_msg::_internal_base_info() const { const ::message::Base_info* p = base_info_; return p != nullptr ? *p : *reinterpret_cast( &::message::_Base_info_default_instance_); } inline const ::message::Base_info& Entrance_manual_operation_msg::base_info() const { // @@protoc_insertion_point(field_get:message.Entrance_manual_operation_msg.base_info) return _internal_base_info(); } inline void Entrance_manual_operation_msg::unsafe_arena_set_allocated_base_info( ::message::Base_info* base_info) { if (GetArena() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info_); } base_info_ = base_info; if (base_info) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:message.Entrance_manual_operation_msg.base_info) } inline ::message::Base_info* Entrance_manual_operation_msg::release_base_info() { _has_bits_[0] &= ~0x00000001u; ::message::Base_info* temp = base_info_; base_info_ = nullptr; if (GetArena() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } return temp; } inline ::message::Base_info* Entrance_manual_operation_msg::unsafe_arena_release_base_info() { // @@protoc_insertion_point(field_release:message.Entrance_manual_operation_msg.base_info) _has_bits_[0] &= ~0x00000001u; ::message::Base_info* temp = base_info_; base_info_ = nullptr; return temp; } inline ::message::Base_info* Entrance_manual_operation_msg::_internal_mutable_base_info() { _has_bits_[0] |= 0x00000001u; if (base_info_ == nullptr) { auto* p = CreateMaybeMessage<::message::Base_info>(GetArena()); base_info_ = p; } return base_info_; } inline ::message::Base_info* Entrance_manual_operation_msg::mutable_base_info() { // @@protoc_insertion_point(field_mutable:message.Entrance_manual_operation_msg.base_info) return _internal_mutable_base_info(); } inline void Entrance_manual_operation_msg::set_allocated_base_info(::message::Base_info* base_info) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info_); } if (base_info) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info)->GetArena(); if (message_arena != submessage_arena) { base_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, base_info, submessage_arena); } _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } base_info_ = base_info; // @@protoc_insertion_point(field_set_allocated:message.Entrance_manual_operation_msg.base_info) } // required int32 terminal_id = 2; inline bool Entrance_manual_operation_msg::_internal_has_terminal_id() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; return value; } inline bool Entrance_manual_operation_msg::has_terminal_id() const { return _internal_has_terminal_id(); } inline void Entrance_manual_operation_msg::clear_terminal_id() { terminal_id_ = 0; _has_bits_[0] &= ~0x00000002u; } inline ::PROTOBUF_NAMESPACE_ID::int32 Entrance_manual_operation_msg::_internal_terminal_id() const { return terminal_id_; } inline ::PROTOBUF_NAMESPACE_ID::int32 Entrance_manual_operation_msg::terminal_id() const { // @@protoc_insertion_point(field_get:message.Entrance_manual_operation_msg.terminal_id) return _internal_terminal_id(); } inline void Entrance_manual_operation_msg::_internal_set_terminal_id(::PROTOBUF_NAMESPACE_ID::int32 value) { _has_bits_[0] |= 0x00000002u; terminal_id_ = value; } inline void Entrance_manual_operation_msg::set_terminal_id(::PROTOBUF_NAMESPACE_ID::int32 value) { _internal_set_terminal_id(value); // @@protoc_insertion_point(field_set:message.Entrance_manual_operation_msg.terminal_id) } // required .message.Process_type process_type = 3; inline bool Entrance_manual_operation_msg::_internal_has_process_type() const { bool value = (_has_bits_[0] & 0x00000008u) != 0; return value; } inline bool Entrance_manual_operation_msg::has_process_type() const { return _internal_has_process_type(); } inline void Entrance_manual_operation_msg::clear_process_type() { process_type_ = 1; _has_bits_[0] &= ~0x00000008u; } inline ::message::Process_type Entrance_manual_operation_msg::_internal_process_type() const { return static_cast< ::message::Process_type >(process_type_); } inline ::message::Process_type Entrance_manual_operation_msg::process_type() const { // @@protoc_insertion_point(field_get:message.Entrance_manual_operation_msg.process_type) return _internal_process_type(); } inline void Entrance_manual_operation_msg::_internal_set_process_type(::message::Process_type value) { assert(::message::Process_type_IsValid(value)); _has_bits_[0] |= 0x00000008u; process_type_ = value; } inline void Entrance_manual_operation_msg::set_process_type(::message::Process_type value) { _internal_set_process_type(value); // @@protoc_insertion_point(field_set:message.Entrance_manual_operation_msg.process_type) } // required bool paused = 4; inline bool Entrance_manual_operation_msg::_internal_has_paused() const { bool value = (_has_bits_[0] & 0x00000004u) != 0; return value; } inline bool Entrance_manual_operation_msg::has_paused() const { return _internal_has_paused(); } inline void Entrance_manual_operation_msg::clear_paused() { paused_ = false; _has_bits_[0] &= ~0x00000004u; } inline bool Entrance_manual_operation_msg::_internal_paused() const { return paused_; } inline bool Entrance_manual_operation_msg::paused() const { // @@protoc_insertion_point(field_get:message.Entrance_manual_operation_msg.paused) return _internal_paused(); } inline void Entrance_manual_operation_msg::_internal_set_paused(bool value) { _has_bits_[0] |= 0x00000004u; paused_ = value; } inline void Entrance_manual_operation_msg::set_paused(bool value) { _internal_set_paused(value); // @@protoc_insertion_point(field_set:message.Entrance_manual_operation_msg.paused) } // ------------------------------------------------------------------- // Process_manual_operation_msg // required .message.Base_info base_info = 1; inline bool Process_manual_operation_msg::_internal_has_base_info() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; PROTOBUF_ASSUME(!value || base_info_ != nullptr); return value; } inline bool Process_manual_operation_msg::has_base_info() const { return _internal_has_base_info(); } inline const ::message::Base_info& Process_manual_operation_msg::_internal_base_info() const { const ::message::Base_info* p = base_info_; return p != nullptr ? *p : *reinterpret_cast( &::message::_Base_info_default_instance_); } inline const ::message::Base_info& Process_manual_operation_msg::base_info() const { // @@protoc_insertion_point(field_get:message.Process_manual_operation_msg.base_info) return _internal_base_info(); } inline void Process_manual_operation_msg::unsafe_arena_set_allocated_base_info( ::message::Base_info* base_info) { if (GetArena() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info_); } base_info_ = base_info; if (base_info) { _has_bits_[0] |= 0x00000002u; } else { _has_bits_[0] &= ~0x00000002u; } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:message.Process_manual_operation_msg.base_info) } inline ::message::Base_info* Process_manual_operation_msg::release_base_info() { _has_bits_[0] &= ~0x00000002u; ::message::Base_info* temp = base_info_; base_info_ = nullptr; if (GetArena() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } return temp; } inline ::message::Base_info* Process_manual_operation_msg::unsafe_arena_release_base_info() { // @@protoc_insertion_point(field_release:message.Process_manual_operation_msg.base_info) _has_bits_[0] &= ~0x00000002u; ::message::Base_info* temp = base_info_; base_info_ = nullptr; return temp; } inline ::message::Base_info* Process_manual_operation_msg::_internal_mutable_base_info() { _has_bits_[0] |= 0x00000002u; if (base_info_ == nullptr) { auto* p = CreateMaybeMessage<::message::Base_info>(GetArena()); base_info_ = p; } return base_info_; } inline ::message::Base_info* Process_manual_operation_msg::mutable_base_info() { // @@protoc_insertion_point(field_mutable:message.Process_manual_operation_msg.base_info) return _internal_mutable_base_info(); } inline void Process_manual_operation_msg::set_allocated_base_info(::message::Base_info* base_info) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info_); } if (base_info) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info)->GetArena(); if (message_arena != submessage_arena) { base_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, base_info, submessage_arena); } _has_bits_[0] |= 0x00000002u; } else { _has_bits_[0] &= ~0x00000002u; } base_info_ = base_info; // @@protoc_insertion_point(field_set_allocated:message.Process_manual_operation_msg.base_info) } // required string license = 2; inline bool Process_manual_operation_msg::_internal_has_license() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool Process_manual_operation_msg::has_license() const { return _internal_has_license(); } inline void Process_manual_operation_msg::clear_license() { license_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& Process_manual_operation_msg::license() const { // @@protoc_insertion_point(field_get:message.Process_manual_operation_msg.license) return _internal_license(); } inline void Process_manual_operation_msg::set_license(const std::string& value) { _internal_set_license(value); // @@protoc_insertion_point(field_set:message.Process_manual_operation_msg.license) } inline std::string* Process_manual_operation_msg::mutable_license() { // @@protoc_insertion_point(field_mutable:message.Process_manual_operation_msg.license) return _internal_mutable_license(); } inline const std::string& Process_manual_operation_msg::_internal_license() const { return license_.Get(); } inline void Process_manual_operation_msg::_internal_set_license(const std::string& value) { _has_bits_[0] |= 0x00000001u; license_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); } inline void Process_manual_operation_msg::set_license(std::string&& value) { _has_bits_[0] |= 0x00000001u; license_.Set( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:message.Process_manual_operation_msg.license) } inline void Process_manual_operation_msg::set_license(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; license_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:message.Process_manual_operation_msg.license) } inline void Process_manual_operation_msg::set_license(const char* value, size_t size) { _has_bits_[0] |= 0x00000001u; license_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:message.Process_manual_operation_msg.license) } inline std::string* Process_manual_operation_msg::_internal_mutable_license() { _has_bits_[0] |= 0x00000001u; return license_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline std::string* Process_manual_operation_msg::release_license() { // @@protoc_insertion_point(field_release:message.Process_manual_operation_msg.license) if (!_internal_has_license()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return license_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void Process_manual_operation_msg::set_allocated_license(std::string* license) { if (license != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } license_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), license, GetArena()); // @@protoc_insertion_point(field_set_allocated:message.Process_manual_operation_msg.license) } // required .message.Step_type step_type = 3; inline bool Process_manual_operation_msg::_internal_has_step_type() const { bool value = (_has_bits_[0] & 0x00000004u) != 0; return value; } inline bool Process_manual_operation_msg::has_step_type() const { return _internal_has_step_type(); } inline void Process_manual_operation_msg::clear_step_type() { step_type_ = 0; _has_bits_[0] &= ~0x00000004u; } inline ::message::Step_type Process_manual_operation_msg::_internal_step_type() const { return static_cast< ::message::Step_type >(step_type_); } inline ::message::Step_type Process_manual_operation_msg::step_type() const { // @@protoc_insertion_point(field_get:message.Process_manual_operation_msg.step_type) return _internal_step_type(); } inline void Process_manual_operation_msg::_internal_set_step_type(::message::Step_type value) { assert(::message::Step_type_IsValid(value)); _has_bits_[0] |= 0x00000004u; step_type_ = value; } inline void Process_manual_operation_msg::set_step_type(::message::Step_type value) { _internal_set_step_type(value); // @@protoc_insertion_point(field_set:message.Process_manual_operation_msg.step_type) } // required .message.Process_operation_type operate_type = 4; inline bool Process_manual_operation_msg::_internal_has_operate_type() const { bool value = (_has_bits_[0] & 0x00000008u) != 0; return value; } inline bool Process_manual_operation_msg::has_operate_type() const { return _internal_has_operate_type(); } inline void Process_manual_operation_msg::clear_operate_type() { operate_type_ = 0; _has_bits_[0] &= ~0x00000008u; } inline ::message::Process_operation_type Process_manual_operation_msg::_internal_operate_type() const { return static_cast< ::message::Process_operation_type >(operate_type_); } inline ::message::Process_operation_type Process_manual_operation_msg::operate_type() const { // @@protoc_insertion_point(field_get:message.Process_manual_operation_msg.operate_type) return _internal_operate_type(); } inline void Process_manual_operation_msg::_internal_set_operate_type(::message::Process_operation_type value) { assert(::message::Process_operation_type_IsValid(value)); _has_bits_[0] |= 0x00000008u; operate_type_ = value; } inline void Process_manual_operation_msg::set_operate_type(::message::Process_operation_type value) { _internal_set_operate_type(value); // @@protoc_insertion_point(field_set:message.Process_manual_operation_msg.operate_type) } #ifdef __GNUC__ #pragma GCC diagnostic pop #endif // __GNUC__ // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // @@protoc_insertion_point(namespace_scope) } // namespace message PROTOBUF_NAMESPACE_OPEN template <> struct is_proto_enum< ::message::Process_operation_type> : ::std::true_type {}; template <> inline const EnumDescriptor* GetEnumDescriptor< ::message::Process_operation_type>() { return ::message::Process_operation_type_descriptor(); } template <> struct is_proto_enum< ::message::Module_statu> : ::std::true_type {}; template <> inline const EnumDescriptor* GetEnumDescriptor< ::message::Module_statu>() { return ::message::Module_statu_descriptor(); } PROTOBUF_NAMESPACE_CLOSE // @@protoc_insertion_point(global_scope) #include #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_central_5fcontrol_5fmessage_2eproto