parkspace_allocation_message.pb.h 88 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: parkspace_allocation_message.proto
  3. #ifndef PROTOBUF_parkspace_5fallocation_5fmessage_2eproto__INCLUDED
  4. #define PROTOBUF_parkspace_5fallocation_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_parkspace_5fallocation_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[7];
  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 InitDefaultsParkspace_allocation_request_msgImpl();
  41. void InitDefaultsParkspace_allocation_request_msg();
  42. void InitDefaultsParkspace_allocation_response_msgImpl();
  43. void InitDefaultsParkspace_allocation_response_msg();
  44. void InitDefaultsParkspace_search_request_msgImpl();
  45. void InitDefaultsParkspace_search_request_msg();
  46. void InitDefaultsParkspace_search_response_msgImpl();
  47. void InitDefaultsParkspace_search_response_msg();
  48. void InitDefaultsParkspace_release_request_msgImpl();
  49. void InitDefaultsParkspace_release_request_msg();
  50. void InitDefaultsParkspace_release_response_msgImpl();
  51. void InitDefaultsParkspace_release_response_msg();
  52. void InitDefaultsParkspace_allocation_status_msgImpl();
  53. void InitDefaultsParkspace_allocation_status_msg();
  54. inline void InitDefaults() {
  55. InitDefaultsParkspace_allocation_request_msg();
  56. InitDefaultsParkspace_allocation_response_msg();
  57. InitDefaultsParkspace_search_request_msg();
  58. InitDefaultsParkspace_search_response_msg();
  59. InitDefaultsParkspace_release_request_msg();
  60. InitDefaultsParkspace_release_response_msg();
  61. InitDefaultsParkspace_allocation_status_msg();
  62. }
  63. } // namespace protobuf_parkspace_5fallocation_5fmessage_2eproto
  64. namespace message {
  65. class Parkspace_allocation_request_msg;
  66. class Parkspace_allocation_request_msgDefaultTypeInternal;
  67. extern Parkspace_allocation_request_msgDefaultTypeInternal _Parkspace_allocation_request_msg_default_instance_;
  68. class Parkspace_allocation_response_msg;
  69. class Parkspace_allocation_response_msgDefaultTypeInternal;
  70. extern Parkspace_allocation_response_msgDefaultTypeInternal _Parkspace_allocation_response_msg_default_instance_;
  71. class Parkspace_allocation_status_msg;
  72. class Parkspace_allocation_status_msgDefaultTypeInternal;
  73. extern Parkspace_allocation_status_msgDefaultTypeInternal _Parkspace_allocation_status_msg_default_instance_;
  74. class Parkspace_release_request_msg;
  75. class Parkspace_release_request_msgDefaultTypeInternal;
  76. extern Parkspace_release_request_msgDefaultTypeInternal _Parkspace_release_request_msg_default_instance_;
  77. class Parkspace_release_response_msg;
  78. class Parkspace_release_response_msgDefaultTypeInternal;
  79. extern Parkspace_release_response_msgDefaultTypeInternal _Parkspace_release_response_msg_default_instance_;
  80. class Parkspace_search_request_msg;
  81. class Parkspace_search_request_msgDefaultTypeInternal;
  82. extern Parkspace_search_request_msgDefaultTypeInternal _Parkspace_search_request_msg_default_instance_;
  83. class Parkspace_search_response_msg;
  84. class Parkspace_search_response_msgDefaultTypeInternal;
  85. extern Parkspace_search_response_msgDefaultTypeInternal _Parkspace_search_response_msg_default_instance_;
  86. } // namespace message
  87. namespace message {
  88. // ===================================================================
  89. class Parkspace_allocation_request_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Parkspace_allocation_request_msg) */ {
  90. public:
  91. Parkspace_allocation_request_msg();
  92. virtual ~Parkspace_allocation_request_msg();
  93. Parkspace_allocation_request_msg(const Parkspace_allocation_request_msg& from);
  94. inline Parkspace_allocation_request_msg& operator=(const Parkspace_allocation_request_msg& from) {
  95. CopyFrom(from);
  96. return *this;
  97. }
  98. #if LANG_CXX11
  99. Parkspace_allocation_request_msg(Parkspace_allocation_request_msg&& from) noexcept
  100. : Parkspace_allocation_request_msg() {
  101. *this = ::std::move(from);
  102. }
  103. inline Parkspace_allocation_request_msg& operator=(Parkspace_allocation_request_msg&& from) noexcept {
  104. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  105. if (this != &from) InternalSwap(&from);
  106. } else {
  107. CopyFrom(from);
  108. }
  109. return *this;
  110. }
  111. #endif
  112. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  113. return _internal_metadata_.unknown_fields();
  114. }
  115. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  116. return _internal_metadata_.mutable_unknown_fields();
  117. }
  118. static const ::google::protobuf::Descriptor* descriptor();
  119. static const Parkspace_allocation_request_msg& default_instance();
  120. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  121. static inline const Parkspace_allocation_request_msg* internal_default_instance() {
  122. return reinterpret_cast<const Parkspace_allocation_request_msg*>(
  123. &_Parkspace_allocation_request_msg_default_instance_);
  124. }
  125. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  126. 0;
  127. void Swap(Parkspace_allocation_request_msg* other);
  128. friend void swap(Parkspace_allocation_request_msg& a, Parkspace_allocation_request_msg& b) {
  129. a.Swap(&b);
  130. }
  131. // implements Message ----------------------------------------------
  132. inline Parkspace_allocation_request_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  133. Parkspace_allocation_request_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  134. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  135. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  136. void CopyFrom(const Parkspace_allocation_request_msg& from);
  137. void MergeFrom(const Parkspace_allocation_request_msg& from);
  138. void Clear() PROTOBUF_FINAL;
  139. bool IsInitialized() const PROTOBUF_FINAL;
  140. size_t ByteSizeLong() const PROTOBUF_FINAL;
  141. bool MergePartialFromCodedStream(
  142. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  143. void SerializeWithCachedSizes(
  144. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  145. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  146. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  147. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  148. private:
  149. void SharedCtor();
  150. void SharedDtor();
  151. void SetCachedSize(int size) const PROTOBUF_FINAL;
  152. void InternalSwap(Parkspace_allocation_request_msg* other);
  153. private:
  154. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  155. return NULL;
  156. }
  157. inline void* MaybeArenaPtr() const {
  158. return NULL;
  159. }
  160. public:
  161. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  162. // nested types ----------------------------------------------------
  163. // accessors -------------------------------------------------------
  164. // required .message.Base_info base_info = 1;
  165. bool has_base_info() const;
  166. void clear_base_info();
  167. static const int kBaseInfoFieldNumber = 1;
  168. const ::message::Base_info& base_info() const;
  169. ::message::Base_info* release_base_info();
  170. ::message::Base_info* mutable_base_info();
  171. void set_allocated_base_info(::message::Base_info* base_info);
  172. // required .message.Car_info car_info = 3;
  173. bool has_car_info() const;
  174. void clear_car_info();
  175. static const int kCarInfoFieldNumber = 3;
  176. const ::message::Car_info& car_info() const;
  177. ::message::Car_info* release_car_info();
  178. ::message::Car_info* mutable_car_info();
  179. void set_allocated_car_info(::message::Car_info* car_info);
  180. // required int32 command_id = 2;
  181. bool has_command_id() const;
  182. void clear_command_id();
  183. static const int kCommandIdFieldNumber = 2;
  184. ::google::protobuf::int32 command_id() const;
  185. void set_command_id(::google::protobuf::int32 value);
  186. // required int32 terminal_id = 4;
  187. bool has_terminal_id() const;
  188. void clear_terminal_id();
  189. static const int kTerminalIdFieldNumber = 4;
  190. ::google::protobuf::int32 terminal_id() const;
  191. void set_terminal_id(::google::protobuf::int32 value);
  192. // @@protoc_insertion_point(class_scope:message.Parkspace_allocation_request_msg)
  193. private:
  194. void set_has_base_info();
  195. void clear_has_base_info();
  196. void set_has_command_id();
  197. void clear_has_command_id();
  198. void set_has_car_info();
  199. void clear_has_car_info();
  200. void set_has_terminal_id();
  201. void clear_has_terminal_id();
  202. // helper for ByteSizeLong()
  203. size_t RequiredFieldsByteSizeFallback() const;
  204. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  205. ::google::protobuf::internal::HasBits<1> _has_bits_;
  206. mutable int _cached_size_;
  207. ::message::Base_info* base_info_;
  208. ::message::Car_info* car_info_;
  209. ::google::protobuf::int32 command_id_;
  210. ::google::protobuf::int32 terminal_id_;
  211. friend struct ::protobuf_parkspace_5fallocation_5fmessage_2eproto::TableStruct;
  212. friend void ::protobuf_parkspace_5fallocation_5fmessage_2eproto::InitDefaultsParkspace_allocation_request_msgImpl();
  213. };
  214. // -------------------------------------------------------------------
  215. class Parkspace_allocation_response_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Parkspace_allocation_response_msg) */ {
  216. public:
  217. Parkspace_allocation_response_msg();
  218. virtual ~Parkspace_allocation_response_msg();
  219. Parkspace_allocation_response_msg(const Parkspace_allocation_response_msg& from);
  220. inline Parkspace_allocation_response_msg& operator=(const Parkspace_allocation_response_msg& from) {
  221. CopyFrom(from);
  222. return *this;
  223. }
  224. #if LANG_CXX11
  225. Parkspace_allocation_response_msg(Parkspace_allocation_response_msg&& from) noexcept
  226. : Parkspace_allocation_response_msg() {
  227. *this = ::std::move(from);
  228. }
  229. inline Parkspace_allocation_response_msg& operator=(Parkspace_allocation_response_msg&& from) noexcept {
  230. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  231. if (this != &from) InternalSwap(&from);
  232. } else {
  233. CopyFrom(from);
  234. }
  235. return *this;
  236. }
  237. #endif
  238. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  239. return _internal_metadata_.unknown_fields();
  240. }
  241. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  242. return _internal_metadata_.mutable_unknown_fields();
  243. }
  244. static const ::google::protobuf::Descriptor* descriptor();
  245. static const Parkspace_allocation_response_msg& default_instance();
  246. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  247. static inline const Parkspace_allocation_response_msg* internal_default_instance() {
  248. return reinterpret_cast<const Parkspace_allocation_response_msg*>(
  249. &_Parkspace_allocation_response_msg_default_instance_);
  250. }
  251. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  252. 1;
  253. void Swap(Parkspace_allocation_response_msg* other);
  254. friend void swap(Parkspace_allocation_response_msg& a, Parkspace_allocation_response_msg& b) {
  255. a.Swap(&b);
  256. }
  257. // implements Message ----------------------------------------------
  258. inline Parkspace_allocation_response_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  259. Parkspace_allocation_response_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  260. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  261. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  262. void CopyFrom(const Parkspace_allocation_response_msg& from);
  263. void MergeFrom(const Parkspace_allocation_response_msg& from);
  264. void Clear() PROTOBUF_FINAL;
  265. bool IsInitialized() const PROTOBUF_FINAL;
  266. size_t ByteSizeLong() const PROTOBUF_FINAL;
  267. bool MergePartialFromCodedStream(
  268. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  269. void SerializeWithCachedSizes(
  270. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  271. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  272. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  273. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  274. private:
  275. void SharedCtor();
  276. void SharedDtor();
  277. void SetCachedSize(int size) const PROTOBUF_FINAL;
  278. void InternalSwap(Parkspace_allocation_response_msg* other);
  279. private:
  280. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  281. return NULL;
  282. }
  283. inline void* MaybeArenaPtr() const {
  284. return NULL;
  285. }
  286. public:
  287. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  288. // nested types ----------------------------------------------------
  289. // accessors -------------------------------------------------------
  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.Error_manager error_manager = 3;
  299. bool has_error_manager() const;
  300. void clear_error_manager();
  301. static const int kErrorManagerFieldNumber = 3;
  302. const ::message::Error_manager& error_manager() const;
  303. ::message::Error_manager* release_error_manager();
  304. ::message::Error_manager* mutable_error_manager();
  305. void set_allocated_error_manager(::message::Error_manager* error_manager);
  306. // required .message.Parkspace_info allocated_space_info = 4;
  307. bool has_allocated_space_info() const;
  308. void clear_allocated_space_info();
  309. static const int kAllocatedSpaceInfoFieldNumber = 4;
  310. const ::message::Parkspace_info& allocated_space_info() const;
  311. ::message::Parkspace_info* release_allocated_space_info();
  312. ::message::Parkspace_info* mutable_allocated_space_info();
  313. void set_allocated_allocated_space_info(::message::Parkspace_info* allocated_space_info);
  314. // required int32 command_id = 2;
  315. bool has_command_id() const;
  316. void clear_command_id();
  317. static const int kCommandIdFieldNumber = 2;
  318. ::google::protobuf::int32 command_id() const;
  319. void set_command_id(::google::protobuf::int32 value);
  320. // @@protoc_insertion_point(class_scope:message.Parkspace_allocation_response_msg)
  321. private:
  322. void set_has_base_info();
  323. void clear_has_base_info();
  324. void set_has_command_id();
  325. void clear_has_command_id();
  326. void set_has_error_manager();
  327. void clear_has_error_manager();
  328. void set_has_allocated_space_info();
  329. void clear_has_allocated_space_info();
  330. // helper for ByteSizeLong()
  331. size_t RequiredFieldsByteSizeFallback() const;
  332. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  333. ::google::protobuf::internal::HasBits<1> _has_bits_;
  334. mutable int _cached_size_;
  335. ::message::Base_info* base_info_;
  336. ::message::Error_manager* error_manager_;
  337. ::message::Parkspace_info* allocated_space_info_;
  338. ::google::protobuf::int32 command_id_;
  339. friend struct ::protobuf_parkspace_5fallocation_5fmessage_2eproto::TableStruct;
  340. friend void ::protobuf_parkspace_5fallocation_5fmessage_2eproto::InitDefaultsParkspace_allocation_response_msgImpl();
  341. };
  342. // -------------------------------------------------------------------
  343. class Parkspace_search_request_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Parkspace_search_request_msg) */ {
  344. public:
  345. Parkspace_search_request_msg();
  346. virtual ~Parkspace_search_request_msg();
  347. Parkspace_search_request_msg(const Parkspace_search_request_msg& from);
  348. inline Parkspace_search_request_msg& operator=(const Parkspace_search_request_msg& from) {
  349. CopyFrom(from);
  350. return *this;
  351. }
  352. #if LANG_CXX11
  353. Parkspace_search_request_msg(Parkspace_search_request_msg&& from) noexcept
  354. : Parkspace_search_request_msg() {
  355. *this = ::std::move(from);
  356. }
  357. inline Parkspace_search_request_msg& operator=(Parkspace_search_request_msg&& from) noexcept {
  358. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  359. if (this != &from) InternalSwap(&from);
  360. } else {
  361. CopyFrom(from);
  362. }
  363. return *this;
  364. }
  365. #endif
  366. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  367. return _internal_metadata_.unknown_fields();
  368. }
  369. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  370. return _internal_metadata_.mutable_unknown_fields();
  371. }
  372. static const ::google::protobuf::Descriptor* descriptor();
  373. static const Parkspace_search_request_msg& default_instance();
  374. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  375. static inline const Parkspace_search_request_msg* internal_default_instance() {
  376. return reinterpret_cast<const Parkspace_search_request_msg*>(
  377. &_Parkspace_search_request_msg_default_instance_);
  378. }
  379. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  380. 2;
  381. void Swap(Parkspace_search_request_msg* other);
  382. friend void swap(Parkspace_search_request_msg& a, Parkspace_search_request_msg& b) {
  383. a.Swap(&b);
  384. }
  385. // implements Message ----------------------------------------------
  386. inline Parkspace_search_request_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  387. Parkspace_search_request_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  388. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  389. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  390. void CopyFrom(const Parkspace_search_request_msg& from);
  391. void MergeFrom(const Parkspace_search_request_msg& from);
  392. void Clear() PROTOBUF_FINAL;
  393. bool IsInitialized() const PROTOBUF_FINAL;
  394. size_t ByteSizeLong() const PROTOBUF_FINAL;
  395. bool MergePartialFromCodedStream(
  396. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  397. void SerializeWithCachedSizes(
  398. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  399. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  400. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  401. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  402. private:
  403. void SharedCtor();
  404. void SharedDtor();
  405. void SetCachedSize(int size) const PROTOBUF_FINAL;
  406. void InternalSwap(Parkspace_search_request_msg* other);
  407. private:
  408. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  409. return NULL;
  410. }
  411. inline void* MaybeArenaPtr() const {
  412. return NULL;
  413. }
  414. public:
  415. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  416. // nested types ----------------------------------------------------
  417. // accessors -------------------------------------------------------
  418. // required .message.Base_info base_info = 1;
  419. bool has_base_info() const;
  420. void clear_base_info();
  421. static const int kBaseInfoFieldNumber = 1;
  422. const ::message::Base_info& base_info() const;
  423. ::message::Base_info* release_base_info();
  424. ::message::Base_info* mutable_base_info();
  425. void set_allocated_base_info(::message::Base_info* base_info);
  426. // required .message.Car_info car_info = 3;
  427. bool has_car_info() const;
  428. void clear_car_info();
  429. static const int kCarInfoFieldNumber = 3;
  430. const ::message::Car_info& car_info() const;
  431. ::message::Car_info* release_car_info();
  432. ::message::Car_info* mutable_car_info();
  433. void set_allocated_car_info(::message::Car_info* car_info);
  434. // required int32 command_id = 2;
  435. bool has_command_id() const;
  436. void clear_command_id();
  437. static const int kCommandIdFieldNumber = 2;
  438. ::google::protobuf::int32 command_id() const;
  439. void set_command_id(::google::protobuf::int32 value);
  440. // @@protoc_insertion_point(class_scope:message.Parkspace_search_request_msg)
  441. private:
  442. void set_has_base_info();
  443. void clear_has_base_info();
  444. void set_has_command_id();
  445. void clear_has_command_id();
  446. void set_has_car_info();
  447. void clear_has_car_info();
  448. // helper for ByteSizeLong()
  449. size_t RequiredFieldsByteSizeFallback() const;
  450. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  451. ::google::protobuf::internal::HasBits<1> _has_bits_;
  452. mutable int _cached_size_;
  453. ::message::Base_info* base_info_;
  454. ::message::Car_info* car_info_;
  455. ::google::protobuf::int32 command_id_;
  456. friend struct ::protobuf_parkspace_5fallocation_5fmessage_2eproto::TableStruct;
  457. friend void ::protobuf_parkspace_5fallocation_5fmessage_2eproto::InitDefaultsParkspace_search_request_msgImpl();
  458. };
  459. // -------------------------------------------------------------------
  460. class Parkspace_search_response_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Parkspace_search_response_msg) */ {
  461. public:
  462. Parkspace_search_response_msg();
  463. virtual ~Parkspace_search_response_msg();
  464. Parkspace_search_response_msg(const Parkspace_search_response_msg& from);
  465. inline Parkspace_search_response_msg& operator=(const Parkspace_search_response_msg& from) {
  466. CopyFrom(from);
  467. return *this;
  468. }
  469. #if LANG_CXX11
  470. Parkspace_search_response_msg(Parkspace_search_response_msg&& from) noexcept
  471. : Parkspace_search_response_msg() {
  472. *this = ::std::move(from);
  473. }
  474. inline Parkspace_search_response_msg& operator=(Parkspace_search_response_msg&& from) noexcept {
  475. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  476. if (this != &from) InternalSwap(&from);
  477. } else {
  478. CopyFrom(from);
  479. }
  480. return *this;
  481. }
  482. #endif
  483. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  484. return _internal_metadata_.unknown_fields();
  485. }
  486. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  487. return _internal_metadata_.mutable_unknown_fields();
  488. }
  489. static const ::google::protobuf::Descriptor* descriptor();
  490. static const Parkspace_search_response_msg& default_instance();
  491. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  492. static inline const Parkspace_search_response_msg* internal_default_instance() {
  493. return reinterpret_cast<const Parkspace_search_response_msg*>(
  494. &_Parkspace_search_response_msg_default_instance_);
  495. }
  496. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  497. 3;
  498. void Swap(Parkspace_search_response_msg* other);
  499. friend void swap(Parkspace_search_response_msg& a, Parkspace_search_response_msg& b) {
  500. a.Swap(&b);
  501. }
  502. // implements Message ----------------------------------------------
  503. inline Parkspace_search_response_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  504. Parkspace_search_response_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  505. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  506. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  507. void CopyFrom(const Parkspace_search_response_msg& from);
  508. void MergeFrom(const Parkspace_search_response_msg& from);
  509. void Clear() PROTOBUF_FINAL;
  510. bool IsInitialized() const PROTOBUF_FINAL;
  511. size_t ByteSizeLong() const PROTOBUF_FINAL;
  512. bool MergePartialFromCodedStream(
  513. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  514. void SerializeWithCachedSizes(
  515. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  516. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  517. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  518. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  519. private:
  520. void SharedCtor();
  521. void SharedDtor();
  522. void SetCachedSize(int size) const PROTOBUF_FINAL;
  523. void InternalSwap(Parkspace_search_response_msg* other);
  524. private:
  525. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  526. return NULL;
  527. }
  528. inline void* MaybeArenaPtr() const {
  529. return NULL;
  530. }
  531. public:
  532. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  533. // nested types ----------------------------------------------------
  534. // accessors -------------------------------------------------------
  535. // required .message.Base_info base_info = 1;
  536. bool has_base_info() const;
  537. void clear_base_info();
  538. static const int kBaseInfoFieldNumber = 1;
  539. const ::message::Base_info& base_info() const;
  540. ::message::Base_info* release_base_info();
  541. ::message::Base_info* mutable_base_info();
  542. void set_allocated_base_info(::message::Base_info* base_info);
  543. // required .message.Error_manager error_manager = 3;
  544. bool has_error_manager() const;
  545. void clear_error_manager();
  546. static const int kErrorManagerFieldNumber = 3;
  547. const ::message::Error_manager& error_manager() const;
  548. ::message::Error_manager* release_error_manager();
  549. ::message::Error_manager* mutable_error_manager();
  550. void set_allocated_error_manager(::message::Error_manager* error_manager);
  551. // optional .message.Parkspace_info car_position = 4;
  552. bool has_car_position() const;
  553. void clear_car_position();
  554. static const int kCarPositionFieldNumber = 4;
  555. const ::message::Parkspace_info& car_position() const;
  556. ::message::Parkspace_info* release_car_position();
  557. ::message::Parkspace_info* mutable_car_position();
  558. void set_allocated_car_position(::message::Parkspace_info* car_position);
  559. // required int32 command_id = 2;
  560. bool has_command_id() const;
  561. void clear_command_id();
  562. static const int kCommandIdFieldNumber = 2;
  563. ::google::protobuf::int32 command_id() const;
  564. void set_command_id(::google::protobuf::int32 value);
  565. // @@protoc_insertion_point(class_scope:message.Parkspace_search_response_msg)
  566. private:
  567. void set_has_base_info();
  568. void clear_has_base_info();
  569. void set_has_command_id();
  570. void clear_has_command_id();
  571. void set_has_error_manager();
  572. void clear_has_error_manager();
  573. void set_has_car_position();
  574. void clear_has_car_position();
  575. // helper for ByteSizeLong()
  576. size_t RequiredFieldsByteSizeFallback() const;
  577. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  578. ::google::protobuf::internal::HasBits<1> _has_bits_;
  579. mutable int _cached_size_;
  580. ::message::Base_info* base_info_;
  581. ::message::Error_manager* error_manager_;
  582. ::message::Parkspace_info* car_position_;
  583. ::google::protobuf::int32 command_id_;
  584. friend struct ::protobuf_parkspace_5fallocation_5fmessage_2eproto::TableStruct;
  585. friend void ::protobuf_parkspace_5fallocation_5fmessage_2eproto::InitDefaultsParkspace_search_response_msgImpl();
  586. };
  587. // -------------------------------------------------------------------
  588. class Parkspace_release_request_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Parkspace_release_request_msg) */ {
  589. public:
  590. Parkspace_release_request_msg();
  591. virtual ~Parkspace_release_request_msg();
  592. Parkspace_release_request_msg(const Parkspace_release_request_msg& from);
  593. inline Parkspace_release_request_msg& operator=(const Parkspace_release_request_msg& from) {
  594. CopyFrom(from);
  595. return *this;
  596. }
  597. #if LANG_CXX11
  598. Parkspace_release_request_msg(Parkspace_release_request_msg&& from) noexcept
  599. : Parkspace_release_request_msg() {
  600. *this = ::std::move(from);
  601. }
  602. inline Parkspace_release_request_msg& operator=(Parkspace_release_request_msg&& from) noexcept {
  603. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  604. if (this != &from) InternalSwap(&from);
  605. } else {
  606. CopyFrom(from);
  607. }
  608. return *this;
  609. }
  610. #endif
  611. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  612. return _internal_metadata_.unknown_fields();
  613. }
  614. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  615. return _internal_metadata_.mutable_unknown_fields();
  616. }
  617. static const ::google::protobuf::Descriptor* descriptor();
  618. static const Parkspace_release_request_msg& default_instance();
  619. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  620. static inline const Parkspace_release_request_msg* internal_default_instance() {
  621. return reinterpret_cast<const Parkspace_release_request_msg*>(
  622. &_Parkspace_release_request_msg_default_instance_);
  623. }
  624. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  625. 4;
  626. void Swap(Parkspace_release_request_msg* other);
  627. friend void swap(Parkspace_release_request_msg& a, Parkspace_release_request_msg& b) {
  628. a.Swap(&b);
  629. }
  630. // implements Message ----------------------------------------------
  631. inline Parkspace_release_request_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  632. Parkspace_release_request_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  633. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  634. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  635. void CopyFrom(const Parkspace_release_request_msg& from);
  636. void MergeFrom(const Parkspace_release_request_msg& from);
  637. void Clear() PROTOBUF_FINAL;
  638. bool IsInitialized() const PROTOBUF_FINAL;
  639. size_t ByteSizeLong() const PROTOBUF_FINAL;
  640. bool MergePartialFromCodedStream(
  641. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  642. void SerializeWithCachedSizes(
  643. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  644. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  645. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  646. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  647. private:
  648. void SharedCtor();
  649. void SharedDtor();
  650. void SetCachedSize(int size) const PROTOBUF_FINAL;
  651. void InternalSwap(Parkspace_release_request_msg* other);
  652. private:
  653. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  654. return NULL;
  655. }
  656. inline void* MaybeArenaPtr() const {
  657. return NULL;
  658. }
  659. public:
  660. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  661. // nested types ----------------------------------------------------
  662. // accessors -------------------------------------------------------
  663. // required .message.Base_info base_info = 1;
  664. bool has_base_info() const;
  665. void clear_base_info();
  666. static const int kBaseInfoFieldNumber = 1;
  667. const ::message::Base_info& base_info() const;
  668. ::message::Base_info* release_base_info();
  669. ::message::Base_info* mutable_base_info();
  670. void set_allocated_base_info(::message::Base_info* base_info);
  671. // required .message.Parkspace_info release_space_info = 3;
  672. bool has_release_space_info() const;
  673. void clear_release_space_info();
  674. static const int kReleaseSpaceInfoFieldNumber = 3;
  675. const ::message::Parkspace_info& release_space_info() const;
  676. ::message::Parkspace_info* release_release_space_info();
  677. ::message::Parkspace_info* mutable_release_space_info();
  678. void set_allocated_release_space_info(::message::Parkspace_info* release_space_info);
  679. // required int32 command_id = 2;
  680. bool has_command_id() const;
  681. void clear_command_id();
  682. static const int kCommandIdFieldNumber = 2;
  683. ::google::protobuf::int32 command_id() const;
  684. void set_command_id(::google::protobuf::int32 value);
  685. // @@protoc_insertion_point(class_scope:message.Parkspace_release_request_msg)
  686. private:
  687. void set_has_base_info();
  688. void clear_has_base_info();
  689. void set_has_command_id();
  690. void clear_has_command_id();
  691. void set_has_release_space_info();
  692. void clear_has_release_space_info();
  693. // helper for ByteSizeLong()
  694. size_t RequiredFieldsByteSizeFallback() const;
  695. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  696. ::google::protobuf::internal::HasBits<1> _has_bits_;
  697. mutable int _cached_size_;
  698. ::message::Base_info* base_info_;
  699. ::message::Parkspace_info* release_space_info_;
  700. ::google::protobuf::int32 command_id_;
  701. friend struct ::protobuf_parkspace_5fallocation_5fmessage_2eproto::TableStruct;
  702. friend void ::protobuf_parkspace_5fallocation_5fmessage_2eproto::InitDefaultsParkspace_release_request_msgImpl();
  703. };
  704. // -------------------------------------------------------------------
  705. class Parkspace_release_response_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Parkspace_release_response_msg) */ {
  706. public:
  707. Parkspace_release_response_msg();
  708. virtual ~Parkspace_release_response_msg();
  709. Parkspace_release_response_msg(const Parkspace_release_response_msg& from);
  710. inline Parkspace_release_response_msg& operator=(const Parkspace_release_response_msg& from) {
  711. CopyFrom(from);
  712. return *this;
  713. }
  714. #if LANG_CXX11
  715. Parkspace_release_response_msg(Parkspace_release_response_msg&& from) noexcept
  716. : Parkspace_release_response_msg() {
  717. *this = ::std::move(from);
  718. }
  719. inline Parkspace_release_response_msg& operator=(Parkspace_release_response_msg&& from) noexcept {
  720. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  721. if (this != &from) InternalSwap(&from);
  722. } else {
  723. CopyFrom(from);
  724. }
  725. return *this;
  726. }
  727. #endif
  728. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  729. return _internal_metadata_.unknown_fields();
  730. }
  731. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  732. return _internal_metadata_.mutable_unknown_fields();
  733. }
  734. static const ::google::protobuf::Descriptor* descriptor();
  735. static const Parkspace_release_response_msg& default_instance();
  736. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  737. static inline const Parkspace_release_response_msg* internal_default_instance() {
  738. return reinterpret_cast<const Parkspace_release_response_msg*>(
  739. &_Parkspace_release_response_msg_default_instance_);
  740. }
  741. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  742. 5;
  743. void Swap(Parkspace_release_response_msg* other);
  744. friend void swap(Parkspace_release_response_msg& a, Parkspace_release_response_msg& b) {
  745. a.Swap(&b);
  746. }
  747. // implements Message ----------------------------------------------
  748. inline Parkspace_release_response_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  749. Parkspace_release_response_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  750. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  751. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  752. void CopyFrom(const Parkspace_release_response_msg& from);
  753. void MergeFrom(const Parkspace_release_response_msg& from);
  754. void Clear() PROTOBUF_FINAL;
  755. bool IsInitialized() const PROTOBUF_FINAL;
  756. size_t ByteSizeLong() const PROTOBUF_FINAL;
  757. bool MergePartialFromCodedStream(
  758. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  759. void SerializeWithCachedSizes(
  760. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  761. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  762. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  763. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  764. private:
  765. void SharedCtor();
  766. void SharedDtor();
  767. void SetCachedSize(int size) const PROTOBUF_FINAL;
  768. void InternalSwap(Parkspace_release_response_msg* other);
  769. private:
  770. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  771. return NULL;
  772. }
  773. inline void* MaybeArenaPtr() const {
  774. return NULL;
  775. }
  776. public:
  777. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  778. // nested types ----------------------------------------------------
  779. // accessors -------------------------------------------------------
  780. // required .message.Base_info base_info = 1;
  781. bool has_base_info() const;
  782. void clear_base_info();
  783. static const int kBaseInfoFieldNumber = 1;
  784. const ::message::Base_info& base_info() const;
  785. ::message::Base_info* release_base_info();
  786. ::message::Base_info* mutable_base_info();
  787. void set_allocated_base_info(::message::Base_info* base_info);
  788. // required .message.Error_manager error_manager = 3;
  789. bool has_error_manager() const;
  790. void clear_error_manager();
  791. static const int kErrorManagerFieldNumber = 3;
  792. const ::message::Error_manager& error_manager() const;
  793. ::message::Error_manager* release_error_manager();
  794. ::message::Error_manager* mutable_error_manager();
  795. void set_allocated_error_manager(::message::Error_manager* error_manager);
  796. // required .message.Parkspace_info release_space_info = 4;
  797. bool has_release_space_info() const;
  798. void clear_release_space_info();
  799. static const int kReleaseSpaceInfoFieldNumber = 4;
  800. const ::message::Parkspace_info& release_space_info() const;
  801. ::message::Parkspace_info* release_release_space_info();
  802. ::message::Parkspace_info* mutable_release_space_info();
  803. void set_allocated_release_space_info(::message::Parkspace_info* release_space_info);
  804. // required int32 command_id = 2;
  805. bool has_command_id() const;
  806. void clear_command_id();
  807. static const int kCommandIdFieldNumber = 2;
  808. ::google::protobuf::int32 command_id() const;
  809. void set_command_id(::google::protobuf::int32 value);
  810. // @@protoc_insertion_point(class_scope:message.Parkspace_release_response_msg)
  811. private:
  812. void set_has_base_info();
  813. void clear_has_base_info();
  814. void set_has_command_id();
  815. void clear_has_command_id();
  816. void set_has_error_manager();
  817. void clear_has_error_manager();
  818. void set_has_release_space_info();
  819. void clear_has_release_space_info();
  820. // helper for ByteSizeLong()
  821. size_t RequiredFieldsByteSizeFallback() const;
  822. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  823. ::google::protobuf::internal::HasBits<1> _has_bits_;
  824. mutable int _cached_size_;
  825. ::message::Base_info* base_info_;
  826. ::message::Error_manager* error_manager_;
  827. ::message::Parkspace_info* release_space_info_;
  828. ::google::protobuf::int32 command_id_;
  829. friend struct ::protobuf_parkspace_5fallocation_5fmessage_2eproto::TableStruct;
  830. friend void ::protobuf_parkspace_5fallocation_5fmessage_2eproto::InitDefaultsParkspace_release_response_msgImpl();
  831. };
  832. // -------------------------------------------------------------------
  833. class Parkspace_allocation_status_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Parkspace_allocation_status_msg) */ {
  834. public:
  835. Parkspace_allocation_status_msg();
  836. virtual ~Parkspace_allocation_status_msg();
  837. Parkspace_allocation_status_msg(const Parkspace_allocation_status_msg& from);
  838. inline Parkspace_allocation_status_msg& operator=(const Parkspace_allocation_status_msg& from) {
  839. CopyFrom(from);
  840. return *this;
  841. }
  842. #if LANG_CXX11
  843. Parkspace_allocation_status_msg(Parkspace_allocation_status_msg&& from) noexcept
  844. : Parkspace_allocation_status_msg() {
  845. *this = ::std::move(from);
  846. }
  847. inline Parkspace_allocation_status_msg& operator=(Parkspace_allocation_status_msg&& from) noexcept {
  848. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  849. if (this != &from) InternalSwap(&from);
  850. } else {
  851. CopyFrom(from);
  852. }
  853. return *this;
  854. }
  855. #endif
  856. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  857. return _internal_metadata_.unknown_fields();
  858. }
  859. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  860. return _internal_metadata_.mutable_unknown_fields();
  861. }
  862. static const ::google::protobuf::Descriptor* descriptor();
  863. static const Parkspace_allocation_status_msg& default_instance();
  864. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  865. static inline const Parkspace_allocation_status_msg* internal_default_instance() {
  866. return reinterpret_cast<const Parkspace_allocation_status_msg*>(
  867. &_Parkspace_allocation_status_msg_default_instance_);
  868. }
  869. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  870. 6;
  871. void Swap(Parkspace_allocation_status_msg* other);
  872. friend void swap(Parkspace_allocation_status_msg& a, Parkspace_allocation_status_msg& b) {
  873. a.Swap(&b);
  874. }
  875. // implements Message ----------------------------------------------
  876. inline Parkspace_allocation_status_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  877. Parkspace_allocation_status_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  878. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  879. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  880. void CopyFrom(const Parkspace_allocation_status_msg& from);
  881. void MergeFrom(const Parkspace_allocation_status_msg& from);
  882. void Clear() PROTOBUF_FINAL;
  883. bool IsInitialized() const PROTOBUF_FINAL;
  884. size_t ByteSizeLong() const PROTOBUF_FINAL;
  885. bool MergePartialFromCodedStream(
  886. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  887. void SerializeWithCachedSizes(
  888. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  889. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  890. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  891. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  892. private:
  893. void SharedCtor();
  894. void SharedDtor();
  895. void SetCachedSize(int size) const PROTOBUF_FINAL;
  896. void InternalSwap(Parkspace_allocation_status_msg* other);
  897. private:
  898. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  899. return NULL;
  900. }
  901. inline void* MaybeArenaPtr() const {
  902. return NULL;
  903. }
  904. public:
  905. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  906. // nested types ----------------------------------------------------
  907. // accessors -------------------------------------------------------
  908. // repeated .message.Parkspace_info parkspace_info = 3;
  909. int parkspace_info_size() const;
  910. void clear_parkspace_info();
  911. static const int kParkspaceInfoFieldNumber = 3;
  912. const ::message::Parkspace_info& parkspace_info(int index) const;
  913. ::message::Parkspace_info* mutable_parkspace_info(int index);
  914. ::message::Parkspace_info* add_parkspace_info();
  915. ::google::protobuf::RepeatedPtrField< ::message::Parkspace_info >*
  916. mutable_parkspace_info();
  917. const ::google::protobuf::RepeatedPtrField< ::message::Parkspace_info >&
  918. parkspace_info() const;
  919. // required .message.Base_info base_info = 1;
  920. bool has_base_info() const;
  921. void clear_base_info();
  922. static const int kBaseInfoFieldNumber = 1;
  923. const ::message::Base_info& base_info() const;
  924. ::message::Base_info* release_base_info();
  925. ::message::Base_info* mutable_base_info();
  926. void set_allocated_base_info(::message::Base_info* base_info);
  927. // required .message.Error_manager error_manager = 2;
  928. bool has_error_manager() const;
  929. void clear_error_manager();
  930. static const int kErrorManagerFieldNumber = 2;
  931. const ::message::Error_manager& error_manager() const;
  932. ::message::Error_manager* release_error_manager();
  933. ::message::Error_manager* mutable_error_manager();
  934. void set_allocated_error_manager(::message::Error_manager* error_manager);
  935. // @@protoc_insertion_point(class_scope:message.Parkspace_allocation_status_msg)
  936. private:
  937. void set_has_base_info();
  938. void clear_has_base_info();
  939. void set_has_error_manager();
  940. void clear_has_error_manager();
  941. // helper for ByteSizeLong()
  942. size_t RequiredFieldsByteSizeFallback() const;
  943. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  944. ::google::protobuf::internal::HasBits<1> _has_bits_;
  945. mutable int _cached_size_;
  946. ::google::protobuf::RepeatedPtrField< ::message::Parkspace_info > parkspace_info_;
  947. ::message::Base_info* base_info_;
  948. ::message::Error_manager* error_manager_;
  949. friend struct ::protobuf_parkspace_5fallocation_5fmessage_2eproto::TableStruct;
  950. friend void ::protobuf_parkspace_5fallocation_5fmessage_2eproto::InitDefaultsParkspace_allocation_status_msgImpl();
  951. };
  952. // ===================================================================
  953. // ===================================================================
  954. #ifdef __GNUC__
  955. #pragma GCC diagnostic push
  956. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  957. #endif // __GNUC__
  958. // Parkspace_allocation_request_msg
  959. // required .message.Base_info base_info = 1;
  960. inline bool Parkspace_allocation_request_msg::has_base_info() const {
  961. return (_has_bits_[0] & 0x00000001u) != 0;
  962. }
  963. inline void Parkspace_allocation_request_msg::set_has_base_info() {
  964. _has_bits_[0] |= 0x00000001u;
  965. }
  966. inline void Parkspace_allocation_request_msg::clear_has_base_info() {
  967. _has_bits_[0] &= ~0x00000001u;
  968. }
  969. inline const ::message::Base_info& Parkspace_allocation_request_msg::base_info() const {
  970. const ::message::Base_info* p = base_info_;
  971. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_request_msg.base_info)
  972. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  973. &::message::_Base_info_default_instance_);
  974. }
  975. inline ::message::Base_info* Parkspace_allocation_request_msg::release_base_info() {
  976. // @@protoc_insertion_point(field_release:message.Parkspace_allocation_request_msg.base_info)
  977. clear_has_base_info();
  978. ::message::Base_info* temp = base_info_;
  979. base_info_ = NULL;
  980. return temp;
  981. }
  982. inline ::message::Base_info* Parkspace_allocation_request_msg::mutable_base_info() {
  983. set_has_base_info();
  984. if (base_info_ == NULL) {
  985. base_info_ = new ::message::Base_info;
  986. }
  987. // @@protoc_insertion_point(field_mutable:message.Parkspace_allocation_request_msg.base_info)
  988. return base_info_;
  989. }
  990. inline void Parkspace_allocation_request_msg::set_allocated_base_info(::message::Base_info* base_info) {
  991. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  992. if (message_arena == NULL) {
  993. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  994. }
  995. if (base_info) {
  996. ::google::protobuf::Arena* submessage_arena = NULL;
  997. if (message_arena != submessage_arena) {
  998. base_info = ::google::protobuf::internal::GetOwnedMessage(
  999. message_arena, base_info, submessage_arena);
  1000. }
  1001. set_has_base_info();
  1002. } else {
  1003. clear_has_base_info();
  1004. }
  1005. base_info_ = base_info;
  1006. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_allocation_request_msg.base_info)
  1007. }
  1008. // required int32 command_id = 2;
  1009. inline bool Parkspace_allocation_request_msg::has_command_id() const {
  1010. return (_has_bits_[0] & 0x00000004u) != 0;
  1011. }
  1012. inline void Parkspace_allocation_request_msg::set_has_command_id() {
  1013. _has_bits_[0] |= 0x00000004u;
  1014. }
  1015. inline void Parkspace_allocation_request_msg::clear_has_command_id() {
  1016. _has_bits_[0] &= ~0x00000004u;
  1017. }
  1018. inline void Parkspace_allocation_request_msg::clear_command_id() {
  1019. command_id_ = 0;
  1020. clear_has_command_id();
  1021. }
  1022. inline ::google::protobuf::int32 Parkspace_allocation_request_msg::command_id() const {
  1023. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_request_msg.command_id)
  1024. return command_id_;
  1025. }
  1026. inline void Parkspace_allocation_request_msg::set_command_id(::google::protobuf::int32 value) {
  1027. set_has_command_id();
  1028. command_id_ = value;
  1029. // @@protoc_insertion_point(field_set:message.Parkspace_allocation_request_msg.command_id)
  1030. }
  1031. // required .message.Car_info car_info = 3;
  1032. inline bool Parkspace_allocation_request_msg::has_car_info() const {
  1033. return (_has_bits_[0] & 0x00000002u) != 0;
  1034. }
  1035. inline void Parkspace_allocation_request_msg::set_has_car_info() {
  1036. _has_bits_[0] |= 0x00000002u;
  1037. }
  1038. inline void Parkspace_allocation_request_msg::clear_has_car_info() {
  1039. _has_bits_[0] &= ~0x00000002u;
  1040. }
  1041. inline const ::message::Car_info& Parkspace_allocation_request_msg::car_info() const {
  1042. const ::message::Car_info* p = car_info_;
  1043. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_request_msg.car_info)
  1044. return p != NULL ? *p : *reinterpret_cast<const ::message::Car_info*>(
  1045. &::message::_Car_info_default_instance_);
  1046. }
  1047. inline ::message::Car_info* Parkspace_allocation_request_msg::release_car_info() {
  1048. // @@protoc_insertion_point(field_release:message.Parkspace_allocation_request_msg.car_info)
  1049. clear_has_car_info();
  1050. ::message::Car_info* temp = car_info_;
  1051. car_info_ = NULL;
  1052. return temp;
  1053. }
  1054. inline ::message::Car_info* Parkspace_allocation_request_msg::mutable_car_info() {
  1055. set_has_car_info();
  1056. if (car_info_ == NULL) {
  1057. car_info_ = new ::message::Car_info;
  1058. }
  1059. // @@protoc_insertion_point(field_mutable:message.Parkspace_allocation_request_msg.car_info)
  1060. return car_info_;
  1061. }
  1062. inline void Parkspace_allocation_request_msg::set_allocated_car_info(::message::Car_info* car_info) {
  1063. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1064. if (message_arena == NULL) {
  1065. delete reinterpret_cast< ::google::protobuf::MessageLite*>(car_info_);
  1066. }
  1067. if (car_info) {
  1068. ::google::protobuf::Arena* submessage_arena = NULL;
  1069. if (message_arena != submessage_arena) {
  1070. car_info = ::google::protobuf::internal::GetOwnedMessage(
  1071. message_arena, car_info, submessage_arena);
  1072. }
  1073. set_has_car_info();
  1074. } else {
  1075. clear_has_car_info();
  1076. }
  1077. car_info_ = car_info;
  1078. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_allocation_request_msg.car_info)
  1079. }
  1080. // required int32 terminal_id = 4;
  1081. inline bool Parkspace_allocation_request_msg::has_terminal_id() const {
  1082. return (_has_bits_[0] & 0x00000008u) != 0;
  1083. }
  1084. inline void Parkspace_allocation_request_msg::set_has_terminal_id() {
  1085. _has_bits_[0] |= 0x00000008u;
  1086. }
  1087. inline void Parkspace_allocation_request_msg::clear_has_terminal_id() {
  1088. _has_bits_[0] &= ~0x00000008u;
  1089. }
  1090. inline void Parkspace_allocation_request_msg::clear_terminal_id() {
  1091. terminal_id_ = 0;
  1092. clear_has_terminal_id();
  1093. }
  1094. inline ::google::protobuf::int32 Parkspace_allocation_request_msg::terminal_id() const {
  1095. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_request_msg.terminal_id)
  1096. return terminal_id_;
  1097. }
  1098. inline void Parkspace_allocation_request_msg::set_terminal_id(::google::protobuf::int32 value) {
  1099. set_has_terminal_id();
  1100. terminal_id_ = value;
  1101. // @@protoc_insertion_point(field_set:message.Parkspace_allocation_request_msg.terminal_id)
  1102. }
  1103. // -------------------------------------------------------------------
  1104. // Parkspace_allocation_response_msg
  1105. // required .message.Base_info base_info = 1;
  1106. inline bool Parkspace_allocation_response_msg::has_base_info() const {
  1107. return (_has_bits_[0] & 0x00000001u) != 0;
  1108. }
  1109. inline void Parkspace_allocation_response_msg::set_has_base_info() {
  1110. _has_bits_[0] |= 0x00000001u;
  1111. }
  1112. inline void Parkspace_allocation_response_msg::clear_has_base_info() {
  1113. _has_bits_[0] &= ~0x00000001u;
  1114. }
  1115. inline const ::message::Base_info& Parkspace_allocation_response_msg::base_info() const {
  1116. const ::message::Base_info* p = base_info_;
  1117. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_response_msg.base_info)
  1118. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  1119. &::message::_Base_info_default_instance_);
  1120. }
  1121. inline ::message::Base_info* Parkspace_allocation_response_msg::release_base_info() {
  1122. // @@protoc_insertion_point(field_release:message.Parkspace_allocation_response_msg.base_info)
  1123. clear_has_base_info();
  1124. ::message::Base_info* temp = base_info_;
  1125. base_info_ = NULL;
  1126. return temp;
  1127. }
  1128. inline ::message::Base_info* Parkspace_allocation_response_msg::mutable_base_info() {
  1129. set_has_base_info();
  1130. if (base_info_ == NULL) {
  1131. base_info_ = new ::message::Base_info;
  1132. }
  1133. // @@protoc_insertion_point(field_mutable:message.Parkspace_allocation_response_msg.base_info)
  1134. return base_info_;
  1135. }
  1136. inline void Parkspace_allocation_response_msg::set_allocated_base_info(::message::Base_info* base_info) {
  1137. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1138. if (message_arena == NULL) {
  1139. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  1140. }
  1141. if (base_info) {
  1142. ::google::protobuf::Arena* submessage_arena = NULL;
  1143. if (message_arena != submessage_arena) {
  1144. base_info = ::google::protobuf::internal::GetOwnedMessage(
  1145. message_arena, base_info, submessage_arena);
  1146. }
  1147. set_has_base_info();
  1148. } else {
  1149. clear_has_base_info();
  1150. }
  1151. base_info_ = base_info;
  1152. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_allocation_response_msg.base_info)
  1153. }
  1154. // required int32 command_id = 2;
  1155. inline bool Parkspace_allocation_response_msg::has_command_id() const {
  1156. return (_has_bits_[0] & 0x00000008u) != 0;
  1157. }
  1158. inline void Parkspace_allocation_response_msg::set_has_command_id() {
  1159. _has_bits_[0] |= 0x00000008u;
  1160. }
  1161. inline void Parkspace_allocation_response_msg::clear_has_command_id() {
  1162. _has_bits_[0] &= ~0x00000008u;
  1163. }
  1164. inline void Parkspace_allocation_response_msg::clear_command_id() {
  1165. command_id_ = 0;
  1166. clear_has_command_id();
  1167. }
  1168. inline ::google::protobuf::int32 Parkspace_allocation_response_msg::command_id() const {
  1169. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_response_msg.command_id)
  1170. return command_id_;
  1171. }
  1172. inline void Parkspace_allocation_response_msg::set_command_id(::google::protobuf::int32 value) {
  1173. set_has_command_id();
  1174. command_id_ = value;
  1175. // @@protoc_insertion_point(field_set:message.Parkspace_allocation_response_msg.command_id)
  1176. }
  1177. // required .message.Error_manager error_manager = 3;
  1178. inline bool Parkspace_allocation_response_msg::has_error_manager() const {
  1179. return (_has_bits_[0] & 0x00000002u) != 0;
  1180. }
  1181. inline void Parkspace_allocation_response_msg::set_has_error_manager() {
  1182. _has_bits_[0] |= 0x00000002u;
  1183. }
  1184. inline void Parkspace_allocation_response_msg::clear_has_error_manager() {
  1185. _has_bits_[0] &= ~0x00000002u;
  1186. }
  1187. inline const ::message::Error_manager& Parkspace_allocation_response_msg::error_manager() const {
  1188. const ::message::Error_manager* p = error_manager_;
  1189. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_response_msg.error_manager)
  1190. return p != NULL ? *p : *reinterpret_cast<const ::message::Error_manager*>(
  1191. &::message::_Error_manager_default_instance_);
  1192. }
  1193. inline ::message::Error_manager* Parkspace_allocation_response_msg::release_error_manager() {
  1194. // @@protoc_insertion_point(field_release:message.Parkspace_allocation_response_msg.error_manager)
  1195. clear_has_error_manager();
  1196. ::message::Error_manager* temp = error_manager_;
  1197. error_manager_ = NULL;
  1198. return temp;
  1199. }
  1200. inline ::message::Error_manager* Parkspace_allocation_response_msg::mutable_error_manager() {
  1201. set_has_error_manager();
  1202. if (error_manager_ == NULL) {
  1203. error_manager_ = new ::message::Error_manager;
  1204. }
  1205. // @@protoc_insertion_point(field_mutable:message.Parkspace_allocation_response_msg.error_manager)
  1206. return error_manager_;
  1207. }
  1208. inline void Parkspace_allocation_response_msg::set_allocated_error_manager(::message::Error_manager* error_manager) {
  1209. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1210. if (message_arena == NULL) {
  1211. delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_manager_);
  1212. }
  1213. if (error_manager) {
  1214. ::google::protobuf::Arena* submessage_arena = NULL;
  1215. if (message_arena != submessage_arena) {
  1216. error_manager = ::google::protobuf::internal::GetOwnedMessage(
  1217. message_arena, error_manager, submessage_arena);
  1218. }
  1219. set_has_error_manager();
  1220. } else {
  1221. clear_has_error_manager();
  1222. }
  1223. error_manager_ = error_manager;
  1224. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_allocation_response_msg.error_manager)
  1225. }
  1226. // required .message.Parkspace_info allocated_space_info = 4;
  1227. inline bool Parkspace_allocation_response_msg::has_allocated_space_info() const {
  1228. return (_has_bits_[0] & 0x00000004u) != 0;
  1229. }
  1230. inline void Parkspace_allocation_response_msg::set_has_allocated_space_info() {
  1231. _has_bits_[0] |= 0x00000004u;
  1232. }
  1233. inline void Parkspace_allocation_response_msg::clear_has_allocated_space_info() {
  1234. _has_bits_[0] &= ~0x00000004u;
  1235. }
  1236. inline const ::message::Parkspace_info& Parkspace_allocation_response_msg::allocated_space_info() const {
  1237. const ::message::Parkspace_info* p = allocated_space_info_;
  1238. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_response_msg.allocated_space_info)
  1239. return p != NULL ? *p : *reinterpret_cast<const ::message::Parkspace_info*>(
  1240. &::message::_Parkspace_info_default_instance_);
  1241. }
  1242. inline ::message::Parkspace_info* Parkspace_allocation_response_msg::release_allocated_space_info() {
  1243. // @@protoc_insertion_point(field_release:message.Parkspace_allocation_response_msg.allocated_space_info)
  1244. clear_has_allocated_space_info();
  1245. ::message::Parkspace_info* temp = allocated_space_info_;
  1246. allocated_space_info_ = NULL;
  1247. return temp;
  1248. }
  1249. inline ::message::Parkspace_info* Parkspace_allocation_response_msg::mutable_allocated_space_info() {
  1250. set_has_allocated_space_info();
  1251. if (allocated_space_info_ == NULL) {
  1252. allocated_space_info_ = new ::message::Parkspace_info;
  1253. }
  1254. // @@protoc_insertion_point(field_mutable:message.Parkspace_allocation_response_msg.allocated_space_info)
  1255. return allocated_space_info_;
  1256. }
  1257. inline void Parkspace_allocation_response_msg::set_allocated_allocated_space_info(::message::Parkspace_info* allocated_space_info) {
  1258. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1259. if (message_arena == NULL) {
  1260. delete reinterpret_cast< ::google::protobuf::MessageLite*>(allocated_space_info_);
  1261. }
  1262. if (allocated_space_info) {
  1263. ::google::protobuf::Arena* submessage_arena = NULL;
  1264. if (message_arena != submessage_arena) {
  1265. allocated_space_info = ::google::protobuf::internal::GetOwnedMessage(
  1266. message_arena, allocated_space_info, submessage_arena);
  1267. }
  1268. set_has_allocated_space_info();
  1269. } else {
  1270. clear_has_allocated_space_info();
  1271. }
  1272. allocated_space_info_ = allocated_space_info;
  1273. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_allocation_response_msg.allocated_space_info)
  1274. }
  1275. // -------------------------------------------------------------------
  1276. // Parkspace_search_request_msg
  1277. // required .message.Base_info base_info = 1;
  1278. inline bool Parkspace_search_request_msg::has_base_info() const {
  1279. return (_has_bits_[0] & 0x00000001u) != 0;
  1280. }
  1281. inline void Parkspace_search_request_msg::set_has_base_info() {
  1282. _has_bits_[0] |= 0x00000001u;
  1283. }
  1284. inline void Parkspace_search_request_msg::clear_has_base_info() {
  1285. _has_bits_[0] &= ~0x00000001u;
  1286. }
  1287. inline const ::message::Base_info& Parkspace_search_request_msg::base_info() const {
  1288. const ::message::Base_info* p = base_info_;
  1289. // @@protoc_insertion_point(field_get:message.Parkspace_search_request_msg.base_info)
  1290. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  1291. &::message::_Base_info_default_instance_);
  1292. }
  1293. inline ::message::Base_info* Parkspace_search_request_msg::release_base_info() {
  1294. // @@protoc_insertion_point(field_release:message.Parkspace_search_request_msg.base_info)
  1295. clear_has_base_info();
  1296. ::message::Base_info* temp = base_info_;
  1297. base_info_ = NULL;
  1298. return temp;
  1299. }
  1300. inline ::message::Base_info* Parkspace_search_request_msg::mutable_base_info() {
  1301. set_has_base_info();
  1302. if (base_info_ == NULL) {
  1303. base_info_ = new ::message::Base_info;
  1304. }
  1305. // @@protoc_insertion_point(field_mutable:message.Parkspace_search_request_msg.base_info)
  1306. return base_info_;
  1307. }
  1308. inline void Parkspace_search_request_msg::set_allocated_base_info(::message::Base_info* base_info) {
  1309. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1310. if (message_arena == NULL) {
  1311. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  1312. }
  1313. if (base_info) {
  1314. ::google::protobuf::Arena* submessage_arena = NULL;
  1315. if (message_arena != submessage_arena) {
  1316. base_info = ::google::protobuf::internal::GetOwnedMessage(
  1317. message_arena, base_info, submessage_arena);
  1318. }
  1319. set_has_base_info();
  1320. } else {
  1321. clear_has_base_info();
  1322. }
  1323. base_info_ = base_info;
  1324. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_search_request_msg.base_info)
  1325. }
  1326. // required int32 command_id = 2;
  1327. inline bool Parkspace_search_request_msg::has_command_id() const {
  1328. return (_has_bits_[0] & 0x00000004u) != 0;
  1329. }
  1330. inline void Parkspace_search_request_msg::set_has_command_id() {
  1331. _has_bits_[0] |= 0x00000004u;
  1332. }
  1333. inline void Parkspace_search_request_msg::clear_has_command_id() {
  1334. _has_bits_[0] &= ~0x00000004u;
  1335. }
  1336. inline void Parkspace_search_request_msg::clear_command_id() {
  1337. command_id_ = 0;
  1338. clear_has_command_id();
  1339. }
  1340. inline ::google::protobuf::int32 Parkspace_search_request_msg::command_id() const {
  1341. // @@protoc_insertion_point(field_get:message.Parkspace_search_request_msg.command_id)
  1342. return command_id_;
  1343. }
  1344. inline void Parkspace_search_request_msg::set_command_id(::google::protobuf::int32 value) {
  1345. set_has_command_id();
  1346. command_id_ = value;
  1347. // @@protoc_insertion_point(field_set:message.Parkspace_search_request_msg.command_id)
  1348. }
  1349. // required .message.Car_info car_info = 3;
  1350. inline bool Parkspace_search_request_msg::has_car_info() const {
  1351. return (_has_bits_[0] & 0x00000002u) != 0;
  1352. }
  1353. inline void Parkspace_search_request_msg::set_has_car_info() {
  1354. _has_bits_[0] |= 0x00000002u;
  1355. }
  1356. inline void Parkspace_search_request_msg::clear_has_car_info() {
  1357. _has_bits_[0] &= ~0x00000002u;
  1358. }
  1359. inline const ::message::Car_info& Parkspace_search_request_msg::car_info() const {
  1360. const ::message::Car_info* p = car_info_;
  1361. // @@protoc_insertion_point(field_get:message.Parkspace_search_request_msg.car_info)
  1362. return p != NULL ? *p : *reinterpret_cast<const ::message::Car_info*>(
  1363. &::message::_Car_info_default_instance_);
  1364. }
  1365. inline ::message::Car_info* Parkspace_search_request_msg::release_car_info() {
  1366. // @@protoc_insertion_point(field_release:message.Parkspace_search_request_msg.car_info)
  1367. clear_has_car_info();
  1368. ::message::Car_info* temp = car_info_;
  1369. car_info_ = NULL;
  1370. return temp;
  1371. }
  1372. inline ::message::Car_info* Parkspace_search_request_msg::mutable_car_info() {
  1373. set_has_car_info();
  1374. if (car_info_ == NULL) {
  1375. car_info_ = new ::message::Car_info;
  1376. }
  1377. // @@protoc_insertion_point(field_mutable:message.Parkspace_search_request_msg.car_info)
  1378. return car_info_;
  1379. }
  1380. inline void Parkspace_search_request_msg::set_allocated_car_info(::message::Car_info* car_info) {
  1381. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1382. if (message_arena == NULL) {
  1383. delete reinterpret_cast< ::google::protobuf::MessageLite*>(car_info_);
  1384. }
  1385. if (car_info) {
  1386. ::google::protobuf::Arena* submessage_arena = NULL;
  1387. if (message_arena != submessage_arena) {
  1388. car_info = ::google::protobuf::internal::GetOwnedMessage(
  1389. message_arena, car_info, submessage_arena);
  1390. }
  1391. set_has_car_info();
  1392. } else {
  1393. clear_has_car_info();
  1394. }
  1395. car_info_ = car_info;
  1396. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_search_request_msg.car_info)
  1397. }
  1398. // -------------------------------------------------------------------
  1399. // Parkspace_search_response_msg
  1400. // required .message.Base_info base_info = 1;
  1401. inline bool Parkspace_search_response_msg::has_base_info() const {
  1402. return (_has_bits_[0] & 0x00000001u) != 0;
  1403. }
  1404. inline void Parkspace_search_response_msg::set_has_base_info() {
  1405. _has_bits_[0] |= 0x00000001u;
  1406. }
  1407. inline void Parkspace_search_response_msg::clear_has_base_info() {
  1408. _has_bits_[0] &= ~0x00000001u;
  1409. }
  1410. inline const ::message::Base_info& Parkspace_search_response_msg::base_info() const {
  1411. const ::message::Base_info* p = base_info_;
  1412. // @@protoc_insertion_point(field_get:message.Parkspace_search_response_msg.base_info)
  1413. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  1414. &::message::_Base_info_default_instance_);
  1415. }
  1416. inline ::message::Base_info* Parkspace_search_response_msg::release_base_info() {
  1417. // @@protoc_insertion_point(field_release:message.Parkspace_search_response_msg.base_info)
  1418. clear_has_base_info();
  1419. ::message::Base_info* temp = base_info_;
  1420. base_info_ = NULL;
  1421. return temp;
  1422. }
  1423. inline ::message::Base_info* Parkspace_search_response_msg::mutable_base_info() {
  1424. set_has_base_info();
  1425. if (base_info_ == NULL) {
  1426. base_info_ = new ::message::Base_info;
  1427. }
  1428. // @@protoc_insertion_point(field_mutable:message.Parkspace_search_response_msg.base_info)
  1429. return base_info_;
  1430. }
  1431. inline void Parkspace_search_response_msg::set_allocated_base_info(::message::Base_info* base_info) {
  1432. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1433. if (message_arena == NULL) {
  1434. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  1435. }
  1436. if (base_info) {
  1437. ::google::protobuf::Arena* submessage_arena = NULL;
  1438. if (message_arena != submessage_arena) {
  1439. base_info = ::google::protobuf::internal::GetOwnedMessage(
  1440. message_arena, base_info, submessage_arena);
  1441. }
  1442. set_has_base_info();
  1443. } else {
  1444. clear_has_base_info();
  1445. }
  1446. base_info_ = base_info;
  1447. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_search_response_msg.base_info)
  1448. }
  1449. // required int32 command_id = 2;
  1450. inline bool Parkspace_search_response_msg::has_command_id() const {
  1451. return (_has_bits_[0] & 0x00000008u) != 0;
  1452. }
  1453. inline void Parkspace_search_response_msg::set_has_command_id() {
  1454. _has_bits_[0] |= 0x00000008u;
  1455. }
  1456. inline void Parkspace_search_response_msg::clear_has_command_id() {
  1457. _has_bits_[0] &= ~0x00000008u;
  1458. }
  1459. inline void Parkspace_search_response_msg::clear_command_id() {
  1460. command_id_ = 0;
  1461. clear_has_command_id();
  1462. }
  1463. inline ::google::protobuf::int32 Parkspace_search_response_msg::command_id() const {
  1464. // @@protoc_insertion_point(field_get:message.Parkspace_search_response_msg.command_id)
  1465. return command_id_;
  1466. }
  1467. inline void Parkspace_search_response_msg::set_command_id(::google::protobuf::int32 value) {
  1468. set_has_command_id();
  1469. command_id_ = value;
  1470. // @@protoc_insertion_point(field_set:message.Parkspace_search_response_msg.command_id)
  1471. }
  1472. // required .message.Error_manager error_manager = 3;
  1473. inline bool Parkspace_search_response_msg::has_error_manager() const {
  1474. return (_has_bits_[0] & 0x00000002u) != 0;
  1475. }
  1476. inline void Parkspace_search_response_msg::set_has_error_manager() {
  1477. _has_bits_[0] |= 0x00000002u;
  1478. }
  1479. inline void Parkspace_search_response_msg::clear_has_error_manager() {
  1480. _has_bits_[0] &= ~0x00000002u;
  1481. }
  1482. inline const ::message::Error_manager& Parkspace_search_response_msg::error_manager() const {
  1483. const ::message::Error_manager* p = error_manager_;
  1484. // @@protoc_insertion_point(field_get:message.Parkspace_search_response_msg.error_manager)
  1485. return p != NULL ? *p : *reinterpret_cast<const ::message::Error_manager*>(
  1486. &::message::_Error_manager_default_instance_);
  1487. }
  1488. inline ::message::Error_manager* Parkspace_search_response_msg::release_error_manager() {
  1489. // @@protoc_insertion_point(field_release:message.Parkspace_search_response_msg.error_manager)
  1490. clear_has_error_manager();
  1491. ::message::Error_manager* temp = error_manager_;
  1492. error_manager_ = NULL;
  1493. return temp;
  1494. }
  1495. inline ::message::Error_manager* Parkspace_search_response_msg::mutable_error_manager() {
  1496. set_has_error_manager();
  1497. if (error_manager_ == NULL) {
  1498. error_manager_ = new ::message::Error_manager;
  1499. }
  1500. // @@protoc_insertion_point(field_mutable:message.Parkspace_search_response_msg.error_manager)
  1501. return error_manager_;
  1502. }
  1503. inline void Parkspace_search_response_msg::set_allocated_error_manager(::message::Error_manager* error_manager) {
  1504. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1505. if (message_arena == NULL) {
  1506. delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_manager_);
  1507. }
  1508. if (error_manager) {
  1509. ::google::protobuf::Arena* submessage_arena = NULL;
  1510. if (message_arena != submessage_arena) {
  1511. error_manager = ::google::protobuf::internal::GetOwnedMessage(
  1512. message_arena, error_manager, submessage_arena);
  1513. }
  1514. set_has_error_manager();
  1515. } else {
  1516. clear_has_error_manager();
  1517. }
  1518. error_manager_ = error_manager;
  1519. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_search_response_msg.error_manager)
  1520. }
  1521. // optional .message.Parkspace_info car_position = 4;
  1522. inline bool Parkspace_search_response_msg::has_car_position() const {
  1523. return (_has_bits_[0] & 0x00000004u) != 0;
  1524. }
  1525. inline void Parkspace_search_response_msg::set_has_car_position() {
  1526. _has_bits_[0] |= 0x00000004u;
  1527. }
  1528. inline void Parkspace_search_response_msg::clear_has_car_position() {
  1529. _has_bits_[0] &= ~0x00000004u;
  1530. }
  1531. inline const ::message::Parkspace_info& Parkspace_search_response_msg::car_position() const {
  1532. const ::message::Parkspace_info* p = car_position_;
  1533. // @@protoc_insertion_point(field_get:message.Parkspace_search_response_msg.car_position)
  1534. return p != NULL ? *p : *reinterpret_cast<const ::message::Parkspace_info*>(
  1535. &::message::_Parkspace_info_default_instance_);
  1536. }
  1537. inline ::message::Parkspace_info* Parkspace_search_response_msg::release_car_position() {
  1538. // @@protoc_insertion_point(field_release:message.Parkspace_search_response_msg.car_position)
  1539. clear_has_car_position();
  1540. ::message::Parkspace_info* temp = car_position_;
  1541. car_position_ = NULL;
  1542. return temp;
  1543. }
  1544. inline ::message::Parkspace_info* Parkspace_search_response_msg::mutable_car_position() {
  1545. set_has_car_position();
  1546. if (car_position_ == NULL) {
  1547. car_position_ = new ::message::Parkspace_info;
  1548. }
  1549. // @@protoc_insertion_point(field_mutable:message.Parkspace_search_response_msg.car_position)
  1550. return car_position_;
  1551. }
  1552. inline void Parkspace_search_response_msg::set_allocated_car_position(::message::Parkspace_info* car_position) {
  1553. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1554. if (message_arena == NULL) {
  1555. delete reinterpret_cast< ::google::protobuf::MessageLite*>(car_position_);
  1556. }
  1557. if (car_position) {
  1558. ::google::protobuf::Arena* submessage_arena = NULL;
  1559. if (message_arena != submessage_arena) {
  1560. car_position = ::google::protobuf::internal::GetOwnedMessage(
  1561. message_arena, car_position, submessage_arena);
  1562. }
  1563. set_has_car_position();
  1564. } else {
  1565. clear_has_car_position();
  1566. }
  1567. car_position_ = car_position;
  1568. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_search_response_msg.car_position)
  1569. }
  1570. // -------------------------------------------------------------------
  1571. // Parkspace_release_request_msg
  1572. // required .message.Base_info base_info = 1;
  1573. inline bool Parkspace_release_request_msg::has_base_info() const {
  1574. return (_has_bits_[0] & 0x00000001u) != 0;
  1575. }
  1576. inline void Parkspace_release_request_msg::set_has_base_info() {
  1577. _has_bits_[0] |= 0x00000001u;
  1578. }
  1579. inline void Parkspace_release_request_msg::clear_has_base_info() {
  1580. _has_bits_[0] &= ~0x00000001u;
  1581. }
  1582. inline const ::message::Base_info& Parkspace_release_request_msg::base_info() const {
  1583. const ::message::Base_info* p = base_info_;
  1584. // @@protoc_insertion_point(field_get:message.Parkspace_release_request_msg.base_info)
  1585. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  1586. &::message::_Base_info_default_instance_);
  1587. }
  1588. inline ::message::Base_info* Parkspace_release_request_msg::release_base_info() {
  1589. // @@protoc_insertion_point(field_release:message.Parkspace_release_request_msg.base_info)
  1590. clear_has_base_info();
  1591. ::message::Base_info* temp = base_info_;
  1592. base_info_ = NULL;
  1593. return temp;
  1594. }
  1595. inline ::message::Base_info* Parkspace_release_request_msg::mutable_base_info() {
  1596. set_has_base_info();
  1597. if (base_info_ == NULL) {
  1598. base_info_ = new ::message::Base_info;
  1599. }
  1600. // @@protoc_insertion_point(field_mutable:message.Parkspace_release_request_msg.base_info)
  1601. return base_info_;
  1602. }
  1603. inline void Parkspace_release_request_msg::set_allocated_base_info(::message::Base_info* base_info) {
  1604. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1605. if (message_arena == NULL) {
  1606. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  1607. }
  1608. if (base_info) {
  1609. ::google::protobuf::Arena* submessage_arena = NULL;
  1610. if (message_arena != submessage_arena) {
  1611. base_info = ::google::protobuf::internal::GetOwnedMessage(
  1612. message_arena, base_info, submessage_arena);
  1613. }
  1614. set_has_base_info();
  1615. } else {
  1616. clear_has_base_info();
  1617. }
  1618. base_info_ = base_info;
  1619. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_release_request_msg.base_info)
  1620. }
  1621. // required int32 command_id = 2;
  1622. inline bool Parkspace_release_request_msg::has_command_id() const {
  1623. return (_has_bits_[0] & 0x00000004u) != 0;
  1624. }
  1625. inline void Parkspace_release_request_msg::set_has_command_id() {
  1626. _has_bits_[0] |= 0x00000004u;
  1627. }
  1628. inline void Parkspace_release_request_msg::clear_has_command_id() {
  1629. _has_bits_[0] &= ~0x00000004u;
  1630. }
  1631. inline void Parkspace_release_request_msg::clear_command_id() {
  1632. command_id_ = 0;
  1633. clear_has_command_id();
  1634. }
  1635. inline ::google::protobuf::int32 Parkspace_release_request_msg::command_id() const {
  1636. // @@protoc_insertion_point(field_get:message.Parkspace_release_request_msg.command_id)
  1637. return command_id_;
  1638. }
  1639. inline void Parkspace_release_request_msg::set_command_id(::google::protobuf::int32 value) {
  1640. set_has_command_id();
  1641. command_id_ = value;
  1642. // @@protoc_insertion_point(field_set:message.Parkspace_release_request_msg.command_id)
  1643. }
  1644. // required .message.Parkspace_info release_space_info = 3;
  1645. inline bool Parkspace_release_request_msg::has_release_space_info() const {
  1646. return (_has_bits_[0] & 0x00000002u) != 0;
  1647. }
  1648. inline void Parkspace_release_request_msg::set_has_release_space_info() {
  1649. _has_bits_[0] |= 0x00000002u;
  1650. }
  1651. inline void Parkspace_release_request_msg::clear_has_release_space_info() {
  1652. _has_bits_[0] &= ~0x00000002u;
  1653. }
  1654. inline const ::message::Parkspace_info& Parkspace_release_request_msg::release_space_info() const {
  1655. const ::message::Parkspace_info* p = release_space_info_;
  1656. // @@protoc_insertion_point(field_get:message.Parkspace_release_request_msg.release_space_info)
  1657. return p != NULL ? *p : *reinterpret_cast<const ::message::Parkspace_info*>(
  1658. &::message::_Parkspace_info_default_instance_);
  1659. }
  1660. inline ::message::Parkspace_info* Parkspace_release_request_msg::release_release_space_info() {
  1661. // @@protoc_insertion_point(field_release:message.Parkspace_release_request_msg.release_space_info)
  1662. clear_has_release_space_info();
  1663. ::message::Parkspace_info* temp = release_space_info_;
  1664. release_space_info_ = NULL;
  1665. return temp;
  1666. }
  1667. inline ::message::Parkspace_info* Parkspace_release_request_msg::mutable_release_space_info() {
  1668. set_has_release_space_info();
  1669. if (release_space_info_ == NULL) {
  1670. release_space_info_ = new ::message::Parkspace_info;
  1671. }
  1672. // @@protoc_insertion_point(field_mutable:message.Parkspace_release_request_msg.release_space_info)
  1673. return release_space_info_;
  1674. }
  1675. inline void Parkspace_release_request_msg::set_allocated_release_space_info(::message::Parkspace_info* release_space_info) {
  1676. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1677. if (message_arena == NULL) {
  1678. delete reinterpret_cast< ::google::protobuf::MessageLite*>(release_space_info_);
  1679. }
  1680. if (release_space_info) {
  1681. ::google::protobuf::Arena* submessage_arena = NULL;
  1682. if (message_arena != submessage_arena) {
  1683. release_space_info = ::google::protobuf::internal::GetOwnedMessage(
  1684. message_arena, release_space_info, submessage_arena);
  1685. }
  1686. set_has_release_space_info();
  1687. } else {
  1688. clear_has_release_space_info();
  1689. }
  1690. release_space_info_ = release_space_info;
  1691. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_release_request_msg.release_space_info)
  1692. }
  1693. // -------------------------------------------------------------------
  1694. // Parkspace_release_response_msg
  1695. // required .message.Base_info base_info = 1;
  1696. inline bool Parkspace_release_response_msg::has_base_info() const {
  1697. return (_has_bits_[0] & 0x00000001u) != 0;
  1698. }
  1699. inline void Parkspace_release_response_msg::set_has_base_info() {
  1700. _has_bits_[0] |= 0x00000001u;
  1701. }
  1702. inline void Parkspace_release_response_msg::clear_has_base_info() {
  1703. _has_bits_[0] &= ~0x00000001u;
  1704. }
  1705. inline const ::message::Base_info& Parkspace_release_response_msg::base_info() const {
  1706. const ::message::Base_info* p = base_info_;
  1707. // @@protoc_insertion_point(field_get:message.Parkspace_release_response_msg.base_info)
  1708. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  1709. &::message::_Base_info_default_instance_);
  1710. }
  1711. inline ::message::Base_info* Parkspace_release_response_msg::release_base_info() {
  1712. // @@protoc_insertion_point(field_release:message.Parkspace_release_response_msg.base_info)
  1713. clear_has_base_info();
  1714. ::message::Base_info* temp = base_info_;
  1715. base_info_ = NULL;
  1716. return temp;
  1717. }
  1718. inline ::message::Base_info* Parkspace_release_response_msg::mutable_base_info() {
  1719. set_has_base_info();
  1720. if (base_info_ == NULL) {
  1721. base_info_ = new ::message::Base_info;
  1722. }
  1723. // @@protoc_insertion_point(field_mutable:message.Parkspace_release_response_msg.base_info)
  1724. return base_info_;
  1725. }
  1726. inline void Parkspace_release_response_msg::set_allocated_base_info(::message::Base_info* base_info) {
  1727. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1728. if (message_arena == NULL) {
  1729. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  1730. }
  1731. if (base_info) {
  1732. ::google::protobuf::Arena* submessage_arena = NULL;
  1733. if (message_arena != submessage_arena) {
  1734. base_info = ::google::protobuf::internal::GetOwnedMessage(
  1735. message_arena, base_info, submessage_arena);
  1736. }
  1737. set_has_base_info();
  1738. } else {
  1739. clear_has_base_info();
  1740. }
  1741. base_info_ = base_info;
  1742. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_release_response_msg.base_info)
  1743. }
  1744. // required int32 command_id = 2;
  1745. inline bool Parkspace_release_response_msg::has_command_id() const {
  1746. return (_has_bits_[0] & 0x00000008u) != 0;
  1747. }
  1748. inline void Parkspace_release_response_msg::set_has_command_id() {
  1749. _has_bits_[0] |= 0x00000008u;
  1750. }
  1751. inline void Parkspace_release_response_msg::clear_has_command_id() {
  1752. _has_bits_[0] &= ~0x00000008u;
  1753. }
  1754. inline void Parkspace_release_response_msg::clear_command_id() {
  1755. command_id_ = 0;
  1756. clear_has_command_id();
  1757. }
  1758. inline ::google::protobuf::int32 Parkspace_release_response_msg::command_id() const {
  1759. // @@protoc_insertion_point(field_get:message.Parkspace_release_response_msg.command_id)
  1760. return command_id_;
  1761. }
  1762. inline void Parkspace_release_response_msg::set_command_id(::google::protobuf::int32 value) {
  1763. set_has_command_id();
  1764. command_id_ = value;
  1765. // @@protoc_insertion_point(field_set:message.Parkspace_release_response_msg.command_id)
  1766. }
  1767. // required .message.Error_manager error_manager = 3;
  1768. inline bool Parkspace_release_response_msg::has_error_manager() const {
  1769. return (_has_bits_[0] & 0x00000002u) != 0;
  1770. }
  1771. inline void Parkspace_release_response_msg::set_has_error_manager() {
  1772. _has_bits_[0] |= 0x00000002u;
  1773. }
  1774. inline void Parkspace_release_response_msg::clear_has_error_manager() {
  1775. _has_bits_[0] &= ~0x00000002u;
  1776. }
  1777. inline const ::message::Error_manager& Parkspace_release_response_msg::error_manager() const {
  1778. const ::message::Error_manager* p = error_manager_;
  1779. // @@protoc_insertion_point(field_get:message.Parkspace_release_response_msg.error_manager)
  1780. return p != NULL ? *p : *reinterpret_cast<const ::message::Error_manager*>(
  1781. &::message::_Error_manager_default_instance_);
  1782. }
  1783. inline ::message::Error_manager* Parkspace_release_response_msg::release_error_manager() {
  1784. // @@protoc_insertion_point(field_release:message.Parkspace_release_response_msg.error_manager)
  1785. clear_has_error_manager();
  1786. ::message::Error_manager* temp = error_manager_;
  1787. error_manager_ = NULL;
  1788. return temp;
  1789. }
  1790. inline ::message::Error_manager* Parkspace_release_response_msg::mutable_error_manager() {
  1791. set_has_error_manager();
  1792. if (error_manager_ == NULL) {
  1793. error_manager_ = new ::message::Error_manager;
  1794. }
  1795. // @@protoc_insertion_point(field_mutable:message.Parkspace_release_response_msg.error_manager)
  1796. return error_manager_;
  1797. }
  1798. inline void Parkspace_release_response_msg::set_allocated_error_manager(::message::Error_manager* error_manager) {
  1799. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1800. if (message_arena == NULL) {
  1801. delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_manager_);
  1802. }
  1803. if (error_manager) {
  1804. ::google::protobuf::Arena* submessage_arena = NULL;
  1805. if (message_arena != submessage_arena) {
  1806. error_manager = ::google::protobuf::internal::GetOwnedMessage(
  1807. message_arena, error_manager, submessage_arena);
  1808. }
  1809. set_has_error_manager();
  1810. } else {
  1811. clear_has_error_manager();
  1812. }
  1813. error_manager_ = error_manager;
  1814. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_release_response_msg.error_manager)
  1815. }
  1816. // required .message.Parkspace_info release_space_info = 4;
  1817. inline bool Parkspace_release_response_msg::has_release_space_info() const {
  1818. return (_has_bits_[0] & 0x00000004u) != 0;
  1819. }
  1820. inline void Parkspace_release_response_msg::set_has_release_space_info() {
  1821. _has_bits_[0] |= 0x00000004u;
  1822. }
  1823. inline void Parkspace_release_response_msg::clear_has_release_space_info() {
  1824. _has_bits_[0] &= ~0x00000004u;
  1825. }
  1826. inline const ::message::Parkspace_info& Parkspace_release_response_msg::release_space_info() const {
  1827. const ::message::Parkspace_info* p = release_space_info_;
  1828. // @@protoc_insertion_point(field_get:message.Parkspace_release_response_msg.release_space_info)
  1829. return p != NULL ? *p : *reinterpret_cast<const ::message::Parkspace_info*>(
  1830. &::message::_Parkspace_info_default_instance_);
  1831. }
  1832. inline ::message::Parkspace_info* Parkspace_release_response_msg::release_release_space_info() {
  1833. // @@protoc_insertion_point(field_release:message.Parkspace_release_response_msg.release_space_info)
  1834. clear_has_release_space_info();
  1835. ::message::Parkspace_info* temp = release_space_info_;
  1836. release_space_info_ = NULL;
  1837. return temp;
  1838. }
  1839. inline ::message::Parkspace_info* Parkspace_release_response_msg::mutable_release_space_info() {
  1840. set_has_release_space_info();
  1841. if (release_space_info_ == NULL) {
  1842. release_space_info_ = new ::message::Parkspace_info;
  1843. }
  1844. // @@protoc_insertion_point(field_mutable:message.Parkspace_release_response_msg.release_space_info)
  1845. return release_space_info_;
  1846. }
  1847. inline void Parkspace_release_response_msg::set_allocated_release_space_info(::message::Parkspace_info* release_space_info) {
  1848. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1849. if (message_arena == NULL) {
  1850. delete reinterpret_cast< ::google::protobuf::MessageLite*>(release_space_info_);
  1851. }
  1852. if (release_space_info) {
  1853. ::google::protobuf::Arena* submessage_arena = NULL;
  1854. if (message_arena != submessage_arena) {
  1855. release_space_info = ::google::protobuf::internal::GetOwnedMessage(
  1856. message_arena, release_space_info, submessage_arena);
  1857. }
  1858. set_has_release_space_info();
  1859. } else {
  1860. clear_has_release_space_info();
  1861. }
  1862. release_space_info_ = release_space_info;
  1863. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_release_response_msg.release_space_info)
  1864. }
  1865. // -------------------------------------------------------------------
  1866. // Parkspace_allocation_status_msg
  1867. // required .message.Base_info base_info = 1;
  1868. inline bool Parkspace_allocation_status_msg::has_base_info() const {
  1869. return (_has_bits_[0] & 0x00000001u) != 0;
  1870. }
  1871. inline void Parkspace_allocation_status_msg::set_has_base_info() {
  1872. _has_bits_[0] |= 0x00000001u;
  1873. }
  1874. inline void Parkspace_allocation_status_msg::clear_has_base_info() {
  1875. _has_bits_[0] &= ~0x00000001u;
  1876. }
  1877. inline const ::message::Base_info& Parkspace_allocation_status_msg::base_info() const {
  1878. const ::message::Base_info* p = base_info_;
  1879. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_status_msg.base_info)
  1880. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  1881. &::message::_Base_info_default_instance_);
  1882. }
  1883. inline ::message::Base_info* Parkspace_allocation_status_msg::release_base_info() {
  1884. // @@protoc_insertion_point(field_release:message.Parkspace_allocation_status_msg.base_info)
  1885. clear_has_base_info();
  1886. ::message::Base_info* temp = base_info_;
  1887. base_info_ = NULL;
  1888. return temp;
  1889. }
  1890. inline ::message::Base_info* Parkspace_allocation_status_msg::mutable_base_info() {
  1891. set_has_base_info();
  1892. if (base_info_ == NULL) {
  1893. base_info_ = new ::message::Base_info;
  1894. }
  1895. // @@protoc_insertion_point(field_mutable:message.Parkspace_allocation_status_msg.base_info)
  1896. return base_info_;
  1897. }
  1898. inline void Parkspace_allocation_status_msg::set_allocated_base_info(::message::Base_info* base_info) {
  1899. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1900. if (message_arena == NULL) {
  1901. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  1902. }
  1903. if (base_info) {
  1904. ::google::protobuf::Arena* submessage_arena = NULL;
  1905. if (message_arena != submessage_arena) {
  1906. base_info = ::google::protobuf::internal::GetOwnedMessage(
  1907. message_arena, base_info, submessage_arena);
  1908. }
  1909. set_has_base_info();
  1910. } else {
  1911. clear_has_base_info();
  1912. }
  1913. base_info_ = base_info;
  1914. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_allocation_status_msg.base_info)
  1915. }
  1916. // required .message.Error_manager error_manager = 2;
  1917. inline bool Parkspace_allocation_status_msg::has_error_manager() const {
  1918. return (_has_bits_[0] & 0x00000002u) != 0;
  1919. }
  1920. inline void Parkspace_allocation_status_msg::set_has_error_manager() {
  1921. _has_bits_[0] |= 0x00000002u;
  1922. }
  1923. inline void Parkspace_allocation_status_msg::clear_has_error_manager() {
  1924. _has_bits_[0] &= ~0x00000002u;
  1925. }
  1926. inline const ::message::Error_manager& Parkspace_allocation_status_msg::error_manager() const {
  1927. const ::message::Error_manager* p = error_manager_;
  1928. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_status_msg.error_manager)
  1929. return p != NULL ? *p : *reinterpret_cast<const ::message::Error_manager*>(
  1930. &::message::_Error_manager_default_instance_);
  1931. }
  1932. inline ::message::Error_manager* Parkspace_allocation_status_msg::release_error_manager() {
  1933. // @@protoc_insertion_point(field_release:message.Parkspace_allocation_status_msg.error_manager)
  1934. clear_has_error_manager();
  1935. ::message::Error_manager* temp = error_manager_;
  1936. error_manager_ = NULL;
  1937. return temp;
  1938. }
  1939. inline ::message::Error_manager* Parkspace_allocation_status_msg::mutable_error_manager() {
  1940. set_has_error_manager();
  1941. if (error_manager_ == NULL) {
  1942. error_manager_ = new ::message::Error_manager;
  1943. }
  1944. // @@protoc_insertion_point(field_mutable:message.Parkspace_allocation_status_msg.error_manager)
  1945. return error_manager_;
  1946. }
  1947. inline void Parkspace_allocation_status_msg::set_allocated_error_manager(::message::Error_manager* error_manager) {
  1948. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1949. if (message_arena == NULL) {
  1950. delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_manager_);
  1951. }
  1952. if (error_manager) {
  1953. ::google::protobuf::Arena* submessage_arena = NULL;
  1954. if (message_arena != submessage_arena) {
  1955. error_manager = ::google::protobuf::internal::GetOwnedMessage(
  1956. message_arena, error_manager, submessage_arena);
  1957. }
  1958. set_has_error_manager();
  1959. } else {
  1960. clear_has_error_manager();
  1961. }
  1962. error_manager_ = error_manager;
  1963. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_allocation_status_msg.error_manager)
  1964. }
  1965. // repeated .message.Parkspace_info parkspace_info = 3;
  1966. inline int Parkspace_allocation_status_msg::parkspace_info_size() const {
  1967. return parkspace_info_.size();
  1968. }
  1969. inline const ::message::Parkspace_info& Parkspace_allocation_status_msg::parkspace_info(int index) const {
  1970. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_status_msg.parkspace_info)
  1971. return parkspace_info_.Get(index);
  1972. }
  1973. inline ::message::Parkspace_info* Parkspace_allocation_status_msg::mutable_parkspace_info(int index) {
  1974. // @@protoc_insertion_point(field_mutable:message.Parkspace_allocation_status_msg.parkspace_info)
  1975. return parkspace_info_.Mutable(index);
  1976. }
  1977. inline ::message::Parkspace_info* Parkspace_allocation_status_msg::add_parkspace_info() {
  1978. // @@protoc_insertion_point(field_add:message.Parkspace_allocation_status_msg.parkspace_info)
  1979. return parkspace_info_.Add();
  1980. }
  1981. inline ::google::protobuf::RepeatedPtrField< ::message::Parkspace_info >*
  1982. Parkspace_allocation_status_msg::mutable_parkspace_info() {
  1983. // @@protoc_insertion_point(field_mutable_list:message.Parkspace_allocation_status_msg.parkspace_info)
  1984. return &parkspace_info_;
  1985. }
  1986. inline const ::google::protobuf::RepeatedPtrField< ::message::Parkspace_info >&
  1987. Parkspace_allocation_status_msg::parkspace_info() const {
  1988. // @@protoc_insertion_point(field_list:message.Parkspace_allocation_status_msg.parkspace_info)
  1989. return parkspace_info_;
  1990. }
  1991. #ifdef __GNUC__
  1992. #pragma GCC diagnostic pop
  1993. #endif // __GNUC__
  1994. // -------------------------------------------------------------------
  1995. // -------------------------------------------------------------------
  1996. // -------------------------------------------------------------------
  1997. // -------------------------------------------------------------------
  1998. // -------------------------------------------------------------------
  1999. // -------------------------------------------------------------------
  2000. // @@protoc_insertion_point(namespace_scope)
  2001. } // namespace message
  2002. // @@protoc_insertion_point(global_scope)
  2003. #endif // PROTOBUF_parkspace_5fallocation_5fmessage_2eproto__INCLUDED