dispatch_message.pb.h 77 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: dispatch_message.proto
  3. #ifndef PROTOBUF_INCLUDED_dispatch_5fmessage_2eproto
  4. #define PROTOBUF_INCLUDED_dispatch_5fmessage_2eproto
  5. #include <string>
  6. #include <google/protobuf/stubs/common.h>
  7. #if GOOGLE_PROTOBUF_VERSION < 3006000
  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 3006000 < 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/inlined_string_field.h>
  23. #include <google/protobuf/metadata.h>
  24. #include <google/protobuf/message.h>
  25. #include <google/protobuf/repeated_field.h> // IWYU pragma: export
  26. #include <google/protobuf/extension_set.h> // IWYU pragma: export
  27. #include <google/protobuf/generated_enum_reflection.h>
  28. #include <google/protobuf/unknown_field_set.h>
  29. #include "message_base.pb.h"
  30. // @@protoc_insertion_point(includes)
  31. #define PROTOBUF_INTERNAL_EXPORT_protobuf_dispatch_5fmessage_2eproto
  32. namespace protobuf_dispatch_5fmessage_2eproto {
  33. // Internal implementation detail -- do not use these members.
  34. struct TableStruct {
  35. static const ::google::protobuf::internal::ParseTableField entries[];
  36. static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
  37. static const ::google::protobuf::internal::ParseTable schema[5];
  38. static const ::google::protobuf::internal::FieldMetadata field_metadata[];
  39. static const ::google::protobuf::internal::SerializationTable serialization_table[];
  40. static const ::google::protobuf::uint32 offsets[];
  41. };
  42. void AddDescriptors();
  43. } // namespace protobuf_dispatch_5fmessage_2eproto
  44. namespace message {
  45. class Device_position;
  46. class Device_positionDefaultTypeInternal;
  47. extern Device_positionDefaultTypeInternal _Device_position_default_instance_;
  48. class Dispatch_manager_status_msg;
  49. class Dispatch_manager_status_msgDefaultTypeInternal;
  50. extern Dispatch_manager_status_msgDefaultTypeInternal _Dispatch_manager_status_msg_default_instance_;
  51. class Dispatch_request_msg;
  52. class Dispatch_request_msgDefaultTypeInternal;
  53. extern Dispatch_request_msgDefaultTypeInternal _Dispatch_request_msg_default_instance_;
  54. class Dispatch_response_msg;
  55. class Dispatch_response_msgDefaultTypeInternal;
  56. extern Dispatch_response_msgDefaultTypeInternal _Dispatch_response_msg_default_instance_;
  57. class Dispatch_terminal_status_msg;
  58. class Dispatch_terminal_status_msgDefaultTypeInternal;
  59. extern Dispatch_terminal_status_msgDefaultTypeInternal _Dispatch_terminal_status_msg_default_instance_;
  60. } // namespace message
  61. namespace google {
  62. namespace protobuf {
  63. template<> ::message::Device_position* Arena::CreateMaybeMessage<::message::Device_position>(Arena*);
  64. template<> ::message::Dispatch_manager_status_msg* Arena::CreateMaybeMessage<::message::Dispatch_manager_status_msg>(Arena*);
  65. template<> ::message::Dispatch_request_msg* Arena::CreateMaybeMessage<::message::Dispatch_request_msg>(Arena*);
  66. template<> ::message::Dispatch_response_msg* Arena::CreateMaybeMessage<::message::Dispatch_response_msg>(Arena*);
  67. template<> ::message::Dispatch_terminal_status_msg* Arena::CreateMaybeMessage<::message::Dispatch_terminal_status_msg>(Arena*);
  68. } // namespace protobuf
  69. } // namespace google
  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 Catcher_status {
  93. E_CATCHER_UNKNOW = 0,
  94. E_CATCHER_READY = 1,
  95. E_CATCHER_STORE = 2,
  96. E_CATCHER_PICKUP = 3,
  97. E_CATCHER_FAULT = 10
  98. };
  99. bool Catcher_status_IsValid(int value);
  100. const Catcher_status Catcher_status_MIN = E_CATCHER_UNKNOW;
  101. const Catcher_status Catcher_status_MAX = E_CATCHER_FAULT;
  102. const int Catcher_status_ARRAYSIZE = Catcher_status_MAX + 1;
  103. const ::google::protobuf::EnumDescriptor* Catcher_status_descriptor();
  104. inline const ::std::string& Catcher_status_Name(Catcher_status value) {
  105. return ::google::protobuf::internal::NameOfEnum(
  106. Catcher_status_descriptor(), value);
  107. }
  108. inline bool Catcher_status_Parse(
  109. const ::std::string& name, Catcher_status* value) {
  110. return ::google::protobuf::internal::ParseNamedEnum<Catcher_status>(
  111. Catcher_status_descriptor(), name, value);
  112. }
  113. enum Carrier_status {
  114. E_CARRIER_UNKNOW = 0,
  115. E_CARRIER_READY = 1,
  116. E_CARRIER_STORE = 2,
  117. E_CARRIER_PICKUP = 3,
  118. E_CARRIER_FAULT = 10
  119. };
  120. bool Carrier_status_IsValid(int value);
  121. const Carrier_status Carrier_status_MIN = E_CARRIER_UNKNOW;
  122. const Carrier_status Carrier_status_MAX = E_CARRIER_FAULT;
  123. const int Carrier_status_ARRAYSIZE = Carrier_status_MAX + 1;
  124. const ::google::protobuf::EnumDescriptor* Carrier_status_descriptor();
  125. inline const ::std::string& Carrier_status_Name(Carrier_status value) {
  126. return ::google::protobuf::internal::NameOfEnum(
  127. Carrier_status_descriptor(), value);
  128. }
  129. inline bool Carrier_status_Parse(
  130. const ::std::string& name, Carrier_status* value) {
  131. return ::google::protobuf::internal::ParseNamedEnum<Carrier_status>(
  132. Carrier_status_descriptor(), name, value);
  133. }
  134. enum Elevator_status {
  135. E_ELEVATOR_UNKNOW = 0,
  136. E_ELEVATOR_READY = 1,
  137. E_ELEVATOR_STORE = 2,
  138. E_ELEVATOR_PICKUP = 3,
  139. E_ELEVATOR_FAULT = 10
  140. };
  141. bool Elevator_status_IsValid(int value);
  142. const Elevator_status Elevator_status_MIN = E_ELEVATOR_UNKNOW;
  143. const Elevator_status Elevator_status_MAX = E_ELEVATOR_FAULT;
  144. const int Elevator_status_ARRAYSIZE = Elevator_status_MAX + 1;
  145. const ::google::protobuf::EnumDescriptor* Elevator_status_descriptor();
  146. inline const ::std::string& Elevator_status_Name(Elevator_status value) {
  147. return ::google::protobuf::internal::NameOfEnum(
  148. Elevator_status_descriptor(), value);
  149. }
  150. inline bool Elevator_status_Parse(
  151. const ::std::string& name, Elevator_status* value) {
  152. return ::google::protobuf::internal::ParseNamedEnum<Elevator_status>(
  153. Elevator_status_descriptor(), name, value);
  154. }
  155. enum Passageway_status {
  156. E_PASSAGEWAY_UNKNOW = 0,
  157. E_PASSAGEWAY_READY = 1,
  158. E_PASSAGEWAY_STORE = 2,
  159. E_PASSAGEWAY_PICKUP = 3,
  160. E_PASSAGEWAY_FAULT = 10
  161. };
  162. bool Passageway_status_IsValid(int value);
  163. const Passageway_status Passageway_status_MIN = E_PASSAGEWAY_UNKNOW;
  164. const Passageway_status Passageway_status_MAX = E_PASSAGEWAY_FAULT;
  165. const int Passageway_status_ARRAYSIZE = Passageway_status_MAX + 1;
  166. const ::google::protobuf::EnumDescriptor* Passageway_status_descriptor();
  167. inline const ::std::string& Passageway_status_Name(Passageway_status value) {
  168. return ::google::protobuf::internal::NameOfEnum(
  169. Passageway_status_descriptor(), value);
  170. }
  171. inline bool Passageway_status_Parse(
  172. const ::std::string& name, Passageway_status* value) {
  173. return ::google::protobuf::internal::ParseNamedEnum<Passageway_status>(
  174. Passageway_status_descriptor(), name, value);
  175. }
  176. enum Terminal_status {
  177. E_TERMINAL_UNKNOW = 0,
  178. E_TERMINAL_READY = 1,
  179. E_TERMINAL_STORE = 2,
  180. E_TERMINAL_PICKUP = 3,
  181. E_TERMINAL_FAULT = 10
  182. };
  183. bool Terminal_status_IsValid(int value);
  184. const Terminal_status Terminal_status_MIN = E_TERMINAL_UNKNOW;
  185. const Terminal_status Terminal_status_MAX = E_TERMINAL_FAULT;
  186. const int Terminal_status_ARRAYSIZE = Terminal_status_MAX + 1;
  187. const ::google::protobuf::EnumDescriptor* Terminal_status_descriptor();
  188. inline const ::std::string& Terminal_status_Name(Terminal_status value) {
  189. return ::google::protobuf::internal::NameOfEnum(
  190. Terminal_status_descriptor(), value);
  191. }
  192. inline bool Terminal_status_Parse(
  193. const ::std::string& name, Terminal_status* value) {
  194. return ::google::protobuf::internal::ParseNamedEnum<Terminal_status>(
  195. Terminal_status_descriptor(), name, value);
  196. }
  197. enum Passageway_direction {
  198. E_INLET = 0,
  199. E_OUTLET = 1,
  200. E_BILATERAL = 2
  201. };
  202. bool Passageway_direction_IsValid(int value);
  203. const Passageway_direction Passageway_direction_MIN = E_INLET;
  204. const Passageway_direction Passageway_direction_MAX = E_BILATERAL;
  205. const int Passageway_direction_ARRAYSIZE = Passageway_direction_MAX + 1;
  206. const ::google::protobuf::EnumDescriptor* Passageway_direction_descriptor();
  207. inline const ::std::string& Passageway_direction_Name(Passageway_direction value) {
  208. return ::google::protobuf::internal::NameOfEnum(
  209. Passageway_direction_descriptor(), value);
  210. }
  211. inline bool Passageway_direction_Parse(
  212. const ::std::string& name, Passageway_direction* value) {
  213. return ::google::protobuf::internal::ParseNamedEnum<Passageway_direction>(
  214. Passageway_direction_descriptor(), name, value);
  215. }
  216. enum Dispatch_motion_direction {
  217. E_STORE_CAR = 0,
  218. E_PICKUP_CAR = 1
  219. };
  220. bool Dispatch_motion_direction_IsValid(int value);
  221. const Dispatch_motion_direction Dispatch_motion_direction_MIN = E_STORE_CAR;
  222. const Dispatch_motion_direction Dispatch_motion_direction_MAX = E_PICKUP_CAR;
  223. const int Dispatch_motion_direction_ARRAYSIZE = Dispatch_motion_direction_MAX + 1;
  224. const ::google::protobuf::EnumDescriptor* Dispatch_motion_direction_descriptor();
  225. inline const ::std::string& Dispatch_motion_direction_Name(Dispatch_motion_direction value) {
  226. return ::google::protobuf::internal::NameOfEnum(
  227. Dispatch_motion_direction_descriptor(), value);
  228. }
  229. inline bool Dispatch_motion_direction_Parse(
  230. const ::std::string& name, Dispatch_motion_direction* value) {
  231. return ::google::protobuf::internal::ParseNamedEnum<Dispatch_motion_direction>(
  232. Dispatch_motion_direction_descriptor(), name, value);
  233. }
  234. // ===================================================================
  235. class Device_position : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Device_position) */ {
  236. public:
  237. Device_position();
  238. virtual ~Device_position();
  239. Device_position(const Device_position& from);
  240. inline Device_position& operator=(const Device_position& from) {
  241. CopyFrom(from);
  242. return *this;
  243. }
  244. #if LANG_CXX11
  245. Device_position(Device_position&& from) noexcept
  246. : Device_position() {
  247. *this = ::std::move(from);
  248. }
  249. inline Device_position& operator=(Device_position&& from) noexcept {
  250. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  251. if (this != &from) InternalSwap(&from);
  252. } else {
  253. CopyFrom(from);
  254. }
  255. return *this;
  256. }
  257. #endif
  258. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  259. return _internal_metadata_.unknown_fields();
  260. }
  261. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  262. return _internal_metadata_.mutable_unknown_fields();
  263. }
  264. static const ::google::protobuf::Descriptor* descriptor();
  265. static const Device_position& default_instance();
  266. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  267. static inline const Device_position* internal_default_instance() {
  268. return reinterpret_cast<const Device_position*>(
  269. &_Device_position_default_instance_);
  270. }
  271. static constexpr int kIndexInFileMessages =
  272. 0;
  273. void Swap(Device_position* other);
  274. friend void swap(Device_position& a, Device_position& b) {
  275. a.Swap(&b);
  276. }
  277. // implements Message ----------------------------------------------
  278. inline Device_position* New() const final {
  279. return CreateMaybeMessage<Device_position>(NULL);
  280. }
  281. Device_position* New(::google::protobuf::Arena* arena) const final {
  282. return CreateMaybeMessage<Device_position>(arena);
  283. }
  284. void CopyFrom(const ::google::protobuf::Message& from) final;
  285. void MergeFrom(const ::google::protobuf::Message& from) final;
  286. void CopyFrom(const Device_position& from);
  287. void MergeFrom(const Device_position& from);
  288. void Clear() final;
  289. bool IsInitialized() const final;
  290. size_t ByteSizeLong() const final;
  291. bool MergePartialFromCodedStream(
  292. ::google::protobuf::io::CodedInputStream* input) final;
  293. void SerializeWithCachedSizes(
  294. ::google::protobuf::io::CodedOutputStream* output) const final;
  295. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  296. bool deterministic, ::google::protobuf::uint8* target) const final;
  297. int GetCachedSize() const final { return _cached_size_.Get(); }
  298. private:
  299. void SharedCtor();
  300. void SharedDtor();
  301. void SetCachedSize(int size) const final;
  302. void InternalSwap(Device_position* other);
  303. private:
  304. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  305. return NULL;
  306. }
  307. inline void* MaybeArenaPtr() const {
  308. return NULL;
  309. }
  310. public:
  311. ::google::protobuf::Metadata GetMetadata() const final;
  312. // nested types ----------------------------------------------------
  313. // accessors -------------------------------------------------------
  314. // required float x = 1;
  315. bool has_x() const;
  316. void clear_x();
  317. static const int kXFieldNumber = 1;
  318. float x() const;
  319. void set_x(float value);
  320. // required float y = 2;
  321. bool has_y() const;
  322. void clear_y();
  323. static const int kYFieldNumber = 2;
  324. float y() const;
  325. void set_y(float value);
  326. // required float z = 3;
  327. bool has_z() const;
  328. void clear_z();
  329. static const int kZFieldNumber = 3;
  330. float z() const;
  331. void set_z(float value);
  332. // @@protoc_insertion_point(class_scope:message.Device_position)
  333. private:
  334. void set_has_x();
  335. void clear_has_x();
  336. void set_has_y();
  337. void clear_has_y();
  338. void set_has_z();
  339. void clear_has_z();
  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 ::google::protobuf::internal::CachedSize _cached_size_;
  345. float x_;
  346. float y_;
  347. float z_;
  348. friend struct ::protobuf_dispatch_5fmessage_2eproto::TableStruct;
  349. };
  350. // -------------------------------------------------------------------
  351. class Dispatch_manager_status_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Dispatch_manager_status_msg) */ {
  352. public:
  353. Dispatch_manager_status_msg();
  354. virtual ~Dispatch_manager_status_msg();
  355. Dispatch_manager_status_msg(const Dispatch_manager_status_msg& from);
  356. inline Dispatch_manager_status_msg& operator=(const Dispatch_manager_status_msg& from) {
  357. CopyFrom(from);
  358. return *this;
  359. }
  360. #if LANG_CXX11
  361. Dispatch_manager_status_msg(Dispatch_manager_status_msg&& from) noexcept
  362. : Dispatch_manager_status_msg() {
  363. *this = ::std::move(from);
  364. }
  365. inline Dispatch_manager_status_msg& operator=(Dispatch_manager_status_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_manager_status_msg& default_instance();
  382. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  383. static inline const Dispatch_manager_status_msg* internal_default_instance() {
  384. return reinterpret_cast<const Dispatch_manager_status_msg*>(
  385. &_Dispatch_manager_status_msg_default_instance_);
  386. }
  387. static constexpr int kIndexInFileMessages =
  388. 1;
  389. void Swap(Dispatch_manager_status_msg* other);
  390. friend void swap(Dispatch_manager_status_msg& a, Dispatch_manager_status_msg& b) {
  391. a.Swap(&b);
  392. }
  393. // implements Message ----------------------------------------------
  394. inline Dispatch_manager_status_msg* New() const final {
  395. return CreateMaybeMessage<Dispatch_manager_status_msg>(NULL);
  396. }
  397. Dispatch_manager_status_msg* New(::google::protobuf::Arena* arena) const final {
  398. return CreateMaybeMessage<Dispatch_manager_status_msg>(arena);
  399. }
  400. void CopyFrom(const ::google::protobuf::Message& from) final;
  401. void MergeFrom(const ::google::protobuf::Message& from) final;
  402. void CopyFrom(const Dispatch_manager_status_msg& from);
  403. void MergeFrom(const Dispatch_manager_status_msg& from);
  404. void Clear() final;
  405. bool IsInitialized() const final;
  406. size_t ByteSizeLong() const final;
  407. bool MergePartialFromCodedStream(
  408. ::google::protobuf::io::CodedInputStream* input) final;
  409. void SerializeWithCachedSizes(
  410. ::google::protobuf::io::CodedOutputStream* output) const final;
  411. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  412. bool deterministic, ::google::protobuf::uint8* target) const final;
  413. int GetCachedSize() const final { return _cached_size_.Get(); }
  414. private:
  415. void SharedCtor();
  416. void SharedDtor();
  417. void SetCachedSize(int size) const final;
  418. void InternalSwap(Dispatch_manager_status_msg* other);
  419. private:
  420. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  421. return NULL;
  422. }
  423. inline void* MaybeArenaPtr() const {
  424. return NULL;
  425. }
  426. public:
  427. ::google::protobuf::Metadata GetMetadata() const final;
  428. // nested types ----------------------------------------------------
  429. // accessors -------------------------------------------------------
  430. // repeated .message.Catcher_status catcher_status = 4;
  431. int catcher_status_size() const;
  432. void clear_catcher_status();
  433. static const int kCatcherStatusFieldNumber = 4;
  434. ::message::Catcher_status catcher_status(int index) const;
  435. void set_catcher_status(int index, ::message::Catcher_status value);
  436. void add_catcher_status(::message::Catcher_status value);
  437. const ::google::protobuf::RepeatedField<int>& catcher_status() const;
  438. ::google::protobuf::RepeatedField<int>* mutable_catcher_status();
  439. // repeated .message.Carrier_status carrier_status = 5;
  440. int carrier_status_size() const;
  441. void clear_carrier_status();
  442. static const int kCarrierStatusFieldNumber = 5;
  443. ::message::Carrier_status carrier_status(int index) const;
  444. void set_carrier_status(int index, ::message::Carrier_status value);
  445. void add_carrier_status(::message::Carrier_status value);
  446. const ::google::protobuf::RepeatedField<int>& carrier_status() const;
  447. ::google::protobuf::RepeatedField<int>* mutable_carrier_status();
  448. // repeated .message.Elevator_status elevator_status = 6;
  449. int elevator_status_size() const;
  450. void clear_elevator_status();
  451. static const int kElevatorStatusFieldNumber = 6;
  452. ::message::Elevator_status elevator_status(int index) const;
  453. void set_elevator_status(int index, ::message::Elevator_status value);
  454. void add_elevator_status(::message::Elevator_status value);
  455. const ::google::protobuf::RepeatedField<int>& elevator_status() const;
  456. ::google::protobuf::RepeatedField<int>* mutable_elevator_status();
  457. // repeated .message.Passageway_status passageway_status = 7;
  458. int passageway_status_size() const;
  459. void clear_passageway_status();
  460. static const int kPassagewayStatusFieldNumber = 7;
  461. ::message::Passageway_status passageway_status(int index) const;
  462. void set_passageway_status(int index, ::message::Passageway_status value);
  463. void add_passageway_status(::message::Passageway_status value);
  464. const ::google::protobuf::RepeatedField<int>& passageway_status() const;
  465. ::google::protobuf::RepeatedField<int>* mutable_passageway_status();
  466. // required .message.Base_info base_info = 1;
  467. bool has_base_info() const;
  468. void clear_base_info();
  469. static const int kBaseInfoFieldNumber = 1;
  470. private:
  471. const ::message::Base_info& _internal_base_info() const;
  472. public:
  473. const ::message::Base_info& base_info() const;
  474. ::message::Base_info* release_base_info();
  475. ::message::Base_info* mutable_base_info();
  476. void set_allocated_base_info(::message::Base_info* base_info);
  477. // required int32 dispatch_id = 2;
  478. bool has_dispatch_id() const;
  479. void clear_dispatch_id();
  480. static const int kDispatchIdFieldNumber = 2;
  481. ::google::protobuf::int32 dispatch_id() const;
  482. void set_dispatch_id(::google::protobuf::int32 value);
  483. // required .message.Dispatch_manager_status dispatch_manager_status = 3;
  484. bool has_dispatch_manager_status() const;
  485. void clear_dispatch_manager_status();
  486. static const int kDispatchManagerStatusFieldNumber = 3;
  487. ::message::Dispatch_manager_status dispatch_manager_status() const;
  488. void set_dispatch_manager_status(::message::Dispatch_manager_status value);
  489. // @@protoc_insertion_point(class_scope:message.Dispatch_manager_status_msg)
  490. private:
  491. void set_has_base_info();
  492. void clear_has_base_info();
  493. void set_has_dispatch_id();
  494. void clear_has_dispatch_id();
  495. void set_has_dispatch_manager_status();
  496. void clear_has_dispatch_manager_status();
  497. // helper for ByteSizeLong()
  498. size_t RequiredFieldsByteSizeFallback() const;
  499. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  500. ::google::protobuf::internal::HasBits<1> _has_bits_;
  501. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  502. ::google::protobuf::RepeatedField<int> catcher_status_;
  503. ::google::protobuf::RepeatedField<int> carrier_status_;
  504. ::google::protobuf::RepeatedField<int> elevator_status_;
  505. ::google::protobuf::RepeatedField<int> passageway_status_;
  506. ::message::Base_info* base_info_;
  507. ::google::protobuf::int32 dispatch_id_;
  508. int dispatch_manager_status_;
  509. friend struct ::protobuf_dispatch_5fmessage_2eproto::TableStruct;
  510. };
  511. // -------------------------------------------------------------------
  512. class Dispatch_terminal_status_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Dispatch_terminal_status_msg) */ {
  513. public:
  514. Dispatch_terminal_status_msg();
  515. virtual ~Dispatch_terminal_status_msg();
  516. Dispatch_terminal_status_msg(const Dispatch_terminal_status_msg& from);
  517. inline Dispatch_terminal_status_msg& operator=(const Dispatch_terminal_status_msg& from) {
  518. CopyFrom(from);
  519. return *this;
  520. }
  521. #if LANG_CXX11
  522. Dispatch_terminal_status_msg(Dispatch_terminal_status_msg&& from) noexcept
  523. : Dispatch_terminal_status_msg() {
  524. *this = ::std::move(from);
  525. }
  526. inline Dispatch_terminal_status_msg& operator=(Dispatch_terminal_status_msg&& from) noexcept {
  527. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  528. if (this != &from) InternalSwap(&from);
  529. } else {
  530. CopyFrom(from);
  531. }
  532. return *this;
  533. }
  534. #endif
  535. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  536. return _internal_metadata_.unknown_fields();
  537. }
  538. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  539. return _internal_metadata_.mutable_unknown_fields();
  540. }
  541. static const ::google::protobuf::Descriptor* descriptor();
  542. static const Dispatch_terminal_status_msg& default_instance();
  543. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  544. static inline const Dispatch_terminal_status_msg* internal_default_instance() {
  545. return reinterpret_cast<const Dispatch_terminal_status_msg*>(
  546. &_Dispatch_terminal_status_msg_default_instance_);
  547. }
  548. static constexpr int kIndexInFileMessages =
  549. 2;
  550. void Swap(Dispatch_terminal_status_msg* other);
  551. friend void swap(Dispatch_terminal_status_msg& a, Dispatch_terminal_status_msg& b) {
  552. a.Swap(&b);
  553. }
  554. // implements Message ----------------------------------------------
  555. inline Dispatch_terminal_status_msg* New() const final {
  556. return CreateMaybeMessage<Dispatch_terminal_status_msg>(NULL);
  557. }
  558. Dispatch_terminal_status_msg* New(::google::protobuf::Arena* arena) const final {
  559. return CreateMaybeMessage<Dispatch_terminal_status_msg>(arena);
  560. }
  561. void CopyFrom(const ::google::protobuf::Message& from) final;
  562. void MergeFrom(const ::google::protobuf::Message& from) final;
  563. void CopyFrom(const Dispatch_terminal_status_msg& from);
  564. void MergeFrom(const Dispatch_terminal_status_msg& from);
  565. void Clear() final;
  566. bool IsInitialized() const final;
  567. size_t ByteSizeLong() const final;
  568. bool MergePartialFromCodedStream(
  569. ::google::protobuf::io::CodedInputStream* input) final;
  570. void SerializeWithCachedSizes(
  571. ::google::protobuf::io::CodedOutputStream* output) const final;
  572. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  573. bool deterministic, ::google::protobuf::uint8* target) const final;
  574. int GetCachedSize() const final { return _cached_size_.Get(); }
  575. private:
  576. void SharedCtor();
  577. void SharedDtor();
  578. void SetCachedSize(int size) const final;
  579. void InternalSwap(Dispatch_terminal_status_msg* other);
  580. private:
  581. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  582. return NULL;
  583. }
  584. inline void* MaybeArenaPtr() const {
  585. return NULL;
  586. }
  587. public:
  588. ::google::protobuf::Metadata GetMetadata() const final;
  589. // nested types ----------------------------------------------------
  590. // accessors -------------------------------------------------------
  591. // required .message.Base_info base_info = 1;
  592. bool has_base_info() const;
  593. void clear_base_info();
  594. static const int kBaseInfoFieldNumber = 1;
  595. private:
  596. const ::message::Base_info& _internal_base_info() const;
  597. public:
  598. const ::message::Base_info& base_info() const;
  599. ::message::Base_info* release_base_info();
  600. ::message::Base_info* mutable_base_info();
  601. void set_allocated_base_info(::message::Base_info* base_info);
  602. // required int32 terminal_id = 2;
  603. bool has_terminal_id() const;
  604. void clear_terminal_id();
  605. static const int kTerminalIdFieldNumber = 2;
  606. ::google::protobuf::int32 terminal_id() const;
  607. void set_terminal_id(::google::protobuf::int32 value);
  608. // required .message.Terminal_status terminal_status = 3;
  609. bool has_terminal_status() const;
  610. void clear_terminal_status();
  611. static const int kTerminalStatusFieldNumber = 3;
  612. ::message::Terminal_status terminal_status() const;
  613. void set_terminal_status(::message::Terminal_status value);
  614. // required .message.Passageway_direction passageway_direction = 4;
  615. bool has_passageway_direction() const;
  616. void clear_passageway_direction();
  617. static const int kPassagewayDirectionFieldNumber = 4;
  618. ::message::Passageway_direction passageway_direction() const;
  619. void set_passageway_direction(::message::Passageway_direction value);
  620. // @@protoc_insertion_point(class_scope:message.Dispatch_terminal_status_msg)
  621. private:
  622. void set_has_base_info();
  623. void clear_has_base_info();
  624. void set_has_terminal_id();
  625. void clear_has_terminal_id();
  626. void set_has_terminal_status();
  627. void clear_has_terminal_status();
  628. void set_has_passageway_direction();
  629. void clear_has_passageway_direction();
  630. // helper for ByteSizeLong()
  631. size_t RequiredFieldsByteSizeFallback() const;
  632. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  633. ::google::protobuf::internal::HasBits<1> _has_bits_;
  634. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  635. ::message::Base_info* base_info_;
  636. ::google::protobuf::int32 terminal_id_;
  637. int terminal_status_;
  638. int passageway_direction_;
  639. friend struct ::protobuf_dispatch_5fmessage_2eproto::TableStruct;
  640. };
  641. // -------------------------------------------------------------------
  642. class Dispatch_request_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Dispatch_request_msg) */ {
  643. public:
  644. Dispatch_request_msg();
  645. virtual ~Dispatch_request_msg();
  646. Dispatch_request_msg(const Dispatch_request_msg& from);
  647. inline Dispatch_request_msg& operator=(const Dispatch_request_msg& from) {
  648. CopyFrom(from);
  649. return *this;
  650. }
  651. #if LANG_CXX11
  652. Dispatch_request_msg(Dispatch_request_msg&& from) noexcept
  653. : Dispatch_request_msg() {
  654. *this = ::std::move(from);
  655. }
  656. inline Dispatch_request_msg& operator=(Dispatch_request_msg&& from) noexcept {
  657. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  658. if (this != &from) InternalSwap(&from);
  659. } else {
  660. CopyFrom(from);
  661. }
  662. return *this;
  663. }
  664. #endif
  665. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  666. return _internal_metadata_.unknown_fields();
  667. }
  668. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  669. return _internal_metadata_.mutable_unknown_fields();
  670. }
  671. static const ::google::protobuf::Descriptor* descriptor();
  672. static const Dispatch_request_msg& default_instance();
  673. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  674. static inline const Dispatch_request_msg* internal_default_instance() {
  675. return reinterpret_cast<const Dispatch_request_msg*>(
  676. &_Dispatch_request_msg_default_instance_);
  677. }
  678. static constexpr int kIndexInFileMessages =
  679. 3;
  680. void Swap(Dispatch_request_msg* other);
  681. friend void swap(Dispatch_request_msg& a, Dispatch_request_msg& b) {
  682. a.Swap(&b);
  683. }
  684. // implements Message ----------------------------------------------
  685. inline Dispatch_request_msg* New() const final {
  686. return CreateMaybeMessage<Dispatch_request_msg>(NULL);
  687. }
  688. Dispatch_request_msg* New(::google::protobuf::Arena* arena) const final {
  689. return CreateMaybeMessage<Dispatch_request_msg>(arena);
  690. }
  691. void CopyFrom(const ::google::protobuf::Message& from) final;
  692. void MergeFrom(const ::google::protobuf::Message& from) final;
  693. void CopyFrom(const Dispatch_request_msg& from);
  694. void MergeFrom(const Dispatch_request_msg& from);
  695. void Clear() final;
  696. bool IsInitialized() const final;
  697. size_t ByteSizeLong() const final;
  698. bool MergePartialFromCodedStream(
  699. ::google::protobuf::io::CodedInputStream* input) final;
  700. void SerializeWithCachedSizes(
  701. ::google::protobuf::io::CodedOutputStream* output) const final;
  702. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  703. bool deterministic, ::google::protobuf::uint8* target) const final;
  704. int GetCachedSize() const final { return _cached_size_.Get(); }
  705. private:
  706. void SharedCtor();
  707. void SharedDtor();
  708. void SetCachedSize(int size) const final;
  709. void InternalSwap(Dispatch_request_msg* other);
  710. private:
  711. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  712. return NULL;
  713. }
  714. inline void* MaybeArenaPtr() const {
  715. return NULL;
  716. }
  717. public:
  718. ::google::protobuf::Metadata GetMetadata() const final;
  719. // nested types ----------------------------------------------------
  720. // accessors -------------------------------------------------------
  721. // required string command_key = 2;
  722. bool has_command_key() const;
  723. void clear_command_key();
  724. static const int kCommandKeyFieldNumber = 2;
  725. const ::std::string& command_key() const;
  726. void set_command_key(const ::std::string& value);
  727. #if LANG_CXX11
  728. void set_command_key(::std::string&& value);
  729. #endif
  730. void set_command_key(const char* value);
  731. void set_command_key(const char* value, size_t size);
  732. ::std::string* mutable_command_key();
  733. ::std::string* release_command_key();
  734. void set_allocated_command_key(::std::string* command_key);
  735. // required .message.Base_info base_info = 1;
  736. bool has_base_info() const;
  737. void clear_base_info();
  738. static const int kBaseInfoFieldNumber = 1;
  739. private:
  740. const ::message::Base_info& _internal_base_info() const;
  741. public:
  742. const ::message::Base_info& base_info() const;
  743. ::message::Base_info* release_base_info();
  744. ::message::Base_info* mutable_base_info();
  745. void set_allocated_base_info(::message::Base_info* base_info);
  746. // optional .message.Locate_information locate_information = 6;
  747. bool has_locate_information() const;
  748. void clear_locate_information();
  749. static const int kLocateInformationFieldNumber = 6;
  750. private:
  751. const ::message::Locate_information& _internal_locate_information() const;
  752. public:
  753. const ::message::Locate_information& locate_information() const;
  754. ::message::Locate_information* release_locate_information();
  755. ::message::Locate_information* mutable_locate_information();
  756. void set_allocated_locate_information(::message::Locate_information* locate_information);
  757. // required .message.Dispatch_motion_direction dispatch_motion_direction = 3;
  758. bool has_dispatch_motion_direction() const;
  759. void clear_dispatch_motion_direction();
  760. static const int kDispatchMotionDirectionFieldNumber = 3;
  761. ::message::Dispatch_motion_direction dispatch_motion_direction() const;
  762. void set_dispatch_motion_direction(::message::Dispatch_motion_direction value);
  763. // required int32 terminal_id = 4;
  764. bool has_terminal_id() const;
  765. void clear_terminal_id();
  766. static const int kTerminalIdFieldNumber = 4;
  767. ::google::protobuf::int32 terminal_id() const;
  768. void set_terminal_id(::google::protobuf::int32 value);
  769. // required int32 parkspace_id = 5;
  770. bool has_parkspace_id() const;
  771. void clear_parkspace_id();
  772. static const int kParkspaceIdFieldNumber = 5;
  773. ::google::protobuf::int32 parkspace_id() const;
  774. void set_parkspace_id(::google::protobuf::int32 value);
  775. // @@protoc_insertion_point(class_scope:message.Dispatch_request_msg)
  776. private:
  777. void set_has_base_info();
  778. void clear_has_base_info();
  779. void set_has_command_key();
  780. void clear_has_command_key();
  781. void set_has_dispatch_motion_direction();
  782. void clear_has_dispatch_motion_direction();
  783. void set_has_terminal_id();
  784. void clear_has_terminal_id();
  785. void set_has_parkspace_id();
  786. void clear_has_parkspace_id();
  787. void set_has_locate_information();
  788. void clear_has_locate_information();
  789. // helper for ByteSizeLong()
  790. size_t RequiredFieldsByteSizeFallback() const;
  791. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  792. ::google::protobuf::internal::HasBits<1> _has_bits_;
  793. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  794. ::google::protobuf::internal::ArenaStringPtr command_key_;
  795. ::message::Base_info* base_info_;
  796. ::message::Locate_information* locate_information_;
  797. int dispatch_motion_direction_;
  798. ::google::protobuf::int32 terminal_id_;
  799. ::google::protobuf::int32 parkspace_id_;
  800. friend struct ::protobuf_dispatch_5fmessage_2eproto::TableStruct;
  801. };
  802. // -------------------------------------------------------------------
  803. class Dispatch_response_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Dispatch_response_msg) */ {
  804. public:
  805. Dispatch_response_msg();
  806. virtual ~Dispatch_response_msg();
  807. Dispatch_response_msg(const Dispatch_response_msg& from);
  808. inline Dispatch_response_msg& operator=(const Dispatch_response_msg& from) {
  809. CopyFrom(from);
  810. return *this;
  811. }
  812. #if LANG_CXX11
  813. Dispatch_response_msg(Dispatch_response_msg&& from) noexcept
  814. : Dispatch_response_msg() {
  815. *this = ::std::move(from);
  816. }
  817. inline Dispatch_response_msg& operator=(Dispatch_response_msg&& from) noexcept {
  818. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  819. if (this != &from) InternalSwap(&from);
  820. } else {
  821. CopyFrom(from);
  822. }
  823. return *this;
  824. }
  825. #endif
  826. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  827. return _internal_metadata_.unknown_fields();
  828. }
  829. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  830. return _internal_metadata_.mutable_unknown_fields();
  831. }
  832. static const ::google::protobuf::Descriptor* descriptor();
  833. static const Dispatch_response_msg& default_instance();
  834. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  835. static inline const Dispatch_response_msg* internal_default_instance() {
  836. return reinterpret_cast<const Dispatch_response_msg*>(
  837. &_Dispatch_response_msg_default_instance_);
  838. }
  839. static constexpr int kIndexInFileMessages =
  840. 4;
  841. void Swap(Dispatch_response_msg* other);
  842. friend void swap(Dispatch_response_msg& a, Dispatch_response_msg& b) {
  843. a.Swap(&b);
  844. }
  845. // implements Message ----------------------------------------------
  846. inline Dispatch_response_msg* New() const final {
  847. return CreateMaybeMessage<Dispatch_response_msg>(NULL);
  848. }
  849. Dispatch_response_msg* New(::google::protobuf::Arena* arena) const final {
  850. return CreateMaybeMessage<Dispatch_response_msg>(arena);
  851. }
  852. void CopyFrom(const ::google::protobuf::Message& from) final;
  853. void MergeFrom(const ::google::protobuf::Message& from) final;
  854. void CopyFrom(const Dispatch_response_msg& from);
  855. void MergeFrom(const Dispatch_response_msg& from);
  856. void Clear() final;
  857. bool IsInitialized() const final;
  858. size_t ByteSizeLong() const final;
  859. bool MergePartialFromCodedStream(
  860. ::google::protobuf::io::CodedInputStream* input) final;
  861. void SerializeWithCachedSizes(
  862. ::google::protobuf::io::CodedOutputStream* output) const final;
  863. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  864. bool deterministic, ::google::protobuf::uint8* target) const final;
  865. int GetCachedSize() const final { return _cached_size_.Get(); }
  866. private:
  867. void SharedCtor();
  868. void SharedDtor();
  869. void SetCachedSize(int size) const final;
  870. void InternalSwap(Dispatch_response_msg* other);
  871. private:
  872. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  873. return NULL;
  874. }
  875. inline void* MaybeArenaPtr() const {
  876. return NULL;
  877. }
  878. public:
  879. ::google::protobuf::Metadata GetMetadata() const final;
  880. // nested types ----------------------------------------------------
  881. // accessors -------------------------------------------------------
  882. // required string command_key = 2;
  883. bool has_command_key() const;
  884. void clear_command_key();
  885. static const int kCommandKeyFieldNumber = 2;
  886. const ::std::string& command_key() const;
  887. void set_command_key(const ::std::string& value);
  888. #if LANG_CXX11
  889. void set_command_key(::std::string&& value);
  890. #endif
  891. void set_command_key(const char* value);
  892. void set_command_key(const char* value, size_t size);
  893. ::std::string* mutable_command_key();
  894. ::std::string* release_command_key();
  895. void set_allocated_command_key(::std::string* command_key);
  896. // required .message.Base_info base_info = 1;
  897. bool has_base_info() const;
  898. void clear_base_info();
  899. static const int kBaseInfoFieldNumber = 1;
  900. private:
  901. const ::message::Base_info& _internal_base_info() const;
  902. public:
  903. const ::message::Base_info& base_info() const;
  904. ::message::Base_info* release_base_info();
  905. ::message::Base_info* mutable_base_info();
  906. void set_allocated_base_info(::message::Base_info* base_info);
  907. // required .message.Error_manager error_manager = 3;
  908. bool has_error_manager() const;
  909. void clear_error_manager();
  910. static const int kErrorManagerFieldNumber = 3;
  911. private:
  912. const ::message::Error_manager& _internal_error_manager() const;
  913. public:
  914. const ::message::Error_manager& error_manager() const;
  915. ::message::Error_manager* release_error_manager();
  916. ::message::Error_manager* mutable_error_manager();
  917. void set_allocated_error_manager(::message::Error_manager* error_manager);
  918. // @@protoc_insertion_point(class_scope:message.Dispatch_response_msg)
  919. private:
  920. void set_has_base_info();
  921. void clear_has_base_info();
  922. void set_has_command_key();
  923. void clear_has_command_key();
  924. void set_has_error_manager();
  925. void clear_has_error_manager();
  926. // helper for ByteSizeLong()
  927. size_t RequiredFieldsByteSizeFallback() const;
  928. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  929. ::google::protobuf::internal::HasBits<1> _has_bits_;
  930. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  931. ::google::protobuf::internal::ArenaStringPtr command_key_;
  932. ::message::Base_info* base_info_;
  933. ::message::Error_manager* error_manager_;
  934. friend struct ::protobuf_dispatch_5fmessage_2eproto::TableStruct;
  935. };
  936. // ===================================================================
  937. // ===================================================================
  938. #ifdef __GNUC__
  939. #pragma GCC diagnostic push
  940. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  941. #endif // __GNUC__
  942. // Device_position
  943. // required float x = 1;
  944. inline bool Device_position::has_x() const {
  945. return (_has_bits_[0] & 0x00000001u) != 0;
  946. }
  947. inline void Device_position::set_has_x() {
  948. _has_bits_[0] |= 0x00000001u;
  949. }
  950. inline void Device_position::clear_has_x() {
  951. _has_bits_[0] &= ~0x00000001u;
  952. }
  953. inline void Device_position::clear_x() {
  954. x_ = 0;
  955. clear_has_x();
  956. }
  957. inline float Device_position::x() const {
  958. // @@protoc_insertion_point(field_get:message.Device_position.x)
  959. return x_;
  960. }
  961. inline void Device_position::set_x(float value) {
  962. set_has_x();
  963. x_ = value;
  964. // @@protoc_insertion_point(field_set:message.Device_position.x)
  965. }
  966. // required float y = 2;
  967. inline bool Device_position::has_y() const {
  968. return (_has_bits_[0] & 0x00000002u) != 0;
  969. }
  970. inline void Device_position::set_has_y() {
  971. _has_bits_[0] |= 0x00000002u;
  972. }
  973. inline void Device_position::clear_has_y() {
  974. _has_bits_[0] &= ~0x00000002u;
  975. }
  976. inline void Device_position::clear_y() {
  977. y_ = 0;
  978. clear_has_y();
  979. }
  980. inline float Device_position::y() const {
  981. // @@protoc_insertion_point(field_get:message.Device_position.y)
  982. return y_;
  983. }
  984. inline void Device_position::set_y(float value) {
  985. set_has_y();
  986. y_ = value;
  987. // @@protoc_insertion_point(field_set:message.Device_position.y)
  988. }
  989. // required float z = 3;
  990. inline bool Device_position::has_z() const {
  991. return (_has_bits_[0] & 0x00000004u) != 0;
  992. }
  993. inline void Device_position::set_has_z() {
  994. _has_bits_[0] |= 0x00000004u;
  995. }
  996. inline void Device_position::clear_has_z() {
  997. _has_bits_[0] &= ~0x00000004u;
  998. }
  999. inline void Device_position::clear_z() {
  1000. z_ = 0;
  1001. clear_has_z();
  1002. }
  1003. inline float Device_position::z() const {
  1004. // @@protoc_insertion_point(field_get:message.Device_position.z)
  1005. return z_;
  1006. }
  1007. inline void Device_position::set_z(float value) {
  1008. set_has_z();
  1009. z_ = value;
  1010. // @@protoc_insertion_point(field_set:message.Device_position.z)
  1011. }
  1012. // -------------------------------------------------------------------
  1013. // Dispatch_manager_status_msg
  1014. // required .message.Base_info base_info = 1;
  1015. inline bool Dispatch_manager_status_msg::has_base_info() const {
  1016. return (_has_bits_[0] & 0x00000001u) != 0;
  1017. }
  1018. inline void Dispatch_manager_status_msg::set_has_base_info() {
  1019. _has_bits_[0] |= 0x00000001u;
  1020. }
  1021. inline void Dispatch_manager_status_msg::clear_has_base_info() {
  1022. _has_bits_[0] &= ~0x00000001u;
  1023. }
  1024. inline const ::message::Base_info& Dispatch_manager_status_msg::_internal_base_info() const {
  1025. return *base_info_;
  1026. }
  1027. inline const ::message::Base_info& Dispatch_manager_status_msg::base_info() const {
  1028. const ::message::Base_info* p = base_info_;
  1029. // @@protoc_insertion_point(field_get:message.Dispatch_manager_status_msg.base_info)
  1030. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  1031. &::message::_Base_info_default_instance_);
  1032. }
  1033. inline ::message::Base_info* Dispatch_manager_status_msg::release_base_info() {
  1034. // @@protoc_insertion_point(field_release:message.Dispatch_manager_status_msg.base_info)
  1035. clear_has_base_info();
  1036. ::message::Base_info* temp = base_info_;
  1037. base_info_ = NULL;
  1038. return temp;
  1039. }
  1040. inline ::message::Base_info* Dispatch_manager_status_msg::mutable_base_info() {
  1041. set_has_base_info();
  1042. if (base_info_ == NULL) {
  1043. auto* p = CreateMaybeMessage<::message::Base_info>(GetArenaNoVirtual());
  1044. base_info_ = p;
  1045. }
  1046. // @@protoc_insertion_point(field_mutable:message.Dispatch_manager_status_msg.base_info)
  1047. return base_info_;
  1048. }
  1049. inline void Dispatch_manager_status_msg::set_allocated_base_info(::message::Base_info* base_info) {
  1050. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1051. if (message_arena == NULL) {
  1052. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  1053. }
  1054. if (base_info) {
  1055. ::google::protobuf::Arena* submessage_arena = NULL;
  1056. if (message_arena != submessage_arena) {
  1057. base_info = ::google::protobuf::internal::GetOwnedMessage(
  1058. message_arena, base_info, submessage_arena);
  1059. }
  1060. set_has_base_info();
  1061. } else {
  1062. clear_has_base_info();
  1063. }
  1064. base_info_ = base_info;
  1065. // @@protoc_insertion_point(field_set_allocated:message.Dispatch_manager_status_msg.base_info)
  1066. }
  1067. // required int32 dispatch_id = 2;
  1068. inline bool Dispatch_manager_status_msg::has_dispatch_id() const {
  1069. return (_has_bits_[0] & 0x00000002u) != 0;
  1070. }
  1071. inline void Dispatch_manager_status_msg::set_has_dispatch_id() {
  1072. _has_bits_[0] |= 0x00000002u;
  1073. }
  1074. inline void Dispatch_manager_status_msg::clear_has_dispatch_id() {
  1075. _has_bits_[0] &= ~0x00000002u;
  1076. }
  1077. inline void Dispatch_manager_status_msg::clear_dispatch_id() {
  1078. dispatch_id_ = 0;
  1079. clear_has_dispatch_id();
  1080. }
  1081. inline ::google::protobuf::int32 Dispatch_manager_status_msg::dispatch_id() const {
  1082. // @@protoc_insertion_point(field_get:message.Dispatch_manager_status_msg.dispatch_id)
  1083. return dispatch_id_;
  1084. }
  1085. inline void Dispatch_manager_status_msg::set_dispatch_id(::google::protobuf::int32 value) {
  1086. set_has_dispatch_id();
  1087. dispatch_id_ = value;
  1088. // @@protoc_insertion_point(field_set:message.Dispatch_manager_status_msg.dispatch_id)
  1089. }
  1090. // required .message.Dispatch_manager_status dispatch_manager_status = 3;
  1091. inline bool Dispatch_manager_status_msg::has_dispatch_manager_status() const {
  1092. return (_has_bits_[0] & 0x00000004u) != 0;
  1093. }
  1094. inline void Dispatch_manager_status_msg::set_has_dispatch_manager_status() {
  1095. _has_bits_[0] |= 0x00000004u;
  1096. }
  1097. inline void Dispatch_manager_status_msg::clear_has_dispatch_manager_status() {
  1098. _has_bits_[0] &= ~0x00000004u;
  1099. }
  1100. inline void Dispatch_manager_status_msg::clear_dispatch_manager_status() {
  1101. dispatch_manager_status_ = 0;
  1102. clear_has_dispatch_manager_status();
  1103. }
  1104. inline ::message::Dispatch_manager_status Dispatch_manager_status_msg::dispatch_manager_status() const {
  1105. // @@protoc_insertion_point(field_get:message.Dispatch_manager_status_msg.dispatch_manager_status)
  1106. return static_cast< ::message::Dispatch_manager_status >(dispatch_manager_status_);
  1107. }
  1108. inline void Dispatch_manager_status_msg::set_dispatch_manager_status(::message::Dispatch_manager_status value) {
  1109. assert(::message::Dispatch_manager_status_IsValid(value));
  1110. set_has_dispatch_manager_status();
  1111. dispatch_manager_status_ = value;
  1112. // @@protoc_insertion_point(field_set:message.Dispatch_manager_status_msg.dispatch_manager_status)
  1113. }
  1114. // repeated .message.Catcher_status catcher_status = 4;
  1115. inline int Dispatch_manager_status_msg::catcher_status_size() const {
  1116. return catcher_status_.size();
  1117. }
  1118. inline void Dispatch_manager_status_msg::clear_catcher_status() {
  1119. catcher_status_.Clear();
  1120. }
  1121. inline ::message::Catcher_status Dispatch_manager_status_msg::catcher_status(int index) const {
  1122. // @@protoc_insertion_point(field_get:message.Dispatch_manager_status_msg.catcher_status)
  1123. return static_cast< ::message::Catcher_status >(catcher_status_.Get(index));
  1124. }
  1125. inline void Dispatch_manager_status_msg::set_catcher_status(int index, ::message::Catcher_status value) {
  1126. assert(::message::Catcher_status_IsValid(value));
  1127. catcher_status_.Set(index, value);
  1128. // @@protoc_insertion_point(field_set:message.Dispatch_manager_status_msg.catcher_status)
  1129. }
  1130. inline void Dispatch_manager_status_msg::add_catcher_status(::message::Catcher_status value) {
  1131. assert(::message::Catcher_status_IsValid(value));
  1132. catcher_status_.Add(value);
  1133. // @@protoc_insertion_point(field_add:message.Dispatch_manager_status_msg.catcher_status)
  1134. }
  1135. inline const ::google::protobuf::RepeatedField<int>&
  1136. Dispatch_manager_status_msg::catcher_status() const {
  1137. // @@protoc_insertion_point(field_list:message.Dispatch_manager_status_msg.catcher_status)
  1138. return catcher_status_;
  1139. }
  1140. inline ::google::protobuf::RepeatedField<int>*
  1141. Dispatch_manager_status_msg::mutable_catcher_status() {
  1142. // @@protoc_insertion_point(field_mutable_list:message.Dispatch_manager_status_msg.catcher_status)
  1143. return &catcher_status_;
  1144. }
  1145. // repeated .message.Carrier_status carrier_status = 5;
  1146. inline int Dispatch_manager_status_msg::carrier_status_size() const {
  1147. return carrier_status_.size();
  1148. }
  1149. inline void Dispatch_manager_status_msg::clear_carrier_status() {
  1150. carrier_status_.Clear();
  1151. }
  1152. inline ::message::Carrier_status Dispatch_manager_status_msg::carrier_status(int index) const {
  1153. // @@protoc_insertion_point(field_get:message.Dispatch_manager_status_msg.carrier_status)
  1154. return static_cast< ::message::Carrier_status >(carrier_status_.Get(index));
  1155. }
  1156. inline void Dispatch_manager_status_msg::set_carrier_status(int index, ::message::Carrier_status value) {
  1157. assert(::message::Carrier_status_IsValid(value));
  1158. carrier_status_.Set(index, value);
  1159. // @@protoc_insertion_point(field_set:message.Dispatch_manager_status_msg.carrier_status)
  1160. }
  1161. inline void Dispatch_manager_status_msg::add_carrier_status(::message::Carrier_status value) {
  1162. assert(::message::Carrier_status_IsValid(value));
  1163. carrier_status_.Add(value);
  1164. // @@protoc_insertion_point(field_add:message.Dispatch_manager_status_msg.carrier_status)
  1165. }
  1166. inline const ::google::protobuf::RepeatedField<int>&
  1167. Dispatch_manager_status_msg::carrier_status() const {
  1168. // @@protoc_insertion_point(field_list:message.Dispatch_manager_status_msg.carrier_status)
  1169. return carrier_status_;
  1170. }
  1171. inline ::google::protobuf::RepeatedField<int>*
  1172. Dispatch_manager_status_msg::mutable_carrier_status() {
  1173. // @@protoc_insertion_point(field_mutable_list:message.Dispatch_manager_status_msg.carrier_status)
  1174. return &carrier_status_;
  1175. }
  1176. // repeated .message.Elevator_status elevator_status = 6;
  1177. inline int Dispatch_manager_status_msg::elevator_status_size() const {
  1178. return elevator_status_.size();
  1179. }
  1180. inline void Dispatch_manager_status_msg::clear_elevator_status() {
  1181. elevator_status_.Clear();
  1182. }
  1183. inline ::message::Elevator_status Dispatch_manager_status_msg::elevator_status(int index) const {
  1184. // @@protoc_insertion_point(field_get:message.Dispatch_manager_status_msg.elevator_status)
  1185. return static_cast< ::message::Elevator_status >(elevator_status_.Get(index));
  1186. }
  1187. inline void Dispatch_manager_status_msg::set_elevator_status(int index, ::message::Elevator_status value) {
  1188. assert(::message::Elevator_status_IsValid(value));
  1189. elevator_status_.Set(index, value);
  1190. // @@protoc_insertion_point(field_set:message.Dispatch_manager_status_msg.elevator_status)
  1191. }
  1192. inline void Dispatch_manager_status_msg::add_elevator_status(::message::Elevator_status value) {
  1193. assert(::message::Elevator_status_IsValid(value));
  1194. elevator_status_.Add(value);
  1195. // @@protoc_insertion_point(field_add:message.Dispatch_manager_status_msg.elevator_status)
  1196. }
  1197. inline const ::google::protobuf::RepeatedField<int>&
  1198. Dispatch_manager_status_msg::elevator_status() const {
  1199. // @@protoc_insertion_point(field_list:message.Dispatch_manager_status_msg.elevator_status)
  1200. return elevator_status_;
  1201. }
  1202. inline ::google::protobuf::RepeatedField<int>*
  1203. Dispatch_manager_status_msg::mutable_elevator_status() {
  1204. // @@protoc_insertion_point(field_mutable_list:message.Dispatch_manager_status_msg.elevator_status)
  1205. return &elevator_status_;
  1206. }
  1207. // repeated .message.Passageway_status passageway_status = 7;
  1208. inline int Dispatch_manager_status_msg::passageway_status_size() const {
  1209. return passageway_status_.size();
  1210. }
  1211. inline void Dispatch_manager_status_msg::clear_passageway_status() {
  1212. passageway_status_.Clear();
  1213. }
  1214. inline ::message::Passageway_status Dispatch_manager_status_msg::passageway_status(int index) const {
  1215. // @@protoc_insertion_point(field_get:message.Dispatch_manager_status_msg.passageway_status)
  1216. return static_cast< ::message::Passageway_status >(passageway_status_.Get(index));
  1217. }
  1218. inline void Dispatch_manager_status_msg::set_passageway_status(int index, ::message::Passageway_status value) {
  1219. assert(::message::Passageway_status_IsValid(value));
  1220. passageway_status_.Set(index, value);
  1221. // @@protoc_insertion_point(field_set:message.Dispatch_manager_status_msg.passageway_status)
  1222. }
  1223. inline void Dispatch_manager_status_msg::add_passageway_status(::message::Passageway_status value) {
  1224. assert(::message::Passageway_status_IsValid(value));
  1225. passageway_status_.Add(value);
  1226. // @@protoc_insertion_point(field_add:message.Dispatch_manager_status_msg.passageway_status)
  1227. }
  1228. inline const ::google::protobuf::RepeatedField<int>&
  1229. Dispatch_manager_status_msg::passageway_status() const {
  1230. // @@protoc_insertion_point(field_list:message.Dispatch_manager_status_msg.passageway_status)
  1231. return passageway_status_;
  1232. }
  1233. inline ::google::protobuf::RepeatedField<int>*
  1234. Dispatch_manager_status_msg::mutable_passageway_status() {
  1235. // @@protoc_insertion_point(field_mutable_list:message.Dispatch_manager_status_msg.passageway_status)
  1236. return &passageway_status_;
  1237. }
  1238. // -------------------------------------------------------------------
  1239. // Dispatch_terminal_status_msg
  1240. // required .message.Base_info base_info = 1;
  1241. inline bool Dispatch_terminal_status_msg::has_base_info() const {
  1242. return (_has_bits_[0] & 0x00000001u) != 0;
  1243. }
  1244. inline void Dispatch_terminal_status_msg::set_has_base_info() {
  1245. _has_bits_[0] |= 0x00000001u;
  1246. }
  1247. inline void Dispatch_terminal_status_msg::clear_has_base_info() {
  1248. _has_bits_[0] &= ~0x00000001u;
  1249. }
  1250. inline const ::message::Base_info& Dispatch_terminal_status_msg::_internal_base_info() const {
  1251. return *base_info_;
  1252. }
  1253. inline const ::message::Base_info& Dispatch_terminal_status_msg::base_info() const {
  1254. const ::message::Base_info* p = base_info_;
  1255. // @@protoc_insertion_point(field_get:message.Dispatch_terminal_status_msg.base_info)
  1256. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  1257. &::message::_Base_info_default_instance_);
  1258. }
  1259. inline ::message::Base_info* Dispatch_terminal_status_msg::release_base_info() {
  1260. // @@protoc_insertion_point(field_release:message.Dispatch_terminal_status_msg.base_info)
  1261. clear_has_base_info();
  1262. ::message::Base_info* temp = base_info_;
  1263. base_info_ = NULL;
  1264. return temp;
  1265. }
  1266. inline ::message::Base_info* Dispatch_terminal_status_msg::mutable_base_info() {
  1267. set_has_base_info();
  1268. if (base_info_ == NULL) {
  1269. auto* p = CreateMaybeMessage<::message::Base_info>(GetArenaNoVirtual());
  1270. base_info_ = p;
  1271. }
  1272. // @@protoc_insertion_point(field_mutable:message.Dispatch_terminal_status_msg.base_info)
  1273. return base_info_;
  1274. }
  1275. inline void Dispatch_terminal_status_msg::set_allocated_base_info(::message::Base_info* base_info) {
  1276. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1277. if (message_arena == NULL) {
  1278. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  1279. }
  1280. if (base_info) {
  1281. ::google::protobuf::Arena* submessage_arena = NULL;
  1282. if (message_arena != submessage_arena) {
  1283. base_info = ::google::protobuf::internal::GetOwnedMessage(
  1284. message_arena, base_info, submessage_arena);
  1285. }
  1286. set_has_base_info();
  1287. } else {
  1288. clear_has_base_info();
  1289. }
  1290. base_info_ = base_info;
  1291. // @@protoc_insertion_point(field_set_allocated:message.Dispatch_terminal_status_msg.base_info)
  1292. }
  1293. // required int32 terminal_id = 2;
  1294. inline bool Dispatch_terminal_status_msg::has_terminal_id() const {
  1295. return (_has_bits_[0] & 0x00000002u) != 0;
  1296. }
  1297. inline void Dispatch_terminal_status_msg::set_has_terminal_id() {
  1298. _has_bits_[0] |= 0x00000002u;
  1299. }
  1300. inline void Dispatch_terminal_status_msg::clear_has_terminal_id() {
  1301. _has_bits_[0] &= ~0x00000002u;
  1302. }
  1303. inline void Dispatch_terminal_status_msg::clear_terminal_id() {
  1304. terminal_id_ = 0;
  1305. clear_has_terminal_id();
  1306. }
  1307. inline ::google::protobuf::int32 Dispatch_terminal_status_msg::terminal_id() const {
  1308. // @@protoc_insertion_point(field_get:message.Dispatch_terminal_status_msg.terminal_id)
  1309. return terminal_id_;
  1310. }
  1311. inline void Dispatch_terminal_status_msg::set_terminal_id(::google::protobuf::int32 value) {
  1312. set_has_terminal_id();
  1313. terminal_id_ = value;
  1314. // @@protoc_insertion_point(field_set:message.Dispatch_terminal_status_msg.terminal_id)
  1315. }
  1316. // required .message.Terminal_status terminal_status = 3;
  1317. inline bool Dispatch_terminal_status_msg::has_terminal_status() const {
  1318. return (_has_bits_[0] & 0x00000004u) != 0;
  1319. }
  1320. inline void Dispatch_terminal_status_msg::set_has_terminal_status() {
  1321. _has_bits_[0] |= 0x00000004u;
  1322. }
  1323. inline void Dispatch_terminal_status_msg::clear_has_terminal_status() {
  1324. _has_bits_[0] &= ~0x00000004u;
  1325. }
  1326. inline void Dispatch_terminal_status_msg::clear_terminal_status() {
  1327. terminal_status_ = 0;
  1328. clear_has_terminal_status();
  1329. }
  1330. inline ::message::Terminal_status Dispatch_terminal_status_msg::terminal_status() const {
  1331. // @@protoc_insertion_point(field_get:message.Dispatch_terminal_status_msg.terminal_status)
  1332. return static_cast< ::message::Terminal_status >(terminal_status_);
  1333. }
  1334. inline void Dispatch_terminal_status_msg::set_terminal_status(::message::Terminal_status value) {
  1335. assert(::message::Terminal_status_IsValid(value));
  1336. set_has_terminal_status();
  1337. terminal_status_ = value;
  1338. // @@protoc_insertion_point(field_set:message.Dispatch_terminal_status_msg.terminal_status)
  1339. }
  1340. // required .message.Passageway_direction passageway_direction = 4;
  1341. inline bool Dispatch_terminal_status_msg::has_passageway_direction() const {
  1342. return (_has_bits_[0] & 0x00000008u) != 0;
  1343. }
  1344. inline void Dispatch_terminal_status_msg::set_has_passageway_direction() {
  1345. _has_bits_[0] |= 0x00000008u;
  1346. }
  1347. inline void Dispatch_terminal_status_msg::clear_has_passageway_direction() {
  1348. _has_bits_[0] &= ~0x00000008u;
  1349. }
  1350. inline void Dispatch_terminal_status_msg::clear_passageway_direction() {
  1351. passageway_direction_ = 0;
  1352. clear_has_passageway_direction();
  1353. }
  1354. inline ::message::Passageway_direction Dispatch_terminal_status_msg::passageway_direction() const {
  1355. // @@protoc_insertion_point(field_get:message.Dispatch_terminal_status_msg.passageway_direction)
  1356. return static_cast< ::message::Passageway_direction >(passageway_direction_);
  1357. }
  1358. inline void Dispatch_terminal_status_msg::set_passageway_direction(::message::Passageway_direction value) {
  1359. assert(::message::Passageway_direction_IsValid(value));
  1360. set_has_passageway_direction();
  1361. passageway_direction_ = value;
  1362. // @@protoc_insertion_point(field_set:message.Dispatch_terminal_status_msg.passageway_direction)
  1363. }
  1364. // -------------------------------------------------------------------
  1365. // Dispatch_request_msg
  1366. // required .message.Base_info base_info = 1;
  1367. inline bool Dispatch_request_msg::has_base_info() const {
  1368. return (_has_bits_[0] & 0x00000002u) != 0;
  1369. }
  1370. inline void Dispatch_request_msg::set_has_base_info() {
  1371. _has_bits_[0] |= 0x00000002u;
  1372. }
  1373. inline void Dispatch_request_msg::clear_has_base_info() {
  1374. _has_bits_[0] &= ~0x00000002u;
  1375. }
  1376. inline const ::message::Base_info& Dispatch_request_msg::_internal_base_info() const {
  1377. return *base_info_;
  1378. }
  1379. inline const ::message::Base_info& Dispatch_request_msg::base_info() const {
  1380. const ::message::Base_info* p = base_info_;
  1381. // @@protoc_insertion_point(field_get:message.Dispatch_request_msg.base_info)
  1382. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  1383. &::message::_Base_info_default_instance_);
  1384. }
  1385. inline ::message::Base_info* Dispatch_request_msg::release_base_info() {
  1386. // @@protoc_insertion_point(field_release:message.Dispatch_request_msg.base_info)
  1387. clear_has_base_info();
  1388. ::message::Base_info* temp = base_info_;
  1389. base_info_ = NULL;
  1390. return temp;
  1391. }
  1392. inline ::message::Base_info* Dispatch_request_msg::mutable_base_info() {
  1393. set_has_base_info();
  1394. if (base_info_ == NULL) {
  1395. auto* p = CreateMaybeMessage<::message::Base_info>(GetArenaNoVirtual());
  1396. base_info_ = p;
  1397. }
  1398. // @@protoc_insertion_point(field_mutable:message.Dispatch_request_msg.base_info)
  1399. return base_info_;
  1400. }
  1401. inline void Dispatch_request_msg::set_allocated_base_info(::message::Base_info* base_info) {
  1402. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1403. if (message_arena == NULL) {
  1404. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  1405. }
  1406. if (base_info) {
  1407. ::google::protobuf::Arena* submessage_arena = NULL;
  1408. if (message_arena != submessage_arena) {
  1409. base_info = ::google::protobuf::internal::GetOwnedMessage(
  1410. message_arena, base_info, submessage_arena);
  1411. }
  1412. set_has_base_info();
  1413. } else {
  1414. clear_has_base_info();
  1415. }
  1416. base_info_ = base_info;
  1417. // @@protoc_insertion_point(field_set_allocated:message.Dispatch_request_msg.base_info)
  1418. }
  1419. // required string command_key = 2;
  1420. inline bool Dispatch_request_msg::has_command_key() const {
  1421. return (_has_bits_[0] & 0x00000001u) != 0;
  1422. }
  1423. inline void Dispatch_request_msg::set_has_command_key() {
  1424. _has_bits_[0] |= 0x00000001u;
  1425. }
  1426. inline void Dispatch_request_msg::clear_has_command_key() {
  1427. _has_bits_[0] &= ~0x00000001u;
  1428. }
  1429. inline void Dispatch_request_msg::clear_command_key() {
  1430. command_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1431. clear_has_command_key();
  1432. }
  1433. inline const ::std::string& Dispatch_request_msg::command_key() const {
  1434. // @@protoc_insertion_point(field_get:message.Dispatch_request_msg.command_key)
  1435. return command_key_.GetNoArena();
  1436. }
  1437. inline void Dispatch_request_msg::set_command_key(const ::std::string& value) {
  1438. set_has_command_key();
  1439. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1440. // @@protoc_insertion_point(field_set:message.Dispatch_request_msg.command_key)
  1441. }
  1442. #if LANG_CXX11
  1443. inline void Dispatch_request_msg::set_command_key(::std::string&& value) {
  1444. set_has_command_key();
  1445. command_key_.SetNoArena(
  1446. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1447. // @@protoc_insertion_point(field_set_rvalue:message.Dispatch_request_msg.command_key)
  1448. }
  1449. #endif
  1450. inline void Dispatch_request_msg::set_command_key(const char* value) {
  1451. GOOGLE_DCHECK(value != NULL);
  1452. set_has_command_key();
  1453. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1454. // @@protoc_insertion_point(field_set_char:message.Dispatch_request_msg.command_key)
  1455. }
  1456. inline void Dispatch_request_msg::set_command_key(const char* value, size_t size) {
  1457. set_has_command_key();
  1458. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1459. ::std::string(reinterpret_cast<const char*>(value), size));
  1460. // @@protoc_insertion_point(field_set_pointer:message.Dispatch_request_msg.command_key)
  1461. }
  1462. inline ::std::string* Dispatch_request_msg::mutable_command_key() {
  1463. set_has_command_key();
  1464. // @@protoc_insertion_point(field_mutable:message.Dispatch_request_msg.command_key)
  1465. return command_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1466. }
  1467. inline ::std::string* Dispatch_request_msg::release_command_key() {
  1468. // @@protoc_insertion_point(field_release:message.Dispatch_request_msg.command_key)
  1469. if (!has_command_key()) {
  1470. return NULL;
  1471. }
  1472. clear_has_command_key();
  1473. return command_key_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1474. }
  1475. inline void Dispatch_request_msg::set_allocated_command_key(::std::string* command_key) {
  1476. if (command_key != NULL) {
  1477. set_has_command_key();
  1478. } else {
  1479. clear_has_command_key();
  1480. }
  1481. command_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), command_key);
  1482. // @@protoc_insertion_point(field_set_allocated:message.Dispatch_request_msg.command_key)
  1483. }
  1484. // required .message.Dispatch_motion_direction dispatch_motion_direction = 3;
  1485. inline bool Dispatch_request_msg::has_dispatch_motion_direction() const {
  1486. return (_has_bits_[0] & 0x00000008u) != 0;
  1487. }
  1488. inline void Dispatch_request_msg::set_has_dispatch_motion_direction() {
  1489. _has_bits_[0] |= 0x00000008u;
  1490. }
  1491. inline void Dispatch_request_msg::clear_has_dispatch_motion_direction() {
  1492. _has_bits_[0] &= ~0x00000008u;
  1493. }
  1494. inline void Dispatch_request_msg::clear_dispatch_motion_direction() {
  1495. dispatch_motion_direction_ = 0;
  1496. clear_has_dispatch_motion_direction();
  1497. }
  1498. inline ::message::Dispatch_motion_direction Dispatch_request_msg::dispatch_motion_direction() const {
  1499. // @@protoc_insertion_point(field_get:message.Dispatch_request_msg.dispatch_motion_direction)
  1500. return static_cast< ::message::Dispatch_motion_direction >(dispatch_motion_direction_);
  1501. }
  1502. inline void Dispatch_request_msg::set_dispatch_motion_direction(::message::Dispatch_motion_direction value) {
  1503. assert(::message::Dispatch_motion_direction_IsValid(value));
  1504. set_has_dispatch_motion_direction();
  1505. dispatch_motion_direction_ = value;
  1506. // @@protoc_insertion_point(field_set:message.Dispatch_request_msg.dispatch_motion_direction)
  1507. }
  1508. // required int32 terminal_id = 4;
  1509. inline bool Dispatch_request_msg::has_terminal_id() const {
  1510. return (_has_bits_[0] & 0x00000010u) != 0;
  1511. }
  1512. inline void Dispatch_request_msg::set_has_terminal_id() {
  1513. _has_bits_[0] |= 0x00000010u;
  1514. }
  1515. inline void Dispatch_request_msg::clear_has_terminal_id() {
  1516. _has_bits_[0] &= ~0x00000010u;
  1517. }
  1518. inline void Dispatch_request_msg::clear_terminal_id() {
  1519. terminal_id_ = 0;
  1520. clear_has_terminal_id();
  1521. }
  1522. inline ::google::protobuf::int32 Dispatch_request_msg::terminal_id() const {
  1523. // @@protoc_insertion_point(field_get:message.Dispatch_request_msg.terminal_id)
  1524. return terminal_id_;
  1525. }
  1526. inline void Dispatch_request_msg::set_terminal_id(::google::protobuf::int32 value) {
  1527. set_has_terminal_id();
  1528. terminal_id_ = value;
  1529. // @@protoc_insertion_point(field_set:message.Dispatch_request_msg.terminal_id)
  1530. }
  1531. // required int32 parkspace_id = 5;
  1532. inline bool Dispatch_request_msg::has_parkspace_id() const {
  1533. return (_has_bits_[0] & 0x00000020u) != 0;
  1534. }
  1535. inline void Dispatch_request_msg::set_has_parkspace_id() {
  1536. _has_bits_[0] |= 0x00000020u;
  1537. }
  1538. inline void Dispatch_request_msg::clear_has_parkspace_id() {
  1539. _has_bits_[0] &= ~0x00000020u;
  1540. }
  1541. inline void Dispatch_request_msg::clear_parkspace_id() {
  1542. parkspace_id_ = 0;
  1543. clear_has_parkspace_id();
  1544. }
  1545. inline ::google::protobuf::int32 Dispatch_request_msg::parkspace_id() const {
  1546. // @@protoc_insertion_point(field_get:message.Dispatch_request_msg.parkspace_id)
  1547. return parkspace_id_;
  1548. }
  1549. inline void Dispatch_request_msg::set_parkspace_id(::google::protobuf::int32 value) {
  1550. set_has_parkspace_id();
  1551. parkspace_id_ = value;
  1552. // @@protoc_insertion_point(field_set:message.Dispatch_request_msg.parkspace_id)
  1553. }
  1554. // optional .message.Locate_information locate_information = 6;
  1555. inline bool Dispatch_request_msg::has_locate_information() const {
  1556. return (_has_bits_[0] & 0x00000004u) != 0;
  1557. }
  1558. inline void Dispatch_request_msg::set_has_locate_information() {
  1559. _has_bits_[0] |= 0x00000004u;
  1560. }
  1561. inline void Dispatch_request_msg::clear_has_locate_information() {
  1562. _has_bits_[0] &= ~0x00000004u;
  1563. }
  1564. inline const ::message::Locate_information& Dispatch_request_msg::_internal_locate_information() const {
  1565. return *locate_information_;
  1566. }
  1567. inline const ::message::Locate_information& Dispatch_request_msg::locate_information() const {
  1568. const ::message::Locate_information* p = locate_information_;
  1569. // @@protoc_insertion_point(field_get:message.Dispatch_request_msg.locate_information)
  1570. return p != NULL ? *p : *reinterpret_cast<const ::message::Locate_information*>(
  1571. &::message::_Locate_information_default_instance_);
  1572. }
  1573. inline ::message::Locate_information* Dispatch_request_msg::release_locate_information() {
  1574. // @@protoc_insertion_point(field_release:message.Dispatch_request_msg.locate_information)
  1575. clear_has_locate_information();
  1576. ::message::Locate_information* temp = locate_information_;
  1577. locate_information_ = NULL;
  1578. return temp;
  1579. }
  1580. inline ::message::Locate_information* Dispatch_request_msg::mutable_locate_information() {
  1581. set_has_locate_information();
  1582. if (locate_information_ == NULL) {
  1583. auto* p = CreateMaybeMessage<::message::Locate_information>(GetArenaNoVirtual());
  1584. locate_information_ = p;
  1585. }
  1586. // @@protoc_insertion_point(field_mutable:message.Dispatch_request_msg.locate_information)
  1587. return locate_information_;
  1588. }
  1589. inline void Dispatch_request_msg::set_allocated_locate_information(::message::Locate_information* locate_information) {
  1590. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1591. if (message_arena == NULL) {
  1592. delete reinterpret_cast< ::google::protobuf::MessageLite*>(locate_information_);
  1593. }
  1594. if (locate_information) {
  1595. ::google::protobuf::Arena* submessage_arena = NULL;
  1596. if (message_arena != submessage_arena) {
  1597. locate_information = ::google::protobuf::internal::GetOwnedMessage(
  1598. message_arena, locate_information, submessage_arena);
  1599. }
  1600. set_has_locate_information();
  1601. } else {
  1602. clear_has_locate_information();
  1603. }
  1604. locate_information_ = locate_information;
  1605. // @@protoc_insertion_point(field_set_allocated:message.Dispatch_request_msg.locate_information)
  1606. }
  1607. // -------------------------------------------------------------------
  1608. // Dispatch_response_msg
  1609. // required .message.Base_info base_info = 1;
  1610. inline bool Dispatch_response_msg::has_base_info() const {
  1611. return (_has_bits_[0] & 0x00000002u) != 0;
  1612. }
  1613. inline void Dispatch_response_msg::set_has_base_info() {
  1614. _has_bits_[0] |= 0x00000002u;
  1615. }
  1616. inline void Dispatch_response_msg::clear_has_base_info() {
  1617. _has_bits_[0] &= ~0x00000002u;
  1618. }
  1619. inline const ::message::Base_info& Dispatch_response_msg::_internal_base_info() const {
  1620. return *base_info_;
  1621. }
  1622. inline const ::message::Base_info& Dispatch_response_msg::base_info() const {
  1623. const ::message::Base_info* p = base_info_;
  1624. // @@protoc_insertion_point(field_get:message.Dispatch_response_msg.base_info)
  1625. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  1626. &::message::_Base_info_default_instance_);
  1627. }
  1628. inline ::message::Base_info* Dispatch_response_msg::release_base_info() {
  1629. // @@protoc_insertion_point(field_release:message.Dispatch_response_msg.base_info)
  1630. clear_has_base_info();
  1631. ::message::Base_info* temp = base_info_;
  1632. base_info_ = NULL;
  1633. return temp;
  1634. }
  1635. inline ::message::Base_info* Dispatch_response_msg::mutable_base_info() {
  1636. set_has_base_info();
  1637. if (base_info_ == NULL) {
  1638. auto* p = CreateMaybeMessage<::message::Base_info>(GetArenaNoVirtual());
  1639. base_info_ = p;
  1640. }
  1641. // @@protoc_insertion_point(field_mutable:message.Dispatch_response_msg.base_info)
  1642. return base_info_;
  1643. }
  1644. inline void Dispatch_response_msg::set_allocated_base_info(::message::Base_info* base_info) {
  1645. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1646. if (message_arena == NULL) {
  1647. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  1648. }
  1649. if (base_info) {
  1650. ::google::protobuf::Arena* submessage_arena = NULL;
  1651. if (message_arena != submessage_arena) {
  1652. base_info = ::google::protobuf::internal::GetOwnedMessage(
  1653. message_arena, base_info, submessage_arena);
  1654. }
  1655. set_has_base_info();
  1656. } else {
  1657. clear_has_base_info();
  1658. }
  1659. base_info_ = base_info;
  1660. // @@protoc_insertion_point(field_set_allocated:message.Dispatch_response_msg.base_info)
  1661. }
  1662. // required string command_key = 2;
  1663. inline bool Dispatch_response_msg::has_command_key() const {
  1664. return (_has_bits_[0] & 0x00000001u) != 0;
  1665. }
  1666. inline void Dispatch_response_msg::set_has_command_key() {
  1667. _has_bits_[0] |= 0x00000001u;
  1668. }
  1669. inline void Dispatch_response_msg::clear_has_command_key() {
  1670. _has_bits_[0] &= ~0x00000001u;
  1671. }
  1672. inline void Dispatch_response_msg::clear_command_key() {
  1673. command_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1674. clear_has_command_key();
  1675. }
  1676. inline const ::std::string& Dispatch_response_msg::command_key() const {
  1677. // @@protoc_insertion_point(field_get:message.Dispatch_response_msg.command_key)
  1678. return command_key_.GetNoArena();
  1679. }
  1680. inline void Dispatch_response_msg::set_command_key(const ::std::string& value) {
  1681. set_has_command_key();
  1682. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1683. // @@protoc_insertion_point(field_set:message.Dispatch_response_msg.command_key)
  1684. }
  1685. #if LANG_CXX11
  1686. inline void Dispatch_response_msg::set_command_key(::std::string&& value) {
  1687. set_has_command_key();
  1688. command_key_.SetNoArena(
  1689. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1690. // @@protoc_insertion_point(field_set_rvalue:message.Dispatch_response_msg.command_key)
  1691. }
  1692. #endif
  1693. inline void Dispatch_response_msg::set_command_key(const char* value) {
  1694. GOOGLE_DCHECK(value != NULL);
  1695. set_has_command_key();
  1696. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1697. // @@protoc_insertion_point(field_set_char:message.Dispatch_response_msg.command_key)
  1698. }
  1699. inline void Dispatch_response_msg::set_command_key(const char* value, size_t size) {
  1700. set_has_command_key();
  1701. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1702. ::std::string(reinterpret_cast<const char*>(value), size));
  1703. // @@protoc_insertion_point(field_set_pointer:message.Dispatch_response_msg.command_key)
  1704. }
  1705. inline ::std::string* Dispatch_response_msg::mutable_command_key() {
  1706. set_has_command_key();
  1707. // @@protoc_insertion_point(field_mutable:message.Dispatch_response_msg.command_key)
  1708. return command_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1709. }
  1710. inline ::std::string* Dispatch_response_msg::release_command_key() {
  1711. // @@protoc_insertion_point(field_release:message.Dispatch_response_msg.command_key)
  1712. if (!has_command_key()) {
  1713. return NULL;
  1714. }
  1715. clear_has_command_key();
  1716. return command_key_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1717. }
  1718. inline void Dispatch_response_msg::set_allocated_command_key(::std::string* command_key) {
  1719. if (command_key != NULL) {
  1720. set_has_command_key();
  1721. } else {
  1722. clear_has_command_key();
  1723. }
  1724. command_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), command_key);
  1725. // @@protoc_insertion_point(field_set_allocated:message.Dispatch_response_msg.command_key)
  1726. }
  1727. // required .message.Error_manager error_manager = 3;
  1728. inline bool Dispatch_response_msg::has_error_manager() const {
  1729. return (_has_bits_[0] & 0x00000004u) != 0;
  1730. }
  1731. inline void Dispatch_response_msg::set_has_error_manager() {
  1732. _has_bits_[0] |= 0x00000004u;
  1733. }
  1734. inline void Dispatch_response_msg::clear_has_error_manager() {
  1735. _has_bits_[0] &= ~0x00000004u;
  1736. }
  1737. inline const ::message::Error_manager& Dispatch_response_msg::_internal_error_manager() const {
  1738. return *error_manager_;
  1739. }
  1740. inline const ::message::Error_manager& Dispatch_response_msg::error_manager() const {
  1741. const ::message::Error_manager* p = error_manager_;
  1742. // @@protoc_insertion_point(field_get:message.Dispatch_response_msg.error_manager)
  1743. return p != NULL ? *p : *reinterpret_cast<const ::message::Error_manager*>(
  1744. &::message::_Error_manager_default_instance_);
  1745. }
  1746. inline ::message::Error_manager* Dispatch_response_msg::release_error_manager() {
  1747. // @@protoc_insertion_point(field_release:message.Dispatch_response_msg.error_manager)
  1748. clear_has_error_manager();
  1749. ::message::Error_manager* temp = error_manager_;
  1750. error_manager_ = NULL;
  1751. return temp;
  1752. }
  1753. inline ::message::Error_manager* Dispatch_response_msg::mutable_error_manager() {
  1754. set_has_error_manager();
  1755. if (error_manager_ == NULL) {
  1756. auto* p = CreateMaybeMessage<::message::Error_manager>(GetArenaNoVirtual());
  1757. error_manager_ = p;
  1758. }
  1759. // @@protoc_insertion_point(field_mutable:message.Dispatch_response_msg.error_manager)
  1760. return error_manager_;
  1761. }
  1762. inline void Dispatch_response_msg::set_allocated_error_manager(::message::Error_manager* error_manager) {
  1763. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1764. if (message_arena == NULL) {
  1765. delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_manager_);
  1766. }
  1767. if (error_manager) {
  1768. ::google::protobuf::Arena* submessage_arena = NULL;
  1769. if (message_arena != submessage_arena) {
  1770. error_manager = ::google::protobuf::internal::GetOwnedMessage(
  1771. message_arena, error_manager, submessage_arena);
  1772. }
  1773. set_has_error_manager();
  1774. } else {
  1775. clear_has_error_manager();
  1776. }
  1777. error_manager_ = error_manager;
  1778. // @@protoc_insertion_point(field_set_allocated:message.Dispatch_response_msg.error_manager)
  1779. }
  1780. #ifdef __GNUC__
  1781. #pragma GCC diagnostic pop
  1782. #endif // __GNUC__
  1783. // -------------------------------------------------------------------
  1784. // -------------------------------------------------------------------
  1785. // -------------------------------------------------------------------
  1786. // -------------------------------------------------------------------
  1787. // @@protoc_insertion_point(namespace_scope)
  1788. } // namespace message
  1789. namespace google {
  1790. namespace protobuf {
  1791. template <> struct is_proto_enum< ::message::Dispatch_manager_status> : ::std::true_type {};
  1792. template <>
  1793. inline const EnumDescriptor* GetEnumDescriptor< ::message::Dispatch_manager_status>() {
  1794. return ::message::Dispatch_manager_status_descriptor();
  1795. }
  1796. template <> struct is_proto_enum< ::message::Catcher_status> : ::std::true_type {};
  1797. template <>
  1798. inline const EnumDescriptor* GetEnumDescriptor< ::message::Catcher_status>() {
  1799. return ::message::Catcher_status_descriptor();
  1800. }
  1801. template <> struct is_proto_enum< ::message::Carrier_status> : ::std::true_type {};
  1802. template <>
  1803. inline const EnumDescriptor* GetEnumDescriptor< ::message::Carrier_status>() {
  1804. return ::message::Carrier_status_descriptor();
  1805. }
  1806. template <> struct is_proto_enum< ::message::Elevator_status> : ::std::true_type {};
  1807. template <>
  1808. inline const EnumDescriptor* GetEnumDescriptor< ::message::Elevator_status>() {
  1809. return ::message::Elevator_status_descriptor();
  1810. }
  1811. template <> struct is_proto_enum< ::message::Passageway_status> : ::std::true_type {};
  1812. template <>
  1813. inline const EnumDescriptor* GetEnumDescriptor< ::message::Passageway_status>() {
  1814. return ::message::Passageway_status_descriptor();
  1815. }
  1816. template <> struct is_proto_enum< ::message::Terminal_status> : ::std::true_type {};
  1817. template <>
  1818. inline const EnumDescriptor* GetEnumDescriptor< ::message::Terminal_status>() {
  1819. return ::message::Terminal_status_descriptor();
  1820. }
  1821. template <> struct is_proto_enum< ::message::Passageway_direction> : ::std::true_type {};
  1822. template <>
  1823. inline const EnumDescriptor* GetEnumDescriptor< ::message::Passageway_direction>() {
  1824. return ::message::Passageway_direction_descriptor();
  1825. }
  1826. template <> struct is_proto_enum< ::message::Dispatch_motion_direction> : ::std::true_type {};
  1827. template <>
  1828. inline const EnumDescriptor* GetEnumDescriptor< ::message::Dispatch_motion_direction>() {
  1829. return ::message::Dispatch_motion_direction_descriptor();
  1830. }
  1831. } // namespace protobuf
  1832. } // namespace google
  1833. // @@protoc_insertion_point(global_scope)
  1834. #endif // PROTOBUF_INCLUDED_dispatch_5fmessage_2eproto