terminal_message.pb.h 48 KB

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