hardware_message.pb.h 58 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: hardware_message.proto
  3. #ifndef PROTOBUF_hardware_5fmessage_2eproto__INCLUDED
  4. #define PROTOBUF_hardware_5fmessage_2eproto__INCLUDED
  5. #include <string>
  6. #include <google/protobuf/stubs/common.h>
  7. #if GOOGLE_PROTOBUF_VERSION < 3005000
  8. #error This file was generated by a newer version of protoc which is
  9. #error incompatible with your Protocol Buffer headers. Please update
  10. #error your headers.
  11. #endif
  12. #if 3005000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
  13. #error This file was generated by an older version of protoc which is
  14. #error incompatible with your Protocol Buffer headers. Please
  15. #error regenerate this file with a newer version of protoc.
  16. #endif
  17. #include <google/protobuf/io/coded_stream.h>
  18. #include <google/protobuf/arena.h>
  19. #include <google/protobuf/arenastring.h>
  20. #include <google/protobuf/generated_message_table_driven.h>
  21. #include <google/protobuf/generated_message_util.h>
  22. #include <google/protobuf/metadata.h>
  23. #include <google/protobuf/message.h>
  24. #include <google/protobuf/repeated_field.h> // IWYU pragma: export
  25. #include <google/protobuf/extension_set.h> // IWYU pragma: export
  26. #include <google/protobuf/generated_enum_reflection.h>
  27. #include <google/protobuf/unknown_field_set.h>
  28. #include "message_base.pb.h"
  29. // @@protoc_insertion_point(includes)
  30. namespace protobuf_hardware_5fmessage_2eproto {
  31. // Internal implementation detail -- do not use these members.
  32. struct TableStruct {
  33. static const ::google::protobuf::internal::ParseTableField entries[];
  34. static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
  35. static const ::google::protobuf::internal::ParseTable schema[5];
  36. static const ::google::protobuf::internal::FieldMetadata field_metadata[];
  37. static const ::google::protobuf::internal::SerializationTable serialization_table[];
  38. static const ::google::protobuf::uint32 offsets[];
  39. };
  40. void AddDescriptors();
  41. void InitDefaultsPositionImpl();
  42. void InitDefaultsPosition();
  43. void InitDefaultsCarrier_statusImpl();
  44. void InitDefaultsCarrier_status();
  45. void InitDefaultsHarware_statu_msgImpl();
  46. void InitDefaultsHarware_statu_msg();
  47. void InitDefaultsExecute_request_msgImpl();
  48. void InitDefaultsExecute_request_msg();
  49. void InitDefaultsExecute_response_msgImpl();
  50. void InitDefaultsExecute_response_msg();
  51. inline void InitDefaults() {
  52. InitDefaultsPosition();
  53. InitDefaultsCarrier_status();
  54. InitDefaultsHarware_statu_msg();
  55. InitDefaultsExecute_request_msg();
  56. InitDefaultsExecute_response_msg();
  57. }
  58. } // namespace protobuf_hardware_5fmessage_2eproto
  59. namespace message {
  60. class Carrier_status;
  61. class Carrier_statusDefaultTypeInternal;
  62. extern Carrier_statusDefaultTypeInternal _Carrier_status_default_instance_;
  63. class Execute_request_msg;
  64. class Execute_request_msgDefaultTypeInternal;
  65. extern Execute_request_msgDefaultTypeInternal _Execute_request_msg_default_instance_;
  66. class Execute_response_msg;
  67. class Execute_response_msgDefaultTypeInternal;
  68. extern Execute_response_msgDefaultTypeInternal _Execute_response_msg_default_instance_;
  69. class Harware_statu_msg;
  70. class Harware_statu_msgDefaultTypeInternal;
  71. extern Harware_statu_msgDefaultTypeInternal _Harware_statu_msg_default_instance_;
  72. class Position;
  73. class PositionDefaultTypeInternal;
  74. extern PositionDefaultTypeInternal _Position_default_instance_;
  75. } // namespace message
  76. namespace message {
  77. enum Hardware_statu {
  78. eNormal = 0,
  79. eBusy = 1,
  80. eMiss = 2,
  81. eError = 3
  82. };
  83. bool Hardware_statu_IsValid(int value);
  84. const Hardware_statu Hardware_statu_MIN = eNormal;
  85. const Hardware_statu Hardware_statu_MAX = eError;
  86. const int Hardware_statu_ARRAYSIZE = Hardware_statu_MAX + 1;
  87. const ::google::protobuf::EnumDescriptor* Hardware_statu_descriptor();
  88. inline const ::std::string& Hardware_statu_Name(Hardware_statu value) {
  89. return ::google::protobuf::internal::NameOfEnum(
  90. Hardware_statu_descriptor(), value);
  91. }
  92. inline bool Hardware_statu_Parse(
  93. const ::std::string& name, Hardware_statu* value) {
  94. return ::google::protobuf::internal::ParseNamedEnum<Hardware_statu>(
  95. Hardware_statu_descriptor(), name, value);
  96. }
  97. // ===================================================================
  98. class Position : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Position) */ {
  99. public:
  100. Position();
  101. virtual ~Position();
  102. Position(const Position& from);
  103. inline Position& operator=(const Position& from) {
  104. CopyFrom(from);
  105. return *this;
  106. }
  107. #if LANG_CXX11
  108. Position(Position&& from) noexcept
  109. : Position() {
  110. *this = ::std::move(from);
  111. }
  112. inline Position& operator=(Position&& from) noexcept {
  113. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  114. if (this != &from) InternalSwap(&from);
  115. } else {
  116. CopyFrom(from);
  117. }
  118. return *this;
  119. }
  120. #endif
  121. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  122. return _internal_metadata_.unknown_fields();
  123. }
  124. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  125. return _internal_metadata_.mutable_unknown_fields();
  126. }
  127. static const ::google::protobuf::Descriptor* descriptor();
  128. static const Position& default_instance();
  129. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  130. static inline const Position* internal_default_instance() {
  131. return reinterpret_cast<const Position*>(
  132. &_Position_default_instance_);
  133. }
  134. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  135. 0;
  136. void Swap(Position* other);
  137. friend void swap(Position& a, Position& b) {
  138. a.Swap(&b);
  139. }
  140. // implements Message ----------------------------------------------
  141. inline Position* New() const PROTOBUF_FINAL { return New(NULL); }
  142. Position* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  143. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  144. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  145. void CopyFrom(const Position& from);
  146. void MergeFrom(const Position& from);
  147. void Clear() PROTOBUF_FINAL;
  148. bool IsInitialized() const PROTOBUF_FINAL;
  149. size_t ByteSizeLong() const PROTOBUF_FINAL;
  150. bool MergePartialFromCodedStream(
  151. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  152. void SerializeWithCachedSizes(
  153. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  154. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  155. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  156. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  157. private:
  158. void SharedCtor();
  159. void SharedDtor();
  160. void SetCachedSize(int size) const PROTOBUF_FINAL;
  161. void InternalSwap(Position* other);
  162. private:
  163. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  164. return NULL;
  165. }
  166. inline void* MaybeArenaPtr() const {
  167. return NULL;
  168. }
  169. public:
  170. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  171. // nested types ----------------------------------------------------
  172. // accessors -------------------------------------------------------
  173. // required float x = 1;
  174. bool has_x() const;
  175. void clear_x();
  176. static const int kXFieldNumber = 1;
  177. float x() const;
  178. void set_x(float value);
  179. // required float y = 2;
  180. bool has_y() const;
  181. void clear_y();
  182. static const int kYFieldNumber = 2;
  183. float y() const;
  184. void set_y(float value);
  185. // required float z = 3;
  186. bool has_z() const;
  187. void clear_z();
  188. static const int kZFieldNumber = 3;
  189. float z() const;
  190. void set_z(float value);
  191. // @@protoc_insertion_point(class_scope:message.Position)
  192. private:
  193. void set_has_x();
  194. void clear_has_x();
  195. void set_has_y();
  196. void clear_has_y();
  197. void set_has_z();
  198. void clear_has_z();
  199. // helper for ByteSizeLong()
  200. size_t RequiredFieldsByteSizeFallback() const;
  201. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  202. ::google::protobuf::internal::HasBits<1> _has_bits_;
  203. mutable int _cached_size_;
  204. float x_;
  205. float y_;
  206. float z_;
  207. friend struct ::protobuf_hardware_5fmessage_2eproto::TableStruct;
  208. friend void ::protobuf_hardware_5fmessage_2eproto::InitDefaultsPositionImpl();
  209. };
  210. // -------------------------------------------------------------------
  211. class Carrier_status : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Carrier_status) */ {
  212. public:
  213. Carrier_status();
  214. virtual ~Carrier_status();
  215. Carrier_status(const Carrier_status& from);
  216. inline Carrier_status& operator=(const Carrier_status& from) {
  217. CopyFrom(from);
  218. return *this;
  219. }
  220. #if LANG_CXX11
  221. Carrier_status(Carrier_status&& from) noexcept
  222. : Carrier_status() {
  223. *this = ::std::move(from);
  224. }
  225. inline Carrier_status& operator=(Carrier_status&& from) noexcept {
  226. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  227. if (this != &from) InternalSwap(&from);
  228. } else {
  229. CopyFrom(from);
  230. }
  231. return *this;
  232. }
  233. #endif
  234. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  235. return _internal_metadata_.unknown_fields();
  236. }
  237. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  238. return _internal_metadata_.mutable_unknown_fields();
  239. }
  240. static const ::google::protobuf::Descriptor* descriptor();
  241. static const Carrier_status& default_instance();
  242. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  243. static inline const Carrier_status* internal_default_instance() {
  244. return reinterpret_cast<const Carrier_status*>(
  245. &_Carrier_status_default_instance_);
  246. }
  247. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  248. 1;
  249. void Swap(Carrier_status* other);
  250. friend void swap(Carrier_status& a, Carrier_status& b) {
  251. a.Swap(&b);
  252. }
  253. // implements Message ----------------------------------------------
  254. inline Carrier_status* New() const PROTOBUF_FINAL { return New(NULL); }
  255. Carrier_status* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  256. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  257. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  258. void CopyFrom(const Carrier_status& from);
  259. void MergeFrom(const Carrier_status& from);
  260. void Clear() PROTOBUF_FINAL;
  261. bool IsInitialized() const PROTOBUF_FINAL;
  262. size_t ByteSizeLong() const PROTOBUF_FINAL;
  263. bool MergePartialFromCodedStream(
  264. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  265. void SerializeWithCachedSizes(
  266. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  267. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  268. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  269. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  270. private:
  271. void SharedCtor();
  272. void SharedDtor();
  273. void SetCachedSize(int size) const PROTOBUF_FINAL;
  274. void InternalSwap(Carrier_status* other);
  275. private:
  276. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  277. return NULL;
  278. }
  279. inline void* MaybeArenaPtr() const {
  280. return NULL;
  281. }
  282. public:
  283. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  284. // nested types ----------------------------------------------------
  285. // accessors -------------------------------------------------------
  286. // optional string error_destination = 3;
  287. bool has_error_destination() const;
  288. void clear_error_destination();
  289. static const int kErrorDestinationFieldNumber = 3;
  290. const ::std::string& error_destination() const;
  291. void set_error_destination(const ::std::string& value);
  292. #if LANG_CXX11
  293. void set_error_destination(::std::string&& value);
  294. #endif
  295. void set_error_destination(const char* value);
  296. void set_error_destination(const char* value, size_t size);
  297. ::std::string* mutable_error_destination();
  298. ::std::string* release_error_destination();
  299. void set_allocated_error_destination(::std::string* error_destination);
  300. // optional .message.Command_message cmd_msg = 2;
  301. bool has_cmd_msg() const;
  302. void clear_cmd_msg();
  303. static const int kCmdMsgFieldNumber = 2;
  304. const ::message::Command_message& cmd_msg() const;
  305. ::message::Command_message* release_cmd_msg();
  306. ::message::Command_message* mutable_cmd_msg();
  307. void set_allocated_cmd_msg(::message::Command_message* cmd_msg);
  308. // optional .message.Position position = 4;
  309. bool has_position() const;
  310. void clear_position();
  311. static const int kPositionFieldNumber = 4;
  312. const ::message::Position& position() const;
  313. ::message::Position* release_position();
  314. ::message::Position* mutable_position();
  315. void set_allocated_position(::message::Position* position);
  316. // required .message.Hardware_statu statu = 1;
  317. bool has_statu() const;
  318. void clear_statu();
  319. static const int kStatuFieldNumber = 1;
  320. ::message::Hardware_statu statu() const;
  321. void set_statu(::message::Hardware_statu value);
  322. // required bool empty = 5;
  323. bool has_empty() const;
  324. void clear_empty();
  325. static const int kEmptyFieldNumber = 5;
  326. bool empty() const;
  327. void set_empty(bool value);
  328. // @@protoc_insertion_point(class_scope:message.Carrier_status)
  329. private:
  330. void set_has_statu();
  331. void clear_has_statu();
  332. void set_has_cmd_msg();
  333. void clear_has_cmd_msg();
  334. void set_has_error_destination();
  335. void clear_has_error_destination();
  336. void set_has_position();
  337. void clear_has_position();
  338. void set_has_empty();
  339. void clear_has_empty();
  340. // helper for ByteSizeLong()
  341. size_t RequiredFieldsByteSizeFallback() const;
  342. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  343. ::google::protobuf::internal::HasBits<1> _has_bits_;
  344. mutable int _cached_size_;
  345. ::google::protobuf::internal::ArenaStringPtr error_destination_;
  346. ::message::Command_message* cmd_msg_;
  347. ::message::Position* position_;
  348. int statu_;
  349. bool empty_;
  350. friend struct ::protobuf_hardware_5fmessage_2eproto::TableStruct;
  351. friend void ::protobuf_hardware_5fmessage_2eproto::InitDefaultsCarrier_statusImpl();
  352. };
  353. // -------------------------------------------------------------------
  354. class Harware_statu_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Harware_statu_msg) */ {
  355. public:
  356. Harware_statu_msg();
  357. virtual ~Harware_statu_msg();
  358. Harware_statu_msg(const Harware_statu_msg& from);
  359. inline Harware_statu_msg& operator=(const Harware_statu_msg& from) {
  360. CopyFrom(from);
  361. return *this;
  362. }
  363. #if LANG_CXX11
  364. Harware_statu_msg(Harware_statu_msg&& from) noexcept
  365. : Harware_statu_msg() {
  366. *this = ::std::move(from);
  367. }
  368. inline Harware_statu_msg& operator=(Harware_statu_msg&& from) noexcept {
  369. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  370. if (this != &from) InternalSwap(&from);
  371. } else {
  372. CopyFrom(from);
  373. }
  374. return *this;
  375. }
  376. #endif
  377. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  378. return _internal_metadata_.unknown_fields();
  379. }
  380. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  381. return _internal_metadata_.mutable_unknown_fields();
  382. }
  383. static const ::google::protobuf::Descriptor* descriptor();
  384. static const Harware_statu_msg& default_instance();
  385. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  386. static inline const Harware_statu_msg* internal_default_instance() {
  387. return reinterpret_cast<const Harware_statu_msg*>(
  388. &_Harware_statu_msg_default_instance_);
  389. }
  390. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  391. 2;
  392. void Swap(Harware_statu_msg* other);
  393. friend void swap(Harware_statu_msg& a, Harware_statu_msg& b) {
  394. a.Swap(&b);
  395. }
  396. // implements Message ----------------------------------------------
  397. inline Harware_statu_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  398. Harware_statu_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  399. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  400. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  401. void CopyFrom(const Harware_statu_msg& from);
  402. void MergeFrom(const Harware_statu_msg& from);
  403. void Clear() PROTOBUF_FINAL;
  404. bool IsInitialized() const PROTOBUF_FINAL;
  405. size_t ByteSizeLong() const PROTOBUF_FINAL;
  406. bool MergePartialFromCodedStream(
  407. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  408. void SerializeWithCachedSizes(
  409. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  410. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  411. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  412. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  413. private:
  414. void SharedCtor();
  415. void SharedDtor();
  416. void SetCachedSize(int size) const PROTOBUF_FINAL;
  417. void InternalSwap(Harware_statu_msg* other);
  418. private:
  419. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  420. return NULL;
  421. }
  422. inline void* MaybeArenaPtr() const {
  423. return NULL;
  424. }
  425. public:
  426. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  427. // nested types ----------------------------------------------------
  428. // accessors -------------------------------------------------------
  429. // required .message.Carrier_status carrier1_statu = 2;
  430. bool has_carrier1_statu() const;
  431. void clear_carrier1_statu();
  432. static const int kCarrier1StatuFieldNumber = 2;
  433. const ::message::Carrier_status& carrier1_statu() const;
  434. ::message::Carrier_status* release_carrier1_statu();
  435. ::message::Carrier_status* mutable_carrier1_statu();
  436. void set_allocated_carrier1_statu(::message::Carrier_status* carrier1_statu);
  437. // required .message.Carrier_status carrier2_statu = 3;
  438. bool has_carrier2_statu() const;
  439. void clear_carrier2_statu();
  440. static const int kCarrier2StatuFieldNumber = 3;
  441. const ::message::Carrier_status& carrier2_statu() const;
  442. ::message::Carrier_status* release_carrier2_statu();
  443. ::message::Carrier_status* mutable_carrier2_statu();
  444. void set_allocated_carrier2_statu(::message::Carrier_status* carrier2_statu);
  445. // required .message.Carrier_status carrier3_statu = 4;
  446. bool has_carrier3_statu() const;
  447. void clear_carrier3_statu();
  448. static const int kCarrier3StatuFieldNumber = 4;
  449. const ::message::Carrier_status& carrier3_statu() const;
  450. ::message::Carrier_status* release_carrier3_statu();
  451. ::message::Carrier_status* mutable_carrier3_statu();
  452. void set_allocated_carrier3_statu(::message::Carrier_status* carrier3_statu);
  453. // required .message.Message_type msg_type = 1;
  454. bool has_msg_type() const;
  455. void clear_msg_type();
  456. static const int kMsgTypeFieldNumber = 1;
  457. ::message::Message_type msg_type() const;
  458. void set_msg_type(::message::Message_type value);
  459. // @@protoc_insertion_point(class_scope:message.Harware_statu_msg)
  460. private:
  461. void set_has_msg_type();
  462. void clear_has_msg_type();
  463. void set_has_carrier1_statu();
  464. void clear_has_carrier1_statu();
  465. void set_has_carrier2_statu();
  466. void clear_has_carrier2_statu();
  467. void set_has_carrier3_statu();
  468. void clear_has_carrier3_statu();
  469. // helper for ByteSizeLong()
  470. size_t RequiredFieldsByteSizeFallback() const;
  471. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  472. ::google::protobuf::internal::HasBits<1> _has_bits_;
  473. mutable int _cached_size_;
  474. ::message::Carrier_status* carrier1_statu_;
  475. ::message::Carrier_status* carrier2_statu_;
  476. ::message::Carrier_status* carrier3_statu_;
  477. int msg_type_;
  478. friend struct ::protobuf_hardware_5fmessage_2eproto::TableStruct;
  479. friend void ::protobuf_hardware_5fmessage_2eproto::InitDefaultsHarware_statu_msgImpl();
  480. };
  481. // -------------------------------------------------------------------
  482. class Execute_request_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Execute_request_msg) */ {
  483. public:
  484. Execute_request_msg();
  485. virtual ~Execute_request_msg();
  486. Execute_request_msg(const Execute_request_msg& from);
  487. inline Execute_request_msg& operator=(const Execute_request_msg& from) {
  488. CopyFrom(from);
  489. return *this;
  490. }
  491. #if LANG_CXX11
  492. Execute_request_msg(Execute_request_msg&& from) noexcept
  493. : Execute_request_msg() {
  494. *this = ::std::move(from);
  495. }
  496. inline Execute_request_msg& operator=(Execute_request_msg&& from) noexcept {
  497. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  498. if (this != &from) InternalSwap(&from);
  499. } else {
  500. CopyFrom(from);
  501. }
  502. return *this;
  503. }
  504. #endif
  505. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  506. return _internal_metadata_.unknown_fields();
  507. }
  508. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  509. return _internal_metadata_.mutable_unknown_fields();
  510. }
  511. static const ::google::protobuf::Descriptor* descriptor();
  512. static const Execute_request_msg& default_instance();
  513. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  514. static inline const Execute_request_msg* internal_default_instance() {
  515. return reinterpret_cast<const Execute_request_msg*>(
  516. &_Execute_request_msg_default_instance_);
  517. }
  518. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  519. 3;
  520. void Swap(Execute_request_msg* other);
  521. friend void swap(Execute_request_msg& a, Execute_request_msg& b) {
  522. a.Swap(&b);
  523. }
  524. // implements Message ----------------------------------------------
  525. inline Execute_request_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  526. Execute_request_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  527. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  528. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  529. void CopyFrom(const Execute_request_msg& from);
  530. void MergeFrom(const Execute_request_msg& from);
  531. void Clear() PROTOBUF_FINAL;
  532. bool IsInitialized() const PROTOBUF_FINAL;
  533. size_t ByteSizeLong() const PROTOBUF_FINAL;
  534. bool MergePartialFromCodedStream(
  535. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  536. void SerializeWithCachedSizes(
  537. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  538. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  539. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  540. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  541. private:
  542. void SharedCtor();
  543. void SharedDtor();
  544. void SetCachedSize(int size) const PROTOBUF_FINAL;
  545. void InternalSwap(Execute_request_msg* other);
  546. private:
  547. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  548. return NULL;
  549. }
  550. inline void* MaybeArenaPtr() const {
  551. return NULL;
  552. }
  553. public:
  554. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  555. // nested types ----------------------------------------------------
  556. // accessors -------------------------------------------------------
  557. // required .message.Command_message cmd_msg = 2;
  558. bool has_cmd_msg() const;
  559. void clear_cmd_msg();
  560. static const int kCmdMsgFieldNumber = 2;
  561. const ::message::Command_message& cmd_msg() const;
  562. ::message::Command_message* release_cmd_msg();
  563. ::message::Command_message* mutable_cmd_msg();
  564. void set_allocated_cmd_msg(::message::Command_message* cmd_msg);
  565. // required .message.Message_type msg_type = 1;
  566. bool has_msg_type() const;
  567. void clear_msg_type();
  568. static const int kMsgTypeFieldNumber = 1;
  569. ::message::Message_type msg_type() const;
  570. void set_msg_type(::message::Message_type value);
  571. // optional int32 time_out = 3 [default = 200000];
  572. bool has_time_out() const;
  573. void clear_time_out();
  574. static const int kTimeOutFieldNumber = 3;
  575. ::google::protobuf::int32 time_out() const;
  576. void set_time_out(::google::protobuf::int32 value);
  577. // @@protoc_insertion_point(class_scope:message.Execute_request_msg)
  578. private:
  579. void set_has_msg_type();
  580. void clear_has_msg_type();
  581. void set_has_cmd_msg();
  582. void clear_has_cmd_msg();
  583. void set_has_time_out();
  584. void clear_has_time_out();
  585. // helper for ByteSizeLong()
  586. size_t RequiredFieldsByteSizeFallback() const;
  587. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  588. ::google::protobuf::internal::HasBits<1> _has_bits_;
  589. mutable int _cached_size_;
  590. ::message::Command_message* cmd_msg_;
  591. int msg_type_;
  592. ::google::protobuf::int32 time_out_;
  593. friend struct ::protobuf_hardware_5fmessage_2eproto::TableStruct;
  594. friend void ::protobuf_hardware_5fmessage_2eproto::InitDefaultsExecute_request_msgImpl();
  595. };
  596. // -------------------------------------------------------------------
  597. class Execute_response_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Execute_response_msg) */ {
  598. public:
  599. Execute_response_msg();
  600. virtual ~Execute_response_msg();
  601. Execute_response_msg(const Execute_response_msg& from);
  602. inline Execute_response_msg& operator=(const Execute_response_msg& from) {
  603. CopyFrom(from);
  604. return *this;
  605. }
  606. #if LANG_CXX11
  607. Execute_response_msg(Execute_response_msg&& from) noexcept
  608. : Execute_response_msg() {
  609. *this = ::std::move(from);
  610. }
  611. inline Execute_response_msg& operator=(Execute_response_msg&& from) noexcept {
  612. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  613. if (this != &from) InternalSwap(&from);
  614. } else {
  615. CopyFrom(from);
  616. }
  617. return *this;
  618. }
  619. #endif
  620. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  621. return _internal_metadata_.unknown_fields();
  622. }
  623. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  624. return _internal_metadata_.mutable_unknown_fields();
  625. }
  626. static const ::google::protobuf::Descriptor* descriptor();
  627. static const Execute_response_msg& default_instance();
  628. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  629. static inline const Execute_response_msg* internal_default_instance() {
  630. return reinterpret_cast<const Execute_response_msg*>(
  631. &_Execute_response_msg_default_instance_);
  632. }
  633. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  634. 4;
  635. void Swap(Execute_response_msg* other);
  636. friend void swap(Execute_response_msg& a, Execute_response_msg& b) {
  637. a.Swap(&b);
  638. }
  639. // implements Message ----------------------------------------------
  640. inline Execute_response_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  641. Execute_response_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  642. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  643. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  644. void CopyFrom(const Execute_response_msg& from);
  645. void MergeFrom(const Execute_response_msg& from);
  646. void Clear() PROTOBUF_FINAL;
  647. bool IsInitialized() const PROTOBUF_FINAL;
  648. size_t ByteSizeLong() const PROTOBUF_FINAL;
  649. bool MergePartialFromCodedStream(
  650. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  651. void SerializeWithCachedSizes(
  652. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  653. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  654. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  655. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  656. private:
  657. void SharedCtor();
  658. void SharedDtor();
  659. void SetCachedSize(int size) const PROTOBUF_FINAL;
  660. void InternalSwap(Execute_response_msg* other);
  661. private:
  662. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  663. return NULL;
  664. }
  665. inline void* MaybeArenaPtr() const {
  666. return NULL;
  667. }
  668. public:
  669. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  670. // nested types ----------------------------------------------------
  671. // accessors -------------------------------------------------------
  672. // optional string error_description = 4;
  673. bool has_error_description() const;
  674. void clear_error_description();
  675. static const int kErrorDescriptionFieldNumber = 4;
  676. const ::std::string& error_description() const;
  677. void set_error_description(const ::std::string& value);
  678. #if LANG_CXX11
  679. void set_error_description(::std::string&& value);
  680. #endif
  681. void set_error_description(const char* value);
  682. void set_error_description(const char* value, size_t size);
  683. ::std::string* mutable_error_description();
  684. ::std::string* release_error_description();
  685. void set_allocated_error_description(::std::string* error_description);
  686. // required .message.Command_message cmd_msg = 2;
  687. bool has_cmd_msg() const;
  688. void clear_cmd_msg();
  689. static const int kCmdMsgFieldNumber = 2;
  690. const ::message::Command_message& cmd_msg() const;
  691. ::message::Command_message* release_cmd_msg();
  692. ::message::Command_message* mutable_cmd_msg();
  693. void set_allocated_cmd_msg(::message::Command_message* cmd_msg);
  694. // required int32 error_code = 3;
  695. bool has_error_code() const;
  696. void clear_error_code();
  697. static const int kErrorCodeFieldNumber = 3;
  698. ::google::protobuf::int32 error_code() const;
  699. void set_error_code(::google::protobuf::int32 value);
  700. // required .message.Message_type msg_type = 1;
  701. bool has_msg_type() const;
  702. void clear_msg_type();
  703. static const int kMsgTypeFieldNumber = 1;
  704. ::message::Message_type msg_type() const;
  705. void set_msg_type(::message::Message_type value);
  706. // @@protoc_insertion_point(class_scope:message.Execute_response_msg)
  707. private:
  708. void set_has_msg_type();
  709. void clear_has_msg_type();
  710. void set_has_cmd_msg();
  711. void clear_has_cmd_msg();
  712. void set_has_error_code();
  713. void clear_has_error_code();
  714. void set_has_error_description();
  715. void clear_has_error_description();
  716. // helper for ByteSizeLong()
  717. size_t RequiredFieldsByteSizeFallback() const;
  718. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  719. ::google::protobuf::internal::HasBits<1> _has_bits_;
  720. mutable int _cached_size_;
  721. ::google::protobuf::internal::ArenaStringPtr error_description_;
  722. ::message::Command_message* cmd_msg_;
  723. ::google::protobuf::int32 error_code_;
  724. int msg_type_;
  725. friend struct ::protobuf_hardware_5fmessage_2eproto::TableStruct;
  726. friend void ::protobuf_hardware_5fmessage_2eproto::InitDefaultsExecute_response_msgImpl();
  727. };
  728. // ===================================================================
  729. // ===================================================================
  730. #ifdef __GNUC__
  731. #pragma GCC diagnostic push
  732. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  733. #endif // __GNUC__
  734. // Position
  735. // required float x = 1;
  736. inline bool Position::has_x() const {
  737. return (_has_bits_[0] & 0x00000001u) != 0;
  738. }
  739. inline void Position::set_has_x() {
  740. _has_bits_[0] |= 0x00000001u;
  741. }
  742. inline void Position::clear_has_x() {
  743. _has_bits_[0] &= ~0x00000001u;
  744. }
  745. inline void Position::clear_x() {
  746. x_ = 0;
  747. clear_has_x();
  748. }
  749. inline float Position::x() const {
  750. // @@protoc_insertion_point(field_get:message.Position.x)
  751. return x_;
  752. }
  753. inline void Position::set_x(float value) {
  754. set_has_x();
  755. x_ = value;
  756. // @@protoc_insertion_point(field_set:message.Position.x)
  757. }
  758. // required float y = 2;
  759. inline bool Position::has_y() const {
  760. return (_has_bits_[0] & 0x00000002u) != 0;
  761. }
  762. inline void Position::set_has_y() {
  763. _has_bits_[0] |= 0x00000002u;
  764. }
  765. inline void Position::clear_has_y() {
  766. _has_bits_[0] &= ~0x00000002u;
  767. }
  768. inline void Position::clear_y() {
  769. y_ = 0;
  770. clear_has_y();
  771. }
  772. inline float Position::y() const {
  773. // @@protoc_insertion_point(field_get:message.Position.y)
  774. return y_;
  775. }
  776. inline void Position::set_y(float value) {
  777. set_has_y();
  778. y_ = value;
  779. // @@protoc_insertion_point(field_set:message.Position.y)
  780. }
  781. // required float z = 3;
  782. inline bool Position::has_z() const {
  783. return (_has_bits_[0] & 0x00000004u) != 0;
  784. }
  785. inline void Position::set_has_z() {
  786. _has_bits_[0] |= 0x00000004u;
  787. }
  788. inline void Position::clear_has_z() {
  789. _has_bits_[0] &= ~0x00000004u;
  790. }
  791. inline void Position::clear_z() {
  792. z_ = 0;
  793. clear_has_z();
  794. }
  795. inline float Position::z() const {
  796. // @@protoc_insertion_point(field_get:message.Position.z)
  797. return z_;
  798. }
  799. inline void Position::set_z(float value) {
  800. set_has_z();
  801. z_ = value;
  802. // @@protoc_insertion_point(field_set:message.Position.z)
  803. }
  804. // -------------------------------------------------------------------
  805. // Carrier_status
  806. // required .message.Hardware_statu statu = 1;
  807. inline bool Carrier_status::has_statu() const {
  808. return (_has_bits_[0] & 0x00000008u) != 0;
  809. }
  810. inline void Carrier_status::set_has_statu() {
  811. _has_bits_[0] |= 0x00000008u;
  812. }
  813. inline void Carrier_status::clear_has_statu() {
  814. _has_bits_[0] &= ~0x00000008u;
  815. }
  816. inline void Carrier_status::clear_statu() {
  817. statu_ = 0;
  818. clear_has_statu();
  819. }
  820. inline ::message::Hardware_statu Carrier_status::statu() const {
  821. // @@protoc_insertion_point(field_get:message.Carrier_status.statu)
  822. return static_cast< ::message::Hardware_statu >(statu_);
  823. }
  824. inline void Carrier_status::set_statu(::message::Hardware_statu value) {
  825. assert(::message::Hardware_statu_IsValid(value));
  826. set_has_statu();
  827. statu_ = value;
  828. // @@protoc_insertion_point(field_set:message.Carrier_status.statu)
  829. }
  830. // optional .message.Command_message cmd_msg = 2;
  831. inline bool Carrier_status::has_cmd_msg() const {
  832. return (_has_bits_[0] & 0x00000002u) != 0;
  833. }
  834. inline void Carrier_status::set_has_cmd_msg() {
  835. _has_bits_[0] |= 0x00000002u;
  836. }
  837. inline void Carrier_status::clear_has_cmd_msg() {
  838. _has_bits_[0] &= ~0x00000002u;
  839. }
  840. inline const ::message::Command_message& Carrier_status::cmd_msg() const {
  841. const ::message::Command_message* p = cmd_msg_;
  842. // @@protoc_insertion_point(field_get:message.Carrier_status.cmd_msg)
  843. return p != NULL ? *p : *reinterpret_cast<const ::message::Command_message*>(
  844. &::message::_Command_message_default_instance_);
  845. }
  846. inline ::message::Command_message* Carrier_status::release_cmd_msg() {
  847. // @@protoc_insertion_point(field_release:message.Carrier_status.cmd_msg)
  848. clear_has_cmd_msg();
  849. ::message::Command_message* temp = cmd_msg_;
  850. cmd_msg_ = NULL;
  851. return temp;
  852. }
  853. inline ::message::Command_message* Carrier_status::mutable_cmd_msg() {
  854. set_has_cmd_msg();
  855. if (cmd_msg_ == NULL) {
  856. cmd_msg_ = new ::message::Command_message;
  857. }
  858. // @@protoc_insertion_point(field_mutable:message.Carrier_status.cmd_msg)
  859. return cmd_msg_;
  860. }
  861. inline void Carrier_status::set_allocated_cmd_msg(::message::Command_message* cmd_msg) {
  862. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  863. if (message_arena == NULL) {
  864. delete reinterpret_cast< ::google::protobuf::MessageLite*>(cmd_msg_);
  865. }
  866. if (cmd_msg) {
  867. ::google::protobuf::Arena* submessage_arena = NULL;
  868. if (message_arena != submessage_arena) {
  869. cmd_msg = ::google::protobuf::internal::GetOwnedMessage(
  870. message_arena, cmd_msg, submessage_arena);
  871. }
  872. set_has_cmd_msg();
  873. } else {
  874. clear_has_cmd_msg();
  875. }
  876. cmd_msg_ = cmd_msg;
  877. // @@protoc_insertion_point(field_set_allocated:message.Carrier_status.cmd_msg)
  878. }
  879. // optional string error_destination = 3;
  880. inline bool Carrier_status::has_error_destination() const {
  881. return (_has_bits_[0] & 0x00000001u) != 0;
  882. }
  883. inline void Carrier_status::set_has_error_destination() {
  884. _has_bits_[0] |= 0x00000001u;
  885. }
  886. inline void Carrier_status::clear_has_error_destination() {
  887. _has_bits_[0] &= ~0x00000001u;
  888. }
  889. inline void Carrier_status::clear_error_destination() {
  890. error_destination_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  891. clear_has_error_destination();
  892. }
  893. inline const ::std::string& Carrier_status::error_destination() const {
  894. // @@protoc_insertion_point(field_get:message.Carrier_status.error_destination)
  895. return error_destination_.GetNoArena();
  896. }
  897. inline void Carrier_status::set_error_destination(const ::std::string& value) {
  898. set_has_error_destination();
  899. error_destination_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  900. // @@protoc_insertion_point(field_set:message.Carrier_status.error_destination)
  901. }
  902. #if LANG_CXX11
  903. inline void Carrier_status::set_error_destination(::std::string&& value) {
  904. set_has_error_destination();
  905. error_destination_.SetNoArena(
  906. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  907. // @@protoc_insertion_point(field_set_rvalue:message.Carrier_status.error_destination)
  908. }
  909. #endif
  910. inline void Carrier_status::set_error_destination(const char* value) {
  911. GOOGLE_DCHECK(value != NULL);
  912. set_has_error_destination();
  913. error_destination_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  914. // @@protoc_insertion_point(field_set_char:message.Carrier_status.error_destination)
  915. }
  916. inline void Carrier_status::set_error_destination(const char* value, size_t size) {
  917. set_has_error_destination();
  918. error_destination_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  919. ::std::string(reinterpret_cast<const char*>(value), size));
  920. // @@protoc_insertion_point(field_set_pointer:message.Carrier_status.error_destination)
  921. }
  922. inline ::std::string* Carrier_status::mutable_error_destination() {
  923. set_has_error_destination();
  924. // @@protoc_insertion_point(field_mutable:message.Carrier_status.error_destination)
  925. return error_destination_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  926. }
  927. inline ::std::string* Carrier_status::release_error_destination() {
  928. // @@protoc_insertion_point(field_release:message.Carrier_status.error_destination)
  929. clear_has_error_destination();
  930. return error_destination_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  931. }
  932. inline void Carrier_status::set_allocated_error_destination(::std::string* error_destination) {
  933. if (error_destination != NULL) {
  934. set_has_error_destination();
  935. } else {
  936. clear_has_error_destination();
  937. }
  938. error_destination_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), error_destination);
  939. // @@protoc_insertion_point(field_set_allocated:message.Carrier_status.error_destination)
  940. }
  941. // optional .message.Position position = 4;
  942. inline bool Carrier_status::has_position() const {
  943. return (_has_bits_[0] & 0x00000004u) != 0;
  944. }
  945. inline void Carrier_status::set_has_position() {
  946. _has_bits_[0] |= 0x00000004u;
  947. }
  948. inline void Carrier_status::clear_has_position() {
  949. _has_bits_[0] &= ~0x00000004u;
  950. }
  951. inline void Carrier_status::clear_position() {
  952. if (position_ != NULL) position_->Clear();
  953. clear_has_position();
  954. }
  955. inline const ::message::Position& Carrier_status::position() const {
  956. const ::message::Position* p = position_;
  957. // @@protoc_insertion_point(field_get:message.Carrier_status.position)
  958. return p != NULL ? *p : *reinterpret_cast<const ::message::Position*>(
  959. &::message::_Position_default_instance_);
  960. }
  961. inline ::message::Position* Carrier_status::release_position() {
  962. // @@protoc_insertion_point(field_release:message.Carrier_status.position)
  963. clear_has_position();
  964. ::message::Position* temp = position_;
  965. position_ = NULL;
  966. return temp;
  967. }
  968. inline ::message::Position* Carrier_status::mutable_position() {
  969. set_has_position();
  970. if (position_ == NULL) {
  971. position_ = new ::message::Position;
  972. }
  973. // @@protoc_insertion_point(field_mutable:message.Carrier_status.position)
  974. return position_;
  975. }
  976. inline void Carrier_status::set_allocated_position(::message::Position* position) {
  977. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  978. if (message_arena == NULL) {
  979. delete position_;
  980. }
  981. if (position) {
  982. ::google::protobuf::Arena* submessage_arena = NULL;
  983. if (message_arena != submessage_arena) {
  984. position = ::google::protobuf::internal::GetOwnedMessage(
  985. message_arena, position, submessage_arena);
  986. }
  987. set_has_position();
  988. } else {
  989. clear_has_position();
  990. }
  991. position_ = position;
  992. // @@protoc_insertion_point(field_set_allocated:message.Carrier_status.position)
  993. }
  994. // required bool empty = 5;
  995. inline bool Carrier_status::has_empty() const {
  996. return (_has_bits_[0] & 0x00000010u) != 0;
  997. }
  998. inline void Carrier_status::set_has_empty() {
  999. _has_bits_[0] |= 0x00000010u;
  1000. }
  1001. inline void Carrier_status::clear_has_empty() {
  1002. _has_bits_[0] &= ~0x00000010u;
  1003. }
  1004. inline void Carrier_status::clear_empty() {
  1005. empty_ = false;
  1006. clear_has_empty();
  1007. }
  1008. inline bool Carrier_status::empty() const {
  1009. // @@protoc_insertion_point(field_get:message.Carrier_status.empty)
  1010. return empty_;
  1011. }
  1012. inline void Carrier_status::set_empty(bool value) {
  1013. set_has_empty();
  1014. empty_ = value;
  1015. // @@protoc_insertion_point(field_set:message.Carrier_status.empty)
  1016. }
  1017. // -------------------------------------------------------------------
  1018. // Harware_statu_msg
  1019. // required .message.Message_type msg_type = 1;
  1020. inline bool Harware_statu_msg::has_msg_type() const {
  1021. return (_has_bits_[0] & 0x00000008u) != 0;
  1022. }
  1023. inline void Harware_statu_msg::set_has_msg_type() {
  1024. _has_bits_[0] |= 0x00000008u;
  1025. }
  1026. inline void Harware_statu_msg::clear_has_msg_type() {
  1027. _has_bits_[0] &= ~0x00000008u;
  1028. }
  1029. inline void Harware_statu_msg::clear_msg_type() {
  1030. msg_type_ = 1;
  1031. clear_has_msg_type();
  1032. }
  1033. inline ::message::Message_type Harware_statu_msg::msg_type() const {
  1034. // @@protoc_insertion_point(field_get:message.Harware_statu_msg.msg_type)
  1035. return static_cast< ::message::Message_type >(msg_type_);
  1036. }
  1037. inline void Harware_statu_msg::set_msg_type(::message::Message_type value) {
  1038. assert(::message::Message_type_IsValid(value));
  1039. set_has_msg_type();
  1040. msg_type_ = value;
  1041. // @@protoc_insertion_point(field_set:message.Harware_statu_msg.msg_type)
  1042. }
  1043. // required .message.Carrier_status carrier1_statu = 2;
  1044. inline bool Harware_statu_msg::has_carrier1_statu() const {
  1045. return (_has_bits_[0] & 0x00000001u) != 0;
  1046. }
  1047. inline void Harware_statu_msg::set_has_carrier1_statu() {
  1048. _has_bits_[0] |= 0x00000001u;
  1049. }
  1050. inline void Harware_statu_msg::clear_has_carrier1_statu() {
  1051. _has_bits_[0] &= ~0x00000001u;
  1052. }
  1053. inline void Harware_statu_msg::clear_carrier1_statu() {
  1054. if (carrier1_statu_ != NULL) carrier1_statu_->Clear();
  1055. clear_has_carrier1_statu();
  1056. }
  1057. inline const ::message::Carrier_status& Harware_statu_msg::carrier1_statu() const {
  1058. const ::message::Carrier_status* p = carrier1_statu_;
  1059. // @@protoc_insertion_point(field_get:message.Harware_statu_msg.carrier1_statu)
  1060. return p != NULL ? *p : *reinterpret_cast<const ::message::Carrier_status*>(
  1061. &::message::_Carrier_status_default_instance_);
  1062. }
  1063. inline ::message::Carrier_status* Harware_statu_msg::release_carrier1_statu() {
  1064. // @@protoc_insertion_point(field_release:message.Harware_statu_msg.carrier1_statu)
  1065. clear_has_carrier1_statu();
  1066. ::message::Carrier_status* temp = carrier1_statu_;
  1067. carrier1_statu_ = NULL;
  1068. return temp;
  1069. }
  1070. inline ::message::Carrier_status* Harware_statu_msg::mutable_carrier1_statu() {
  1071. set_has_carrier1_statu();
  1072. if (carrier1_statu_ == NULL) {
  1073. carrier1_statu_ = new ::message::Carrier_status;
  1074. }
  1075. // @@protoc_insertion_point(field_mutable:message.Harware_statu_msg.carrier1_statu)
  1076. return carrier1_statu_;
  1077. }
  1078. inline void Harware_statu_msg::set_allocated_carrier1_statu(::message::Carrier_status* carrier1_statu) {
  1079. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1080. if (message_arena == NULL) {
  1081. delete carrier1_statu_;
  1082. }
  1083. if (carrier1_statu) {
  1084. ::google::protobuf::Arena* submessage_arena = NULL;
  1085. if (message_arena != submessage_arena) {
  1086. carrier1_statu = ::google::protobuf::internal::GetOwnedMessage(
  1087. message_arena, carrier1_statu, submessage_arena);
  1088. }
  1089. set_has_carrier1_statu();
  1090. } else {
  1091. clear_has_carrier1_statu();
  1092. }
  1093. carrier1_statu_ = carrier1_statu;
  1094. // @@protoc_insertion_point(field_set_allocated:message.Harware_statu_msg.carrier1_statu)
  1095. }
  1096. // required .message.Carrier_status carrier2_statu = 3;
  1097. inline bool Harware_statu_msg::has_carrier2_statu() const {
  1098. return (_has_bits_[0] & 0x00000002u) != 0;
  1099. }
  1100. inline void Harware_statu_msg::set_has_carrier2_statu() {
  1101. _has_bits_[0] |= 0x00000002u;
  1102. }
  1103. inline void Harware_statu_msg::clear_has_carrier2_statu() {
  1104. _has_bits_[0] &= ~0x00000002u;
  1105. }
  1106. inline void Harware_statu_msg::clear_carrier2_statu() {
  1107. if (carrier2_statu_ != NULL) carrier2_statu_->Clear();
  1108. clear_has_carrier2_statu();
  1109. }
  1110. inline const ::message::Carrier_status& Harware_statu_msg::carrier2_statu() const {
  1111. const ::message::Carrier_status* p = carrier2_statu_;
  1112. // @@protoc_insertion_point(field_get:message.Harware_statu_msg.carrier2_statu)
  1113. return p != NULL ? *p : *reinterpret_cast<const ::message::Carrier_status*>(
  1114. &::message::_Carrier_status_default_instance_);
  1115. }
  1116. inline ::message::Carrier_status* Harware_statu_msg::release_carrier2_statu() {
  1117. // @@protoc_insertion_point(field_release:message.Harware_statu_msg.carrier2_statu)
  1118. clear_has_carrier2_statu();
  1119. ::message::Carrier_status* temp = carrier2_statu_;
  1120. carrier2_statu_ = NULL;
  1121. return temp;
  1122. }
  1123. inline ::message::Carrier_status* Harware_statu_msg::mutable_carrier2_statu() {
  1124. set_has_carrier2_statu();
  1125. if (carrier2_statu_ == NULL) {
  1126. carrier2_statu_ = new ::message::Carrier_status;
  1127. }
  1128. // @@protoc_insertion_point(field_mutable:message.Harware_statu_msg.carrier2_statu)
  1129. return carrier2_statu_;
  1130. }
  1131. inline void Harware_statu_msg::set_allocated_carrier2_statu(::message::Carrier_status* carrier2_statu) {
  1132. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1133. if (message_arena == NULL) {
  1134. delete carrier2_statu_;
  1135. }
  1136. if (carrier2_statu) {
  1137. ::google::protobuf::Arena* submessage_arena = NULL;
  1138. if (message_arena != submessage_arena) {
  1139. carrier2_statu = ::google::protobuf::internal::GetOwnedMessage(
  1140. message_arena, carrier2_statu, submessage_arena);
  1141. }
  1142. set_has_carrier2_statu();
  1143. } else {
  1144. clear_has_carrier2_statu();
  1145. }
  1146. carrier2_statu_ = carrier2_statu;
  1147. // @@protoc_insertion_point(field_set_allocated:message.Harware_statu_msg.carrier2_statu)
  1148. }
  1149. // required .message.Carrier_status carrier3_statu = 4;
  1150. inline bool Harware_statu_msg::has_carrier3_statu() const {
  1151. return (_has_bits_[0] & 0x00000004u) != 0;
  1152. }
  1153. inline void Harware_statu_msg::set_has_carrier3_statu() {
  1154. _has_bits_[0] |= 0x00000004u;
  1155. }
  1156. inline void Harware_statu_msg::clear_has_carrier3_statu() {
  1157. _has_bits_[0] &= ~0x00000004u;
  1158. }
  1159. inline void Harware_statu_msg::clear_carrier3_statu() {
  1160. if (carrier3_statu_ != NULL) carrier3_statu_->Clear();
  1161. clear_has_carrier3_statu();
  1162. }
  1163. inline const ::message::Carrier_status& Harware_statu_msg::carrier3_statu() const {
  1164. const ::message::Carrier_status* p = carrier3_statu_;
  1165. // @@protoc_insertion_point(field_get:message.Harware_statu_msg.carrier3_statu)
  1166. return p != NULL ? *p : *reinterpret_cast<const ::message::Carrier_status*>(
  1167. &::message::_Carrier_status_default_instance_);
  1168. }
  1169. inline ::message::Carrier_status* Harware_statu_msg::release_carrier3_statu() {
  1170. // @@protoc_insertion_point(field_release:message.Harware_statu_msg.carrier3_statu)
  1171. clear_has_carrier3_statu();
  1172. ::message::Carrier_status* temp = carrier3_statu_;
  1173. carrier3_statu_ = NULL;
  1174. return temp;
  1175. }
  1176. inline ::message::Carrier_status* Harware_statu_msg::mutable_carrier3_statu() {
  1177. set_has_carrier3_statu();
  1178. if (carrier3_statu_ == NULL) {
  1179. carrier3_statu_ = new ::message::Carrier_status;
  1180. }
  1181. // @@protoc_insertion_point(field_mutable:message.Harware_statu_msg.carrier3_statu)
  1182. return carrier3_statu_;
  1183. }
  1184. inline void Harware_statu_msg::set_allocated_carrier3_statu(::message::Carrier_status* carrier3_statu) {
  1185. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1186. if (message_arena == NULL) {
  1187. delete carrier3_statu_;
  1188. }
  1189. if (carrier3_statu) {
  1190. ::google::protobuf::Arena* submessage_arena = NULL;
  1191. if (message_arena != submessage_arena) {
  1192. carrier3_statu = ::google::protobuf::internal::GetOwnedMessage(
  1193. message_arena, carrier3_statu, submessage_arena);
  1194. }
  1195. set_has_carrier3_statu();
  1196. } else {
  1197. clear_has_carrier3_statu();
  1198. }
  1199. carrier3_statu_ = carrier3_statu;
  1200. // @@protoc_insertion_point(field_set_allocated:message.Harware_statu_msg.carrier3_statu)
  1201. }
  1202. // -------------------------------------------------------------------
  1203. // Execute_request_msg
  1204. // required .message.Message_type msg_type = 1;
  1205. inline bool Execute_request_msg::has_msg_type() const {
  1206. return (_has_bits_[0] & 0x00000002u) != 0;
  1207. }
  1208. inline void Execute_request_msg::set_has_msg_type() {
  1209. _has_bits_[0] |= 0x00000002u;
  1210. }
  1211. inline void Execute_request_msg::clear_has_msg_type() {
  1212. _has_bits_[0] &= ~0x00000002u;
  1213. }
  1214. inline void Execute_request_msg::clear_msg_type() {
  1215. msg_type_ = 1;
  1216. clear_has_msg_type();
  1217. }
  1218. inline ::message::Message_type Execute_request_msg::msg_type() const {
  1219. // @@protoc_insertion_point(field_get:message.Execute_request_msg.msg_type)
  1220. return static_cast< ::message::Message_type >(msg_type_);
  1221. }
  1222. inline void Execute_request_msg::set_msg_type(::message::Message_type value) {
  1223. assert(::message::Message_type_IsValid(value));
  1224. set_has_msg_type();
  1225. msg_type_ = value;
  1226. // @@protoc_insertion_point(field_set:message.Execute_request_msg.msg_type)
  1227. }
  1228. // required .message.Command_message cmd_msg = 2;
  1229. inline bool Execute_request_msg::has_cmd_msg() const {
  1230. return (_has_bits_[0] & 0x00000001u) != 0;
  1231. }
  1232. inline void Execute_request_msg::set_has_cmd_msg() {
  1233. _has_bits_[0] |= 0x00000001u;
  1234. }
  1235. inline void Execute_request_msg::clear_has_cmd_msg() {
  1236. _has_bits_[0] &= ~0x00000001u;
  1237. }
  1238. inline const ::message::Command_message& Execute_request_msg::cmd_msg() const {
  1239. const ::message::Command_message* p = cmd_msg_;
  1240. // @@protoc_insertion_point(field_get:message.Execute_request_msg.cmd_msg)
  1241. return p != NULL ? *p : *reinterpret_cast<const ::message::Command_message*>(
  1242. &::message::_Command_message_default_instance_);
  1243. }
  1244. inline ::message::Command_message* Execute_request_msg::release_cmd_msg() {
  1245. // @@protoc_insertion_point(field_release:message.Execute_request_msg.cmd_msg)
  1246. clear_has_cmd_msg();
  1247. ::message::Command_message* temp = cmd_msg_;
  1248. cmd_msg_ = NULL;
  1249. return temp;
  1250. }
  1251. inline ::message::Command_message* Execute_request_msg::mutable_cmd_msg() {
  1252. set_has_cmd_msg();
  1253. if (cmd_msg_ == NULL) {
  1254. cmd_msg_ = new ::message::Command_message;
  1255. }
  1256. // @@protoc_insertion_point(field_mutable:message.Execute_request_msg.cmd_msg)
  1257. return cmd_msg_;
  1258. }
  1259. inline void Execute_request_msg::set_allocated_cmd_msg(::message::Command_message* cmd_msg) {
  1260. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1261. if (message_arena == NULL) {
  1262. delete reinterpret_cast< ::google::protobuf::MessageLite*>(cmd_msg_);
  1263. }
  1264. if (cmd_msg) {
  1265. ::google::protobuf::Arena* submessage_arena = NULL;
  1266. if (message_arena != submessage_arena) {
  1267. cmd_msg = ::google::protobuf::internal::GetOwnedMessage(
  1268. message_arena, cmd_msg, submessage_arena);
  1269. }
  1270. set_has_cmd_msg();
  1271. } else {
  1272. clear_has_cmd_msg();
  1273. }
  1274. cmd_msg_ = cmd_msg;
  1275. // @@protoc_insertion_point(field_set_allocated:message.Execute_request_msg.cmd_msg)
  1276. }
  1277. // optional int32 time_out = 3 [default = 200000];
  1278. inline bool Execute_request_msg::has_time_out() const {
  1279. return (_has_bits_[0] & 0x00000004u) != 0;
  1280. }
  1281. inline void Execute_request_msg::set_has_time_out() {
  1282. _has_bits_[0] |= 0x00000004u;
  1283. }
  1284. inline void Execute_request_msg::clear_has_time_out() {
  1285. _has_bits_[0] &= ~0x00000004u;
  1286. }
  1287. inline void Execute_request_msg::clear_time_out() {
  1288. time_out_ = 200000;
  1289. clear_has_time_out();
  1290. }
  1291. inline ::google::protobuf::int32 Execute_request_msg::time_out() const {
  1292. // @@protoc_insertion_point(field_get:message.Execute_request_msg.time_out)
  1293. return time_out_;
  1294. }
  1295. inline void Execute_request_msg::set_time_out(::google::protobuf::int32 value) {
  1296. set_has_time_out();
  1297. time_out_ = value;
  1298. // @@protoc_insertion_point(field_set:message.Execute_request_msg.time_out)
  1299. }
  1300. // -------------------------------------------------------------------
  1301. // Execute_response_msg
  1302. // required .message.Message_type msg_type = 1;
  1303. inline bool Execute_response_msg::has_msg_type() const {
  1304. return (_has_bits_[0] & 0x00000008u) != 0;
  1305. }
  1306. inline void Execute_response_msg::set_has_msg_type() {
  1307. _has_bits_[0] |= 0x00000008u;
  1308. }
  1309. inline void Execute_response_msg::clear_has_msg_type() {
  1310. _has_bits_[0] &= ~0x00000008u;
  1311. }
  1312. inline void Execute_response_msg::clear_msg_type() {
  1313. msg_type_ = 1;
  1314. clear_has_msg_type();
  1315. }
  1316. inline ::message::Message_type Execute_response_msg::msg_type() const {
  1317. // @@protoc_insertion_point(field_get:message.Execute_response_msg.msg_type)
  1318. return static_cast< ::message::Message_type >(msg_type_);
  1319. }
  1320. inline void Execute_response_msg::set_msg_type(::message::Message_type value) {
  1321. assert(::message::Message_type_IsValid(value));
  1322. set_has_msg_type();
  1323. msg_type_ = value;
  1324. // @@protoc_insertion_point(field_set:message.Execute_response_msg.msg_type)
  1325. }
  1326. // required .message.Command_message cmd_msg = 2;
  1327. inline bool Execute_response_msg::has_cmd_msg() const {
  1328. return (_has_bits_[0] & 0x00000002u) != 0;
  1329. }
  1330. inline void Execute_response_msg::set_has_cmd_msg() {
  1331. _has_bits_[0] |= 0x00000002u;
  1332. }
  1333. inline void Execute_response_msg::clear_has_cmd_msg() {
  1334. _has_bits_[0] &= ~0x00000002u;
  1335. }
  1336. inline const ::message::Command_message& Execute_response_msg::cmd_msg() const {
  1337. const ::message::Command_message* p = cmd_msg_;
  1338. // @@protoc_insertion_point(field_get:message.Execute_response_msg.cmd_msg)
  1339. return p != NULL ? *p : *reinterpret_cast<const ::message::Command_message*>(
  1340. &::message::_Command_message_default_instance_);
  1341. }
  1342. inline ::message::Command_message* Execute_response_msg::release_cmd_msg() {
  1343. // @@protoc_insertion_point(field_release:message.Execute_response_msg.cmd_msg)
  1344. clear_has_cmd_msg();
  1345. ::message::Command_message* temp = cmd_msg_;
  1346. cmd_msg_ = NULL;
  1347. return temp;
  1348. }
  1349. inline ::message::Command_message* Execute_response_msg::mutable_cmd_msg() {
  1350. set_has_cmd_msg();
  1351. if (cmd_msg_ == NULL) {
  1352. cmd_msg_ = new ::message::Command_message;
  1353. }
  1354. // @@protoc_insertion_point(field_mutable:message.Execute_response_msg.cmd_msg)
  1355. return cmd_msg_;
  1356. }
  1357. inline void Execute_response_msg::set_allocated_cmd_msg(::message::Command_message* cmd_msg) {
  1358. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1359. if (message_arena == NULL) {
  1360. delete reinterpret_cast< ::google::protobuf::MessageLite*>(cmd_msg_);
  1361. }
  1362. if (cmd_msg) {
  1363. ::google::protobuf::Arena* submessage_arena = NULL;
  1364. if (message_arena != submessage_arena) {
  1365. cmd_msg = ::google::protobuf::internal::GetOwnedMessage(
  1366. message_arena, cmd_msg, submessage_arena);
  1367. }
  1368. set_has_cmd_msg();
  1369. } else {
  1370. clear_has_cmd_msg();
  1371. }
  1372. cmd_msg_ = cmd_msg;
  1373. // @@protoc_insertion_point(field_set_allocated:message.Execute_response_msg.cmd_msg)
  1374. }
  1375. // required int32 error_code = 3;
  1376. inline bool Execute_response_msg::has_error_code() const {
  1377. return (_has_bits_[0] & 0x00000004u) != 0;
  1378. }
  1379. inline void Execute_response_msg::set_has_error_code() {
  1380. _has_bits_[0] |= 0x00000004u;
  1381. }
  1382. inline void Execute_response_msg::clear_has_error_code() {
  1383. _has_bits_[0] &= ~0x00000004u;
  1384. }
  1385. inline void Execute_response_msg::clear_error_code() {
  1386. error_code_ = 0;
  1387. clear_has_error_code();
  1388. }
  1389. inline ::google::protobuf::int32 Execute_response_msg::error_code() const {
  1390. // @@protoc_insertion_point(field_get:message.Execute_response_msg.error_code)
  1391. return error_code_;
  1392. }
  1393. inline void Execute_response_msg::set_error_code(::google::protobuf::int32 value) {
  1394. set_has_error_code();
  1395. error_code_ = value;
  1396. // @@protoc_insertion_point(field_set:message.Execute_response_msg.error_code)
  1397. }
  1398. // optional string error_description = 4;
  1399. inline bool Execute_response_msg::has_error_description() const {
  1400. return (_has_bits_[0] & 0x00000001u) != 0;
  1401. }
  1402. inline void Execute_response_msg::set_has_error_description() {
  1403. _has_bits_[0] |= 0x00000001u;
  1404. }
  1405. inline void Execute_response_msg::clear_has_error_description() {
  1406. _has_bits_[0] &= ~0x00000001u;
  1407. }
  1408. inline void Execute_response_msg::clear_error_description() {
  1409. error_description_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1410. clear_has_error_description();
  1411. }
  1412. inline const ::std::string& Execute_response_msg::error_description() const {
  1413. // @@protoc_insertion_point(field_get:message.Execute_response_msg.error_description)
  1414. return error_description_.GetNoArena();
  1415. }
  1416. inline void Execute_response_msg::set_error_description(const ::std::string& value) {
  1417. set_has_error_description();
  1418. error_description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1419. // @@protoc_insertion_point(field_set:message.Execute_response_msg.error_description)
  1420. }
  1421. #if LANG_CXX11
  1422. inline void Execute_response_msg::set_error_description(::std::string&& value) {
  1423. set_has_error_description();
  1424. error_description_.SetNoArena(
  1425. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1426. // @@protoc_insertion_point(field_set_rvalue:message.Execute_response_msg.error_description)
  1427. }
  1428. #endif
  1429. inline void Execute_response_msg::set_error_description(const char* value) {
  1430. GOOGLE_DCHECK(value != NULL);
  1431. set_has_error_description();
  1432. error_description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1433. // @@protoc_insertion_point(field_set_char:message.Execute_response_msg.error_description)
  1434. }
  1435. inline void Execute_response_msg::set_error_description(const char* value, size_t size) {
  1436. set_has_error_description();
  1437. error_description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1438. ::std::string(reinterpret_cast<const char*>(value), size));
  1439. // @@protoc_insertion_point(field_set_pointer:message.Execute_response_msg.error_description)
  1440. }
  1441. inline ::std::string* Execute_response_msg::mutable_error_description() {
  1442. set_has_error_description();
  1443. // @@protoc_insertion_point(field_mutable:message.Execute_response_msg.error_description)
  1444. return error_description_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1445. }
  1446. inline ::std::string* Execute_response_msg::release_error_description() {
  1447. // @@protoc_insertion_point(field_release:message.Execute_response_msg.error_description)
  1448. clear_has_error_description();
  1449. return error_description_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1450. }
  1451. inline void Execute_response_msg::set_allocated_error_description(::std::string* error_description) {
  1452. if (error_description != NULL) {
  1453. set_has_error_description();
  1454. } else {
  1455. clear_has_error_description();
  1456. }
  1457. error_description_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), error_description);
  1458. // @@protoc_insertion_point(field_set_allocated:message.Execute_response_msg.error_description)
  1459. }
  1460. #ifdef __GNUC__
  1461. #pragma GCC diagnostic pop
  1462. #endif // __GNUC__
  1463. // -------------------------------------------------------------------
  1464. // -------------------------------------------------------------------
  1465. // -------------------------------------------------------------------
  1466. // -------------------------------------------------------------------
  1467. // @@protoc_insertion_point(namespace_scope)
  1468. } // namespace message
  1469. namespace google {
  1470. namespace protobuf {
  1471. template <> struct is_proto_enum< ::message::Hardware_statu> : ::google::protobuf::internal::true_type {};
  1472. template <>
  1473. inline const EnumDescriptor* GetEnumDescriptor< ::message::Hardware_statu>() {
  1474. return ::message::Hardware_statu_descriptor();
  1475. }
  1476. } // namespace protobuf
  1477. } // namespace google
  1478. // @@protoc_insertion_point(global_scope)
  1479. #endif // PROTOBUF_hardware_5fmessage_2eproto__INCLUDED