123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: central_control_message.proto
- #ifndef PROTOBUF_INCLUDED_central_5fcontrol_5fmessage_2eproto
- #define PROTOBUF_INCLUDED_central_5fcontrol_5fmessage_2eproto
- #include <string>
- #include <google/protobuf/stubs/common.h>
- #if GOOGLE_PROTOBUF_VERSION < 3006000
- #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 3006000 < 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 <google/protobuf/io/coded_stream.h>
- #include <google/protobuf/arena.h>
- #include <google/protobuf/arenastring.h>
- #include <google/protobuf/generated_message_table_driven.h>
- #include <google/protobuf/generated_message_util.h>
- #include <google/protobuf/inlined_string_field.h>
- #include <google/protobuf/metadata.h>
- #include <google/protobuf/message.h>
- #include <google/protobuf/repeated_field.h> // IWYU pragma: export
- #include <google/protobuf/extension_set.h> // IWYU pragma: export
- #include <google/protobuf/generated_enum_reflection.h>
- #include <google/protobuf/unknown_field_set.h>
- #include "message_base.pb.h"
- // @@protoc_insertion_point(includes)
- #define PROTOBUF_INTERNAL_EXPORT_protobuf_central_5fcontrol_5fmessage_2eproto
- 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[4];
- static const ::google::protobuf::internal::FieldMetadata field_metadata[];
- static const ::google::protobuf::internal::SerializationTable serialization_table[];
- static const ::google::protobuf::uint32 offsets[];
- };
- void AddDescriptors();
- } // 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_;
- 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
- namespace google {
- namespace protobuf {
- 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*);
- } // namespace protobuf
- } // namespace google
- namespace message {
- enum Process_operation_type {
- eManual_cancel = 0,
- eManual_retry = 1,
- eManual_ignore = 2
- };
- bool Process_operation_type_IsValid(int value);
- const Process_operation_type Process_operation_type_MIN = eManual_cancel;
- const Process_operation_type Process_operation_type_MAX = eManual_ignore;
- const int Process_operation_type_ARRAYSIZE = Process_operation_type_MAX + 1;
- const ::google::protobuf::EnumDescriptor* Process_operation_type_descriptor();
- inline const ::std::string& Process_operation_type_Name(Process_operation_type value) {
- return ::google::protobuf::internal::NameOfEnum(
- Process_operation_type_descriptor(), value);
- }
- inline bool Process_operation_type_Parse(
- const ::std::string& name, Process_operation_type* value) {
- return ::google::protobuf::internal::ParseNamedEnum<Process_operation_type>(
- Process_operation_type_descriptor(), name, value);
- }
- enum Module_statu {
- eConnected = 0,
- eDisconnected = 1,
- eFault = 2
- };
- bool Module_statu_IsValid(int value);
- const Module_statu Module_statu_MIN = eConnected;
- const Module_statu Module_statu_MAX = eFault;
- const int Module_statu_ARRAYSIZE = Module_statu_MAX + 1;
- const ::google::protobuf::EnumDescriptor* Module_statu_descriptor();
- inline const ::std::string& Module_statu_Name(Module_statu value) {
- return ::google::protobuf::internal::NameOfEnum(
- Module_statu_descriptor(), value);
- }
- inline bool Module_statu_Parse(
- const ::std::string& name, Module_statu* value) {
- return ::google::protobuf::internal::ParseNamedEnum<Module_statu>(
- Module_statu_descriptor(), name, value);
- }
- // ===================================================================
- class Entrance_statu : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Entrance_statu) */ {
- public:
- Entrance_statu();
- virtual ~Entrance_statu();
- Entrance_statu(const Entrance_statu& from);
- inline Entrance_statu& operator=(const Entrance_statu& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- Entrance_statu(Entrance_statu&& from) noexcept
- : Entrance_statu() {
- *this = ::std::move(from);
- }
- inline Entrance_statu& operator=(Entrance_statu&& 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 Entrance_statu& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const Entrance_statu* internal_default_instance() {
- return reinterpret_cast<const Entrance_statu*>(
- &_Entrance_statu_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 0;
- void Swap(Entrance_statu* other);
- friend void swap(Entrance_statu& a, Entrance_statu& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline Entrance_statu* New() const final {
- return CreateMaybeMessage<Entrance_statu>(NULL);
- }
- Entrance_statu* New(::google::protobuf::Arena* arena) const final {
- return CreateMaybeMessage<Entrance_statu>(arena);
- }
- void CopyFrom(const ::google::protobuf::Message& from) final;
- void MergeFrom(const ::google::protobuf::Message& from) final;
- void CopyFrom(const Entrance_statu& from);
- void MergeFrom(const Entrance_statu& from);
- void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) final;
- void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const final;
- ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(Entrance_statu* other);
- private:
- inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
- return NULL;
- }
- inline void* MaybeArenaPtr() const {
- return NULL;
- }
- public:
- ::google::protobuf::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // required bool paused = 1;
- bool has_paused() const;
- void clear_paused();
- static const int kPausedFieldNumber = 1;
- bool paused() const;
- void set_paused(bool value);
- // optional .message.Module_statu parkspace_statu = 2;
- bool has_parkspace_statu() const;
- void clear_parkspace_statu();
- static const int kParkspaceStatuFieldNumber = 2;
- ::message::Module_statu parkspace_statu() const;
- void set_parkspace_statu(::message::Module_statu value);
- // optional .message.Module_statu measure_statu = 3;
- bool has_measure_statu() const;
- void clear_measure_statu();
- static const int kMeasureStatuFieldNumber = 3;
- ::message::Module_statu measure_statu() const;
- void set_measure_statu(::message::Module_statu value);
- // optional .message.Module_statu dispatch_statu = 4;
- bool has_dispatch_statu() const;
- void clear_dispatch_statu();
- static const int kDispatchStatuFieldNumber = 4;
- ::message::Module_statu dispatch_statu() const;
- void set_dispatch_statu(::message::Module_statu value);
- // @@protoc_insertion_point(class_scope:message.Entrance_statu)
- private:
- void set_has_paused();
- void clear_has_paused();
- void set_has_parkspace_statu();
- void clear_has_parkspace_statu();
- void set_has_measure_statu();
- void clear_has_measure_statu();
- void set_has_dispatch_statu();
- void clear_has_dispatch_statu();
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::internal::HasBits<1> _has_bits_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- bool paused_;
- int parkspace_statu_;
- int measure_statu_;
- int dispatch_statu_;
- friend struct ::protobuf_central_5fcontrol_5fmessage_2eproto::TableStruct;
- };
- // -------------------------------------------------------------------
- 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<const Central_controller_statu_msg*>(
- &_Central_controller_statu_msg_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 1;
- 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 final {
- return CreateMaybeMessage<Central_controller_statu_msg>(NULL);
- }
- Central_controller_statu_msg* New(::google::protobuf::Arena* arena) const final {
- return CreateMaybeMessage<Central_controller_statu_msg>(arena);
- }
- void CopyFrom(const ::google::protobuf::Message& from) final;
- void MergeFrom(const ::google::protobuf::Message& from) final;
- void CopyFrom(const Central_controller_statu_msg& from);
- void MergeFrom(const Central_controller_statu_msg& from);
- void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) final;
- void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const final;
- ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const 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 final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // repeated .message.Entrance_statu entrance_statu_vector = 2;
- int entrance_statu_vector_size() const;
- void clear_entrance_statu_vector();
- static const int kEntranceStatuVectorFieldNumber = 2;
- ::message::Entrance_statu* mutable_entrance_statu_vector(int index);
- ::google::protobuf::RepeatedPtrField< ::message::Entrance_statu >*
- mutable_entrance_statu_vector();
- const ::message::Entrance_statu& entrance_statu_vector(int index) const;
- ::message::Entrance_statu* add_entrance_statu_vector();
- const ::google::protobuf::RepeatedPtrField< ::message::Entrance_statu >&
- entrance_statu_vector() const;
- // repeated .message.Entrance_statu export_statu_vector = 3;
- int export_statu_vector_size() const;
- void clear_export_statu_vector();
- static const int kExportStatuVectorFieldNumber = 3;
- ::message::Entrance_statu* mutable_export_statu_vector(int index);
- ::google::protobuf::RepeatedPtrField< ::message::Entrance_statu >*
- mutable_export_statu_vector();
- const ::message::Entrance_statu& export_statu_vector(int index) const;
- ::message::Entrance_statu* add_export_statu_vector();
- const ::google::protobuf::RepeatedPtrField< ::message::Entrance_statu >&
- export_statu_vector() const;
- // required .message.Base_info base_info = 1;
- bool has_base_info() const;
- void clear_base_info();
- static const int kBaseInfoFieldNumber = 1;
- private:
- const ::message::Base_info& _internal_base_info() const;
- public:
- 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);
- // @@protoc_insertion_point(class_scope:message.Central_controller_statu_msg)
- private:
- void set_has_base_info();
- void clear_has_base_info();
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::internal::HasBits<1> _has_bits_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- ::google::protobuf::RepeatedPtrField< ::message::Entrance_statu > entrance_statu_vector_;
- ::google::protobuf::RepeatedPtrField< ::message::Entrance_statu > export_statu_vector_;
- ::message::Base_info* base_info_;
- friend struct ::protobuf_central_5fcontrol_5fmessage_2eproto::TableStruct;
- };
- // -------------------------------------------------------------------
- class Entrance_manual_operation_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Entrance_manual_operation_msg) */ {
- public:
- Entrance_manual_operation_msg();
- virtual ~Entrance_manual_operation_msg();
- Entrance_manual_operation_msg(const Entrance_manual_operation_msg& from);
- inline Entrance_manual_operation_msg& operator=(const Entrance_manual_operation_msg& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- Entrance_manual_operation_msg(Entrance_manual_operation_msg&& from) noexcept
- : Entrance_manual_operation_msg() {
- *this = ::std::move(from);
- }
- inline Entrance_manual_operation_msg& operator=(Entrance_manual_operation_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 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<const Entrance_manual_operation_msg*>(
- &_Entrance_manual_operation_msg_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 2;
- void Swap(Entrance_manual_operation_msg* other);
- friend void swap(Entrance_manual_operation_msg& a, Entrance_manual_operation_msg& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline Entrance_manual_operation_msg* New() const final {
- return CreateMaybeMessage<Entrance_manual_operation_msg>(NULL);
- }
- Entrance_manual_operation_msg* New(::google::protobuf::Arena* arena) const final {
- return CreateMaybeMessage<Entrance_manual_operation_msg>(arena);
- }
- void CopyFrom(const ::google::protobuf::Message& from) final;
- void MergeFrom(const ::google::protobuf::Message& from) final;
- void CopyFrom(const Entrance_manual_operation_msg& from);
- void MergeFrom(const Entrance_manual_operation_msg& from);
- void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) final;
- void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const final;
- ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(Entrance_manual_operation_msg* other);
- private:
- inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
- return NULL;
- }
- inline void* MaybeArenaPtr() const {
- return NULL;
- }
- public:
- ::google::protobuf::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // required .message.Base_info base_info = 1;
- bool has_base_info() const;
- void clear_base_info();
- static const int kBaseInfoFieldNumber = 1;
- private:
- const ::message::Base_info& _internal_base_info() const;
- public:
- 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 int32 terminal_id = 2;
- bool has_terminal_id() const;
- void clear_terminal_id();
- static const int kTerminalIdFieldNumber = 2;
- ::google::protobuf::int32 terminal_id() const;
- void set_terminal_id(::google::protobuf::int32 value);
- // required bool paused = 4;
- bool has_paused() const;
- void clear_paused();
- static const int kPausedFieldNumber = 4;
- bool paused() const;
- void set_paused(bool value);
- // required .message.Process_type process_type = 3;
- bool has_process_type() const;
- void clear_process_type();
- static const int kProcessTypeFieldNumber = 3;
- ::message::Process_type process_type() const;
- void set_process_type(::message::Process_type value);
- // @@protoc_insertion_point(class_scope:message.Entrance_manual_operation_msg)
- private:
- void set_has_base_info();
- void clear_has_base_info();
- void set_has_terminal_id();
- void clear_has_terminal_id();
- void set_has_process_type();
- void clear_has_process_type();
- 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 ::google::protobuf::internal::CachedSize _cached_size_;
- ::message::Base_info* base_info_;
- ::google::protobuf::int32 terminal_id_;
- bool paused_;
- int process_type_;
- friend struct ::protobuf_central_5fcontrol_5fmessage_2eproto::TableStruct;
- };
- // -------------------------------------------------------------------
- class Process_manual_operation_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Process_manual_operation_msg) */ {
- public:
- Process_manual_operation_msg();
- virtual ~Process_manual_operation_msg();
- Process_manual_operation_msg(const Process_manual_operation_msg& from);
- inline Process_manual_operation_msg& operator=(const Process_manual_operation_msg& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- Process_manual_operation_msg(Process_manual_operation_msg&& from) noexcept
- : Process_manual_operation_msg() {
- *this = ::std::move(from);
- }
- inline Process_manual_operation_msg& operator=(Process_manual_operation_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 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<const Process_manual_operation_msg*>(
- &_Process_manual_operation_msg_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 3;
- void Swap(Process_manual_operation_msg* other);
- friend void swap(Process_manual_operation_msg& a, Process_manual_operation_msg& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline Process_manual_operation_msg* New() const final {
- return CreateMaybeMessage<Process_manual_operation_msg>(NULL);
- }
- Process_manual_operation_msg* New(::google::protobuf::Arena* arena) const final {
- return CreateMaybeMessage<Process_manual_operation_msg>(arena);
- }
- void CopyFrom(const ::google::protobuf::Message& from) final;
- void MergeFrom(const ::google::protobuf::Message& from) final;
- void CopyFrom(const Process_manual_operation_msg& from);
- void MergeFrom(const Process_manual_operation_msg& from);
- void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) final;
- void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const final;
- ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(Process_manual_operation_msg* other);
- private:
- inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
- return NULL;
- }
- inline void* MaybeArenaPtr() const {
- return NULL;
- }
- public:
- ::google::protobuf::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // required string license = 2;
- bool has_license() const;
- void clear_license();
- static const int kLicenseFieldNumber = 2;
- const ::std::string& license() const;
- void set_license(const ::std::string& value);
- #if LANG_CXX11
- void set_license(::std::string&& value);
- #endif
- 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);
- // required .message.Base_info base_info = 1;
- bool has_base_info() const;
- void clear_base_info();
- static const int kBaseInfoFieldNumber = 1;
- private:
- const ::message::Base_info& _internal_base_info() const;
- public:
- 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 .message.Step_type step_type = 3;
- bool has_step_type() const;
- void clear_step_type();
- static const int kStepTypeFieldNumber = 3;
- ::message::Step_type step_type() const;
- void set_step_type(::message::Step_type value);
- // required .message.Process_operation_type operate_type = 4;
- bool has_operate_type() const;
- void clear_operate_type();
- static const int kOperateTypeFieldNumber = 4;
- ::message::Process_operation_type operate_type() const;
- void set_operate_type(::message::Process_operation_type value);
- // @@protoc_insertion_point(class_scope:message.Process_manual_operation_msg)
- private:
- void set_has_base_info();
- void clear_has_base_info();
- void set_has_license();
- void clear_has_license();
- void set_has_step_type();
- void clear_has_step_type();
- void set_has_operate_type();
- void clear_has_operate_type();
- // helper for ByteSizeLong()
- size_t RequiredFieldsByteSizeFallback() const;
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::internal::HasBits<1> _has_bits_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- ::google::protobuf::internal::ArenaStringPtr license_;
- ::message::Base_info* base_info_;
- int step_type_;
- int operate_type_;
- friend struct ::protobuf_central_5fcontrol_5fmessage_2eproto::TableStruct;
- };
- // ===================================================================
- // ===================================================================
- #ifdef __GNUC__
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wstrict-aliasing"
- #endif // __GNUC__
- // Entrance_statu
- // required bool paused = 1;
- inline bool Entrance_statu::has_paused() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void Entrance_statu::set_has_paused() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void Entrance_statu::clear_has_paused() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void Entrance_statu::clear_paused() {
- paused_ = false;
- clear_has_paused();
- }
- inline bool Entrance_statu::paused() const {
- // @@protoc_insertion_point(field_get:message.Entrance_statu.paused)
- return paused_;
- }
- inline void Entrance_statu::set_paused(bool value) {
- set_has_paused();
- paused_ = value;
- // @@protoc_insertion_point(field_set:message.Entrance_statu.paused)
- }
- // optional .message.Module_statu parkspace_statu = 2;
- inline bool Entrance_statu::has_parkspace_statu() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void Entrance_statu::set_has_parkspace_statu() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void Entrance_statu::clear_has_parkspace_statu() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline void Entrance_statu::clear_parkspace_statu() {
- parkspace_statu_ = 0;
- clear_has_parkspace_statu();
- }
- inline ::message::Module_statu Entrance_statu::parkspace_statu() const {
- // @@protoc_insertion_point(field_get:message.Entrance_statu.parkspace_statu)
- return static_cast< ::message::Module_statu >(parkspace_statu_);
- }
- inline void Entrance_statu::set_parkspace_statu(::message::Module_statu value) {
- assert(::message::Module_statu_IsValid(value));
- set_has_parkspace_statu();
- parkspace_statu_ = value;
- // @@protoc_insertion_point(field_set:message.Entrance_statu.parkspace_statu)
- }
- // optional .message.Module_statu measure_statu = 3;
- inline bool Entrance_statu::has_measure_statu() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
- }
- inline void Entrance_statu::set_has_measure_statu() {
- _has_bits_[0] |= 0x00000004u;
- }
- inline void Entrance_statu::clear_has_measure_statu() {
- _has_bits_[0] &= ~0x00000004u;
- }
- inline void Entrance_statu::clear_measure_statu() {
- measure_statu_ = 0;
- clear_has_measure_statu();
- }
- inline ::message::Module_statu Entrance_statu::measure_statu() const {
- // @@protoc_insertion_point(field_get:message.Entrance_statu.measure_statu)
- return static_cast< ::message::Module_statu >(measure_statu_);
- }
- inline void Entrance_statu::set_measure_statu(::message::Module_statu value) {
- assert(::message::Module_statu_IsValid(value));
- set_has_measure_statu();
- measure_statu_ = value;
- // @@protoc_insertion_point(field_set:message.Entrance_statu.measure_statu)
- }
- // optional .message.Module_statu dispatch_statu = 4;
- inline bool Entrance_statu::has_dispatch_statu() const {
- return (_has_bits_[0] & 0x00000008u) != 0;
- }
- inline void Entrance_statu::set_has_dispatch_statu() {
- _has_bits_[0] |= 0x00000008u;
- }
- inline void Entrance_statu::clear_has_dispatch_statu() {
- _has_bits_[0] &= ~0x00000008u;
- }
- inline void Entrance_statu::clear_dispatch_statu() {
- dispatch_statu_ = 0;
- clear_has_dispatch_statu();
- }
- inline ::message::Module_statu Entrance_statu::dispatch_statu() const {
- // @@protoc_insertion_point(field_get:message.Entrance_statu.dispatch_statu)
- return static_cast< ::message::Module_statu >(dispatch_statu_);
- }
- inline void Entrance_statu::set_dispatch_statu(::message::Module_statu value) {
- assert(::message::Module_statu_IsValid(value));
- set_has_dispatch_statu();
- 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::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::_internal_base_info() const {
- return *base_info_;
- }
- 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<const ::message::Base_info*>(
- &::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) {
- auto* p = CreateMaybeMessage<::message::Base_info>(GetArenaNoVirtual());
- base_info_ = p;
- }
- // @@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)
- }
- // repeated .message.Entrance_statu entrance_statu_vector = 2;
- 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::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 ::google::protobuf::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::entrance_statu_vector(int index) const {
- // @@protoc_insertion_point(field_get:message.Central_controller_statu_msg.entrance_statu_vector)
- return entrance_statu_vector_.Get(index);
- }
- 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 entrance_statu_vector_.Add();
- }
- inline const ::google::protobuf::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::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::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 ::google::protobuf::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::export_statu_vector(int index) const {
- // @@protoc_insertion_point(field_get:message.Central_controller_statu_msg.export_statu_vector)
- return export_statu_vector_.Get(index);
- }
- 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 export_statu_vector_.Add();
- }
- inline const ::google::protobuf::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::has_base_info() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void Entrance_manual_operation_msg::set_has_base_info() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void Entrance_manual_operation_msg::clear_has_base_info() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline const ::message::Base_info& Entrance_manual_operation_msg::_internal_base_info() const {
- return *base_info_;
- }
- inline const ::message::Base_info& Entrance_manual_operation_msg::base_info() const {
- const ::message::Base_info* p = base_info_;
- // @@protoc_insertion_point(field_get:message.Entrance_manual_operation_msg.base_info)
- return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
- &::message::_Base_info_default_instance_);
- }
- inline ::message::Base_info* Entrance_manual_operation_msg::release_base_info() {
- // @@protoc_insertion_point(field_release:message.Entrance_manual_operation_msg.base_info)
- clear_has_base_info();
- ::message::Base_info* temp = base_info_;
- base_info_ = NULL;
- return temp;
- }
- inline ::message::Base_info* Entrance_manual_operation_msg::mutable_base_info() {
- set_has_base_info();
- if (base_info_ == NULL) {
- auto* p = CreateMaybeMessage<::message::Base_info>(GetArenaNoVirtual());
- base_info_ = p;
- }
- // @@protoc_insertion_point(field_mutable:message.Entrance_manual_operation_msg.base_info)
- return base_info_;
- }
- inline void Entrance_manual_operation_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.Entrance_manual_operation_msg.base_info)
- }
- // required int32 terminal_id = 2;
- inline bool Entrance_manual_operation_msg::has_terminal_id() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void Entrance_manual_operation_msg::set_has_terminal_id() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void Entrance_manual_operation_msg::clear_has_terminal_id() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline void Entrance_manual_operation_msg::clear_terminal_id() {
- terminal_id_ = 0;
- clear_has_terminal_id();
- }
- inline ::google::protobuf::int32 Entrance_manual_operation_msg::terminal_id() const {
- // @@protoc_insertion_point(field_get:message.Entrance_manual_operation_msg.terminal_id)
- return terminal_id_;
- }
- inline void Entrance_manual_operation_msg::set_terminal_id(::google::protobuf::int32 value) {
- set_has_terminal_id();
- 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::has_process_type() const {
- return (_has_bits_[0] & 0x00000008u) != 0;
- }
- inline void Entrance_manual_operation_msg::set_has_process_type() {
- _has_bits_[0] |= 0x00000008u;
- }
- inline void Entrance_manual_operation_msg::clear_has_process_type() {
- _has_bits_[0] &= ~0x00000008u;
- }
- inline void Entrance_manual_operation_msg::clear_process_type() {
- process_type_ = 1;
- clear_has_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 static_cast< ::message::Process_type >(process_type_);
- }
- inline void Entrance_manual_operation_msg::set_process_type(::message::Process_type value) {
- assert(::message::Process_type_IsValid(value));
- set_has_process_type();
- 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::has_paused() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
- }
- inline void Entrance_manual_operation_msg::set_has_paused() {
- _has_bits_[0] |= 0x00000004u;
- }
- inline void Entrance_manual_operation_msg::clear_has_paused() {
- _has_bits_[0] &= ~0x00000004u;
- }
- inline void Entrance_manual_operation_msg::clear_paused() {
- paused_ = false;
- clear_has_paused();
- }
- inline bool Entrance_manual_operation_msg::paused() const {
- // @@protoc_insertion_point(field_get:message.Entrance_manual_operation_msg.paused)
- return paused_;
- }
- inline void Entrance_manual_operation_msg::set_paused(bool value) {
- set_has_paused();
- 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::has_base_info() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void Process_manual_operation_msg::set_has_base_info() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void Process_manual_operation_msg::clear_has_base_info() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline const ::message::Base_info& Process_manual_operation_msg::_internal_base_info() const {
- return *base_info_;
- }
- inline const ::message::Base_info& Process_manual_operation_msg::base_info() const {
- const ::message::Base_info* p = base_info_;
- // @@protoc_insertion_point(field_get:message.Process_manual_operation_msg.base_info)
- return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
- &::message::_Base_info_default_instance_);
- }
- inline ::message::Base_info* Process_manual_operation_msg::release_base_info() {
- // @@protoc_insertion_point(field_release:message.Process_manual_operation_msg.base_info)
- clear_has_base_info();
- ::message::Base_info* temp = base_info_;
- base_info_ = NULL;
- return temp;
- }
- inline ::message::Base_info* Process_manual_operation_msg::mutable_base_info() {
- set_has_base_info();
- if (base_info_ == NULL) {
- auto* p = CreateMaybeMessage<::message::Base_info>(GetArenaNoVirtual());
- base_info_ = p;
- }
- // @@protoc_insertion_point(field_mutable:message.Process_manual_operation_msg.base_info)
- return base_info_;
- }
- inline void Process_manual_operation_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.Process_manual_operation_msg.base_info)
- }
- // required string license = 2;
- inline bool Process_manual_operation_msg::has_license() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void Process_manual_operation_msg::set_has_license() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void Process_manual_operation_msg::clear_has_license() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void Process_manual_operation_msg::clear_license() {
- license_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- clear_has_license();
- }
- inline const ::std::string& Process_manual_operation_msg::license() const {
- // @@protoc_insertion_point(field_get:message.Process_manual_operation_msg.license)
- return license_.GetNoArena();
- }
- inline void Process_manual_operation_msg::set_license(const ::std::string& value) {
- set_has_license();
- license_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:message.Process_manual_operation_msg.license)
- }
- #if LANG_CXX11
- inline void Process_manual_operation_msg::set_license(::std::string&& value) {
- set_has_license();
- license_.SetNoArena(
- &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
- // @@protoc_insertion_point(field_set_rvalue:message.Process_manual_operation_msg.license)
- }
- #endif
- inline void Process_manual_operation_msg::set_license(const char* value) {
- GOOGLE_DCHECK(value != NULL);
- set_has_license();
- license_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@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) {
- set_has_license();
- license_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:message.Process_manual_operation_msg.license)
- }
- inline ::std::string* Process_manual_operation_msg::mutable_license() {
- set_has_license();
- // @@protoc_insertion_point(field_mutable:message.Process_manual_operation_msg.license)
- return license_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline ::std::string* Process_manual_operation_msg::release_license() {
- // @@protoc_insertion_point(field_release:message.Process_manual_operation_msg.license)
- if (!has_license()) {
- return NULL;
- }
- clear_has_license();
- return license_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline void Process_manual_operation_msg::set_allocated_license(::std::string* license) {
- if (license != NULL) {
- set_has_license();
- } else {
- clear_has_license();
- }
- license_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), license);
- // @@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::has_step_type() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
- }
- inline void Process_manual_operation_msg::set_has_step_type() {
- _has_bits_[0] |= 0x00000004u;
- }
- inline void Process_manual_operation_msg::clear_has_step_type() {
- _has_bits_[0] &= ~0x00000004u;
- }
- inline void Process_manual_operation_msg::clear_step_type() {
- step_type_ = 0;
- clear_has_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 static_cast< ::message::Step_type >(step_type_);
- }
- inline void Process_manual_operation_msg::set_step_type(::message::Step_type value) {
- assert(::message::Step_type_IsValid(value));
- set_has_step_type();
- 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::has_operate_type() const {
- return (_has_bits_[0] & 0x00000008u) != 0;
- }
- inline void Process_manual_operation_msg::set_has_operate_type() {
- _has_bits_[0] |= 0x00000008u;
- }
- inline void Process_manual_operation_msg::clear_has_operate_type() {
- _has_bits_[0] &= ~0x00000008u;
- }
- inline void Process_manual_operation_msg::clear_operate_type() {
- operate_type_ = 0;
- clear_has_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 static_cast< ::message::Process_operation_type >(operate_type_);
- }
- inline void Process_manual_operation_msg::set_operate_type(::message::Process_operation_type value) {
- assert(::message::Process_operation_type_IsValid(value));
- set_has_operate_type();
- 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
- namespace google {
- namespace protobuf {
- 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();
- }
- } // namespace protobuf
- } // namespace google
- // @@protoc_insertion_point(global_scope)
- #endif // PROTOBUF_INCLUDED_central_5fcontrol_5fmessage_2eproto
|