terminal_message.pb.h 57 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496
  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.Id_struct id_struct = 2;
  155. bool has_id_struct() const;
  156. void clear_id_struct();
  157. static const int kIdStructFieldNumber = 2;
  158. const ::message::Id_struct& id_struct() const;
  159. ::message::Id_struct* release_id_struct();
  160. ::message::Id_struct* mutable_id_struct();
  161. void set_allocated_id_struct(::message::Id_struct* id_struct);
  162. // required .message.Locate_information locate_information = 3;
  163. bool has_locate_information() const;
  164. void clear_locate_information();
  165. static const int kLocateInformationFieldNumber = 3;
  166. const ::message::Locate_information& locate_information() const;
  167. ::message::Locate_information* release_locate_information();
  168. ::message::Locate_information* mutable_locate_information();
  169. void set_allocated_locate_information(::message::Locate_information* locate_information);
  170. // required .message.Car_info car_info = 4;
  171. bool has_car_info() const;
  172. void clear_car_info();
  173. static const int kCarInfoFieldNumber = 4;
  174. const ::message::Car_info& car_info() const;
  175. ::message::Car_info* release_car_info();
  176. ::message::Car_info* mutable_car_info();
  177. void set_allocated_car_info(::message::Car_info* car_info);
  178. // @@protoc_insertion_point(class_scope:message.Store_command_request_msg)
  179. private:
  180. void set_has_base_info();
  181. void clear_has_base_info();
  182. void set_has_id_struct();
  183. void clear_has_id_struct();
  184. void set_has_locate_information();
  185. void clear_has_locate_information();
  186. void set_has_car_info();
  187. void clear_has_car_info();
  188. // helper for ByteSizeLong()
  189. size_t RequiredFieldsByteSizeFallback() const;
  190. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  191. ::google::protobuf::internal::HasBits<1> _has_bits_;
  192. mutable int _cached_size_;
  193. ::message::Base_info* base_info_;
  194. ::message::Id_struct* id_struct_;
  195. ::message::Locate_information* locate_information_;
  196. ::message::Car_info* car_info_;
  197. friend struct ::protobuf_terminal_5fmessage_2eproto::TableStruct;
  198. friend void ::protobuf_terminal_5fmessage_2eproto::InitDefaultsStore_command_request_msgImpl();
  199. };
  200. // -------------------------------------------------------------------
  201. class Store_command_response_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Store_command_response_msg) */ {
  202. public:
  203. Store_command_response_msg();
  204. virtual ~Store_command_response_msg();
  205. Store_command_response_msg(const Store_command_response_msg& from);
  206. inline Store_command_response_msg& operator=(const Store_command_response_msg& from) {
  207. CopyFrom(from);
  208. return *this;
  209. }
  210. #if LANG_CXX11
  211. Store_command_response_msg(Store_command_response_msg&& from) noexcept
  212. : Store_command_response_msg() {
  213. *this = ::std::move(from);
  214. }
  215. inline Store_command_response_msg& operator=(Store_command_response_msg&& from) noexcept {
  216. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  217. if (this != &from) InternalSwap(&from);
  218. } else {
  219. CopyFrom(from);
  220. }
  221. return *this;
  222. }
  223. #endif
  224. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  225. return _internal_metadata_.unknown_fields();
  226. }
  227. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  228. return _internal_metadata_.mutable_unknown_fields();
  229. }
  230. static const ::google::protobuf::Descriptor* descriptor();
  231. static const Store_command_response_msg& default_instance();
  232. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  233. static inline const Store_command_response_msg* internal_default_instance() {
  234. return reinterpret_cast<const Store_command_response_msg*>(
  235. &_Store_command_response_msg_default_instance_);
  236. }
  237. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  238. 1;
  239. void Swap(Store_command_response_msg* other);
  240. friend void swap(Store_command_response_msg& a, Store_command_response_msg& b) {
  241. a.Swap(&b);
  242. }
  243. // implements Message ----------------------------------------------
  244. inline Store_command_response_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  245. Store_command_response_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  246. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  247. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  248. void CopyFrom(const Store_command_response_msg& from);
  249. void MergeFrom(const Store_command_response_msg& from);
  250. void Clear() PROTOBUF_FINAL;
  251. bool IsInitialized() const PROTOBUF_FINAL;
  252. size_t ByteSizeLong() const PROTOBUF_FINAL;
  253. bool MergePartialFromCodedStream(
  254. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  255. void SerializeWithCachedSizes(
  256. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  257. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  258. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  259. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  260. private:
  261. void SharedCtor();
  262. void SharedDtor();
  263. void SetCachedSize(int size) const PROTOBUF_FINAL;
  264. void InternalSwap(Store_command_response_msg* other);
  265. private:
  266. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  267. return NULL;
  268. }
  269. inline void* MaybeArenaPtr() const {
  270. return NULL;
  271. }
  272. public:
  273. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  274. // nested types ----------------------------------------------------
  275. // accessors -------------------------------------------------------
  276. // optional string license = 4;
  277. bool has_license() const;
  278. void clear_license();
  279. static const int kLicenseFieldNumber = 4;
  280. const ::std::string& license() const;
  281. void set_license(const ::std::string& value);
  282. #if LANG_CXX11
  283. void set_license(::std::string&& value);
  284. #endif
  285. void set_license(const char* value);
  286. void set_license(const char* value, size_t size);
  287. ::std::string* mutable_license();
  288. ::std::string* release_license();
  289. void set_allocated_license(::std::string* license);
  290. // required .message.Base_info base_info = 1;
  291. bool has_base_info() const;
  292. void clear_base_info();
  293. static const int kBaseInfoFieldNumber = 1;
  294. const ::message::Base_info& base_info() const;
  295. ::message::Base_info* release_base_info();
  296. ::message::Base_info* mutable_base_info();
  297. void set_allocated_base_info(::message::Base_info* base_info);
  298. // required .message.Id_struct id_struct = 2;
  299. bool has_id_struct() const;
  300. void clear_id_struct();
  301. static const int kIdStructFieldNumber = 2;
  302. const ::message::Id_struct& id_struct() const;
  303. ::message::Id_struct* release_id_struct();
  304. ::message::Id_struct* mutable_id_struct();
  305. void set_allocated_id_struct(::message::Id_struct* id_struct);
  306. // required .message.Error_manager code = 3;
  307. bool has_code() const;
  308. void clear_code();
  309. static const int kCodeFieldNumber = 3;
  310. const ::message::Error_manager& code() const;
  311. ::message::Error_manager* release_code();
  312. ::message::Error_manager* mutable_code();
  313. void set_allocated_code(::message::Error_manager* code);
  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_id_struct();
  319. void clear_has_id_struct();
  320. void set_has_code();
  321. void clear_has_code();
  322. void set_has_license();
  323. void clear_has_license();
  324. // helper for ByteSizeLong()
  325. size_t RequiredFieldsByteSizeFallback() const;
  326. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  327. ::google::protobuf::internal::HasBits<1> _has_bits_;
  328. mutable int _cached_size_;
  329. ::google::protobuf::internal::ArenaStringPtr license_;
  330. ::message::Base_info* base_info_;
  331. ::message::Id_struct* id_struct_;
  332. ::message::Error_manager* code_;
  333. friend struct ::protobuf_terminal_5fmessage_2eproto::TableStruct;
  334. friend void ::protobuf_terminal_5fmessage_2eproto::InitDefaultsStore_command_response_msgImpl();
  335. };
  336. // -------------------------------------------------------------------
  337. class Pickup_command_request_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Pickup_command_request_msg) */ {
  338. public:
  339. Pickup_command_request_msg();
  340. virtual ~Pickup_command_request_msg();
  341. Pickup_command_request_msg(const Pickup_command_request_msg& from);
  342. inline Pickup_command_request_msg& operator=(const Pickup_command_request_msg& from) {
  343. CopyFrom(from);
  344. return *this;
  345. }
  346. #if LANG_CXX11
  347. Pickup_command_request_msg(Pickup_command_request_msg&& from) noexcept
  348. : Pickup_command_request_msg() {
  349. *this = ::std::move(from);
  350. }
  351. inline Pickup_command_request_msg& operator=(Pickup_command_request_msg&& from) noexcept {
  352. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  353. if (this != &from) InternalSwap(&from);
  354. } else {
  355. CopyFrom(from);
  356. }
  357. return *this;
  358. }
  359. #endif
  360. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  361. return _internal_metadata_.unknown_fields();
  362. }
  363. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  364. return _internal_metadata_.mutable_unknown_fields();
  365. }
  366. static const ::google::protobuf::Descriptor* descriptor();
  367. static const Pickup_command_request_msg& default_instance();
  368. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  369. static inline const Pickup_command_request_msg* internal_default_instance() {
  370. return reinterpret_cast<const Pickup_command_request_msg*>(
  371. &_Pickup_command_request_msg_default_instance_);
  372. }
  373. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  374. 2;
  375. void Swap(Pickup_command_request_msg* other);
  376. friend void swap(Pickup_command_request_msg& a, Pickup_command_request_msg& b) {
  377. a.Swap(&b);
  378. }
  379. // implements Message ----------------------------------------------
  380. inline Pickup_command_request_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  381. Pickup_command_request_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  382. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  383. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  384. void CopyFrom(const Pickup_command_request_msg& from);
  385. void MergeFrom(const Pickup_command_request_msg& from);
  386. void Clear() PROTOBUF_FINAL;
  387. bool IsInitialized() const PROTOBUF_FINAL;
  388. size_t ByteSizeLong() const PROTOBUF_FINAL;
  389. bool MergePartialFromCodedStream(
  390. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  391. void SerializeWithCachedSizes(
  392. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  393. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  394. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  395. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  396. private:
  397. void SharedCtor();
  398. void SharedDtor();
  399. void SetCachedSize(int size) const PROTOBUF_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 PROTOBUF_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. const ::message::Base_info& base_info() const;
  417. ::message::Base_info* release_base_info();
  418. ::message::Base_info* mutable_base_info();
  419. void set_allocated_base_info(::message::Base_info* base_info);
  420. // required .message.Id_struct id_struct = 2;
  421. bool has_id_struct() const;
  422. void clear_id_struct();
  423. static const int kIdStructFieldNumber = 2;
  424. const ::message::Id_struct& id_struct() const;
  425. ::message::Id_struct* release_id_struct();
  426. ::message::Id_struct* mutable_id_struct();
  427. void set_allocated_id_struct(::message::Id_struct* id_struct);
  428. // required .message.Car_info car_info = 4;
  429. bool has_car_info() const;
  430. void clear_car_info();
  431. static const int kCarInfoFieldNumber = 4;
  432. const ::message::Car_info& car_info() const;
  433. ::message::Car_info* release_car_info();
  434. ::message::Car_info* mutable_car_info();
  435. void set_allocated_car_info(::message::Car_info* car_info);
  436. // @@protoc_insertion_point(class_scope:message.Pickup_command_request_msg)
  437. private:
  438. void set_has_base_info();
  439. void clear_has_base_info();
  440. void set_has_id_struct();
  441. void clear_has_id_struct();
  442. void set_has_car_info();
  443. void clear_has_car_info();
  444. // helper for ByteSizeLong()
  445. size_t RequiredFieldsByteSizeFallback() const;
  446. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  447. ::google::protobuf::internal::HasBits<1> _has_bits_;
  448. mutable int _cached_size_;
  449. ::message::Base_info* base_info_;
  450. ::message::Id_struct* id_struct_;
  451. ::message::Car_info* car_info_;
  452. friend struct ::protobuf_terminal_5fmessage_2eproto::TableStruct;
  453. friend void ::protobuf_terminal_5fmessage_2eproto::InitDefaultsPickup_command_request_msgImpl();
  454. };
  455. // -------------------------------------------------------------------
  456. class Pickup_command_response_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Pickup_command_response_msg) */ {
  457. public:
  458. Pickup_command_response_msg();
  459. virtual ~Pickup_command_response_msg();
  460. Pickup_command_response_msg(const Pickup_command_response_msg& from);
  461. inline Pickup_command_response_msg& operator=(const Pickup_command_response_msg& from) {
  462. CopyFrom(from);
  463. return *this;
  464. }
  465. #if LANG_CXX11
  466. Pickup_command_response_msg(Pickup_command_response_msg&& from) noexcept
  467. : Pickup_command_response_msg() {
  468. *this = ::std::move(from);
  469. }
  470. inline Pickup_command_response_msg& operator=(Pickup_command_response_msg&& from) noexcept {
  471. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  472. if (this != &from) InternalSwap(&from);
  473. } else {
  474. CopyFrom(from);
  475. }
  476. return *this;
  477. }
  478. #endif
  479. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  480. return _internal_metadata_.unknown_fields();
  481. }
  482. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  483. return _internal_metadata_.mutable_unknown_fields();
  484. }
  485. static const ::google::protobuf::Descriptor* descriptor();
  486. static const Pickup_command_response_msg& default_instance();
  487. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  488. static inline const Pickup_command_response_msg* internal_default_instance() {
  489. return reinterpret_cast<const Pickup_command_response_msg*>(
  490. &_Pickup_command_response_msg_default_instance_);
  491. }
  492. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  493. 3;
  494. void Swap(Pickup_command_response_msg* other);
  495. friend void swap(Pickup_command_response_msg& a, Pickup_command_response_msg& b) {
  496. a.Swap(&b);
  497. }
  498. // implements Message ----------------------------------------------
  499. inline Pickup_command_response_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  500. Pickup_command_response_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  501. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  502. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  503. void CopyFrom(const Pickup_command_response_msg& from);
  504. void MergeFrom(const Pickup_command_response_msg& from);
  505. void Clear() PROTOBUF_FINAL;
  506. bool IsInitialized() const PROTOBUF_FINAL;
  507. size_t ByteSizeLong() const PROTOBUF_FINAL;
  508. bool MergePartialFromCodedStream(
  509. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  510. void SerializeWithCachedSizes(
  511. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  512. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  513. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  514. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  515. private:
  516. void SharedCtor();
  517. void SharedDtor();
  518. void SetCachedSize(int size) const PROTOBUF_FINAL;
  519. void InternalSwap(Pickup_command_response_msg* other);
  520. private:
  521. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  522. return NULL;
  523. }
  524. inline void* MaybeArenaPtr() const {
  525. return NULL;
  526. }
  527. public:
  528. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  529. // nested types ----------------------------------------------------
  530. // accessors -------------------------------------------------------
  531. // optional string license = 4;
  532. bool has_license() const;
  533. void clear_license();
  534. static const int kLicenseFieldNumber = 4;
  535. const ::std::string& license() const;
  536. void set_license(const ::std::string& value);
  537. #if LANG_CXX11
  538. void set_license(::std::string&& value);
  539. #endif
  540. void set_license(const char* value);
  541. void set_license(const char* value, size_t size);
  542. ::std::string* mutable_license();
  543. ::std::string* release_license();
  544. void set_allocated_license(::std::string* license);
  545. // required .message.Base_info base_info = 1;
  546. bool has_base_info() const;
  547. void clear_base_info();
  548. static const int kBaseInfoFieldNumber = 1;
  549. const ::message::Base_info& base_info() const;
  550. ::message::Base_info* release_base_info();
  551. ::message::Base_info* mutable_base_info();
  552. void set_allocated_base_info(::message::Base_info* base_info);
  553. // required .message.Id_struct id_struct = 2;
  554. bool has_id_struct() const;
  555. void clear_id_struct();
  556. static const int kIdStructFieldNumber = 2;
  557. const ::message::Id_struct& id_struct() const;
  558. ::message::Id_struct* release_id_struct();
  559. ::message::Id_struct* mutable_id_struct();
  560. void set_allocated_id_struct(::message::Id_struct* id_struct);
  561. // required .message.Error_manager code = 3;
  562. bool has_code() const;
  563. void clear_code();
  564. static const int kCodeFieldNumber = 3;
  565. const ::message::Error_manager& code() const;
  566. ::message::Error_manager* release_code();
  567. ::message::Error_manager* mutable_code();
  568. void set_allocated_code(::message::Error_manager* code);
  569. // @@protoc_insertion_point(class_scope:message.Pickup_command_response_msg)
  570. private:
  571. void set_has_base_info();
  572. void clear_has_base_info();
  573. void set_has_id_struct();
  574. void clear_has_id_struct();
  575. void set_has_code();
  576. void clear_has_code();
  577. void set_has_license();
  578. void clear_has_license();
  579. // helper for ByteSizeLong()
  580. size_t RequiredFieldsByteSizeFallback() const;
  581. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  582. ::google::protobuf::internal::HasBits<1> _has_bits_;
  583. mutable int _cached_size_;
  584. ::google::protobuf::internal::ArenaStringPtr license_;
  585. ::message::Base_info* base_info_;
  586. ::message::Id_struct* id_struct_;
  587. ::message::Error_manager* code_;
  588. friend struct ::protobuf_terminal_5fmessage_2eproto::TableStruct;
  589. friend void ::protobuf_terminal_5fmessage_2eproto::InitDefaultsPickup_command_response_msgImpl();
  590. };
  591. // ===================================================================
  592. // ===================================================================
  593. #ifdef __GNUC__
  594. #pragma GCC diagnostic push
  595. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  596. #endif // __GNUC__
  597. // Store_command_request_msg
  598. // required .message.Base_info base_info = 1;
  599. inline bool Store_command_request_msg::has_base_info() const {
  600. return (_has_bits_[0] & 0x00000001u) != 0;
  601. }
  602. inline void Store_command_request_msg::set_has_base_info() {
  603. _has_bits_[0] |= 0x00000001u;
  604. }
  605. inline void Store_command_request_msg::clear_has_base_info() {
  606. _has_bits_[0] &= ~0x00000001u;
  607. }
  608. inline const ::message::Base_info& Store_command_request_msg::base_info() const {
  609. const ::message::Base_info* p = base_info_;
  610. // @@protoc_insertion_point(field_get:message.Store_command_request_msg.base_info)
  611. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  612. &::message::_Base_info_default_instance_);
  613. }
  614. inline ::message::Base_info* Store_command_request_msg::release_base_info() {
  615. // @@protoc_insertion_point(field_release:message.Store_command_request_msg.base_info)
  616. clear_has_base_info();
  617. ::message::Base_info* temp = base_info_;
  618. base_info_ = NULL;
  619. return temp;
  620. }
  621. inline ::message::Base_info* Store_command_request_msg::mutable_base_info() {
  622. set_has_base_info();
  623. if (base_info_ == NULL) {
  624. base_info_ = new ::message::Base_info;
  625. }
  626. // @@protoc_insertion_point(field_mutable:message.Store_command_request_msg.base_info)
  627. return base_info_;
  628. }
  629. inline void Store_command_request_msg::set_allocated_base_info(::message::Base_info* base_info) {
  630. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  631. if (message_arena == NULL) {
  632. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  633. }
  634. if (base_info) {
  635. ::google::protobuf::Arena* submessage_arena = NULL;
  636. if (message_arena != submessage_arena) {
  637. base_info = ::google::protobuf::internal::GetOwnedMessage(
  638. message_arena, base_info, submessage_arena);
  639. }
  640. set_has_base_info();
  641. } else {
  642. clear_has_base_info();
  643. }
  644. base_info_ = base_info;
  645. // @@protoc_insertion_point(field_set_allocated:message.Store_command_request_msg.base_info)
  646. }
  647. // required .message.Id_struct id_struct = 2;
  648. inline bool Store_command_request_msg::has_id_struct() const {
  649. return (_has_bits_[0] & 0x00000002u) != 0;
  650. }
  651. inline void Store_command_request_msg::set_has_id_struct() {
  652. _has_bits_[0] |= 0x00000002u;
  653. }
  654. inline void Store_command_request_msg::clear_has_id_struct() {
  655. _has_bits_[0] &= ~0x00000002u;
  656. }
  657. inline const ::message::Id_struct& Store_command_request_msg::id_struct() const {
  658. const ::message::Id_struct* p = id_struct_;
  659. // @@protoc_insertion_point(field_get:message.Store_command_request_msg.id_struct)
  660. return p != NULL ? *p : *reinterpret_cast<const ::message::Id_struct*>(
  661. &::message::_Id_struct_default_instance_);
  662. }
  663. inline ::message::Id_struct* Store_command_request_msg::release_id_struct() {
  664. // @@protoc_insertion_point(field_release:message.Store_command_request_msg.id_struct)
  665. clear_has_id_struct();
  666. ::message::Id_struct* temp = id_struct_;
  667. id_struct_ = NULL;
  668. return temp;
  669. }
  670. inline ::message::Id_struct* Store_command_request_msg::mutable_id_struct() {
  671. set_has_id_struct();
  672. if (id_struct_ == NULL) {
  673. id_struct_ = new ::message::Id_struct;
  674. }
  675. // @@protoc_insertion_point(field_mutable:message.Store_command_request_msg.id_struct)
  676. return id_struct_;
  677. }
  678. inline void Store_command_request_msg::set_allocated_id_struct(::message::Id_struct* id_struct) {
  679. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  680. if (message_arena == NULL) {
  681. delete reinterpret_cast< ::google::protobuf::MessageLite*>(id_struct_);
  682. }
  683. if (id_struct) {
  684. ::google::protobuf::Arena* submessage_arena = NULL;
  685. if (message_arena != submessage_arena) {
  686. id_struct = ::google::protobuf::internal::GetOwnedMessage(
  687. message_arena, id_struct, submessage_arena);
  688. }
  689. set_has_id_struct();
  690. } else {
  691. clear_has_id_struct();
  692. }
  693. id_struct_ = id_struct;
  694. // @@protoc_insertion_point(field_set_allocated:message.Store_command_request_msg.id_struct)
  695. }
  696. // required .message.Locate_information locate_information = 3;
  697. inline bool Store_command_request_msg::has_locate_information() const {
  698. return (_has_bits_[0] & 0x00000004u) != 0;
  699. }
  700. inline void Store_command_request_msg::set_has_locate_information() {
  701. _has_bits_[0] |= 0x00000004u;
  702. }
  703. inline void Store_command_request_msg::clear_has_locate_information() {
  704. _has_bits_[0] &= ~0x00000004u;
  705. }
  706. inline const ::message::Locate_information& Store_command_request_msg::locate_information() const {
  707. const ::message::Locate_information* p = locate_information_;
  708. // @@protoc_insertion_point(field_get:message.Store_command_request_msg.locate_information)
  709. return p != NULL ? *p : *reinterpret_cast<const ::message::Locate_information*>(
  710. &::message::_Locate_information_default_instance_);
  711. }
  712. inline ::message::Locate_information* Store_command_request_msg::release_locate_information() {
  713. // @@protoc_insertion_point(field_release:message.Store_command_request_msg.locate_information)
  714. clear_has_locate_information();
  715. ::message::Locate_information* temp = locate_information_;
  716. locate_information_ = NULL;
  717. return temp;
  718. }
  719. inline ::message::Locate_information* Store_command_request_msg::mutable_locate_information() {
  720. set_has_locate_information();
  721. if (locate_information_ == NULL) {
  722. locate_information_ = new ::message::Locate_information;
  723. }
  724. // @@protoc_insertion_point(field_mutable:message.Store_command_request_msg.locate_information)
  725. return locate_information_;
  726. }
  727. inline void Store_command_request_msg::set_allocated_locate_information(::message::Locate_information* locate_information) {
  728. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  729. if (message_arena == NULL) {
  730. delete reinterpret_cast< ::google::protobuf::MessageLite*>(locate_information_);
  731. }
  732. if (locate_information) {
  733. ::google::protobuf::Arena* submessage_arena = NULL;
  734. if (message_arena != submessage_arena) {
  735. locate_information = ::google::protobuf::internal::GetOwnedMessage(
  736. message_arena, locate_information, submessage_arena);
  737. }
  738. set_has_locate_information();
  739. } else {
  740. clear_has_locate_information();
  741. }
  742. locate_information_ = locate_information;
  743. // @@protoc_insertion_point(field_set_allocated:message.Store_command_request_msg.locate_information)
  744. }
  745. // required .message.Car_info car_info = 4;
  746. inline bool Store_command_request_msg::has_car_info() const {
  747. return (_has_bits_[0] & 0x00000008u) != 0;
  748. }
  749. inline void Store_command_request_msg::set_has_car_info() {
  750. _has_bits_[0] |= 0x00000008u;
  751. }
  752. inline void Store_command_request_msg::clear_has_car_info() {
  753. _has_bits_[0] &= ~0x00000008u;
  754. }
  755. inline const ::message::Car_info& Store_command_request_msg::car_info() const {
  756. const ::message::Car_info* p = car_info_;
  757. // @@protoc_insertion_point(field_get:message.Store_command_request_msg.car_info)
  758. return p != NULL ? *p : *reinterpret_cast<const ::message::Car_info*>(
  759. &::message::_Car_info_default_instance_);
  760. }
  761. inline ::message::Car_info* Store_command_request_msg::release_car_info() {
  762. // @@protoc_insertion_point(field_release:message.Store_command_request_msg.car_info)
  763. clear_has_car_info();
  764. ::message::Car_info* temp = car_info_;
  765. car_info_ = NULL;
  766. return temp;
  767. }
  768. inline ::message::Car_info* Store_command_request_msg::mutable_car_info() {
  769. set_has_car_info();
  770. if (car_info_ == NULL) {
  771. car_info_ = new ::message::Car_info;
  772. }
  773. // @@protoc_insertion_point(field_mutable:message.Store_command_request_msg.car_info)
  774. return car_info_;
  775. }
  776. inline void Store_command_request_msg::set_allocated_car_info(::message::Car_info* car_info) {
  777. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  778. if (message_arena == NULL) {
  779. delete reinterpret_cast< ::google::protobuf::MessageLite*>(car_info_);
  780. }
  781. if (car_info) {
  782. ::google::protobuf::Arena* submessage_arena = NULL;
  783. if (message_arena != submessage_arena) {
  784. car_info = ::google::protobuf::internal::GetOwnedMessage(
  785. message_arena, car_info, submessage_arena);
  786. }
  787. set_has_car_info();
  788. } else {
  789. clear_has_car_info();
  790. }
  791. car_info_ = car_info;
  792. // @@protoc_insertion_point(field_set_allocated:message.Store_command_request_msg.car_info)
  793. }
  794. // -------------------------------------------------------------------
  795. // Store_command_response_msg
  796. // required .message.Base_info base_info = 1;
  797. inline bool Store_command_response_msg::has_base_info() const {
  798. return (_has_bits_[0] & 0x00000002u) != 0;
  799. }
  800. inline void Store_command_response_msg::set_has_base_info() {
  801. _has_bits_[0] |= 0x00000002u;
  802. }
  803. inline void Store_command_response_msg::clear_has_base_info() {
  804. _has_bits_[0] &= ~0x00000002u;
  805. }
  806. inline const ::message::Base_info& Store_command_response_msg::base_info() const {
  807. const ::message::Base_info* p = base_info_;
  808. // @@protoc_insertion_point(field_get:message.Store_command_response_msg.base_info)
  809. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  810. &::message::_Base_info_default_instance_);
  811. }
  812. inline ::message::Base_info* Store_command_response_msg::release_base_info() {
  813. // @@protoc_insertion_point(field_release:message.Store_command_response_msg.base_info)
  814. clear_has_base_info();
  815. ::message::Base_info* temp = base_info_;
  816. base_info_ = NULL;
  817. return temp;
  818. }
  819. inline ::message::Base_info* Store_command_response_msg::mutable_base_info() {
  820. set_has_base_info();
  821. if (base_info_ == NULL) {
  822. base_info_ = new ::message::Base_info;
  823. }
  824. // @@protoc_insertion_point(field_mutable:message.Store_command_response_msg.base_info)
  825. return base_info_;
  826. }
  827. inline void Store_command_response_msg::set_allocated_base_info(::message::Base_info* base_info) {
  828. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  829. if (message_arena == NULL) {
  830. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  831. }
  832. if (base_info) {
  833. ::google::protobuf::Arena* submessage_arena = NULL;
  834. if (message_arena != submessage_arena) {
  835. base_info = ::google::protobuf::internal::GetOwnedMessage(
  836. message_arena, base_info, submessage_arena);
  837. }
  838. set_has_base_info();
  839. } else {
  840. clear_has_base_info();
  841. }
  842. base_info_ = base_info;
  843. // @@protoc_insertion_point(field_set_allocated:message.Store_command_response_msg.base_info)
  844. }
  845. // required .message.Id_struct id_struct = 2;
  846. inline bool Store_command_response_msg::has_id_struct() const {
  847. return (_has_bits_[0] & 0x00000004u) != 0;
  848. }
  849. inline void Store_command_response_msg::set_has_id_struct() {
  850. _has_bits_[0] |= 0x00000004u;
  851. }
  852. inline void Store_command_response_msg::clear_has_id_struct() {
  853. _has_bits_[0] &= ~0x00000004u;
  854. }
  855. inline const ::message::Id_struct& Store_command_response_msg::id_struct() const {
  856. const ::message::Id_struct* p = id_struct_;
  857. // @@protoc_insertion_point(field_get:message.Store_command_response_msg.id_struct)
  858. return p != NULL ? *p : *reinterpret_cast<const ::message::Id_struct*>(
  859. &::message::_Id_struct_default_instance_);
  860. }
  861. inline ::message::Id_struct* Store_command_response_msg::release_id_struct() {
  862. // @@protoc_insertion_point(field_release:message.Store_command_response_msg.id_struct)
  863. clear_has_id_struct();
  864. ::message::Id_struct* temp = id_struct_;
  865. id_struct_ = NULL;
  866. return temp;
  867. }
  868. inline ::message::Id_struct* Store_command_response_msg::mutable_id_struct() {
  869. set_has_id_struct();
  870. if (id_struct_ == NULL) {
  871. id_struct_ = new ::message::Id_struct;
  872. }
  873. // @@protoc_insertion_point(field_mutable:message.Store_command_response_msg.id_struct)
  874. return id_struct_;
  875. }
  876. inline void Store_command_response_msg::set_allocated_id_struct(::message::Id_struct* id_struct) {
  877. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  878. if (message_arena == NULL) {
  879. delete reinterpret_cast< ::google::protobuf::MessageLite*>(id_struct_);
  880. }
  881. if (id_struct) {
  882. ::google::protobuf::Arena* submessage_arena = NULL;
  883. if (message_arena != submessage_arena) {
  884. id_struct = ::google::protobuf::internal::GetOwnedMessage(
  885. message_arena, id_struct, submessage_arena);
  886. }
  887. set_has_id_struct();
  888. } else {
  889. clear_has_id_struct();
  890. }
  891. id_struct_ = id_struct;
  892. // @@protoc_insertion_point(field_set_allocated:message.Store_command_response_msg.id_struct)
  893. }
  894. // required .message.Error_manager code = 3;
  895. inline bool Store_command_response_msg::has_code() const {
  896. return (_has_bits_[0] & 0x00000008u) != 0;
  897. }
  898. inline void Store_command_response_msg::set_has_code() {
  899. _has_bits_[0] |= 0x00000008u;
  900. }
  901. inline void Store_command_response_msg::clear_has_code() {
  902. _has_bits_[0] &= ~0x00000008u;
  903. }
  904. inline const ::message::Error_manager& Store_command_response_msg::code() const {
  905. const ::message::Error_manager* p = code_;
  906. // @@protoc_insertion_point(field_get:message.Store_command_response_msg.code)
  907. return p != NULL ? *p : *reinterpret_cast<const ::message::Error_manager*>(
  908. &::message::_Error_manager_default_instance_);
  909. }
  910. inline ::message::Error_manager* Store_command_response_msg::release_code() {
  911. // @@protoc_insertion_point(field_release:message.Store_command_response_msg.code)
  912. clear_has_code();
  913. ::message::Error_manager* temp = code_;
  914. code_ = NULL;
  915. return temp;
  916. }
  917. inline ::message::Error_manager* Store_command_response_msg::mutable_code() {
  918. set_has_code();
  919. if (code_ == NULL) {
  920. code_ = new ::message::Error_manager;
  921. }
  922. // @@protoc_insertion_point(field_mutable:message.Store_command_response_msg.code)
  923. return code_;
  924. }
  925. inline void Store_command_response_msg::set_allocated_code(::message::Error_manager* code) {
  926. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  927. if (message_arena == NULL) {
  928. delete reinterpret_cast< ::google::protobuf::MessageLite*>(code_);
  929. }
  930. if (code) {
  931. ::google::protobuf::Arena* submessage_arena = NULL;
  932. if (message_arena != submessage_arena) {
  933. code = ::google::protobuf::internal::GetOwnedMessage(
  934. message_arena, code, submessage_arena);
  935. }
  936. set_has_code();
  937. } else {
  938. clear_has_code();
  939. }
  940. code_ = code;
  941. // @@protoc_insertion_point(field_set_allocated:message.Store_command_response_msg.code)
  942. }
  943. // optional string license = 4;
  944. inline bool Store_command_response_msg::has_license() const {
  945. return (_has_bits_[0] & 0x00000001u) != 0;
  946. }
  947. inline void Store_command_response_msg::set_has_license() {
  948. _has_bits_[0] |= 0x00000001u;
  949. }
  950. inline void Store_command_response_msg::clear_has_license() {
  951. _has_bits_[0] &= ~0x00000001u;
  952. }
  953. inline void Store_command_response_msg::clear_license() {
  954. license_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  955. clear_has_license();
  956. }
  957. inline const ::std::string& Store_command_response_msg::license() const {
  958. // @@protoc_insertion_point(field_get:message.Store_command_response_msg.license)
  959. return license_.GetNoArena();
  960. }
  961. inline void Store_command_response_msg::set_license(const ::std::string& value) {
  962. set_has_license();
  963. license_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  964. // @@protoc_insertion_point(field_set:message.Store_command_response_msg.license)
  965. }
  966. #if LANG_CXX11
  967. inline void Store_command_response_msg::set_license(::std::string&& value) {
  968. set_has_license();
  969. license_.SetNoArena(
  970. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  971. // @@protoc_insertion_point(field_set_rvalue:message.Store_command_response_msg.license)
  972. }
  973. #endif
  974. inline void Store_command_response_msg::set_license(const char* value) {
  975. GOOGLE_DCHECK(value != NULL);
  976. set_has_license();
  977. license_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  978. // @@protoc_insertion_point(field_set_char:message.Store_command_response_msg.license)
  979. }
  980. inline void Store_command_response_msg::set_license(const char* value, size_t size) {
  981. set_has_license();
  982. license_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  983. ::std::string(reinterpret_cast<const char*>(value), size));
  984. // @@protoc_insertion_point(field_set_pointer:message.Store_command_response_msg.license)
  985. }
  986. inline ::std::string* Store_command_response_msg::mutable_license() {
  987. set_has_license();
  988. // @@protoc_insertion_point(field_mutable:message.Store_command_response_msg.license)
  989. return license_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  990. }
  991. inline ::std::string* Store_command_response_msg::release_license() {
  992. // @@protoc_insertion_point(field_release:message.Store_command_response_msg.license)
  993. clear_has_license();
  994. return license_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  995. }
  996. inline void Store_command_response_msg::set_allocated_license(::std::string* license) {
  997. if (license != NULL) {
  998. set_has_license();
  999. } else {
  1000. clear_has_license();
  1001. }
  1002. license_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), license);
  1003. // @@protoc_insertion_point(field_set_allocated:message.Store_command_response_msg.license)
  1004. }
  1005. // -------------------------------------------------------------------
  1006. // Pickup_command_request_msg
  1007. // required .message.Base_info base_info = 1;
  1008. inline bool Pickup_command_request_msg::has_base_info() const {
  1009. return (_has_bits_[0] & 0x00000001u) != 0;
  1010. }
  1011. inline void Pickup_command_request_msg::set_has_base_info() {
  1012. _has_bits_[0] |= 0x00000001u;
  1013. }
  1014. inline void Pickup_command_request_msg::clear_has_base_info() {
  1015. _has_bits_[0] &= ~0x00000001u;
  1016. }
  1017. inline const ::message::Base_info& Pickup_command_request_msg::base_info() const {
  1018. const ::message::Base_info* p = base_info_;
  1019. // @@protoc_insertion_point(field_get:message.Pickup_command_request_msg.base_info)
  1020. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  1021. &::message::_Base_info_default_instance_);
  1022. }
  1023. inline ::message::Base_info* Pickup_command_request_msg::release_base_info() {
  1024. // @@protoc_insertion_point(field_release:message.Pickup_command_request_msg.base_info)
  1025. clear_has_base_info();
  1026. ::message::Base_info* temp = base_info_;
  1027. base_info_ = NULL;
  1028. return temp;
  1029. }
  1030. inline ::message::Base_info* Pickup_command_request_msg::mutable_base_info() {
  1031. set_has_base_info();
  1032. if (base_info_ == NULL) {
  1033. base_info_ = new ::message::Base_info;
  1034. }
  1035. // @@protoc_insertion_point(field_mutable:message.Pickup_command_request_msg.base_info)
  1036. return base_info_;
  1037. }
  1038. inline void Pickup_command_request_msg::set_allocated_base_info(::message::Base_info* base_info) {
  1039. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1040. if (message_arena == NULL) {
  1041. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  1042. }
  1043. if (base_info) {
  1044. ::google::protobuf::Arena* submessage_arena = NULL;
  1045. if (message_arena != submessage_arena) {
  1046. base_info = ::google::protobuf::internal::GetOwnedMessage(
  1047. message_arena, base_info, submessage_arena);
  1048. }
  1049. set_has_base_info();
  1050. } else {
  1051. clear_has_base_info();
  1052. }
  1053. base_info_ = base_info;
  1054. // @@protoc_insertion_point(field_set_allocated:message.Pickup_command_request_msg.base_info)
  1055. }
  1056. // required .message.Id_struct id_struct = 2;
  1057. inline bool Pickup_command_request_msg::has_id_struct() const {
  1058. return (_has_bits_[0] & 0x00000002u) != 0;
  1059. }
  1060. inline void Pickup_command_request_msg::set_has_id_struct() {
  1061. _has_bits_[0] |= 0x00000002u;
  1062. }
  1063. inline void Pickup_command_request_msg::clear_has_id_struct() {
  1064. _has_bits_[0] &= ~0x00000002u;
  1065. }
  1066. inline const ::message::Id_struct& Pickup_command_request_msg::id_struct() const {
  1067. const ::message::Id_struct* p = id_struct_;
  1068. // @@protoc_insertion_point(field_get:message.Pickup_command_request_msg.id_struct)
  1069. return p != NULL ? *p : *reinterpret_cast<const ::message::Id_struct*>(
  1070. &::message::_Id_struct_default_instance_);
  1071. }
  1072. inline ::message::Id_struct* Pickup_command_request_msg::release_id_struct() {
  1073. // @@protoc_insertion_point(field_release:message.Pickup_command_request_msg.id_struct)
  1074. clear_has_id_struct();
  1075. ::message::Id_struct* temp = id_struct_;
  1076. id_struct_ = NULL;
  1077. return temp;
  1078. }
  1079. inline ::message::Id_struct* Pickup_command_request_msg::mutable_id_struct() {
  1080. set_has_id_struct();
  1081. if (id_struct_ == NULL) {
  1082. id_struct_ = new ::message::Id_struct;
  1083. }
  1084. // @@protoc_insertion_point(field_mutable:message.Pickup_command_request_msg.id_struct)
  1085. return id_struct_;
  1086. }
  1087. inline void Pickup_command_request_msg::set_allocated_id_struct(::message::Id_struct* id_struct) {
  1088. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1089. if (message_arena == NULL) {
  1090. delete reinterpret_cast< ::google::protobuf::MessageLite*>(id_struct_);
  1091. }
  1092. if (id_struct) {
  1093. ::google::protobuf::Arena* submessage_arena = NULL;
  1094. if (message_arena != submessage_arena) {
  1095. id_struct = ::google::protobuf::internal::GetOwnedMessage(
  1096. message_arena, id_struct, submessage_arena);
  1097. }
  1098. set_has_id_struct();
  1099. } else {
  1100. clear_has_id_struct();
  1101. }
  1102. id_struct_ = id_struct;
  1103. // @@protoc_insertion_point(field_set_allocated:message.Pickup_command_request_msg.id_struct)
  1104. }
  1105. // required .message.Car_info car_info = 4;
  1106. inline bool Pickup_command_request_msg::has_car_info() const {
  1107. return (_has_bits_[0] & 0x00000004u) != 0;
  1108. }
  1109. inline void Pickup_command_request_msg::set_has_car_info() {
  1110. _has_bits_[0] |= 0x00000004u;
  1111. }
  1112. inline void Pickup_command_request_msg::clear_has_car_info() {
  1113. _has_bits_[0] &= ~0x00000004u;
  1114. }
  1115. inline const ::message::Car_info& Pickup_command_request_msg::car_info() const {
  1116. const ::message::Car_info* p = car_info_;
  1117. // @@protoc_insertion_point(field_get:message.Pickup_command_request_msg.car_info)
  1118. return p != NULL ? *p : *reinterpret_cast<const ::message::Car_info*>(
  1119. &::message::_Car_info_default_instance_);
  1120. }
  1121. inline ::message::Car_info* Pickup_command_request_msg::release_car_info() {
  1122. // @@protoc_insertion_point(field_release:message.Pickup_command_request_msg.car_info)
  1123. clear_has_car_info();
  1124. ::message::Car_info* temp = car_info_;
  1125. car_info_ = NULL;
  1126. return temp;
  1127. }
  1128. inline ::message::Car_info* Pickup_command_request_msg::mutable_car_info() {
  1129. set_has_car_info();
  1130. if (car_info_ == NULL) {
  1131. car_info_ = new ::message::Car_info;
  1132. }
  1133. // @@protoc_insertion_point(field_mutable:message.Pickup_command_request_msg.car_info)
  1134. return car_info_;
  1135. }
  1136. inline void Pickup_command_request_msg::set_allocated_car_info(::message::Car_info* car_info) {
  1137. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1138. if (message_arena == NULL) {
  1139. delete reinterpret_cast< ::google::protobuf::MessageLite*>(car_info_);
  1140. }
  1141. if (car_info) {
  1142. ::google::protobuf::Arena* submessage_arena = NULL;
  1143. if (message_arena != submessage_arena) {
  1144. car_info = ::google::protobuf::internal::GetOwnedMessage(
  1145. message_arena, car_info, submessage_arena);
  1146. }
  1147. set_has_car_info();
  1148. } else {
  1149. clear_has_car_info();
  1150. }
  1151. car_info_ = car_info;
  1152. // @@protoc_insertion_point(field_set_allocated:message.Pickup_command_request_msg.car_info)
  1153. }
  1154. // -------------------------------------------------------------------
  1155. // Pickup_command_response_msg
  1156. // required .message.Base_info base_info = 1;
  1157. inline bool Pickup_command_response_msg::has_base_info() const {
  1158. return (_has_bits_[0] & 0x00000002u) != 0;
  1159. }
  1160. inline void Pickup_command_response_msg::set_has_base_info() {
  1161. _has_bits_[0] |= 0x00000002u;
  1162. }
  1163. inline void Pickup_command_response_msg::clear_has_base_info() {
  1164. _has_bits_[0] &= ~0x00000002u;
  1165. }
  1166. inline const ::message::Base_info& Pickup_command_response_msg::base_info() const {
  1167. const ::message::Base_info* p = base_info_;
  1168. // @@protoc_insertion_point(field_get:message.Pickup_command_response_msg.base_info)
  1169. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  1170. &::message::_Base_info_default_instance_);
  1171. }
  1172. inline ::message::Base_info* Pickup_command_response_msg::release_base_info() {
  1173. // @@protoc_insertion_point(field_release:message.Pickup_command_response_msg.base_info)
  1174. clear_has_base_info();
  1175. ::message::Base_info* temp = base_info_;
  1176. base_info_ = NULL;
  1177. return temp;
  1178. }
  1179. inline ::message::Base_info* Pickup_command_response_msg::mutable_base_info() {
  1180. set_has_base_info();
  1181. if (base_info_ == NULL) {
  1182. base_info_ = new ::message::Base_info;
  1183. }
  1184. // @@protoc_insertion_point(field_mutable:message.Pickup_command_response_msg.base_info)
  1185. return base_info_;
  1186. }
  1187. inline void Pickup_command_response_msg::set_allocated_base_info(::message::Base_info* base_info) {
  1188. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1189. if (message_arena == NULL) {
  1190. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  1191. }
  1192. if (base_info) {
  1193. ::google::protobuf::Arena* submessage_arena = NULL;
  1194. if (message_arena != submessage_arena) {
  1195. base_info = ::google::protobuf::internal::GetOwnedMessage(
  1196. message_arena, base_info, submessage_arena);
  1197. }
  1198. set_has_base_info();
  1199. } else {
  1200. clear_has_base_info();
  1201. }
  1202. base_info_ = base_info;
  1203. // @@protoc_insertion_point(field_set_allocated:message.Pickup_command_response_msg.base_info)
  1204. }
  1205. // required .message.Id_struct id_struct = 2;
  1206. inline bool Pickup_command_response_msg::has_id_struct() const {
  1207. return (_has_bits_[0] & 0x00000004u) != 0;
  1208. }
  1209. inline void Pickup_command_response_msg::set_has_id_struct() {
  1210. _has_bits_[0] |= 0x00000004u;
  1211. }
  1212. inline void Pickup_command_response_msg::clear_has_id_struct() {
  1213. _has_bits_[0] &= ~0x00000004u;
  1214. }
  1215. inline const ::message::Id_struct& Pickup_command_response_msg::id_struct() const {
  1216. const ::message::Id_struct* p = id_struct_;
  1217. // @@protoc_insertion_point(field_get:message.Pickup_command_response_msg.id_struct)
  1218. return p != NULL ? *p : *reinterpret_cast<const ::message::Id_struct*>(
  1219. &::message::_Id_struct_default_instance_);
  1220. }
  1221. inline ::message::Id_struct* Pickup_command_response_msg::release_id_struct() {
  1222. // @@protoc_insertion_point(field_release:message.Pickup_command_response_msg.id_struct)
  1223. clear_has_id_struct();
  1224. ::message::Id_struct* temp = id_struct_;
  1225. id_struct_ = NULL;
  1226. return temp;
  1227. }
  1228. inline ::message::Id_struct* Pickup_command_response_msg::mutable_id_struct() {
  1229. set_has_id_struct();
  1230. if (id_struct_ == NULL) {
  1231. id_struct_ = new ::message::Id_struct;
  1232. }
  1233. // @@protoc_insertion_point(field_mutable:message.Pickup_command_response_msg.id_struct)
  1234. return id_struct_;
  1235. }
  1236. inline void Pickup_command_response_msg::set_allocated_id_struct(::message::Id_struct* id_struct) {
  1237. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1238. if (message_arena == NULL) {
  1239. delete reinterpret_cast< ::google::protobuf::MessageLite*>(id_struct_);
  1240. }
  1241. if (id_struct) {
  1242. ::google::protobuf::Arena* submessage_arena = NULL;
  1243. if (message_arena != submessage_arena) {
  1244. id_struct = ::google::protobuf::internal::GetOwnedMessage(
  1245. message_arena, id_struct, submessage_arena);
  1246. }
  1247. set_has_id_struct();
  1248. } else {
  1249. clear_has_id_struct();
  1250. }
  1251. id_struct_ = id_struct;
  1252. // @@protoc_insertion_point(field_set_allocated:message.Pickup_command_response_msg.id_struct)
  1253. }
  1254. // required .message.Error_manager code = 3;
  1255. inline bool Pickup_command_response_msg::has_code() const {
  1256. return (_has_bits_[0] & 0x00000008u) != 0;
  1257. }
  1258. inline void Pickup_command_response_msg::set_has_code() {
  1259. _has_bits_[0] |= 0x00000008u;
  1260. }
  1261. inline void Pickup_command_response_msg::clear_has_code() {
  1262. _has_bits_[0] &= ~0x00000008u;
  1263. }
  1264. inline const ::message::Error_manager& Pickup_command_response_msg::code() const {
  1265. const ::message::Error_manager* p = code_;
  1266. // @@protoc_insertion_point(field_get:message.Pickup_command_response_msg.code)
  1267. return p != NULL ? *p : *reinterpret_cast<const ::message::Error_manager*>(
  1268. &::message::_Error_manager_default_instance_);
  1269. }
  1270. inline ::message::Error_manager* Pickup_command_response_msg::release_code() {
  1271. // @@protoc_insertion_point(field_release:message.Pickup_command_response_msg.code)
  1272. clear_has_code();
  1273. ::message::Error_manager* temp = code_;
  1274. code_ = NULL;
  1275. return temp;
  1276. }
  1277. inline ::message::Error_manager* Pickup_command_response_msg::mutable_code() {
  1278. set_has_code();
  1279. if (code_ == NULL) {
  1280. code_ = new ::message::Error_manager;
  1281. }
  1282. // @@protoc_insertion_point(field_mutable:message.Pickup_command_response_msg.code)
  1283. return code_;
  1284. }
  1285. inline void Pickup_command_response_msg::set_allocated_code(::message::Error_manager* code) {
  1286. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1287. if (message_arena == NULL) {
  1288. delete reinterpret_cast< ::google::protobuf::MessageLite*>(code_);
  1289. }
  1290. if (code) {
  1291. ::google::protobuf::Arena* submessage_arena = NULL;
  1292. if (message_arena != submessage_arena) {
  1293. code = ::google::protobuf::internal::GetOwnedMessage(
  1294. message_arena, code, submessage_arena);
  1295. }
  1296. set_has_code();
  1297. } else {
  1298. clear_has_code();
  1299. }
  1300. code_ = code;
  1301. // @@protoc_insertion_point(field_set_allocated:message.Pickup_command_response_msg.code)
  1302. }
  1303. // optional string license = 4;
  1304. inline bool Pickup_command_response_msg::has_license() const {
  1305. return (_has_bits_[0] & 0x00000001u) != 0;
  1306. }
  1307. inline void Pickup_command_response_msg::set_has_license() {
  1308. _has_bits_[0] |= 0x00000001u;
  1309. }
  1310. inline void Pickup_command_response_msg::clear_has_license() {
  1311. _has_bits_[0] &= ~0x00000001u;
  1312. }
  1313. inline void Pickup_command_response_msg::clear_license() {
  1314. license_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1315. clear_has_license();
  1316. }
  1317. inline const ::std::string& Pickup_command_response_msg::license() const {
  1318. // @@protoc_insertion_point(field_get:message.Pickup_command_response_msg.license)
  1319. return license_.GetNoArena();
  1320. }
  1321. inline void Pickup_command_response_msg::set_license(const ::std::string& value) {
  1322. set_has_license();
  1323. license_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1324. // @@protoc_insertion_point(field_set:message.Pickup_command_response_msg.license)
  1325. }
  1326. #if LANG_CXX11
  1327. inline void Pickup_command_response_msg::set_license(::std::string&& value) {
  1328. set_has_license();
  1329. license_.SetNoArena(
  1330. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1331. // @@protoc_insertion_point(field_set_rvalue:message.Pickup_command_response_msg.license)
  1332. }
  1333. #endif
  1334. inline void Pickup_command_response_msg::set_license(const char* value) {
  1335. GOOGLE_DCHECK(value != NULL);
  1336. set_has_license();
  1337. license_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1338. // @@protoc_insertion_point(field_set_char:message.Pickup_command_response_msg.license)
  1339. }
  1340. inline void Pickup_command_response_msg::set_license(const char* value, size_t size) {
  1341. set_has_license();
  1342. license_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1343. ::std::string(reinterpret_cast<const char*>(value), size));
  1344. // @@protoc_insertion_point(field_set_pointer:message.Pickup_command_response_msg.license)
  1345. }
  1346. inline ::std::string* Pickup_command_response_msg::mutable_license() {
  1347. set_has_license();
  1348. // @@protoc_insertion_point(field_mutable:message.Pickup_command_response_msg.license)
  1349. return license_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1350. }
  1351. inline ::std::string* Pickup_command_response_msg::release_license() {
  1352. // @@protoc_insertion_point(field_release:message.Pickup_command_response_msg.license)
  1353. clear_has_license();
  1354. return license_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1355. }
  1356. inline void Pickup_command_response_msg::set_allocated_license(::std::string* license) {
  1357. if (license != NULL) {
  1358. set_has_license();
  1359. } else {
  1360. clear_has_license();
  1361. }
  1362. license_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), license);
  1363. // @@protoc_insertion_point(field_set_allocated:message.Pickup_command_response_msg.license)
  1364. }
  1365. #ifdef __GNUC__
  1366. #pragma GCC diagnostic pop
  1367. #endif // __GNUC__
  1368. // -------------------------------------------------------------------
  1369. // -------------------------------------------------------------------
  1370. // -------------------------------------------------------------------
  1371. // @@protoc_insertion_point(namespace_scope)
  1372. } // namespace message
  1373. // @@protoc_insertion_point(global_scope)
  1374. #endif // PROTOBUF_terminal_5fmessage_2eproto__INCLUDED