dispatch_message.pb.h 49 KB

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