123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: hardware_message.proto
- #ifndef PROTOBUF_hardware_5fmessage_2eproto__INCLUDED
- #define PROTOBUF_hardware_5fmessage_2eproto__INCLUDED
- #include <string>
- #include <google/protobuf/stubs/common.h>
- #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 <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/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)
- namespace protobuf_hardware_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[5];
- 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 InitDefaultsPositionImpl();
- void InitDefaultsPosition();
- void InitDefaultsCarrier_statusImpl();
- void InitDefaultsCarrier_status();
- void InitDefaultsHarware_statu_msgImpl();
- void InitDefaultsHarware_statu_msg();
- void InitDefaultsExecute_request_msgImpl();
- void InitDefaultsExecute_request_msg();
- void InitDefaultsExecute_response_msgImpl();
- void InitDefaultsExecute_response_msg();
- inline void InitDefaults() {
- InitDefaultsPosition();
- InitDefaultsCarrier_status();
- InitDefaultsHarware_statu_msg();
- InitDefaultsExecute_request_msg();
- InitDefaultsExecute_response_msg();
- }
- } // namespace protobuf_hardware_5fmessage_2eproto
- namespace message {
- class Carrier_status;
- class Carrier_statusDefaultTypeInternal;
- extern Carrier_statusDefaultTypeInternal _Carrier_status_default_instance_;
- class Execute_request_msg;
- class Execute_request_msgDefaultTypeInternal;
- extern Execute_request_msgDefaultTypeInternal _Execute_request_msg_default_instance_;
- class Execute_response_msg;
- class Execute_response_msgDefaultTypeInternal;
- extern Execute_response_msgDefaultTypeInternal _Execute_response_msg_default_instance_;
- class Harware_statu_msg;
- class Harware_statu_msgDefaultTypeInternal;
- extern Harware_statu_msgDefaultTypeInternal _Harware_statu_msg_default_instance_;
- class Position;
- class PositionDefaultTypeInternal;
- extern PositionDefaultTypeInternal _Position_default_instance_;
- } // namespace message
- namespace message {
- enum Hardware_statu {
- eNormal = 0,
- eBusy = 1,
- eMiss = 2,
- eError = 3
- };
- bool Hardware_statu_IsValid(int value);
- const Hardware_statu Hardware_statu_MIN = eNormal;
- const Hardware_statu Hardware_statu_MAX = eError;
- const int Hardware_statu_ARRAYSIZE = Hardware_statu_MAX + 1;
- const ::google::protobuf::EnumDescriptor* Hardware_statu_descriptor();
- inline const ::std::string& Hardware_statu_Name(Hardware_statu value) {
- return ::google::protobuf::internal::NameOfEnum(
- Hardware_statu_descriptor(), value);
- }
- inline bool Hardware_statu_Parse(
- const ::std::string& name, Hardware_statu* value) {
- return ::google::protobuf::internal::ParseNamedEnum<Hardware_statu>(
- Hardware_statu_descriptor(), name, value);
- }
- enum Action_type {
- ePark = 0,
- ePick = 1
- };
- bool Action_type_IsValid(int value);
- const Action_type Action_type_MIN = ePark;
- const Action_type Action_type_MAX = ePick;
- const int Action_type_ARRAYSIZE = Action_type_MAX + 1;
- const ::google::protobuf::EnumDescriptor* Action_type_descriptor();
- inline const ::std::string& Action_type_Name(Action_type value) {
- return ::google::protobuf::internal::NameOfEnum(
- Action_type_descriptor(), value);
- }
- inline bool Action_type_Parse(
- const ::std::string& name, Action_type* value) {
- return ::google::protobuf::internal::ParseNamedEnum<Action_type>(
- Action_type_descriptor(), name, value);
- }
- // ===================================================================
- class Position : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Position) */ {
- public:
- Position();
- virtual ~Position();
- Position(const Position& from);
- inline Position& operator=(const Position& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- Position(Position&& from) noexcept
- : Position() {
- *this = ::std::move(from);
- }
- inline Position& operator=(Position&& 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 Position& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const Position* internal_default_instance() {
- return reinterpret_cast<const Position*>(
- &_Position_default_instance_);
- }
- static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
- 0;
- void Swap(Position* other);
- friend void swap(Position& a, Position& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline Position* New() const PROTOBUF_FINAL { return New(NULL); }
- Position* 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 Position& from);
- void MergeFrom(const Position& 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(Position* 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 -------------------------------------------------------
- // required float x = 1;
- bool has_x() const;
- void clear_x();
- static const int kXFieldNumber = 1;
- float x() const;
- void set_x(float value);
- // required float y = 2;
- bool has_y() const;
- void clear_y();
- static const int kYFieldNumber = 2;
- float y() const;
- void set_y(float value);
- // required float z = 3;
- bool has_z() const;
- void clear_z();
- static const int kZFieldNumber = 3;
- float z() const;
- void set_z(float value);
- // @@protoc_insertion_point(class_scope:message.Position)
- private:
- void set_has_x();
- void clear_has_x();
- void set_has_y();
- void clear_has_y();
- void set_has_z();
- void clear_has_z();
- // helper for ByteSizeLong()
- size_t RequiredFieldsByteSizeFallback() const;
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::internal::HasBits<1> _has_bits_;
- mutable int _cached_size_;
- float x_;
- float y_;
- float z_;
- friend struct ::protobuf_hardware_5fmessage_2eproto::TableStruct;
- friend void ::protobuf_hardware_5fmessage_2eproto::InitDefaultsPositionImpl();
- };
- // -------------------------------------------------------------------
- class Carrier_status : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Carrier_status) */ {
- public:
- Carrier_status();
- virtual ~Carrier_status();
- Carrier_status(const Carrier_status& from);
- inline Carrier_status& operator=(const Carrier_status& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- Carrier_status(Carrier_status&& from) noexcept
- : Carrier_status() {
- *this = ::std::move(from);
- }
- inline Carrier_status& operator=(Carrier_status&& 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 Carrier_status& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const Carrier_status* internal_default_instance() {
- return reinterpret_cast<const Carrier_status*>(
- &_Carrier_status_default_instance_);
- }
- static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
- 1;
- void Swap(Carrier_status* other);
- friend void swap(Carrier_status& a, Carrier_status& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline Carrier_status* New() const PROTOBUF_FINAL { return New(NULL); }
- Carrier_status* 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 Carrier_status& from);
- void MergeFrom(const Carrier_status& 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(Carrier_status* 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 -------------------------------------------------------
- // optional string error_description = 3;
- bool has_error_description() const;
- void clear_error_description();
- static const int kErrorDescriptionFieldNumber = 3;
- const ::std::string& error_description() const;
- void set_error_description(const ::std::string& value);
- #if LANG_CXX11
- void set_error_description(::std::string&& value);
- #endif
- void set_error_description(const char* value);
- void set_error_description(const char* value, size_t size);
- ::std::string* mutable_error_description();
- ::std::string* release_error_description();
- void set_allocated_error_description(::std::string* error_description);
- // required .message.Position position = 4;
- bool has_position() const;
- void clear_position();
- static const int kPositionFieldNumber = 4;
- const ::message::Position& position() const;
- ::message::Position* release_position();
- ::message::Position* mutable_position();
- void set_allocated_position(::message::Position* position);
- // required .message.Hardware_statu statu = 1;
- bool has_statu() const;
- void clear_statu();
- static const int kStatuFieldNumber = 1;
- ::message::Hardware_statu statu() const;
- void set_statu(::message::Hardware_statu value);
- // optional int32 command_id = 2;
- bool has_command_id() const;
- void clear_command_id();
- static const int kCommandIdFieldNumber = 2;
- ::google::protobuf::int32 command_id() const;
- void set_command_id(::google::protobuf::int32 value);
- // required bool empty = 5;
- bool has_empty() const;
- void clear_empty();
- static const int kEmptyFieldNumber = 5;
- bool empty() const;
- void set_empty(bool value);
- // @@protoc_insertion_point(class_scope:message.Carrier_status)
- private:
- void set_has_statu();
- void clear_has_statu();
- void set_has_command_id();
- void clear_has_command_id();
- void set_has_error_description();
- void clear_has_error_description();
- void set_has_position();
- void clear_has_position();
- void set_has_empty();
- void clear_has_empty();
- // 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::internal::ArenaStringPtr error_description_;
- ::message::Position* position_;
- int statu_;
- ::google::protobuf::int32 command_id_;
- bool empty_;
- friend struct ::protobuf_hardware_5fmessage_2eproto::TableStruct;
- friend void ::protobuf_hardware_5fmessage_2eproto::InitDefaultsCarrier_statusImpl();
- };
- // -------------------------------------------------------------------
- class Harware_statu_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Harware_statu_msg) */ {
- public:
- Harware_statu_msg();
- virtual ~Harware_statu_msg();
- Harware_statu_msg(const Harware_statu_msg& from);
- inline Harware_statu_msg& operator=(const Harware_statu_msg& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- Harware_statu_msg(Harware_statu_msg&& from) noexcept
- : Harware_statu_msg() {
- *this = ::std::move(from);
- }
- inline Harware_statu_msg& operator=(Harware_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 Harware_statu_msg& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const Harware_statu_msg* internal_default_instance() {
- return reinterpret_cast<const Harware_statu_msg*>(
- &_Harware_statu_msg_default_instance_);
- }
- static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
- 2;
- void Swap(Harware_statu_msg* other);
- friend void swap(Harware_statu_msg& a, Harware_statu_msg& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline Harware_statu_msg* New() const PROTOBUF_FINAL { return New(NULL); }
- Harware_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 Harware_statu_msg& from);
- void MergeFrom(const Harware_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(Harware_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 -------------------------------------------------------
- // required .message.Carrier_status carrier1_statu = 2;
- bool has_carrier1_statu() const;
- void clear_carrier1_statu();
- static const int kCarrier1StatuFieldNumber = 2;
- const ::message::Carrier_status& carrier1_statu() const;
- ::message::Carrier_status* release_carrier1_statu();
- ::message::Carrier_status* mutable_carrier1_statu();
- void set_allocated_carrier1_statu(::message::Carrier_status* carrier1_statu);
- // required .message.Carrier_status carrier2_statu = 3;
- bool has_carrier2_statu() const;
- void clear_carrier2_statu();
- static const int kCarrier2StatuFieldNumber = 3;
- const ::message::Carrier_status& carrier2_statu() const;
- ::message::Carrier_status* release_carrier2_statu();
- ::message::Carrier_status* mutable_carrier2_statu();
- void set_allocated_carrier2_statu(::message::Carrier_status* carrier2_statu);
- // required .message.Carrier_status carrier3_statu = 4;
- bool has_carrier3_statu() const;
- void clear_carrier3_statu();
- static const int kCarrier3StatuFieldNumber = 4;
- const ::message::Carrier_status& carrier3_statu() const;
- ::message::Carrier_status* release_carrier3_statu();
- ::message::Carrier_status* mutable_carrier3_statu();
- void set_allocated_carrier3_statu(::message::Carrier_status* carrier3_statu);
- // required .message.Message_type msg_type = 1;
- bool has_msg_type() const;
- void clear_msg_type();
- static const int kMsgTypeFieldNumber = 1;
- ::message::Message_type msg_type() const;
- void set_msg_type(::message::Message_type value);
- // @@protoc_insertion_point(class_scope:message.Harware_statu_msg)
- private:
- void set_has_msg_type();
- void clear_has_msg_type();
- void set_has_carrier1_statu();
- void clear_has_carrier1_statu();
- void set_has_carrier2_statu();
- void clear_has_carrier2_statu();
- void set_has_carrier3_statu();
- void clear_has_carrier3_statu();
- // helper for ByteSizeLong()
- size_t RequiredFieldsByteSizeFallback() const;
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::internal::HasBits<1> _has_bits_;
- mutable int _cached_size_;
- ::message::Carrier_status* carrier1_statu_;
- ::message::Carrier_status* carrier2_statu_;
- ::message::Carrier_status* carrier3_statu_;
- int msg_type_;
- friend struct ::protobuf_hardware_5fmessage_2eproto::TableStruct;
- friend void ::protobuf_hardware_5fmessage_2eproto::InitDefaultsHarware_statu_msgImpl();
- };
- // -------------------------------------------------------------------
- class Execute_request_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Execute_request_msg) */ {
- public:
- Execute_request_msg();
- virtual ~Execute_request_msg();
- Execute_request_msg(const Execute_request_msg& from);
- inline Execute_request_msg& operator=(const Execute_request_msg& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- Execute_request_msg(Execute_request_msg&& from) noexcept
- : Execute_request_msg() {
- *this = ::std::move(from);
- }
- inline Execute_request_msg& operator=(Execute_request_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 Execute_request_msg& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const Execute_request_msg* internal_default_instance() {
- return reinterpret_cast<const Execute_request_msg*>(
- &_Execute_request_msg_default_instance_);
- }
- static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
- 3;
- void Swap(Execute_request_msg* other);
- friend void swap(Execute_request_msg& a, Execute_request_msg& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline Execute_request_msg* New() const PROTOBUF_FINAL { return New(NULL); }
- Execute_request_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 Execute_request_msg& from);
- void MergeFrom(const Execute_request_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(Execute_request_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 -------------------------------------------------------
- // required .message.Base_info msg_info = 1;
- bool has_msg_info() const;
- void clear_msg_info();
- static const int kMsgInfoFieldNumber = 1;
- const ::message::Base_info& msg_info() const;
- ::message::Base_info* release_msg_info();
- ::message::Base_info* mutable_msg_info();
- void set_allocated_msg_info(::message::Base_info* msg_info);
- // required .message.Locate_information locate_information = 6;
- bool has_locate_information() const;
- void clear_locate_information();
- static const int kLocateInformationFieldNumber = 6;
- const ::message::Locate_information& locate_information() const;
- ::message::Locate_information* release_locate_information();
- ::message::Locate_information* mutable_locate_information();
- void set_allocated_locate_information(::message::Locate_information* locate_information);
- // required int32 command_id = 2;
- bool has_command_id() const;
- void clear_command_id();
- static const int kCommandIdFieldNumber = 2;
- ::google::protobuf::int32 command_id() const;
- void set_command_id(::google::protobuf::int32 value);
- // required .message.Action_type action_type = 3;
- bool has_action_type() const;
- void clear_action_type();
- static const int kActionTypeFieldNumber = 3;
- ::message::Action_type action_type() const;
- void set_action_type(::message::Action_type value);
- // required int32 from_id = 4;
- bool has_from_id() const;
- void clear_from_id();
- static const int kFromIdFieldNumber = 4;
- ::google::protobuf::int32 from_id() const;
- void set_from_id(::google::protobuf::int32 value);
- // required int32 destination = 5;
- bool has_destination() const;
- void clear_destination();
- static const int kDestinationFieldNumber = 5;
- ::google::protobuf::int32 destination() const;
- void set_destination(::google::protobuf::int32 value);
- // @@protoc_insertion_point(class_scope:message.Execute_request_msg)
- private:
- void set_has_msg_info();
- void clear_has_msg_info();
- void set_has_command_id();
- void clear_has_command_id();
- void set_has_action_type();
- void clear_has_action_type();
- void set_has_from_id();
- void clear_has_from_id();
- void set_has_destination();
- void clear_has_destination();
- void set_has_locate_information();
- void clear_has_locate_information();
- // helper for ByteSizeLong()
- size_t RequiredFieldsByteSizeFallback() const;
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::internal::HasBits<1> _has_bits_;
- mutable int _cached_size_;
- ::message::Base_info* msg_info_;
- ::message::Locate_information* locate_information_;
- ::google::protobuf::int32 command_id_;
- int action_type_;
- ::google::protobuf::int32 from_id_;
- ::google::protobuf::int32 destination_;
- friend struct ::protobuf_hardware_5fmessage_2eproto::TableStruct;
- friend void ::protobuf_hardware_5fmessage_2eproto::InitDefaultsExecute_request_msgImpl();
- };
- // -------------------------------------------------------------------
- class Execute_response_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Execute_response_msg) */ {
- public:
- Execute_response_msg();
- virtual ~Execute_response_msg();
- Execute_response_msg(const Execute_response_msg& from);
- inline Execute_response_msg& operator=(const Execute_response_msg& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- Execute_response_msg(Execute_response_msg&& from) noexcept
- : Execute_response_msg() {
- *this = ::std::move(from);
- }
- inline Execute_response_msg& operator=(Execute_response_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 Execute_response_msg& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const Execute_response_msg* internal_default_instance() {
- return reinterpret_cast<const Execute_response_msg*>(
- &_Execute_response_msg_default_instance_);
- }
- static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
- 4;
- void Swap(Execute_response_msg* other);
- friend void swap(Execute_response_msg& a, Execute_response_msg& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline Execute_response_msg* New() const PROTOBUF_FINAL { return New(NULL); }
- Execute_response_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 Execute_response_msg& from);
- void MergeFrom(const Execute_response_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(Execute_response_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 -------------------------------------------------------
- // optional string error_description = 4;
- bool has_error_description() const;
- void clear_error_description();
- static const int kErrorDescriptionFieldNumber = 4;
- const ::std::string& error_description() const;
- void set_error_description(const ::std::string& value);
- #if LANG_CXX11
- void set_error_description(::std::string&& value);
- #endif
- void set_error_description(const char* value);
- void set_error_description(const char* value, size_t size);
- ::std::string* mutable_error_description();
- ::std::string* release_error_description();
- void set_allocated_error_description(::std::string* error_description);
- // required .message.Base_info msg_info = 1;
- bool has_msg_info() const;
- void clear_msg_info();
- static const int kMsgInfoFieldNumber = 1;
- const ::message::Base_info& msg_info() const;
- ::message::Base_info* release_msg_info();
- ::message::Base_info* mutable_msg_info();
- void set_allocated_msg_info(::message::Base_info* msg_info);
- // required int32 command_id = 2;
- bool has_command_id() const;
- void clear_command_id();
- static const int kCommandIdFieldNumber = 2;
- ::google::protobuf::int32 command_id() const;
- void set_command_id(::google::protobuf::int32 value);
- // required int32 error_code = 3;
- bool has_error_code() const;
- void clear_error_code();
- static const int kErrorCodeFieldNumber = 3;
- ::google::protobuf::int32 error_code() const;
- void set_error_code(::google::protobuf::int32 value);
- // @@protoc_insertion_point(class_scope:message.Execute_response_msg)
- private:
- void set_has_msg_info();
- void clear_has_msg_info();
- void set_has_command_id();
- void clear_has_command_id();
- void set_has_error_code();
- void clear_has_error_code();
- void set_has_error_description();
- void clear_has_error_description();
- // 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::internal::ArenaStringPtr error_description_;
- ::message::Base_info* msg_info_;
- ::google::protobuf::int32 command_id_;
- ::google::protobuf::int32 error_code_;
- friend struct ::protobuf_hardware_5fmessage_2eproto::TableStruct;
- friend void ::protobuf_hardware_5fmessage_2eproto::InitDefaultsExecute_response_msgImpl();
- };
- // ===================================================================
- // ===================================================================
- #ifdef __GNUC__
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wstrict-aliasing"
- #endif // __GNUC__
- // Position
- // required float x = 1;
- inline bool Position::has_x() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void Position::set_has_x() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void Position::clear_has_x() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void Position::clear_x() {
- x_ = 0;
- clear_has_x();
- }
- inline float Position::x() const {
- // @@protoc_insertion_point(field_get:message.Position.x)
- return x_;
- }
- inline void Position::set_x(float value) {
- set_has_x();
- x_ = value;
- // @@protoc_insertion_point(field_set:message.Position.x)
- }
- // required float y = 2;
- inline bool Position::has_y() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void Position::set_has_y() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void Position::clear_has_y() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline void Position::clear_y() {
- y_ = 0;
- clear_has_y();
- }
- inline float Position::y() const {
- // @@protoc_insertion_point(field_get:message.Position.y)
- return y_;
- }
- inline void Position::set_y(float value) {
- set_has_y();
- y_ = value;
- // @@protoc_insertion_point(field_set:message.Position.y)
- }
- // required float z = 3;
- inline bool Position::has_z() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
- }
- inline void Position::set_has_z() {
- _has_bits_[0] |= 0x00000004u;
- }
- inline void Position::clear_has_z() {
- _has_bits_[0] &= ~0x00000004u;
- }
- inline void Position::clear_z() {
- z_ = 0;
- clear_has_z();
- }
- inline float Position::z() const {
- // @@protoc_insertion_point(field_get:message.Position.z)
- return z_;
- }
- inline void Position::set_z(float value) {
- set_has_z();
- z_ = value;
- // @@protoc_insertion_point(field_set:message.Position.z)
- }
- // -------------------------------------------------------------------
- // Carrier_status
- // required .message.Hardware_statu statu = 1;
- inline bool Carrier_status::has_statu() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
- }
- inline void Carrier_status::set_has_statu() {
- _has_bits_[0] |= 0x00000004u;
- }
- inline void Carrier_status::clear_has_statu() {
- _has_bits_[0] &= ~0x00000004u;
- }
- inline void Carrier_status::clear_statu() {
- statu_ = 0;
- clear_has_statu();
- }
- inline ::message::Hardware_statu Carrier_status::statu() const {
- // @@protoc_insertion_point(field_get:message.Carrier_status.statu)
- return static_cast< ::message::Hardware_statu >(statu_);
- }
- inline void Carrier_status::set_statu(::message::Hardware_statu value) {
- assert(::message::Hardware_statu_IsValid(value));
- set_has_statu();
- statu_ = value;
- // @@protoc_insertion_point(field_set:message.Carrier_status.statu)
- }
- // optional int32 command_id = 2;
- inline bool Carrier_status::has_command_id() const {
- return (_has_bits_[0] & 0x00000008u) != 0;
- }
- inline void Carrier_status::set_has_command_id() {
- _has_bits_[0] |= 0x00000008u;
- }
- inline void Carrier_status::clear_has_command_id() {
- _has_bits_[0] &= ~0x00000008u;
- }
- inline void Carrier_status::clear_command_id() {
- command_id_ = 0;
- clear_has_command_id();
- }
- inline ::google::protobuf::int32 Carrier_status::command_id() const {
- // @@protoc_insertion_point(field_get:message.Carrier_status.command_id)
- return command_id_;
- }
- inline void Carrier_status::set_command_id(::google::protobuf::int32 value) {
- set_has_command_id();
- command_id_ = value;
- // @@protoc_insertion_point(field_set:message.Carrier_status.command_id)
- }
- // optional string error_description = 3;
- inline bool Carrier_status::has_error_description() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void Carrier_status::set_has_error_description() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void Carrier_status::clear_has_error_description() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void Carrier_status::clear_error_description() {
- error_description_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- clear_has_error_description();
- }
- inline const ::std::string& Carrier_status::error_description() const {
- // @@protoc_insertion_point(field_get:message.Carrier_status.error_description)
- return error_description_.GetNoArena();
- }
- inline void Carrier_status::set_error_description(const ::std::string& value) {
- set_has_error_description();
- error_description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:message.Carrier_status.error_description)
- }
- #if LANG_CXX11
- inline void Carrier_status::set_error_description(::std::string&& value) {
- set_has_error_description();
- error_description_.SetNoArena(
- &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
- // @@protoc_insertion_point(field_set_rvalue:message.Carrier_status.error_description)
- }
- #endif
- inline void Carrier_status::set_error_description(const char* value) {
- GOOGLE_DCHECK(value != NULL);
- set_has_error_description();
- error_description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:message.Carrier_status.error_description)
- }
- inline void Carrier_status::set_error_description(const char* value, size_t size) {
- set_has_error_description();
- error_description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:message.Carrier_status.error_description)
- }
- inline ::std::string* Carrier_status::mutable_error_description() {
- set_has_error_description();
- // @@protoc_insertion_point(field_mutable:message.Carrier_status.error_description)
- return error_description_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline ::std::string* Carrier_status::release_error_description() {
- // @@protoc_insertion_point(field_release:message.Carrier_status.error_description)
- clear_has_error_description();
- return error_description_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline void Carrier_status::set_allocated_error_description(::std::string* error_description) {
- if (error_description != NULL) {
- set_has_error_description();
- } else {
- clear_has_error_description();
- }
- error_description_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), error_description);
- // @@protoc_insertion_point(field_set_allocated:message.Carrier_status.error_description)
- }
- // required .message.Position position = 4;
- inline bool Carrier_status::has_position() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void Carrier_status::set_has_position() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void Carrier_status::clear_has_position() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline void Carrier_status::clear_position() {
- if (position_ != NULL) position_->Clear();
- clear_has_position();
- }
- inline const ::message::Position& Carrier_status::position() const {
- const ::message::Position* p = position_;
- // @@protoc_insertion_point(field_get:message.Carrier_status.position)
- return p != NULL ? *p : *reinterpret_cast<const ::message::Position*>(
- &::message::_Position_default_instance_);
- }
- inline ::message::Position* Carrier_status::release_position() {
- // @@protoc_insertion_point(field_release:message.Carrier_status.position)
- clear_has_position();
- ::message::Position* temp = position_;
- position_ = NULL;
- return temp;
- }
- inline ::message::Position* Carrier_status::mutable_position() {
- set_has_position();
- if (position_ == NULL) {
- position_ = new ::message::Position;
- }
- // @@protoc_insertion_point(field_mutable:message.Carrier_status.position)
- return position_;
- }
- inline void Carrier_status::set_allocated_position(::message::Position* position) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete position_;
- }
- if (position) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- position = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, position, submessage_arena);
- }
- set_has_position();
- } else {
- clear_has_position();
- }
- position_ = position;
- // @@protoc_insertion_point(field_set_allocated:message.Carrier_status.position)
- }
- // required bool empty = 5;
- inline bool Carrier_status::has_empty() const {
- return (_has_bits_[0] & 0x00000010u) != 0;
- }
- inline void Carrier_status::set_has_empty() {
- _has_bits_[0] |= 0x00000010u;
- }
- inline void Carrier_status::clear_has_empty() {
- _has_bits_[0] &= ~0x00000010u;
- }
- inline void Carrier_status::clear_empty() {
- empty_ = false;
- clear_has_empty();
- }
- inline bool Carrier_status::empty() const {
- // @@protoc_insertion_point(field_get:message.Carrier_status.empty)
- return empty_;
- }
- inline void Carrier_status::set_empty(bool value) {
- set_has_empty();
- empty_ = value;
- // @@protoc_insertion_point(field_set:message.Carrier_status.empty)
- }
- // -------------------------------------------------------------------
- // Harware_statu_msg
- // required .message.Message_type msg_type = 1;
- inline bool Harware_statu_msg::has_msg_type() const {
- return (_has_bits_[0] & 0x00000008u) != 0;
- }
- inline void Harware_statu_msg::set_has_msg_type() {
- _has_bits_[0] |= 0x00000008u;
- }
- inline void Harware_statu_msg::clear_has_msg_type() {
- _has_bits_[0] &= ~0x00000008u;
- }
- inline void Harware_statu_msg::clear_msg_type() {
- msg_type_ = 0;
- clear_has_msg_type();
- }
- inline ::message::Message_type Harware_statu_msg::msg_type() const {
- // @@protoc_insertion_point(field_get:message.Harware_statu_msg.msg_type)
- return static_cast< ::message::Message_type >(msg_type_);
- }
- inline void Harware_statu_msg::set_msg_type(::message::Message_type value) {
- assert(::message::Message_type_IsValid(value));
- set_has_msg_type();
- msg_type_ = value;
- // @@protoc_insertion_point(field_set:message.Harware_statu_msg.msg_type)
- }
- // required .message.Carrier_status carrier1_statu = 2;
- inline bool Harware_statu_msg::has_carrier1_statu() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void Harware_statu_msg::set_has_carrier1_statu() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void Harware_statu_msg::clear_has_carrier1_statu() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void Harware_statu_msg::clear_carrier1_statu() {
- if (carrier1_statu_ != NULL) carrier1_statu_->Clear();
- clear_has_carrier1_statu();
- }
- inline const ::message::Carrier_status& Harware_statu_msg::carrier1_statu() const {
- const ::message::Carrier_status* p = carrier1_statu_;
- // @@protoc_insertion_point(field_get:message.Harware_statu_msg.carrier1_statu)
- return p != NULL ? *p : *reinterpret_cast<const ::message::Carrier_status*>(
- &::message::_Carrier_status_default_instance_);
- }
- inline ::message::Carrier_status* Harware_statu_msg::release_carrier1_statu() {
- // @@protoc_insertion_point(field_release:message.Harware_statu_msg.carrier1_statu)
- clear_has_carrier1_statu();
- ::message::Carrier_status* temp = carrier1_statu_;
- carrier1_statu_ = NULL;
- return temp;
- }
- inline ::message::Carrier_status* Harware_statu_msg::mutable_carrier1_statu() {
- set_has_carrier1_statu();
- if (carrier1_statu_ == NULL) {
- carrier1_statu_ = new ::message::Carrier_status;
- }
- // @@protoc_insertion_point(field_mutable:message.Harware_statu_msg.carrier1_statu)
- return carrier1_statu_;
- }
- inline void Harware_statu_msg::set_allocated_carrier1_statu(::message::Carrier_status* carrier1_statu) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete carrier1_statu_;
- }
- if (carrier1_statu) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- carrier1_statu = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, carrier1_statu, submessage_arena);
- }
- set_has_carrier1_statu();
- } else {
- clear_has_carrier1_statu();
- }
- carrier1_statu_ = carrier1_statu;
- // @@protoc_insertion_point(field_set_allocated:message.Harware_statu_msg.carrier1_statu)
- }
- // required .message.Carrier_status carrier2_statu = 3;
- inline bool Harware_statu_msg::has_carrier2_statu() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void Harware_statu_msg::set_has_carrier2_statu() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void Harware_statu_msg::clear_has_carrier2_statu() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline void Harware_statu_msg::clear_carrier2_statu() {
- if (carrier2_statu_ != NULL) carrier2_statu_->Clear();
- clear_has_carrier2_statu();
- }
- inline const ::message::Carrier_status& Harware_statu_msg::carrier2_statu() const {
- const ::message::Carrier_status* p = carrier2_statu_;
- // @@protoc_insertion_point(field_get:message.Harware_statu_msg.carrier2_statu)
- return p != NULL ? *p : *reinterpret_cast<const ::message::Carrier_status*>(
- &::message::_Carrier_status_default_instance_);
- }
- inline ::message::Carrier_status* Harware_statu_msg::release_carrier2_statu() {
- // @@protoc_insertion_point(field_release:message.Harware_statu_msg.carrier2_statu)
- clear_has_carrier2_statu();
- ::message::Carrier_status* temp = carrier2_statu_;
- carrier2_statu_ = NULL;
- return temp;
- }
- inline ::message::Carrier_status* Harware_statu_msg::mutable_carrier2_statu() {
- set_has_carrier2_statu();
- if (carrier2_statu_ == NULL) {
- carrier2_statu_ = new ::message::Carrier_status;
- }
- // @@protoc_insertion_point(field_mutable:message.Harware_statu_msg.carrier2_statu)
- return carrier2_statu_;
- }
- inline void Harware_statu_msg::set_allocated_carrier2_statu(::message::Carrier_status* carrier2_statu) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete carrier2_statu_;
- }
- if (carrier2_statu) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- carrier2_statu = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, carrier2_statu, submessage_arena);
- }
- set_has_carrier2_statu();
- } else {
- clear_has_carrier2_statu();
- }
- carrier2_statu_ = carrier2_statu;
- // @@protoc_insertion_point(field_set_allocated:message.Harware_statu_msg.carrier2_statu)
- }
- // required .message.Carrier_status carrier3_statu = 4;
- inline bool Harware_statu_msg::has_carrier3_statu() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
- }
- inline void Harware_statu_msg::set_has_carrier3_statu() {
- _has_bits_[0] |= 0x00000004u;
- }
- inline void Harware_statu_msg::clear_has_carrier3_statu() {
- _has_bits_[0] &= ~0x00000004u;
- }
- inline void Harware_statu_msg::clear_carrier3_statu() {
- if (carrier3_statu_ != NULL) carrier3_statu_->Clear();
- clear_has_carrier3_statu();
- }
- inline const ::message::Carrier_status& Harware_statu_msg::carrier3_statu() const {
- const ::message::Carrier_status* p = carrier3_statu_;
- // @@protoc_insertion_point(field_get:message.Harware_statu_msg.carrier3_statu)
- return p != NULL ? *p : *reinterpret_cast<const ::message::Carrier_status*>(
- &::message::_Carrier_status_default_instance_);
- }
- inline ::message::Carrier_status* Harware_statu_msg::release_carrier3_statu() {
- // @@protoc_insertion_point(field_release:message.Harware_statu_msg.carrier3_statu)
- clear_has_carrier3_statu();
- ::message::Carrier_status* temp = carrier3_statu_;
- carrier3_statu_ = NULL;
- return temp;
- }
- inline ::message::Carrier_status* Harware_statu_msg::mutable_carrier3_statu() {
- set_has_carrier3_statu();
- if (carrier3_statu_ == NULL) {
- carrier3_statu_ = new ::message::Carrier_status;
- }
- // @@protoc_insertion_point(field_mutable:message.Harware_statu_msg.carrier3_statu)
- return carrier3_statu_;
- }
- inline void Harware_statu_msg::set_allocated_carrier3_statu(::message::Carrier_status* carrier3_statu) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete carrier3_statu_;
- }
- if (carrier3_statu) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- carrier3_statu = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, carrier3_statu, submessage_arena);
- }
- set_has_carrier3_statu();
- } else {
- clear_has_carrier3_statu();
- }
- carrier3_statu_ = carrier3_statu;
- // @@protoc_insertion_point(field_set_allocated:message.Harware_statu_msg.carrier3_statu)
- }
- // -------------------------------------------------------------------
- // Execute_request_msg
- // required .message.Base_info msg_info = 1;
- inline bool Execute_request_msg::has_msg_info() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void Execute_request_msg::set_has_msg_info() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void Execute_request_msg::clear_has_msg_info() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline const ::message::Base_info& Execute_request_msg::msg_info() const {
- const ::message::Base_info* p = msg_info_;
- // @@protoc_insertion_point(field_get:message.Execute_request_msg.msg_info)
- return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
- &::message::_Base_info_default_instance_);
- }
- inline ::message::Base_info* Execute_request_msg::release_msg_info() {
- // @@protoc_insertion_point(field_release:message.Execute_request_msg.msg_info)
- clear_has_msg_info();
- ::message::Base_info* temp = msg_info_;
- msg_info_ = NULL;
- return temp;
- }
- inline ::message::Base_info* Execute_request_msg::mutable_msg_info() {
- set_has_msg_info();
- if (msg_info_ == NULL) {
- msg_info_ = new ::message::Base_info;
- }
- // @@protoc_insertion_point(field_mutable:message.Execute_request_msg.msg_info)
- return msg_info_;
- }
- inline void Execute_request_msg::set_allocated_msg_info(::message::Base_info* msg_info) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete reinterpret_cast< ::google::protobuf::MessageLite*>(msg_info_);
- }
- if (msg_info) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- msg_info = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, msg_info, submessage_arena);
- }
- set_has_msg_info();
- } else {
- clear_has_msg_info();
- }
- msg_info_ = msg_info;
- // @@protoc_insertion_point(field_set_allocated:message.Execute_request_msg.msg_info)
- }
- // required int32 command_id = 2;
- inline bool Execute_request_msg::has_command_id() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
- }
- inline void Execute_request_msg::set_has_command_id() {
- _has_bits_[0] |= 0x00000004u;
- }
- inline void Execute_request_msg::clear_has_command_id() {
- _has_bits_[0] &= ~0x00000004u;
- }
- inline void Execute_request_msg::clear_command_id() {
- command_id_ = 0;
- clear_has_command_id();
- }
- inline ::google::protobuf::int32 Execute_request_msg::command_id() const {
- // @@protoc_insertion_point(field_get:message.Execute_request_msg.command_id)
- return command_id_;
- }
- inline void Execute_request_msg::set_command_id(::google::protobuf::int32 value) {
- set_has_command_id();
- command_id_ = value;
- // @@protoc_insertion_point(field_set:message.Execute_request_msg.command_id)
- }
- // required .message.Action_type action_type = 3;
- inline bool Execute_request_msg::has_action_type() const {
- return (_has_bits_[0] & 0x00000008u) != 0;
- }
- inline void Execute_request_msg::set_has_action_type() {
- _has_bits_[0] |= 0x00000008u;
- }
- inline void Execute_request_msg::clear_has_action_type() {
- _has_bits_[0] &= ~0x00000008u;
- }
- inline void Execute_request_msg::clear_action_type() {
- action_type_ = 0;
- clear_has_action_type();
- }
- inline ::message::Action_type Execute_request_msg::action_type() const {
- // @@protoc_insertion_point(field_get:message.Execute_request_msg.action_type)
- return static_cast< ::message::Action_type >(action_type_);
- }
- inline void Execute_request_msg::set_action_type(::message::Action_type value) {
- assert(::message::Action_type_IsValid(value));
- set_has_action_type();
- action_type_ = value;
- // @@protoc_insertion_point(field_set:message.Execute_request_msg.action_type)
- }
- // required int32 from_id = 4;
- inline bool Execute_request_msg::has_from_id() const {
- return (_has_bits_[0] & 0x00000010u) != 0;
- }
- inline void Execute_request_msg::set_has_from_id() {
- _has_bits_[0] |= 0x00000010u;
- }
- inline void Execute_request_msg::clear_has_from_id() {
- _has_bits_[0] &= ~0x00000010u;
- }
- inline void Execute_request_msg::clear_from_id() {
- from_id_ = 0;
- clear_has_from_id();
- }
- inline ::google::protobuf::int32 Execute_request_msg::from_id() const {
- // @@protoc_insertion_point(field_get:message.Execute_request_msg.from_id)
- return from_id_;
- }
- inline void Execute_request_msg::set_from_id(::google::protobuf::int32 value) {
- set_has_from_id();
- from_id_ = value;
- // @@protoc_insertion_point(field_set:message.Execute_request_msg.from_id)
- }
- // required int32 destination = 5;
- inline bool Execute_request_msg::has_destination() const {
- return (_has_bits_[0] & 0x00000020u) != 0;
- }
- inline void Execute_request_msg::set_has_destination() {
- _has_bits_[0] |= 0x00000020u;
- }
- inline void Execute_request_msg::clear_has_destination() {
- _has_bits_[0] &= ~0x00000020u;
- }
- inline void Execute_request_msg::clear_destination() {
- destination_ = 0;
- clear_has_destination();
- }
- inline ::google::protobuf::int32 Execute_request_msg::destination() const {
- // @@protoc_insertion_point(field_get:message.Execute_request_msg.destination)
- return destination_;
- }
- inline void Execute_request_msg::set_destination(::google::protobuf::int32 value) {
- set_has_destination();
- destination_ = value;
- // @@protoc_insertion_point(field_set:message.Execute_request_msg.destination)
- }
- // required .message.Locate_information locate_information = 6;
- inline bool Execute_request_msg::has_locate_information() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void Execute_request_msg::set_has_locate_information() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void Execute_request_msg::clear_has_locate_information() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline const ::message::Locate_information& Execute_request_msg::locate_information() const {
- const ::message::Locate_information* p = locate_information_;
- // @@protoc_insertion_point(field_get:message.Execute_request_msg.locate_information)
- return p != NULL ? *p : *reinterpret_cast<const ::message::Locate_information*>(
- &::message::_Locate_information_default_instance_);
- }
- inline ::message::Locate_information* Execute_request_msg::release_locate_information() {
- // @@protoc_insertion_point(field_release:message.Execute_request_msg.locate_information)
- clear_has_locate_information();
- ::message::Locate_information* temp = locate_information_;
- locate_information_ = NULL;
- return temp;
- }
- inline ::message::Locate_information* Execute_request_msg::mutable_locate_information() {
- set_has_locate_information();
- if (locate_information_ == NULL) {
- locate_information_ = new ::message::Locate_information;
- }
- // @@protoc_insertion_point(field_mutable:message.Execute_request_msg.locate_information)
- return locate_information_;
- }
- inline void Execute_request_msg::set_allocated_locate_information(::message::Locate_information* locate_information) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete reinterpret_cast< ::google::protobuf::MessageLite*>(locate_information_);
- }
- if (locate_information) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- locate_information = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, locate_information, submessage_arena);
- }
- set_has_locate_information();
- } else {
- clear_has_locate_information();
- }
- locate_information_ = locate_information;
- // @@protoc_insertion_point(field_set_allocated:message.Execute_request_msg.locate_information)
- }
- // -------------------------------------------------------------------
- // Execute_response_msg
- // required .message.Base_info msg_info = 1;
- inline bool Execute_response_msg::has_msg_info() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void Execute_response_msg::set_has_msg_info() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void Execute_response_msg::clear_has_msg_info() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline const ::message::Base_info& Execute_response_msg::msg_info() const {
- const ::message::Base_info* p = msg_info_;
- // @@protoc_insertion_point(field_get:message.Execute_response_msg.msg_info)
- return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
- &::message::_Base_info_default_instance_);
- }
- inline ::message::Base_info* Execute_response_msg::release_msg_info() {
- // @@protoc_insertion_point(field_release:message.Execute_response_msg.msg_info)
- clear_has_msg_info();
- ::message::Base_info* temp = msg_info_;
- msg_info_ = NULL;
- return temp;
- }
- inline ::message::Base_info* Execute_response_msg::mutable_msg_info() {
- set_has_msg_info();
- if (msg_info_ == NULL) {
- msg_info_ = new ::message::Base_info;
- }
- // @@protoc_insertion_point(field_mutable:message.Execute_response_msg.msg_info)
- return msg_info_;
- }
- inline void Execute_response_msg::set_allocated_msg_info(::message::Base_info* msg_info) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete reinterpret_cast< ::google::protobuf::MessageLite*>(msg_info_);
- }
- if (msg_info) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- msg_info = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, msg_info, submessage_arena);
- }
- set_has_msg_info();
- } else {
- clear_has_msg_info();
- }
- msg_info_ = msg_info;
- // @@protoc_insertion_point(field_set_allocated:message.Execute_response_msg.msg_info)
- }
- // required int32 command_id = 2;
- inline bool Execute_response_msg::has_command_id() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
- }
- inline void Execute_response_msg::set_has_command_id() {
- _has_bits_[0] |= 0x00000004u;
- }
- inline void Execute_response_msg::clear_has_command_id() {
- _has_bits_[0] &= ~0x00000004u;
- }
- inline void Execute_response_msg::clear_command_id() {
- command_id_ = 0;
- clear_has_command_id();
- }
- inline ::google::protobuf::int32 Execute_response_msg::command_id() const {
- // @@protoc_insertion_point(field_get:message.Execute_response_msg.command_id)
- return command_id_;
- }
- inline void Execute_response_msg::set_command_id(::google::protobuf::int32 value) {
- set_has_command_id();
- command_id_ = value;
- // @@protoc_insertion_point(field_set:message.Execute_response_msg.command_id)
- }
- // required int32 error_code = 3;
- inline bool Execute_response_msg::has_error_code() const {
- return (_has_bits_[0] & 0x00000008u) != 0;
- }
- inline void Execute_response_msg::set_has_error_code() {
- _has_bits_[0] |= 0x00000008u;
- }
- inline void Execute_response_msg::clear_has_error_code() {
- _has_bits_[0] &= ~0x00000008u;
- }
- inline void Execute_response_msg::clear_error_code() {
- error_code_ = 0;
- clear_has_error_code();
- }
- inline ::google::protobuf::int32 Execute_response_msg::error_code() const {
- // @@protoc_insertion_point(field_get:message.Execute_response_msg.error_code)
- return error_code_;
- }
- inline void Execute_response_msg::set_error_code(::google::protobuf::int32 value) {
- set_has_error_code();
- error_code_ = value;
- // @@protoc_insertion_point(field_set:message.Execute_response_msg.error_code)
- }
- // optional string error_description = 4;
- inline bool Execute_response_msg::has_error_description() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void Execute_response_msg::set_has_error_description() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void Execute_response_msg::clear_has_error_description() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void Execute_response_msg::clear_error_description() {
- error_description_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- clear_has_error_description();
- }
- inline const ::std::string& Execute_response_msg::error_description() const {
- // @@protoc_insertion_point(field_get:message.Execute_response_msg.error_description)
- return error_description_.GetNoArena();
- }
- inline void Execute_response_msg::set_error_description(const ::std::string& value) {
- set_has_error_description();
- error_description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:message.Execute_response_msg.error_description)
- }
- #if LANG_CXX11
- inline void Execute_response_msg::set_error_description(::std::string&& value) {
- set_has_error_description();
- error_description_.SetNoArena(
- &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
- // @@protoc_insertion_point(field_set_rvalue:message.Execute_response_msg.error_description)
- }
- #endif
- inline void Execute_response_msg::set_error_description(const char* value) {
- GOOGLE_DCHECK(value != NULL);
- set_has_error_description();
- error_description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:message.Execute_response_msg.error_description)
- }
- inline void Execute_response_msg::set_error_description(const char* value, size_t size) {
- set_has_error_description();
- error_description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:message.Execute_response_msg.error_description)
- }
- inline ::std::string* Execute_response_msg::mutable_error_description() {
- set_has_error_description();
- // @@protoc_insertion_point(field_mutable:message.Execute_response_msg.error_description)
- return error_description_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline ::std::string* Execute_response_msg::release_error_description() {
- // @@protoc_insertion_point(field_release:message.Execute_response_msg.error_description)
- clear_has_error_description();
- return error_description_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline void Execute_response_msg::set_allocated_error_description(::std::string* error_description) {
- if (error_description != NULL) {
- set_has_error_description();
- } else {
- clear_has_error_description();
- }
- error_description_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), error_description);
- // @@protoc_insertion_point(field_set_allocated:message.Execute_response_msg.error_description)
- }
- #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::Hardware_statu> : ::google::protobuf::internal::true_type {};
- template <>
- inline const EnumDescriptor* GetEnumDescriptor< ::message::Hardware_statu>() {
- return ::message::Hardware_statu_descriptor();
- }
- template <> struct is_proto_enum< ::message::Action_type> : ::google::protobuf::internal::true_type {};
- template <>
- inline const EnumDescriptor* GetEnumDescriptor< ::message::Action_type>() {
- return ::message::Action_type_descriptor();
- }
- } // namespace protobuf
- } // namespace google
- // @@protoc_insertion_point(global_scope)
- #endif // PROTOBUF_hardware_5fmessage_2eproto__INCLUDED
|