terminal_message.pb.h 46 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: terminal_message.proto
  3. #ifndef PROTOBUF_terminal_5fmessage_2eproto__INCLUDED
  4. #define PROTOBUF_terminal_5fmessage_2eproto__INCLUDED
  5. #include <string>
  6. #include <google/protobuf/stubs/common.h>
  7. #if GOOGLE_PROTOBUF_VERSION < 3005000
  8. #error This file was generated by a newer version of protoc which is
  9. #error incompatible with your Protocol Buffer headers. Please update
  10. #error your headers.
  11. #endif
  12. #if 3005000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
  13. #error This file was generated by an older version of protoc which is
  14. #error incompatible with your Protocol Buffer headers. Please
  15. #error regenerate this file with a newer version of protoc.
  16. #endif
  17. #include <google/protobuf/io/coded_stream.h>
  18. #include <google/protobuf/arena.h>
  19. #include <google/protobuf/arenastring.h>
  20. #include <google/protobuf/generated_message_table_driven.h>
  21. #include <google/protobuf/generated_message_util.h>
  22. #include <google/protobuf/metadata.h>
  23. #include <google/protobuf/message.h>
  24. #include <google/protobuf/repeated_field.h> // IWYU pragma: export
  25. #include <google/protobuf/extension_set.h> // IWYU pragma: export
  26. #include <google/protobuf/unknown_field_set.h>
  27. #include "message_base.pb.h"
  28. // @@protoc_insertion_point(includes)
  29. namespace protobuf_terminal_5fmessage_2eproto {
  30. // Internal implementation detail -- do not use these members.
  31. struct TableStruct {
  32. static const ::google::protobuf::internal::ParseTableField entries[];
  33. static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
  34. static const ::google::protobuf::internal::ParseTable schema[4];
  35. static const ::google::protobuf::internal::FieldMetadata field_metadata[];
  36. static const ::google::protobuf::internal::SerializationTable serialization_table[];
  37. static const ::google::protobuf::uint32 offsets[];
  38. };
  39. void AddDescriptors();
  40. void InitDefaultsStore_command_request_msgImpl();
  41. void InitDefaultsStore_command_request_msg();
  42. void InitDefaultsStore_command_response_msgImpl();
  43. void InitDefaultsStore_command_response_msg();
  44. void InitDefaultsPickup_command_request_msgImpl();
  45. void InitDefaultsPickup_command_request_msg();
  46. void InitDefaultsPickup_command_response_msgImpl();
  47. void InitDefaultsPickup_command_response_msg();
  48. inline void InitDefaults() {
  49. InitDefaultsStore_command_request_msg();
  50. InitDefaultsStore_command_response_msg();
  51. InitDefaultsPickup_command_request_msg();
  52. InitDefaultsPickup_command_response_msg();
  53. }
  54. } // namespace protobuf_terminal_5fmessage_2eproto
  55. namespace message {
  56. class Pickup_command_request_msg;
  57. class Pickup_command_request_msgDefaultTypeInternal;
  58. extern Pickup_command_request_msgDefaultTypeInternal _Pickup_command_request_msg_default_instance_;
  59. class Pickup_command_response_msg;
  60. class Pickup_command_response_msgDefaultTypeInternal;
  61. extern Pickup_command_response_msgDefaultTypeInternal _Pickup_command_response_msg_default_instance_;
  62. class Store_command_request_msg;
  63. class Store_command_request_msgDefaultTypeInternal;
  64. extern Store_command_request_msgDefaultTypeInternal _Store_command_request_msg_default_instance_;
  65. class Store_command_response_msg;
  66. class Store_command_response_msgDefaultTypeInternal;
  67. extern Store_command_response_msgDefaultTypeInternal _Store_command_response_msg_default_instance_;
  68. } // namespace message
  69. namespace message {
  70. // ===================================================================
  71. class Store_command_request_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Store_command_request_msg) */ {
  72. public:
  73. Store_command_request_msg();
  74. virtual ~Store_command_request_msg();
  75. Store_command_request_msg(const Store_command_request_msg& from);
  76. inline Store_command_request_msg& operator=(const Store_command_request_msg& from) {
  77. CopyFrom(from);
  78. return *this;
  79. }
  80. #if LANG_CXX11
  81. Store_command_request_msg(Store_command_request_msg&& from) noexcept
  82. : Store_command_request_msg() {
  83. *this = ::std::move(from);
  84. }
  85. inline Store_command_request_msg& operator=(Store_command_request_msg&& from) noexcept {
  86. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  87. if (this != &from) InternalSwap(&from);
  88. } else {
  89. CopyFrom(from);
  90. }
  91. return *this;
  92. }
  93. #endif
  94. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  95. return _internal_metadata_.unknown_fields();
  96. }
  97. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  98. return _internal_metadata_.mutable_unknown_fields();
  99. }
  100. static const ::google::protobuf::Descriptor* descriptor();
  101. static const Store_command_request_msg& default_instance();
  102. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  103. static inline const Store_command_request_msg* internal_default_instance() {
  104. return reinterpret_cast<const Store_command_request_msg*>(
  105. &_Store_command_request_msg_default_instance_);
  106. }
  107. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  108. 0;
  109. void Swap(Store_command_request_msg* other);
  110. friend void swap(Store_command_request_msg& a, Store_command_request_msg& b) {
  111. a.Swap(&b);
  112. }
  113. // implements Message ----------------------------------------------
  114. inline Store_command_request_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  115. Store_command_request_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  116. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  117. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  118. void CopyFrom(const Store_command_request_msg& from);
  119. void MergeFrom(const Store_command_request_msg& from);
  120. void Clear() PROTOBUF_FINAL;
  121. bool IsInitialized() const PROTOBUF_FINAL;
  122. size_t ByteSizeLong() const PROTOBUF_FINAL;
  123. bool MergePartialFromCodedStream(
  124. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  125. void SerializeWithCachedSizes(
  126. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  127. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  128. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  129. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  130. private:
  131. void SharedCtor();
  132. void SharedDtor();
  133. void SetCachedSize(int size) const PROTOBUF_FINAL;
  134. void InternalSwap(Store_command_request_msg* other);
  135. private:
  136. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  137. return NULL;
  138. }
  139. inline void* MaybeArenaPtr() const {
  140. return NULL;
  141. }
  142. public:
  143. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  144. // nested types ----------------------------------------------------
  145. // accessors -------------------------------------------------------
  146. // required .message.Base_info base_info = 1;
  147. bool has_base_info() const;
  148. void clear_base_info();
  149. static const int kBaseInfoFieldNumber = 1;
  150. const ::message::Base_info& base_info() const;
  151. ::message::Base_info* release_base_info();
  152. ::message::Base_info* mutable_base_info();
  153. void set_allocated_base_info(::message::Base_info* base_info);
  154. // required .message.Locate_information locate_information = 3;
  155. bool has_locate_information() const;
  156. void clear_locate_information();
  157. static const int kLocateInformationFieldNumber = 3;
  158. const ::message::Locate_information& locate_information() const;
  159. ::message::Locate_information* release_locate_information();
  160. ::message::Locate_information* mutable_locate_information();
  161. void set_allocated_locate_information(::message::Locate_information* locate_information);
  162. // required .message.Car_info car_info = 4;
  163. bool has_car_info() const;
  164. void clear_car_info();
  165. static const int kCarInfoFieldNumber = 4;
  166. const ::message::Car_info& car_info() const;
  167. ::message::Car_info* release_car_info();
  168. ::message::Car_info* mutable_car_info();
  169. void set_allocated_car_info(::message::Car_info* car_info);
  170. // required int32 terminal_id = 2;
  171. bool has_terminal_id() const;
  172. void clear_terminal_id();
  173. static const int kTerminalIdFieldNumber = 2;
  174. ::google::protobuf::int32 terminal_id() const;
  175. void set_terminal_id(::google::protobuf::int32 value);
  176. // @@protoc_insertion_point(class_scope:message.Store_command_request_msg)
  177. private:
  178. void set_has_base_info();
  179. void clear_has_base_info();
  180. void set_has_terminal_id();
  181. void clear_has_terminal_id();
  182. void set_has_locate_information();
  183. void clear_has_locate_information();
  184. void set_has_car_info();
  185. void clear_has_car_info();
  186. // helper for ByteSizeLong()
  187. size_t RequiredFieldsByteSizeFallback() const;
  188. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  189. ::google::protobuf::internal::HasBits<1> _has_bits_;
  190. mutable int _cached_size_;
  191. ::message::Base_info* base_info_;
  192. ::message::Locate_information* locate_information_;
  193. ::message::Car_info* car_info_;
  194. ::google::protobuf::int32 terminal_id_;
  195. friend struct ::protobuf_terminal_5fmessage_2eproto::TableStruct;
  196. friend void ::protobuf_terminal_5fmessage_2eproto::InitDefaultsStore_command_request_msgImpl();
  197. };
  198. // -------------------------------------------------------------------
  199. class Store_command_response_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Store_command_response_msg) */ {
  200. public:
  201. Store_command_response_msg();
  202. virtual ~Store_command_response_msg();
  203. Store_command_response_msg(const Store_command_response_msg& from);
  204. inline Store_command_response_msg& operator=(const Store_command_response_msg& from) {
  205. CopyFrom(from);
  206. return *this;
  207. }
  208. #if LANG_CXX11
  209. Store_command_response_msg(Store_command_response_msg&& from) noexcept
  210. : Store_command_response_msg() {
  211. *this = ::std::move(from);
  212. }
  213. inline Store_command_response_msg& operator=(Store_command_response_msg&& from) noexcept {
  214. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  215. if (this != &from) InternalSwap(&from);
  216. } else {
  217. CopyFrom(from);
  218. }
  219. return *this;
  220. }
  221. #endif
  222. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  223. return _internal_metadata_.unknown_fields();
  224. }
  225. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  226. return _internal_metadata_.mutable_unknown_fields();
  227. }
  228. static const ::google::protobuf::Descriptor* descriptor();
  229. static const Store_command_response_msg& default_instance();
  230. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  231. static inline const Store_command_response_msg* internal_default_instance() {
  232. return reinterpret_cast<const Store_command_response_msg*>(
  233. &_Store_command_response_msg_default_instance_);
  234. }
  235. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  236. 1;
  237. void Swap(Store_command_response_msg* other);
  238. friend void swap(Store_command_response_msg& a, Store_command_response_msg& b) {
  239. a.Swap(&b);
  240. }
  241. // implements Message ----------------------------------------------
  242. inline Store_command_response_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  243. Store_command_response_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  244. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  245. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  246. void CopyFrom(const Store_command_response_msg& from);
  247. void MergeFrom(const Store_command_response_msg& from);
  248. void Clear() PROTOBUF_FINAL;
  249. bool IsInitialized() const PROTOBUF_FINAL;
  250. size_t ByteSizeLong() const PROTOBUF_FINAL;
  251. bool MergePartialFromCodedStream(
  252. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  253. void SerializeWithCachedSizes(
  254. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  255. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  256. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  257. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  258. private:
  259. void SharedCtor();
  260. void SharedDtor();
  261. void SetCachedSize(int size) const PROTOBUF_FINAL;
  262. void InternalSwap(Store_command_response_msg* other);
  263. private:
  264. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  265. return NULL;
  266. }
  267. inline void* MaybeArenaPtr() const {
  268. return NULL;
  269. }
  270. public:
  271. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  272. // nested types ----------------------------------------------------
  273. // accessors -------------------------------------------------------
  274. // required .message.Base_info base_info = 1;
  275. bool has_base_info() const;
  276. void clear_base_info();
  277. static const int kBaseInfoFieldNumber = 1;
  278. const ::message::Base_info& base_info() const;
  279. ::message::Base_info* release_base_info();
  280. ::message::Base_info* mutable_base_info();
  281. void set_allocated_base_info(::message::Base_info* base_info);
  282. // required .message.Error_manager code = 3;
  283. bool has_code() const;
  284. void clear_code();
  285. static const int kCodeFieldNumber = 3;
  286. const ::message::Error_manager& code() const;
  287. ::message::Error_manager* release_code();
  288. ::message::Error_manager* mutable_code();
  289. void set_allocated_code(::message::Error_manager* code);
  290. // required int32 terminal_id = 2;
  291. bool has_terminal_id() const;
  292. void clear_terminal_id();
  293. static const int kTerminalIdFieldNumber = 2;
  294. ::google::protobuf::int32 terminal_id() const;
  295. void set_terminal_id(::google::protobuf::int32 value);
  296. // @@protoc_insertion_point(class_scope:message.Store_command_response_msg)
  297. private:
  298. void set_has_base_info();
  299. void clear_has_base_info();
  300. void set_has_terminal_id();
  301. void clear_has_terminal_id();
  302. void set_has_code();
  303. void clear_has_code();
  304. // helper for ByteSizeLong()
  305. size_t RequiredFieldsByteSizeFallback() const;
  306. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  307. ::google::protobuf::internal::HasBits<1> _has_bits_;
  308. mutable int _cached_size_;
  309. ::message::Base_info* base_info_;
  310. ::message::Error_manager* code_;
  311. ::google::protobuf::int32 terminal_id_;
  312. friend struct ::protobuf_terminal_5fmessage_2eproto::TableStruct;
  313. friend void ::protobuf_terminal_5fmessage_2eproto::InitDefaultsStore_command_response_msgImpl();
  314. };
  315. // -------------------------------------------------------------------
  316. class Pickup_command_request_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Pickup_command_request_msg) */ {
  317. public:
  318. Pickup_command_request_msg();
  319. virtual ~Pickup_command_request_msg();
  320. Pickup_command_request_msg(const Pickup_command_request_msg& from);
  321. inline Pickup_command_request_msg& operator=(const Pickup_command_request_msg& from) {
  322. CopyFrom(from);
  323. return *this;
  324. }
  325. #if LANG_CXX11
  326. Pickup_command_request_msg(Pickup_command_request_msg&& from) noexcept
  327. : Pickup_command_request_msg() {
  328. *this = ::std::move(from);
  329. }
  330. inline Pickup_command_request_msg& operator=(Pickup_command_request_msg&& from) noexcept {
  331. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  332. if (this != &from) InternalSwap(&from);
  333. } else {
  334. CopyFrom(from);
  335. }
  336. return *this;
  337. }
  338. #endif
  339. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  340. return _internal_metadata_.unknown_fields();
  341. }
  342. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  343. return _internal_metadata_.mutable_unknown_fields();
  344. }
  345. static const ::google::protobuf::Descriptor* descriptor();
  346. static const Pickup_command_request_msg& default_instance();
  347. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  348. static inline const Pickup_command_request_msg* internal_default_instance() {
  349. return reinterpret_cast<const Pickup_command_request_msg*>(
  350. &_Pickup_command_request_msg_default_instance_);
  351. }
  352. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  353. 2;
  354. void Swap(Pickup_command_request_msg* other);
  355. friend void swap(Pickup_command_request_msg& a, Pickup_command_request_msg& b) {
  356. a.Swap(&b);
  357. }
  358. // implements Message ----------------------------------------------
  359. inline Pickup_command_request_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  360. Pickup_command_request_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  361. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  362. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  363. void CopyFrom(const Pickup_command_request_msg& from);
  364. void MergeFrom(const Pickup_command_request_msg& from);
  365. void Clear() PROTOBUF_FINAL;
  366. bool IsInitialized() const PROTOBUF_FINAL;
  367. size_t ByteSizeLong() const PROTOBUF_FINAL;
  368. bool MergePartialFromCodedStream(
  369. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  370. void SerializeWithCachedSizes(
  371. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  372. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  373. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  374. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  375. private:
  376. void SharedCtor();
  377. void SharedDtor();
  378. void SetCachedSize(int size) const PROTOBUF_FINAL;
  379. void InternalSwap(Pickup_command_request_msg* other);
  380. private:
  381. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  382. return NULL;
  383. }
  384. inline void* MaybeArenaPtr() const {
  385. return NULL;
  386. }
  387. public:
  388. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  389. // nested types ----------------------------------------------------
  390. // accessors -------------------------------------------------------
  391. // required .message.Base_info base_info = 1;
  392. bool has_base_info() const;
  393. void clear_base_info();
  394. static const int kBaseInfoFieldNumber = 1;
  395. const ::message::Base_info& base_info() const;
  396. ::message::Base_info* release_base_info();
  397. ::message::Base_info* mutable_base_info();
  398. void set_allocated_base_info(::message::Base_info* base_info);
  399. // required .message.Car_info car_info = 4;
  400. bool has_car_info() const;
  401. void clear_car_info();
  402. static const int kCarInfoFieldNumber = 4;
  403. const ::message::Car_info& car_info() const;
  404. ::message::Car_info* release_car_info();
  405. ::message::Car_info* mutable_car_info();
  406. void set_allocated_car_info(::message::Car_info* car_info);
  407. // required int32 terminal_id = 2;
  408. bool has_terminal_id() const;
  409. void clear_terminal_id();
  410. static const int kTerminalIdFieldNumber = 2;
  411. ::google::protobuf::int32 terminal_id() const;
  412. void set_terminal_id(::google::protobuf::int32 value);
  413. // @@protoc_insertion_point(class_scope:message.Pickup_command_request_msg)
  414. private:
  415. void set_has_base_info();
  416. void clear_has_base_info();
  417. void set_has_terminal_id();
  418. void clear_has_terminal_id();
  419. void set_has_car_info();
  420. void clear_has_car_info();
  421. // helper for ByteSizeLong()
  422. size_t RequiredFieldsByteSizeFallback() const;
  423. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  424. ::google::protobuf::internal::HasBits<1> _has_bits_;
  425. mutable int _cached_size_;
  426. ::message::Base_info* base_info_;
  427. ::message::Car_info* car_info_;
  428. ::google::protobuf::int32 terminal_id_;
  429. friend struct ::protobuf_terminal_5fmessage_2eproto::TableStruct;
  430. friend void ::protobuf_terminal_5fmessage_2eproto::InitDefaultsPickup_command_request_msgImpl();
  431. };
  432. // -------------------------------------------------------------------
  433. class Pickup_command_response_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Pickup_command_response_msg) */ {
  434. public:
  435. Pickup_command_response_msg();
  436. virtual ~Pickup_command_response_msg();
  437. Pickup_command_response_msg(const Pickup_command_response_msg& from);
  438. inline Pickup_command_response_msg& operator=(const Pickup_command_response_msg& from) {
  439. CopyFrom(from);
  440. return *this;
  441. }
  442. #if LANG_CXX11
  443. Pickup_command_response_msg(Pickup_command_response_msg&& from) noexcept
  444. : Pickup_command_response_msg() {
  445. *this = ::std::move(from);
  446. }
  447. inline Pickup_command_response_msg& operator=(Pickup_command_response_msg&& from) noexcept {
  448. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  449. if (this != &from) InternalSwap(&from);
  450. } else {
  451. CopyFrom(from);
  452. }
  453. return *this;
  454. }
  455. #endif
  456. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  457. return _internal_metadata_.unknown_fields();
  458. }
  459. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  460. return _internal_metadata_.mutable_unknown_fields();
  461. }
  462. static const ::google::protobuf::Descriptor* descriptor();
  463. static const Pickup_command_response_msg& default_instance();
  464. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  465. static inline const Pickup_command_response_msg* internal_default_instance() {
  466. return reinterpret_cast<const Pickup_command_response_msg*>(
  467. &_Pickup_command_response_msg_default_instance_);
  468. }
  469. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  470. 3;
  471. void Swap(Pickup_command_response_msg* other);
  472. friend void swap(Pickup_command_response_msg& a, Pickup_command_response_msg& b) {
  473. a.Swap(&b);
  474. }
  475. // implements Message ----------------------------------------------
  476. inline Pickup_command_response_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  477. Pickup_command_response_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  478. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  479. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  480. void CopyFrom(const Pickup_command_response_msg& from);
  481. void MergeFrom(const Pickup_command_response_msg& from);
  482. void Clear() PROTOBUF_FINAL;
  483. bool IsInitialized() const PROTOBUF_FINAL;
  484. size_t ByteSizeLong() const PROTOBUF_FINAL;
  485. bool MergePartialFromCodedStream(
  486. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  487. void SerializeWithCachedSizes(
  488. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  489. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  490. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  491. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  492. private:
  493. void SharedCtor();
  494. void SharedDtor();
  495. void SetCachedSize(int size) const PROTOBUF_FINAL;
  496. void InternalSwap(Pickup_command_response_msg* other);
  497. private:
  498. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  499. return NULL;
  500. }
  501. inline void* MaybeArenaPtr() const {
  502. return NULL;
  503. }
  504. public:
  505. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  506. // nested types ----------------------------------------------------
  507. // accessors -------------------------------------------------------
  508. // required .message.Base_info base_info = 1;
  509. bool has_base_info() const;
  510. void clear_base_info();
  511. static const int kBaseInfoFieldNumber = 1;
  512. const ::message::Base_info& base_info() const;
  513. ::message::Base_info* release_base_info();
  514. ::message::Base_info* mutable_base_info();
  515. void set_allocated_base_info(::message::Base_info* base_info);
  516. // required .message.Error_manager code = 3;
  517. bool has_code() const;
  518. void clear_code();
  519. static const int kCodeFieldNumber = 3;
  520. const ::message::Error_manager& code() const;
  521. ::message::Error_manager* release_code();
  522. ::message::Error_manager* mutable_code();
  523. void set_allocated_code(::message::Error_manager* code);
  524. // required int32 terminal_id = 2;
  525. bool has_terminal_id() const;
  526. void clear_terminal_id();
  527. static const int kTerminalIdFieldNumber = 2;
  528. ::google::protobuf::int32 terminal_id() const;
  529. void set_terminal_id(::google::protobuf::int32 value);
  530. // @@protoc_insertion_point(class_scope:message.Pickup_command_response_msg)
  531. private:
  532. void set_has_base_info();
  533. void clear_has_base_info();
  534. void set_has_terminal_id();
  535. void clear_has_terminal_id();
  536. void set_has_code();
  537. void clear_has_code();
  538. // helper for ByteSizeLong()
  539. size_t RequiredFieldsByteSizeFallback() const;
  540. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  541. ::google::protobuf::internal::HasBits<1> _has_bits_;
  542. mutable int _cached_size_;
  543. ::message::Base_info* base_info_;
  544. ::message::Error_manager* code_;
  545. ::google::protobuf::int32 terminal_id_;
  546. friend struct ::protobuf_terminal_5fmessage_2eproto::TableStruct;
  547. friend void ::protobuf_terminal_5fmessage_2eproto::InitDefaultsPickup_command_response_msgImpl();
  548. };
  549. // ===================================================================
  550. // ===================================================================
  551. #ifdef __GNUC__
  552. #pragma GCC diagnostic push
  553. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  554. #endif // __GNUC__
  555. // Store_command_request_msg
  556. // required .message.Base_info base_info = 1;
  557. inline bool Store_command_request_msg::has_base_info() const {
  558. return (_has_bits_[0] & 0x00000001u) != 0;
  559. }
  560. inline void Store_command_request_msg::set_has_base_info() {
  561. _has_bits_[0] |= 0x00000001u;
  562. }
  563. inline void Store_command_request_msg::clear_has_base_info() {
  564. _has_bits_[0] &= ~0x00000001u;
  565. }
  566. inline const ::message::Base_info& Store_command_request_msg::base_info() const {
  567. const ::message::Base_info* p = base_info_;
  568. // @@protoc_insertion_point(field_get:message.Store_command_request_msg.base_info)
  569. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  570. &::message::_Base_info_default_instance_);
  571. }
  572. inline ::message::Base_info* Store_command_request_msg::release_base_info() {
  573. // @@protoc_insertion_point(field_release:message.Store_command_request_msg.base_info)
  574. clear_has_base_info();
  575. ::message::Base_info* temp = base_info_;
  576. base_info_ = NULL;
  577. return temp;
  578. }
  579. inline ::message::Base_info* Store_command_request_msg::mutable_base_info() {
  580. set_has_base_info();
  581. if (base_info_ == NULL) {
  582. base_info_ = new ::message::Base_info;
  583. }
  584. // @@protoc_insertion_point(field_mutable:message.Store_command_request_msg.base_info)
  585. return base_info_;
  586. }
  587. inline void Store_command_request_msg::set_allocated_base_info(::message::Base_info* base_info) {
  588. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  589. if (message_arena == NULL) {
  590. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  591. }
  592. if (base_info) {
  593. ::google::protobuf::Arena* submessage_arena = NULL;
  594. if (message_arena != submessage_arena) {
  595. base_info = ::google::protobuf::internal::GetOwnedMessage(
  596. message_arena, base_info, submessage_arena);
  597. }
  598. set_has_base_info();
  599. } else {
  600. clear_has_base_info();
  601. }
  602. base_info_ = base_info;
  603. // @@protoc_insertion_point(field_set_allocated:message.Store_command_request_msg.base_info)
  604. }
  605. // required int32 terminal_id = 2;
  606. inline bool Store_command_request_msg::has_terminal_id() const {
  607. return (_has_bits_[0] & 0x00000008u) != 0;
  608. }
  609. inline void Store_command_request_msg::set_has_terminal_id() {
  610. _has_bits_[0] |= 0x00000008u;
  611. }
  612. inline void Store_command_request_msg::clear_has_terminal_id() {
  613. _has_bits_[0] &= ~0x00000008u;
  614. }
  615. inline void Store_command_request_msg::clear_terminal_id() {
  616. terminal_id_ = 0;
  617. clear_has_terminal_id();
  618. }
  619. inline ::google::protobuf::int32 Store_command_request_msg::terminal_id() const {
  620. // @@protoc_insertion_point(field_get:message.Store_command_request_msg.terminal_id)
  621. return terminal_id_;
  622. }
  623. inline void Store_command_request_msg::set_terminal_id(::google::protobuf::int32 value) {
  624. set_has_terminal_id();
  625. terminal_id_ = value;
  626. // @@protoc_insertion_point(field_set:message.Store_command_request_msg.terminal_id)
  627. }
  628. // required .message.Locate_information locate_information = 3;
  629. inline bool Store_command_request_msg::has_locate_information() const {
  630. return (_has_bits_[0] & 0x00000002u) != 0;
  631. }
  632. inline void Store_command_request_msg::set_has_locate_information() {
  633. _has_bits_[0] |= 0x00000002u;
  634. }
  635. inline void Store_command_request_msg::clear_has_locate_information() {
  636. _has_bits_[0] &= ~0x00000002u;
  637. }
  638. inline const ::message::Locate_information& Store_command_request_msg::locate_information() const {
  639. const ::message::Locate_information* p = locate_information_;
  640. // @@protoc_insertion_point(field_get:message.Store_command_request_msg.locate_information)
  641. return p != NULL ? *p : *reinterpret_cast<const ::message::Locate_information*>(
  642. &::message::_Locate_information_default_instance_);
  643. }
  644. inline ::message::Locate_information* Store_command_request_msg::release_locate_information() {
  645. // @@protoc_insertion_point(field_release:message.Store_command_request_msg.locate_information)
  646. clear_has_locate_information();
  647. ::message::Locate_information* temp = locate_information_;
  648. locate_information_ = NULL;
  649. return temp;
  650. }
  651. inline ::message::Locate_information* Store_command_request_msg::mutable_locate_information() {
  652. set_has_locate_information();
  653. if (locate_information_ == NULL) {
  654. locate_information_ = new ::message::Locate_information;
  655. }
  656. // @@protoc_insertion_point(field_mutable:message.Store_command_request_msg.locate_information)
  657. return locate_information_;
  658. }
  659. inline void Store_command_request_msg::set_allocated_locate_information(::message::Locate_information* locate_information) {
  660. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  661. if (message_arena == NULL) {
  662. delete reinterpret_cast< ::google::protobuf::MessageLite*>(locate_information_);
  663. }
  664. if (locate_information) {
  665. ::google::protobuf::Arena* submessage_arena = NULL;
  666. if (message_arena != submessage_arena) {
  667. locate_information = ::google::protobuf::internal::GetOwnedMessage(
  668. message_arena, locate_information, submessage_arena);
  669. }
  670. set_has_locate_information();
  671. } else {
  672. clear_has_locate_information();
  673. }
  674. locate_information_ = locate_information;
  675. // @@protoc_insertion_point(field_set_allocated:message.Store_command_request_msg.locate_information)
  676. }
  677. // required .message.Car_info car_info = 4;
  678. inline bool Store_command_request_msg::has_car_info() const {
  679. return (_has_bits_[0] & 0x00000004u) != 0;
  680. }
  681. inline void Store_command_request_msg::set_has_car_info() {
  682. _has_bits_[0] |= 0x00000004u;
  683. }
  684. inline void Store_command_request_msg::clear_has_car_info() {
  685. _has_bits_[0] &= ~0x00000004u;
  686. }
  687. inline const ::message::Car_info& Store_command_request_msg::car_info() const {
  688. const ::message::Car_info* p = car_info_;
  689. // @@protoc_insertion_point(field_get:message.Store_command_request_msg.car_info)
  690. return p != NULL ? *p : *reinterpret_cast<const ::message::Car_info*>(
  691. &::message::_Car_info_default_instance_);
  692. }
  693. inline ::message::Car_info* Store_command_request_msg::release_car_info() {
  694. // @@protoc_insertion_point(field_release:message.Store_command_request_msg.car_info)
  695. clear_has_car_info();
  696. ::message::Car_info* temp = car_info_;
  697. car_info_ = NULL;
  698. return temp;
  699. }
  700. inline ::message::Car_info* Store_command_request_msg::mutable_car_info() {
  701. set_has_car_info();
  702. if (car_info_ == NULL) {
  703. car_info_ = new ::message::Car_info;
  704. }
  705. // @@protoc_insertion_point(field_mutable:message.Store_command_request_msg.car_info)
  706. return car_info_;
  707. }
  708. inline void Store_command_request_msg::set_allocated_car_info(::message::Car_info* car_info) {
  709. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  710. if (message_arena == NULL) {
  711. delete reinterpret_cast< ::google::protobuf::MessageLite*>(car_info_);
  712. }
  713. if (car_info) {
  714. ::google::protobuf::Arena* submessage_arena = NULL;
  715. if (message_arena != submessage_arena) {
  716. car_info = ::google::protobuf::internal::GetOwnedMessage(
  717. message_arena, car_info, submessage_arena);
  718. }
  719. set_has_car_info();
  720. } else {
  721. clear_has_car_info();
  722. }
  723. car_info_ = car_info;
  724. // @@protoc_insertion_point(field_set_allocated:message.Store_command_request_msg.car_info)
  725. }
  726. // -------------------------------------------------------------------
  727. // Store_command_response_msg
  728. // required .message.Base_info base_info = 1;
  729. inline bool Store_command_response_msg::has_base_info() const {
  730. return (_has_bits_[0] & 0x00000001u) != 0;
  731. }
  732. inline void Store_command_response_msg::set_has_base_info() {
  733. _has_bits_[0] |= 0x00000001u;
  734. }
  735. inline void Store_command_response_msg::clear_has_base_info() {
  736. _has_bits_[0] &= ~0x00000001u;
  737. }
  738. inline const ::message::Base_info& Store_command_response_msg::base_info() const {
  739. const ::message::Base_info* p = base_info_;
  740. // @@protoc_insertion_point(field_get:message.Store_command_response_msg.base_info)
  741. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  742. &::message::_Base_info_default_instance_);
  743. }
  744. inline ::message::Base_info* Store_command_response_msg::release_base_info() {
  745. // @@protoc_insertion_point(field_release:message.Store_command_response_msg.base_info)
  746. clear_has_base_info();
  747. ::message::Base_info* temp = base_info_;
  748. base_info_ = NULL;
  749. return temp;
  750. }
  751. inline ::message::Base_info* Store_command_response_msg::mutable_base_info() {
  752. set_has_base_info();
  753. if (base_info_ == NULL) {
  754. base_info_ = new ::message::Base_info;
  755. }
  756. // @@protoc_insertion_point(field_mutable:message.Store_command_response_msg.base_info)
  757. return base_info_;
  758. }
  759. inline void Store_command_response_msg::set_allocated_base_info(::message::Base_info* base_info) {
  760. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  761. if (message_arena == NULL) {
  762. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  763. }
  764. if (base_info) {
  765. ::google::protobuf::Arena* submessage_arena = NULL;
  766. if (message_arena != submessage_arena) {
  767. base_info = ::google::protobuf::internal::GetOwnedMessage(
  768. message_arena, base_info, submessage_arena);
  769. }
  770. set_has_base_info();
  771. } else {
  772. clear_has_base_info();
  773. }
  774. base_info_ = base_info;
  775. // @@protoc_insertion_point(field_set_allocated:message.Store_command_response_msg.base_info)
  776. }
  777. // required int32 terminal_id = 2;
  778. inline bool Store_command_response_msg::has_terminal_id() const {
  779. return (_has_bits_[0] & 0x00000004u) != 0;
  780. }
  781. inline void Store_command_response_msg::set_has_terminal_id() {
  782. _has_bits_[0] |= 0x00000004u;
  783. }
  784. inline void Store_command_response_msg::clear_has_terminal_id() {
  785. _has_bits_[0] &= ~0x00000004u;
  786. }
  787. inline void Store_command_response_msg::clear_terminal_id() {
  788. terminal_id_ = 0;
  789. clear_has_terminal_id();
  790. }
  791. inline ::google::protobuf::int32 Store_command_response_msg::terminal_id() const {
  792. // @@protoc_insertion_point(field_get:message.Store_command_response_msg.terminal_id)
  793. return terminal_id_;
  794. }
  795. inline void Store_command_response_msg::set_terminal_id(::google::protobuf::int32 value) {
  796. set_has_terminal_id();
  797. terminal_id_ = value;
  798. // @@protoc_insertion_point(field_set:message.Store_command_response_msg.terminal_id)
  799. }
  800. // required .message.Error_manager code = 3;
  801. inline bool Store_command_response_msg::has_code() const {
  802. return (_has_bits_[0] & 0x00000002u) != 0;
  803. }
  804. inline void Store_command_response_msg::set_has_code() {
  805. _has_bits_[0] |= 0x00000002u;
  806. }
  807. inline void Store_command_response_msg::clear_has_code() {
  808. _has_bits_[0] &= ~0x00000002u;
  809. }
  810. inline const ::message::Error_manager& Store_command_response_msg::code() const {
  811. const ::message::Error_manager* p = code_;
  812. // @@protoc_insertion_point(field_get:message.Store_command_response_msg.code)
  813. return p != NULL ? *p : *reinterpret_cast<const ::message::Error_manager*>(
  814. &::message::_Error_manager_default_instance_);
  815. }
  816. inline ::message::Error_manager* Store_command_response_msg::release_code() {
  817. // @@protoc_insertion_point(field_release:message.Store_command_response_msg.code)
  818. clear_has_code();
  819. ::message::Error_manager* temp = code_;
  820. code_ = NULL;
  821. return temp;
  822. }
  823. inline ::message::Error_manager* Store_command_response_msg::mutable_code() {
  824. set_has_code();
  825. if (code_ == NULL) {
  826. code_ = new ::message::Error_manager;
  827. }
  828. // @@protoc_insertion_point(field_mutable:message.Store_command_response_msg.code)
  829. return code_;
  830. }
  831. inline void Store_command_response_msg::set_allocated_code(::message::Error_manager* code) {
  832. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  833. if (message_arena == NULL) {
  834. delete reinterpret_cast< ::google::protobuf::MessageLite*>(code_);
  835. }
  836. if (code) {
  837. ::google::protobuf::Arena* submessage_arena = NULL;
  838. if (message_arena != submessage_arena) {
  839. code = ::google::protobuf::internal::GetOwnedMessage(
  840. message_arena, code, submessage_arena);
  841. }
  842. set_has_code();
  843. } else {
  844. clear_has_code();
  845. }
  846. code_ = code;
  847. // @@protoc_insertion_point(field_set_allocated:message.Store_command_response_msg.code)
  848. }
  849. // -------------------------------------------------------------------
  850. // Pickup_command_request_msg
  851. // required .message.Base_info base_info = 1;
  852. inline bool Pickup_command_request_msg::has_base_info() const {
  853. return (_has_bits_[0] & 0x00000001u) != 0;
  854. }
  855. inline void Pickup_command_request_msg::set_has_base_info() {
  856. _has_bits_[0] |= 0x00000001u;
  857. }
  858. inline void Pickup_command_request_msg::clear_has_base_info() {
  859. _has_bits_[0] &= ~0x00000001u;
  860. }
  861. inline const ::message::Base_info& Pickup_command_request_msg::base_info() const {
  862. const ::message::Base_info* p = base_info_;
  863. // @@protoc_insertion_point(field_get:message.Pickup_command_request_msg.base_info)
  864. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  865. &::message::_Base_info_default_instance_);
  866. }
  867. inline ::message::Base_info* Pickup_command_request_msg::release_base_info() {
  868. // @@protoc_insertion_point(field_release:message.Pickup_command_request_msg.base_info)
  869. clear_has_base_info();
  870. ::message::Base_info* temp = base_info_;
  871. base_info_ = NULL;
  872. return temp;
  873. }
  874. inline ::message::Base_info* Pickup_command_request_msg::mutable_base_info() {
  875. set_has_base_info();
  876. if (base_info_ == NULL) {
  877. base_info_ = new ::message::Base_info;
  878. }
  879. // @@protoc_insertion_point(field_mutable:message.Pickup_command_request_msg.base_info)
  880. return base_info_;
  881. }
  882. inline void Pickup_command_request_msg::set_allocated_base_info(::message::Base_info* base_info) {
  883. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  884. if (message_arena == NULL) {
  885. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  886. }
  887. if (base_info) {
  888. ::google::protobuf::Arena* submessage_arena = NULL;
  889. if (message_arena != submessage_arena) {
  890. base_info = ::google::protobuf::internal::GetOwnedMessage(
  891. message_arena, base_info, submessage_arena);
  892. }
  893. set_has_base_info();
  894. } else {
  895. clear_has_base_info();
  896. }
  897. base_info_ = base_info;
  898. // @@protoc_insertion_point(field_set_allocated:message.Pickup_command_request_msg.base_info)
  899. }
  900. // required int32 terminal_id = 2;
  901. inline bool Pickup_command_request_msg::has_terminal_id() const {
  902. return (_has_bits_[0] & 0x00000004u) != 0;
  903. }
  904. inline void Pickup_command_request_msg::set_has_terminal_id() {
  905. _has_bits_[0] |= 0x00000004u;
  906. }
  907. inline void Pickup_command_request_msg::clear_has_terminal_id() {
  908. _has_bits_[0] &= ~0x00000004u;
  909. }
  910. inline void Pickup_command_request_msg::clear_terminal_id() {
  911. terminal_id_ = 0;
  912. clear_has_terminal_id();
  913. }
  914. inline ::google::protobuf::int32 Pickup_command_request_msg::terminal_id() const {
  915. // @@protoc_insertion_point(field_get:message.Pickup_command_request_msg.terminal_id)
  916. return terminal_id_;
  917. }
  918. inline void Pickup_command_request_msg::set_terminal_id(::google::protobuf::int32 value) {
  919. set_has_terminal_id();
  920. terminal_id_ = value;
  921. // @@protoc_insertion_point(field_set:message.Pickup_command_request_msg.terminal_id)
  922. }
  923. // required .message.Car_info car_info = 4;
  924. inline bool Pickup_command_request_msg::has_car_info() const {
  925. return (_has_bits_[0] & 0x00000002u) != 0;
  926. }
  927. inline void Pickup_command_request_msg::set_has_car_info() {
  928. _has_bits_[0] |= 0x00000002u;
  929. }
  930. inline void Pickup_command_request_msg::clear_has_car_info() {
  931. _has_bits_[0] &= ~0x00000002u;
  932. }
  933. inline const ::message::Car_info& Pickup_command_request_msg::car_info() const {
  934. const ::message::Car_info* p = car_info_;
  935. // @@protoc_insertion_point(field_get:message.Pickup_command_request_msg.car_info)
  936. return p != NULL ? *p : *reinterpret_cast<const ::message::Car_info*>(
  937. &::message::_Car_info_default_instance_);
  938. }
  939. inline ::message::Car_info* Pickup_command_request_msg::release_car_info() {
  940. // @@protoc_insertion_point(field_release:message.Pickup_command_request_msg.car_info)
  941. clear_has_car_info();
  942. ::message::Car_info* temp = car_info_;
  943. car_info_ = NULL;
  944. return temp;
  945. }
  946. inline ::message::Car_info* Pickup_command_request_msg::mutable_car_info() {
  947. set_has_car_info();
  948. if (car_info_ == NULL) {
  949. car_info_ = new ::message::Car_info;
  950. }
  951. // @@protoc_insertion_point(field_mutable:message.Pickup_command_request_msg.car_info)
  952. return car_info_;
  953. }
  954. inline void Pickup_command_request_msg::set_allocated_car_info(::message::Car_info* car_info) {
  955. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  956. if (message_arena == NULL) {
  957. delete reinterpret_cast< ::google::protobuf::MessageLite*>(car_info_);
  958. }
  959. if (car_info) {
  960. ::google::protobuf::Arena* submessage_arena = NULL;
  961. if (message_arena != submessage_arena) {
  962. car_info = ::google::protobuf::internal::GetOwnedMessage(
  963. message_arena, car_info, submessage_arena);
  964. }
  965. set_has_car_info();
  966. } else {
  967. clear_has_car_info();
  968. }
  969. car_info_ = car_info;
  970. // @@protoc_insertion_point(field_set_allocated:message.Pickup_command_request_msg.car_info)
  971. }
  972. // -------------------------------------------------------------------
  973. // Pickup_command_response_msg
  974. // required .message.Base_info base_info = 1;
  975. inline bool Pickup_command_response_msg::has_base_info() const {
  976. return (_has_bits_[0] & 0x00000001u) != 0;
  977. }
  978. inline void Pickup_command_response_msg::set_has_base_info() {
  979. _has_bits_[0] |= 0x00000001u;
  980. }
  981. inline void Pickup_command_response_msg::clear_has_base_info() {
  982. _has_bits_[0] &= ~0x00000001u;
  983. }
  984. inline const ::message::Base_info& Pickup_command_response_msg::base_info() const {
  985. const ::message::Base_info* p = base_info_;
  986. // @@protoc_insertion_point(field_get:message.Pickup_command_response_msg.base_info)
  987. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  988. &::message::_Base_info_default_instance_);
  989. }
  990. inline ::message::Base_info* Pickup_command_response_msg::release_base_info() {
  991. // @@protoc_insertion_point(field_release:message.Pickup_command_response_msg.base_info)
  992. clear_has_base_info();
  993. ::message::Base_info* temp = base_info_;
  994. base_info_ = NULL;
  995. return temp;
  996. }
  997. inline ::message::Base_info* Pickup_command_response_msg::mutable_base_info() {
  998. set_has_base_info();
  999. if (base_info_ == NULL) {
  1000. base_info_ = new ::message::Base_info;
  1001. }
  1002. // @@protoc_insertion_point(field_mutable:message.Pickup_command_response_msg.base_info)
  1003. return base_info_;
  1004. }
  1005. inline void Pickup_command_response_msg::set_allocated_base_info(::message::Base_info* base_info) {
  1006. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1007. if (message_arena == NULL) {
  1008. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  1009. }
  1010. if (base_info) {
  1011. ::google::protobuf::Arena* submessage_arena = NULL;
  1012. if (message_arena != submessage_arena) {
  1013. base_info = ::google::protobuf::internal::GetOwnedMessage(
  1014. message_arena, base_info, submessage_arena);
  1015. }
  1016. set_has_base_info();
  1017. } else {
  1018. clear_has_base_info();
  1019. }
  1020. base_info_ = base_info;
  1021. // @@protoc_insertion_point(field_set_allocated:message.Pickup_command_response_msg.base_info)
  1022. }
  1023. // required int32 terminal_id = 2;
  1024. inline bool Pickup_command_response_msg::has_terminal_id() const {
  1025. return (_has_bits_[0] & 0x00000004u) != 0;
  1026. }
  1027. inline void Pickup_command_response_msg::set_has_terminal_id() {
  1028. _has_bits_[0] |= 0x00000004u;
  1029. }
  1030. inline void Pickup_command_response_msg::clear_has_terminal_id() {
  1031. _has_bits_[0] &= ~0x00000004u;
  1032. }
  1033. inline void Pickup_command_response_msg::clear_terminal_id() {
  1034. terminal_id_ = 0;
  1035. clear_has_terminal_id();
  1036. }
  1037. inline ::google::protobuf::int32 Pickup_command_response_msg::terminal_id() const {
  1038. // @@protoc_insertion_point(field_get:message.Pickup_command_response_msg.terminal_id)
  1039. return terminal_id_;
  1040. }
  1041. inline void Pickup_command_response_msg::set_terminal_id(::google::protobuf::int32 value) {
  1042. set_has_terminal_id();
  1043. terminal_id_ = value;
  1044. // @@protoc_insertion_point(field_set:message.Pickup_command_response_msg.terminal_id)
  1045. }
  1046. // required .message.Error_manager code = 3;
  1047. inline bool Pickup_command_response_msg::has_code() const {
  1048. return (_has_bits_[0] & 0x00000002u) != 0;
  1049. }
  1050. inline void Pickup_command_response_msg::set_has_code() {
  1051. _has_bits_[0] |= 0x00000002u;
  1052. }
  1053. inline void Pickup_command_response_msg::clear_has_code() {
  1054. _has_bits_[0] &= ~0x00000002u;
  1055. }
  1056. inline const ::message::Error_manager& Pickup_command_response_msg::code() const {
  1057. const ::message::Error_manager* p = code_;
  1058. // @@protoc_insertion_point(field_get:message.Pickup_command_response_msg.code)
  1059. return p != NULL ? *p : *reinterpret_cast<const ::message::Error_manager*>(
  1060. &::message::_Error_manager_default_instance_);
  1061. }
  1062. inline ::message::Error_manager* Pickup_command_response_msg::release_code() {
  1063. // @@protoc_insertion_point(field_release:message.Pickup_command_response_msg.code)
  1064. clear_has_code();
  1065. ::message::Error_manager* temp = code_;
  1066. code_ = NULL;
  1067. return temp;
  1068. }
  1069. inline ::message::Error_manager* Pickup_command_response_msg::mutable_code() {
  1070. set_has_code();
  1071. if (code_ == NULL) {
  1072. code_ = new ::message::Error_manager;
  1073. }
  1074. // @@protoc_insertion_point(field_mutable:message.Pickup_command_response_msg.code)
  1075. return code_;
  1076. }
  1077. inline void Pickup_command_response_msg::set_allocated_code(::message::Error_manager* code) {
  1078. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1079. if (message_arena == NULL) {
  1080. delete reinterpret_cast< ::google::protobuf::MessageLite*>(code_);
  1081. }
  1082. if (code) {
  1083. ::google::protobuf::Arena* submessage_arena = NULL;
  1084. if (message_arena != submessage_arena) {
  1085. code = ::google::protobuf::internal::GetOwnedMessage(
  1086. message_arena, code, submessage_arena);
  1087. }
  1088. set_has_code();
  1089. } else {
  1090. clear_has_code();
  1091. }
  1092. code_ = code;
  1093. // @@protoc_insertion_point(field_set_allocated:message.Pickup_command_response_msg.code)
  1094. }
  1095. #ifdef __GNUC__
  1096. #pragma GCC diagnostic pop
  1097. #endif // __GNUC__
  1098. // -------------------------------------------------------------------
  1099. // -------------------------------------------------------------------
  1100. // -------------------------------------------------------------------
  1101. // @@protoc_insertion_point(namespace_scope)
  1102. } // namespace message
  1103. // @@protoc_insertion_point(global_scope)
  1104. #endif // PROTOBUF_terminal_5fmessage_2eproto__INCLUDED