terminal_message.pb.h 61 KB

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