parkspace_allocation_message.pb.h 140 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: parkspace_allocation_message.proto
  3. #ifndef PROTOBUF_INCLUDED_parkspace_5fallocation_5fmessage_2eproto
  4. #define PROTOBUF_INCLUDED_parkspace_5fallocation_5fmessage_2eproto
  5. #include <string>
  6. #include <google/protobuf/stubs/common.h>
  7. #if GOOGLE_PROTOBUF_VERSION < 3006001
  8. #error This file was generated by a newer version of protoc which is
  9. #error incompatible with your Protocol Buffer headers. Please update
  10. #error your headers.
  11. #endif
  12. #if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
  13. #error This file was generated by an older version of protoc which is
  14. #error incompatible with your Protocol Buffer headers. Please
  15. #error regenerate this file with a newer version of protoc.
  16. #endif
  17. #include <google/protobuf/io/coded_stream.h>
  18. #include <google/protobuf/arena.h>
  19. #include <google/protobuf/arenastring.h>
  20. #include <google/protobuf/generated_message_table_driven.h>
  21. #include <google/protobuf/generated_message_util.h>
  22. #include <google/protobuf/inlined_string_field.h>
  23. #include <google/protobuf/metadata.h>
  24. #include <google/protobuf/message.h>
  25. #include <google/protobuf/repeated_field.h> // IWYU pragma: export
  26. #include <google/protobuf/extension_set.h> // IWYU pragma: export
  27. #include <google/protobuf/unknown_field_set.h>
  28. #include "message_base.pb.h"
  29. // @@protoc_insertion_point(includes)
  30. #define PROTOBUF_INTERNAL_EXPORT_protobuf_parkspace_5fallocation_5fmessage_2eproto
  31. namespace protobuf_parkspace_5fallocation_5fmessage_2eproto {
  32. // Internal implementation detail -- do not use these members.
  33. struct TableStruct {
  34. static const ::google::protobuf::internal::ParseTableField entries[];
  35. static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
  36. static const ::google::protobuf::internal::ParseTable schema[9];
  37. static const ::google::protobuf::internal::FieldMetadata field_metadata[];
  38. static const ::google::protobuf::internal::SerializationTable serialization_table[];
  39. static const ::google::protobuf::uint32 offsets[];
  40. };
  41. void AddDescriptors();
  42. } // namespace protobuf_parkspace_5fallocation_5fmessage_2eproto
  43. namespace message {
  44. class Parkspace_allocation_request_msg;
  45. class Parkspace_allocation_request_msgDefaultTypeInternal;
  46. extern Parkspace_allocation_request_msgDefaultTypeInternal _Parkspace_allocation_request_msg_default_instance_;
  47. class Parkspace_allocation_response_msg;
  48. class Parkspace_allocation_response_msgDefaultTypeInternal;
  49. extern Parkspace_allocation_response_msgDefaultTypeInternal _Parkspace_allocation_response_msg_default_instance_;
  50. class Parkspace_allocation_status_msg;
  51. class Parkspace_allocation_status_msgDefaultTypeInternal;
  52. extern Parkspace_allocation_status_msgDefaultTypeInternal _Parkspace_allocation_status_msg_default_instance_;
  53. class Parkspace_confirm_alloc_request_msg;
  54. class Parkspace_confirm_alloc_request_msgDefaultTypeInternal;
  55. extern Parkspace_confirm_alloc_request_msgDefaultTypeInternal _Parkspace_confirm_alloc_request_msg_default_instance_;
  56. class Parkspace_confirm_alloc_response_msg;
  57. class Parkspace_confirm_alloc_response_msgDefaultTypeInternal;
  58. extern Parkspace_confirm_alloc_response_msgDefaultTypeInternal _Parkspace_confirm_alloc_response_msg_default_instance_;
  59. class Parkspace_release_request_msg;
  60. class Parkspace_release_request_msgDefaultTypeInternal;
  61. extern Parkspace_release_request_msgDefaultTypeInternal _Parkspace_release_request_msg_default_instance_;
  62. class Parkspace_release_response_msg;
  63. class Parkspace_release_response_msgDefaultTypeInternal;
  64. extern Parkspace_release_response_msgDefaultTypeInternal _Parkspace_release_response_msg_default_instance_;
  65. class Parkspace_search_request_msg;
  66. class Parkspace_search_request_msgDefaultTypeInternal;
  67. extern Parkspace_search_request_msgDefaultTypeInternal _Parkspace_search_request_msg_default_instance_;
  68. class Parkspace_search_response_msg;
  69. class Parkspace_search_response_msgDefaultTypeInternal;
  70. extern Parkspace_search_response_msgDefaultTypeInternal _Parkspace_search_response_msg_default_instance_;
  71. } // namespace message
  72. namespace google {
  73. namespace protobuf {
  74. template<> ::message::Parkspace_allocation_request_msg* Arena::CreateMaybeMessage<::message::Parkspace_allocation_request_msg>(Arena*);
  75. template<> ::message::Parkspace_allocation_response_msg* Arena::CreateMaybeMessage<::message::Parkspace_allocation_response_msg>(Arena*);
  76. template<> ::message::Parkspace_allocation_status_msg* Arena::CreateMaybeMessage<::message::Parkspace_allocation_status_msg>(Arena*);
  77. template<> ::message::Parkspace_confirm_alloc_request_msg* Arena::CreateMaybeMessage<::message::Parkspace_confirm_alloc_request_msg>(Arena*);
  78. template<> ::message::Parkspace_confirm_alloc_response_msg* Arena::CreateMaybeMessage<::message::Parkspace_confirm_alloc_response_msg>(Arena*);
  79. template<> ::message::Parkspace_release_request_msg* Arena::CreateMaybeMessage<::message::Parkspace_release_request_msg>(Arena*);
  80. template<> ::message::Parkspace_release_response_msg* Arena::CreateMaybeMessage<::message::Parkspace_release_response_msg>(Arena*);
  81. template<> ::message::Parkspace_search_request_msg* Arena::CreateMaybeMessage<::message::Parkspace_search_request_msg>(Arena*);
  82. template<> ::message::Parkspace_search_response_msg* Arena::CreateMaybeMessage<::message::Parkspace_search_response_msg>(Arena*);
  83. } // namespace protobuf
  84. } // namespace google
  85. namespace message {
  86. // ===================================================================
  87. class Parkspace_allocation_request_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Parkspace_allocation_request_msg) */ {
  88. public:
  89. Parkspace_allocation_request_msg();
  90. virtual ~Parkspace_allocation_request_msg();
  91. Parkspace_allocation_request_msg(const Parkspace_allocation_request_msg& from);
  92. inline Parkspace_allocation_request_msg& operator=(const Parkspace_allocation_request_msg& from) {
  93. CopyFrom(from);
  94. return *this;
  95. }
  96. #if LANG_CXX11
  97. Parkspace_allocation_request_msg(Parkspace_allocation_request_msg&& from) noexcept
  98. : Parkspace_allocation_request_msg() {
  99. *this = ::std::move(from);
  100. }
  101. inline Parkspace_allocation_request_msg& operator=(Parkspace_allocation_request_msg&& from) noexcept {
  102. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  103. if (this != &from) InternalSwap(&from);
  104. } else {
  105. CopyFrom(from);
  106. }
  107. return *this;
  108. }
  109. #endif
  110. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  111. return _internal_metadata_.unknown_fields();
  112. }
  113. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  114. return _internal_metadata_.mutable_unknown_fields();
  115. }
  116. static const ::google::protobuf::Descriptor* descriptor();
  117. static const Parkspace_allocation_request_msg& default_instance();
  118. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  119. static inline const Parkspace_allocation_request_msg* internal_default_instance() {
  120. return reinterpret_cast<const Parkspace_allocation_request_msg*>(
  121. &_Parkspace_allocation_request_msg_default_instance_);
  122. }
  123. static constexpr int kIndexInFileMessages =
  124. 0;
  125. void Swap(Parkspace_allocation_request_msg* other);
  126. friend void swap(Parkspace_allocation_request_msg& a, Parkspace_allocation_request_msg& b) {
  127. a.Swap(&b);
  128. }
  129. // implements Message ----------------------------------------------
  130. inline Parkspace_allocation_request_msg* New() const final {
  131. return CreateMaybeMessage<Parkspace_allocation_request_msg>(NULL);
  132. }
  133. Parkspace_allocation_request_msg* New(::google::protobuf::Arena* arena) const final {
  134. return CreateMaybeMessage<Parkspace_allocation_request_msg>(arena);
  135. }
  136. void CopyFrom(const ::google::protobuf::Message& from) final;
  137. void MergeFrom(const ::google::protobuf::Message& from) final;
  138. void CopyFrom(const Parkspace_allocation_request_msg& from);
  139. void MergeFrom(const Parkspace_allocation_request_msg& from);
  140. void Clear() final;
  141. bool IsInitialized() const final;
  142. size_t ByteSizeLong() const final;
  143. bool MergePartialFromCodedStream(
  144. ::google::protobuf::io::CodedInputStream* input) final;
  145. void SerializeWithCachedSizes(
  146. ::google::protobuf::io::CodedOutputStream* output) const final;
  147. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  148. bool deterministic, ::google::protobuf::uint8* target) const final;
  149. int GetCachedSize() const final { return _cached_size_.Get(); }
  150. private:
  151. void SharedCtor();
  152. void SharedDtor();
  153. void SetCachedSize(int size) const final;
  154. void InternalSwap(Parkspace_allocation_request_msg* other);
  155. private:
  156. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  157. return NULL;
  158. }
  159. inline void* MaybeArenaPtr() const {
  160. return NULL;
  161. }
  162. public:
  163. ::google::protobuf::Metadata GetMetadata() const final;
  164. // nested types ----------------------------------------------------
  165. // accessors -------------------------------------------------------
  166. // required string command_key = 2;
  167. bool has_command_key() const;
  168. void clear_command_key();
  169. static const int kCommandKeyFieldNumber = 2;
  170. const ::std::string& command_key() const;
  171. void set_command_key(const ::std::string& value);
  172. #if LANG_CXX11
  173. void set_command_key(::std::string&& value);
  174. #endif
  175. void set_command_key(const char* value);
  176. void set_command_key(const char* value, size_t size);
  177. ::std::string* mutable_command_key();
  178. ::std::string* release_command_key();
  179. void set_allocated_command_key(::std::string* command_key);
  180. // required .message.Base_info base_info = 1;
  181. bool has_base_info() const;
  182. void clear_base_info();
  183. static const int kBaseInfoFieldNumber = 1;
  184. private:
  185. const ::message::Base_info& _internal_base_info() const;
  186. public:
  187. const ::message::Base_info& base_info() const;
  188. ::message::Base_info* release_base_info();
  189. ::message::Base_info* mutable_base_info();
  190. void set_allocated_base_info(::message::Base_info* base_info);
  191. // required .message.Car_info car_info = 3;
  192. bool has_car_info() const;
  193. void clear_car_info();
  194. static const int kCarInfoFieldNumber = 3;
  195. private:
  196. const ::message::Car_info& _internal_car_info() const;
  197. public:
  198. const ::message::Car_info& car_info() const;
  199. ::message::Car_info* release_car_info();
  200. ::message::Car_info* mutable_car_info();
  201. void set_allocated_car_info(::message::Car_info* car_info);
  202. // required int32 terminal_id = 4;
  203. bool has_terminal_id() const;
  204. void clear_terminal_id();
  205. static const int kTerminalIdFieldNumber = 4;
  206. ::google::protobuf::int32 terminal_id() const;
  207. void set_terminal_id(::google::protobuf::int32 value);
  208. // @@protoc_insertion_point(class_scope:message.Parkspace_allocation_request_msg)
  209. private:
  210. void set_has_base_info();
  211. void clear_has_base_info();
  212. void set_has_command_key();
  213. void clear_has_command_key();
  214. void set_has_car_info();
  215. void clear_has_car_info();
  216. void set_has_terminal_id();
  217. void clear_has_terminal_id();
  218. // helper for ByteSizeLong()
  219. size_t RequiredFieldsByteSizeFallback() const;
  220. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  221. ::google::protobuf::internal::HasBits<1> _has_bits_;
  222. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  223. ::google::protobuf::internal::ArenaStringPtr command_key_;
  224. ::message::Base_info* base_info_;
  225. ::message::Car_info* car_info_;
  226. ::google::protobuf::int32 terminal_id_;
  227. friend struct ::protobuf_parkspace_5fallocation_5fmessage_2eproto::TableStruct;
  228. };
  229. // -------------------------------------------------------------------
  230. class Parkspace_allocation_response_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Parkspace_allocation_response_msg) */ {
  231. public:
  232. Parkspace_allocation_response_msg();
  233. virtual ~Parkspace_allocation_response_msg();
  234. Parkspace_allocation_response_msg(const Parkspace_allocation_response_msg& from);
  235. inline Parkspace_allocation_response_msg& operator=(const Parkspace_allocation_response_msg& from) {
  236. CopyFrom(from);
  237. return *this;
  238. }
  239. #if LANG_CXX11
  240. Parkspace_allocation_response_msg(Parkspace_allocation_response_msg&& from) noexcept
  241. : Parkspace_allocation_response_msg() {
  242. *this = ::std::move(from);
  243. }
  244. inline Parkspace_allocation_response_msg& operator=(Parkspace_allocation_response_msg&& from) noexcept {
  245. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  246. if (this != &from) InternalSwap(&from);
  247. } else {
  248. CopyFrom(from);
  249. }
  250. return *this;
  251. }
  252. #endif
  253. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  254. return _internal_metadata_.unknown_fields();
  255. }
  256. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  257. return _internal_metadata_.mutable_unknown_fields();
  258. }
  259. static const ::google::protobuf::Descriptor* descriptor();
  260. static const Parkspace_allocation_response_msg& default_instance();
  261. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  262. static inline const Parkspace_allocation_response_msg* internal_default_instance() {
  263. return reinterpret_cast<const Parkspace_allocation_response_msg*>(
  264. &_Parkspace_allocation_response_msg_default_instance_);
  265. }
  266. static constexpr int kIndexInFileMessages =
  267. 1;
  268. void Swap(Parkspace_allocation_response_msg* other);
  269. friend void swap(Parkspace_allocation_response_msg& a, Parkspace_allocation_response_msg& b) {
  270. a.Swap(&b);
  271. }
  272. // implements Message ----------------------------------------------
  273. inline Parkspace_allocation_response_msg* New() const final {
  274. return CreateMaybeMessage<Parkspace_allocation_response_msg>(NULL);
  275. }
  276. Parkspace_allocation_response_msg* New(::google::protobuf::Arena* arena) const final {
  277. return CreateMaybeMessage<Parkspace_allocation_response_msg>(arena);
  278. }
  279. void CopyFrom(const ::google::protobuf::Message& from) final;
  280. void MergeFrom(const ::google::protobuf::Message& from) final;
  281. void CopyFrom(const Parkspace_allocation_response_msg& from);
  282. void MergeFrom(const Parkspace_allocation_response_msg& from);
  283. void Clear() final;
  284. bool IsInitialized() const final;
  285. size_t ByteSizeLong() const final;
  286. bool MergePartialFromCodedStream(
  287. ::google::protobuf::io::CodedInputStream* input) final;
  288. void SerializeWithCachedSizes(
  289. ::google::protobuf::io::CodedOutputStream* output) const final;
  290. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  291. bool deterministic, ::google::protobuf::uint8* target) const final;
  292. int GetCachedSize() const final { return _cached_size_.Get(); }
  293. private:
  294. void SharedCtor();
  295. void SharedDtor();
  296. void SetCachedSize(int size) const final;
  297. void InternalSwap(Parkspace_allocation_response_msg* other);
  298. private:
  299. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  300. return NULL;
  301. }
  302. inline void* MaybeArenaPtr() const {
  303. return NULL;
  304. }
  305. public:
  306. ::google::protobuf::Metadata GetMetadata() const final;
  307. // nested types ----------------------------------------------------
  308. // accessors -------------------------------------------------------
  309. // required string command_key = 2;
  310. bool has_command_key() const;
  311. void clear_command_key();
  312. static const int kCommandKeyFieldNumber = 2;
  313. const ::std::string& command_key() const;
  314. void set_command_key(const ::std::string& value);
  315. #if LANG_CXX11
  316. void set_command_key(::std::string&& value);
  317. #endif
  318. void set_command_key(const char* value);
  319. void set_command_key(const char* value, size_t size);
  320. ::std::string* mutable_command_key();
  321. ::std::string* release_command_key();
  322. void set_allocated_command_key(::std::string* command_key);
  323. // required .message.Base_info base_info = 1;
  324. bool has_base_info() const;
  325. void clear_base_info();
  326. static const int kBaseInfoFieldNumber = 1;
  327. private:
  328. const ::message::Base_info& _internal_base_info() const;
  329. public:
  330. const ::message::Base_info& base_info() const;
  331. ::message::Base_info* release_base_info();
  332. ::message::Base_info* mutable_base_info();
  333. void set_allocated_base_info(::message::Base_info* base_info);
  334. // required .message.Error_manager error_manager = 3;
  335. bool has_error_manager() const;
  336. void clear_error_manager();
  337. static const int kErrorManagerFieldNumber = 3;
  338. private:
  339. const ::message::Error_manager& _internal_error_manager() const;
  340. public:
  341. const ::message::Error_manager& error_manager() const;
  342. ::message::Error_manager* release_error_manager();
  343. ::message::Error_manager* mutable_error_manager();
  344. void set_allocated_error_manager(::message::Error_manager* error_manager);
  345. // required .message.Parkspace_info allocated_space_info = 4;
  346. bool has_allocated_space_info() const;
  347. void clear_allocated_space_info();
  348. static const int kAllocatedSpaceInfoFieldNumber = 4;
  349. private:
  350. const ::message::Parkspace_info& _internal_allocated_space_info() const;
  351. public:
  352. const ::message::Parkspace_info& allocated_space_info() const;
  353. ::message::Parkspace_info* release_allocated_space_info();
  354. ::message::Parkspace_info* mutable_allocated_space_info();
  355. void set_allocated_allocated_space_info(::message::Parkspace_info* allocated_space_info);
  356. // @@protoc_insertion_point(class_scope:message.Parkspace_allocation_response_msg)
  357. private:
  358. void set_has_base_info();
  359. void clear_has_base_info();
  360. void set_has_command_key();
  361. void clear_has_command_key();
  362. void set_has_error_manager();
  363. void clear_has_error_manager();
  364. void set_has_allocated_space_info();
  365. void clear_has_allocated_space_info();
  366. // helper for ByteSizeLong()
  367. size_t RequiredFieldsByteSizeFallback() const;
  368. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  369. ::google::protobuf::internal::HasBits<1> _has_bits_;
  370. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  371. ::google::protobuf::internal::ArenaStringPtr command_key_;
  372. ::message::Base_info* base_info_;
  373. ::message::Error_manager* error_manager_;
  374. ::message::Parkspace_info* allocated_space_info_;
  375. friend struct ::protobuf_parkspace_5fallocation_5fmessage_2eproto::TableStruct;
  376. };
  377. // -------------------------------------------------------------------
  378. class Parkspace_search_request_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Parkspace_search_request_msg) */ {
  379. public:
  380. Parkspace_search_request_msg();
  381. virtual ~Parkspace_search_request_msg();
  382. Parkspace_search_request_msg(const Parkspace_search_request_msg& from);
  383. inline Parkspace_search_request_msg& operator=(const Parkspace_search_request_msg& from) {
  384. CopyFrom(from);
  385. return *this;
  386. }
  387. #if LANG_CXX11
  388. Parkspace_search_request_msg(Parkspace_search_request_msg&& from) noexcept
  389. : Parkspace_search_request_msg() {
  390. *this = ::std::move(from);
  391. }
  392. inline Parkspace_search_request_msg& operator=(Parkspace_search_request_msg&& from) noexcept {
  393. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  394. if (this != &from) InternalSwap(&from);
  395. } else {
  396. CopyFrom(from);
  397. }
  398. return *this;
  399. }
  400. #endif
  401. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  402. return _internal_metadata_.unknown_fields();
  403. }
  404. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  405. return _internal_metadata_.mutable_unknown_fields();
  406. }
  407. static const ::google::protobuf::Descriptor* descriptor();
  408. static const Parkspace_search_request_msg& default_instance();
  409. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  410. static inline const Parkspace_search_request_msg* internal_default_instance() {
  411. return reinterpret_cast<const Parkspace_search_request_msg*>(
  412. &_Parkspace_search_request_msg_default_instance_);
  413. }
  414. static constexpr int kIndexInFileMessages =
  415. 2;
  416. void Swap(Parkspace_search_request_msg* other);
  417. friend void swap(Parkspace_search_request_msg& a, Parkspace_search_request_msg& b) {
  418. a.Swap(&b);
  419. }
  420. // implements Message ----------------------------------------------
  421. inline Parkspace_search_request_msg* New() const final {
  422. return CreateMaybeMessage<Parkspace_search_request_msg>(NULL);
  423. }
  424. Parkspace_search_request_msg* New(::google::protobuf::Arena* arena) const final {
  425. return CreateMaybeMessage<Parkspace_search_request_msg>(arena);
  426. }
  427. void CopyFrom(const ::google::protobuf::Message& from) final;
  428. void MergeFrom(const ::google::protobuf::Message& from) final;
  429. void CopyFrom(const Parkspace_search_request_msg& from);
  430. void MergeFrom(const Parkspace_search_request_msg& from);
  431. void Clear() final;
  432. bool IsInitialized() const final;
  433. size_t ByteSizeLong() const final;
  434. bool MergePartialFromCodedStream(
  435. ::google::protobuf::io::CodedInputStream* input) final;
  436. void SerializeWithCachedSizes(
  437. ::google::protobuf::io::CodedOutputStream* output) const final;
  438. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  439. bool deterministic, ::google::protobuf::uint8* target) const final;
  440. int GetCachedSize() const final { return _cached_size_.Get(); }
  441. private:
  442. void SharedCtor();
  443. void SharedDtor();
  444. void SetCachedSize(int size) const final;
  445. void InternalSwap(Parkspace_search_request_msg* other);
  446. private:
  447. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  448. return NULL;
  449. }
  450. inline void* MaybeArenaPtr() const {
  451. return NULL;
  452. }
  453. public:
  454. ::google::protobuf::Metadata GetMetadata() const final;
  455. // nested types ----------------------------------------------------
  456. // accessors -------------------------------------------------------
  457. // required string command_key = 2;
  458. bool has_command_key() const;
  459. void clear_command_key();
  460. static const int kCommandKeyFieldNumber = 2;
  461. const ::std::string& command_key() const;
  462. void set_command_key(const ::std::string& value);
  463. #if LANG_CXX11
  464. void set_command_key(::std::string&& value);
  465. #endif
  466. void set_command_key(const char* value);
  467. void set_command_key(const char* value, size_t size);
  468. ::std::string* mutable_command_key();
  469. ::std::string* release_command_key();
  470. void set_allocated_command_key(::std::string* command_key);
  471. // required .message.Base_info base_info = 1;
  472. bool has_base_info() const;
  473. void clear_base_info();
  474. static const int kBaseInfoFieldNumber = 1;
  475. private:
  476. const ::message::Base_info& _internal_base_info() const;
  477. public:
  478. const ::message::Base_info& base_info() const;
  479. ::message::Base_info* release_base_info();
  480. ::message::Base_info* mutable_base_info();
  481. void set_allocated_base_info(::message::Base_info* base_info);
  482. // required .message.Car_info car_info = 3;
  483. bool has_car_info() const;
  484. void clear_car_info();
  485. static const int kCarInfoFieldNumber = 3;
  486. private:
  487. const ::message::Car_info& _internal_car_info() const;
  488. public:
  489. const ::message::Car_info& car_info() const;
  490. ::message::Car_info* release_car_info();
  491. ::message::Car_info* mutable_car_info();
  492. void set_allocated_car_info(::message::Car_info* car_info);
  493. // @@protoc_insertion_point(class_scope:message.Parkspace_search_request_msg)
  494. private:
  495. void set_has_base_info();
  496. void clear_has_base_info();
  497. void set_has_command_key();
  498. void clear_has_command_key();
  499. void set_has_car_info();
  500. void clear_has_car_info();
  501. // helper for ByteSizeLong()
  502. size_t RequiredFieldsByteSizeFallback() const;
  503. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  504. ::google::protobuf::internal::HasBits<1> _has_bits_;
  505. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  506. ::google::protobuf::internal::ArenaStringPtr command_key_;
  507. ::message::Base_info* base_info_;
  508. ::message::Car_info* car_info_;
  509. friend struct ::protobuf_parkspace_5fallocation_5fmessage_2eproto::TableStruct;
  510. };
  511. // -------------------------------------------------------------------
  512. class Parkspace_search_response_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Parkspace_search_response_msg) */ {
  513. public:
  514. Parkspace_search_response_msg();
  515. virtual ~Parkspace_search_response_msg();
  516. Parkspace_search_response_msg(const Parkspace_search_response_msg& from);
  517. inline Parkspace_search_response_msg& operator=(const Parkspace_search_response_msg& from) {
  518. CopyFrom(from);
  519. return *this;
  520. }
  521. #if LANG_CXX11
  522. Parkspace_search_response_msg(Parkspace_search_response_msg&& from) noexcept
  523. : Parkspace_search_response_msg() {
  524. *this = ::std::move(from);
  525. }
  526. inline Parkspace_search_response_msg& operator=(Parkspace_search_response_msg&& from) noexcept {
  527. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  528. if (this != &from) InternalSwap(&from);
  529. } else {
  530. CopyFrom(from);
  531. }
  532. return *this;
  533. }
  534. #endif
  535. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  536. return _internal_metadata_.unknown_fields();
  537. }
  538. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  539. return _internal_metadata_.mutable_unknown_fields();
  540. }
  541. static const ::google::protobuf::Descriptor* descriptor();
  542. static const Parkspace_search_response_msg& default_instance();
  543. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  544. static inline const Parkspace_search_response_msg* internal_default_instance() {
  545. return reinterpret_cast<const Parkspace_search_response_msg*>(
  546. &_Parkspace_search_response_msg_default_instance_);
  547. }
  548. static constexpr int kIndexInFileMessages =
  549. 3;
  550. void Swap(Parkspace_search_response_msg* other);
  551. friend void swap(Parkspace_search_response_msg& a, Parkspace_search_response_msg& b) {
  552. a.Swap(&b);
  553. }
  554. // implements Message ----------------------------------------------
  555. inline Parkspace_search_response_msg* New() const final {
  556. return CreateMaybeMessage<Parkspace_search_response_msg>(NULL);
  557. }
  558. Parkspace_search_response_msg* New(::google::protobuf::Arena* arena) const final {
  559. return CreateMaybeMessage<Parkspace_search_response_msg>(arena);
  560. }
  561. void CopyFrom(const ::google::protobuf::Message& from) final;
  562. void MergeFrom(const ::google::protobuf::Message& from) final;
  563. void CopyFrom(const Parkspace_search_response_msg& from);
  564. void MergeFrom(const Parkspace_search_response_msg& from);
  565. void Clear() final;
  566. bool IsInitialized() const final;
  567. size_t ByteSizeLong() const final;
  568. bool MergePartialFromCodedStream(
  569. ::google::protobuf::io::CodedInputStream* input) final;
  570. void SerializeWithCachedSizes(
  571. ::google::protobuf::io::CodedOutputStream* output) const final;
  572. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  573. bool deterministic, ::google::protobuf::uint8* target) const final;
  574. int GetCachedSize() const final { return _cached_size_.Get(); }
  575. private:
  576. void SharedCtor();
  577. void SharedDtor();
  578. void SetCachedSize(int size) const final;
  579. void InternalSwap(Parkspace_search_response_msg* other);
  580. private:
  581. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  582. return NULL;
  583. }
  584. inline void* MaybeArenaPtr() const {
  585. return NULL;
  586. }
  587. public:
  588. ::google::protobuf::Metadata GetMetadata() const final;
  589. // nested types ----------------------------------------------------
  590. // accessors -------------------------------------------------------
  591. // required string command_key = 2;
  592. bool has_command_key() const;
  593. void clear_command_key();
  594. static const int kCommandKeyFieldNumber = 2;
  595. const ::std::string& command_key() const;
  596. void set_command_key(const ::std::string& value);
  597. #if LANG_CXX11
  598. void set_command_key(::std::string&& value);
  599. #endif
  600. void set_command_key(const char* value);
  601. void set_command_key(const char* value, size_t size);
  602. ::std::string* mutable_command_key();
  603. ::std::string* release_command_key();
  604. void set_allocated_command_key(::std::string* command_key);
  605. // required .message.Base_info base_info = 1;
  606. bool has_base_info() const;
  607. void clear_base_info();
  608. static const int kBaseInfoFieldNumber = 1;
  609. private:
  610. const ::message::Base_info& _internal_base_info() const;
  611. public:
  612. const ::message::Base_info& base_info() const;
  613. ::message::Base_info* release_base_info();
  614. ::message::Base_info* mutable_base_info();
  615. void set_allocated_base_info(::message::Base_info* base_info);
  616. // required .message.Error_manager error_manager = 3;
  617. bool has_error_manager() const;
  618. void clear_error_manager();
  619. static const int kErrorManagerFieldNumber = 3;
  620. private:
  621. const ::message::Error_manager& _internal_error_manager() const;
  622. public:
  623. const ::message::Error_manager& error_manager() const;
  624. ::message::Error_manager* release_error_manager();
  625. ::message::Error_manager* mutable_error_manager();
  626. void set_allocated_error_manager(::message::Error_manager* error_manager);
  627. // optional .message.Parkspace_info car_position = 4;
  628. bool has_car_position() const;
  629. void clear_car_position();
  630. static const int kCarPositionFieldNumber = 4;
  631. private:
  632. const ::message::Parkspace_info& _internal_car_position() const;
  633. public:
  634. const ::message::Parkspace_info& car_position() const;
  635. ::message::Parkspace_info* release_car_position();
  636. ::message::Parkspace_info* mutable_car_position();
  637. void set_allocated_car_position(::message::Parkspace_info* car_position);
  638. // @@protoc_insertion_point(class_scope:message.Parkspace_search_response_msg)
  639. private:
  640. void set_has_base_info();
  641. void clear_has_base_info();
  642. void set_has_command_key();
  643. void clear_has_command_key();
  644. void set_has_error_manager();
  645. void clear_has_error_manager();
  646. void set_has_car_position();
  647. void clear_has_car_position();
  648. // helper for ByteSizeLong()
  649. size_t RequiredFieldsByteSizeFallback() const;
  650. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  651. ::google::protobuf::internal::HasBits<1> _has_bits_;
  652. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  653. ::google::protobuf::internal::ArenaStringPtr command_key_;
  654. ::message::Base_info* base_info_;
  655. ::message::Error_manager* error_manager_;
  656. ::message::Parkspace_info* car_position_;
  657. friend struct ::protobuf_parkspace_5fallocation_5fmessage_2eproto::TableStruct;
  658. };
  659. // -------------------------------------------------------------------
  660. class Parkspace_release_request_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Parkspace_release_request_msg) */ {
  661. public:
  662. Parkspace_release_request_msg();
  663. virtual ~Parkspace_release_request_msg();
  664. Parkspace_release_request_msg(const Parkspace_release_request_msg& from);
  665. inline Parkspace_release_request_msg& operator=(const Parkspace_release_request_msg& from) {
  666. CopyFrom(from);
  667. return *this;
  668. }
  669. #if LANG_CXX11
  670. Parkspace_release_request_msg(Parkspace_release_request_msg&& from) noexcept
  671. : Parkspace_release_request_msg() {
  672. *this = ::std::move(from);
  673. }
  674. inline Parkspace_release_request_msg& operator=(Parkspace_release_request_msg&& from) noexcept {
  675. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  676. if (this != &from) InternalSwap(&from);
  677. } else {
  678. CopyFrom(from);
  679. }
  680. return *this;
  681. }
  682. #endif
  683. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  684. return _internal_metadata_.unknown_fields();
  685. }
  686. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  687. return _internal_metadata_.mutable_unknown_fields();
  688. }
  689. static const ::google::protobuf::Descriptor* descriptor();
  690. static const Parkspace_release_request_msg& default_instance();
  691. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  692. static inline const Parkspace_release_request_msg* internal_default_instance() {
  693. return reinterpret_cast<const Parkspace_release_request_msg*>(
  694. &_Parkspace_release_request_msg_default_instance_);
  695. }
  696. static constexpr int kIndexInFileMessages =
  697. 4;
  698. void Swap(Parkspace_release_request_msg* other);
  699. friend void swap(Parkspace_release_request_msg& a, Parkspace_release_request_msg& b) {
  700. a.Swap(&b);
  701. }
  702. // implements Message ----------------------------------------------
  703. inline Parkspace_release_request_msg* New() const final {
  704. return CreateMaybeMessage<Parkspace_release_request_msg>(NULL);
  705. }
  706. Parkspace_release_request_msg* New(::google::protobuf::Arena* arena) const final {
  707. return CreateMaybeMessage<Parkspace_release_request_msg>(arena);
  708. }
  709. void CopyFrom(const ::google::protobuf::Message& from) final;
  710. void MergeFrom(const ::google::protobuf::Message& from) final;
  711. void CopyFrom(const Parkspace_release_request_msg& from);
  712. void MergeFrom(const Parkspace_release_request_msg& from);
  713. void Clear() final;
  714. bool IsInitialized() const final;
  715. size_t ByteSizeLong() const final;
  716. bool MergePartialFromCodedStream(
  717. ::google::protobuf::io::CodedInputStream* input) final;
  718. void SerializeWithCachedSizes(
  719. ::google::protobuf::io::CodedOutputStream* output) const final;
  720. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  721. bool deterministic, ::google::protobuf::uint8* target) const final;
  722. int GetCachedSize() const final { return _cached_size_.Get(); }
  723. private:
  724. void SharedCtor();
  725. void SharedDtor();
  726. void SetCachedSize(int size) const final;
  727. void InternalSwap(Parkspace_release_request_msg* other);
  728. private:
  729. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  730. return NULL;
  731. }
  732. inline void* MaybeArenaPtr() const {
  733. return NULL;
  734. }
  735. public:
  736. ::google::protobuf::Metadata GetMetadata() const final;
  737. // nested types ----------------------------------------------------
  738. // accessors -------------------------------------------------------
  739. // required string command_key = 2;
  740. bool has_command_key() const;
  741. void clear_command_key();
  742. static const int kCommandKeyFieldNumber = 2;
  743. const ::std::string& command_key() const;
  744. void set_command_key(const ::std::string& value);
  745. #if LANG_CXX11
  746. void set_command_key(::std::string&& value);
  747. #endif
  748. void set_command_key(const char* value);
  749. void set_command_key(const char* value, size_t size);
  750. ::std::string* mutable_command_key();
  751. ::std::string* release_command_key();
  752. void set_allocated_command_key(::std::string* command_key);
  753. // required .message.Base_info base_info = 1;
  754. bool has_base_info() const;
  755. void clear_base_info();
  756. static const int kBaseInfoFieldNumber = 1;
  757. private:
  758. const ::message::Base_info& _internal_base_info() const;
  759. public:
  760. const ::message::Base_info& base_info() const;
  761. ::message::Base_info* release_base_info();
  762. ::message::Base_info* mutable_base_info();
  763. void set_allocated_base_info(::message::Base_info* base_info);
  764. // required .message.Parkspace_info release_space_info = 3;
  765. bool has_release_space_info() const;
  766. void clear_release_space_info();
  767. static const int kReleaseSpaceInfoFieldNumber = 3;
  768. private:
  769. const ::message::Parkspace_info& _internal_release_space_info() const;
  770. public:
  771. const ::message::Parkspace_info& release_space_info() const;
  772. ::message::Parkspace_info* release_release_space_info();
  773. ::message::Parkspace_info* mutable_release_space_info();
  774. void set_allocated_release_space_info(::message::Parkspace_info* release_space_info);
  775. // @@protoc_insertion_point(class_scope:message.Parkspace_release_request_msg)
  776. private:
  777. void set_has_base_info();
  778. void clear_has_base_info();
  779. void set_has_command_key();
  780. void clear_has_command_key();
  781. void set_has_release_space_info();
  782. void clear_has_release_space_info();
  783. // helper for ByteSizeLong()
  784. size_t RequiredFieldsByteSizeFallback() const;
  785. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  786. ::google::protobuf::internal::HasBits<1> _has_bits_;
  787. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  788. ::google::protobuf::internal::ArenaStringPtr command_key_;
  789. ::message::Base_info* base_info_;
  790. ::message::Parkspace_info* release_space_info_;
  791. friend struct ::protobuf_parkspace_5fallocation_5fmessage_2eproto::TableStruct;
  792. };
  793. // -------------------------------------------------------------------
  794. class Parkspace_release_response_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Parkspace_release_response_msg) */ {
  795. public:
  796. Parkspace_release_response_msg();
  797. virtual ~Parkspace_release_response_msg();
  798. Parkspace_release_response_msg(const Parkspace_release_response_msg& from);
  799. inline Parkspace_release_response_msg& operator=(const Parkspace_release_response_msg& from) {
  800. CopyFrom(from);
  801. return *this;
  802. }
  803. #if LANG_CXX11
  804. Parkspace_release_response_msg(Parkspace_release_response_msg&& from) noexcept
  805. : Parkspace_release_response_msg() {
  806. *this = ::std::move(from);
  807. }
  808. inline Parkspace_release_response_msg& operator=(Parkspace_release_response_msg&& from) noexcept {
  809. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  810. if (this != &from) InternalSwap(&from);
  811. } else {
  812. CopyFrom(from);
  813. }
  814. return *this;
  815. }
  816. #endif
  817. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  818. return _internal_metadata_.unknown_fields();
  819. }
  820. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  821. return _internal_metadata_.mutable_unknown_fields();
  822. }
  823. static const ::google::protobuf::Descriptor* descriptor();
  824. static const Parkspace_release_response_msg& default_instance();
  825. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  826. static inline const Parkspace_release_response_msg* internal_default_instance() {
  827. return reinterpret_cast<const Parkspace_release_response_msg*>(
  828. &_Parkspace_release_response_msg_default_instance_);
  829. }
  830. static constexpr int kIndexInFileMessages =
  831. 5;
  832. void Swap(Parkspace_release_response_msg* other);
  833. friend void swap(Parkspace_release_response_msg& a, Parkspace_release_response_msg& b) {
  834. a.Swap(&b);
  835. }
  836. // implements Message ----------------------------------------------
  837. inline Parkspace_release_response_msg* New() const final {
  838. return CreateMaybeMessage<Parkspace_release_response_msg>(NULL);
  839. }
  840. Parkspace_release_response_msg* New(::google::protobuf::Arena* arena) const final {
  841. return CreateMaybeMessage<Parkspace_release_response_msg>(arena);
  842. }
  843. void CopyFrom(const ::google::protobuf::Message& from) final;
  844. void MergeFrom(const ::google::protobuf::Message& from) final;
  845. void CopyFrom(const Parkspace_release_response_msg& from);
  846. void MergeFrom(const Parkspace_release_response_msg& from);
  847. void Clear() final;
  848. bool IsInitialized() const final;
  849. size_t ByteSizeLong() const final;
  850. bool MergePartialFromCodedStream(
  851. ::google::protobuf::io::CodedInputStream* input) final;
  852. void SerializeWithCachedSizes(
  853. ::google::protobuf::io::CodedOutputStream* output) const final;
  854. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  855. bool deterministic, ::google::protobuf::uint8* target) const final;
  856. int GetCachedSize() const final { return _cached_size_.Get(); }
  857. private:
  858. void SharedCtor();
  859. void SharedDtor();
  860. void SetCachedSize(int size) const final;
  861. void InternalSwap(Parkspace_release_response_msg* other);
  862. private:
  863. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  864. return NULL;
  865. }
  866. inline void* MaybeArenaPtr() const {
  867. return NULL;
  868. }
  869. public:
  870. ::google::protobuf::Metadata GetMetadata() const final;
  871. // nested types ----------------------------------------------------
  872. // accessors -------------------------------------------------------
  873. // required string command_key = 2;
  874. bool has_command_key() const;
  875. void clear_command_key();
  876. static const int kCommandKeyFieldNumber = 2;
  877. const ::std::string& command_key() const;
  878. void set_command_key(const ::std::string& value);
  879. #if LANG_CXX11
  880. void set_command_key(::std::string&& value);
  881. #endif
  882. void set_command_key(const char* value);
  883. void set_command_key(const char* value, size_t size);
  884. ::std::string* mutable_command_key();
  885. ::std::string* release_command_key();
  886. void set_allocated_command_key(::std::string* command_key);
  887. // required .message.Base_info base_info = 1;
  888. bool has_base_info() const;
  889. void clear_base_info();
  890. static const int kBaseInfoFieldNumber = 1;
  891. private:
  892. const ::message::Base_info& _internal_base_info() const;
  893. public:
  894. const ::message::Base_info& base_info() const;
  895. ::message::Base_info* release_base_info();
  896. ::message::Base_info* mutable_base_info();
  897. void set_allocated_base_info(::message::Base_info* base_info);
  898. // required .message.Error_manager error_manager = 3;
  899. bool has_error_manager() const;
  900. void clear_error_manager();
  901. static const int kErrorManagerFieldNumber = 3;
  902. private:
  903. const ::message::Error_manager& _internal_error_manager() const;
  904. public:
  905. const ::message::Error_manager& error_manager() const;
  906. ::message::Error_manager* release_error_manager();
  907. ::message::Error_manager* mutable_error_manager();
  908. void set_allocated_error_manager(::message::Error_manager* error_manager);
  909. // required .message.Parkspace_info release_space_info = 4;
  910. bool has_release_space_info() const;
  911. void clear_release_space_info();
  912. static const int kReleaseSpaceInfoFieldNumber = 4;
  913. private:
  914. const ::message::Parkspace_info& _internal_release_space_info() const;
  915. public:
  916. const ::message::Parkspace_info& release_space_info() const;
  917. ::message::Parkspace_info* release_release_space_info();
  918. ::message::Parkspace_info* mutable_release_space_info();
  919. void set_allocated_release_space_info(::message::Parkspace_info* release_space_info);
  920. // @@protoc_insertion_point(class_scope:message.Parkspace_release_response_msg)
  921. private:
  922. void set_has_base_info();
  923. void clear_has_base_info();
  924. void set_has_command_key();
  925. void clear_has_command_key();
  926. void set_has_error_manager();
  927. void clear_has_error_manager();
  928. void set_has_release_space_info();
  929. void clear_has_release_space_info();
  930. // helper for ByteSizeLong()
  931. size_t RequiredFieldsByteSizeFallback() const;
  932. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  933. ::google::protobuf::internal::HasBits<1> _has_bits_;
  934. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  935. ::google::protobuf::internal::ArenaStringPtr command_key_;
  936. ::message::Base_info* base_info_;
  937. ::message::Error_manager* error_manager_;
  938. ::message::Parkspace_info* release_space_info_;
  939. friend struct ::protobuf_parkspace_5fallocation_5fmessage_2eproto::TableStruct;
  940. };
  941. // -------------------------------------------------------------------
  942. class Parkspace_confirm_alloc_request_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Parkspace_confirm_alloc_request_msg) */ {
  943. public:
  944. Parkspace_confirm_alloc_request_msg();
  945. virtual ~Parkspace_confirm_alloc_request_msg();
  946. Parkspace_confirm_alloc_request_msg(const Parkspace_confirm_alloc_request_msg& from);
  947. inline Parkspace_confirm_alloc_request_msg& operator=(const Parkspace_confirm_alloc_request_msg& from) {
  948. CopyFrom(from);
  949. return *this;
  950. }
  951. #if LANG_CXX11
  952. Parkspace_confirm_alloc_request_msg(Parkspace_confirm_alloc_request_msg&& from) noexcept
  953. : Parkspace_confirm_alloc_request_msg() {
  954. *this = ::std::move(from);
  955. }
  956. inline Parkspace_confirm_alloc_request_msg& operator=(Parkspace_confirm_alloc_request_msg&& from) noexcept {
  957. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  958. if (this != &from) InternalSwap(&from);
  959. } else {
  960. CopyFrom(from);
  961. }
  962. return *this;
  963. }
  964. #endif
  965. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  966. return _internal_metadata_.unknown_fields();
  967. }
  968. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  969. return _internal_metadata_.mutable_unknown_fields();
  970. }
  971. static const ::google::protobuf::Descriptor* descriptor();
  972. static const Parkspace_confirm_alloc_request_msg& default_instance();
  973. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  974. static inline const Parkspace_confirm_alloc_request_msg* internal_default_instance() {
  975. return reinterpret_cast<const Parkspace_confirm_alloc_request_msg*>(
  976. &_Parkspace_confirm_alloc_request_msg_default_instance_);
  977. }
  978. static constexpr int kIndexInFileMessages =
  979. 6;
  980. void Swap(Parkspace_confirm_alloc_request_msg* other);
  981. friend void swap(Parkspace_confirm_alloc_request_msg& a, Parkspace_confirm_alloc_request_msg& b) {
  982. a.Swap(&b);
  983. }
  984. // implements Message ----------------------------------------------
  985. inline Parkspace_confirm_alloc_request_msg* New() const final {
  986. return CreateMaybeMessage<Parkspace_confirm_alloc_request_msg>(NULL);
  987. }
  988. Parkspace_confirm_alloc_request_msg* New(::google::protobuf::Arena* arena) const final {
  989. return CreateMaybeMessage<Parkspace_confirm_alloc_request_msg>(arena);
  990. }
  991. void CopyFrom(const ::google::protobuf::Message& from) final;
  992. void MergeFrom(const ::google::protobuf::Message& from) final;
  993. void CopyFrom(const Parkspace_confirm_alloc_request_msg& from);
  994. void MergeFrom(const Parkspace_confirm_alloc_request_msg& from);
  995. void Clear() final;
  996. bool IsInitialized() const final;
  997. size_t ByteSizeLong() const final;
  998. bool MergePartialFromCodedStream(
  999. ::google::protobuf::io::CodedInputStream* input) final;
  1000. void SerializeWithCachedSizes(
  1001. ::google::protobuf::io::CodedOutputStream* output) const final;
  1002. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  1003. bool deterministic, ::google::protobuf::uint8* target) const final;
  1004. int GetCachedSize() const final { return _cached_size_.Get(); }
  1005. private:
  1006. void SharedCtor();
  1007. void SharedDtor();
  1008. void SetCachedSize(int size) const final;
  1009. void InternalSwap(Parkspace_confirm_alloc_request_msg* other);
  1010. private:
  1011. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  1012. return NULL;
  1013. }
  1014. inline void* MaybeArenaPtr() const {
  1015. return NULL;
  1016. }
  1017. public:
  1018. ::google::protobuf::Metadata GetMetadata() const final;
  1019. // nested types ----------------------------------------------------
  1020. // accessors -------------------------------------------------------
  1021. // required string command_key = 2;
  1022. bool has_command_key() const;
  1023. void clear_command_key();
  1024. static const int kCommandKeyFieldNumber = 2;
  1025. const ::std::string& command_key() const;
  1026. void set_command_key(const ::std::string& value);
  1027. #if LANG_CXX11
  1028. void set_command_key(::std::string&& value);
  1029. #endif
  1030. void set_command_key(const char* value);
  1031. void set_command_key(const char* value, size_t size);
  1032. ::std::string* mutable_command_key();
  1033. ::std::string* release_command_key();
  1034. void set_allocated_command_key(::std::string* command_key);
  1035. // required .message.Base_info base_info = 1;
  1036. bool has_base_info() const;
  1037. void clear_base_info();
  1038. static const int kBaseInfoFieldNumber = 1;
  1039. private:
  1040. const ::message::Base_info& _internal_base_info() const;
  1041. public:
  1042. const ::message::Base_info& base_info() const;
  1043. ::message::Base_info* release_base_info();
  1044. ::message::Base_info* mutable_base_info();
  1045. void set_allocated_base_info(::message::Base_info* base_info);
  1046. // required .message.Parkspace_info confirm_space_info = 3;
  1047. bool has_confirm_space_info() const;
  1048. void clear_confirm_space_info();
  1049. static const int kConfirmSpaceInfoFieldNumber = 3;
  1050. private:
  1051. const ::message::Parkspace_info& _internal_confirm_space_info() const;
  1052. public:
  1053. const ::message::Parkspace_info& confirm_space_info() const;
  1054. ::message::Parkspace_info* release_confirm_space_info();
  1055. ::message::Parkspace_info* mutable_confirm_space_info();
  1056. void set_allocated_confirm_space_info(::message::Parkspace_info* confirm_space_info);
  1057. // @@protoc_insertion_point(class_scope:message.Parkspace_confirm_alloc_request_msg)
  1058. private:
  1059. void set_has_base_info();
  1060. void clear_has_base_info();
  1061. void set_has_command_key();
  1062. void clear_has_command_key();
  1063. void set_has_confirm_space_info();
  1064. void clear_has_confirm_space_info();
  1065. // helper for ByteSizeLong()
  1066. size_t RequiredFieldsByteSizeFallback() const;
  1067. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  1068. ::google::protobuf::internal::HasBits<1> _has_bits_;
  1069. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  1070. ::google::protobuf::internal::ArenaStringPtr command_key_;
  1071. ::message::Base_info* base_info_;
  1072. ::message::Parkspace_info* confirm_space_info_;
  1073. friend struct ::protobuf_parkspace_5fallocation_5fmessage_2eproto::TableStruct;
  1074. };
  1075. // -------------------------------------------------------------------
  1076. class Parkspace_confirm_alloc_response_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Parkspace_confirm_alloc_response_msg) */ {
  1077. public:
  1078. Parkspace_confirm_alloc_response_msg();
  1079. virtual ~Parkspace_confirm_alloc_response_msg();
  1080. Parkspace_confirm_alloc_response_msg(const Parkspace_confirm_alloc_response_msg& from);
  1081. inline Parkspace_confirm_alloc_response_msg& operator=(const Parkspace_confirm_alloc_response_msg& from) {
  1082. CopyFrom(from);
  1083. return *this;
  1084. }
  1085. #if LANG_CXX11
  1086. Parkspace_confirm_alloc_response_msg(Parkspace_confirm_alloc_response_msg&& from) noexcept
  1087. : Parkspace_confirm_alloc_response_msg() {
  1088. *this = ::std::move(from);
  1089. }
  1090. inline Parkspace_confirm_alloc_response_msg& operator=(Parkspace_confirm_alloc_response_msg&& from) noexcept {
  1091. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  1092. if (this != &from) InternalSwap(&from);
  1093. } else {
  1094. CopyFrom(from);
  1095. }
  1096. return *this;
  1097. }
  1098. #endif
  1099. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1100. return _internal_metadata_.unknown_fields();
  1101. }
  1102. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1103. return _internal_metadata_.mutable_unknown_fields();
  1104. }
  1105. static const ::google::protobuf::Descriptor* descriptor();
  1106. static const Parkspace_confirm_alloc_response_msg& default_instance();
  1107. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  1108. static inline const Parkspace_confirm_alloc_response_msg* internal_default_instance() {
  1109. return reinterpret_cast<const Parkspace_confirm_alloc_response_msg*>(
  1110. &_Parkspace_confirm_alloc_response_msg_default_instance_);
  1111. }
  1112. static constexpr int kIndexInFileMessages =
  1113. 7;
  1114. void Swap(Parkspace_confirm_alloc_response_msg* other);
  1115. friend void swap(Parkspace_confirm_alloc_response_msg& a, Parkspace_confirm_alloc_response_msg& b) {
  1116. a.Swap(&b);
  1117. }
  1118. // implements Message ----------------------------------------------
  1119. inline Parkspace_confirm_alloc_response_msg* New() const final {
  1120. return CreateMaybeMessage<Parkspace_confirm_alloc_response_msg>(NULL);
  1121. }
  1122. Parkspace_confirm_alloc_response_msg* New(::google::protobuf::Arena* arena) const final {
  1123. return CreateMaybeMessage<Parkspace_confirm_alloc_response_msg>(arena);
  1124. }
  1125. void CopyFrom(const ::google::protobuf::Message& from) final;
  1126. void MergeFrom(const ::google::protobuf::Message& from) final;
  1127. void CopyFrom(const Parkspace_confirm_alloc_response_msg& from);
  1128. void MergeFrom(const Parkspace_confirm_alloc_response_msg& from);
  1129. void Clear() final;
  1130. bool IsInitialized() const final;
  1131. size_t ByteSizeLong() const final;
  1132. bool MergePartialFromCodedStream(
  1133. ::google::protobuf::io::CodedInputStream* input) final;
  1134. void SerializeWithCachedSizes(
  1135. ::google::protobuf::io::CodedOutputStream* output) const final;
  1136. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  1137. bool deterministic, ::google::protobuf::uint8* target) const final;
  1138. int GetCachedSize() const final { return _cached_size_.Get(); }
  1139. private:
  1140. void SharedCtor();
  1141. void SharedDtor();
  1142. void SetCachedSize(int size) const final;
  1143. void InternalSwap(Parkspace_confirm_alloc_response_msg* other);
  1144. private:
  1145. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  1146. return NULL;
  1147. }
  1148. inline void* MaybeArenaPtr() const {
  1149. return NULL;
  1150. }
  1151. public:
  1152. ::google::protobuf::Metadata GetMetadata() const final;
  1153. // nested types ----------------------------------------------------
  1154. // accessors -------------------------------------------------------
  1155. // required string command_key = 2;
  1156. bool has_command_key() const;
  1157. void clear_command_key();
  1158. static const int kCommandKeyFieldNumber = 2;
  1159. const ::std::string& command_key() const;
  1160. void set_command_key(const ::std::string& value);
  1161. #if LANG_CXX11
  1162. void set_command_key(::std::string&& value);
  1163. #endif
  1164. void set_command_key(const char* value);
  1165. void set_command_key(const char* value, size_t size);
  1166. ::std::string* mutable_command_key();
  1167. ::std::string* release_command_key();
  1168. void set_allocated_command_key(::std::string* command_key);
  1169. // required .message.Base_info base_info = 1;
  1170. bool has_base_info() const;
  1171. void clear_base_info();
  1172. static const int kBaseInfoFieldNumber = 1;
  1173. private:
  1174. const ::message::Base_info& _internal_base_info() const;
  1175. public:
  1176. const ::message::Base_info& base_info() const;
  1177. ::message::Base_info* release_base_info();
  1178. ::message::Base_info* mutable_base_info();
  1179. void set_allocated_base_info(::message::Base_info* base_info);
  1180. // required .message.Error_manager error_manager = 3;
  1181. bool has_error_manager() const;
  1182. void clear_error_manager();
  1183. static const int kErrorManagerFieldNumber = 3;
  1184. private:
  1185. const ::message::Error_manager& _internal_error_manager() const;
  1186. public:
  1187. const ::message::Error_manager& error_manager() const;
  1188. ::message::Error_manager* release_error_manager();
  1189. ::message::Error_manager* mutable_error_manager();
  1190. void set_allocated_error_manager(::message::Error_manager* error_manager);
  1191. // required .message.Parkspace_info confirm_alloc_space_info = 4;
  1192. bool has_confirm_alloc_space_info() const;
  1193. void clear_confirm_alloc_space_info();
  1194. static const int kConfirmAllocSpaceInfoFieldNumber = 4;
  1195. private:
  1196. const ::message::Parkspace_info& _internal_confirm_alloc_space_info() const;
  1197. public:
  1198. const ::message::Parkspace_info& confirm_alloc_space_info() const;
  1199. ::message::Parkspace_info* release_confirm_alloc_space_info();
  1200. ::message::Parkspace_info* mutable_confirm_alloc_space_info();
  1201. void set_allocated_confirm_alloc_space_info(::message::Parkspace_info* confirm_alloc_space_info);
  1202. // @@protoc_insertion_point(class_scope:message.Parkspace_confirm_alloc_response_msg)
  1203. private:
  1204. void set_has_base_info();
  1205. void clear_has_base_info();
  1206. void set_has_command_key();
  1207. void clear_has_command_key();
  1208. void set_has_error_manager();
  1209. void clear_has_error_manager();
  1210. void set_has_confirm_alloc_space_info();
  1211. void clear_has_confirm_alloc_space_info();
  1212. // helper for ByteSizeLong()
  1213. size_t RequiredFieldsByteSizeFallback() const;
  1214. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  1215. ::google::protobuf::internal::HasBits<1> _has_bits_;
  1216. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  1217. ::google::protobuf::internal::ArenaStringPtr command_key_;
  1218. ::message::Base_info* base_info_;
  1219. ::message::Error_manager* error_manager_;
  1220. ::message::Parkspace_info* confirm_alloc_space_info_;
  1221. friend struct ::protobuf_parkspace_5fallocation_5fmessage_2eproto::TableStruct;
  1222. };
  1223. // -------------------------------------------------------------------
  1224. class Parkspace_allocation_status_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Parkspace_allocation_status_msg) */ {
  1225. public:
  1226. Parkspace_allocation_status_msg();
  1227. virtual ~Parkspace_allocation_status_msg();
  1228. Parkspace_allocation_status_msg(const Parkspace_allocation_status_msg& from);
  1229. inline Parkspace_allocation_status_msg& operator=(const Parkspace_allocation_status_msg& from) {
  1230. CopyFrom(from);
  1231. return *this;
  1232. }
  1233. #if LANG_CXX11
  1234. Parkspace_allocation_status_msg(Parkspace_allocation_status_msg&& from) noexcept
  1235. : Parkspace_allocation_status_msg() {
  1236. *this = ::std::move(from);
  1237. }
  1238. inline Parkspace_allocation_status_msg& operator=(Parkspace_allocation_status_msg&& from) noexcept {
  1239. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  1240. if (this != &from) InternalSwap(&from);
  1241. } else {
  1242. CopyFrom(from);
  1243. }
  1244. return *this;
  1245. }
  1246. #endif
  1247. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1248. return _internal_metadata_.unknown_fields();
  1249. }
  1250. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1251. return _internal_metadata_.mutable_unknown_fields();
  1252. }
  1253. static const ::google::protobuf::Descriptor* descriptor();
  1254. static const Parkspace_allocation_status_msg& default_instance();
  1255. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  1256. static inline const Parkspace_allocation_status_msg* internal_default_instance() {
  1257. return reinterpret_cast<const Parkspace_allocation_status_msg*>(
  1258. &_Parkspace_allocation_status_msg_default_instance_);
  1259. }
  1260. static constexpr int kIndexInFileMessages =
  1261. 8;
  1262. void Swap(Parkspace_allocation_status_msg* other);
  1263. friend void swap(Parkspace_allocation_status_msg& a, Parkspace_allocation_status_msg& b) {
  1264. a.Swap(&b);
  1265. }
  1266. // implements Message ----------------------------------------------
  1267. inline Parkspace_allocation_status_msg* New() const final {
  1268. return CreateMaybeMessage<Parkspace_allocation_status_msg>(NULL);
  1269. }
  1270. Parkspace_allocation_status_msg* New(::google::protobuf::Arena* arena) const final {
  1271. return CreateMaybeMessage<Parkspace_allocation_status_msg>(arena);
  1272. }
  1273. void CopyFrom(const ::google::protobuf::Message& from) final;
  1274. void MergeFrom(const ::google::protobuf::Message& from) final;
  1275. void CopyFrom(const Parkspace_allocation_status_msg& from);
  1276. void MergeFrom(const Parkspace_allocation_status_msg& from);
  1277. void Clear() final;
  1278. bool IsInitialized() const final;
  1279. size_t ByteSizeLong() const final;
  1280. bool MergePartialFromCodedStream(
  1281. ::google::protobuf::io::CodedInputStream* input) final;
  1282. void SerializeWithCachedSizes(
  1283. ::google::protobuf::io::CodedOutputStream* output) const final;
  1284. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  1285. bool deterministic, ::google::protobuf::uint8* target) const final;
  1286. int GetCachedSize() const final { return _cached_size_.Get(); }
  1287. private:
  1288. void SharedCtor();
  1289. void SharedDtor();
  1290. void SetCachedSize(int size) const final;
  1291. void InternalSwap(Parkspace_allocation_status_msg* other);
  1292. private:
  1293. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  1294. return NULL;
  1295. }
  1296. inline void* MaybeArenaPtr() const {
  1297. return NULL;
  1298. }
  1299. public:
  1300. ::google::protobuf::Metadata GetMetadata() const final;
  1301. // nested types ----------------------------------------------------
  1302. // accessors -------------------------------------------------------
  1303. // repeated .message.Parkspace_info parkspace_info = 3;
  1304. int parkspace_info_size() const;
  1305. void clear_parkspace_info();
  1306. static const int kParkspaceInfoFieldNumber = 3;
  1307. ::message::Parkspace_info* mutable_parkspace_info(int index);
  1308. ::google::protobuf::RepeatedPtrField< ::message::Parkspace_info >*
  1309. mutable_parkspace_info();
  1310. const ::message::Parkspace_info& parkspace_info(int index) const;
  1311. ::message::Parkspace_info* add_parkspace_info();
  1312. const ::google::protobuf::RepeatedPtrField< ::message::Parkspace_info >&
  1313. parkspace_info() const;
  1314. // required .message.Base_info base_info = 1;
  1315. bool has_base_info() const;
  1316. void clear_base_info();
  1317. static const int kBaseInfoFieldNumber = 1;
  1318. private:
  1319. const ::message::Base_info& _internal_base_info() const;
  1320. public:
  1321. const ::message::Base_info& base_info() const;
  1322. ::message::Base_info* release_base_info();
  1323. ::message::Base_info* mutable_base_info();
  1324. void set_allocated_base_info(::message::Base_info* base_info);
  1325. // required .message.Error_manager error_manager = 2;
  1326. bool has_error_manager() const;
  1327. void clear_error_manager();
  1328. static const int kErrorManagerFieldNumber = 2;
  1329. private:
  1330. const ::message::Error_manager& _internal_error_manager() const;
  1331. public:
  1332. const ::message::Error_manager& error_manager() const;
  1333. ::message::Error_manager* release_error_manager();
  1334. ::message::Error_manager* mutable_error_manager();
  1335. void set_allocated_error_manager(::message::Error_manager* error_manager);
  1336. // @@protoc_insertion_point(class_scope:message.Parkspace_allocation_status_msg)
  1337. private:
  1338. void set_has_base_info();
  1339. void clear_has_base_info();
  1340. void set_has_error_manager();
  1341. void clear_has_error_manager();
  1342. // helper for ByteSizeLong()
  1343. size_t RequiredFieldsByteSizeFallback() const;
  1344. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  1345. ::google::protobuf::internal::HasBits<1> _has_bits_;
  1346. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  1347. ::google::protobuf::RepeatedPtrField< ::message::Parkspace_info > parkspace_info_;
  1348. ::message::Base_info* base_info_;
  1349. ::message::Error_manager* error_manager_;
  1350. friend struct ::protobuf_parkspace_5fallocation_5fmessage_2eproto::TableStruct;
  1351. };
  1352. // ===================================================================
  1353. // ===================================================================
  1354. #ifdef __GNUC__
  1355. #pragma GCC diagnostic push
  1356. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  1357. #endif // __GNUC__
  1358. // Parkspace_allocation_request_msg
  1359. // required .message.Base_info base_info = 1;
  1360. inline bool Parkspace_allocation_request_msg::has_base_info() const {
  1361. return (_has_bits_[0] & 0x00000002u) != 0;
  1362. }
  1363. inline void Parkspace_allocation_request_msg::set_has_base_info() {
  1364. _has_bits_[0] |= 0x00000002u;
  1365. }
  1366. inline void Parkspace_allocation_request_msg::clear_has_base_info() {
  1367. _has_bits_[0] &= ~0x00000002u;
  1368. }
  1369. inline const ::message::Base_info& Parkspace_allocation_request_msg::_internal_base_info() const {
  1370. return *base_info_;
  1371. }
  1372. inline const ::message::Base_info& Parkspace_allocation_request_msg::base_info() const {
  1373. const ::message::Base_info* p = base_info_;
  1374. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_request_msg.base_info)
  1375. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  1376. &::message::_Base_info_default_instance_);
  1377. }
  1378. inline ::message::Base_info* Parkspace_allocation_request_msg::release_base_info() {
  1379. // @@protoc_insertion_point(field_release:message.Parkspace_allocation_request_msg.base_info)
  1380. clear_has_base_info();
  1381. ::message::Base_info* temp = base_info_;
  1382. base_info_ = NULL;
  1383. return temp;
  1384. }
  1385. inline ::message::Base_info* Parkspace_allocation_request_msg::mutable_base_info() {
  1386. set_has_base_info();
  1387. if (base_info_ == NULL) {
  1388. auto* p = CreateMaybeMessage<::message::Base_info>(GetArenaNoVirtual());
  1389. base_info_ = p;
  1390. }
  1391. // @@protoc_insertion_point(field_mutable:message.Parkspace_allocation_request_msg.base_info)
  1392. return base_info_;
  1393. }
  1394. inline void Parkspace_allocation_request_msg::set_allocated_base_info(::message::Base_info* base_info) {
  1395. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1396. if (message_arena == NULL) {
  1397. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  1398. }
  1399. if (base_info) {
  1400. ::google::protobuf::Arena* submessage_arena = NULL;
  1401. if (message_arena != submessage_arena) {
  1402. base_info = ::google::protobuf::internal::GetOwnedMessage(
  1403. message_arena, base_info, submessage_arena);
  1404. }
  1405. set_has_base_info();
  1406. } else {
  1407. clear_has_base_info();
  1408. }
  1409. base_info_ = base_info;
  1410. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_allocation_request_msg.base_info)
  1411. }
  1412. // required string command_key = 2;
  1413. inline bool Parkspace_allocation_request_msg::has_command_key() const {
  1414. return (_has_bits_[0] & 0x00000001u) != 0;
  1415. }
  1416. inline void Parkspace_allocation_request_msg::set_has_command_key() {
  1417. _has_bits_[0] |= 0x00000001u;
  1418. }
  1419. inline void Parkspace_allocation_request_msg::clear_has_command_key() {
  1420. _has_bits_[0] &= ~0x00000001u;
  1421. }
  1422. inline void Parkspace_allocation_request_msg::clear_command_key() {
  1423. command_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1424. clear_has_command_key();
  1425. }
  1426. inline const ::std::string& Parkspace_allocation_request_msg::command_key() const {
  1427. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_request_msg.command_key)
  1428. return command_key_.GetNoArena();
  1429. }
  1430. inline void Parkspace_allocation_request_msg::set_command_key(const ::std::string& value) {
  1431. set_has_command_key();
  1432. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1433. // @@protoc_insertion_point(field_set:message.Parkspace_allocation_request_msg.command_key)
  1434. }
  1435. #if LANG_CXX11
  1436. inline void Parkspace_allocation_request_msg::set_command_key(::std::string&& value) {
  1437. set_has_command_key();
  1438. command_key_.SetNoArena(
  1439. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1440. // @@protoc_insertion_point(field_set_rvalue:message.Parkspace_allocation_request_msg.command_key)
  1441. }
  1442. #endif
  1443. inline void Parkspace_allocation_request_msg::set_command_key(const char* value) {
  1444. GOOGLE_DCHECK(value != NULL);
  1445. set_has_command_key();
  1446. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1447. // @@protoc_insertion_point(field_set_char:message.Parkspace_allocation_request_msg.command_key)
  1448. }
  1449. inline void Parkspace_allocation_request_msg::set_command_key(const char* value, size_t size) {
  1450. set_has_command_key();
  1451. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1452. ::std::string(reinterpret_cast<const char*>(value), size));
  1453. // @@protoc_insertion_point(field_set_pointer:message.Parkspace_allocation_request_msg.command_key)
  1454. }
  1455. inline ::std::string* Parkspace_allocation_request_msg::mutable_command_key() {
  1456. set_has_command_key();
  1457. // @@protoc_insertion_point(field_mutable:message.Parkspace_allocation_request_msg.command_key)
  1458. return command_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1459. }
  1460. inline ::std::string* Parkspace_allocation_request_msg::release_command_key() {
  1461. // @@protoc_insertion_point(field_release:message.Parkspace_allocation_request_msg.command_key)
  1462. if (!has_command_key()) {
  1463. return NULL;
  1464. }
  1465. clear_has_command_key();
  1466. return command_key_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1467. }
  1468. inline void Parkspace_allocation_request_msg::set_allocated_command_key(::std::string* command_key) {
  1469. if (command_key != NULL) {
  1470. set_has_command_key();
  1471. } else {
  1472. clear_has_command_key();
  1473. }
  1474. command_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), command_key);
  1475. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_allocation_request_msg.command_key)
  1476. }
  1477. // required .message.Car_info car_info = 3;
  1478. inline bool Parkspace_allocation_request_msg::has_car_info() const {
  1479. return (_has_bits_[0] & 0x00000004u) != 0;
  1480. }
  1481. inline void Parkspace_allocation_request_msg::set_has_car_info() {
  1482. _has_bits_[0] |= 0x00000004u;
  1483. }
  1484. inline void Parkspace_allocation_request_msg::clear_has_car_info() {
  1485. _has_bits_[0] &= ~0x00000004u;
  1486. }
  1487. inline const ::message::Car_info& Parkspace_allocation_request_msg::_internal_car_info() const {
  1488. return *car_info_;
  1489. }
  1490. inline const ::message::Car_info& Parkspace_allocation_request_msg::car_info() const {
  1491. const ::message::Car_info* p = car_info_;
  1492. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_request_msg.car_info)
  1493. return p != NULL ? *p : *reinterpret_cast<const ::message::Car_info*>(
  1494. &::message::_Car_info_default_instance_);
  1495. }
  1496. inline ::message::Car_info* Parkspace_allocation_request_msg::release_car_info() {
  1497. // @@protoc_insertion_point(field_release:message.Parkspace_allocation_request_msg.car_info)
  1498. clear_has_car_info();
  1499. ::message::Car_info* temp = car_info_;
  1500. car_info_ = NULL;
  1501. return temp;
  1502. }
  1503. inline ::message::Car_info* Parkspace_allocation_request_msg::mutable_car_info() {
  1504. set_has_car_info();
  1505. if (car_info_ == NULL) {
  1506. auto* p = CreateMaybeMessage<::message::Car_info>(GetArenaNoVirtual());
  1507. car_info_ = p;
  1508. }
  1509. // @@protoc_insertion_point(field_mutable:message.Parkspace_allocation_request_msg.car_info)
  1510. return car_info_;
  1511. }
  1512. inline void Parkspace_allocation_request_msg::set_allocated_car_info(::message::Car_info* car_info) {
  1513. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1514. if (message_arena == NULL) {
  1515. delete reinterpret_cast< ::google::protobuf::MessageLite*>(car_info_);
  1516. }
  1517. if (car_info) {
  1518. ::google::protobuf::Arena* submessage_arena = NULL;
  1519. if (message_arena != submessage_arena) {
  1520. car_info = ::google::protobuf::internal::GetOwnedMessage(
  1521. message_arena, car_info, submessage_arena);
  1522. }
  1523. set_has_car_info();
  1524. } else {
  1525. clear_has_car_info();
  1526. }
  1527. car_info_ = car_info;
  1528. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_allocation_request_msg.car_info)
  1529. }
  1530. // required int32 terminal_id = 4;
  1531. inline bool Parkspace_allocation_request_msg::has_terminal_id() const {
  1532. return (_has_bits_[0] & 0x00000008u) != 0;
  1533. }
  1534. inline void Parkspace_allocation_request_msg::set_has_terminal_id() {
  1535. _has_bits_[0] |= 0x00000008u;
  1536. }
  1537. inline void Parkspace_allocation_request_msg::clear_has_terminal_id() {
  1538. _has_bits_[0] &= ~0x00000008u;
  1539. }
  1540. inline void Parkspace_allocation_request_msg::clear_terminal_id() {
  1541. terminal_id_ = 0;
  1542. clear_has_terminal_id();
  1543. }
  1544. inline ::google::protobuf::int32 Parkspace_allocation_request_msg::terminal_id() const {
  1545. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_request_msg.terminal_id)
  1546. return terminal_id_;
  1547. }
  1548. inline void Parkspace_allocation_request_msg::set_terminal_id(::google::protobuf::int32 value) {
  1549. set_has_terminal_id();
  1550. terminal_id_ = value;
  1551. // @@protoc_insertion_point(field_set:message.Parkspace_allocation_request_msg.terminal_id)
  1552. }
  1553. // -------------------------------------------------------------------
  1554. // Parkspace_allocation_response_msg
  1555. // required .message.Base_info base_info = 1;
  1556. inline bool Parkspace_allocation_response_msg::has_base_info() const {
  1557. return (_has_bits_[0] & 0x00000002u) != 0;
  1558. }
  1559. inline void Parkspace_allocation_response_msg::set_has_base_info() {
  1560. _has_bits_[0] |= 0x00000002u;
  1561. }
  1562. inline void Parkspace_allocation_response_msg::clear_has_base_info() {
  1563. _has_bits_[0] &= ~0x00000002u;
  1564. }
  1565. inline const ::message::Base_info& Parkspace_allocation_response_msg::_internal_base_info() const {
  1566. return *base_info_;
  1567. }
  1568. inline const ::message::Base_info& Parkspace_allocation_response_msg::base_info() const {
  1569. const ::message::Base_info* p = base_info_;
  1570. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_response_msg.base_info)
  1571. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  1572. &::message::_Base_info_default_instance_);
  1573. }
  1574. inline ::message::Base_info* Parkspace_allocation_response_msg::release_base_info() {
  1575. // @@protoc_insertion_point(field_release:message.Parkspace_allocation_response_msg.base_info)
  1576. clear_has_base_info();
  1577. ::message::Base_info* temp = base_info_;
  1578. base_info_ = NULL;
  1579. return temp;
  1580. }
  1581. inline ::message::Base_info* Parkspace_allocation_response_msg::mutable_base_info() {
  1582. set_has_base_info();
  1583. if (base_info_ == NULL) {
  1584. auto* p = CreateMaybeMessage<::message::Base_info>(GetArenaNoVirtual());
  1585. base_info_ = p;
  1586. }
  1587. // @@protoc_insertion_point(field_mutable:message.Parkspace_allocation_response_msg.base_info)
  1588. return base_info_;
  1589. }
  1590. inline void Parkspace_allocation_response_msg::set_allocated_base_info(::message::Base_info* base_info) {
  1591. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1592. if (message_arena == NULL) {
  1593. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  1594. }
  1595. if (base_info) {
  1596. ::google::protobuf::Arena* submessage_arena = NULL;
  1597. if (message_arena != submessage_arena) {
  1598. base_info = ::google::protobuf::internal::GetOwnedMessage(
  1599. message_arena, base_info, submessage_arena);
  1600. }
  1601. set_has_base_info();
  1602. } else {
  1603. clear_has_base_info();
  1604. }
  1605. base_info_ = base_info;
  1606. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_allocation_response_msg.base_info)
  1607. }
  1608. // required string command_key = 2;
  1609. inline bool Parkspace_allocation_response_msg::has_command_key() const {
  1610. return (_has_bits_[0] & 0x00000001u) != 0;
  1611. }
  1612. inline void Parkspace_allocation_response_msg::set_has_command_key() {
  1613. _has_bits_[0] |= 0x00000001u;
  1614. }
  1615. inline void Parkspace_allocation_response_msg::clear_has_command_key() {
  1616. _has_bits_[0] &= ~0x00000001u;
  1617. }
  1618. inline void Parkspace_allocation_response_msg::clear_command_key() {
  1619. command_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1620. clear_has_command_key();
  1621. }
  1622. inline const ::std::string& Parkspace_allocation_response_msg::command_key() const {
  1623. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_response_msg.command_key)
  1624. return command_key_.GetNoArena();
  1625. }
  1626. inline void Parkspace_allocation_response_msg::set_command_key(const ::std::string& value) {
  1627. set_has_command_key();
  1628. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1629. // @@protoc_insertion_point(field_set:message.Parkspace_allocation_response_msg.command_key)
  1630. }
  1631. #if LANG_CXX11
  1632. inline void Parkspace_allocation_response_msg::set_command_key(::std::string&& value) {
  1633. set_has_command_key();
  1634. command_key_.SetNoArena(
  1635. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1636. // @@protoc_insertion_point(field_set_rvalue:message.Parkspace_allocation_response_msg.command_key)
  1637. }
  1638. #endif
  1639. inline void Parkspace_allocation_response_msg::set_command_key(const char* value) {
  1640. GOOGLE_DCHECK(value != NULL);
  1641. set_has_command_key();
  1642. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1643. // @@protoc_insertion_point(field_set_char:message.Parkspace_allocation_response_msg.command_key)
  1644. }
  1645. inline void Parkspace_allocation_response_msg::set_command_key(const char* value, size_t size) {
  1646. set_has_command_key();
  1647. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1648. ::std::string(reinterpret_cast<const char*>(value), size));
  1649. // @@protoc_insertion_point(field_set_pointer:message.Parkspace_allocation_response_msg.command_key)
  1650. }
  1651. inline ::std::string* Parkspace_allocation_response_msg::mutable_command_key() {
  1652. set_has_command_key();
  1653. // @@protoc_insertion_point(field_mutable:message.Parkspace_allocation_response_msg.command_key)
  1654. return command_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1655. }
  1656. inline ::std::string* Parkspace_allocation_response_msg::release_command_key() {
  1657. // @@protoc_insertion_point(field_release:message.Parkspace_allocation_response_msg.command_key)
  1658. if (!has_command_key()) {
  1659. return NULL;
  1660. }
  1661. clear_has_command_key();
  1662. return command_key_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1663. }
  1664. inline void Parkspace_allocation_response_msg::set_allocated_command_key(::std::string* command_key) {
  1665. if (command_key != NULL) {
  1666. set_has_command_key();
  1667. } else {
  1668. clear_has_command_key();
  1669. }
  1670. command_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), command_key);
  1671. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_allocation_response_msg.command_key)
  1672. }
  1673. // required .message.Error_manager error_manager = 3;
  1674. inline bool Parkspace_allocation_response_msg::has_error_manager() const {
  1675. return (_has_bits_[0] & 0x00000004u) != 0;
  1676. }
  1677. inline void Parkspace_allocation_response_msg::set_has_error_manager() {
  1678. _has_bits_[0] |= 0x00000004u;
  1679. }
  1680. inline void Parkspace_allocation_response_msg::clear_has_error_manager() {
  1681. _has_bits_[0] &= ~0x00000004u;
  1682. }
  1683. inline const ::message::Error_manager& Parkspace_allocation_response_msg::_internal_error_manager() const {
  1684. return *error_manager_;
  1685. }
  1686. inline const ::message::Error_manager& Parkspace_allocation_response_msg::error_manager() const {
  1687. const ::message::Error_manager* p = error_manager_;
  1688. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_response_msg.error_manager)
  1689. return p != NULL ? *p : *reinterpret_cast<const ::message::Error_manager*>(
  1690. &::message::_Error_manager_default_instance_);
  1691. }
  1692. inline ::message::Error_manager* Parkspace_allocation_response_msg::release_error_manager() {
  1693. // @@protoc_insertion_point(field_release:message.Parkspace_allocation_response_msg.error_manager)
  1694. clear_has_error_manager();
  1695. ::message::Error_manager* temp = error_manager_;
  1696. error_manager_ = NULL;
  1697. return temp;
  1698. }
  1699. inline ::message::Error_manager* Parkspace_allocation_response_msg::mutable_error_manager() {
  1700. set_has_error_manager();
  1701. if (error_manager_ == NULL) {
  1702. auto* p = CreateMaybeMessage<::message::Error_manager>(GetArenaNoVirtual());
  1703. error_manager_ = p;
  1704. }
  1705. // @@protoc_insertion_point(field_mutable:message.Parkspace_allocation_response_msg.error_manager)
  1706. return error_manager_;
  1707. }
  1708. inline void Parkspace_allocation_response_msg::set_allocated_error_manager(::message::Error_manager* error_manager) {
  1709. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1710. if (message_arena == NULL) {
  1711. delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_manager_);
  1712. }
  1713. if (error_manager) {
  1714. ::google::protobuf::Arena* submessage_arena = NULL;
  1715. if (message_arena != submessage_arena) {
  1716. error_manager = ::google::protobuf::internal::GetOwnedMessage(
  1717. message_arena, error_manager, submessage_arena);
  1718. }
  1719. set_has_error_manager();
  1720. } else {
  1721. clear_has_error_manager();
  1722. }
  1723. error_manager_ = error_manager;
  1724. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_allocation_response_msg.error_manager)
  1725. }
  1726. // required .message.Parkspace_info allocated_space_info = 4;
  1727. inline bool Parkspace_allocation_response_msg::has_allocated_space_info() const {
  1728. return (_has_bits_[0] & 0x00000008u) != 0;
  1729. }
  1730. inline void Parkspace_allocation_response_msg::set_has_allocated_space_info() {
  1731. _has_bits_[0] |= 0x00000008u;
  1732. }
  1733. inline void Parkspace_allocation_response_msg::clear_has_allocated_space_info() {
  1734. _has_bits_[0] &= ~0x00000008u;
  1735. }
  1736. inline const ::message::Parkspace_info& Parkspace_allocation_response_msg::_internal_allocated_space_info() const {
  1737. return *allocated_space_info_;
  1738. }
  1739. inline const ::message::Parkspace_info& Parkspace_allocation_response_msg::allocated_space_info() const {
  1740. const ::message::Parkspace_info* p = allocated_space_info_;
  1741. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_response_msg.allocated_space_info)
  1742. return p != NULL ? *p : *reinterpret_cast<const ::message::Parkspace_info*>(
  1743. &::message::_Parkspace_info_default_instance_);
  1744. }
  1745. inline ::message::Parkspace_info* Parkspace_allocation_response_msg::release_allocated_space_info() {
  1746. // @@protoc_insertion_point(field_release:message.Parkspace_allocation_response_msg.allocated_space_info)
  1747. clear_has_allocated_space_info();
  1748. ::message::Parkspace_info* temp = allocated_space_info_;
  1749. allocated_space_info_ = NULL;
  1750. return temp;
  1751. }
  1752. inline ::message::Parkspace_info* Parkspace_allocation_response_msg::mutable_allocated_space_info() {
  1753. set_has_allocated_space_info();
  1754. if (allocated_space_info_ == NULL) {
  1755. auto* p = CreateMaybeMessage<::message::Parkspace_info>(GetArenaNoVirtual());
  1756. allocated_space_info_ = p;
  1757. }
  1758. // @@protoc_insertion_point(field_mutable:message.Parkspace_allocation_response_msg.allocated_space_info)
  1759. return allocated_space_info_;
  1760. }
  1761. inline void Parkspace_allocation_response_msg::set_allocated_allocated_space_info(::message::Parkspace_info* allocated_space_info) {
  1762. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1763. if (message_arena == NULL) {
  1764. delete reinterpret_cast< ::google::protobuf::MessageLite*>(allocated_space_info_);
  1765. }
  1766. if (allocated_space_info) {
  1767. ::google::protobuf::Arena* submessage_arena = NULL;
  1768. if (message_arena != submessage_arena) {
  1769. allocated_space_info = ::google::protobuf::internal::GetOwnedMessage(
  1770. message_arena, allocated_space_info, submessage_arena);
  1771. }
  1772. set_has_allocated_space_info();
  1773. } else {
  1774. clear_has_allocated_space_info();
  1775. }
  1776. allocated_space_info_ = allocated_space_info;
  1777. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_allocation_response_msg.allocated_space_info)
  1778. }
  1779. // -------------------------------------------------------------------
  1780. // Parkspace_search_request_msg
  1781. // required .message.Base_info base_info = 1;
  1782. inline bool Parkspace_search_request_msg::has_base_info() const {
  1783. return (_has_bits_[0] & 0x00000002u) != 0;
  1784. }
  1785. inline void Parkspace_search_request_msg::set_has_base_info() {
  1786. _has_bits_[0] |= 0x00000002u;
  1787. }
  1788. inline void Parkspace_search_request_msg::clear_has_base_info() {
  1789. _has_bits_[0] &= ~0x00000002u;
  1790. }
  1791. inline const ::message::Base_info& Parkspace_search_request_msg::_internal_base_info() const {
  1792. return *base_info_;
  1793. }
  1794. inline const ::message::Base_info& Parkspace_search_request_msg::base_info() const {
  1795. const ::message::Base_info* p = base_info_;
  1796. // @@protoc_insertion_point(field_get:message.Parkspace_search_request_msg.base_info)
  1797. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  1798. &::message::_Base_info_default_instance_);
  1799. }
  1800. inline ::message::Base_info* Parkspace_search_request_msg::release_base_info() {
  1801. // @@protoc_insertion_point(field_release:message.Parkspace_search_request_msg.base_info)
  1802. clear_has_base_info();
  1803. ::message::Base_info* temp = base_info_;
  1804. base_info_ = NULL;
  1805. return temp;
  1806. }
  1807. inline ::message::Base_info* Parkspace_search_request_msg::mutable_base_info() {
  1808. set_has_base_info();
  1809. if (base_info_ == NULL) {
  1810. auto* p = CreateMaybeMessage<::message::Base_info>(GetArenaNoVirtual());
  1811. base_info_ = p;
  1812. }
  1813. // @@protoc_insertion_point(field_mutable:message.Parkspace_search_request_msg.base_info)
  1814. return base_info_;
  1815. }
  1816. inline void Parkspace_search_request_msg::set_allocated_base_info(::message::Base_info* base_info) {
  1817. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1818. if (message_arena == NULL) {
  1819. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  1820. }
  1821. if (base_info) {
  1822. ::google::protobuf::Arena* submessage_arena = NULL;
  1823. if (message_arena != submessage_arena) {
  1824. base_info = ::google::protobuf::internal::GetOwnedMessage(
  1825. message_arena, base_info, submessage_arena);
  1826. }
  1827. set_has_base_info();
  1828. } else {
  1829. clear_has_base_info();
  1830. }
  1831. base_info_ = base_info;
  1832. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_search_request_msg.base_info)
  1833. }
  1834. // required string command_key = 2;
  1835. inline bool Parkspace_search_request_msg::has_command_key() const {
  1836. return (_has_bits_[0] & 0x00000001u) != 0;
  1837. }
  1838. inline void Parkspace_search_request_msg::set_has_command_key() {
  1839. _has_bits_[0] |= 0x00000001u;
  1840. }
  1841. inline void Parkspace_search_request_msg::clear_has_command_key() {
  1842. _has_bits_[0] &= ~0x00000001u;
  1843. }
  1844. inline void Parkspace_search_request_msg::clear_command_key() {
  1845. command_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1846. clear_has_command_key();
  1847. }
  1848. inline const ::std::string& Parkspace_search_request_msg::command_key() const {
  1849. // @@protoc_insertion_point(field_get:message.Parkspace_search_request_msg.command_key)
  1850. return command_key_.GetNoArena();
  1851. }
  1852. inline void Parkspace_search_request_msg::set_command_key(const ::std::string& value) {
  1853. set_has_command_key();
  1854. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1855. // @@protoc_insertion_point(field_set:message.Parkspace_search_request_msg.command_key)
  1856. }
  1857. #if LANG_CXX11
  1858. inline void Parkspace_search_request_msg::set_command_key(::std::string&& value) {
  1859. set_has_command_key();
  1860. command_key_.SetNoArena(
  1861. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1862. // @@protoc_insertion_point(field_set_rvalue:message.Parkspace_search_request_msg.command_key)
  1863. }
  1864. #endif
  1865. inline void Parkspace_search_request_msg::set_command_key(const char* value) {
  1866. GOOGLE_DCHECK(value != NULL);
  1867. set_has_command_key();
  1868. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1869. // @@protoc_insertion_point(field_set_char:message.Parkspace_search_request_msg.command_key)
  1870. }
  1871. inline void Parkspace_search_request_msg::set_command_key(const char* value, size_t size) {
  1872. set_has_command_key();
  1873. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1874. ::std::string(reinterpret_cast<const char*>(value), size));
  1875. // @@protoc_insertion_point(field_set_pointer:message.Parkspace_search_request_msg.command_key)
  1876. }
  1877. inline ::std::string* Parkspace_search_request_msg::mutable_command_key() {
  1878. set_has_command_key();
  1879. // @@protoc_insertion_point(field_mutable:message.Parkspace_search_request_msg.command_key)
  1880. return command_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1881. }
  1882. inline ::std::string* Parkspace_search_request_msg::release_command_key() {
  1883. // @@protoc_insertion_point(field_release:message.Parkspace_search_request_msg.command_key)
  1884. if (!has_command_key()) {
  1885. return NULL;
  1886. }
  1887. clear_has_command_key();
  1888. return command_key_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1889. }
  1890. inline void Parkspace_search_request_msg::set_allocated_command_key(::std::string* command_key) {
  1891. if (command_key != NULL) {
  1892. set_has_command_key();
  1893. } else {
  1894. clear_has_command_key();
  1895. }
  1896. command_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), command_key);
  1897. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_search_request_msg.command_key)
  1898. }
  1899. // required .message.Car_info car_info = 3;
  1900. inline bool Parkspace_search_request_msg::has_car_info() const {
  1901. return (_has_bits_[0] & 0x00000004u) != 0;
  1902. }
  1903. inline void Parkspace_search_request_msg::set_has_car_info() {
  1904. _has_bits_[0] |= 0x00000004u;
  1905. }
  1906. inline void Parkspace_search_request_msg::clear_has_car_info() {
  1907. _has_bits_[0] &= ~0x00000004u;
  1908. }
  1909. inline const ::message::Car_info& Parkspace_search_request_msg::_internal_car_info() const {
  1910. return *car_info_;
  1911. }
  1912. inline const ::message::Car_info& Parkspace_search_request_msg::car_info() const {
  1913. const ::message::Car_info* p = car_info_;
  1914. // @@protoc_insertion_point(field_get:message.Parkspace_search_request_msg.car_info)
  1915. return p != NULL ? *p : *reinterpret_cast<const ::message::Car_info*>(
  1916. &::message::_Car_info_default_instance_);
  1917. }
  1918. inline ::message::Car_info* Parkspace_search_request_msg::release_car_info() {
  1919. // @@protoc_insertion_point(field_release:message.Parkspace_search_request_msg.car_info)
  1920. clear_has_car_info();
  1921. ::message::Car_info* temp = car_info_;
  1922. car_info_ = NULL;
  1923. return temp;
  1924. }
  1925. inline ::message::Car_info* Parkspace_search_request_msg::mutable_car_info() {
  1926. set_has_car_info();
  1927. if (car_info_ == NULL) {
  1928. auto* p = CreateMaybeMessage<::message::Car_info>(GetArenaNoVirtual());
  1929. car_info_ = p;
  1930. }
  1931. // @@protoc_insertion_point(field_mutable:message.Parkspace_search_request_msg.car_info)
  1932. return car_info_;
  1933. }
  1934. inline void Parkspace_search_request_msg::set_allocated_car_info(::message::Car_info* car_info) {
  1935. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1936. if (message_arena == NULL) {
  1937. delete reinterpret_cast< ::google::protobuf::MessageLite*>(car_info_);
  1938. }
  1939. if (car_info) {
  1940. ::google::protobuf::Arena* submessage_arena = NULL;
  1941. if (message_arena != submessage_arena) {
  1942. car_info = ::google::protobuf::internal::GetOwnedMessage(
  1943. message_arena, car_info, submessage_arena);
  1944. }
  1945. set_has_car_info();
  1946. } else {
  1947. clear_has_car_info();
  1948. }
  1949. car_info_ = car_info;
  1950. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_search_request_msg.car_info)
  1951. }
  1952. // -------------------------------------------------------------------
  1953. // Parkspace_search_response_msg
  1954. // required .message.Base_info base_info = 1;
  1955. inline bool Parkspace_search_response_msg::has_base_info() const {
  1956. return (_has_bits_[0] & 0x00000002u) != 0;
  1957. }
  1958. inline void Parkspace_search_response_msg::set_has_base_info() {
  1959. _has_bits_[0] |= 0x00000002u;
  1960. }
  1961. inline void Parkspace_search_response_msg::clear_has_base_info() {
  1962. _has_bits_[0] &= ~0x00000002u;
  1963. }
  1964. inline const ::message::Base_info& Parkspace_search_response_msg::_internal_base_info() const {
  1965. return *base_info_;
  1966. }
  1967. inline const ::message::Base_info& Parkspace_search_response_msg::base_info() const {
  1968. const ::message::Base_info* p = base_info_;
  1969. // @@protoc_insertion_point(field_get:message.Parkspace_search_response_msg.base_info)
  1970. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  1971. &::message::_Base_info_default_instance_);
  1972. }
  1973. inline ::message::Base_info* Parkspace_search_response_msg::release_base_info() {
  1974. // @@protoc_insertion_point(field_release:message.Parkspace_search_response_msg.base_info)
  1975. clear_has_base_info();
  1976. ::message::Base_info* temp = base_info_;
  1977. base_info_ = NULL;
  1978. return temp;
  1979. }
  1980. inline ::message::Base_info* Parkspace_search_response_msg::mutable_base_info() {
  1981. set_has_base_info();
  1982. if (base_info_ == NULL) {
  1983. auto* p = CreateMaybeMessage<::message::Base_info>(GetArenaNoVirtual());
  1984. base_info_ = p;
  1985. }
  1986. // @@protoc_insertion_point(field_mutable:message.Parkspace_search_response_msg.base_info)
  1987. return base_info_;
  1988. }
  1989. inline void Parkspace_search_response_msg::set_allocated_base_info(::message::Base_info* base_info) {
  1990. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1991. if (message_arena == NULL) {
  1992. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  1993. }
  1994. if (base_info) {
  1995. ::google::protobuf::Arena* submessage_arena = NULL;
  1996. if (message_arena != submessage_arena) {
  1997. base_info = ::google::protobuf::internal::GetOwnedMessage(
  1998. message_arena, base_info, submessage_arena);
  1999. }
  2000. set_has_base_info();
  2001. } else {
  2002. clear_has_base_info();
  2003. }
  2004. base_info_ = base_info;
  2005. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_search_response_msg.base_info)
  2006. }
  2007. // required string command_key = 2;
  2008. inline bool Parkspace_search_response_msg::has_command_key() const {
  2009. return (_has_bits_[0] & 0x00000001u) != 0;
  2010. }
  2011. inline void Parkspace_search_response_msg::set_has_command_key() {
  2012. _has_bits_[0] |= 0x00000001u;
  2013. }
  2014. inline void Parkspace_search_response_msg::clear_has_command_key() {
  2015. _has_bits_[0] &= ~0x00000001u;
  2016. }
  2017. inline void Parkspace_search_response_msg::clear_command_key() {
  2018. command_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2019. clear_has_command_key();
  2020. }
  2021. inline const ::std::string& Parkspace_search_response_msg::command_key() const {
  2022. // @@protoc_insertion_point(field_get:message.Parkspace_search_response_msg.command_key)
  2023. return command_key_.GetNoArena();
  2024. }
  2025. inline void Parkspace_search_response_msg::set_command_key(const ::std::string& value) {
  2026. set_has_command_key();
  2027. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  2028. // @@protoc_insertion_point(field_set:message.Parkspace_search_response_msg.command_key)
  2029. }
  2030. #if LANG_CXX11
  2031. inline void Parkspace_search_response_msg::set_command_key(::std::string&& value) {
  2032. set_has_command_key();
  2033. command_key_.SetNoArena(
  2034. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  2035. // @@protoc_insertion_point(field_set_rvalue:message.Parkspace_search_response_msg.command_key)
  2036. }
  2037. #endif
  2038. inline void Parkspace_search_response_msg::set_command_key(const char* value) {
  2039. GOOGLE_DCHECK(value != NULL);
  2040. set_has_command_key();
  2041. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  2042. // @@protoc_insertion_point(field_set_char:message.Parkspace_search_response_msg.command_key)
  2043. }
  2044. inline void Parkspace_search_response_msg::set_command_key(const char* value, size_t size) {
  2045. set_has_command_key();
  2046. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  2047. ::std::string(reinterpret_cast<const char*>(value), size));
  2048. // @@protoc_insertion_point(field_set_pointer:message.Parkspace_search_response_msg.command_key)
  2049. }
  2050. inline ::std::string* Parkspace_search_response_msg::mutable_command_key() {
  2051. set_has_command_key();
  2052. // @@protoc_insertion_point(field_mutable:message.Parkspace_search_response_msg.command_key)
  2053. return command_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2054. }
  2055. inline ::std::string* Parkspace_search_response_msg::release_command_key() {
  2056. // @@protoc_insertion_point(field_release:message.Parkspace_search_response_msg.command_key)
  2057. if (!has_command_key()) {
  2058. return NULL;
  2059. }
  2060. clear_has_command_key();
  2061. return command_key_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2062. }
  2063. inline void Parkspace_search_response_msg::set_allocated_command_key(::std::string* command_key) {
  2064. if (command_key != NULL) {
  2065. set_has_command_key();
  2066. } else {
  2067. clear_has_command_key();
  2068. }
  2069. command_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), command_key);
  2070. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_search_response_msg.command_key)
  2071. }
  2072. // required .message.Error_manager error_manager = 3;
  2073. inline bool Parkspace_search_response_msg::has_error_manager() const {
  2074. return (_has_bits_[0] & 0x00000004u) != 0;
  2075. }
  2076. inline void Parkspace_search_response_msg::set_has_error_manager() {
  2077. _has_bits_[0] |= 0x00000004u;
  2078. }
  2079. inline void Parkspace_search_response_msg::clear_has_error_manager() {
  2080. _has_bits_[0] &= ~0x00000004u;
  2081. }
  2082. inline const ::message::Error_manager& Parkspace_search_response_msg::_internal_error_manager() const {
  2083. return *error_manager_;
  2084. }
  2085. inline const ::message::Error_manager& Parkspace_search_response_msg::error_manager() const {
  2086. const ::message::Error_manager* p = error_manager_;
  2087. // @@protoc_insertion_point(field_get:message.Parkspace_search_response_msg.error_manager)
  2088. return p != NULL ? *p : *reinterpret_cast<const ::message::Error_manager*>(
  2089. &::message::_Error_manager_default_instance_);
  2090. }
  2091. inline ::message::Error_manager* Parkspace_search_response_msg::release_error_manager() {
  2092. // @@protoc_insertion_point(field_release:message.Parkspace_search_response_msg.error_manager)
  2093. clear_has_error_manager();
  2094. ::message::Error_manager* temp = error_manager_;
  2095. error_manager_ = NULL;
  2096. return temp;
  2097. }
  2098. inline ::message::Error_manager* Parkspace_search_response_msg::mutable_error_manager() {
  2099. set_has_error_manager();
  2100. if (error_manager_ == NULL) {
  2101. auto* p = CreateMaybeMessage<::message::Error_manager>(GetArenaNoVirtual());
  2102. error_manager_ = p;
  2103. }
  2104. // @@protoc_insertion_point(field_mutable:message.Parkspace_search_response_msg.error_manager)
  2105. return error_manager_;
  2106. }
  2107. inline void Parkspace_search_response_msg::set_allocated_error_manager(::message::Error_manager* error_manager) {
  2108. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2109. if (message_arena == NULL) {
  2110. delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_manager_);
  2111. }
  2112. if (error_manager) {
  2113. ::google::protobuf::Arena* submessage_arena = NULL;
  2114. if (message_arena != submessage_arena) {
  2115. error_manager = ::google::protobuf::internal::GetOwnedMessage(
  2116. message_arena, error_manager, submessage_arena);
  2117. }
  2118. set_has_error_manager();
  2119. } else {
  2120. clear_has_error_manager();
  2121. }
  2122. error_manager_ = error_manager;
  2123. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_search_response_msg.error_manager)
  2124. }
  2125. // optional .message.Parkspace_info car_position = 4;
  2126. inline bool Parkspace_search_response_msg::has_car_position() const {
  2127. return (_has_bits_[0] & 0x00000008u) != 0;
  2128. }
  2129. inline void Parkspace_search_response_msg::set_has_car_position() {
  2130. _has_bits_[0] |= 0x00000008u;
  2131. }
  2132. inline void Parkspace_search_response_msg::clear_has_car_position() {
  2133. _has_bits_[0] &= ~0x00000008u;
  2134. }
  2135. inline const ::message::Parkspace_info& Parkspace_search_response_msg::_internal_car_position() const {
  2136. return *car_position_;
  2137. }
  2138. inline const ::message::Parkspace_info& Parkspace_search_response_msg::car_position() const {
  2139. const ::message::Parkspace_info* p = car_position_;
  2140. // @@protoc_insertion_point(field_get:message.Parkspace_search_response_msg.car_position)
  2141. return p != NULL ? *p : *reinterpret_cast<const ::message::Parkspace_info*>(
  2142. &::message::_Parkspace_info_default_instance_);
  2143. }
  2144. inline ::message::Parkspace_info* Parkspace_search_response_msg::release_car_position() {
  2145. // @@protoc_insertion_point(field_release:message.Parkspace_search_response_msg.car_position)
  2146. clear_has_car_position();
  2147. ::message::Parkspace_info* temp = car_position_;
  2148. car_position_ = NULL;
  2149. return temp;
  2150. }
  2151. inline ::message::Parkspace_info* Parkspace_search_response_msg::mutable_car_position() {
  2152. set_has_car_position();
  2153. if (car_position_ == NULL) {
  2154. auto* p = CreateMaybeMessage<::message::Parkspace_info>(GetArenaNoVirtual());
  2155. car_position_ = p;
  2156. }
  2157. // @@protoc_insertion_point(field_mutable:message.Parkspace_search_response_msg.car_position)
  2158. return car_position_;
  2159. }
  2160. inline void Parkspace_search_response_msg::set_allocated_car_position(::message::Parkspace_info* car_position) {
  2161. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2162. if (message_arena == NULL) {
  2163. delete reinterpret_cast< ::google::protobuf::MessageLite*>(car_position_);
  2164. }
  2165. if (car_position) {
  2166. ::google::protobuf::Arena* submessage_arena = NULL;
  2167. if (message_arena != submessage_arena) {
  2168. car_position = ::google::protobuf::internal::GetOwnedMessage(
  2169. message_arena, car_position, submessage_arena);
  2170. }
  2171. set_has_car_position();
  2172. } else {
  2173. clear_has_car_position();
  2174. }
  2175. car_position_ = car_position;
  2176. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_search_response_msg.car_position)
  2177. }
  2178. // -------------------------------------------------------------------
  2179. // Parkspace_release_request_msg
  2180. // required .message.Base_info base_info = 1;
  2181. inline bool Parkspace_release_request_msg::has_base_info() const {
  2182. return (_has_bits_[0] & 0x00000002u) != 0;
  2183. }
  2184. inline void Parkspace_release_request_msg::set_has_base_info() {
  2185. _has_bits_[0] |= 0x00000002u;
  2186. }
  2187. inline void Parkspace_release_request_msg::clear_has_base_info() {
  2188. _has_bits_[0] &= ~0x00000002u;
  2189. }
  2190. inline const ::message::Base_info& Parkspace_release_request_msg::_internal_base_info() const {
  2191. return *base_info_;
  2192. }
  2193. inline const ::message::Base_info& Parkspace_release_request_msg::base_info() const {
  2194. const ::message::Base_info* p = base_info_;
  2195. // @@protoc_insertion_point(field_get:message.Parkspace_release_request_msg.base_info)
  2196. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  2197. &::message::_Base_info_default_instance_);
  2198. }
  2199. inline ::message::Base_info* Parkspace_release_request_msg::release_base_info() {
  2200. // @@protoc_insertion_point(field_release:message.Parkspace_release_request_msg.base_info)
  2201. clear_has_base_info();
  2202. ::message::Base_info* temp = base_info_;
  2203. base_info_ = NULL;
  2204. return temp;
  2205. }
  2206. inline ::message::Base_info* Parkspace_release_request_msg::mutable_base_info() {
  2207. set_has_base_info();
  2208. if (base_info_ == NULL) {
  2209. auto* p = CreateMaybeMessage<::message::Base_info>(GetArenaNoVirtual());
  2210. base_info_ = p;
  2211. }
  2212. // @@protoc_insertion_point(field_mutable:message.Parkspace_release_request_msg.base_info)
  2213. return base_info_;
  2214. }
  2215. inline void Parkspace_release_request_msg::set_allocated_base_info(::message::Base_info* base_info) {
  2216. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2217. if (message_arena == NULL) {
  2218. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  2219. }
  2220. if (base_info) {
  2221. ::google::protobuf::Arena* submessage_arena = NULL;
  2222. if (message_arena != submessage_arena) {
  2223. base_info = ::google::protobuf::internal::GetOwnedMessage(
  2224. message_arena, base_info, submessage_arena);
  2225. }
  2226. set_has_base_info();
  2227. } else {
  2228. clear_has_base_info();
  2229. }
  2230. base_info_ = base_info;
  2231. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_release_request_msg.base_info)
  2232. }
  2233. // required string command_key = 2;
  2234. inline bool Parkspace_release_request_msg::has_command_key() const {
  2235. return (_has_bits_[0] & 0x00000001u) != 0;
  2236. }
  2237. inline void Parkspace_release_request_msg::set_has_command_key() {
  2238. _has_bits_[0] |= 0x00000001u;
  2239. }
  2240. inline void Parkspace_release_request_msg::clear_has_command_key() {
  2241. _has_bits_[0] &= ~0x00000001u;
  2242. }
  2243. inline void Parkspace_release_request_msg::clear_command_key() {
  2244. command_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2245. clear_has_command_key();
  2246. }
  2247. inline const ::std::string& Parkspace_release_request_msg::command_key() const {
  2248. // @@protoc_insertion_point(field_get:message.Parkspace_release_request_msg.command_key)
  2249. return command_key_.GetNoArena();
  2250. }
  2251. inline void Parkspace_release_request_msg::set_command_key(const ::std::string& value) {
  2252. set_has_command_key();
  2253. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  2254. // @@protoc_insertion_point(field_set:message.Parkspace_release_request_msg.command_key)
  2255. }
  2256. #if LANG_CXX11
  2257. inline void Parkspace_release_request_msg::set_command_key(::std::string&& value) {
  2258. set_has_command_key();
  2259. command_key_.SetNoArena(
  2260. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  2261. // @@protoc_insertion_point(field_set_rvalue:message.Parkspace_release_request_msg.command_key)
  2262. }
  2263. #endif
  2264. inline void Parkspace_release_request_msg::set_command_key(const char* value) {
  2265. GOOGLE_DCHECK(value != NULL);
  2266. set_has_command_key();
  2267. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  2268. // @@protoc_insertion_point(field_set_char:message.Parkspace_release_request_msg.command_key)
  2269. }
  2270. inline void Parkspace_release_request_msg::set_command_key(const char* value, size_t size) {
  2271. set_has_command_key();
  2272. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  2273. ::std::string(reinterpret_cast<const char*>(value), size));
  2274. // @@protoc_insertion_point(field_set_pointer:message.Parkspace_release_request_msg.command_key)
  2275. }
  2276. inline ::std::string* Parkspace_release_request_msg::mutable_command_key() {
  2277. set_has_command_key();
  2278. // @@protoc_insertion_point(field_mutable:message.Parkspace_release_request_msg.command_key)
  2279. return command_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2280. }
  2281. inline ::std::string* Parkspace_release_request_msg::release_command_key() {
  2282. // @@protoc_insertion_point(field_release:message.Parkspace_release_request_msg.command_key)
  2283. if (!has_command_key()) {
  2284. return NULL;
  2285. }
  2286. clear_has_command_key();
  2287. return command_key_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2288. }
  2289. inline void Parkspace_release_request_msg::set_allocated_command_key(::std::string* command_key) {
  2290. if (command_key != NULL) {
  2291. set_has_command_key();
  2292. } else {
  2293. clear_has_command_key();
  2294. }
  2295. command_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), command_key);
  2296. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_release_request_msg.command_key)
  2297. }
  2298. // required .message.Parkspace_info release_space_info = 3;
  2299. inline bool Parkspace_release_request_msg::has_release_space_info() const {
  2300. return (_has_bits_[0] & 0x00000004u) != 0;
  2301. }
  2302. inline void Parkspace_release_request_msg::set_has_release_space_info() {
  2303. _has_bits_[0] |= 0x00000004u;
  2304. }
  2305. inline void Parkspace_release_request_msg::clear_has_release_space_info() {
  2306. _has_bits_[0] &= ~0x00000004u;
  2307. }
  2308. inline const ::message::Parkspace_info& Parkspace_release_request_msg::_internal_release_space_info() const {
  2309. return *release_space_info_;
  2310. }
  2311. inline const ::message::Parkspace_info& Parkspace_release_request_msg::release_space_info() const {
  2312. const ::message::Parkspace_info* p = release_space_info_;
  2313. // @@protoc_insertion_point(field_get:message.Parkspace_release_request_msg.release_space_info)
  2314. return p != NULL ? *p : *reinterpret_cast<const ::message::Parkspace_info*>(
  2315. &::message::_Parkspace_info_default_instance_);
  2316. }
  2317. inline ::message::Parkspace_info* Parkspace_release_request_msg::release_release_space_info() {
  2318. // @@protoc_insertion_point(field_release:message.Parkspace_release_request_msg.release_space_info)
  2319. clear_has_release_space_info();
  2320. ::message::Parkspace_info* temp = release_space_info_;
  2321. release_space_info_ = NULL;
  2322. return temp;
  2323. }
  2324. inline ::message::Parkspace_info* Parkspace_release_request_msg::mutable_release_space_info() {
  2325. set_has_release_space_info();
  2326. if (release_space_info_ == NULL) {
  2327. auto* p = CreateMaybeMessage<::message::Parkspace_info>(GetArenaNoVirtual());
  2328. release_space_info_ = p;
  2329. }
  2330. // @@protoc_insertion_point(field_mutable:message.Parkspace_release_request_msg.release_space_info)
  2331. return release_space_info_;
  2332. }
  2333. inline void Parkspace_release_request_msg::set_allocated_release_space_info(::message::Parkspace_info* release_space_info) {
  2334. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2335. if (message_arena == NULL) {
  2336. delete reinterpret_cast< ::google::protobuf::MessageLite*>(release_space_info_);
  2337. }
  2338. if (release_space_info) {
  2339. ::google::protobuf::Arena* submessage_arena = NULL;
  2340. if (message_arena != submessage_arena) {
  2341. release_space_info = ::google::protobuf::internal::GetOwnedMessage(
  2342. message_arena, release_space_info, submessage_arena);
  2343. }
  2344. set_has_release_space_info();
  2345. } else {
  2346. clear_has_release_space_info();
  2347. }
  2348. release_space_info_ = release_space_info;
  2349. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_release_request_msg.release_space_info)
  2350. }
  2351. // -------------------------------------------------------------------
  2352. // Parkspace_release_response_msg
  2353. // required .message.Base_info base_info = 1;
  2354. inline bool Parkspace_release_response_msg::has_base_info() const {
  2355. return (_has_bits_[0] & 0x00000002u) != 0;
  2356. }
  2357. inline void Parkspace_release_response_msg::set_has_base_info() {
  2358. _has_bits_[0] |= 0x00000002u;
  2359. }
  2360. inline void Parkspace_release_response_msg::clear_has_base_info() {
  2361. _has_bits_[0] &= ~0x00000002u;
  2362. }
  2363. inline const ::message::Base_info& Parkspace_release_response_msg::_internal_base_info() const {
  2364. return *base_info_;
  2365. }
  2366. inline const ::message::Base_info& Parkspace_release_response_msg::base_info() const {
  2367. const ::message::Base_info* p = base_info_;
  2368. // @@protoc_insertion_point(field_get:message.Parkspace_release_response_msg.base_info)
  2369. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  2370. &::message::_Base_info_default_instance_);
  2371. }
  2372. inline ::message::Base_info* Parkspace_release_response_msg::release_base_info() {
  2373. // @@protoc_insertion_point(field_release:message.Parkspace_release_response_msg.base_info)
  2374. clear_has_base_info();
  2375. ::message::Base_info* temp = base_info_;
  2376. base_info_ = NULL;
  2377. return temp;
  2378. }
  2379. inline ::message::Base_info* Parkspace_release_response_msg::mutable_base_info() {
  2380. set_has_base_info();
  2381. if (base_info_ == NULL) {
  2382. auto* p = CreateMaybeMessage<::message::Base_info>(GetArenaNoVirtual());
  2383. base_info_ = p;
  2384. }
  2385. // @@protoc_insertion_point(field_mutable:message.Parkspace_release_response_msg.base_info)
  2386. return base_info_;
  2387. }
  2388. inline void Parkspace_release_response_msg::set_allocated_base_info(::message::Base_info* base_info) {
  2389. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2390. if (message_arena == NULL) {
  2391. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  2392. }
  2393. if (base_info) {
  2394. ::google::protobuf::Arena* submessage_arena = NULL;
  2395. if (message_arena != submessage_arena) {
  2396. base_info = ::google::protobuf::internal::GetOwnedMessage(
  2397. message_arena, base_info, submessage_arena);
  2398. }
  2399. set_has_base_info();
  2400. } else {
  2401. clear_has_base_info();
  2402. }
  2403. base_info_ = base_info;
  2404. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_release_response_msg.base_info)
  2405. }
  2406. // required string command_key = 2;
  2407. inline bool Parkspace_release_response_msg::has_command_key() const {
  2408. return (_has_bits_[0] & 0x00000001u) != 0;
  2409. }
  2410. inline void Parkspace_release_response_msg::set_has_command_key() {
  2411. _has_bits_[0] |= 0x00000001u;
  2412. }
  2413. inline void Parkspace_release_response_msg::clear_has_command_key() {
  2414. _has_bits_[0] &= ~0x00000001u;
  2415. }
  2416. inline void Parkspace_release_response_msg::clear_command_key() {
  2417. command_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2418. clear_has_command_key();
  2419. }
  2420. inline const ::std::string& Parkspace_release_response_msg::command_key() const {
  2421. // @@protoc_insertion_point(field_get:message.Parkspace_release_response_msg.command_key)
  2422. return command_key_.GetNoArena();
  2423. }
  2424. inline void Parkspace_release_response_msg::set_command_key(const ::std::string& value) {
  2425. set_has_command_key();
  2426. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  2427. // @@protoc_insertion_point(field_set:message.Parkspace_release_response_msg.command_key)
  2428. }
  2429. #if LANG_CXX11
  2430. inline void Parkspace_release_response_msg::set_command_key(::std::string&& value) {
  2431. set_has_command_key();
  2432. command_key_.SetNoArena(
  2433. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  2434. // @@protoc_insertion_point(field_set_rvalue:message.Parkspace_release_response_msg.command_key)
  2435. }
  2436. #endif
  2437. inline void Parkspace_release_response_msg::set_command_key(const char* value) {
  2438. GOOGLE_DCHECK(value != NULL);
  2439. set_has_command_key();
  2440. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  2441. // @@protoc_insertion_point(field_set_char:message.Parkspace_release_response_msg.command_key)
  2442. }
  2443. inline void Parkspace_release_response_msg::set_command_key(const char* value, size_t size) {
  2444. set_has_command_key();
  2445. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  2446. ::std::string(reinterpret_cast<const char*>(value), size));
  2447. // @@protoc_insertion_point(field_set_pointer:message.Parkspace_release_response_msg.command_key)
  2448. }
  2449. inline ::std::string* Parkspace_release_response_msg::mutable_command_key() {
  2450. set_has_command_key();
  2451. // @@protoc_insertion_point(field_mutable:message.Parkspace_release_response_msg.command_key)
  2452. return command_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2453. }
  2454. inline ::std::string* Parkspace_release_response_msg::release_command_key() {
  2455. // @@protoc_insertion_point(field_release:message.Parkspace_release_response_msg.command_key)
  2456. if (!has_command_key()) {
  2457. return NULL;
  2458. }
  2459. clear_has_command_key();
  2460. return command_key_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2461. }
  2462. inline void Parkspace_release_response_msg::set_allocated_command_key(::std::string* command_key) {
  2463. if (command_key != NULL) {
  2464. set_has_command_key();
  2465. } else {
  2466. clear_has_command_key();
  2467. }
  2468. command_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), command_key);
  2469. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_release_response_msg.command_key)
  2470. }
  2471. // required .message.Error_manager error_manager = 3;
  2472. inline bool Parkspace_release_response_msg::has_error_manager() const {
  2473. return (_has_bits_[0] & 0x00000004u) != 0;
  2474. }
  2475. inline void Parkspace_release_response_msg::set_has_error_manager() {
  2476. _has_bits_[0] |= 0x00000004u;
  2477. }
  2478. inline void Parkspace_release_response_msg::clear_has_error_manager() {
  2479. _has_bits_[0] &= ~0x00000004u;
  2480. }
  2481. inline const ::message::Error_manager& Parkspace_release_response_msg::_internal_error_manager() const {
  2482. return *error_manager_;
  2483. }
  2484. inline const ::message::Error_manager& Parkspace_release_response_msg::error_manager() const {
  2485. const ::message::Error_manager* p = error_manager_;
  2486. // @@protoc_insertion_point(field_get:message.Parkspace_release_response_msg.error_manager)
  2487. return p != NULL ? *p : *reinterpret_cast<const ::message::Error_manager*>(
  2488. &::message::_Error_manager_default_instance_);
  2489. }
  2490. inline ::message::Error_manager* Parkspace_release_response_msg::release_error_manager() {
  2491. // @@protoc_insertion_point(field_release:message.Parkspace_release_response_msg.error_manager)
  2492. clear_has_error_manager();
  2493. ::message::Error_manager* temp = error_manager_;
  2494. error_manager_ = NULL;
  2495. return temp;
  2496. }
  2497. inline ::message::Error_manager* Parkspace_release_response_msg::mutable_error_manager() {
  2498. set_has_error_manager();
  2499. if (error_manager_ == NULL) {
  2500. auto* p = CreateMaybeMessage<::message::Error_manager>(GetArenaNoVirtual());
  2501. error_manager_ = p;
  2502. }
  2503. // @@protoc_insertion_point(field_mutable:message.Parkspace_release_response_msg.error_manager)
  2504. return error_manager_;
  2505. }
  2506. inline void Parkspace_release_response_msg::set_allocated_error_manager(::message::Error_manager* error_manager) {
  2507. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2508. if (message_arena == NULL) {
  2509. delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_manager_);
  2510. }
  2511. if (error_manager) {
  2512. ::google::protobuf::Arena* submessage_arena = NULL;
  2513. if (message_arena != submessage_arena) {
  2514. error_manager = ::google::protobuf::internal::GetOwnedMessage(
  2515. message_arena, error_manager, submessage_arena);
  2516. }
  2517. set_has_error_manager();
  2518. } else {
  2519. clear_has_error_manager();
  2520. }
  2521. error_manager_ = error_manager;
  2522. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_release_response_msg.error_manager)
  2523. }
  2524. // required .message.Parkspace_info release_space_info = 4;
  2525. inline bool Parkspace_release_response_msg::has_release_space_info() const {
  2526. return (_has_bits_[0] & 0x00000008u) != 0;
  2527. }
  2528. inline void Parkspace_release_response_msg::set_has_release_space_info() {
  2529. _has_bits_[0] |= 0x00000008u;
  2530. }
  2531. inline void Parkspace_release_response_msg::clear_has_release_space_info() {
  2532. _has_bits_[0] &= ~0x00000008u;
  2533. }
  2534. inline const ::message::Parkspace_info& Parkspace_release_response_msg::_internal_release_space_info() const {
  2535. return *release_space_info_;
  2536. }
  2537. inline const ::message::Parkspace_info& Parkspace_release_response_msg::release_space_info() const {
  2538. const ::message::Parkspace_info* p = release_space_info_;
  2539. // @@protoc_insertion_point(field_get:message.Parkspace_release_response_msg.release_space_info)
  2540. return p != NULL ? *p : *reinterpret_cast<const ::message::Parkspace_info*>(
  2541. &::message::_Parkspace_info_default_instance_);
  2542. }
  2543. inline ::message::Parkspace_info* Parkspace_release_response_msg::release_release_space_info() {
  2544. // @@protoc_insertion_point(field_release:message.Parkspace_release_response_msg.release_space_info)
  2545. clear_has_release_space_info();
  2546. ::message::Parkspace_info* temp = release_space_info_;
  2547. release_space_info_ = NULL;
  2548. return temp;
  2549. }
  2550. inline ::message::Parkspace_info* Parkspace_release_response_msg::mutable_release_space_info() {
  2551. set_has_release_space_info();
  2552. if (release_space_info_ == NULL) {
  2553. auto* p = CreateMaybeMessage<::message::Parkspace_info>(GetArenaNoVirtual());
  2554. release_space_info_ = p;
  2555. }
  2556. // @@protoc_insertion_point(field_mutable:message.Parkspace_release_response_msg.release_space_info)
  2557. return release_space_info_;
  2558. }
  2559. inline void Parkspace_release_response_msg::set_allocated_release_space_info(::message::Parkspace_info* release_space_info) {
  2560. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2561. if (message_arena == NULL) {
  2562. delete reinterpret_cast< ::google::protobuf::MessageLite*>(release_space_info_);
  2563. }
  2564. if (release_space_info) {
  2565. ::google::protobuf::Arena* submessage_arena = NULL;
  2566. if (message_arena != submessage_arena) {
  2567. release_space_info = ::google::protobuf::internal::GetOwnedMessage(
  2568. message_arena, release_space_info, submessage_arena);
  2569. }
  2570. set_has_release_space_info();
  2571. } else {
  2572. clear_has_release_space_info();
  2573. }
  2574. release_space_info_ = release_space_info;
  2575. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_release_response_msg.release_space_info)
  2576. }
  2577. // -------------------------------------------------------------------
  2578. // Parkspace_confirm_alloc_request_msg
  2579. // required .message.Base_info base_info = 1;
  2580. inline bool Parkspace_confirm_alloc_request_msg::has_base_info() const {
  2581. return (_has_bits_[0] & 0x00000002u) != 0;
  2582. }
  2583. inline void Parkspace_confirm_alloc_request_msg::set_has_base_info() {
  2584. _has_bits_[0] |= 0x00000002u;
  2585. }
  2586. inline void Parkspace_confirm_alloc_request_msg::clear_has_base_info() {
  2587. _has_bits_[0] &= ~0x00000002u;
  2588. }
  2589. inline const ::message::Base_info& Parkspace_confirm_alloc_request_msg::_internal_base_info() const {
  2590. return *base_info_;
  2591. }
  2592. inline const ::message::Base_info& Parkspace_confirm_alloc_request_msg::base_info() const {
  2593. const ::message::Base_info* p = base_info_;
  2594. // @@protoc_insertion_point(field_get:message.Parkspace_confirm_alloc_request_msg.base_info)
  2595. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  2596. &::message::_Base_info_default_instance_);
  2597. }
  2598. inline ::message::Base_info* Parkspace_confirm_alloc_request_msg::release_base_info() {
  2599. // @@protoc_insertion_point(field_release:message.Parkspace_confirm_alloc_request_msg.base_info)
  2600. clear_has_base_info();
  2601. ::message::Base_info* temp = base_info_;
  2602. base_info_ = NULL;
  2603. return temp;
  2604. }
  2605. inline ::message::Base_info* Parkspace_confirm_alloc_request_msg::mutable_base_info() {
  2606. set_has_base_info();
  2607. if (base_info_ == NULL) {
  2608. auto* p = CreateMaybeMessage<::message::Base_info>(GetArenaNoVirtual());
  2609. base_info_ = p;
  2610. }
  2611. // @@protoc_insertion_point(field_mutable:message.Parkspace_confirm_alloc_request_msg.base_info)
  2612. return base_info_;
  2613. }
  2614. inline void Parkspace_confirm_alloc_request_msg::set_allocated_base_info(::message::Base_info* base_info) {
  2615. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2616. if (message_arena == NULL) {
  2617. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  2618. }
  2619. if (base_info) {
  2620. ::google::protobuf::Arena* submessage_arena = NULL;
  2621. if (message_arena != submessage_arena) {
  2622. base_info = ::google::protobuf::internal::GetOwnedMessage(
  2623. message_arena, base_info, submessage_arena);
  2624. }
  2625. set_has_base_info();
  2626. } else {
  2627. clear_has_base_info();
  2628. }
  2629. base_info_ = base_info;
  2630. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_confirm_alloc_request_msg.base_info)
  2631. }
  2632. // required string command_key = 2;
  2633. inline bool Parkspace_confirm_alloc_request_msg::has_command_key() const {
  2634. return (_has_bits_[0] & 0x00000001u) != 0;
  2635. }
  2636. inline void Parkspace_confirm_alloc_request_msg::set_has_command_key() {
  2637. _has_bits_[0] |= 0x00000001u;
  2638. }
  2639. inline void Parkspace_confirm_alloc_request_msg::clear_has_command_key() {
  2640. _has_bits_[0] &= ~0x00000001u;
  2641. }
  2642. inline void Parkspace_confirm_alloc_request_msg::clear_command_key() {
  2643. command_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2644. clear_has_command_key();
  2645. }
  2646. inline const ::std::string& Parkspace_confirm_alloc_request_msg::command_key() const {
  2647. // @@protoc_insertion_point(field_get:message.Parkspace_confirm_alloc_request_msg.command_key)
  2648. return command_key_.GetNoArena();
  2649. }
  2650. inline void Parkspace_confirm_alloc_request_msg::set_command_key(const ::std::string& value) {
  2651. set_has_command_key();
  2652. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  2653. // @@protoc_insertion_point(field_set:message.Parkspace_confirm_alloc_request_msg.command_key)
  2654. }
  2655. #if LANG_CXX11
  2656. inline void Parkspace_confirm_alloc_request_msg::set_command_key(::std::string&& value) {
  2657. set_has_command_key();
  2658. command_key_.SetNoArena(
  2659. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  2660. // @@protoc_insertion_point(field_set_rvalue:message.Parkspace_confirm_alloc_request_msg.command_key)
  2661. }
  2662. #endif
  2663. inline void Parkspace_confirm_alloc_request_msg::set_command_key(const char* value) {
  2664. GOOGLE_DCHECK(value != NULL);
  2665. set_has_command_key();
  2666. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  2667. // @@protoc_insertion_point(field_set_char:message.Parkspace_confirm_alloc_request_msg.command_key)
  2668. }
  2669. inline void Parkspace_confirm_alloc_request_msg::set_command_key(const char* value, size_t size) {
  2670. set_has_command_key();
  2671. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  2672. ::std::string(reinterpret_cast<const char*>(value), size));
  2673. // @@protoc_insertion_point(field_set_pointer:message.Parkspace_confirm_alloc_request_msg.command_key)
  2674. }
  2675. inline ::std::string* Parkspace_confirm_alloc_request_msg::mutable_command_key() {
  2676. set_has_command_key();
  2677. // @@protoc_insertion_point(field_mutable:message.Parkspace_confirm_alloc_request_msg.command_key)
  2678. return command_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2679. }
  2680. inline ::std::string* Parkspace_confirm_alloc_request_msg::release_command_key() {
  2681. // @@protoc_insertion_point(field_release:message.Parkspace_confirm_alloc_request_msg.command_key)
  2682. if (!has_command_key()) {
  2683. return NULL;
  2684. }
  2685. clear_has_command_key();
  2686. return command_key_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2687. }
  2688. inline void Parkspace_confirm_alloc_request_msg::set_allocated_command_key(::std::string* command_key) {
  2689. if (command_key != NULL) {
  2690. set_has_command_key();
  2691. } else {
  2692. clear_has_command_key();
  2693. }
  2694. command_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), command_key);
  2695. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_confirm_alloc_request_msg.command_key)
  2696. }
  2697. // required .message.Parkspace_info confirm_space_info = 3;
  2698. inline bool Parkspace_confirm_alloc_request_msg::has_confirm_space_info() const {
  2699. return (_has_bits_[0] & 0x00000004u) != 0;
  2700. }
  2701. inline void Parkspace_confirm_alloc_request_msg::set_has_confirm_space_info() {
  2702. _has_bits_[0] |= 0x00000004u;
  2703. }
  2704. inline void Parkspace_confirm_alloc_request_msg::clear_has_confirm_space_info() {
  2705. _has_bits_[0] &= ~0x00000004u;
  2706. }
  2707. inline const ::message::Parkspace_info& Parkspace_confirm_alloc_request_msg::_internal_confirm_space_info() const {
  2708. return *confirm_space_info_;
  2709. }
  2710. inline const ::message::Parkspace_info& Parkspace_confirm_alloc_request_msg::confirm_space_info() const {
  2711. const ::message::Parkspace_info* p = confirm_space_info_;
  2712. // @@protoc_insertion_point(field_get:message.Parkspace_confirm_alloc_request_msg.confirm_space_info)
  2713. return p != NULL ? *p : *reinterpret_cast<const ::message::Parkspace_info*>(
  2714. &::message::_Parkspace_info_default_instance_);
  2715. }
  2716. inline ::message::Parkspace_info* Parkspace_confirm_alloc_request_msg::release_confirm_space_info() {
  2717. // @@protoc_insertion_point(field_release:message.Parkspace_confirm_alloc_request_msg.confirm_space_info)
  2718. clear_has_confirm_space_info();
  2719. ::message::Parkspace_info* temp = confirm_space_info_;
  2720. confirm_space_info_ = NULL;
  2721. return temp;
  2722. }
  2723. inline ::message::Parkspace_info* Parkspace_confirm_alloc_request_msg::mutable_confirm_space_info() {
  2724. set_has_confirm_space_info();
  2725. if (confirm_space_info_ == NULL) {
  2726. auto* p = CreateMaybeMessage<::message::Parkspace_info>(GetArenaNoVirtual());
  2727. confirm_space_info_ = p;
  2728. }
  2729. // @@protoc_insertion_point(field_mutable:message.Parkspace_confirm_alloc_request_msg.confirm_space_info)
  2730. return confirm_space_info_;
  2731. }
  2732. inline void Parkspace_confirm_alloc_request_msg::set_allocated_confirm_space_info(::message::Parkspace_info* confirm_space_info) {
  2733. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2734. if (message_arena == NULL) {
  2735. delete reinterpret_cast< ::google::protobuf::MessageLite*>(confirm_space_info_);
  2736. }
  2737. if (confirm_space_info) {
  2738. ::google::protobuf::Arena* submessage_arena = NULL;
  2739. if (message_arena != submessage_arena) {
  2740. confirm_space_info = ::google::protobuf::internal::GetOwnedMessage(
  2741. message_arena, confirm_space_info, submessage_arena);
  2742. }
  2743. set_has_confirm_space_info();
  2744. } else {
  2745. clear_has_confirm_space_info();
  2746. }
  2747. confirm_space_info_ = confirm_space_info;
  2748. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_confirm_alloc_request_msg.confirm_space_info)
  2749. }
  2750. // -------------------------------------------------------------------
  2751. // Parkspace_confirm_alloc_response_msg
  2752. // required .message.Base_info base_info = 1;
  2753. inline bool Parkspace_confirm_alloc_response_msg::has_base_info() const {
  2754. return (_has_bits_[0] & 0x00000002u) != 0;
  2755. }
  2756. inline void Parkspace_confirm_alloc_response_msg::set_has_base_info() {
  2757. _has_bits_[0] |= 0x00000002u;
  2758. }
  2759. inline void Parkspace_confirm_alloc_response_msg::clear_has_base_info() {
  2760. _has_bits_[0] &= ~0x00000002u;
  2761. }
  2762. inline const ::message::Base_info& Parkspace_confirm_alloc_response_msg::_internal_base_info() const {
  2763. return *base_info_;
  2764. }
  2765. inline const ::message::Base_info& Parkspace_confirm_alloc_response_msg::base_info() const {
  2766. const ::message::Base_info* p = base_info_;
  2767. // @@protoc_insertion_point(field_get:message.Parkspace_confirm_alloc_response_msg.base_info)
  2768. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  2769. &::message::_Base_info_default_instance_);
  2770. }
  2771. inline ::message::Base_info* Parkspace_confirm_alloc_response_msg::release_base_info() {
  2772. // @@protoc_insertion_point(field_release:message.Parkspace_confirm_alloc_response_msg.base_info)
  2773. clear_has_base_info();
  2774. ::message::Base_info* temp = base_info_;
  2775. base_info_ = NULL;
  2776. return temp;
  2777. }
  2778. inline ::message::Base_info* Parkspace_confirm_alloc_response_msg::mutable_base_info() {
  2779. set_has_base_info();
  2780. if (base_info_ == NULL) {
  2781. auto* p = CreateMaybeMessage<::message::Base_info>(GetArenaNoVirtual());
  2782. base_info_ = p;
  2783. }
  2784. // @@protoc_insertion_point(field_mutable:message.Parkspace_confirm_alloc_response_msg.base_info)
  2785. return base_info_;
  2786. }
  2787. inline void Parkspace_confirm_alloc_response_msg::set_allocated_base_info(::message::Base_info* base_info) {
  2788. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2789. if (message_arena == NULL) {
  2790. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  2791. }
  2792. if (base_info) {
  2793. ::google::protobuf::Arena* submessage_arena = NULL;
  2794. if (message_arena != submessage_arena) {
  2795. base_info = ::google::protobuf::internal::GetOwnedMessage(
  2796. message_arena, base_info, submessage_arena);
  2797. }
  2798. set_has_base_info();
  2799. } else {
  2800. clear_has_base_info();
  2801. }
  2802. base_info_ = base_info;
  2803. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_confirm_alloc_response_msg.base_info)
  2804. }
  2805. // required string command_key = 2;
  2806. inline bool Parkspace_confirm_alloc_response_msg::has_command_key() const {
  2807. return (_has_bits_[0] & 0x00000001u) != 0;
  2808. }
  2809. inline void Parkspace_confirm_alloc_response_msg::set_has_command_key() {
  2810. _has_bits_[0] |= 0x00000001u;
  2811. }
  2812. inline void Parkspace_confirm_alloc_response_msg::clear_has_command_key() {
  2813. _has_bits_[0] &= ~0x00000001u;
  2814. }
  2815. inline void Parkspace_confirm_alloc_response_msg::clear_command_key() {
  2816. command_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2817. clear_has_command_key();
  2818. }
  2819. inline const ::std::string& Parkspace_confirm_alloc_response_msg::command_key() const {
  2820. // @@protoc_insertion_point(field_get:message.Parkspace_confirm_alloc_response_msg.command_key)
  2821. return command_key_.GetNoArena();
  2822. }
  2823. inline void Parkspace_confirm_alloc_response_msg::set_command_key(const ::std::string& value) {
  2824. set_has_command_key();
  2825. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  2826. // @@protoc_insertion_point(field_set:message.Parkspace_confirm_alloc_response_msg.command_key)
  2827. }
  2828. #if LANG_CXX11
  2829. inline void Parkspace_confirm_alloc_response_msg::set_command_key(::std::string&& value) {
  2830. set_has_command_key();
  2831. command_key_.SetNoArena(
  2832. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  2833. // @@protoc_insertion_point(field_set_rvalue:message.Parkspace_confirm_alloc_response_msg.command_key)
  2834. }
  2835. #endif
  2836. inline void Parkspace_confirm_alloc_response_msg::set_command_key(const char* value) {
  2837. GOOGLE_DCHECK(value != NULL);
  2838. set_has_command_key();
  2839. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  2840. // @@protoc_insertion_point(field_set_char:message.Parkspace_confirm_alloc_response_msg.command_key)
  2841. }
  2842. inline void Parkspace_confirm_alloc_response_msg::set_command_key(const char* value, size_t size) {
  2843. set_has_command_key();
  2844. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  2845. ::std::string(reinterpret_cast<const char*>(value), size));
  2846. // @@protoc_insertion_point(field_set_pointer:message.Parkspace_confirm_alloc_response_msg.command_key)
  2847. }
  2848. inline ::std::string* Parkspace_confirm_alloc_response_msg::mutable_command_key() {
  2849. set_has_command_key();
  2850. // @@protoc_insertion_point(field_mutable:message.Parkspace_confirm_alloc_response_msg.command_key)
  2851. return command_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2852. }
  2853. inline ::std::string* Parkspace_confirm_alloc_response_msg::release_command_key() {
  2854. // @@protoc_insertion_point(field_release:message.Parkspace_confirm_alloc_response_msg.command_key)
  2855. if (!has_command_key()) {
  2856. return NULL;
  2857. }
  2858. clear_has_command_key();
  2859. return command_key_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2860. }
  2861. inline void Parkspace_confirm_alloc_response_msg::set_allocated_command_key(::std::string* command_key) {
  2862. if (command_key != NULL) {
  2863. set_has_command_key();
  2864. } else {
  2865. clear_has_command_key();
  2866. }
  2867. command_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), command_key);
  2868. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_confirm_alloc_response_msg.command_key)
  2869. }
  2870. // required .message.Error_manager error_manager = 3;
  2871. inline bool Parkspace_confirm_alloc_response_msg::has_error_manager() const {
  2872. return (_has_bits_[0] & 0x00000004u) != 0;
  2873. }
  2874. inline void Parkspace_confirm_alloc_response_msg::set_has_error_manager() {
  2875. _has_bits_[0] |= 0x00000004u;
  2876. }
  2877. inline void Parkspace_confirm_alloc_response_msg::clear_has_error_manager() {
  2878. _has_bits_[0] &= ~0x00000004u;
  2879. }
  2880. inline const ::message::Error_manager& Parkspace_confirm_alloc_response_msg::_internal_error_manager() const {
  2881. return *error_manager_;
  2882. }
  2883. inline const ::message::Error_manager& Parkspace_confirm_alloc_response_msg::error_manager() const {
  2884. const ::message::Error_manager* p = error_manager_;
  2885. // @@protoc_insertion_point(field_get:message.Parkspace_confirm_alloc_response_msg.error_manager)
  2886. return p != NULL ? *p : *reinterpret_cast<const ::message::Error_manager*>(
  2887. &::message::_Error_manager_default_instance_);
  2888. }
  2889. inline ::message::Error_manager* Parkspace_confirm_alloc_response_msg::release_error_manager() {
  2890. // @@protoc_insertion_point(field_release:message.Parkspace_confirm_alloc_response_msg.error_manager)
  2891. clear_has_error_manager();
  2892. ::message::Error_manager* temp = error_manager_;
  2893. error_manager_ = NULL;
  2894. return temp;
  2895. }
  2896. inline ::message::Error_manager* Parkspace_confirm_alloc_response_msg::mutable_error_manager() {
  2897. set_has_error_manager();
  2898. if (error_manager_ == NULL) {
  2899. auto* p = CreateMaybeMessage<::message::Error_manager>(GetArenaNoVirtual());
  2900. error_manager_ = p;
  2901. }
  2902. // @@protoc_insertion_point(field_mutable:message.Parkspace_confirm_alloc_response_msg.error_manager)
  2903. return error_manager_;
  2904. }
  2905. inline void Parkspace_confirm_alloc_response_msg::set_allocated_error_manager(::message::Error_manager* error_manager) {
  2906. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2907. if (message_arena == NULL) {
  2908. delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_manager_);
  2909. }
  2910. if (error_manager) {
  2911. ::google::protobuf::Arena* submessage_arena = NULL;
  2912. if (message_arena != submessage_arena) {
  2913. error_manager = ::google::protobuf::internal::GetOwnedMessage(
  2914. message_arena, error_manager, submessage_arena);
  2915. }
  2916. set_has_error_manager();
  2917. } else {
  2918. clear_has_error_manager();
  2919. }
  2920. error_manager_ = error_manager;
  2921. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_confirm_alloc_response_msg.error_manager)
  2922. }
  2923. // required .message.Parkspace_info confirm_alloc_space_info = 4;
  2924. inline bool Parkspace_confirm_alloc_response_msg::has_confirm_alloc_space_info() const {
  2925. return (_has_bits_[0] & 0x00000008u) != 0;
  2926. }
  2927. inline void Parkspace_confirm_alloc_response_msg::set_has_confirm_alloc_space_info() {
  2928. _has_bits_[0] |= 0x00000008u;
  2929. }
  2930. inline void Parkspace_confirm_alloc_response_msg::clear_has_confirm_alloc_space_info() {
  2931. _has_bits_[0] &= ~0x00000008u;
  2932. }
  2933. inline const ::message::Parkspace_info& Parkspace_confirm_alloc_response_msg::_internal_confirm_alloc_space_info() const {
  2934. return *confirm_alloc_space_info_;
  2935. }
  2936. inline const ::message::Parkspace_info& Parkspace_confirm_alloc_response_msg::confirm_alloc_space_info() const {
  2937. const ::message::Parkspace_info* p = confirm_alloc_space_info_;
  2938. // @@protoc_insertion_point(field_get:message.Parkspace_confirm_alloc_response_msg.confirm_alloc_space_info)
  2939. return p != NULL ? *p : *reinterpret_cast<const ::message::Parkspace_info*>(
  2940. &::message::_Parkspace_info_default_instance_);
  2941. }
  2942. inline ::message::Parkspace_info* Parkspace_confirm_alloc_response_msg::release_confirm_alloc_space_info() {
  2943. // @@protoc_insertion_point(field_release:message.Parkspace_confirm_alloc_response_msg.confirm_alloc_space_info)
  2944. clear_has_confirm_alloc_space_info();
  2945. ::message::Parkspace_info* temp = confirm_alloc_space_info_;
  2946. confirm_alloc_space_info_ = NULL;
  2947. return temp;
  2948. }
  2949. inline ::message::Parkspace_info* Parkspace_confirm_alloc_response_msg::mutable_confirm_alloc_space_info() {
  2950. set_has_confirm_alloc_space_info();
  2951. if (confirm_alloc_space_info_ == NULL) {
  2952. auto* p = CreateMaybeMessage<::message::Parkspace_info>(GetArenaNoVirtual());
  2953. confirm_alloc_space_info_ = p;
  2954. }
  2955. // @@protoc_insertion_point(field_mutable:message.Parkspace_confirm_alloc_response_msg.confirm_alloc_space_info)
  2956. return confirm_alloc_space_info_;
  2957. }
  2958. inline void Parkspace_confirm_alloc_response_msg::set_allocated_confirm_alloc_space_info(::message::Parkspace_info* confirm_alloc_space_info) {
  2959. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2960. if (message_arena == NULL) {
  2961. delete reinterpret_cast< ::google::protobuf::MessageLite*>(confirm_alloc_space_info_);
  2962. }
  2963. if (confirm_alloc_space_info) {
  2964. ::google::protobuf::Arena* submessage_arena = NULL;
  2965. if (message_arena != submessage_arena) {
  2966. confirm_alloc_space_info = ::google::protobuf::internal::GetOwnedMessage(
  2967. message_arena, confirm_alloc_space_info, submessage_arena);
  2968. }
  2969. set_has_confirm_alloc_space_info();
  2970. } else {
  2971. clear_has_confirm_alloc_space_info();
  2972. }
  2973. confirm_alloc_space_info_ = confirm_alloc_space_info;
  2974. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_confirm_alloc_response_msg.confirm_alloc_space_info)
  2975. }
  2976. // -------------------------------------------------------------------
  2977. // Parkspace_allocation_status_msg
  2978. // required .message.Base_info base_info = 1;
  2979. inline bool Parkspace_allocation_status_msg::has_base_info() const {
  2980. return (_has_bits_[0] & 0x00000001u) != 0;
  2981. }
  2982. inline void Parkspace_allocation_status_msg::set_has_base_info() {
  2983. _has_bits_[0] |= 0x00000001u;
  2984. }
  2985. inline void Parkspace_allocation_status_msg::clear_has_base_info() {
  2986. _has_bits_[0] &= ~0x00000001u;
  2987. }
  2988. inline const ::message::Base_info& Parkspace_allocation_status_msg::_internal_base_info() const {
  2989. return *base_info_;
  2990. }
  2991. inline const ::message::Base_info& Parkspace_allocation_status_msg::base_info() const {
  2992. const ::message::Base_info* p = base_info_;
  2993. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_status_msg.base_info)
  2994. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  2995. &::message::_Base_info_default_instance_);
  2996. }
  2997. inline ::message::Base_info* Parkspace_allocation_status_msg::release_base_info() {
  2998. // @@protoc_insertion_point(field_release:message.Parkspace_allocation_status_msg.base_info)
  2999. clear_has_base_info();
  3000. ::message::Base_info* temp = base_info_;
  3001. base_info_ = NULL;
  3002. return temp;
  3003. }
  3004. inline ::message::Base_info* Parkspace_allocation_status_msg::mutable_base_info() {
  3005. set_has_base_info();
  3006. if (base_info_ == NULL) {
  3007. auto* p = CreateMaybeMessage<::message::Base_info>(GetArenaNoVirtual());
  3008. base_info_ = p;
  3009. }
  3010. // @@protoc_insertion_point(field_mutable:message.Parkspace_allocation_status_msg.base_info)
  3011. return base_info_;
  3012. }
  3013. inline void Parkspace_allocation_status_msg::set_allocated_base_info(::message::Base_info* base_info) {
  3014. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  3015. if (message_arena == NULL) {
  3016. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  3017. }
  3018. if (base_info) {
  3019. ::google::protobuf::Arena* submessage_arena = NULL;
  3020. if (message_arena != submessage_arena) {
  3021. base_info = ::google::protobuf::internal::GetOwnedMessage(
  3022. message_arena, base_info, submessage_arena);
  3023. }
  3024. set_has_base_info();
  3025. } else {
  3026. clear_has_base_info();
  3027. }
  3028. base_info_ = base_info;
  3029. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_allocation_status_msg.base_info)
  3030. }
  3031. // required .message.Error_manager error_manager = 2;
  3032. inline bool Parkspace_allocation_status_msg::has_error_manager() const {
  3033. return (_has_bits_[0] & 0x00000002u) != 0;
  3034. }
  3035. inline void Parkspace_allocation_status_msg::set_has_error_manager() {
  3036. _has_bits_[0] |= 0x00000002u;
  3037. }
  3038. inline void Parkspace_allocation_status_msg::clear_has_error_manager() {
  3039. _has_bits_[0] &= ~0x00000002u;
  3040. }
  3041. inline const ::message::Error_manager& Parkspace_allocation_status_msg::_internal_error_manager() const {
  3042. return *error_manager_;
  3043. }
  3044. inline const ::message::Error_manager& Parkspace_allocation_status_msg::error_manager() const {
  3045. const ::message::Error_manager* p = error_manager_;
  3046. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_status_msg.error_manager)
  3047. return p != NULL ? *p : *reinterpret_cast<const ::message::Error_manager*>(
  3048. &::message::_Error_manager_default_instance_);
  3049. }
  3050. inline ::message::Error_manager* Parkspace_allocation_status_msg::release_error_manager() {
  3051. // @@protoc_insertion_point(field_release:message.Parkspace_allocation_status_msg.error_manager)
  3052. clear_has_error_manager();
  3053. ::message::Error_manager* temp = error_manager_;
  3054. error_manager_ = NULL;
  3055. return temp;
  3056. }
  3057. inline ::message::Error_manager* Parkspace_allocation_status_msg::mutable_error_manager() {
  3058. set_has_error_manager();
  3059. if (error_manager_ == NULL) {
  3060. auto* p = CreateMaybeMessage<::message::Error_manager>(GetArenaNoVirtual());
  3061. error_manager_ = p;
  3062. }
  3063. // @@protoc_insertion_point(field_mutable:message.Parkspace_allocation_status_msg.error_manager)
  3064. return error_manager_;
  3065. }
  3066. inline void Parkspace_allocation_status_msg::set_allocated_error_manager(::message::Error_manager* error_manager) {
  3067. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  3068. if (message_arena == NULL) {
  3069. delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_manager_);
  3070. }
  3071. if (error_manager) {
  3072. ::google::protobuf::Arena* submessage_arena = NULL;
  3073. if (message_arena != submessage_arena) {
  3074. error_manager = ::google::protobuf::internal::GetOwnedMessage(
  3075. message_arena, error_manager, submessage_arena);
  3076. }
  3077. set_has_error_manager();
  3078. } else {
  3079. clear_has_error_manager();
  3080. }
  3081. error_manager_ = error_manager;
  3082. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_allocation_status_msg.error_manager)
  3083. }
  3084. // repeated .message.Parkspace_info parkspace_info = 3;
  3085. inline int Parkspace_allocation_status_msg::parkspace_info_size() const {
  3086. return parkspace_info_.size();
  3087. }
  3088. inline ::message::Parkspace_info* Parkspace_allocation_status_msg::mutable_parkspace_info(int index) {
  3089. // @@protoc_insertion_point(field_mutable:message.Parkspace_allocation_status_msg.parkspace_info)
  3090. return parkspace_info_.Mutable(index);
  3091. }
  3092. inline ::google::protobuf::RepeatedPtrField< ::message::Parkspace_info >*
  3093. Parkspace_allocation_status_msg::mutable_parkspace_info() {
  3094. // @@protoc_insertion_point(field_mutable_list:message.Parkspace_allocation_status_msg.parkspace_info)
  3095. return &parkspace_info_;
  3096. }
  3097. inline const ::message::Parkspace_info& Parkspace_allocation_status_msg::parkspace_info(int index) const {
  3098. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_status_msg.parkspace_info)
  3099. return parkspace_info_.Get(index);
  3100. }
  3101. inline ::message::Parkspace_info* Parkspace_allocation_status_msg::add_parkspace_info() {
  3102. // @@protoc_insertion_point(field_add:message.Parkspace_allocation_status_msg.parkspace_info)
  3103. return parkspace_info_.Add();
  3104. }
  3105. inline const ::google::protobuf::RepeatedPtrField< ::message::Parkspace_info >&
  3106. Parkspace_allocation_status_msg::parkspace_info() const {
  3107. // @@protoc_insertion_point(field_list:message.Parkspace_allocation_status_msg.parkspace_info)
  3108. return parkspace_info_;
  3109. }
  3110. #ifdef __GNUC__
  3111. #pragma GCC diagnostic pop
  3112. #endif // __GNUC__
  3113. // -------------------------------------------------------------------
  3114. // -------------------------------------------------------------------
  3115. // -------------------------------------------------------------------
  3116. // -------------------------------------------------------------------
  3117. // -------------------------------------------------------------------
  3118. // -------------------------------------------------------------------
  3119. // -------------------------------------------------------------------
  3120. // -------------------------------------------------------------------
  3121. // @@protoc_insertion_point(namespace_scope)
  3122. } // namespace message
  3123. // @@protoc_insertion_point(global_scope)
  3124. #endif // PROTOBUF_INCLUDED_parkspace_5fallocation_5fmessage_2eproto