dispatch_message.pb.h 45 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232
  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. // optional .message.Locate_information locate_information = 6;
  435. bool has_locate_information() const;
  436. void clear_locate_information();
  437. static const int kLocateInformationFieldNumber = 6;
  438. const ::message::Locate_information& locate_information() const;
  439. ::message::Locate_information* release_locate_information();
  440. ::message::Locate_information* mutable_locate_information();
  441. void set_allocated_locate_information(::message::Locate_information* locate_information);
  442. // required int32 command_id = 2;
  443. bool has_command_id() const;
  444. void clear_command_id();
  445. static const int kCommandIdFieldNumber = 2;
  446. ::google::protobuf::int32 command_id() const;
  447. void set_command_id(::google::protobuf::int32 value);
  448. // required .message.Dispatch_motion_direction dispatch_motion_direction = 3;
  449. bool has_dispatch_motion_direction() const;
  450. void clear_dispatch_motion_direction();
  451. static const int kDispatchMotionDirectionFieldNumber = 3;
  452. ::message::Dispatch_motion_direction dispatch_motion_direction() const;
  453. void set_dispatch_motion_direction(::message::Dispatch_motion_direction value);
  454. // required int32 terminal_id = 4;
  455. bool has_terminal_id() const;
  456. void clear_terminal_id();
  457. static const int kTerminalIdFieldNumber = 4;
  458. ::google::protobuf::int32 terminal_id() const;
  459. void set_terminal_id(::google::protobuf::int32 value);
  460. // required int32 parkspace_id = 5;
  461. bool has_parkspace_id() const;
  462. void clear_parkspace_id();
  463. static const int kParkspaceIdFieldNumber = 5;
  464. ::google::protobuf::int32 parkspace_id() const;
  465. void set_parkspace_id(::google::protobuf::int32 value);
  466. // @@protoc_insertion_point(class_scope:message.Dispatch_request_msg)
  467. private:
  468. void set_has_base_info();
  469. void clear_has_base_info();
  470. void set_has_command_id();
  471. void clear_has_command_id();
  472. void set_has_dispatch_motion_direction();
  473. void clear_has_dispatch_motion_direction();
  474. void set_has_terminal_id();
  475. void clear_has_terminal_id();
  476. void set_has_parkspace_id();
  477. void clear_has_parkspace_id();
  478. void set_has_locate_information();
  479. void clear_has_locate_information();
  480. // helper for ByteSizeLong()
  481. size_t RequiredFieldsByteSizeFallback() const;
  482. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  483. ::google::protobuf::internal::HasBits<1> _has_bits_;
  484. mutable int _cached_size_;
  485. ::message::Base_info* base_info_;
  486. ::message::Locate_information* locate_information_;
  487. ::google::protobuf::int32 command_id_;
  488. int dispatch_motion_direction_;
  489. ::google::protobuf::int32 terminal_id_;
  490. ::google::protobuf::int32 parkspace_id_;
  491. friend struct ::protobuf_dispatch_5fmessage_2eproto::TableStruct;
  492. friend void ::protobuf_dispatch_5fmessage_2eproto::InitDefaultsDispatch_request_msgImpl();
  493. };
  494. // -------------------------------------------------------------------
  495. class Dispatch_response_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Dispatch_response_msg) */ {
  496. public:
  497. Dispatch_response_msg();
  498. virtual ~Dispatch_response_msg();
  499. Dispatch_response_msg(const Dispatch_response_msg& from);
  500. inline Dispatch_response_msg& operator=(const Dispatch_response_msg& from) {
  501. CopyFrom(from);
  502. return *this;
  503. }
  504. #if LANG_CXX11
  505. Dispatch_response_msg(Dispatch_response_msg&& from) noexcept
  506. : Dispatch_response_msg() {
  507. *this = ::std::move(from);
  508. }
  509. inline Dispatch_response_msg& operator=(Dispatch_response_msg&& from) noexcept {
  510. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  511. if (this != &from) InternalSwap(&from);
  512. } else {
  513. CopyFrom(from);
  514. }
  515. return *this;
  516. }
  517. #endif
  518. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  519. return _internal_metadata_.unknown_fields();
  520. }
  521. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  522. return _internal_metadata_.mutable_unknown_fields();
  523. }
  524. static const ::google::protobuf::Descriptor* descriptor();
  525. static const Dispatch_response_msg& default_instance();
  526. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  527. static inline const Dispatch_response_msg* internal_default_instance() {
  528. return reinterpret_cast<const Dispatch_response_msg*>(
  529. &_Dispatch_response_msg_default_instance_);
  530. }
  531. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  532. 3;
  533. void Swap(Dispatch_response_msg* other);
  534. friend void swap(Dispatch_response_msg& a, Dispatch_response_msg& b) {
  535. a.Swap(&b);
  536. }
  537. // implements Message ----------------------------------------------
  538. inline Dispatch_response_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  539. Dispatch_response_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  540. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  541. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  542. void CopyFrom(const Dispatch_response_msg& from);
  543. void MergeFrom(const Dispatch_response_msg& from);
  544. void Clear() PROTOBUF_FINAL;
  545. bool IsInitialized() const PROTOBUF_FINAL;
  546. size_t ByteSizeLong() const PROTOBUF_FINAL;
  547. bool MergePartialFromCodedStream(
  548. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  549. void SerializeWithCachedSizes(
  550. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  551. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  552. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  553. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  554. private:
  555. void SharedCtor();
  556. void SharedDtor();
  557. void SetCachedSize(int size) const PROTOBUF_FINAL;
  558. void InternalSwap(Dispatch_response_msg* other);
  559. private:
  560. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  561. return NULL;
  562. }
  563. inline void* MaybeArenaPtr() const {
  564. return NULL;
  565. }
  566. public:
  567. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  568. // nested types ----------------------------------------------------
  569. // accessors -------------------------------------------------------
  570. // required .message.Base_info base_info = 1;
  571. bool has_base_info() const;
  572. void clear_base_info();
  573. static const int kBaseInfoFieldNumber = 1;
  574. const ::message::Base_info& base_info() const;
  575. ::message::Base_info* release_base_info();
  576. ::message::Base_info* mutable_base_info();
  577. void set_allocated_base_info(::message::Base_info* base_info);
  578. // required .message.Error_manager error_manager = 3;
  579. bool has_error_manager() const;
  580. void clear_error_manager();
  581. static const int kErrorManagerFieldNumber = 3;
  582. const ::message::Error_manager& error_manager() const;
  583. ::message::Error_manager* release_error_manager();
  584. ::message::Error_manager* mutable_error_manager();
  585. void set_allocated_error_manager(::message::Error_manager* error_manager);
  586. // required int32 command_id = 2;
  587. bool has_command_id() const;
  588. void clear_command_id();
  589. static const int kCommandIdFieldNumber = 2;
  590. ::google::protobuf::int32 command_id() const;
  591. void set_command_id(::google::protobuf::int32 value);
  592. // @@protoc_insertion_point(class_scope:message.Dispatch_response_msg)
  593. private:
  594. void set_has_base_info();
  595. void clear_has_base_info();
  596. void set_has_command_id();
  597. void clear_has_command_id();
  598. void set_has_error_manager();
  599. void clear_has_error_manager();
  600. // helper for ByteSizeLong()
  601. size_t RequiredFieldsByteSizeFallback() const;
  602. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  603. ::google::protobuf::internal::HasBits<1> _has_bits_;
  604. mutable int _cached_size_;
  605. ::message::Base_info* base_info_;
  606. ::message::Error_manager* error_manager_;
  607. ::google::protobuf::int32 command_id_;
  608. friend struct ::protobuf_dispatch_5fmessage_2eproto::TableStruct;
  609. friend void ::protobuf_dispatch_5fmessage_2eproto::InitDefaultsDispatch_response_msgImpl();
  610. };
  611. // ===================================================================
  612. // ===================================================================
  613. #ifdef __GNUC__
  614. #pragma GCC diagnostic push
  615. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  616. #endif // __GNUC__
  617. // Carrier_position
  618. // required float x = 1;
  619. inline bool Carrier_position::has_x() const {
  620. return (_has_bits_[0] & 0x00000001u) != 0;
  621. }
  622. inline void Carrier_position::set_has_x() {
  623. _has_bits_[0] |= 0x00000001u;
  624. }
  625. inline void Carrier_position::clear_has_x() {
  626. _has_bits_[0] &= ~0x00000001u;
  627. }
  628. inline void Carrier_position::clear_x() {
  629. x_ = 0;
  630. clear_has_x();
  631. }
  632. inline float Carrier_position::x() const {
  633. // @@protoc_insertion_point(field_get:message.Carrier_position.x)
  634. return x_;
  635. }
  636. inline void Carrier_position::set_x(float value) {
  637. set_has_x();
  638. x_ = value;
  639. // @@protoc_insertion_point(field_set:message.Carrier_position.x)
  640. }
  641. // required float y = 2;
  642. inline bool Carrier_position::has_y() const {
  643. return (_has_bits_[0] & 0x00000002u) != 0;
  644. }
  645. inline void Carrier_position::set_has_y() {
  646. _has_bits_[0] |= 0x00000002u;
  647. }
  648. inline void Carrier_position::clear_has_y() {
  649. _has_bits_[0] &= ~0x00000002u;
  650. }
  651. inline void Carrier_position::clear_y() {
  652. y_ = 0;
  653. clear_has_y();
  654. }
  655. inline float Carrier_position::y() const {
  656. // @@protoc_insertion_point(field_get:message.Carrier_position.y)
  657. return y_;
  658. }
  659. inline void Carrier_position::set_y(float value) {
  660. set_has_y();
  661. y_ = value;
  662. // @@protoc_insertion_point(field_set:message.Carrier_position.y)
  663. }
  664. // required float z = 3;
  665. inline bool Carrier_position::has_z() const {
  666. return (_has_bits_[0] & 0x00000004u) != 0;
  667. }
  668. inline void Carrier_position::set_has_z() {
  669. _has_bits_[0] |= 0x00000004u;
  670. }
  671. inline void Carrier_position::clear_has_z() {
  672. _has_bits_[0] &= ~0x00000004u;
  673. }
  674. inline void Carrier_position::clear_z() {
  675. z_ = 0;
  676. clear_has_z();
  677. }
  678. inline float Carrier_position::z() const {
  679. // @@protoc_insertion_point(field_get:message.Carrier_position.z)
  680. return z_;
  681. }
  682. inline void Carrier_position::set_z(float value) {
  683. set_has_z();
  684. z_ = value;
  685. // @@protoc_insertion_point(field_set:message.Carrier_position.z)
  686. }
  687. // -------------------------------------------------------------------
  688. // Dispatch_status_msg
  689. // required .message.Base_info base_info = 1;
  690. inline bool Dispatch_status_msg::has_base_info() const {
  691. return (_has_bits_[0] & 0x00000001u) != 0;
  692. }
  693. inline void Dispatch_status_msg::set_has_base_info() {
  694. _has_bits_[0] |= 0x00000001u;
  695. }
  696. inline void Dispatch_status_msg::clear_has_base_info() {
  697. _has_bits_[0] &= ~0x00000001u;
  698. }
  699. inline const ::message::Base_info& Dispatch_status_msg::base_info() const {
  700. const ::message::Base_info* p = base_info_;
  701. // @@protoc_insertion_point(field_get:message.Dispatch_status_msg.base_info)
  702. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  703. &::message::_Base_info_default_instance_);
  704. }
  705. inline ::message::Base_info* Dispatch_status_msg::release_base_info() {
  706. // @@protoc_insertion_point(field_release:message.Dispatch_status_msg.base_info)
  707. clear_has_base_info();
  708. ::message::Base_info* temp = base_info_;
  709. base_info_ = NULL;
  710. return temp;
  711. }
  712. inline ::message::Base_info* Dispatch_status_msg::mutable_base_info() {
  713. set_has_base_info();
  714. if (base_info_ == NULL) {
  715. base_info_ = new ::message::Base_info;
  716. }
  717. // @@protoc_insertion_point(field_mutable:message.Dispatch_status_msg.base_info)
  718. return base_info_;
  719. }
  720. inline void Dispatch_status_msg::set_allocated_base_info(::message::Base_info* base_info) {
  721. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  722. if (message_arena == NULL) {
  723. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  724. }
  725. if (base_info) {
  726. ::google::protobuf::Arena* submessage_arena = NULL;
  727. if (message_arena != submessage_arena) {
  728. base_info = ::google::protobuf::internal::GetOwnedMessage(
  729. message_arena, base_info, submessage_arena);
  730. }
  731. set_has_base_info();
  732. } else {
  733. clear_has_base_info();
  734. }
  735. base_info_ = base_info;
  736. // @@protoc_insertion_point(field_set_allocated:message.Dispatch_status_msg.base_info)
  737. }
  738. // required .message.Dispatch_manager_status dispatch_manager_status = 2;
  739. inline bool Dispatch_status_msg::has_dispatch_manager_status() const {
  740. return (_has_bits_[0] & 0x00000002u) != 0;
  741. }
  742. inline void Dispatch_status_msg::set_has_dispatch_manager_status() {
  743. _has_bits_[0] |= 0x00000002u;
  744. }
  745. inline void Dispatch_status_msg::clear_has_dispatch_manager_status() {
  746. _has_bits_[0] &= ~0x00000002u;
  747. }
  748. inline void Dispatch_status_msg::clear_dispatch_manager_status() {
  749. dispatch_manager_status_ = 0;
  750. clear_has_dispatch_manager_status();
  751. }
  752. inline ::message::Dispatch_manager_status Dispatch_status_msg::dispatch_manager_status() const {
  753. // @@protoc_insertion_point(field_get:message.Dispatch_status_msg.dispatch_manager_status)
  754. return static_cast< ::message::Dispatch_manager_status >(dispatch_manager_status_);
  755. }
  756. inline void Dispatch_status_msg::set_dispatch_manager_status(::message::Dispatch_manager_status value) {
  757. assert(::message::Dispatch_manager_status_IsValid(value));
  758. set_has_dispatch_manager_status();
  759. dispatch_manager_status_ = value;
  760. // @@protoc_insertion_point(field_set:message.Dispatch_status_msg.dispatch_manager_status)
  761. }
  762. // -------------------------------------------------------------------
  763. // Dispatch_request_msg
  764. // required .message.Base_info base_info = 1;
  765. inline bool Dispatch_request_msg::has_base_info() const {
  766. return (_has_bits_[0] & 0x00000001u) != 0;
  767. }
  768. inline void Dispatch_request_msg::set_has_base_info() {
  769. _has_bits_[0] |= 0x00000001u;
  770. }
  771. inline void Dispatch_request_msg::clear_has_base_info() {
  772. _has_bits_[0] &= ~0x00000001u;
  773. }
  774. inline const ::message::Base_info& Dispatch_request_msg::base_info() const {
  775. const ::message::Base_info* p = base_info_;
  776. // @@protoc_insertion_point(field_get:message.Dispatch_request_msg.base_info)
  777. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  778. &::message::_Base_info_default_instance_);
  779. }
  780. inline ::message::Base_info* Dispatch_request_msg::release_base_info() {
  781. // @@protoc_insertion_point(field_release:message.Dispatch_request_msg.base_info)
  782. clear_has_base_info();
  783. ::message::Base_info* temp = base_info_;
  784. base_info_ = NULL;
  785. return temp;
  786. }
  787. inline ::message::Base_info* Dispatch_request_msg::mutable_base_info() {
  788. set_has_base_info();
  789. if (base_info_ == NULL) {
  790. base_info_ = new ::message::Base_info;
  791. }
  792. // @@protoc_insertion_point(field_mutable:message.Dispatch_request_msg.base_info)
  793. return base_info_;
  794. }
  795. inline void Dispatch_request_msg::set_allocated_base_info(::message::Base_info* base_info) {
  796. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  797. if (message_arena == NULL) {
  798. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  799. }
  800. if (base_info) {
  801. ::google::protobuf::Arena* submessage_arena = NULL;
  802. if (message_arena != submessage_arena) {
  803. base_info = ::google::protobuf::internal::GetOwnedMessage(
  804. message_arena, base_info, submessage_arena);
  805. }
  806. set_has_base_info();
  807. } else {
  808. clear_has_base_info();
  809. }
  810. base_info_ = base_info;
  811. // @@protoc_insertion_point(field_set_allocated:message.Dispatch_request_msg.base_info)
  812. }
  813. // required int32 command_id = 2;
  814. inline bool Dispatch_request_msg::has_command_id() const {
  815. return (_has_bits_[0] & 0x00000004u) != 0;
  816. }
  817. inline void Dispatch_request_msg::set_has_command_id() {
  818. _has_bits_[0] |= 0x00000004u;
  819. }
  820. inline void Dispatch_request_msg::clear_has_command_id() {
  821. _has_bits_[0] &= ~0x00000004u;
  822. }
  823. inline void Dispatch_request_msg::clear_command_id() {
  824. command_id_ = 0;
  825. clear_has_command_id();
  826. }
  827. inline ::google::protobuf::int32 Dispatch_request_msg::command_id() const {
  828. // @@protoc_insertion_point(field_get:message.Dispatch_request_msg.command_id)
  829. return command_id_;
  830. }
  831. inline void Dispatch_request_msg::set_command_id(::google::protobuf::int32 value) {
  832. set_has_command_id();
  833. command_id_ = value;
  834. // @@protoc_insertion_point(field_set:message.Dispatch_request_msg.command_id)
  835. }
  836. // required .message.Dispatch_motion_direction dispatch_motion_direction = 3;
  837. inline bool Dispatch_request_msg::has_dispatch_motion_direction() const {
  838. return (_has_bits_[0] & 0x00000008u) != 0;
  839. }
  840. inline void Dispatch_request_msg::set_has_dispatch_motion_direction() {
  841. _has_bits_[0] |= 0x00000008u;
  842. }
  843. inline void Dispatch_request_msg::clear_has_dispatch_motion_direction() {
  844. _has_bits_[0] &= ~0x00000008u;
  845. }
  846. inline void Dispatch_request_msg::clear_dispatch_motion_direction() {
  847. dispatch_motion_direction_ = 0;
  848. clear_has_dispatch_motion_direction();
  849. }
  850. inline ::message::Dispatch_motion_direction Dispatch_request_msg::dispatch_motion_direction() const {
  851. // @@protoc_insertion_point(field_get:message.Dispatch_request_msg.dispatch_motion_direction)
  852. return static_cast< ::message::Dispatch_motion_direction >(dispatch_motion_direction_);
  853. }
  854. inline void Dispatch_request_msg::set_dispatch_motion_direction(::message::Dispatch_motion_direction value) {
  855. assert(::message::Dispatch_motion_direction_IsValid(value));
  856. set_has_dispatch_motion_direction();
  857. dispatch_motion_direction_ = value;
  858. // @@protoc_insertion_point(field_set:message.Dispatch_request_msg.dispatch_motion_direction)
  859. }
  860. // required int32 terminal_id = 4;
  861. inline bool Dispatch_request_msg::has_terminal_id() const {
  862. return (_has_bits_[0] & 0x00000010u) != 0;
  863. }
  864. inline void Dispatch_request_msg::set_has_terminal_id() {
  865. _has_bits_[0] |= 0x00000010u;
  866. }
  867. inline void Dispatch_request_msg::clear_has_terminal_id() {
  868. _has_bits_[0] &= ~0x00000010u;
  869. }
  870. inline void Dispatch_request_msg::clear_terminal_id() {
  871. terminal_id_ = 0;
  872. clear_has_terminal_id();
  873. }
  874. inline ::google::protobuf::int32 Dispatch_request_msg::terminal_id() const {
  875. // @@protoc_insertion_point(field_get:message.Dispatch_request_msg.terminal_id)
  876. return terminal_id_;
  877. }
  878. inline void Dispatch_request_msg::set_terminal_id(::google::protobuf::int32 value) {
  879. set_has_terminal_id();
  880. terminal_id_ = value;
  881. // @@protoc_insertion_point(field_set:message.Dispatch_request_msg.terminal_id)
  882. }
  883. // required int32 parkspace_id = 5;
  884. inline bool Dispatch_request_msg::has_parkspace_id() const {
  885. return (_has_bits_[0] & 0x00000020u) != 0;
  886. }
  887. inline void Dispatch_request_msg::set_has_parkspace_id() {
  888. _has_bits_[0] |= 0x00000020u;
  889. }
  890. inline void Dispatch_request_msg::clear_has_parkspace_id() {
  891. _has_bits_[0] &= ~0x00000020u;
  892. }
  893. inline void Dispatch_request_msg::clear_parkspace_id() {
  894. parkspace_id_ = 0;
  895. clear_has_parkspace_id();
  896. }
  897. inline ::google::protobuf::int32 Dispatch_request_msg::parkspace_id() const {
  898. // @@protoc_insertion_point(field_get:message.Dispatch_request_msg.parkspace_id)
  899. return parkspace_id_;
  900. }
  901. inline void Dispatch_request_msg::set_parkspace_id(::google::protobuf::int32 value) {
  902. set_has_parkspace_id();
  903. parkspace_id_ = value;
  904. // @@protoc_insertion_point(field_set:message.Dispatch_request_msg.parkspace_id)
  905. }
  906. // optional .message.Locate_information locate_information = 6;
  907. inline bool Dispatch_request_msg::has_locate_information() const {
  908. return (_has_bits_[0] & 0x00000002u) != 0;
  909. }
  910. inline void Dispatch_request_msg::set_has_locate_information() {
  911. _has_bits_[0] |= 0x00000002u;
  912. }
  913. inline void Dispatch_request_msg::clear_has_locate_information() {
  914. _has_bits_[0] &= ~0x00000002u;
  915. }
  916. inline const ::message::Locate_information& Dispatch_request_msg::locate_information() const {
  917. const ::message::Locate_information* p = locate_information_;
  918. // @@protoc_insertion_point(field_get:message.Dispatch_request_msg.locate_information)
  919. return p != NULL ? *p : *reinterpret_cast<const ::message::Locate_information*>(
  920. &::message::_Locate_information_default_instance_);
  921. }
  922. inline ::message::Locate_information* Dispatch_request_msg::release_locate_information() {
  923. // @@protoc_insertion_point(field_release:message.Dispatch_request_msg.locate_information)
  924. clear_has_locate_information();
  925. ::message::Locate_information* temp = locate_information_;
  926. locate_information_ = NULL;
  927. return temp;
  928. }
  929. inline ::message::Locate_information* Dispatch_request_msg::mutable_locate_information() {
  930. set_has_locate_information();
  931. if (locate_information_ == NULL) {
  932. locate_information_ = new ::message::Locate_information;
  933. }
  934. // @@protoc_insertion_point(field_mutable:message.Dispatch_request_msg.locate_information)
  935. return locate_information_;
  936. }
  937. inline void Dispatch_request_msg::set_allocated_locate_information(::message::Locate_information* locate_information) {
  938. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  939. if (message_arena == NULL) {
  940. delete reinterpret_cast< ::google::protobuf::MessageLite*>(locate_information_);
  941. }
  942. if (locate_information) {
  943. ::google::protobuf::Arena* submessage_arena = NULL;
  944. if (message_arena != submessage_arena) {
  945. locate_information = ::google::protobuf::internal::GetOwnedMessage(
  946. message_arena, locate_information, submessage_arena);
  947. }
  948. set_has_locate_information();
  949. } else {
  950. clear_has_locate_information();
  951. }
  952. locate_information_ = locate_information;
  953. // @@protoc_insertion_point(field_set_allocated:message.Dispatch_request_msg.locate_information)
  954. }
  955. // -------------------------------------------------------------------
  956. // Dispatch_response_msg
  957. // required .message.Base_info base_info = 1;
  958. inline bool Dispatch_response_msg::has_base_info() const {
  959. return (_has_bits_[0] & 0x00000001u) != 0;
  960. }
  961. inline void Dispatch_response_msg::set_has_base_info() {
  962. _has_bits_[0] |= 0x00000001u;
  963. }
  964. inline void Dispatch_response_msg::clear_has_base_info() {
  965. _has_bits_[0] &= ~0x00000001u;
  966. }
  967. inline const ::message::Base_info& Dispatch_response_msg::base_info() const {
  968. const ::message::Base_info* p = base_info_;
  969. // @@protoc_insertion_point(field_get:message.Dispatch_response_msg.base_info)
  970. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  971. &::message::_Base_info_default_instance_);
  972. }
  973. inline ::message::Base_info* Dispatch_response_msg::release_base_info() {
  974. // @@protoc_insertion_point(field_release:message.Dispatch_response_msg.base_info)
  975. clear_has_base_info();
  976. ::message::Base_info* temp = base_info_;
  977. base_info_ = NULL;
  978. return temp;
  979. }
  980. inline ::message::Base_info* Dispatch_response_msg::mutable_base_info() {
  981. set_has_base_info();
  982. if (base_info_ == NULL) {
  983. base_info_ = new ::message::Base_info;
  984. }
  985. // @@protoc_insertion_point(field_mutable:message.Dispatch_response_msg.base_info)
  986. return base_info_;
  987. }
  988. inline void Dispatch_response_msg::set_allocated_base_info(::message::Base_info* base_info) {
  989. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  990. if (message_arena == NULL) {
  991. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  992. }
  993. if (base_info) {
  994. ::google::protobuf::Arena* submessage_arena = NULL;
  995. if (message_arena != submessage_arena) {
  996. base_info = ::google::protobuf::internal::GetOwnedMessage(
  997. message_arena, base_info, submessage_arena);
  998. }
  999. set_has_base_info();
  1000. } else {
  1001. clear_has_base_info();
  1002. }
  1003. base_info_ = base_info;
  1004. // @@protoc_insertion_point(field_set_allocated:message.Dispatch_response_msg.base_info)
  1005. }
  1006. // required int32 command_id = 2;
  1007. inline bool Dispatch_response_msg::has_command_id() const {
  1008. return (_has_bits_[0] & 0x00000004u) != 0;
  1009. }
  1010. inline void Dispatch_response_msg::set_has_command_id() {
  1011. _has_bits_[0] |= 0x00000004u;
  1012. }
  1013. inline void Dispatch_response_msg::clear_has_command_id() {
  1014. _has_bits_[0] &= ~0x00000004u;
  1015. }
  1016. inline void Dispatch_response_msg::clear_command_id() {
  1017. command_id_ = 0;
  1018. clear_has_command_id();
  1019. }
  1020. inline ::google::protobuf::int32 Dispatch_response_msg::command_id() const {
  1021. // @@protoc_insertion_point(field_get:message.Dispatch_response_msg.command_id)
  1022. return command_id_;
  1023. }
  1024. inline void Dispatch_response_msg::set_command_id(::google::protobuf::int32 value) {
  1025. set_has_command_id();
  1026. command_id_ = value;
  1027. // @@protoc_insertion_point(field_set:message.Dispatch_response_msg.command_id)
  1028. }
  1029. // required .message.Error_manager error_manager = 3;
  1030. inline bool Dispatch_response_msg::has_error_manager() const {
  1031. return (_has_bits_[0] & 0x00000002u) != 0;
  1032. }
  1033. inline void Dispatch_response_msg::set_has_error_manager() {
  1034. _has_bits_[0] |= 0x00000002u;
  1035. }
  1036. inline void Dispatch_response_msg::clear_has_error_manager() {
  1037. _has_bits_[0] &= ~0x00000002u;
  1038. }
  1039. inline const ::message::Error_manager& Dispatch_response_msg::error_manager() const {
  1040. const ::message::Error_manager* p = error_manager_;
  1041. // @@protoc_insertion_point(field_get:message.Dispatch_response_msg.error_manager)
  1042. return p != NULL ? *p : *reinterpret_cast<const ::message::Error_manager*>(
  1043. &::message::_Error_manager_default_instance_);
  1044. }
  1045. inline ::message::Error_manager* Dispatch_response_msg::release_error_manager() {
  1046. // @@protoc_insertion_point(field_release:message.Dispatch_response_msg.error_manager)
  1047. clear_has_error_manager();
  1048. ::message::Error_manager* temp = error_manager_;
  1049. error_manager_ = NULL;
  1050. return temp;
  1051. }
  1052. inline ::message::Error_manager* Dispatch_response_msg::mutable_error_manager() {
  1053. set_has_error_manager();
  1054. if (error_manager_ == NULL) {
  1055. error_manager_ = new ::message::Error_manager;
  1056. }
  1057. // @@protoc_insertion_point(field_mutable:message.Dispatch_response_msg.error_manager)
  1058. return error_manager_;
  1059. }
  1060. inline void Dispatch_response_msg::set_allocated_error_manager(::message::Error_manager* error_manager) {
  1061. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1062. if (message_arena == NULL) {
  1063. delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_manager_);
  1064. }
  1065. if (error_manager) {
  1066. ::google::protobuf::Arena* submessage_arena = NULL;
  1067. if (message_arena != submessage_arena) {
  1068. error_manager = ::google::protobuf::internal::GetOwnedMessage(
  1069. message_arena, error_manager, submessage_arena);
  1070. }
  1071. set_has_error_manager();
  1072. } else {
  1073. clear_has_error_manager();
  1074. }
  1075. error_manager_ = error_manager;
  1076. // @@protoc_insertion_point(field_set_allocated:message.Dispatch_response_msg.error_manager)
  1077. }
  1078. #ifdef __GNUC__
  1079. #pragma GCC diagnostic pop
  1080. #endif // __GNUC__
  1081. // -------------------------------------------------------------------
  1082. // -------------------------------------------------------------------
  1083. // -------------------------------------------------------------------
  1084. // @@protoc_insertion_point(namespace_scope)
  1085. } // namespace message
  1086. namespace google {
  1087. namespace protobuf {
  1088. template <> struct is_proto_enum< ::message::Dispatch_manager_status> : ::google::protobuf::internal::true_type {};
  1089. template <>
  1090. inline const EnumDescriptor* GetEnumDescriptor< ::message::Dispatch_manager_status>() {
  1091. return ::message::Dispatch_manager_status_descriptor();
  1092. }
  1093. template <> struct is_proto_enum< ::message::Carrier_status> : ::google::protobuf::internal::true_type {};
  1094. template <>
  1095. inline const EnumDescriptor* GetEnumDescriptor< ::message::Carrier_status>() {
  1096. return ::message::Carrier_status_descriptor();
  1097. }
  1098. template <> struct is_proto_enum< ::message::Dispatch_motion_direction> : ::google::protobuf::internal::true_type {};
  1099. template <>
  1100. inline const EnumDescriptor* GetEnumDescriptor< ::message::Dispatch_motion_direction>() {
  1101. return ::message::Dispatch_motion_direction_descriptor();
  1102. }
  1103. } // namespace protobuf
  1104. } // namespace google
  1105. // @@protoc_insertion_point(global_scope)
  1106. #endif // PROTOBUF_dispatch_5fmessage_2eproto__INCLUDED