// Generated by the protocol buffer compiler. DO NOT EDIT! // source: central_control_message.proto #ifndef PROTOBUF_central_5fcontrol_5fmessage_2eproto__INCLUDED #define PROTOBUF_central_5fcontrol_5fmessage_2eproto__INCLUDED #include #include #if GOOGLE_PROTOBUF_VERSION < 3005000 #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 3005000 < GOOGLE_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 // IWYU pragma: export #include // IWYU pragma: export #include #include #include "message_base.pb.h" // @@protoc_insertion_point(includes) namespace protobuf_central_5fcontrol_5fmessage_2eproto { // Internal implementation detail -- do not use these members. struct TableStruct { static const ::google::protobuf::internal::ParseTableField entries[]; static const ::google::protobuf::internal::AuxillaryParseTableField aux[]; static const ::google::protobuf::internal::ParseTable schema[1]; static const ::google::protobuf::internal::FieldMetadata field_metadata[]; static const ::google::protobuf::internal::SerializationTable serialization_table[]; static const ::google::protobuf::uint32 offsets[]; }; void AddDescriptors(); void InitDefaultsCentral_controller_statu_msgImpl(); void InitDefaultsCentral_controller_statu_msg(); inline void InitDefaults() { InitDefaultsCentral_controller_statu_msg(); } } // namespace protobuf_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_; } // namespace message namespace message { enum Entrance_statu { eEnable = 0, eDisable = 1 }; bool Entrance_statu_IsValid(int value); const Entrance_statu Entrance_statu_MIN = eEnable; const Entrance_statu Entrance_statu_MAX = eDisable; const int Entrance_statu_ARRAYSIZE = Entrance_statu_MAX + 1; const ::google::protobuf::EnumDescriptor* Entrance_statu_descriptor(); inline const ::std::string& Entrance_statu_Name(Entrance_statu value) { return ::google::protobuf::internal::NameOfEnum( Entrance_statu_descriptor(), value); } inline bool Entrance_statu_Parse( const ::std::string& name, Entrance_statu* value) { return ::google::protobuf::internal::ParseNamedEnum( Entrance_statu_descriptor(), name, value); } // =================================================================== class Central_controller_statu_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Central_controller_statu_msg) */ { public: Central_controller_statu_msg(); virtual ~Central_controller_statu_msg(); Central_controller_statu_msg(const Central_controller_statu_msg& from); inline Central_controller_statu_msg& operator=(const Central_controller_statu_msg& from) { CopyFrom(from); return *this; } #if LANG_CXX11 Central_controller_statu_msg(Central_controller_statu_msg&& from) noexcept : Central_controller_statu_msg() { *this = ::std::move(from); } inline Central_controller_statu_msg& operator=(Central_controller_statu_msg&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } #endif inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ::google::protobuf::Descriptor* descriptor(); 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 PROTOBUF_CONSTEXPR int const kIndexInFileMessages = 0; void Swap(Central_controller_statu_msg* other); friend void swap(Central_controller_statu_msg& a, Central_controller_statu_msg& b) { a.Swap(&b); } // implements Message ---------------------------------------------- inline Central_controller_statu_msg* New() const PROTOBUF_FINAL { return New(NULL); } Central_controller_statu_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; void CopyFrom(const Central_controller_statu_msg& from); void MergeFrom(const Central_controller_statu_msg& from); void Clear() PROTOBUF_FINAL; bool IsInitialized() const PROTOBUF_FINAL; size_t ByteSizeLong() const PROTOBUF_FINAL; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const PROTOBUF_FINAL; void InternalSwap(Central_controller_statu_msg* other); private: inline ::google::protobuf::Arena* GetArenaNoVirtual() const { return NULL; } inline void* MaybeArenaPtr() const { return NULL; } public: ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // repeated .message.Entrance_statu entrance_statu_vector = 3; int entrance_statu_vector_size() const; void clear_entrance_statu_vector(); static const int kEntranceStatuVectorFieldNumber = 3; ::message::Entrance_statu entrance_statu_vector(int index) const; void set_entrance_statu_vector(int index, ::message::Entrance_statu value); void add_entrance_statu_vector(::message::Entrance_statu value); const ::google::protobuf::RepeatedField& entrance_statu_vector() const; ::google::protobuf::RepeatedField* mutable_entrance_statu_vector(); // repeated .message.Entrance_statu export_statu_vector = 4; int export_statu_vector_size() const; void clear_export_statu_vector(); static const int kExportStatuVectorFieldNumber = 4; ::message::Entrance_statu export_statu_vector(int index) const; void set_export_statu_vector(int index, ::message::Entrance_statu value); void add_export_statu_vector(::message::Entrance_statu value); const ::google::protobuf::RepeatedField& export_statu_vector() const; ::google::protobuf::RepeatedField* mutable_export_statu_vector(); // required .message.Base_info base_info = 1; bool has_base_info() const; void clear_base_info(); static const int kBaseInfoFieldNumber = 1; 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); // required bool paused = 2; bool has_paused() const; void clear_paused(); static const int kPausedFieldNumber = 2; bool paused() const; void set_paused(bool value); // @@protoc_insertion_point(class_scope:message.Central_controller_statu_msg) private: void set_has_base_info(); void clear_has_base_info(); void set_has_paused(); void clear_has_paused(); // helper for ByteSizeLong() size_t RequiredFieldsByteSizeFallback() const; ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; ::google::protobuf::internal::HasBits<1> _has_bits_; mutable int _cached_size_; ::google::protobuf::RepeatedField entrance_statu_vector_; ::google::protobuf::RepeatedField export_statu_vector_; ::message::Base_info* base_info_; bool paused_; friend struct ::protobuf_central_5fcontrol_5fmessage_2eproto::TableStruct; friend void ::protobuf_central_5fcontrol_5fmessage_2eproto::InitDefaultsCentral_controller_statu_msgImpl(); }; // =================================================================== // =================================================================== #ifdef __GNUC__ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wstrict-aliasing" #endif // __GNUC__ // Central_controller_statu_msg // required .message.Base_info base_info = 1; inline bool Central_controller_statu_msg::has_base_info() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void Central_controller_statu_msg::set_has_base_info() { _has_bits_[0] |= 0x00000001u; } inline void Central_controller_statu_msg::clear_has_base_info() { _has_bits_[0] &= ~0x00000001u; } inline const ::message::Base_info& Central_controller_statu_msg::base_info() const { const ::message::Base_info* p = base_info_; // @@protoc_insertion_point(field_get:message.Central_controller_statu_msg.base_info) return p != NULL ? *p : *reinterpret_cast( &::message::_Base_info_default_instance_); } inline ::message::Base_info* Central_controller_statu_msg::release_base_info() { // @@protoc_insertion_point(field_release:message.Central_controller_statu_msg.base_info) clear_has_base_info(); ::message::Base_info* temp = base_info_; base_info_ = NULL; return temp; } inline ::message::Base_info* Central_controller_statu_msg::mutable_base_info() { set_has_base_info(); if (base_info_ == NULL) { base_info_ = new ::message::Base_info; } // @@protoc_insertion_point(field_mutable:message.Central_controller_statu_msg.base_info) return base_info_; } inline void Central_controller_statu_msg::set_allocated_base_info(::message::Base_info* base_info) { ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == NULL) { delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_); } if (base_info) { ::google::protobuf::Arena* submessage_arena = NULL; if (message_arena != submessage_arena) { base_info = ::google::protobuf::internal::GetOwnedMessage( message_arena, base_info, submessage_arena); } set_has_base_info(); } else { clear_has_base_info(); } base_info_ = base_info; // @@protoc_insertion_point(field_set_allocated:message.Central_controller_statu_msg.base_info) } // required bool paused = 2; inline bool Central_controller_statu_msg::has_paused() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void Central_controller_statu_msg::set_has_paused() { _has_bits_[0] |= 0x00000002u; } inline void Central_controller_statu_msg::clear_has_paused() { _has_bits_[0] &= ~0x00000002u; } inline void Central_controller_statu_msg::clear_paused() { paused_ = false; clear_has_paused(); } inline bool Central_controller_statu_msg::paused() const { // @@protoc_insertion_point(field_get:message.Central_controller_statu_msg.paused) return paused_; } inline void Central_controller_statu_msg::set_paused(bool value) { set_has_paused(); paused_ = value; // @@protoc_insertion_point(field_set:message.Central_controller_statu_msg.paused) } // repeated .message.Entrance_statu entrance_statu_vector = 3; inline int Central_controller_statu_msg::entrance_statu_vector_size() const { return 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::entrance_statu_vector(int index) const { // @@protoc_insertion_point(field_get:message.Central_controller_statu_msg.entrance_statu_vector) return static_cast< ::message::Entrance_statu >(entrance_statu_vector_.Get(index)); } inline void Central_controller_statu_msg::set_entrance_statu_vector(int index, ::message::Entrance_statu value) { assert(::message::Entrance_statu_IsValid(value)); entrance_statu_vector_.Set(index, value); // @@protoc_insertion_point(field_set:message.Central_controller_statu_msg.entrance_statu_vector) } inline void Central_controller_statu_msg::add_entrance_statu_vector(::message::Entrance_statu value) { assert(::message::Entrance_statu_IsValid(value)); entrance_statu_vector_.Add(value); // @@protoc_insertion_point(field_add:message.Central_controller_statu_msg.entrance_statu_vector) } inline const ::google::protobuf::RepeatedField& 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_; } inline ::google::protobuf::RepeatedField* 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_; } // repeated .message.Entrance_statu export_statu_vector = 4; inline int Central_controller_statu_msg::export_statu_vector_size() const { return 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::export_statu_vector(int index) const { // @@protoc_insertion_point(field_get:message.Central_controller_statu_msg.export_statu_vector) return static_cast< ::message::Entrance_statu >(export_statu_vector_.Get(index)); } inline void Central_controller_statu_msg::set_export_statu_vector(int index, ::message::Entrance_statu value) { assert(::message::Entrance_statu_IsValid(value)); export_statu_vector_.Set(index, value); // @@protoc_insertion_point(field_set:message.Central_controller_statu_msg.export_statu_vector) } inline void Central_controller_statu_msg::add_export_statu_vector(::message::Entrance_statu value) { assert(::message::Entrance_statu_IsValid(value)); export_statu_vector_.Add(value); // @@protoc_insertion_point(field_add:message.Central_controller_statu_msg.export_statu_vector) } inline const ::google::protobuf::RepeatedField& 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_; } inline ::google::protobuf::RepeatedField* 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_; } #ifdef __GNUC__ #pragma GCC diagnostic pop #endif // __GNUC__ // @@protoc_insertion_point(namespace_scope) } // namespace message namespace google { namespace protobuf { template <> struct is_proto_enum< ::message::Entrance_statu> : ::google::protobuf::internal::true_type {}; template <> inline const EnumDescriptor* GetEnumDescriptor< ::message::Entrance_statu>() { return ::message::Entrance_statu_descriptor(); } } // namespace protobuf } // namespace google // @@protoc_insertion_point(global_scope) #endif // PROTOBUF_central_5fcontrol_5fmessage_2eproto__INCLUDED