dispatch_message.pb.h 48 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: dispatch_message.proto
  3. #ifndef PROTOBUF_dispatch_5fmessage_2eproto__INCLUDED
  4. #define PROTOBUF_dispatch_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_dispatch_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[4];
  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 InitDefaultsCarrier_positionImpl();
  42. void InitDefaultsCarrier_position();
  43. void InitDefaultsDispatch_status_msgImpl();
  44. void InitDefaultsDispatch_status_msg();
  45. void InitDefaultsDispatch_request_msgImpl();
  46. void InitDefaultsDispatch_request_msg();
  47. void InitDefaultsDispatch_response_msgImpl();
  48. void InitDefaultsDispatch_response_msg();
  49. inline void InitDefaults() {
  50. InitDefaultsCarrier_position();
  51. InitDefaultsDispatch_status_msg();
  52. InitDefaultsDispatch_request_msg();
  53. InitDefaultsDispatch_response_msg();
  54. }
  55. } // namespace protobuf_dispatch_5fmessage_2eproto
  56. namespace message {
  57. class Carrier_position;
  58. class Carrier_positionDefaultTypeInternal;
  59. extern Carrier_positionDefaultTypeInternal _Carrier_position_default_instance_;
  60. class Dispatch_request_msg;
  61. class Dispatch_request_msgDefaultTypeInternal;
  62. extern Dispatch_request_msgDefaultTypeInternal _Dispatch_request_msg_default_instance_;
  63. class Dispatch_response_msg;
  64. class Dispatch_response_msgDefaultTypeInternal;
  65. extern Dispatch_response_msgDefaultTypeInternal _Dispatch_response_msg_default_instance_;
  66. class Dispatch_status_msg;
  67. class Dispatch_status_msgDefaultTypeInternal;
  68. extern Dispatch_status_msgDefaultTypeInternal _Dispatch_status_msg_default_instance_;
  69. } // namespace message
  70. namespace message {
  71. enum Dispatch_manager_status {
  72. E_DISPATCH_MANAGER_UNKNOW = 0,
  73. E_DISPATCH_MANAGER_READY = 1,
  74. E_DISPATCH_MANAGER_STORE = 2,
  75. E_DISPATCH_MANAGER_PICKUP = 3,
  76. E_DISPATCH_MANAGER_FAULT = 10
  77. };
  78. bool Dispatch_manager_status_IsValid(int value);
  79. const Dispatch_manager_status Dispatch_manager_status_MIN = E_DISPATCH_MANAGER_UNKNOW;
  80. const Dispatch_manager_status Dispatch_manager_status_MAX = E_DISPATCH_MANAGER_FAULT;
  81. const int Dispatch_manager_status_ARRAYSIZE = Dispatch_manager_status_MAX + 1;
  82. const ::google::protobuf::EnumDescriptor* Dispatch_manager_status_descriptor();
  83. inline const ::std::string& Dispatch_manager_status_Name(Dispatch_manager_status value) {
  84. return ::google::protobuf::internal::NameOfEnum(
  85. Dispatch_manager_status_descriptor(), value);
  86. }
  87. inline bool Dispatch_manager_status_Parse(
  88. const ::std::string& name, Dispatch_manager_status* value) {
  89. return ::google::protobuf::internal::ParseNamedEnum<Dispatch_manager_status>(
  90. Dispatch_manager_status_descriptor(), name, value);
  91. }
  92. enum Carrier_status {
  93. E_CARRIER_UNKNOW = 0,
  94. E_CARRIER_READY = 1,
  95. E_CARRIER_STORE = 2,
  96. E_CARRIER_PICKUP = 3,
  97. E_CARRIER_FAULT = 10
  98. };
  99. bool Carrier_status_IsValid(int value);
  100. const Carrier_status Carrier_status_MIN = E_CARRIER_UNKNOW;
  101. const Carrier_status Carrier_status_MAX = E_CARRIER_FAULT;
  102. const int Carrier_status_ARRAYSIZE = Carrier_status_MAX + 1;
  103. const ::google::protobuf::EnumDescriptor* Carrier_status_descriptor();
  104. inline const ::std::string& Carrier_status_Name(Carrier_status value) {
  105. return ::google::protobuf::internal::NameOfEnum(
  106. Carrier_status_descriptor(), value);
  107. }
  108. inline bool Carrier_status_Parse(
  109. const ::std::string& name, Carrier_status* value) {
  110. return ::google::protobuf::internal::ParseNamedEnum<Carrier_status>(
  111. Carrier_status_descriptor(), name, value);
  112. }
  113. enum Dispatch_motion_direction {
  114. E_STORE_CAR = 0,
  115. E_PICKUP_CAR = 1
  116. };
  117. bool Dispatch_motion_direction_IsValid(int value);
  118. const Dispatch_motion_direction Dispatch_motion_direction_MIN = E_STORE_CAR;
  119. const Dispatch_motion_direction Dispatch_motion_direction_MAX = E_PICKUP_CAR;
  120. const int Dispatch_motion_direction_ARRAYSIZE = Dispatch_motion_direction_MAX + 1;
  121. const ::google::protobuf::EnumDescriptor* Dispatch_motion_direction_descriptor();
  122. inline const ::std::string& Dispatch_motion_direction_Name(Dispatch_motion_direction value) {
  123. return ::google::protobuf::internal::NameOfEnum(
  124. Dispatch_motion_direction_descriptor(), value);
  125. }
  126. inline bool Dispatch_motion_direction_Parse(
  127. const ::std::string& name, Dispatch_motion_direction* value) {
  128. return ::google::protobuf::internal::ParseNamedEnum<Dispatch_motion_direction>(
  129. Dispatch_motion_direction_descriptor(), name, value);
  130. }
  131. // ===================================================================
  132. class Carrier_position : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Carrier_position) */ {
  133. public:
  134. Carrier_position();
  135. virtual ~Carrier_position();
  136. Carrier_position(const Carrier_position& from);
  137. inline Carrier_position& operator=(const Carrier_position& from) {
  138. CopyFrom(from);
  139. return *this;
  140. }
  141. #if LANG_CXX11
  142. Carrier_position(Carrier_position&& from) noexcept
  143. : Carrier_position() {
  144. *this = ::std::move(from);
  145. }
  146. inline Carrier_position& operator=(Carrier_position&& from) noexcept {
  147. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  148. if (this != &from) InternalSwap(&from);
  149. } else {
  150. CopyFrom(from);
  151. }
  152. return *this;
  153. }
  154. #endif
  155. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  156. return _internal_metadata_.unknown_fields();
  157. }
  158. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  159. return _internal_metadata_.mutable_unknown_fields();
  160. }
  161. static const ::google::protobuf::Descriptor* descriptor();
  162. static const Carrier_position& default_instance();
  163. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  164. static inline const Carrier_position* internal_default_instance() {
  165. return reinterpret_cast<const Carrier_position*>(
  166. &_Carrier_position_default_instance_);
  167. }
  168. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  169. 0;
  170. void Swap(Carrier_position* other);
  171. friend void swap(Carrier_position& a, Carrier_position& b) {
  172. a.Swap(&b);
  173. }
  174. // implements Message ----------------------------------------------
  175. inline Carrier_position* New() const PROTOBUF_FINAL { return New(NULL); }
  176. Carrier_position* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  177. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  178. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  179. void CopyFrom(const Carrier_position& from);
  180. void MergeFrom(const Carrier_position& from);
  181. void Clear() PROTOBUF_FINAL;
  182. bool IsInitialized() const PROTOBUF_FINAL;
  183. size_t ByteSizeLong() const PROTOBUF_FINAL;
  184. bool MergePartialFromCodedStream(
  185. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  186. void SerializeWithCachedSizes(
  187. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  188. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  189. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  190. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  191. private:
  192. void SharedCtor();
  193. void SharedDtor();
  194. void SetCachedSize(int size) const PROTOBUF_FINAL;
  195. void InternalSwap(Carrier_position* other);
  196. private:
  197. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  198. return NULL;
  199. }
  200. inline void* MaybeArenaPtr() const {
  201. return NULL;
  202. }
  203. public:
  204. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  205. // nested types ----------------------------------------------------
  206. // accessors -------------------------------------------------------
  207. // required float x = 1;
  208. bool has_x() const;
  209. void clear_x();
  210. static const int kXFieldNumber = 1;
  211. float x() const;
  212. void set_x(float value);
  213. // required float y = 2;
  214. bool has_y() const;
  215. void clear_y();
  216. static const int kYFieldNumber = 2;
  217. float y() const;
  218. void set_y(float value);
  219. // required float z = 3;
  220. bool has_z() const;
  221. void clear_z();
  222. static const int kZFieldNumber = 3;
  223. float z() const;
  224. void set_z(float value);
  225. // @@protoc_insertion_point(class_scope:message.Carrier_position)
  226. private:
  227. void set_has_x();
  228. void clear_has_x();
  229. void set_has_y();
  230. void clear_has_y();
  231. void set_has_z();
  232. void clear_has_z();
  233. // helper for ByteSizeLong()
  234. size_t RequiredFieldsByteSizeFallback() const;
  235. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  236. ::google::protobuf::internal::HasBits<1> _has_bits_;
  237. mutable int _cached_size_;
  238. float x_;
  239. float y_;
  240. float z_;
  241. friend struct ::protobuf_dispatch_5fmessage_2eproto::TableStruct;
  242. friend void ::protobuf_dispatch_5fmessage_2eproto::InitDefaultsCarrier_positionImpl();
  243. };
  244. // -------------------------------------------------------------------
  245. class Dispatch_status_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Dispatch_status_msg) */ {
  246. public:
  247. Dispatch_status_msg();
  248. virtual ~Dispatch_status_msg();
  249. Dispatch_status_msg(const Dispatch_status_msg& from);
  250. inline Dispatch_status_msg& operator=(const Dispatch_status_msg& from) {
  251. CopyFrom(from);
  252. return *this;
  253. }
  254. #if LANG_CXX11
  255. Dispatch_status_msg(Dispatch_status_msg&& from) noexcept
  256. : Dispatch_status_msg() {
  257. *this = ::std::move(from);
  258. }
  259. inline Dispatch_status_msg& operator=(Dispatch_status_msg&& from) noexcept {
  260. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  261. if (this != &from) InternalSwap(&from);
  262. } else {
  263. CopyFrom(from);
  264. }
  265. return *this;
  266. }
  267. #endif
  268. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  269. return _internal_metadata_.unknown_fields();
  270. }
  271. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  272. return _internal_metadata_.mutable_unknown_fields();
  273. }
  274. static const ::google::protobuf::Descriptor* descriptor();
  275. static const Dispatch_status_msg& default_instance();
  276. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  277. static inline const Dispatch_status_msg* internal_default_instance() {
  278. return reinterpret_cast<const Dispatch_status_msg*>(
  279. &_Dispatch_status_msg_default_instance_);
  280. }
  281. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  282. 1;
  283. void Swap(Dispatch_status_msg* other);
  284. friend void swap(Dispatch_status_msg& a, Dispatch_status_msg& b) {
  285. a.Swap(&b);
  286. }
  287. // implements Message ----------------------------------------------
  288. inline Dispatch_status_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  289. Dispatch_status_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  290. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  291. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  292. void CopyFrom(const Dispatch_status_msg& from);
  293. void MergeFrom(const Dispatch_status_msg& from);
  294. void Clear() PROTOBUF_FINAL;
  295. bool IsInitialized() const PROTOBUF_FINAL;
  296. size_t ByteSizeLong() const PROTOBUF_FINAL;
  297. bool MergePartialFromCodedStream(
  298. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  299. void SerializeWithCachedSizes(
  300. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  301. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  302. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  303. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  304. private:
  305. void SharedCtor();
  306. void SharedDtor();
  307. void SetCachedSize(int size) const PROTOBUF_FINAL;
  308. void InternalSwap(Dispatch_status_msg* other);
  309. private:
  310. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  311. return NULL;
  312. }
  313. inline void* MaybeArenaPtr() const {
  314. return NULL;
  315. }
  316. public:
  317. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  318. // nested types ----------------------------------------------------
  319. // accessors -------------------------------------------------------
  320. // required .message.Base_info base_info = 1;
  321. bool has_base_info() const;
  322. void clear_base_info();
  323. static const int kBaseInfoFieldNumber = 1;
  324. const ::message::Base_info& base_info() const;
  325. ::message::Base_info* release_base_info();
  326. ::message::Base_info* mutable_base_info();
  327. void set_allocated_base_info(::message::Base_info* base_info);
  328. // required .message.Dispatch_manager_status dispatch_manager_status = 2;
  329. bool has_dispatch_manager_status() const;
  330. void clear_dispatch_manager_status();
  331. static const int kDispatchManagerStatusFieldNumber = 2;
  332. ::message::Dispatch_manager_status dispatch_manager_status() const;
  333. void set_dispatch_manager_status(::message::Dispatch_manager_status value);
  334. // @@protoc_insertion_point(class_scope:message.Dispatch_status_msg)
  335. private:
  336. void set_has_base_info();
  337. void clear_has_base_info();
  338. void set_has_dispatch_manager_status();
  339. void clear_has_dispatch_manager_status();
  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. ::message::Base_info* base_info_;
  346. int dispatch_manager_status_;
  347. friend struct ::protobuf_dispatch_5fmessage_2eproto::TableStruct;
  348. friend void ::protobuf_dispatch_5fmessage_2eproto::InitDefaultsDispatch_status_msgImpl();
  349. };
  350. // -------------------------------------------------------------------
  351. class Dispatch_request_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Dispatch_request_msg) */ {
  352. public:
  353. Dispatch_request_msg();
  354. virtual ~Dispatch_request_msg();
  355. Dispatch_request_msg(const Dispatch_request_msg& from);
  356. inline Dispatch_request_msg& operator=(const Dispatch_request_msg& from) {
  357. CopyFrom(from);
  358. return *this;
  359. }
  360. #if LANG_CXX11
  361. Dispatch_request_msg(Dispatch_request_msg&& from) noexcept
  362. : Dispatch_request_msg() {
  363. *this = ::std::move(from);
  364. }
  365. inline Dispatch_request_msg& operator=(Dispatch_request_msg&& from) noexcept {
  366. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  367. if (this != &from) InternalSwap(&from);
  368. } else {
  369. CopyFrom(from);
  370. }
  371. return *this;
  372. }
  373. #endif
  374. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  375. return _internal_metadata_.unknown_fields();
  376. }
  377. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  378. return _internal_metadata_.mutable_unknown_fields();
  379. }
  380. static const ::google::protobuf::Descriptor* descriptor();
  381. static const Dispatch_request_msg& default_instance();
  382. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  383. static inline const Dispatch_request_msg* internal_default_instance() {
  384. return reinterpret_cast<const Dispatch_request_msg*>(
  385. &_Dispatch_request_msg_default_instance_);
  386. }
  387. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  388. 2;
  389. void Swap(Dispatch_request_msg* other);
  390. friend void swap(Dispatch_request_msg& a, Dispatch_request_msg& b) {
  391. a.Swap(&b);
  392. }
  393. // implements Message ----------------------------------------------
  394. inline Dispatch_request_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  395. Dispatch_request_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  396. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  397. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  398. void CopyFrom(const Dispatch_request_msg& from);
  399. void MergeFrom(const Dispatch_request_msg& from);
  400. void Clear() PROTOBUF_FINAL;
  401. bool IsInitialized() const PROTOBUF_FINAL;
  402. size_t ByteSizeLong() const PROTOBUF_FINAL;
  403. bool MergePartialFromCodedStream(
  404. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  405. void SerializeWithCachedSizes(
  406. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  407. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  408. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  409. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  410. private:
  411. void SharedCtor();
  412. void SharedDtor();
  413. void SetCachedSize(int size) const PROTOBUF_FINAL;
  414. void InternalSwap(Dispatch_request_msg* other);
  415. private:
  416. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  417. return NULL;
  418. }
  419. inline void* MaybeArenaPtr() const {
  420. return NULL;
  421. }
  422. public:
  423. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  424. // nested types ----------------------------------------------------
  425. // accessors -------------------------------------------------------
  426. // required .message.Base_info base_info = 1;
  427. bool has_base_info() const;
  428. void clear_base_info();
  429. static const int kBaseInfoFieldNumber = 1;
  430. const ::message::Base_info& base_info() const;
  431. ::message::Base_info* release_base_info();
  432. ::message::Base_info* mutable_base_info();
  433. void set_allocated_base_info(::message::Base_info* base_info);
  434. // required .message.Command_info command_info = 2;
  435. bool has_command_info() const;
  436. void clear_command_info();
  437. static const int kCommandInfoFieldNumber = 2;
  438. const ::message::Command_info& command_info() const;
  439. ::message::Command_info* release_command_info();
  440. ::message::Command_info* mutable_command_info();
  441. void set_allocated_command_info(::message::Command_info* command_info);
  442. // optional .message.Locate_information locate_information = 6;
  443. bool has_locate_information() const;
  444. void clear_locate_information();
  445. static const int kLocateInformationFieldNumber = 6;
  446. const ::message::Locate_information& locate_information() const;
  447. ::message::Locate_information* release_locate_information();
  448. ::message::Locate_information* mutable_locate_information();
  449. void set_allocated_locate_information(::message::Locate_information* locate_information);
  450. // required .message.Dispatch_motion_direction dispatch_motion_direction = 3;
  451. bool has_dispatch_motion_direction() const;
  452. void clear_dispatch_motion_direction();
  453. static const int kDispatchMotionDirectionFieldNumber = 3;
  454. ::message::Dispatch_motion_direction dispatch_motion_direction() const;
  455. void set_dispatch_motion_direction(::message::Dispatch_motion_direction value);
  456. // required int32 terminal_id = 4;
  457. bool has_terminal_id() const;
  458. void clear_terminal_id();
  459. static const int kTerminalIdFieldNumber = 4;
  460. ::google::protobuf::int32 terminal_id() const;
  461. void set_terminal_id(::google::protobuf::int32 value);
  462. // required int32 parkspace_id = 5;
  463. bool has_parkspace_id() const;
  464. void clear_parkspace_id();
  465. static const int kParkspaceIdFieldNumber = 5;
  466. ::google::protobuf::int32 parkspace_id() const;
  467. void set_parkspace_id(::google::protobuf::int32 value);
  468. // @@protoc_insertion_point(class_scope:message.Dispatch_request_msg)
  469. private:
  470. void set_has_base_info();
  471. void clear_has_base_info();
  472. void set_has_command_info();
  473. void clear_has_command_info();
  474. void set_has_dispatch_motion_direction();
  475. void clear_has_dispatch_motion_direction();
  476. void set_has_terminal_id();
  477. void clear_has_terminal_id();
  478. void set_has_parkspace_id();
  479. void clear_has_parkspace_id();
  480. void set_has_locate_information();
  481. void clear_has_locate_information();
  482. // helper for ByteSizeLong()
  483. size_t RequiredFieldsByteSizeFallback() const;
  484. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  485. ::google::protobuf::internal::HasBits<1> _has_bits_;
  486. mutable int _cached_size_;
  487. ::message::Base_info* base_info_;
  488. ::message::Command_info* command_info_;
  489. ::message::Locate_information* locate_information_;
  490. int dispatch_motion_direction_;
  491. ::google::protobuf::int32 terminal_id_;
  492. ::google::protobuf::int32 parkspace_id_;
  493. friend struct ::protobuf_dispatch_5fmessage_2eproto::TableStruct;
  494. friend void ::protobuf_dispatch_5fmessage_2eproto::InitDefaultsDispatch_request_msgImpl();
  495. };
  496. // -------------------------------------------------------------------
  497. class Dispatch_response_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Dispatch_response_msg) */ {
  498. public:
  499. Dispatch_response_msg();
  500. virtual ~Dispatch_response_msg();
  501. Dispatch_response_msg(const Dispatch_response_msg& from);
  502. inline Dispatch_response_msg& operator=(const Dispatch_response_msg& from) {
  503. CopyFrom(from);
  504. return *this;
  505. }
  506. #if LANG_CXX11
  507. Dispatch_response_msg(Dispatch_response_msg&& from) noexcept
  508. : Dispatch_response_msg() {
  509. *this = ::std::move(from);
  510. }
  511. inline Dispatch_response_msg& operator=(Dispatch_response_msg&& from) noexcept {
  512. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  513. if (this != &from) InternalSwap(&from);
  514. } else {
  515. CopyFrom(from);
  516. }
  517. return *this;
  518. }
  519. #endif
  520. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  521. return _internal_metadata_.unknown_fields();
  522. }
  523. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  524. return _internal_metadata_.mutable_unknown_fields();
  525. }
  526. static const ::google::protobuf::Descriptor* descriptor();
  527. static const Dispatch_response_msg& default_instance();
  528. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  529. static inline const Dispatch_response_msg* internal_default_instance() {
  530. return reinterpret_cast<const Dispatch_response_msg*>(
  531. &_Dispatch_response_msg_default_instance_);
  532. }
  533. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  534. 3;
  535. void Swap(Dispatch_response_msg* other);
  536. friend void swap(Dispatch_response_msg& a, Dispatch_response_msg& b) {
  537. a.Swap(&b);
  538. }
  539. // implements Message ----------------------------------------------
  540. inline Dispatch_response_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  541. Dispatch_response_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  542. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  543. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  544. void CopyFrom(const Dispatch_response_msg& from);
  545. void MergeFrom(const Dispatch_response_msg& from);
  546. void Clear() PROTOBUF_FINAL;
  547. bool IsInitialized() const PROTOBUF_FINAL;
  548. size_t ByteSizeLong() const PROTOBUF_FINAL;
  549. bool MergePartialFromCodedStream(
  550. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  551. void SerializeWithCachedSizes(
  552. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  553. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  554. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  555. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  556. private:
  557. void SharedCtor();
  558. void SharedDtor();
  559. void SetCachedSize(int size) const PROTOBUF_FINAL;
  560. void InternalSwap(Dispatch_response_msg* other);
  561. private:
  562. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  563. return NULL;
  564. }
  565. inline void* MaybeArenaPtr() const {
  566. return NULL;
  567. }
  568. public:
  569. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  570. // nested types ----------------------------------------------------
  571. // accessors -------------------------------------------------------
  572. // required .message.Base_info base_info = 1;
  573. bool has_base_info() const;
  574. void clear_base_info();
  575. static const int kBaseInfoFieldNumber = 1;
  576. const ::message::Base_info& base_info() const;
  577. ::message::Base_info* release_base_info();
  578. ::message::Base_info* mutable_base_info();
  579. void set_allocated_base_info(::message::Base_info* base_info);
  580. // required .message.Command_info command_info = 2;
  581. bool has_command_info() const;
  582. void clear_command_info();
  583. static const int kCommandInfoFieldNumber = 2;
  584. const ::message::Command_info& command_info() const;
  585. ::message::Command_info* release_command_info();
  586. ::message::Command_info* mutable_command_info();
  587. void set_allocated_command_info(::message::Command_info* command_info);
  588. // required .message.Error_manager error_manager = 3;
  589. bool has_error_manager() const;
  590. void clear_error_manager();
  591. static const int kErrorManagerFieldNumber = 3;
  592. const ::message::Error_manager& error_manager() const;
  593. ::message::Error_manager* release_error_manager();
  594. ::message::Error_manager* mutable_error_manager();
  595. void set_allocated_error_manager(::message::Error_manager* error_manager);
  596. // @@protoc_insertion_point(class_scope:message.Dispatch_response_msg)
  597. private:
  598. void set_has_base_info();
  599. void clear_has_base_info();
  600. void set_has_command_info();
  601. void clear_has_command_info();
  602. void set_has_error_manager();
  603. void clear_has_error_manager();
  604. // helper for ByteSizeLong()
  605. size_t RequiredFieldsByteSizeFallback() const;
  606. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  607. ::google::protobuf::internal::HasBits<1> _has_bits_;
  608. mutable int _cached_size_;
  609. ::message::Base_info* base_info_;
  610. ::message::Command_info* command_info_;
  611. ::message::Error_manager* error_manager_;
  612. friend struct ::protobuf_dispatch_5fmessage_2eproto::TableStruct;
  613. friend void ::protobuf_dispatch_5fmessage_2eproto::InitDefaultsDispatch_response_msgImpl();
  614. };
  615. // ===================================================================
  616. // ===================================================================
  617. #ifdef __GNUC__
  618. #pragma GCC diagnostic push
  619. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  620. #endif // __GNUC__
  621. // Carrier_position
  622. // required float x = 1;
  623. inline bool Carrier_position::has_x() const {
  624. return (_has_bits_[0] & 0x00000001u) != 0;
  625. }
  626. inline void Carrier_position::set_has_x() {
  627. _has_bits_[0] |= 0x00000001u;
  628. }
  629. inline void Carrier_position::clear_has_x() {
  630. _has_bits_[0] &= ~0x00000001u;
  631. }
  632. inline void Carrier_position::clear_x() {
  633. x_ = 0;
  634. clear_has_x();
  635. }
  636. inline float Carrier_position::x() const {
  637. // @@protoc_insertion_point(field_get:message.Carrier_position.x)
  638. return x_;
  639. }
  640. inline void Carrier_position::set_x(float value) {
  641. set_has_x();
  642. x_ = value;
  643. // @@protoc_insertion_point(field_set:message.Carrier_position.x)
  644. }
  645. // required float y = 2;
  646. inline bool Carrier_position::has_y() const {
  647. return (_has_bits_[0] & 0x00000002u) != 0;
  648. }
  649. inline void Carrier_position::set_has_y() {
  650. _has_bits_[0] |= 0x00000002u;
  651. }
  652. inline void Carrier_position::clear_has_y() {
  653. _has_bits_[0] &= ~0x00000002u;
  654. }
  655. inline void Carrier_position::clear_y() {
  656. y_ = 0;
  657. clear_has_y();
  658. }
  659. inline float Carrier_position::y() const {
  660. // @@protoc_insertion_point(field_get:message.Carrier_position.y)
  661. return y_;
  662. }
  663. inline void Carrier_position::set_y(float value) {
  664. set_has_y();
  665. y_ = value;
  666. // @@protoc_insertion_point(field_set:message.Carrier_position.y)
  667. }
  668. // required float z = 3;
  669. inline bool Carrier_position::has_z() const {
  670. return (_has_bits_[0] & 0x00000004u) != 0;
  671. }
  672. inline void Carrier_position::set_has_z() {
  673. _has_bits_[0] |= 0x00000004u;
  674. }
  675. inline void Carrier_position::clear_has_z() {
  676. _has_bits_[0] &= ~0x00000004u;
  677. }
  678. inline void Carrier_position::clear_z() {
  679. z_ = 0;
  680. clear_has_z();
  681. }
  682. inline float Carrier_position::z() const {
  683. // @@protoc_insertion_point(field_get:message.Carrier_position.z)
  684. return z_;
  685. }
  686. inline void Carrier_position::set_z(float value) {
  687. set_has_z();
  688. z_ = value;
  689. // @@protoc_insertion_point(field_set:message.Carrier_position.z)
  690. }
  691. // -------------------------------------------------------------------
  692. // Dispatch_status_msg
  693. // required .message.Base_info base_info = 1;
  694. inline bool Dispatch_status_msg::has_base_info() const {
  695. return (_has_bits_[0] & 0x00000001u) != 0;
  696. }
  697. inline void Dispatch_status_msg::set_has_base_info() {
  698. _has_bits_[0] |= 0x00000001u;
  699. }
  700. inline void Dispatch_status_msg::clear_has_base_info() {
  701. _has_bits_[0] &= ~0x00000001u;
  702. }
  703. inline const ::message::Base_info& Dispatch_status_msg::base_info() const {
  704. const ::message::Base_info* p = base_info_;
  705. // @@protoc_insertion_point(field_get:message.Dispatch_status_msg.base_info)
  706. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  707. &::message::_Base_info_default_instance_);
  708. }
  709. inline ::message::Base_info* Dispatch_status_msg::release_base_info() {
  710. // @@protoc_insertion_point(field_release:message.Dispatch_status_msg.base_info)
  711. clear_has_base_info();
  712. ::message::Base_info* temp = base_info_;
  713. base_info_ = NULL;
  714. return temp;
  715. }
  716. inline ::message::Base_info* Dispatch_status_msg::mutable_base_info() {
  717. set_has_base_info();
  718. if (base_info_ == NULL) {
  719. base_info_ = new ::message::Base_info;
  720. }
  721. // @@protoc_insertion_point(field_mutable:message.Dispatch_status_msg.base_info)
  722. return base_info_;
  723. }
  724. inline void Dispatch_status_msg::set_allocated_base_info(::message::Base_info* base_info) {
  725. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  726. if (message_arena == NULL) {
  727. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  728. }
  729. if (base_info) {
  730. ::google::protobuf::Arena* submessage_arena = NULL;
  731. if (message_arena != submessage_arena) {
  732. base_info = ::google::protobuf::internal::GetOwnedMessage(
  733. message_arena, base_info, submessage_arena);
  734. }
  735. set_has_base_info();
  736. } else {
  737. clear_has_base_info();
  738. }
  739. base_info_ = base_info;
  740. // @@protoc_insertion_point(field_set_allocated:message.Dispatch_status_msg.base_info)
  741. }
  742. // required .message.Dispatch_manager_status dispatch_manager_status = 2;
  743. inline bool Dispatch_status_msg::has_dispatch_manager_status() const {
  744. return (_has_bits_[0] & 0x00000002u) != 0;
  745. }
  746. inline void Dispatch_status_msg::set_has_dispatch_manager_status() {
  747. _has_bits_[0] |= 0x00000002u;
  748. }
  749. inline void Dispatch_status_msg::clear_has_dispatch_manager_status() {
  750. _has_bits_[0] &= ~0x00000002u;
  751. }
  752. inline void Dispatch_status_msg::clear_dispatch_manager_status() {
  753. dispatch_manager_status_ = 0;
  754. clear_has_dispatch_manager_status();
  755. }
  756. inline ::message::Dispatch_manager_status Dispatch_status_msg::dispatch_manager_status() const {
  757. // @@protoc_insertion_point(field_get:message.Dispatch_status_msg.dispatch_manager_status)
  758. return static_cast< ::message::Dispatch_manager_status >(dispatch_manager_status_);
  759. }
  760. inline void Dispatch_status_msg::set_dispatch_manager_status(::message::Dispatch_manager_status value) {
  761. assert(::message::Dispatch_manager_status_IsValid(value));
  762. set_has_dispatch_manager_status();
  763. dispatch_manager_status_ = value;
  764. // @@protoc_insertion_point(field_set:message.Dispatch_status_msg.dispatch_manager_status)
  765. }
  766. // -------------------------------------------------------------------
  767. // Dispatch_request_msg
  768. // required .message.Base_info base_info = 1;
  769. inline bool Dispatch_request_msg::has_base_info() const {
  770. return (_has_bits_[0] & 0x00000001u) != 0;
  771. }
  772. inline void Dispatch_request_msg::set_has_base_info() {
  773. _has_bits_[0] |= 0x00000001u;
  774. }
  775. inline void Dispatch_request_msg::clear_has_base_info() {
  776. _has_bits_[0] &= ~0x00000001u;
  777. }
  778. inline const ::message::Base_info& Dispatch_request_msg::base_info() const {
  779. const ::message::Base_info* p = base_info_;
  780. // @@protoc_insertion_point(field_get:message.Dispatch_request_msg.base_info)
  781. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  782. &::message::_Base_info_default_instance_);
  783. }
  784. inline ::message::Base_info* Dispatch_request_msg::release_base_info() {
  785. // @@protoc_insertion_point(field_release:message.Dispatch_request_msg.base_info)
  786. clear_has_base_info();
  787. ::message::Base_info* temp = base_info_;
  788. base_info_ = NULL;
  789. return temp;
  790. }
  791. inline ::message::Base_info* Dispatch_request_msg::mutable_base_info() {
  792. set_has_base_info();
  793. if (base_info_ == NULL) {
  794. base_info_ = new ::message::Base_info;
  795. }
  796. // @@protoc_insertion_point(field_mutable:message.Dispatch_request_msg.base_info)
  797. return base_info_;
  798. }
  799. inline void Dispatch_request_msg::set_allocated_base_info(::message::Base_info* base_info) {
  800. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  801. if (message_arena == NULL) {
  802. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  803. }
  804. if (base_info) {
  805. ::google::protobuf::Arena* submessage_arena = NULL;
  806. if (message_arena != submessage_arena) {
  807. base_info = ::google::protobuf::internal::GetOwnedMessage(
  808. message_arena, base_info, submessage_arena);
  809. }
  810. set_has_base_info();
  811. } else {
  812. clear_has_base_info();
  813. }
  814. base_info_ = base_info;
  815. // @@protoc_insertion_point(field_set_allocated:message.Dispatch_request_msg.base_info)
  816. }
  817. // required .message.Command_info command_info = 2;
  818. inline bool Dispatch_request_msg::has_command_info() const {
  819. return (_has_bits_[0] & 0x00000002u) != 0;
  820. }
  821. inline void Dispatch_request_msg::set_has_command_info() {
  822. _has_bits_[0] |= 0x00000002u;
  823. }
  824. inline void Dispatch_request_msg::clear_has_command_info() {
  825. _has_bits_[0] &= ~0x00000002u;
  826. }
  827. inline const ::message::Command_info& Dispatch_request_msg::command_info() const {
  828. const ::message::Command_info* p = command_info_;
  829. // @@protoc_insertion_point(field_get:message.Dispatch_request_msg.command_info)
  830. return p != NULL ? *p : *reinterpret_cast<const ::message::Command_info*>(
  831. &::message::_Command_info_default_instance_);
  832. }
  833. inline ::message::Command_info* Dispatch_request_msg::release_command_info() {
  834. // @@protoc_insertion_point(field_release:message.Dispatch_request_msg.command_info)
  835. clear_has_command_info();
  836. ::message::Command_info* temp = command_info_;
  837. command_info_ = NULL;
  838. return temp;
  839. }
  840. inline ::message::Command_info* Dispatch_request_msg::mutable_command_info() {
  841. set_has_command_info();
  842. if (command_info_ == NULL) {
  843. command_info_ = new ::message::Command_info;
  844. }
  845. // @@protoc_insertion_point(field_mutable:message.Dispatch_request_msg.command_info)
  846. return command_info_;
  847. }
  848. inline void Dispatch_request_msg::set_allocated_command_info(::message::Command_info* command_info) {
  849. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  850. if (message_arena == NULL) {
  851. delete reinterpret_cast< ::google::protobuf::MessageLite*>(command_info_);
  852. }
  853. if (command_info) {
  854. ::google::protobuf::Arena* submessage_arena = NULL;
  855. if (message_arena != submessage_arena) {
  856. command_info = ::google::protobuf::internal::GetOwnedMessage(
  857. message_arena, command_info, submessage_arena);
  858. }
  859. set_has_command_info();
  860. } else {
  861. clear_has_command_info();
  862. }
  863. command_info_ = command_info;
  864. // @@protoc_insertion_point(field_set_allocated:message.Dispatch_request_msg.command_info)
  865. }
  866. // required .message.Dispatch_motion_direction dispatch_motion_direction = 3;
  867. inline bool Dispatch_request_msg::has_dispatch_motion_direction() const {
  868. return (_has_bits_[0] & 0x00000008u) != 0;
  869. }
  870. inline void Dispatch_request_msg::set_has_dispatch_motion_direction() {
  871. _has_bits_[0] |= 0x00000008u;
  872. }
  873. inline void Dispatch_request_msg::clear_has_dispatch_motion_direction() {
  874. _has_bits_[0] &= ~0x00000008u;
  875. }
  876. inline void Dispatch_request_msg::clear_dispatch_motion_direction() {
  877. dispatch_motion_direction_ = 0;
  878. clear_has_dispatch_motion_direction();
  879. }
  880. inline ::message::Dispatch_motion_direction Dispatch_request_msg::dispatch_motion_direction() const {
  881. // @@protoc_insertion_point(field_get:message.Dispatch_request_msg.dispatch_motion_direction)
  882. return static_cast< ::message::Dispatch_motion_direction >(dispatch_motion_direction_);
  883. }
  884. inline void Dispatch_request_msg::set_dispatch_motion_direction(::message::Dispatch_motion_direction value) {
  885. assert(::message::Dispatch_motion_direction_IsValid(value));
  886. set_has_dispatch_motion_direction();
  887. dispatch_motion_direction_ = value;
  888. // @@protoc_insertion_point(field_set:message.Dispatch_request_msg.dispatch_motion_direction)
  889. }
  890. // required int32 terminal_id = 4;
  891. inline bool Dispatch_request_msg::has_terminal_id() const {
  892. return (_has_bits_[0] & 0x00000010u) != 0;
  893. }
  894. inline void Dispatch_request_msg::set_has_terminal_id() {
  895. _has_bits_[0] |= 0x00000010u;
  896. }
  897. inline void Dispatch_request_msg::clear_has_terminal_id() {
  898. _has_bits_[0] &= ~0x00000010u;
  899. }
  900. inline void Dispatch_request_msg::clear_terminal_id() {
  901. terminal_id_ = 0;
  902. clear_has_terminal_id();
  903. }
  904. inline ::google::protobuf::int32 Dispatch_request_msg::terminal_id() const {
  905. // @@protoc_insertion_point(field_get:message.Dispatch_request_msg.terminal_id)
  906. return terminal_id_;
  907. }
  908. inline void Dispatch_request_msg::set_terminal_id(::google::protobuf::int32 value) {
  909. set_has_terminal_id();
  910. terminal_id_ = value;
  911. // @@protoc_insertion_point(field_set:message.Dispatch_request_msg.terminal_id)
  912. }
  913. // required int32 parkspace_id = 5;
  914. inline bool Dispatch_request_msg::has_parkspace_id() const {
  915. return (_has_bits_[0] & 0x00000020u) != 0;
  916. }
  917. inline void Dispatch_request_msg::set_has_parkspace_id() {
  918. _has_bits_[0] |= 0x00000020u;
  919. }
  920. inline void Dispatch_request_msg::clear_has_parkspace_id() {
  921. _has_bits_[0] &= ~0x00000020u;
  922. }
  923. inline void Dispatch_request_msg::clear_parkspace_id() {
  924. parkspace_id_ = 0;
  925. clear_has_parkspace_id();
  926. }
  927. inline ::google::protobuf::int32 Dispatch_request_msg::parkspace_id() const {
  928. // @@protoc_insertion_point(field_get:message.Dispatch_request_msg.parkspace_id)
  929. return parkspace_id_;
  930. }
  931. inline void Dispatch_request_msg::set_parkspace_id(::google::protobuf::int32 value) {
  932. set_has_parkspace_id();
  933. parkspace_id_ = value;
  934. // @@protoc_insertion_point(field_set:message.Dispatch_request_msg.parkspace_id)
  935. }
  936. // optional .message.Locate_information locate_information = 6;
  937. inline bool Dispatch_request_msg::has_locate_information() const {
  938. return (_has_bits_[0] & 0x00000004u) != 0;
  939. }
  940. inline void Dispatch_request_msg::set_has_locate_information() {
  941. _has_bits_[0] |= 0x00000004u;
  942. }
  943. inline void Dispatch_request_msg::clear_has_locate_information() {
  944. _has_bits_[0] &= ~0x00000004u;
  945. }
  946. inline const ::message::Locate_information& Dispatch_request_msg::locate_information() const {
  947. const ::message::Locate_information* p = locate_information_;
  948. // @@protoc_insertion_point(field_get:message.Dispatch_request_msg.locate_information)
  949. return p != NULL ? *p : *reinterpret_cast<const ::message::Locate_information*>(
  950. &::message::_Locate_information_default_instance_);
  951. }
  952. inline ::message::Locate_information* Dispatch_request_msg::release_locate_information() {
  953. // @@protoc_insertion_point(field_release:message.Dispatch_request_msg.locate_information)
  954. clear_has_locate_information();
  955. ::message::Locate_information* temp = locate_information_;
  956. locate_information_ = NULL;
  957. return temp;
  958. }
  959. inline ::message::Locate_information* Dispatch_request_msg::mutable_locate_information() {
  960. set_has_locate_information();
  961. if (locate_information_ == NULL) {
  962. locate_information_ = new ::message::Locate_information;
  963. }
  964. // @@protoc_insertion_point(field_mutable:message.Dispatch_request_msg.locate_information)
  965. return locate_information_;
  966. }
  967. inline void Dispatch_request_msg::set_allocated_locate_information(::message::Locate_information* locate_information) {
  968. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  969. if (message_arena == NULL) {
  970. delete reinterpret_cast< ::google::protobuf::MessageLite*>(locate_information_);
  971. }
  972. if (locate_information) {
  973. ::google::protobuf::Arena* submessage_arena = NULL;
  974. if (message_arena != submessage_arena) {
  975. locate_information = ::google::protobuf::internal::GetOwnedMessage(
  976. message_arena, locate_information, submessage_arena);
  977. }
  978. set_has_locate_information();
  979. } else {
  980. clear_has_locate_information();
  981. }
  982. locate_information_ = locate_information;
  983. // @@protoc_insertion_point(field_set_allocated:message.Dispatch_request_msg.locate_information)
  984. }
  985. // -------------------------------------------------------------------
  986. // Dispatch_response_msg
  987. // required .message.Base_info base_info = 1;
  988. inline bool Dispatch_response_msg::has_base_info() const {
  989. return (_has_bits_[0] & 0x00000001u) != 0;
  990. }
  991. inline void Dispatch_response_msg::set_has_base_info() {
  992. _has_bits_[0] |= 0x00000001u;
  993. }
  994. inline void Dispatch_response_msg::clear_has_base_info() {
  995. _has_bits_[0] &= ~0x00000001u;
  996. }
  997. inline const ::message::Base_info& Dispatch_response_msg::base_info() const {
  998. const ::message::Base_info* p = base_info_;
  999. // @@protoc_insertion_point(field_get:message.Dispatch_response_msg.base_info)
  1000. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  1001. &::message::_Base_info_default_instance_);
  1002. }
  1003. inline ::message::Base_info* Dispatch_response_msg::release_base_info() {
  1004. // @@protoc_insertion_point(field_release:message.Dispatch_response_msg.base_info)
  1005. clear_has_base_info();
  1006. ::message::Base_info* temp = base_info_;
  1007. base_info_ = NULL;
  1008. return temp;
  1009. }
  1010. inline ::message::Base_info* Dispatch_response_msg::mutable_base_info() {
  1011. set_has_base_info();
  1012. if (base_info_ == NULL) {
  1013. base_info_ = new ::message::Base_info;
  1014. }
  1015. // @@protoc_insertion_point(field_mutable:message.Dispatch_response_msg.base_info)
  1016. return base_info_;
  1017. }
  1018. inline void Dispatch_response_msg::set_allocated_base_info(::message::Base_info* base_info) {
  1019. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1020. if (message_arena == NULL) {
  1021. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  1022. }
  1023. if (base_info) {
  1024. ::google::protobuf::Arena* submessage_arena = NULL;
  1025. if (message_arena != submessage_arena) {
  1026. base_info = ::google::protobuf::internal::GetOwnedMessage(
  1027. message_arena, base_info, submessage_arena);
  1028. }
  1029. set_has_base_info();
  1030. } else {
  1031. clear_has_base_info();
  1032. }
  1033. base_info_ = base_info;
  1034. // @@protoc_insertion_point(field_set_allocated:message.Dispatch_response_msg.base_info)
  1035. }
  1036. // required .message.Command_info command_info = 2;
  1037. inline bool Dispatch_response_msg::has_command_info() const {
  1038. return (_has_bits_[0] & 0x00000002u) != 0;
  1039. }
  1040. inline void Dispatch_response_msg::set_has_command_info() {
  1041. _has_bits_[0] |= 0x00000002u;
  1042. }
  1043. inline void Dispatch_response_msg::clear_has_command_info() {
  1044. _has_bits_[0] &= ~0x00000002u;
  1045. }
  1046. inline const ::message::Command_info& Dispatch_response_msg::command_info() const {
  1047. const ::message::Command_info* p = command_info_;
  1048. // @@protoc_insertion_point(field_get:message.Dispatch_response_msg.command_info)
  1049. return p != NULL ? *p : *reinterpret_cast<const ::message::Command_info*>(
  1050. &::message::_Command_info_default_instance_);
  1051. }
  1052. inline ::message::Command_info* Dispatch_response_msg::release_command_info() {
  1053. // @@protoc_insertion_point(field_release:message.Dispatch_response_msg.command_info)
  1054. clear_has_command_info();
  1055. ::message::Command_info* temp = command_info_;
  1056. command_info_ = NULL;
  1057. return temp;
  1058. }
  1059. inline ::message::Command_info* Dispatch_response_msg::mutable_command_info() {
  1060. set_has_command_info();
  1061. if (command_info_ == NULL) {
  1062. command_info_ = new ::message::Command_info;
  1063. }
  1064. // @@protoc_insertion_point(field_mutable:message.Dispatch_response_msg.command_info)
  1065. return command_info_;
  1066. }
  1067. inline void Dispatch_response_msg::set_allocated_command_info(::message::Command_info* command_info) {
  1068. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1069. if (message_arena == NULL) {
  1070. delete reinterpret_cast< ::google::protobuf::MessageLite*>(command_info_);
  1071. }
  1072. if (command_info) {
  1073. ::google::protobuf::Arena* submessage_arena = NULL;
  1074. if (message_arena != submessage_arena) {
  1075. command_info = ::google::protobuf::internal::GetOwnedMessage(
  1076. message_arena, command_info, submessage_arena);
  1077. }
  1078. set_has_command_info();
  1079. } else {
  1080. clear_has_command_info();
  1081. }
  1082. command_info_ = command_info;
  1083. // @@protoc_insertion_point(field_set_allocated:message.Dispatch_response_msg.command_info)
  1084. }
  1085. // required .message.Error_manager error_manager = 3;
  1086. inline bool Dispatch_response_msg::has_error_manager() const {
  1087. return (_has_bits_[0] & 0x00000004u) != 0;
  1088. }
  1089. inline void Dispatch_response_msg::set_has_error_manager() {
  1090. _has_bits_[0] |= 0x00000004u;
  1091. }
  1092. inline void Dispatch_response_msg::clear_has_error_manager() {
  1093. _has_bits_[0] &= ~0x00000004u;
  1094. }
  1095. inline const ::message::Error_manager& Dispatch_response_msg::error_manager() const {
  1096. const ::message::Error_manager* p = error_manager_;
  1097. // @@protoc_insertion_point(field_get:message.Dispatch_response_msg.error_manager)
  1098. return p != NULL ? *p : *reinterpret_cast<const ::message::Error_manager*>(
  1099. &::message::_Error_manager_default_instance_);
  1100. }
  1101. inline ::message::Error_manager* Dispatch_response_msg::release_error_manager() {
  1102. // @@protoc_insertion_point(field_release:message.Dispatch_response_msg.error_manager)
  1103. clear_has_error_manager();
  1104. ::message::Error_manager* temp = error_manager_;
  1105. error_manager_ = NULL;
  1106. return temp;
  1107. }
  1108. inline ::message::Error_manager* Dispatch_response_msg::mutable_error_manager() {
  1109. set_has_error_manager();
  1110. if (error_manager_ == NULL) {
  1111. error_manager_ = new ::message::Error_manager;
  1112. }
  1113. // @@protoc_insertion_point(field_mutable:message.Dispatch_response_msg.error_manager)
  1114. return error_manager_;
  1115. }
  1116. inline void Dispatch_response_msg::set_allocated_error_manager(::message::Error_manager* error_manager) {
  1117. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1118. if (message_arena == NULL) {
  1119. delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_manager_);
  1120. }
  1121. if (error_manager) {
  1122. ::google::protobuf::Arena* submessage_arena = NULL;
  1123. if (message_arena != submessage_arena) {
  1124. error_manager = ::google::protobuf::internal::GetOwnedMessage(
  1125. message_arena, error_manager, submessage_arena);
  1126. }
  1127. set_has_error_manager();
  1128. } else {
  1129. clear_has_error_manager();
  1130. }
  1131. error_manager_ = error_manager;
  1132. // @@protoc_insertion_point(field_set_allocated:message.Dispatch_response_msg.error_manager)
  1133. }
  1134. #ifdef __GNUC__
  1135. #pragma GCC diagnostic pop
  1136. #endif // __GNUC__
  1137. // -------------------------------------------------------------------
  1138. // -------------------------------------------------------------------
  1139. // -------------------------------------------------------------------
  1140. // @@protoc_insertion_point(namespace_scope)
  1141. } // namespace message
  1142. namespace google {
  1143. namespace protobuf {
  1144. template <> struct is_proto_enum< ::message::Dispatch_manager_status> : ::google::protobuf::internal::true_type {};
  1145. template <>
  1146. inline const EnumDescriptor* GetEnumDescriptor< ::message::Dispatch_manager_status>() {
  1147. return ::message::Dispatch_manager_status_descriptor();
  1148. }
  1149. template <> struct is_proto_enum< ::message::Carrier_status> : ::google::protobuf::internal::true_type {};
  1150. template <>
  1151. inline const EnumDescriptor* GetEnumDescriptor< ::message::Carrier_status>() {
  1152. return ::message::Carrier_status_descriptor();
  1153. }
  1154. template <> struct is_proto_enum< ::message::Dispatch_motion_direction> : ::google::protobuf::internal::true_type {};
  1155. template <>
  1156. inline const EnumDescriptor* GetEnumDescriptor< ::message::Dispatch_motion_direction>() {
  1157. return ::message::Dispatch_motion_direction_descriptor();
  1158. }
  1159. } // namespace protobuf
  1160. } // namespace google
  1161. // @@protoc_insertion_point(global_scope)
  1162. #endif // PROTOBUF_dispatch_5fmessage_2eproto__INCLUDED