parkspace_allocation_message.pb.h 174 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: parkspace_allocation_message.proto
  3. #ifndef PROTOBUF_parkspace_5fallocation_5fmessage_2eproto__INCLUDED
  4. #define PROTOBUF_parkspace_5fallocation_5fmessage_2eproto__INCLUDED
  5. #include <string>
  6. #include <google/protobuf/stubs/common.h>
  7. #if GOOGLE_PROTOBUF_VERSION < 3005000
  8. #error This file was generated by a newer version of protoc which is
  9. #error incompatible with your Protocol Buffer headers. Please update
  10. #error your headers.
  11. #endif
  12. #if 3005000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
  13. #error This file was generated by an older version of protoc which is
  14. #error incompatible with your Protocol Buffer headers. Please
  15. #error regenerate this file with a newer version of protoc.
  16. #endif
  17. #include <google/protobuf/io/coded_stream.h>
  18. #include <google/protobuf/arena.h>
  19. #include <google/protobuf/arenastring.h>
  20. #include <google/protobuf/generated_message_table_driven.h>
  21. #include <google/protobuf/generated_message_util.h>
  22. #include <google/protobuf/metadata.h>
  23. #include <google/protobuf/message.h>
  24. #include <google/protobuf/repeated_field.h> // IWYU pragma: export
  25. #include <google/protobuf/extension_set.h> // IWYU pragma: export
  26. #include <google/protobuf/generated_enum_reflection.h>
  27. #include <google/protobuf/unknown_field_set.h>
  28. #include "message_base.pb.h"
  29. // @@protoc_insertion_point(includes)
  30. namespace protobuf_parkspace_5fallocation_5fmessage_2eproto {
  31. // Internal implementation detail -- do not use these members.
  32. struct TableStruct {
  33. static const ::google::protobuf::internal::ParseTableField entries[];
  34. static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
  35. static const ::google::protobuf::internal::ParseTable schema[13];
  36. static const ::google::protobuf::internal::FieldMetadata field_metadata[];
  37. static const ::google::protobuf::internal::SerializationTable serialization_table[];
  38. static const ::google::protobuf::uint32 offsets[];
  39. };
  40. void AddDescriptors();
  41. void InitDefaultsCar_infoImpl();
  42. void InitDefaultsCar_info();
  43. void InitDefaultsParkspace_infoImpl();
  44. void InitDefaultsParkspace_info();
  45. void InitDefaultsParkspace_allocation_request_msgImpl();
  46. void InitDefaultsParkspace_allocation_request_msg();
  47. void InitDefaultsParkspace_allocation_response_msgImpl();
  48. void InitDefaultsParkspace_allocation_response_msg();
  49. void InitDefaultsParkspace_search_request_msgImpl();
  50. void InitDefaultsParkspace_search_request_msg();
  51. void InitDefaultsParkspace_search_response_msgImpl();
  52. void InitDefaultsParkspace_search_response_msg();
  53. void InitDefaultsParkspace_release_request_msgImpl();
  54. void InitDefaultsParkspace_release_request_msg();
  55. void InitDefaultsParkspace_release_response_msgImpl();
  56. void InitDefaultsParkspace_release_response_msg();
  57. void InitDefaultsParkspace_force_update_request_msgImpl();
  58. void InitDefaultsParkspace_force_update_request_msg();
  59. void InitDefaultsParkspace_force_update_response_msgImpl();
  60. void InitDefaultsParkspace_force_update_response_msg();
  61. void InitDefaultsParkspace_confirm_alloc_request_msgImpl();
  62. void InitDefaultsParkspace_confirm_alloc_request_msg();
  63. void InitDefaultsParkspace_confirm_alloc_response_msgImpl();
  64. void InitDefaultsParkspace_confirm_alloc_response_msg();
  65. void InitDefaultsParkspace_allocation_status_msgImpl();
  66. void InitDefaultsParkspace_allocation_status_msg();
  67. inline void InitDefaults() {
  68. InitDefaultsCar_info();
  69. InitDefaultsParkspace_info();
  70. InitDefaultsParkspace_allocation_request_msg();
  71. InitDefaultsParkspace_allocation_response_msg();
  72. InitDefaultsParkspace_search_request_msg();
  73. InitDefaultsParkspace_search_response_msg();
  74. InitDefaultsParkspace_release_request_msg();
  75. InitDefaultsParkspace_release_response_msg();
  76. InitDefaultsParkspace_force_update_request_msg();
  77. InitDefaultsParkspace_force_update_response_msg();
  78. InitDefaultsParkspace_confirm_alloc_request_msg();
  79. InitDefaultsParkspace_confirm_alloc_response_msg();
  80. InitDefaultsParkspace_allocation_status_msg();
  81. }
  82. } // namespace protobuf_parkspace_5fallocation_5fmessage_2eproto
  83. namespace message {
  84. class Car_info;
  85. class Car_infoDefaultTypeInternal;
  86. extern Car_infoDefaultTypeInternal _Car_info_default_instance_;
  87. class Parkspace_allocation_request_msg;
  88. class Parkspace_allocation_request_msgDefaultTypeInternal;
  89. extern Parkspace_allocation_request_msgDefaultTypeInternal _Parkspace_allocation_request_msg_default_instance_;
  90. class Parkspace_allocation_response_msg;
  91. class Parkspace_allocation_response_msgDefaultTypeInternal;
  92. extern Parkspace_allocation_response_msgDefaultTypeInternal _Parkspace_allocation_response_msg_default_instance_;
  93. class Parkspace_allocation_status_msg;
  94. class Parkspace_allocation_status_msgDefaultTypeInternal;
  95. extern Parkspace_allocation_status_msgDefaultTypeInternal _Parkspace_allocation_status_msg_default_instance_;
  96. class Parkspace_confirm_alloc_request_msg;
  97. class Parkspace_confirm_alloc_request_msgDefaultTypeInternal;
  98. extern Parkspace_confirm_alloc_request_msgDefaultTypeInternal _Parkspace_confirm_alloc_request_msg_default_instance_;
  99. class Parkspace_confirm_alloc_response_msg;
  100. class Parkspace_confirm_alloc_response_msgDefaultTypeInternal;
  101. extern Parkspace_confirm_alloc_response_msgDefaultTypeInternal _Parkspace_confirm_alloc_response_msg_default_instance_;
  102. class Parkspace_force_update_request_msg;
  103. class Parkspace_force_update_request_msgDefaultTypeInternal;
  104. extern Parkspace_force_update_request_msgDefaultTypeInternal _Parkspace_force_update_request_msg_default_instance_;
  105. class Parkspace_force_update_response_msg;
  106. class Parkspace_force_update_response_msgDefaultTypeInternal;
  107. extern Parkspace_force_update_response_msgDefaultTypeInternal _Parkspace_force_update_response_msg_default_instance_;
  108. class Parkspace_info;
  109. class Parkspace_infoDefaultTypeInternal;
  110. extern Parkspace_infoDefaultTypeInternal _Parkspace_info_default_instance_;
  111. class Parkspace_release_request_msg;
  112. class Parkspace_release_request_msgDefaultTypeInternal;
  113. extern Parkspace_release_request_msgDefaultTypeInternal _Parkspace_release_request_msg_default_instance_;
  114. class Parkspace_release_response_msg;
  115. class Parkspace_release_response_msgDefaultTypeInternal;
  116. extern Parkspace_release_response_msgDefaultTypeInternal _Parkspace_release_response_msg_default_instance_;
  117. class Parkspace_search_request_msg;
  118. class Parkspace_search_request_msgDefaultTypeInternal;
  119. extern Parkspace_search_request_msgDefaultTypeInternal _Parkspace_search_request_msg_default_instance_;
  120. class Parkspace_search_response_msg;
  121. class Parkspace_search_response_msgDefaultTypeInternal;
  122. extern Parkspace_search_response_msgDefaultTypeInternal _Parkspace_search_response_msg_default_instance_;
  123. } // namespace message
  124. namespace message {
  125. enum Parkspace_status {
  126. eParkspace_empty = 0,
  127. eParkspace_occupied = 1,
  128. eParkspace_reserved = 2,
  129. eParkspace_locked = 3,
  130. eParkspace_error = 4
  131. };
  132. bool Parkspace_status_IsValid(int value);
  133. const Parkspace_status Parkspace_status_MIN = eParkspace_empty;
  134. const Parkspace_status Parkspace_status_MAX = eParkspace_error;
  135. const int Parkspace_status_ARRAYSIZE = Parkspace_status_MAX + 1;
  136. const ::google::protobuf::EnumDescriptor* Parkspace_status_descriptor();
  137. inline const ::std::string& Parkspace_status_Name(Parkspace_status value) {
  138. return ::google::protobuf::internal::NameOfEnum(
  139. Parkspace_status_descriptor(), value);
  140. }
  141. inline bool Parkspace_status_Parse(
  142. const ::std::string& name, Parkspace_status* value) {
  143. return ::google::protobuf::internal::ParseNamedEnum<Parkspace_status>(
  144. Parkspace_status_descriptor(), name, value);
  145. }
  146. enum Vehicle_status {
  147. eVehicle_idle = 0,
  148. eVehicle_in_garage = 1,
  149. eVehicle_parking = 2,
  150. eVehicle_fetching = 3,
  151. eVehicle_reserved = 4,
  152. eVehicle_unknown = 5
  153. };
  154. bool Vehicle_status_IsValid(int value);
  155. const Vehicle_status Vehicle_status_MIN = eVehicle_idle;
  156. const Vehicle_status Vehicle_status_MAX = eVehicle_unknown;
  157. const int Vehicle_status_ARRAYSIZE = Vehicle_status_MAX + 1;
  158. const ::google::protobuf::EnumDescriptor* Vehicle_status_descriptor();
  159. inline const ::std::string& Vehicle_status_Name(Vehicle_status value) {
  160. return ::google::protobuf::internal::NameOfEnum(
  161. Vehicle_status_descriptor(), value);
  162. }
  163. inline bool Vehicle_status_Parse(
  164. const ::std::string& name, Vehicle_status* value) {
  165. return ::google::protobuf::internal::ParseNamedEnum<Vehicle_status>(
  166. Vehicle_status_descriptor(), name, value);
  167. }
  168. enum Direction {
  169. eForward = 0,
  170. eBackward = 1
  171. };
  172. bool Direction_IsValid(int value);
  173. const Direction Direction_MIN = eForward;
  174. const Direction Direction_MAX = eBackward;
  175. const int Direction_ARRAYSIZE = Direction_MAX + 1;
  176. const ::google::protobuf::EnumDescriptor* Direction_descriptor();
  177. inline const ::std::string& Direction_Name(Direction value) {
  178. return ::google::protobuf::internal::NameOfEnum(
  179. Direction_descriptor(), value);
  180. }
  181. inline bool Direction_Parse(
  182. const ::std::string& name, Direction* value) {
  183. return ::google::protobuf::internal::ParseNamedEnum<Direction>(
  184. Direction_descriptor(), name, value);
  185. }
  186. // ===================================================================
  187. class Car_info : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Car_info) */ {
  188. public:
  189. Car_info();
  190. virtual ~Car_info();
  191. Car_info(const Car_info& from);
  192. inline Car_info& operator=(const Car_info& from) {
  193. CopyFrom(from);
  194. return *this;
  195. }
  196. #if LANG_CXX11
  197. Car_info(Car_info&& from) noexcept
  198. : Car_info() {
  199. *this = ::std::move(from);
  200. }
  201. inline Car_info& operator=(Car_info&& from) noexcept {
  202. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  203. if (this != &from) InternalSwap(&from);
  204. } else {
  205. CopyFrom(from);
  206. }
  207. return *this;
  208. }
  209. #endif
  210. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  211. return _internal_metadata_.unknown_fields();
  212. }
  213. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  214. return _internal_metadata_.mutable_unknown_fields();
  215. }
  216. static const ::google::protobuf::Descriptor* descriptor();
  217. static const Car_info& default_instance();
  218. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  219. static inline const Car_info* internal_default_instance() {
  220. return reinterpret_cast<const Car_info*>(
  221. &_Car_info_default_instance_);
  222. }
  223. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  224. 0;
  225. void Swap(Car_info* other);
  226. friend void swap(Car_info& a, Car_info& b) {
  227. a.Swap(&b);
  228. }
  229. // implements Message ----------------------------------------------
  230. inline Car_info* New() const PROTOBUF_FINAL { return New(NULL); }
  231. Car_info* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  232. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  233. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  234. void CopyFrom(const Car_info& from);
  235. void MergeFrom(const Car_info& from);
  236. void Clear() PROTOBUF_FINAL;
  237. bool IsInitialized() const PROTOBUF_FINAL;
  238. size_t ByteSizeLong() const PROTOBUF_FINAL;
  239. bool MergePartialFromCodedStream(
  240. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  241. void SerializeWithCachedSizes(
  242. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  243. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  244. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  245. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  246. private:
  247. void SharedCtor();
  248. void SharedDtor();
  249. void SetCachedSize(int size) const PROTOBUF_FINAL;
  250. void InternalSwap(Car_info* other);
  251. private:
  252. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  253. return NULL;
  254. }
  255. inline void* MaybeArenaPtr() const {
  256. return NULL;
  257. }
  258. public:
  259. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  260. // nested types ----------------------------------------------------
  261. // accessors -------------------------------------------------------
  262. // required string license = 4;
  263. bool has_license() const;
  264. void clear_license();
  265. static const int kLicenseFieldNumber = 4;
  266. const ::std::string& license() const;
  267. void set_license(const ::std::string& value);
  268. #if LANG_CXX11
  269. void set_license(::std::string&& value);
  270. #endif
  271. void set_license(const char* value);
  272. void set_license(const char* value, size_t size);
  273. ::std::string* mutable_license();
  274. ::std::string* release_license();
  275. void set_allocated_license(::std::string* license);
  276. // optional float car_length = 1;
  277. bool has_car_length() const;
  278. void clear_car_length();
  279. static const int kCarLengthFieldNumber = 1;
  280. float car_length() const;
  281. void set_car_length(float value);
  282. // required float car_width = 2;
  283. bool has_car_width() const;
  284. void clear_car_width();
  285. static const int kCarWidthFieldNumber = 2;
  286. float car_width() const;
  287. void set_car_width(float value);
  288. // required float car_height = 3;
  289. bool has_car_height() const;
  290. void clear_car_height();
  291. static const int kCarHeightFieldNumber = 3;
  292. float car_height() const;
  293. void set_car_height(float value);
  294. // @@protoc_insertion_point(class_scope:message.Car_info)
  295. private:
  296. void set_has_car_length();
  297. void clear_has_car_length();
  298. void set_has_car_width();
  299. void clear_has_car_width();
  300. void set_has_car_height();
  301. void clear_has_car_height();
  302. void set_has_license();
  303. void clear_has_license();
  304. // helper for ByteSizeLong()
  305. size_t RequiredFieldsByteSizeFallback() const;
  306. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  307. ::google::protobuf::internal::HasBits<1> _has_bits_;
  308. mutable int _cached_size_;
  309. ::google::protobuf::internal::ArenaStringPtr license_;
  310. float car_length_;
  311. float car_width_;
  312. float car_height_;
  313. friend struct ::protobuf_parkspace_5fallocation_5fmessage_2eproto::TableStruct;
  314. friend void ::protobuf_parkspace_5fallocation_5fmessage_2eproto::InitDefaultsCar_infoImpl();
  315. };
  316. // -------------------------------------------------------------------
  317. class Parkspace_info : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Parkspace_info) */ {
  318. public:
  319. Parkspace_info();
  320. virtual ~Parkspace_info();
  321. Parkspace_info(const Parkspace_info& from);
  322. inline Parkspace_info& operator=(const Parkspace_info& from) {
  323. CopyFrom(from);
  324. return *this;
  325. }
  326. #if LANG_CXX11
  327. Parkspace_info(Parkspace_info&& from) noexcept
  328. : Parkspace_info() {
  329. *this = ::std::move(from);
  330. }
  331. inline Parkspace_info& operator=(Parkspace_info&& from) noexcept {
  332. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  333. if (this != &from) InternalSwap(&from);
  334. } else {
  335. CopyFrom(from);
  336. }
  337. return *this;
  338. }
  339. #endif
  340. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  341. return _internal_metadata_.unknown_fields();
  342. }
  343. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  344. return _internal_metadata_.mutable_unknown_fields();
  345. }
  346. static const ::google::protobuf::Descriptor* descriptor();
  347. static const Parkspace_info& default_instance();
  348. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  349. static inline const Parkspace_info* internal_default_instance() {
  350. return reinterpret_cast<const Parkspace_info*>(
  351. &_Parkspace_info_default_instance_);
  352. }
  353. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  354. 1;
  355. void Swap(Parkspace_info* other);
  356. friend void swap(Parkspace_info& a, Parkspace_info& b) {
  357. a.Swap(&b);
  358. }
  359. // implements Message ----------------------------------------------
  360. inline Parkspace_info* New() const PROTOBUF_FINAL { return New(NULL); }
  361. Parkspace_info* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  362. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  363. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  364. void CopyFrom(const Parkspace_info& from);
  365. void MergeFrom(const Parkspace_info& from);
  366. void Clear() PROTOBUF_FINAL;
  367. bool IsInitialized() const PROTOBUF_FINAL;
  368. size_t ByteSizeLong() const PROTOBUF_FINAL;
  369. bool MergePartialFromCodedStream(
  370. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  371. void SerializeWithCachedSizes(
  372. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  373. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  374. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  375. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  376. private:
  377. void SharedCtor();
  378. void SharedDtor();
  379. void SetCachedSize(int size) const PROTOBUF_FINAL;
  380. void InternalSwap(Parkspace_info* other);
  381. private:
  382. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  383. return NULL;
  384. }
  385. inline void* MaybeArenaPtr() const {
  386. return NULL;
  387. }
  388. public:
  389. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  390. // nested types ----------------------------------------------------
  391. // accessors -------------------------------------------------------
  392. // optional string entry_time = 10;
  393. bool has_entry_time() const;
  394. void clear_entry_time();
  395. static const int kEntryTimeFieldNumber = 10;
  396. const ::std::string& entry_time() const;
  397. void set_entry_time(const ::std::string& value);
  398. #if LANG_CXX11
  399. void set_entry_time(::std::string&& value);
  400. #endif
  401. void set_entry_time(const char* value);
  402. void set_entry_time(const char* value, size_t size);
  403. ::std::string* mutable_entry_time();
  404. ::std::string* release_entry_time();
  405. void set_allocated_entry_time(::std::string* entry_time);
  406. // optional string leave_time = 11;
  407. bool has_leave_time() const;
  408. void clear_leave_time();
  409. static const int kLeaveTimeFieldNumber = 11;
  410. const ::std::string& leave_time() const;
  411. void set_leave_time(const ::std::string& value);
  412. #if LANG_CXX11
  413. void set_leave_time(::std::string&& value);
  414. #endif
  415. void set_leave_time(const char* value);
  416. void set_leave_time(const char* value, size_t size);
  417. ::std::string* mutable_leave_time();
  418. ::std::string* release_leave_time();
  419. void set_allocated_leave_time(::std::string* leave_time);
  420. // optional .message.Car_info car_info = 9;
  421. bool has_car_info() const;
  422. void clear_car_info();
  423. static const int kCarInfoFieldNumber = 9;
  424. const ::message::Car_info& car_info() const;
  425. ::message::Car_info* release_car_info();
  426. ::message::Car_info* mutable_car_info();
  427. void set_allocated_car_info(::message::Car_info* car_info);
  428. // required int32 parkspace_id = 1;
  429. bool has_parkspace_id() const;
  430. void clear_parkspace_id();
  431. static const int kParkspaceIdFieldNumber = 1;
  432. ::google::protobuf::int32 parkspace_id() const;
  433. void set_parkspace_id(::google::protobuf::int32 value);
  434. // required int32 index = 2;
  435. bool has_index() const;
  436. void clear_index();
  437. static const int kIndexFieldNumber = 2;
  438. ::google::protobuf::int32 index() const;
  439. void set_index(::google::protobuf::int32 value);
  440. // required .message.Direction direction = 3;
  441. bool has_direction() const;
  442. void clear_direction();
  443. static const int kDirectionFieldNumber = 3;
  444. ::message::Direction direction() const;
  445. void set_direction(::message::Direction value);
  446. // required int32 floor = 4;
  447. bool has_floor() const;
  448. void clear_floor();
  449. static const int kFloorFieldNumber = 4;
  450. ::google::protobuf::int32 floor() const;
  451. void set_floor(::google::protobuf::int32 value);
  452. // optional float length = 5;
  453. bool has_length() const;
  454. void clear_length();
  455. static const int kLengthFieldNumber = 5;
  456. float length() const;
  457. void set_length(float value);
  458. // required float width = 6;
  459. bool has_width() const;
  460. void clear_width();
  461. static const int kWidthFieldNumber = 6;
  462. float width() const;
  463. void set_width(float value);
  464. // required float height = 7;
  465. bool has_height() const;
  466. void clear_height();
  467. static const int kHeightFieldNumber = 7;
  468. float height() const;
  469. void set_height(float value);
  470. // required .message.Parkspace_status parkspace_status = 8;
  471. bool has_parkspace_status() const;
  472. void clear_parkspace_status();
  473. static const int kParkspaceStatusFieldNumber = 8;
  474. ::message::Parkspace_status parkspace_status() const;
  475. void set_parkspace_status(::message::Parkspace_status value);
  476. // @@protoc_insertion_point(class_scope:message.Parkspace_info)
  477. private:
  478. void set_has_parkspace_id();
  479. void clear_has_parkspace_id();
  480. void set_has_index();
  481. void clear_has_index();
  482. void set_has_direction();
  483. void clear_has_direction();
  484. void set_has_floor();
  485. void clear_has_floor();
  486. void set_has_length();
  487. void clear_has_length();
  488. void set_has_width();
  489. void clear_has_width();
  490. void set_has_height();
  491. void clear_has_height();
  492. void set_has_parkspace_status();
  493. void clear_has_parkspace_status();
  494. void set_has_car_info();
  495. void clear_has_car_info();
  496. void set_has_entry_time();
  497. void clear_has_entry_time();
  498. void set_has_leave_time();
  499. void clear_has_leave_time();
  500. // helper for ByteSizeLong()
  501. size_t RequiredFieldsByteSizeFallback() const;
  502. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  503. ::google::protobuf::internal::HasBits<1> _has_bits_;
  504. mutable int _cached_size_;
  505. ::google::protobuf::internal::ArenaStringPtr entry_time_;
  506. ::google::protobuf::internal::ArenaStringPtr leave_time_;
  507. ::message::Car_info* car_info_;
  508. ::google::protobuf::int32 parkspace_id_;
  509. ::google::protobuf::int32 index_;
  510. int direction_;
  511. ::google::protobuf::int32 floor_;
  512. float length_;
  513. float width_;
  514. float height_;
  515. int parkspace_status_;
  516. friend struct ::protobuf_parkspace_5fallocation_5fmessage_2eproto::TableStruct;
  517. friend void ::protobuf_parkspace_5fallocation_5fmessage_2eproto::InitDefaultsParkspace_infoImpl();
  518. };
  519. // -------------------------------------------------------------------
  520. class Parkspace_allocation_request_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Parkspace_allocation_request_msg) */ {
  521. public:
  522. Parkspace_allocation_request_msg();
  523. virtual ~Parkspace_allocation_request_msg();
  524. Parkspace_allocation_request_msg(const Parkspace_allocation_request_msg& from);
  525. inline Parkspace_allocation_request_msg& operator=(const Parkspace_allocation_request_msg& from) {
  526. CopyFrom(from);
  527. return *this;
  528. }
  529. #if LANG_CXX11
  530. Parkspace_allocation_request_msg(Parkspace_allocation_request_msg&& from) noexcept
  531. : Parkspace_allocation_request_msg() {
  532. *this = ::std::move(from);
  533. }
  534. inline Parkspace_allocation_request_msg& operator=(Parkspace_allocation_request_msg&& from) noexcept {
  535. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  536. if (this != &from) InternalSwap(&from);
  537. } else {
  538. CopyFrom(from);
  539. }
  540. return *this;
  541. }
  542. #endif
  543. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  544. return _internal_metadata_.unknown_fields();
  545. }
  546. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  547. return _internal_metadata_.mutable_unknown_fields();
  548. }
  549. static const ::google::protobuf::Descriptor* descriptor();
  550. static const Parkspace_allocation_request_msg& default_instance();
  551. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  552. static inline const Parkspace_allocation_request_msg* internal_default_instance() {
  553. return reinterpret_cast<const Parkspace_allocation_request_msg*>(
  554. &_Parkspace_allocation_request_msg_default_instance_);
  555. }
  556. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  557. 2;
  558. void Swap(Parkspace_allocation_request_msg* other);
  559. friend void swap(Parkspace_allocation_request_msg& a, Parkspace_allocation_request_msg& b) {
  560. a.Swap(&b);
  561. }
  562. // implements Message ----------------------------------------------
  563. inline Parkspace_allocation_request_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  564. Parkspace_allocation_request_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  565. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  566. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  567. void CopyFrom(const Parkspace_allocation_request_msg& from);
  568. void MergeFrom(const Parkspace_allocation_request_msg& from);
  569. void Clear() PROTOBUF_FINAL;
  570. bool IsInitialized() const PROTOBUF_FINAL;
  571. size_t ByteSizeLong() const PROTOBUF_FINAL;
  572. bool MergePartialFromCodedStream(
  573. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  574. void SerializeWithCachedSizes(
  575. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  576. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  577. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  578. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  579. private:
  580. void SharedCtor();
  581. void SharedDtor();
  582. void SetCachedSize(int size) const PROTOBUF_FINAL;
  583. void InternalSwap(Parkspace_allocation_request_msg* other);
  584. private:
  585. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  586. return NULL;
  587. }
  588. inline void* MaybeArenaPtr() const {
  589. return NULL;
  590. }
  591. public:
  592. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  593. // nested types ----------------------------------------------------
  594. // accessors -------------------------------------------------------
  595. // required .message.Base_info base_info = 1;
  596. bool has_base_info() const;
  597. void clear_base_info();
  598. static const int kBaseInfoFieldNumber = 1;
  599. const ::message::Base_info& base_info() const;
  600. ::message::Base_info* release_base_info();
  601. ::message::Base_info* mutable_base_info();
  602. void set_allocated_base_info(::message::Base_info* base_info);
  603. // required .message.Car_info car_info = 3;
  604. bool has_car_info() const;
  605. void clear_car_info();
  606. static const int kCarInfoFieldNumber = 3;
  607. const ::message::Car_info& car_info() const;
  608. ::message::Car_info* release_car_info();
  609. ::message::Car_info* mutable_car_info();
  610. void set_allocated_car_info(::message::Car_info* car_info);
  611. // required int32 command_id = 2;
  612. bool has_command_id() const;
  613. void clear_command_id();
  614. static const int kCommandIdFieldNumber = 2;
  615. ::google::protobuf::int32 command_id() const;
  616. void set_command_id(::google::protobuf::int32 value);
  617. // required int32 terminal_id = 4;
  618. bool has_terminal_id() const;
  619. void clear_terminal_id();
  620. static const int kTerminalIdFieldNumber = 4;
  621. ::google::protobuf::int32 terminal_id() const;
  622. void set_terminal_id(::google::protobuf::int32 value);
  623. // @@protoc_insertion_point(class_scope:message.Parkspace_allocation_request_msg)
  624. private:
  625. void set_has_base_info();
  626. void clear_has_base_info();
  627. void set_has_command_id();
  628. void clear_has_command_id();
  629. void set_has_car_info();
  630. void clear_has_car_info();
  631. void set_has_terminal_id();
  632. void clear_has_terminal_id();
  633. // helper for ByteSizeLong()
  634. size_t RequiredFieldsByteSizeFallback() const;
  635. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  636. ::google::protobuf::internal::HasBits<1> _has_bits_;
  637. mutable int _cached_size_;
  638. ::message::Base_info* base_info_;
  639. ::message::Car_info* car_info_;
  640. ::google::protobuf::int32 command_id_;
  641. ::google::protobuf::int32 terminal_id_;
  642. friend struct ::protobuf_parkspace_5fallocation_5fmessage_2eproto::TableStruct;
  643. friend void ::protobuf_parkspace_5fallocation_5fmessage_2eproto::InitDefaultsParkspace_allocation_request_msgImpl();
  644. };
  645. // -------------------------------------------------------------------
  646. class Parkspace_allocation_response_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Parkspace_allocation_response_msg) */ {
  647. public:
  648. Parkspace_allocation_response_msg();
  649. virtual ~Parkspace_allocation_response_msg();
  650. Parkspace_allocation_response_msg(const Parkspace_allocation_response_msg& from);
  651. inline Parkspace_allocation_response_msg& operator=(const Parkspace_allocation_response_msg& from) {
  652. CopyFrom(from);
  653. return *this;
  654. }
  655. #if LANG_CXX11
  656. Parkspace_allocation_response_msg(Parkspace_allocation_response_msg&& from) noexcept
  657. : Parkspace_allocation_response_msg() {
  658. *this = ::std::move(from);
  659. }
  660. inline Parkspace_allocation_response_msg& operator=(Parkspace_allocation_response_msg&& from) noexcept {
  661. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  662. if (this != &from) InternalSwap(&from);
  663. } else {
  664. CopyFrom(from);
  665. }
  666. return *this;
  667. }
  668. #endif
  669. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  670. return _internal_metadata_.unknown_fields();
  671. }
  672. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  673. return _internal_metadata_.mutable_unknown_fields();
  674. }
  675. static const ::google::protobuf::Descriptor* descriptor();
  676. static const Parkspace_allocation_response_msg& default_instance();
  677. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  678. static inline const Parkspace_allocation_response_msg* internal_default_instance() {
  679. return reinterpret_cast<const Parkspace_allocation_response_msg*>(
  680. &_Parkspace_allocation_response_msg_default_instance_);
  681. }
  682. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  683. 3;
  684. void Swap(Parkspace_allocation_response_msg* other);
  685. friend void swap(Parkspace_allocation_response_msg& a, Parkspace_allocation_response_msg& b) {
  686. a.Swap(&b);
  687. }
  688. // implements Message ----------------------------------------------
  689. inline Parkspace_allocation_response_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  690. Parkspace_allocation_response_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  691. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  692. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  693. void CopyFrom(const Parkspace_allocation_response_msg& from);
  694. void MergeFrom(const Parkspace_allocation_response_msg& from);
  695. void Clear() PROTOBUF_FINAL;
  696. bool IsInitialized() const PROTOBUF_FINAL;
  697. size_t ByteSizeLong() const PROTOBUF_FINAL;
  698. bool MergePartialFromCodedStream(
  699. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  700. void SerializeWithCachedSizes(
  701. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  702. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  703. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  704. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  705. private:
  706. void SharedCtor();
  707. void SharedDtor();
  708. void SetCachedSize(int size) const PROTOBUF_FINAL;
  709. void InternalSwap(Parkspace_allocation_response_msg* other);
  710. private:
  711. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  712. return NULL;
  713. }
  714. inline void* MaybeArenaPtr() const {
  715. return NULL;
  716. }
  717. public:
  718. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  719. // nested types ----------------------------------------------------
  720. // accessors -------------------------------------------------------
  721. // required .message.Base_info base_info = 1;
  722. bool has_base_info() const;
  723. void clear_base_info();
  724. static const int kBaseInfoFieldNumber = 1;
  725. const ::message::Base_info& base_info() const;
  726. ::message::Base_info* release_base_info();
  727. ::message::Base_info* mutable_base_info();
  728. void set_allocated_base_info(::message::Base_info* base_info);
  729. // required .message.Error_manager error_manager = 3;
  730. bool has_error_manager() const;
  731. void clear_error_manager();
  732. static const int kErrorManagerFieldNumber = 3;
  733. const ::message::Error_manager& error_manager() const;
  734. ::message::Error_manager* release_error_manager();
  735. ::message::Error_manager* mutable_error_manager();
  736. void set_allocated_error_manager(::message::Error_manager* error_manager);
  737. // required .message.Parkspace_info allocated_space_info = 4;
  738. bool has_allocated_space_info() const;
  739. void clear_allocated_space_info();
  740. static const int kAllocatedSpaceInfoFieldNumber = 4;
  741. const ::message::Parkspace_info& allocated_space_info() const;
  742. ::message::Parkspace_info* release_allocated_space_info();
  743. ::message::Parkspace_info* mutable_allocated_space_info();
  744. void set_allocated_allocated_space_info(::message::Parkspace_info* allocated_space_info);
  745. // required int32 command_id = 2;
  746. bool has_command_id() const;
  747. void clear_command_id();
  748. static const int kCommandIdFieldNumber = 2;
  749. ::google::protobuf::int32 command_id() const;
  750. void set_command_id(::google::protobuf::int32 value);
  751. // @@protoc_insertion_point(class_scope:message.Parkspace_allocation_response_msg)
  752. private:
  753. void set_has_base_info();
  754. void clear_has_base_info();
  755. void set_has_command_id();
  756. void clear_has_command_id();
  757. void set_has_error_manager();
  758. void clear_has_error_manager();
  759. void set_has_allocated_space_info();
  760. void clear_has_allocated_space_info();
  761. // helper for ByteSizeLong()
  762. size_t RequiredFieldsByteSizeFallback() const;
  763. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  764. ::google::protobuf::internal::HasBits<1> _has_bits_;
  765. mutable int _cached_size_;
  766. ::message::Base_info* base_info_;
  767. ::message::Error_manager* error_manager_;
  768. ::message::Parkspace_info* allocated_space_info_;
  769. ::google::protobuf::int32 command_id_;
  770. friend struct ::protobuf_parkspace_5fallocation_5fmessage_2eproto::TableStruct;
  771. friend void ::protobuf_parkspace_5fallocation_5fmessage_2eproto::InitDefaultsParkspace_allocation_response_msgImpl();
  772. };
  773. // -------------------------------------------------------------------
  774. class Parkspace_search_request_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Parkspace_search_request_msg) */ {
  775. public:
  776. Parkspace_search_request_msg();
  777. virtual ~Parkspace_search_request_msg();
  778. Parkspace_search_request_msg(const Parkspace_search_request_msg& from);
  779. inline Parkspace_search_request_msg& operator=(const Parkspace_search_request_msg& from) {
  780. CopyFrom(from);
  781. return *this;
  782. }
  783. #if LANG_CXX11
  784. Parkspace_search_request_msg(Parkspace_search_request_msg&& from) noexcept
  785. : Parkspace_search_request_msg() {
  786. *this = ::std::move(from);
  787. }
  788. inline Parkspace_search_request_msg& operator=(Parkspace_search_request_msg&& from) noexcept {
  789. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  790. if (this != &from) InternalSwap(&from);
  791. } else {
  792. CopyFrom(from);
  793. }
  794. return *this;
  795. }
  796. #endif
  797. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  798. return _internal_metadata_.unknown_fields();
  799. }
  800. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  801. return _internal_metadata_.mutable_unknown_fields();
  802. }
  803. static const ::google::protobuf::Descriptor* descriptor();
  804. static const Parkspace_search_request_msg& default_instance();
  805. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  806. static inline const Parkspace_search_request_msg* internal_default_instance() {
  807. return reinterpret_cast<const Parkspace_search_request_msg*>(
  808. &_Parkspace_search_request_msg_default_instance_);
  809. }
  810. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  811. 4;
  812. void Swap(Parkspace_search_request_msg* other);
  813. friend void swap(Parkspace_search_request_msg& a, Parkspace_search_request_msg& b) {
  814. a.Swap(&b);
  815. }
  816. // implements Message ----------------------------------------------
  817. inline Parkspace_search_request_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  818. Parkspace_search_request_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  819. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  820. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  821. void CopyFrom(const Parkspace_search_request_msg& from);
  822. void MergeFrom(const Parkspace_search_request_msg& from);
  823. void Clear() PROTOBUF_FINAL;
  824. bool IsInitialized() const PROTOBUF_FINAL;
  825. size_t ByteSizeLong() const PROTOBUF_FINAL;
  826. bool MergePartialFromCodedStream(
  827. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  828. void SerializeWithCachedSizes(
  829. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  830. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  831. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  832. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  833. private:
  834. void SharedCtor();
  835. void SharedDtor();
  836. void SetCachedSize(int size) const PROTOBUF_FINAL;
  837. void InternalSwap(Parkspace_search_request_msg* other);
  838. private:
  839. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  840. return NULL;
  841. }
  842. inline void* MaybeArenaPtr() const {
  843. return NULL;
  844. }
  845. public:
  846. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  847. // nested types ----------------------------------------------------
  848. // accessors -------------------------------------------------------
  849. // required .message.Base_info base_info = 1;
  850. bool has_base_info() const;
  851. void clear_base_info();
  852. static const int kBaseInfoFieldNumber = 1;
  853. const ::message::Base_info& base_info() const;
  854. ::message::Base_info* release_base_info();
  855. ::message::Base_info* mutable_base_info();
  856. void set_allocated_base_info(::message::Base_info* base_info);
  857. // required .message.Car_info car_info = 3;
  858. bool has_car_info() const;
  859. void clear_car_info();
  860. static const int kCarInfoFieldNumber = 3;
  861. const ::message::Car_info& car_info() const;
  862. ::message::Car_info* release_car_info();
  863. ::message::Car_info* mutable_car_info();
  864. void set_allocated_car_info(::message::Car_info* car_info);
  865. // required int32 command_id = 2;
  866. bool has_command_id() const;
  867. void clear_command_id();
  868. static const int kCommandIdFieldNumber = 2;
  869. ::google::protobuf::int32 command_id() const;
  870. void set_command_id(::google::protobuf::int32 value);
  871. // @@protoc_insertion_point(class_scope:message.Parkspace_search_request_msg)
  872. private:
  873. void set_has_base_info();
  874. void clear_has_base_info();
  875. void set_has_command_id();
  876. void clear_has_command_id();
  877. void set_has_car_info();
  878. void clear_has_car_info();
  879. // helper for ByteSizeLong()
  880. size_t RequiredFieldsByteSizeFallback() const;
  881. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  882. ::google::protobuf::internal::HasBits<1> _has_bits_;
  883. mutable int _cached_size_;
  884. ::message::Base_info* base_info_;
  885. ::message::Car_info* car_info_;
  886. ::google::protobuf::int32 command_id_;
  887. friend struct ::protobuf_parkspace_5fallocation_5fmessage_2eproto::TableStruct;
  888. friend void ::protobuf_parkspace_5fallocation_5fmessage_2eproto::InitDefaultsParkspace_search_request_msgImpl();
  889. };
  890. // -------------------------------------------------------------------
  891. class Parkspace_search_response_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Parkspace_search_response_msg) */ {
  892. public:
  893. Parkspace_search_response_msg();
  894. virtual ~Parkspace_search_response_msg();
  895. Parkspace_search_response_msg(const Parkspace_search_response_msg& from);
  896. inline Parkspace_search_response_msg& operator=(const Parkspace_search_response_msg& from) {
  897. CopyFrom(from);
  898. return *this;
  899. }
  900. #if LANG_CXX11
  901. Parkspace_search_response_msg(Parkspace_search_response_msg&& from) noexcept
  902. : Parkspace_search_response_msg() {
  903. *this = ::std::move(from);
  904. }
  905. inline Parkspace_search_response_msg& operator=(Parkspace_search_response_msg&& from) noexcept {
  906. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  907. if (this != &from) InternalSwap(&from);
  908. } else {
  909. CopyFrom(from);
  910. }
  911. return *this;
  912. }
  913. #endif
  914. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  915. return _internal_metadata_.unknown_fields();
  916. }
  917. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  918. return _internal_metadata_.mutable_unknown_fields();
  919. }
  920. static const ::google::protobuf::Descriptor* descriptor();
  921. static const Parkspace_search_response_msg& default_instance();
  922. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  923. static inline const Parkspace_search_response_msg* internal_default_instance() {
  924. return reinterpret_cast<const Parkspace_search_response_msg*>(
  925. &_Parkspace_search_response_msg_default_instance_);
  926. }
  927. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  928. 5;
  929. void Swap(Parkspace_search_response_msg* other);
  930. friend void swap(Parkspace_search_response_msg& a, Parkspace_search_response_msg& b) {
  931. a.Swap(&b);
  932. }
  933. // implements Message ----------------------------------------------
  934. inline Parkspace_search_response_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  935. Parkspace_search_response_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  936. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  937. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  938. void CopyFrom(const Parkspace_search_response_msg& from);
  939. void MergeFrom(const Parkspace_search_response_msg& from);
  940. void Clear() PROTOBUF_FINAL;
  941. bool IsInitialized() const PROTOBUF_FINAL;
  942. size_t ByteSizeLong() const PROTOBUF_FINAL;
  943. bool MergePartialFromCodedStream(
  944. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  945. void SerializeWithCachedSizes(
  946. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  947. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  948. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  949. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  950. private:
  951. void SharedCtor();
  952. void SharedDtor();
  953. void SetCachedSize(int size) const PROTOBUF_FINAL;
  954. void InternalSwap(Parkspace_search_response_msg* other);
  955. private:
  956. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  957. return NULL;
  958. }
  959. inline void* MaybeArenaPtr() const {
  960. return NULL;
  961. }
  962. public:
  963. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  964. // nested types ----------------------------------------------------
  965. // accessors -------------------------------------------------------
  966. // required .message.Base_info base_info = 1;
  967. bool has_base_info() const;
  968. void clear_base_info();
  969. static const int kBaseInfoFieldNumber = 1;
  970. const ::message::Base_info& base_info() const;
  971. ::message::Base_info* release_base_info();
  972. ::message::Base_info* mutable_base_info();
  973. void set_allocated_base_info(::message::Base_info* base_info);
  974. // required .message.Error_manager error_manager = 3;
  975. bool has_error_manager() const;
  976. void clear_error_manager();
  977. static const int kErrorManagerFieldNumber = 3;
  978. const ::message::Error_manager& error_manager() const;
  979. ::message::Error_manager* release_error_manager();
  980. ::message::Error_manager* mutable_error_manager();
  981. void set_allocated_error_manager(::message::Error_manager* error_manager);
  982. // optional .message.Parkspace_info car_position = 4;
  983. bool has_car_position() const;
  984. void clear_car_position();
  985. static const int kCarPositionFieldNumber = 4;
  986. const ::message::Parkspace_info& car_position() const;
  987. ::message::Parkspace_info* release_car_position();
  988. ::message::Parkspace_info* mutable_car_position();
  989. void set_allocated_car_position(::message::Parkspace_info* car_position);
  990. // required int32 command_id = 2;
  991. bool has_command_id() const;
  992. void clear_command_id();
  993. static const int kCommandIdFieldNumber = 2;
  994. ::google::protobuf::int32 command_id() const;
  995. void set_command_id(::google::protobuf::int32 value);
  996. // @@protoc_insertion_point(class_scope:message.Parkspace_search_response_msg)
  997. private:
  998. void set_has_base_info();
  999. void clear_has_base_info();
  1000. void set_has_command_id();
  1001. void clear_has_command_id();
  1002. void set_has_error_manager();
  1003. void clear_has_error_manager();
  1004. void set_has_car_position();
  1005. void clear_has_car_position();
  1006. // helper for ByteSizeLong()
  1007. size_t RequiredFieldsByteSizeFallback() const;
  1008. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  1009. ::google::protobuf::internal::HasBits<1> _has_bits_;
  1010. mutable int _cached_size_;
  1011. ::message::Base_info* base_info_;
  1012. ::message::Error_manager* error_manager_;
  1013. ::message::Parkspace_info* car_position_;
  1014. ::google::protobuf::int32 command_id_;
  1015. friend struct ::protobuf_parkspace_5fallocation_5fmessage_2eproto::TableStruct;
  1016. friend void ::protobuf_parkspace_5fallocation_5fmessage_2eproto::InitDefaultsParkspace_search_response_msgImpl();
  1017. };
  1018. // -------------------------------------------------------------------
  1019. class Parkspace_release_request_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Parkspace_release_request_msg) */ {
  1020. public:
  1021. Parkspace_release_request_msg();
  1022. virtual ~Parkspace_release_request_msg();
  1023. Parkspace_release_request_msg(const Parkspace_release_request_msg& from);
  1024. inline Parkspace_release_request_msg& operator=(const Parkspace_release_request_msg& from) {
  1025. CopyFrom(from);
  1026. return *this;
  1027. }
  1028. #if LANG_CXX11
  1029. Parkspace_release_request_msg(Parkspace_release_request_msg&& from) noexcept
  1030. : Parkspace_release_request_msg() {
  1031. *this = ::std::move(from);
  1032. }
  1033. inline Parkspace_release_request_msg& operator=(Parkspace_release_request_msg&& from) noexcept {
  1034. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  1035. if (this != &from) InternalSwap(&from);
  1036. } else {
  1037. CopyFrom(from);
  1038. }
  1039. return *this;
  1040. }
  1041. #endif
  1042. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1043. return _internal_metadata_.unknown_fields();
  1044. }
  1045. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1046. return _internal_metadata_.mutable_unknown_fields();
  1047. }
  1048. static const ::google::protobuf::Descriptor* descriptor();
  1049. static const Parkspace_release_request_msg& default_instance();
  1050. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  1051. static inline const Parkspace_release_request_msg* internal_default_instance() {
  1052. return reinterpret_cast<const Parkspace_release_request_msg*>(
  1053. &_Parkspace_release_request_msg_default_instance_);
  1054. }
  1055. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  1056. 6;
  1057. void Swap(Parkspace_release_request_msg* other);
  1058. friend void swap(Parkspace_release_request_msg& a, Parkspace_release_request_msg& b) {
  1059. a.Swap(&b);
  1060. }
  1061. // implements Message ----------------------------------------------
  1062. inline Parkspace_release_request_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  1063. Parkspace_release_request_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  1064. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  1065. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  1066. void CopyFrom(const Parkspace_release_request_msg& from);
  1067. void MergeFrom(const Parkspace_release_request_msg& from);
  1068. void Clear() PROTOBUF_FINAL;
  1069. bool IsInitialized() const PROTOBUF_FINAL;
  1070. size_t ByteSizeLong() const PROTOBUF_FINAL;
  1071. bool MergePartialFromCodedStream(
  1072. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  1073. void SerializeWithCachedSizes(
  1074. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  1075. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  1076. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  1077. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  1078. private:
  1079. void SharedCtor();
  1080. void SharedDtor();
  1081. void SetCachedSize(int size) const PROTOBUF_FINAL;
  1082. void InternalSwap(Parkspace_release_request_msg* other);
  1083. private:
  1084. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  1085. return NULL;
  1086. }
  1087. inline void* MaybeArenaPtr() const {
  1088. return NULL;
  1089. }
  1090. public:
  1091. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  1092. // nested types ----------------------------------------------------
  1093. // accessors -------------------------------------------------------
  1094. // required .message.Base_info base_info = 1;
  1095. bool has_base_info() const;
  1096. void clear_base_info();
  1097. static const int kBaseInfoFieldNumber = 1;
  1098. const ::message::Base_info& base_info() const;
  1099. ::message::Base_info* release_base_info();
  1100. ::message::Base_info* mutable_base_info();
  1101. void set_allocated_base_info(::message::Base_info* base_info);
  1102. // required .message.Parkspace_info release_space_info = 3;
  1103. bool has_release_space_info() const;
  1104. void clear_release_space_info();
  1105. static const int kReleaseSpaceInfoFieldNumber = 3;
  1106. const ::message::Parkspace_info& release_space_info() const;
  1107. ::message::Parkspace_info* release_release_space_info();
  1108. ::message::Parkspace_info* mutable_release_space_info();
  1109. void set_allocated_release_space_info(::message::Parkspace_info* release_space_info);
  1110. // required int32 command_id = 2;
  1111. bool has_command_id() const;
  1112. void clear_command_id();
  1113. static const int kCommandIdFieldNumber = 2;
  1114. ::google::protobuf::int32 command_id() const;
  1115. void set_command_id(::google::protobuf::int32 value);
  1116. // @@protoc_insertion_point(class_scope:message.Parkspace_release_request_msg)
  1117. private:
  1118. void set_has_base_info();
  1119. void clear_has_base_info();
  1120. void set_has_command_id();
  1121. void clear_has_command_id();
  1122. void set_has_release_space_info();
  1123. void clear_has_release_space_info();
  1124. // helper for ByteSizeLong()
  1125. size_t RequiredFieldsByteSizeFallback() const;
  1126. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  1127. ::google::protobuf::internal::HasBits<1> _has_bits_;
  1128. mutable int _cached_size_;
  1129. ::message::Base_info* base_info_;
  1130. ::message::Parkspace_info* release_space_info_;
  1131. ::google::protobuf::int32 command_id_;
  1132. friend struct ::protobuf_parkspace_5fallocation_5fmessage_2eproto::TableStruct;
  1133. friend void ::protobuf_parkspace_5fallocation_5fmessage_2eproto::InitDefaultsParkspace_release_request_msgImpl();
  1134. };
  1135. // -------------------------------------------------------------------
  1136. class Parkspace_release_response_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Parkspace_release_response_msg) */ {
  1137. public:
  1138. Parkspace_release_response_msg();
  1139. virtual ~Parkspace_release_response_msg();
  1140. Parkspace_release_response_msg(const Parkspace_release_response_msg& from);
  1141. inline Parkspace_release_response_msg& operator=(const Parkspace_release_response_msg& from) {
  1142. CopyFrom(from);
  1143. return *this;
  1144. }
  1145. #if LANG_CXX11
  1146. Parkspace_release_response_msg(Parkspace_release_response_msg&& from) noexcept
  1147. : Parkspace_release_response_msg() {
  1148. *this = ::std::move(from);
  1149. }
  1150. inline Parkspace_release_response_msg& operator=(Parkspace_release_response_msg&& from) noexcept {
  1151. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  1152. if (this != &from) InternalSwap(&from);
  1153. } else {
  1154. CopyFrom(from);
  1155. }
  1156. return *this;
  1157. }
  1158. #endif
  1159. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1160. return _internal_metadata_.unknown_fields();
  1161. }
  1162. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1163. return _internal_metadata_.mutable_unknown_fields();
  1164. }
  1165. static const ::google::protobuf::Descriptor* descriptor();
  1166. static const Parkspace_release_response_msg& default_instance();
  1167. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  1168. static inline const Parkspace_release_response_msg* internal_default_instance() {
  1169. return reinterpret_cast<const Parkspace_release_response_msg*>(
  1170. &_Parkspace_release_response_msg_default_instance_);
  1171. }
  1172. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  1173. 7;
  1174. void Swap(Parkspace_release_response_msg* other);
  1175. friend void swap(Parkspace_release_response_msg& a, Parkspace_release_response_msg& b) {
  1176. a.Swap(&b);
  1177. }
  1178. // implements Message ----------------------------------------------
  1179. inline Parkspace_release_response_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  1180. Parkspace_release_response_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  1181. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  1182. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  1183. void CopyFrom(const Parkspace_release_response_msg& from);
  1184. void MergeFrom(const Parkspace_release_response_msg& from);
  1185. void Clear() PROTOBUF_FINAL;
  1186. bool IsInitialized() const PROTOBUF_FINAL;
  1187. size_t ByteSizeLong() const PROTOBUF_FINAL;
  1188. bool MergePartialFromCodedStream(
  1189. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  1190. void SerializeWithCachedSizes(
  1191. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  1192. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  1193. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  1194. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  1195. private:
  1196. void SharedCtor();
  1197. void SharedDtor();
  1198. void SetCachedSize(int size) const PROTOBUF_FINAL;
  1199. void InternalSwap(Parkspace_release_response_msg* other);
  1200. private:
  1201. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  1202. return NULL;
  1203. }
  1204. inline void* MaybeArenaPtr() const {
  1205. return NULL;
  1206. }
  1207. public:
  1208. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  1209. // nested types ----------------------------------------------------
  1210. // accessors -------------------------------------------------------
  1211. // required .message.Base_info base_info = 1;
  1212. bool has_base_info() const;
  1213. void clear_base_info();
  1214. static const int kBaseInfoFieldNumber = 1;
  1215. const ::message::Base_info& base_info() const;
  1216. ::message::Base_info* release_base_info();
  1217. ::message::Base_info* mutable_base_info();
  1218. void set_allocated_base_info(::message::Base_info* base_info);
  1219. // required .message.Error_manager error_manager = 3;
  1220. bool has_error_manager() const;
  1221. void clear_error_manager();
  1222. static const int kErrorManagerFieldNumber = 3;
  1223. const ::message::Error_manager& error_manager() const;
  1224. ::message::Error_manager* release_error_manager();
  1225. ::message::Error_manager* mutable_error_manager();
  1226. void set_allocated_error_manager(::message::Error_manager* error_manager);
  1227. // required .message.Parkspace_info release_space_info = 4;
  1228. bool has_release_space_info() const;
  1229. void clear_release_space_info();
  1230. static const int kReleaseSpaceInfoFieldNumber = 4;
  1231. const ::message::Parkspace_info& release_space_info() const;
  1232. ::message::Parkspace_info* release_release_space_info();
  1233. ::message::Parkspace_info* mutable_release_space_info();
  1234. void set_allocated_release_space_info(::message::Parkspace_info* release_space_info);
  1235. // required int32 command_id = 2;
  1236. bool has_command_id() const;
  1237. void clear_command_id();
  1238. static const int kCommandIdFieldNumber = 2;
  1239. ::google::protobuf::int32 command_id() const;
  1240. void set_command_id(::google::protobuf::int32 value);
  1241. // @@protoc_insertion_point(class_scope:message.Parkspace_release_response_msg)
  1242. private:
  1243. void set_has_base_info();
  1244. void clear_has_base_info();
  1245. void set_has_command_id();
  1246. void clear_has_command_id();
  1247. void set_has_error_manager();
  1248. void clear_has_error_manager();
  1249. void set_has_release_space_info();
  1250. void clear_has_release_space_info();
  1251. // helper for ByteSizeLong()
  1252. size_t RequiredFieldsByteSizeFallback() const;
  1253. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  1254. ::google::protobuf::internal::HasBits<1> _has_bits_;
  1255. mutable int _cached_size_;
  1256. ::message::Base_info* base_info_;
  1257. ::message::Error_manager* error_manager_;
  1258. ::message::Parkspace_info* release_space_info_;
  1259. ::google::protobuf::int32 command_id_;
  1260. friend struct ::protobuf_parkspace_5fallocation_5fmessage_2eproto::TableStruct;
  1261. friend void ::protobuf_parkspace_5fallocation_5fmessage_2eproto::InitDefaultsParkspace_release_response_msgImpl();
  1262. };
  1263. // -------------------------------------------------------------------
  1264. class Parkspace_force_update_request_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Parkspace_force_update_request_msg) */ {
  1265. public:
  1266. Parkspace_force_update_request_msg();
  1267. virtual ~Parkspace_force_update_request_msg();
  1268. Parkspace_force_update_request_msg(const Parkspace_force_update_request_msg& from);
  1269. inline Parkspace_force_update_request_msg& operator=(const Parkspace_force_update_request_msg& from) {
  1270. CopyFrom(from);
  1271. return *this;
  1272. }
  1273. #if LANG_CXX11
  1274. Parkspace_force_update_request_msg(Parkspace_force_update_request_msg&& from) noexcept
  1275. : Parkspace_force_update_request_msg() {
  1276. *this = ::std::move(from);
  1277. }
  1278. inline Parkspace_force_update_request_msg& operator=(Parkspace_force_update_request_msg&& from) noexcept {
  1279. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  1280. if (this != &from) InternalSwap(&from);
  1281. } else {
  1282. CopyFrom(from);
  1283. }
  1284. return *this;
  1285. }
  1286. #endif
  1287. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1288. return _internal_metadata_.unknown_fields();
  1289. }
  1290. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1291. return _internal_metadata_.mutable_unknown_fields();
  1292. }
  1293. static const ::google::protobuf::Descriptor* descriptor();
  1294. static const Parkspace_force_update_request_msg& default_instance();
  1295. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  1296. static inline const Parkspace_force_update_request_msg* internal_default_instance() {
  1297. return reinterpret_cast<const Parkspace_force_update_request_msg*>(
  1298. &_Parkspace_force_update_request_msg_default_instance_);
  1299. }
  1300. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  1301. 8;
  1302. void Swap(Parkspace_force_update_request_msg* other);
  1303. friend void swap(Parkspace_force_update_request_msg& a, Parkspace_force_update_request_msg& b) {
  1304. a.Swap(&b);
  1305. }
  1306. // implements Message ----------------------------------------------
  1307. inline Parkspace_force_update_request_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  1308. Parkspace_force_update_request_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  1309. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  1310. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  1311. void CopyFrom(const Parkspace_force_update_request_msg& from);
  1312. void MergeFrom(const Parkspace_force_update_request_msg& from);
  1313. void Clear() PROTOBUF_FINAL;
  1314. bool IsInitialized() const PROTOBUF_FINAL;
  1315. size_t ByteSizeLong() const PROTOBUF_FINAL;
  1316. bool MergePartialFromCodedStream(
  1317. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  1318. void SerializeWithCachedSizes(
  1319. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  1320. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  1321. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  1322. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  1323. private:
  1324. void SharedCtor();
  1325. void SharedDtor();
  1326. void SetCachedSize(int size) const PROTOBUF_FINAL;
  1327. void InternalSwap(Parkspace_force_update_request_msg* other);
  1328. private:
  1329. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  1330. return NULL;
  1331. }
  1332. inline void* MaybeArenaPtr() const {
  1333. return NULL;
  1334. }
  1335. public:
  1336. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  1337. // nested types ----------------------------------------------------
  1338. // accessors -------------------------------------------------------
  1339. // required .message.Base_info base_info = 1;
  1340. bool has_base_info() const;
  1341. void clear_base_info();
  1342. static const int kBaseInfoFieldNumber = 1;
  1343. const ::message::Base_info& base_info() const;
  1344. ::message::Base_info* release_base_info();
  1345. ::message::Base_info* mutable_base_info();
  1346. void set_allocated_base_info(::message::Base_info* base_info);
  1347. // required .message.Parkspace_info update_space_info = 3;
  1348. bool has_update_space_info() const;
  1349. void clear_update_space_info();
  1350. static const int kUpdateSpaceInfoFieldNumber = 3;
  1351. const ::message::Parkspace_info& update_space_info() const;
  1352. ::message::Parkspace_info* release_update_space_info();
  1353. ::message::Parkspace_info* mutable_update_space_info();
  1354. void set_allocated_update_space_info(::message::Parkspace_info* update_space_info);
  1355. // required int32 command_id = 2;
  1356. bool has_command_id() const;
  1357. void clear_command_id();
  1358. static const int kCommandIdFieldNumber = 2;
  1359. ::google::protobuf::int32 command_id() const;
  1360. void set_command_id(::google::protobuf::int32 value);
  1361. // @@protoc_insertion_point(class_scope:message.Parkspace_force_update_request_msg)
  1362. private:
  1363. void set_has_base_info();
  1364. void clear_has_base_info();
  1365. void set_has_command_id();
  1366. void clear_has_command_id();
  1367. void set_has_update_space_info();
  1368. void clear_has_update_space_info();
  1369. // helper for ByteSizeLong()
  1370. size_t RequiredFieldsByteSizeFallback() const;
  1371. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  1372. ::google::protobuf::internal::HasBits<1> _has_bits_;
  1373. mutable int _cached_size_;
  1374. ::message::Base_info* base_info_;
  1375. ::message::Parkspace_info* update_space_info_;
  1376. ::google::protobuf::int32 command_id_;
  1377. friend struct ::protobuf_parkspace_5fallocation_5fmessage_2eproto::TableStruct;
  1378. friend void ::protobuf_parkspace_5fallocation_5fmessage_2eproto::InitDefaultsParkspace_force_update_request_msgImpl();
  1379. };
  1380. // -------------------------------------------------------------------
  1381. class Parkspace_force_update_response_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Parkspace_force_update_response_msg) */ {
  1382. public:
  1383. Parkspace_force_update_response_msg();
  1384. virtual ~Parkspace_force_update_response_msg();
  1385. Parkspace_force_update_response_msg(const Parkspace_force_update_response_msg& from);
  1386. inline Parkspace_force_update_response_msg& operator=(const Parkspace_force_update_response_msg& from) {
  1387. CopyFrom(from);
  1388. return *this;
  1389. }
  1390. #if LANG_CXX11
  1391. Parkspace_force_update_response_msg(Parkspace_force_update_response_msg&& from) noexcept
  1392. : Parkspace_force_update_response_msg() {
  1393. *this = ::std::move(from);
  1394. }
  1395. inline Parkspace_force_update_response_msg& operator=(Parkspace_force_update_response_msg&& from) noexcept {
  1396. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  1397. if (this != &from) InternalSwap(&from);
  1398. } else {
  1399. CopyFrom(from);
  1400. }
  1401. return *this;
  1402. }
  1403. #endif
  1404. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1405. return _internal_metadata_.unknown_fields();
  1406. }
  1407. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1408. return _internal_metadata_.mutable_unknown_fields();
  1409. }
  1410. static const ::google::protobuf::Descriptor* descriptor();
  1411. static const Parkspace_force_update_response_msg& default_instance();
  1412. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  1413. static inline const Parkspace_force_update_response_msg* internal_default_instance() {
  1414. return reinterpret_cast<const Parkspace_force_update_response_msg*>(
  1415. &_Parkspace_force_update_response_msg_default_instance_);
  1416. }
  1417. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  1418. 9;
  1419. void Swap(Parkspace_force_update_response_msg* other);
  1420. friend void swap(Parkspace_force_update_response_msg& a, Parkspace_force_update_response_msg& b) {
  1421. a.Swap(&b);
  1422. }
  1423. // implements Message ----------------------------------------------
  1424. inline Parkspace_force_update_response_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  1425. Parkspace_force_update_response_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  1426. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  1427. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  1428. void CopyFrom(const Parkspace_force_update_response_msg& from);
  1429. void MergeFrom(const Parkspace_force_update_response_msg& from);
  1430. void Clear() PROTOBUF_FINAL;
  1431. bool IsInitialized() const PROTOBUF_FINAL;
  1432. size_t ByteSizeLong() const PROTOBUF_FINAL;
  1433. bool MergePartialFromCodedStream(
  1434. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  1435. void SerializeWithCachedSizes(
  1436. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  1437. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  1438. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  1439. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  1440. private:
  1441. void SharedCtor();
  1442. void SharedDtor();
  1443. void SetCachedSize(int size) const PROTOBUF_FINAL;
  1444. void InternalSwap(Parkspace_force_update_response_msg* other);
  1445. private:
  1446. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  1447. return NULL;
  1448. }
  1449. inline void* MaybeArenaPtr() const {
  1450. return NULL;
  1451. }
  1452. public:
  1453. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  1454. // nested types ----------------------------------------------------
  1455. // accessors -------------------------------------------------------
  1456. // required .message.Base_info base_info = 1;
  1457. bool has_base_info() const;
  1458. void clear_base_info();
  1459. static const int kBaseInfoFieldNumber = 1;
  1460. const ::message::Base_info& base_info() const;
  1461. ::message::Base_info* release_base_info();
  1462. ::message::Base_info* mutable_base_info();
  1463. void set_allocated_base_info(::message::Base_info* base_info);
  1464. // required .message.Error_manager error_manager = 3;
  1465. bool has_error_manager() const;
  1466. void clear_error_manager();
  1467. static const int kErrorManagerFieldNumber = 3;
  1468. const ::message::Error_manager& error_manager() const;
  1469. ::message::Error_manager* release_error_manager();
  1470. ::message::Error_manager* mutable_error_manager();
  1471. void set_allocated_error_manager(::message::Error_manager* error_manager);
  1472. // required .message.Parkspace_info update_space_info = 4;
  1473. bool has_update_space_info() const;
  1474. void clear_update_space_info();
  1475. static const int kUpdateSpaceInfoFieldNumber = 4;
  1476. const ::message::Parkspace_info& update_space_info() const;
  1477. ::message::Parkspace_info* release_update_space_info();
  1478. ::message::Parkspace_info* mutable_update_space_info();
  1479. void set_allocated_update_space_info(::message::Parkspace_info* update_space_info);
  1480. // required int32 command_id = 2;
  1481. bool has_command_id() const;
  1482. void clear_command_id();
  1483. static const int kCommandIdFieldNumber = 2;
  1484. ::google::protobuf::int32 command_id() const;
  1485. void set_command_id(::google::protobuf::int32 value);
  1486. // @@protoc_insertion_point(class_scope:message.Parkspace_force_update_response_msg)
  1487. private:
  1488. void set_has_base_info();
  1489. void clear_has_base_info();
  1490. void set_has_command_id();
  1491. void clear_has_command_id();
  1492. void set_has_error_manager();
  1493. void clear_has_error_manager();
  1494. void set_has_update_space_info();
  1495. void clear_has_update_space_info();
  1496. // helper for ByteSizeLong()
  1497. size_t RequiredFieldsByteSizeFallback() const;
  1498. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  1499. ::google::protobuf::internal::HasBits<1> _has_bits_;
  1500. mutable int _cached_size_;
  1501. ::message::Base_info* base_info_;
  1502. ::message::Error_manager* error_manager_;
  1503. ::message::Parkspace_info* update_space_info_;
  1504. ::google::protobuf::int32 command_id_;
  1505. friend struct ::protobuf_parkspace_5fallocation_5fmessage_2eproto::TableStruct;
  1506. friend void ::protobuf_parkspace_5fallocation_5fmessage_2eproto::InitDefaultsParkspace_force_update_response_msgImpl();
  1507. };
  1508. // -------------------------------------------------------------------
  1509. class Parkspace_confirm_alloc_request_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Parkspace_confirm_alloc_request_msg) */ {
  1510. public:
  1511. Parkspace_confirm_alloc_request_msg();
  1512. virtual ~Parkspace_confirm_alloc_request_msg();
  1513. Parkspace_confirm_alloc_request_msg(const Parkspace_confirm_alloc_request_msg& from);
  1514. inline Parkspace_confirm_alloc_request_msg& operator=(const Parkspace_confirm_alloc_request_msg& from) {
  1515. CopyFrom(from);
  1516. return *this;
  1517. }
  1518. #if LANG_CXX11
  1519. Parkspace_confirm_alloc_request_msg(Parkspace_confirm_alloc_request_msg&& from) noexcept
  1520. : Parkspace_confirm_alloc_request_msg() {
  1521. *this = ::std::move(from);
  1522. }
  1523. inline Parkspace_confirm_alloc_request_msg& operator=(Parkspace_confirm_alloc_request_msg&& from) noexcept {
  1524. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  1525. if (this != &from) InternalSwap(&from);
  1526. } else {
  1527. CopyFrom(from);
  1528. }
  1529. return *this;
  1530. }
  1531. #endif
  1532. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1533. return _internal_metadata_.unknown_fields();
  1534. }
  1535. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1536. return _internal_metadata_.mutable_unknown_fields();
  1537. }
  1538. static const ::google::protobuf::Descriptor* descriptor();
  1539. static const Parkspace_confirm_alloc_request_msg& default_instance();
  1540. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  1541. static inline const Parkspace_confirm_alloc_request_msg* internal_default_instance() {
  1542. return reinterpret_cast<const Parkspace_confirm_alloc_request_msg*>(
  1543. &_Parkspace_confirm_alloc_request_msg_default_instance_);
  1544. }
  1545. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  1546. 10;
  1547. void Swap(Parkspace_confirm_alloc_request_msg* other);
  1548. friend void swap(Parkspace_confirm_alloc_request_msg& a, Parkspace_confirm_alloc_request_msg& b) {
  1549. a.Swap(&b);
  1550. }
  1551. // implements Message ----------------------------------------------
  1552. inline Parkspace_confirm_alloc_request_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  1553. Parkspace_confirm_alloc_request_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  1554. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  1555. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  1556. void CopyFrom(const Parkspace_confirm_alloc_request_msg& from);
  1557. void MergeFrom(const Parkspace_confirm_alloc_request_msg& from);
  1558. void Clear() PROTOBUF_FINAL;
  1559. bool IsInitialized() const PROTOBUF_FINAL;
  1560. size_t ByteSizeLong() const PROTOBUF_FINAL;
  1561. bool MergePartialFromCodedStream(
  1562. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  1563. void SerializeWithCachedSizes(
  1564. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  1565. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  1566. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  1567. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  1568. private:
  1569. void SharedCtor();
  1570. void SharedDtor();
  1571. void SetCachedSize(int size) const PROTOBUF_FINAL;
  1572. void InternalSwap(Parkspace_confirm_alloc_request_msg* other);
  1573. private:
  1574. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  1575. return NULL;
  1576. }
  1577. inline void* MaybeArenaPtr() const {
  1578. return NULL;
  1579. }
  1580. public:
  1581. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  1582. // nested types ----------------------------------------------------
  1583. // accessors -------------------------------------------------------
  1584. // required .message.Base_info base_info = 1;
  1585. bool has_base_info() const;
  1586. void clear_base_info();
  1587. static const int kBaseInfoFieldNumber = 1;
  1588. const ::message::Base_info& base_info() const;
  1589. ::message::Base_info* release_base_info();
  1590. ::message::Base_info* mutable_base_info();
  1591. void set_allocated_base_info(::message::Base_info* base_info);
  1592. // required .message.Parkspace_info confirm_space_info = 3;
  1593. bool has_confirm_space_info() const;
  1594. void clear_confirm_space_info();
  1595. static const int kConfirmSpaceInfoFieldNumber = 3;
  1596. const ::message::Parkspace_info& confirm_space_info() const;
  1597. ::message::Parkspace_info* release_confirm_space_info();
  1598. ::message::Parkspace_info* mutable_confirm_space_info();
  1599. void set_allocated_confirm_space_info(::message::Parkspace_info* confirm_space_info);
  1600. // required int32 command_id = 2;
  1601. bool has_command_id() const;
  1602. void clear_command_id();
  1603. static const int kCommandIdFieldNumber = 2;
  1604. ::google::protobuf::int32 command_id() const;
  1605. void set_command_id(::google::protobuf::int32 value);
  1606. // @@protoc_insertion_point(class_scope:message.Parkspace_confirm_alloc_request_msg)
  1607. private:
  1608. void set_has_base_info();
  1609. void clear_has_base_info();
  1610. void set_has_command_id();
  1611. void clear_has_command_id();
  1612. void set_has_confirm_space_info();
  1613. void clear_has_confirm_space_info();
  1614. // helper for ByteSizeLong()
  1615. size_t RequiredFieldsByteSizeFallback() const;
  1616. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  1617. ::google::protobuf::internal::HasBits<1> _has_bits_;
  1618. mutable int _cached_size_;
  1619. ::message::Base_info* base_info_;
  1620. ::message::Parkspace_info* confirm_space_info_;
  1621. ::google::protobuf::int32 command_id_;
  1622. friend struct ::protobuf_parkspace_5fallocation_5fmessage_2eproto::TableStruct;
  1623. friend void ::protobuf_parkspace_5fallocation_5fmessage_2eproto::InitDefaultsParkspace_confirm_alloc_request_msgImpl();
  1624. };
  1625. // -------------------------------------------------------------------
  1626. class Parkspace_confirm_alloc_response_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Parkspace_confirm_alloc_response_msg) */ {
  1627. public:
  1628. Parkspace_confirm_alloc_response_msg();
  1629. virtual ~Parkspace_confirm_alloc_response_msg();
  1630. Parkspace_confirm_alloc_response_msg(const Parkspace_confirm_alloc_response_msg& from);
  1631. inline Parkspace_confirm_alloc_response_msg& operator=(const Parkspace_confirm_alloc_response_msg& from) {
  1632. CopyFrom(from);
  1633. return *this;
  1634. }
  1635. #if LANG_CXX11
  1636. Parkspace_confirm_alloc_response_msg(Parkspace_confirm_alloc_response_msg&& from) noexcept
  1637. : Parkspace_confirm_alloc_response_msg() {
  1638. *this = ::std::move(from);
  1639. }
  1640. inline Parkspace_confirm_alloc_response_msg& operator=(Parkspace_confirm_alloc_response_msg&& from) noexcept {
  1641. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  1642. if (this != &from) InternalSwap(&from);
  1643. } else {
  1644. CopyFrom(from);
  1645. }
  1646. return *this;
  1647. }
  1648. #endif
  1649. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1650. return _internal_metadata_.unknown_fields();
  1651. }
  1652. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1653. return _internal_metadata_.mutable_unknown_fields();
  1654. }
  1655. static const ::google::protobuf::Descriptor* descriptor();
  1656. static const Parkspace_confirm_alloc_response_msg& default_instance();
  1657. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  1658. static inline const Parkspace_confirm_alloc_response_msg* internal_default_instance() {
  1659. return reinterpret_cast<const Parkspace_confirm_alloc_response_msg*>(
  1660. &_Parkspace_confirm_alloc_response_msg_default_instance_);
  1661. }
  1662. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  1663. 11;
  1664. void Swap(Parkspace_confirm_alloc_response_msg* other);
  1665. friend void swap(Parkspace_confirm_alloc_response_msg& a, Parkspace_confirm_alloc_response_msg& b) {
  1666. a.Swap(&b);
  1667. }
  1668. // implements Message ----------------------------------------------
  1669. inline Parkspace_confirm_alloc_response_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  1670. Parkspace_confirm_alloc_response_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  1671. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  1672. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  1673. void CopyFrom(const Parkspace_confirm_alloc_response_msg& from);
  1674. void MergeFrom(const Parkspace_confirm_alloc_response_msg& from);
  1675. void Clear() PROTOBUF_FINAL;
  1676. bool IsInitialized() const PROTOBUF_FINAL;
  1677. size_t ByteSizeLong() const PROTOBUF_FINAL;
  1678. bool MergePartialFromCodedStream(
  1679. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  1680. void SerializeWithCachedSizes(
  1681. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  1682. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  1683. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  1684. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  1685. private:
  1686. void SharedCtor();
  1687. void SharedDtor();
  1688. void SetCachedSize(int size) const PROTOBUF_FINAL;
  1689. void InternalSwap(Parkspace_confirm_alloc_response_msg* other);
  1690. private:
  1691. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  1692. return NULL;
  1693. }
  1694. inline void* MaybeArenaPtr() const {
  1695. return NULL;
  1696. }
  1697. public:
  1698. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  1699. // nested types ----------------------------------------------------
  1700. // accessors -------------------------------------------------------
  1701. // required .message.Base_info base_info = 1;
  1702. bool has_base_info() const;
  1703. void clear_base_info();
  1704. static const int kBaseInfoFieldNumber = 1;
  1705. const ::message::Base_info& base_info() const;
  1706. ::message::Base_info* release_base_info();
  1707. ::message::Base_info* mutable_base_info();
  1708. void set_allocated_base_info(::message::Base_info* base_info);
  1709. // required .message.Error_manager error_manager = 3;
  1710. bool has_error_manager() const;
  1711. void clear_error_manager();
  1712. static const int kErrorManagerFieldNumber = 3;
  1713. const ::message::Error_manager& error_manager() const;
  1714. ::message::Error_manager* release_error_manager();
  1715. ::message::Error_manager* mutable_error_manager();
  1716. void set_allocated_error_manager(::message::Error_manager* error_manager);
  1717. // required .message.Parkspace_info confirm_alloc_space_info = 4;
  1718. bool has_confirm_alloc_space_info() const;
  1719. void clear_confirm_alloc_space_info();
  1720. static const int kConfirmAllocSpaceInfoFieldNumber = 4;
  1721. const ::message::Parkspace_info& confirm_alloc_space_info() const;
  1722. ::message::Parkspace_info* release_confirm_alloc_space_info();
  1723. ::message::Parkspace_info* mutable_confirm_alloc_space_info();
  1724. void set_allocated_confirm_alloc_space_info(::message::Parkspace_info* confirm_alloc_space_info);
  1725. // required int32 command_id = 2;
  1726. bool has_command_id() const;
  1727. void clear_command_id();
  1728. static const int kCommandIdFieldNumber = 2;
  1729. ::google::protobuf::int32 command_id() const;
  1730. void set_command_id(::google::protobuf::int32 value);
  1731. // @@protoc_insertion_point(class_scope:message.Parkspace_confirm_alloc_response_msg)
  1732. private:
  1733. void set_has_base_info();
  1734. void clear_has_base_info();
  1735. void set_has_command_id();
  1736. void clear_has_command_id();
  1737. void set_has_error_manager();
  1738. void clear_has_error_manager();
  1739. void set_has_confirm_alloc_space_info();
  1740. void clear_has_confirm_alloc_space_info();
  1741. // helper for ByteSizeLong()
  1742. size_t RequiredFieldsByteSizeFallback() const;
  1743. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  1744. ::google::protobuf::internal::HasBits<1> _has_bits_;
  1745. mutable int _cached_size_;
  1746. ::message::Base_info* base_info_;
  1747. ::message::Error_manager* error_manager_;
  1748. ::message::Parkspace_info* confirm_alloc_space_info_;
  1749. ::google::protobuf::int32 command_id_;
  1750. friend struct ::protobuf_parkspace_5fallocation_5fmessage_2eproto::TableStruct;
  1751. friend void ::protobuf_parkspace_5fallocation_5fmessage_2eproto::InitDefaultsParkspace_confirm_alloc_response_msgImpl();
  1752. };
  1753. // -------------------------------------------------------------------
  1754. class Parkspace_allocation_status_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Parkspace_allocation_status_msg) */ {
  1755. public:
  1756. Parkspace_allocation_status_msg();
  1757. virtual ~Parkspace_allocation_status_msg();
  1758. Parkspace_allocation_status_msg(const Parkspace_allocation_status_msg& from);
  1759. inline Parkspace_allocation_status_msg& operator=(const Parkspace_allocation_status_msg& from) {
  1760. CopyFrom(from);
  1761. return *this;
  1762. }
  1763. #if LANG_CXX11
  1764. Parkspace_allocation_status_msg(Parkspace_allocation_status_msg&& from) noexcept
  1765. : Parkspace_allocation_status_msg() {
  1766. *this = ::std::move(from);
  1767. }
  1768. inline Parkspace_allocation_status_msg& operator=(Parkspace_allocation_status_msg&& from) noexcept {
  1769. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  1770. if (this != &from) InternalSwap(&from);
  1771. } else {
  1772. CopyFrom(from);
  1773. }
  1774. return *this;
  1775. }
  1776. #endif
  1777. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1778. return _internal_metadata_.unknown_fields();
  1779. }
  1780. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1781. return _internal_metadata_.mutable_unknown_fields();
  1782. }
  1783. static const ::google::protobuf::Descriptor* descriptor();
  1784. static const Parkspace_allocation_status_msg& default_instance();
  1785. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  1786. static inline const Parkspace_allocation_status_msg* internal_default_instance() {
  1787. return reinterpret_cast<const Parkspace_allocation_status_msg*>(
  1788. &_Parkspace_allocation_status_msg_default_instance_);
  1789. }
  1790. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  1791. 12;
  1792. void Swap(Parkspace_allocation_status_msg* other);
  1793. friend void swap(Parkspace_allocation_status_msg& a, Parkspace_allocation_status_msg& b) {
  1794. a.Swap(&b);
  1795. }
  1796. // implements Message ----------------------------------------------
  1797. inline Parkspace_allocation_status_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  1798. Parkspace_allocation_status_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  1799. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  1800. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  1801. void CopyFrom(const Parkspace_allocation_status_msg& from);
  1802. void MergeFrom(const Parkspace_allocation_status_msg& from);
  1803. void Clear() PROTOBUF_FINAL;
  1804. bool IsInitialized() const PROTOBUF_FINAL;
  1805. size_t ByteSizeLong() const PROTOBUF_FINAL;
  1806. bool MergePartialFromCodedStream(
  1807. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  1808. void SerializeWithCachedSizes(
  1809. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  1810. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  1811. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  1812. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  1813. private:
  1814. void SharedCtor();
  1815. void SharedDtor();
  1816. void SetCachedSize(int size) const PROTOBUF_FINAL;
  1817. void InternalSwap(Parkspace_allocation_status_msg* other);
  1818. private:
  1819. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  1820. return NULL;
  1821. }
  1822. inline void* MaybeArenaPtr() const {
  1823. return NULL;
  1824. }
  1825. public:
  1826. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  1827. // nested types ----------------------------------------------------
  1828. // accessors -------------------------------------------------------
  1829. // repeated .message.Parkspace_info parkspace_info = 3;
  1830. int parkspace_info_size() const;
  1831. void clear_parkspace_info();
  1832. static const int kParkspaceInfoFieldNumber = 3;
  1833. const ::message::Parkspace_info& parkspace_info(int index) const;
  1834. ::message::Parkspace_info* mutable_parkspace_info(int index);
  1835. ::message::Parkspace_info* add_parkspace_info();
  1836. ::google::protobuf::RepeatedPtrField< ::message::Parkspace_info >*
  1837. mutable_parkspace_info();
  1838. const ::google::protobuf::RepeatedPtrField< ::message::Parkspace_info >&
  1839. parkspace_info() const;
  1840. // required .message.Base_info base_info = 1;
  1841. bool has_base_info() const;
  1842. void clear_base_info();
  1843. static const int kBaseInfoFieldNumber = 1;
  1844. const ::message::Base_info& base_info() const;
  1845. ::message::Base_info* release_base_info();
  1846. ::message::Base_info* mutable_base_info();
  1847. void set_allocated_base_info(::message::Base_info* base_info);
  1848. // required .message.Error_manager error_manager = 2;
  1849. bool has_error_manager() const;
  1850. void clear_error_manager();
  1851. static const int kErrorManagerFieldNumber = 2;
  1852. const ::message::Error_manager& error_manager() const;
  1853. ::message::Error_manager* release_error_manager();
  1854. ::message::Error_manager* mutable_error_manager();
  1855. void set_allocated_error_manager(::message::Error_manager* error_manager);
  1856. // @@protoc_insertion_point(class_scope:message.Parkspace_allocation_status_msg)
  1857. private:
  1858. void set_has_base_info();
  1859. void clear_has_base_info();
  1860. void set_has_error_manager();
  1861. void clear_has_error_manager();
  1862. // helper for ByteSizeLong()
  1863. size_t RequiredFieldsByteSizeFallback() const;
  1864. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  1865. ::google::protobuf::internal::HasBits<1> _has_bits_;
  1866. mutable int _cached_size_;
  1867. ::google::protobuf::RepeatedPtrField< ::message::Parkspace_info > parkspace_info_;
  1868. ::message::Base_info* base_info_;
  1869. ::message::Error_manager* error_manager_;
  1870. friend struct ::protobuf_parkspace_5fallocation_5fmessage_2eproto::TableStruct;
  1871. friend void ::protobuf_parkspace_5fallocation_5fmessage_2eproto::InitDefaultsParkspace_allocation_status_msgImpl();
  1872. };
  1873. // ===================================================================
  1874. // ===================================================================
  1875. #ifdef __GNUC__
  1876. #pragma GCC diagnostic push
  1877. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  1878. #endif // __GNUC__
  1879. // Car_info
  1880. // optional float car_length = 1;
  1881. inline bool Car_info::has_car_length() const {
  1882. return (_has_bits_[0] & 0x00000002u) != 0;
  1883. }
  1884. inline void Car_info::set_has_car_length() {
  1885. _has_bits_[0] |= 0x00000002u;
  1886. }
  1887. inline void Car_info::clear_has_car_length() {
  1888. _has_bits_[0] &= ~0x00000002u;
  1889. }
  1890. inline void Car_info::clear_car_length() {
  1891. car_length_ = 0;
  1892. clear_has_car_length();
  1893. }
  1894. inline float Car_info::car_length() const {
  1895. // @@protoc_insertion_point(field_get:message.Car_info.car_length)
  1896. return car_length_;
  1897. }
  1898. inline void Car_info::set_car_length(float value) {
  1899. set_has_car_length();
  1900. car_length_ = value;
  1901. // @@protoc_insertion_point(field_set:message.Car_info.car_length)
  1902. }
  1903. // required float car_width = 2;
  1904. inline bool Car_info::has_car_width() const {
  1905. return (_has_bits_[0] & 0x00000004u) != 0;
  1906. }
  1907. inline void Car_info::set_has_car_width() {
  1908. _has_bits_[0] |= 0x00000004u;
  1909. }
  1910. inline void Car_info::clear_has_car_width() {
  1911. _has_bits_[0] &= ~0x00000004u;
  1912. }
  1913. inline void Car_info::clear_car_width() {
  1914. car_width_ = 0;
  1915. clear_has_car_width();
  1916. }
  1917. inline float Car_info::car_width() const {
  1918. // @@protoc_insertion_point(field_get:message.Car_info.car_width)
  1919. return car_width_;
  1920. }
  1921. inline void Car_info::set_car_width(float value) {
  1922. set_has_car_width();
  1923. car_width_ = value;
  1924. // @@protoc_insertion_point(field_set:message.Car_info.car_width)
  1925. }
  1926. // required float car_height = 3;
  1927. inline bool Car_info::has_car_height() const {
  1928. return (_has_bits_[0] & 0x00000008u) != 0;
  1929. }
  1930. inline void Car_info::set_has_car_height() {
  1931. _has_bits_[0] |= 0x00000008u;
  1932. }
  1933. inline void Car_info::clear_has_car_height() {
  1934. _has_bits_[0] &= ~0x00000008u;
  1935. }
  1936. inline void Car_info::clear_car_height() {
  1937. car_height_ = 0;
  1938. clear_has_car_height();
  1939. }
  1940. inline float Car_info::car_height() const {
  1941. // @@protoc_insertion_point(field_get:message.Car_info.car_height)
  1942. return car_height_;
  1943. }
  1944. inline void Car_info::set_car_height(float value) {
  1945. set_has_car_height();
  1946. car_height_ = value;
  1947. // @@protoc_insertion_point(field_set:message.Car_info.car_height)
  1948. }
  1949. // required string license = 4;
  1950. inline bool Car_info::has_license() const {
  1951. return (_has_bits_[0] & 0x00000001u) != 0;
  1952. }
  1953. inline void Car_info::set_has_license() {
  1954. _has_bits_[0] |= 0x00000001u;
  1955. }
  1956. inline void Car_info::clear_has_license() {
  1957. _has_bits_[0] &= ~0x00000001u;
  1958. }
  1959. inline void Car_info::clear_license() {
  1960. license_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1961. clear_has_license();
  1962. }
  1963. inline const ::std::string& Car_info::license() const {
  1964. // @@protoc_insertion_point(field_get:message.Car_info.license)
  1965. return license_.GetNoArena();
  1966. }
  1967. inline void Car_info::set_license(const ::std::string& value) {
  1968. set_has_license();
  1969. license_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1970. // @@protoc_insertion_point(field_set:message.Car_info.license)
  1971. }
  1972. #if LANG_CXX11
  1973. inline void Car_info::set_license(::std::string&& value) {
  1974. set_has_license();
  1975. license_.SetNoArena(
  1976. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1977. // @@protoc_insertion_point(field_set_rvalue:message.Car_info.license)
  1978. }
  1979. #endif
  1980. inline void Car_info::set_license(const char* value) {
  1981. GOOGLE_DCHECK(value != NULL);
  1982. set_has_license();
  1983. license_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1984. // @@protoc_insertion_point(field_set_char:message.Car_info.license)
  1985. }
  1986. inline void Car_info::set_license(const char* value, size_t size) {
  1987. set_has_license();
  1988. license_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1989. ::std::string(reinterpret_cast<const char*>(value), size));
  1990. // @@protoc_insertion_point(field_set_pointer:message.Car_info.license)
  1991. }
  1992. inline ::std::string* Car_info::mutable_license() {
  1993. set_has_license();
  1994. // @@protoc_insertion_point(field_mutable:message.Car_info.license)
  1995. return license_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1996. }
  1997. inline ::std::string* Car_info::release_license() {
  1998. // @@protoc_insertion_point(field_release:message.Car_info.license)
  1999. clear_has_license();
  2000. return license_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2001. }
  2002. inline void Car_info::set_allocated_license(::std::string* license) {
  2003. if (license != NULL) {
  2004. set_has_license();
  2005. } else {
  2006. clear_has_license();
  2007. }
  2008. license_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), license);
  2009. // @@protoc_insertion_point(field_set_allocated:message.Car_info.license)
  2010. }
  2011. // -------------------------------------------------------------------
  2012. // Parkspace_info
  2013. // required int32 parkspace_id = 1;
  2014. inline bool Parkspace_info::has_parkspace_id() const {
  2015. return (_has_bits_[0] & 0x00000008u) != 0;
  2016. }
  2017. inline void Parkspace_info::set_has_parkspace_id() {
  2018. _has_bits_[0] |= 0x00000008u;
  2019. }
  2020. inline void Parkspace_info::clear_has_parkspace_id() {
  2021. _has_bits_[0] &= ~0x00000008u;
  2022. }
  2023. inline void Parkspace_info::clear_parkspace_id() {
  2024. parkspace_id_ = 0;
  2025. clear_has_parkspace_id();
  2026. }
  2027. inline ::google::protobuf::int32 Parkspace_info::parkspace_id() const {
  2028. // @@protoc_insertion_point(field_get:message.Parkspace_info.parkspace_id)
  2029. return parkspace_id_;
  2030. }
  2031. inline void Parkspace_info::set_parkspace_id(::google::protobuf::int32 value) {
  2032. set_has_parkspace_id();
  2033. parkspace_id_ = value;
  2034. // @@protoc_insertion_point(field_set:message.Parkspace_info.parkspace_id)
  2035. }
  2036. // required int32 index = 2;
  2037. inline bool Parkspace_info::has_index() const {
  2038. return (_has_bits_[0] & 0x00000010u) != 0;
  2039. }
  2040. inline void Parkspace_info::set_has_index() {
  2041. _has_bits_[0] |= 0x00000010u;
  2042. }
  2043. inline void Parkspace_info::clear_has_index() {
  2044. _has_bits_[0] &= ~0x00000010u;
  2045. }
  2046. inline void Parkspace_info::clear_index() {
  2047. index_ = 0;
  2048. clear_has_index();
  2049. }
  2050. inline ::google::protobuf::int32 Parkspace_info::index() const {
  2051. // @@protoc_insertion_point(field_get:message.Parkspace_info.index)
  2052. return index_;
  2053. }
  2054. inline void Parkspace_info::set_index(::google::protobuf::int32 value) {
  2055. set_has_index();
  2056. index_ = value;
  2057. // @@protoc_insertion_point(field_set:message.Parkspace_info.index)
  2058. }
  2059. // required .message.Direction direction = 3;
  2060. inline bool Parkspace_info::has_direction() const {
  2061. return (_has_bits_[0] & 0x00000020u) != 0;
  2062. }
  2063. inline void Parkspace_info::set_has_direction() {
  2064. _has_bits_[0] |= 0x00000020u;
  2065. }
  2066. inline void Parkspace_info::clear_has_direction() {
  2067. _has_bits_[0] &= ~0x00000020u;
  2068. }
  2069. inline void Parkspace_info::clear_direction() {
  2070. direction_ = 0;
  2071. clear_has_direction();
  2072. }
  2073. inline ::message::Direction Parkspace_info::direction() const {
  2074. // @@protoc_insertion_point(field_get:message.Parkspace_info.direction)
  2075. return static_cast< ::message::Direction >(direction_);
  2076. }
  2077. inline void Parkspace_info::set_direction(::message::Direction value) {
  2078. assert(::message::Direction_IsValid(value));
  2079. set_has_direction();
  2080. direction_ = value;
  2081. // @@protoc_insertion_point(field_set:message.Parkspace_info.direction)
  2082. }
  2083. // required int32 floor = 4;
  2084. inline bool Parkspace_info::has_floor() const {
  2085. return (_has_bits_[0] & 0x00000040u) != 0;
  2086. }
  2087. inline void Parkspace_info::set_has_floor() {
  2088. _has_bits_[0] |= 0x00000040u;
  2089. }
  2090. inline void Parkspace_info::clear_has_floor() {
  2091. _has_bits_[0] &= ~0x00000040u;
  2092. }
  2093. inline void Parkspace_info::clear_floor() {
  2094. floor_ = 0;
  2095. clear_has_floor();
  2096. }
  2097. inline ::google::protobuf::int32 Parkspace_info::floor() const {
  2098. // @@protoc_insertion_point(field_get:message.Parkspace_info.floor)
  2099. return floor_;
  2100. }
  2101. inline void Parkspace_info::set_floor(::google::protobuf::int32 value) {
  2102. set_has_floor();
  2103. floor_ = value;
  2104. // @@protoc_insertion_point(field_set:message.Parkspace_info.floor)
  2105. }
  2106. // optional float length = 5;
  2107. inline bool Parkspace_info::has_length() const {
  2108. return (_has_bits_[0] & 0x00000080u) != 0;
  2109. }
  2110. inline void Parkspace_info::set_has_length() {
  2111. _has_bits_[0] |= 0x00000080u;
  2112. }
  2113. inline void Parkspace_info::clear_has_length() {
  2114. _has_bits_[0] &= ~0x00000080u;
  2115. }
  2116. inline void Parkspace_info::clear_length() {
  2117. length_ = 0;
  2118. clear_has_length();
  2119. }
  2120. inline float Parkspace_info::length() const {
  2121. // @@protoc_insertion_point(field_get:message.Parkspace_info.length)
  2122. return length_;
  2123. }
  2124. inline void Parkspace_info::set_length(float value) {
  2125. set_has_length();
  2126. length_ = value;
  2127. // @@protoc_insertion_point(field_set:message.Parkspace_info.length)
  2128. }
  2129. // required float width = 6;
  2130. inline bool Parkspace_info::has_width() const {
  2131. return (_has_bits_[0] & 0x00000100u) != 0;
  2132. }
  2133. inline void Parkspace_info::set_has_width() {
  2134. _has_bits_[0] |= 0x00000100u;
  2135. }
  2136. inline void Parkspace_info::clear_has_width() {
  2137. _has_bits_[0] &= ~0x00000100u;
  2138. }
  2139. inline void Parkspace_info::clear_width() {
  2140. width_ = 0;
  2141. clear_has_width();
  2142. }
  2143. inline float Parkspace_info::width() const {
  2144. // @@protoc_insertion_point(field_get:message.Parkspace_info.width)
  2145. return width_;
  2146. }
  2147. inline void Parkspace_info::set_width(float value) {
  2148. set_has_width();
  2149. width_ = value;
  2150. // @@protoc_insertion_point(field_set:message.Parkspace_info.width)
  2151. }
  2152. // required float height = 7;
  2153. inline bool Parkspace_info::has_height() const {
  2154. return (_has_bits_[0] & 0x00000200u) != 0;
  2155. }
  2156. inline void Parkspace_info::set_has_height() {
  2157. _has_bits_[0] |= 0x00000200u;
  2158. }
  2159. inline void Parkspace_info::clear_has_height() {
  2160. _has_bits_[0] &= ~0x00000200u;
  2161. }
  2162. inline void Parkspace_info::clear_height() {
  2163. height_ = 0;
  2164. clear_has_height();
  2165. }
  2166. inline float Parkspace_info::height() const {
  2167. // @@protoc_insertion_point(field_get:message.Parkspace_info.height)
  2168. return height_;
  2169. }
  2170. inline void Parkspace_info::set_height(float value) {
  2171. set_has_height();
  2172. height_ = value;
  2173. // @@protoc_insertion_point(field_set:message.Parkspace_info.height)
  2174. }
  2175. // required .message.Parkspace_status parkspace_status = 8;
  2176. inline bool Parkspace_info::has_parkspace_status() const {
  2177. return (_has_bits_[0] & 0x00000400u) != 0;
  2178. }
  2179. inline void Parkspace_info::set_has_parkspace_status() {
  2180. _has_bits_[0] |= 0x00000400u;
  2181. }
  2182. inline void Parkspace_info::clear_has_parkspace_status() {
  2183. _has_bits_[0] &= ~0x00000400u;
  2184. }
  2185. inline void Parkspace_info::clear_parkspace_status() {
  2186. parkspace_status_ = 0;
  2187. clear_has_parkspace_status();
  2188. }
  2189. inline ::message::Parkspace_status Parkspace_info::parkspace_status() const {
  2190. // @@protoc_insertion_point(field_get:message.Parkspace_info.parkspace_status)
  2191. return static_cast< ::message::Parkspace_status >(parkspace_status_);
  2192. }
  2193. inline void Parkspace_info::set_parkspace_status(::message::Parkspace_status value) {
  2194. assert(::message::Parkspace_status_IsValid(value));
  2195. set_has_parkspace_status();
  2196. parkspace_status_ = value;
  2197. // @@protoc_insertion_point(field_set:message.Parkspace_info.parkspace_status)
  2198. }
  2199. // optional .message.Car_info car_info = 9;
  2200. inline bool Parkspace_info::has_car_info() const {
  2201. return (_has_bits_[0] & 0x00000004u) != 0;
  2202. }
  2203. inline void Parkspace_info::set_has_car_info() {
  2204. _has_bits_[0] |= 0x00000004u;
  2205. }
  2206. inline void Parkspace_info::clear_has_car_info() {
  2207. _has_bits_[0] &= ~0x00000004u;
  2208. }
  2209. inline void Parkspace_info::clear_car_info() {
  2210. if (car_info_ != NULL) car_info_->Clear();
  2211. clear_has_car_info();
  2212. }
  2213. inline const ::message::Car_info& Parkspace_info::car_info() const {
  2214. const ::message::Car_info* p = car_info_;
  2215. // @@protoc_insertion_point(field_get:message.Parkspace_info.car_info)
  2216. return p != NULL ? *p : *reinterpret_cast<const ::message::Car_info*>(
  2217. &::message::_Car_info_default_instance_);
  2218. }
  2219. inline ::message::Car_info* Parkspace_info::release_car_info() {
  2220. // @@protoc_insertion_point(field_release:message.Parkspace_info.car_info)
  2221. clear_has_car_info();
  2222. ::message::Car_info* temp = car_info_;
  2223. car_info_ = NULL;
  2224. return temp;
  2225. }
  2226. inline ::message::Car_info* Parkspace_info::mutable_car_info() {
  2227. set_has_car_info();
  2228. if (car_info_ == NULL) {
  2229. car_info_ = new ::message::Car_info;
  2230. }
  2231. // @@protoc_insertion_point(field_mutable:message.Parkspace_info.car_info)
  2232. return car_info_;
  2233. }
  2234. inline void Parkspace_info::set_allocated_car_info(::message::Car_info* car_info) {
  2235. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2236. if (message_arena == NULL) {
  2237. delete car_info_;
  2238. }
  2239. if (car_info) {
  2240. ::google::protobuf::Arena* submessage_arena = NULL;
  2241. if (message_arena != submessage_arena) {
  2242. car_info = ::google::protobuf::internal::GetOwnedMessage(
  2243. message_arena, car_info, submessage_arena);
  2244. }
  2245. set_has_car_info();
  2246. } else {
  2247. clear_has_car_info();
  2248. }
  2249. car_info_ = car_info;
  2250. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_info.car_info)
  2251. }
  2252. // optional string entry_time = 10;
  2253. inline bool Parkspace_info::has_entry_time() const {
  2254. return (_has_bits_[0] & 0x00000001u) != 0;
  2255. }
  2256. inline void Parkspace_info::set_has_entry_time() {
  2257. _has_bits_[0] |= 0x00000001u;
  2258. }
  2259. inline void Parkspace_info::clear_has_entry_time() {
  2260. _has_bits_[0] &= ~0x00000001u;
  2261. }
  2262. inline void Parkspace_info::clear_entry_time() {
  2263. entry_time_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2264. clear_has_entry_time();
  2265. }
  2266. inline const ::std::string& Parkspace_info::entry_time() const {
  2267. // @@protoc_insertion_point(field_get:message.Parkspace_info.entry_time)
  2268. return entry_time_.GetNoArena();
  2269. }
  2270. inline void Parkspace_info::set_entry_time(const ::std::string& value) {
  2271. set_has_entry_time();
  2272. entry_time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  2273. // @@protoc_insertion_point(field_set:message.Parkspace_info.entry_time)
  2274. }
  2275. #if LANG_CXX11
  2276. inline void Parkspace_info::set_entry_time(::std::string&& value) {
  2277. set_has_entry_time();
  2278. entry_time_.SetNoArena(
  2279. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  2280. // @@protoc_insertion_point(field_set_rvalue:message.Parkspace_info.entry_time)
  2281. }
  2282. #endif
  2283. inline void Parkspace_info::set_entry_time(const char* value) {
  2284. GOOGLE_DCHECK(value != NULL);
  2285. set_has_entry_time();
  2286. entry_time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  2287. // @@protoc_insertion_point(field_set_char:message.Parkspace_info.entry_time)
  2288. }
  2289. inline void Parkspace_info::set_entry_time(const char* value, size_t size) {
  2290. set_has_entry_time();
  2291. entry_time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  2292. ::std::string(reinterpret_cast<const char*>(value), size));
  2293. // @@protoc_insertion_point(field_set_pointer:message.Parkspace_info.entry_time)
  2294. }
  2295. inline ::std::string* Parkspace_info::mutable_entry_time() {
  2296. set_has_entry_time();
  2297. // @@protoc_insertion_point(field_mutable:message.Parkspace_info.entry_time)
  2298. return entry_time_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2299. }
  2300. inline ::std::string* Parkspace_info::release_entry_time() {
  2301. // @@protoc_insertion_point(field_release:message.Parkspace_info.entry_time)
  2302. clear_has_entry_time();
  2303. return entry_time_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2304. }
  2305. inline void Parkspace_info::set_allocated_entry_time(::std::string* entry_time) {
  2306. if (entry_time != NULL) {
  2307. set_has_entry_time();
  2308. } else {
  2309. clear_has_entry_time();
  2310. }
  2311. entry_time_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), entry_time);
  2312. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_info.entry_time)
  2313. }
  2314. // optional string leave_time = 11;
  2315. inline bool Parkspace_info::has_leave_time() const {
  2316. return (_has_bits_[0] & 0x00000002u) != 0;
  2317. }
  2318. inline void Parkspace_info::set_has_leave_time() {
  2319. _has_bits_[0] |= 0x00000002u;
  2320. }
  2321. inline void Parkspace_info::clear_has_leave_time() {
  2322. _has_bits_[0] &= ~0x00000002u;
  2323. }
  2324. inline void Parkspace_info::clear_leave_time() {
  2325. leave_time_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2326. clear_has_leave_time();
  2327. }
  2328. inline const ::std::string& Parkspace_info::leave_time() const {
  2329. // @@protoc_insertion_point(field_get:message.Parkspace_info.leave_time)
  2330. return leave_time_.GetNoArena();
  2331. }
  2332. inline void Parkspace_info::set_leave_time(const ::std::string& value) {
  2333. set_has_leave_time();
  2334. leave_time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  2335. // @@protoc_insertion_point(field_set:message.Parkspace_info.leave_time)
  2336. }
  2337. #if LANG_CXX11
  2338. inline void Parkspace_info::set_leave_time(::std::string&& value) {
  2339. set_has_leave_time();
  2340. leave_time_.SetNoArena(
  2341. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  2342. // @@protoc_insertion_point(field_set_rvalue:message.Parkspace_info.leave_time)
  2343. }
  2344. #endif
  2345. inline void Parkspace_info::set_leave_time(const char* value) {
  2346. GOOGLE_DCHECK(value != NULL);
  2347. set_has_leave_time();
  2348. leave_time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  2349. // @@protoc_insertion_point(field_set_char:message.Parkspace_info.leave_time)
  2350. }
  2351. inline void Parkspace_info::set_leave_time(const char* value, size_t size) {
  2352. set_has_leave_time();
  2353. leave_time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  2354. ::std::string(reinterpret_cast<const char*>(value), size));
  2355. // @@protoc_insertion_point(field_set_pointer:message.Parkspace_info.leave_time)
  2356. }
  2357. inline ::std::string* Parkspace_info::mutable_leave_time() {
  2358. set_has_leave_time();
  2359. // @@protoc_insertion_point(field_mutable:message.Parkspace_info.leave_time)
  2360. return leave_time_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2361. }
  2362. inline ::std::string* Parkspace_info::release_leave_time() {
  2363. // @@protoc_insertion_point(field_release:message.Parkspace_info.leave_time)
  2364. clear_has_leave_time();
  2365. return leave_time_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2366. }
  2367. inline void Parkspace_info::set_allocated_leave_time(::std::string* leave_time) {
  2368. if (leave_time != NULL) {
  2369. set_has_leave_time();
  2370. } else {
  2371. clear_has_leave_time();
  2372. }
  2373. leave_time_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), leave_time);
  2374. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_info.leave_time)
  2375. }
  2376. // -------------------------------------------------------------------
  2377. // Parkspace_allocation_request_msg
  2378. // required .message.Base_info base_info = 1;
  2379. inline bool Parkspace_allocation_request_msg::has_base_info() const {
  2380. return (_has_bits_[0] & 0x00000001u) != 0;
  2381. }
  2382. inline void Parkspace_allocation_request_msg::set_has_base_info() {
  2383. _has_bits_[0] |= 0x00000001u;
  2384. }
  2385. inline void Parkspace_allocation_request_msg::clear_has_base_info() {
  2386. _has_bits_[0] &= ~0x00000001u;
  2387. }
  2388. inline const ::message::Base_info& Parkspace_allocation_request_msg::base_info() const {
  2389. const ::message::Base_info* p = base_info_;
  2390. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_request_msg.base_info)
  2391. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  2392. &::message::_Base_info_default_instance_);
  2393. }
  2394. inline ::message::Base_info* Parkspace_allocation_request_msg::release_base_info() {
  2395. // @@protoc_insertion_point(field_release:message.Parkspace_allocation_request_msg.base_info)
  2396. clear_has_base_info();
  2397. ::message::Base_info* temp = base_info_;
  2398. base_info_ = NULL;
  2399. return temp;
  2400. }
  2401. inline ::message::Base_info* Parkspace_allocation_request_msg::mutable_base_info() {
  2402. set_has_base_info();
  2403. if (base_info_ == NULL) {
  2404. base_info_ = new ::message::Base_info;
  2405. }
  2406. // @@protoc_insertion_point(field_mutable:message.Parkspace_allocation_request_msg.base_info)
  2407. return base_info_;
  2408. }
  2409. inline void Parkspace_allocation_request_msg::set_allocated_base_info(::message::Base_info* base_info) {
  2410. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2411. if (message_arena == NULL) {
  2412. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  2413. }
  2414. if (base_info) {
  2415. ::google::protobuf::Arena* submessage_arena = NULL;
  2416. if (message_arena != submessage_arena) {
  2417. base_info = ::google::protobuf::internal::GetOwnedMessage(
  2418. message_arena, base_info, submessage_arena);
  2419. }
  2420. set_has_base_info();
  2421. } else {
  2422. clear_has_base_info();
  2423. }
  2424. base_info_ = base_info;
  2425. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_allocation_request_msg.base_info)
  2426. }
  2427. // required int32 command_id = 2;
  2428. inline bool Parkspace_allocation_request_msg::has_command_id() const {
  2429. return (_has_bits_[0] & 0x00000004u) != 0;
  2430. }
  2431. inline void Parkspace_allocation_request_msg::set_has_command_id() {
  2432. _has_bits_[0] |= 0x00000004u;
  2433. }
  2434. inline void Parkspace_allocation_request_msg::clear_has_command_id() {
  2435. _has_bits_[0] &= ~0x00000004u;
  2436. }
  2437. inline void Parkspace_allocation_request_msg::clear_command_id() {
  2438. command_id_ = 0;
  2439. clear_has_command_id();
  2440. }
  2441. inline ::google::protobuf::int32 Parkspace_allocation_request_msg::command_id() const {
  2442. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_request_msg.command_id)
  2443. return command_id_;
  2444. }
  2445. inline void Parkspace_allocation_request_msg::set_command_id(::google::protobuf::int32 value) {
  2446. set_has_command_id();
  2447. command_id_ = value;
  2448. // @@protoc_insertion_point(field_set:message.Parkspace_allocation_request_msg.command_id)
  2449. }
  2450. // required .message.Car_info car_info = 3;
  2451. inline bool Parkspace_allocation_request_msg::has_car_info() const {
  2452. return (_has_bits_[0] & 0x00000002u) != 0;
  2453. }
  2454. inline void Parkspace_allocation_request_msg::set_has_car_info() {
  2455. _has_bits_[0] |= 0x00000002u;
  2456. }
  2457. inline void Parkspace_allocation_request_msg::clear_has_car_info() {
  2458. _has_bits_[0] &= ~0x00000002u;
  2459. }
  2460. inline void Parkspace_allocation_request_msg::clear_car_info() {
  2461. if (car_info_ != NULL) car_info_->Clear();
  2462. clear_has_car_info();
  2463. }
  2464. inline const ::message::Car_info& Parkspace_allocation_request_msg::car_info() const {
  2465. const ::message::Car_info* p = car_info_;
  2466. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_request_msg.car_info)
  2467. return p != NULL ? *p : *reinterpret_cast<const ::message::Car_info*>(
  2468. &::message::_Car_info_default_instance_);
  2469. }
  2470. inline ::message::Car_info* Parkspace_allocation_request_msg::release_car_info() {
  2471. // @@protoc_insertion_point(field_release:message.Parkspace_allocation_request_msg.car_info)
  2472. clear_has_car_info();
  2473. ::message::Car_info* temp = car_info_;
  2474. car_info_ = NULL;
  2475. return temp;
  2476. }
  2477. inline ::message::Car_info* Parkspace_allocation_request_msg::mutable_car_info() {
  2478. set_has_car_info();
  2479. if (car_info_ == NULL) {
  2480. car_info_ = new ::message::Car_info;
  2481. }
  2482. // @@protoc_insertion_point(field_mutable:message.Parkspace_allocation_request_msg.car_info)
  2483. return car_info_;
  2484. }
  2485. inline void Parkspace_allocation_request_msg::set_allocated_car_info(::message::Car_info* car_info) {
  2486. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2487. if (message_arena == NULL) {
  2488. delete car_info_;
  2489. }
  2490. if (car_info) {
  2491. ::google::protobuf::Arena* submessage_arena = NULL;
  2492. if (message_arena != submessage_arena) {
  2493. car_info = ::google::protobuf::internal::GetOwnedMessage(
  2494. message_arena, car_info, submessage_arena);
  2495. }
  2496. set_has_car_info();
  2497. } else {
  2498. clear_has_car_info();
  2499. }
  2500. car_info_ = car_info;
  2501. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_allocation_request_msg.car_info)
  2502. }
  2503. // required int32 terminal_id = 4;
  2504. inline bool Parkspace_allocation_request_msg::has_terminal_id() const {
  2505. return (_has_bits_[0] & 0x00000008u) != 0;
  2506. }
  2507. inline void Parkspace_allocation_request_msg::set_has_terminal_id() {
  2508. _has_bits_[0] |= 0x00000008u;
  2509. }
  2510. inline void Parkspace_allocation_request_msg::clear_has_terminal_id() {
  2511. _has_bits_[0] &= ~0x00000008u;
  2512. }
  2513. inline void Parkspace_allocation_request_msg::clear_terminal_id() {
  2514. terminal_id_ = 0;
  2515. clear_has_terminal_id();
  2516. }
  2517. inline ::google::protobuf::int32 Parkspace_allocation_request_msg::terminal_id() const {
  2518. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_request_msg.terminal_id)
  2519. return terminal_id_;
  2520. }
  2521. inline void Parkspace_allocation_request_msg::set_terminal_id(::google::protobuf::int32 value) {
  2522. set_has_terminal_id();
  2523. terminal_id_ = value;
  2524. // @@protoc_insertion_point(field_set:message.Parkspace_allocation_request_msg.terminal_id)
  2525. }
  2526. // -------------------------------------------------------------------
  2527. // Parkspace_allocation_response_msg
  2528. // required .message.Base_info base_info = 1;
  2529. inline bool Parkspace_allocation_response_msg::has_base_info() const {
  2530. return (_has_bits_[0] & 0x00000001u) != 0;
  2531. }
  2532. inline void Parkspace_allocation_response_msg::set_has_base_info() {
  2533. _has_bits_[0] |= 0x00000001u;
  2534. }
  2535. inline void Parkspace_allocation_response_msg::clear_has_base_info() {
  2536. _has_bits_[0] &= ~0x00000001u;
  2537. }
  2538. inline const ::message::Base_info& Parkspace_allocation_response_msg::base_info() const {
  2539. const ::message::Base_info* p = base_info_;
  2540. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_response_msg.base_info)
  2541. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  2542. &::message::_Base_info_default_instance_);
  2543. }
  2544. inline ::message::Base_info* Parkspace_allocation_response_msg::release_base_info() {
  2545. // @@protoc_insertion_point(field_release:message.Parkspace_allocation_response_msg.base_info)
  2546. clear_has_base_info();
  2547. ::message::Base_info* temp = base_info_;
  2548. base_info_ = NULL;
  2549. return temp;
  2550. }
  2551. inline ::message::Base_info* Parkspace_allocation_response_msg::mutable_base_info() {
  2552. set_has_base_info();
  2553. if (base_info_ == NULL) {
  2554. base_info_ = new ::message::Base_info;
  2555. }
  2556. // @@protoc_insertion_point(field_mutable:message.Parkspace_allocation_response_msg.base_info)
  2557. return base_info_;
  2558. }
  2559. inline void Parkspace_allocation_response_msg::set_allocated_base_info(::message::Base_info* base_info) {
  2560. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2561. if (message_arena == NULL) {
  2562. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  2563. }
  2564. if (base_info) {
  2565. ::google::protobuf::Arena* submessage_arena = NULL;
  2566. if (message_arena != submessage_arena) {
  2567. base_info = ::google::protobuf::internal::GetOwnedMessage(
  2568. message_arena, base_info, submessage_arena);
  2569. }
  2570. set_has_base_info();
  2571. } else {
  2572. clear_has_base_info();
  2573. }
  2574. base_info_ = base_info;
  2575. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_allocation_response_msg.base_info)
  2576. }
  2577. // required int32 command_id = 2;
  2578. inline bool Parkspace_allocation_response_msg::has_command_id() const {
  2579. return (_has_bits_[0] & 0x00000008u) != 0;
  2580. }
  2581. inline void Parkspace_allocation_response_msg::set_has_command_id() {
  2582. _has_bits_[0] |= 0x00000008u;
  2583. }
  2584. inline void Parkspace_allocation_response_msg::clear_has_command_id() {
  2585. _has_bits_[0] &= ~0x00000008u;
  2586. }
  2587. inline void Parkspace_allocation_response_msg::clear_command_id() {
  2588. command_id_ = 0;
  2589. clear_has_command_id();
  2590. }
  2591. inline ::google::protobuf::int32 Parkspace_allocation_response_msg::command_id() const {
  2592. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_response_msg.command_id)
  2593. return command_id_;
  2594. }
  2595. inline void Parkspace_allocation_response_msg::set_command_id(::google::protobuf::int32 value) {
  2596. set_has_command_id();
  2597. command_id_ = value;
  2598. // @@protoc_insertion_point(field_set:message.Parkspace_allocation_response_msg.command_id)
  2599. }
  2600. // required .message.Error_manager error_manager = 3;
  2601. inline bool Parkspace_allocation_response_msg::has_error_manager() const {
  2602. return (_has_bits_[0] & 0x00000002u) != 0;
  2603. }
  2604. inline void Parkspace_allocation_response_msg::set_has_error_manager() {
  2605. _has_bits_[0] |= 0x00000002u;
  2606. }
  2607. inline void Parkspace_allocation_response_msg::clear_has_error_manager() {
  2608. _has_bits_[0] &= ~0x00000002u;
  2609. }
  2610. inline const ::message::Error_manager& Parkspace_allocation_response_msg::error_manager() const {
  2611. const ::message::Error_manager* p = error_manager_;
  2612. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_response_msg.error_manager)
  2613. return p != NULL ? *p : *reinterpret_cast<const ::message::Error_manager*>(
  2614. &::message::_Error_manager_default_instance_);
  2615. }
  2616. inline ::message::Error_manager* Parkspace_allocation_response_msg::release_error_manager() {
  2617. // @@protoc_insertion_point(field_release:message.Parkspace_allocation_response_msg.error_manager)
  2618. clear_has_error_manager();
  2619. ::message::Error_manager* temp = error_manager_;
  2620. error_manager_ = NULL;
  2621. return temp;
  2622. }
  2623. inline ::message::Error_manager* Parkspace_allocation_response_msg::mutable_error_manager() {
  2624. set_has_error_manager();
  2625. if (error_manager_ == NULL) {
  2626. error_manager_ = new ::message::Error_manager;
  2627. }
  2628. // @@protoc_insertion_point(field_mutable:message.Parkspace_allocation_response_msg.error_manager)
  2629. return error_manager_;
  2630. }
  2631. inline void Parkspace_allocation_response_msg::set_allocated_error_manager(::message::Error_manager* error_manager) {
  2632. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2633. if (message_arena == NULL) {
  2634. delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_manager_);
  2635. }
  2636. if (error_manager) {
  2637. ::google::protobuf::Arena* submessage_arena = NULL;
  2638. if (message_arena != submessage_arena) {
  2639. error_manager = ::google::protobuf::internal::GetOwnedMessage(
  2640. message_arena, error_manager, submessage_arena);
  2641. }
  2642. set_has_error_manager();
  2643. } else {
  2644. clear_has_error_manager();
  2645. }
  2646. error_manager_ = error_manager;
  2647. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_allocation_response_msg.error_manager)
  2648. }
  2649. // required .message.Parkspace_info allocated_space_info = 4;
  2650. inline bool Parkspace_allocation_response_msg::has_allocated_space_info() const {
  2651. return (_has_bits_[0] & 0x00000004u) != 0;
  2652. }
  2653. inline void Parkspace_allocation_response_msg::set_has_allocated_space_info() {
  2654. _has_bits_[0] |= 0x00000004u;
  2655. }
  2656. inline void Parkspace_allocation_response_msg::clear_has_allocated_space_info() {
  2657. _has_bits_[0] &= ~0x00000004u;
  2658. }
  2659. inline void Parkspace_allocation_response_msg::clear_allocated_space_info() {
  2660. if (allocated_space_info_ != NULL) allocated_space_info_->Clear();
  2661. clear_has_allocated_space_info();
  2662. }
  2663. inline const ::message::Parkspace_info& Parkspace_allocation_response_msg::allocated_space_info() const {
  2664. const ::message::Parkspace_info* p = allocated_space_info_;
  2665. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_response_msg.allocated_space_info)
  2666. return p != NULL ? *p : *reinterpret_cast<const ::message::Parkspace_info*>(
  2667. &::message::_Parkspace_info_default_instance_);
  2668. }
  2669. inline ::message::Parkspace_info* Parkspace_allocation_response_msg::release_allocated_space_info() {
  2670. // @@protoc_insertion_point(field_release:message.Parkspace_allocation_response_msg.allocated_space_info)
  2671. clear_has_allocated_space_info();
  2672. ::message::Parkspace_info* temp = allocated_space_info_;
  2673. allocated_space_info_ = NULL;
  2674. return temp;
  2675. }
  2676. inline ::message::Parkspace_info* Parkspace_allocation_response_msg::mutable_allocated_space_info() {
  2677. set_has_allocated_space_info();
  2678. if (allocated_space_info_ == NULL) {
  2679. allocated_space_info_ = new ::message::Parkspace_info;
  2680. }
  2681. // @@protoc_insertion_point(field_mutable:message.Parkspace_allocation_response_msg.allocated_space_info)
  2682. return allocated_space_info_;
  2683. }
  2684. inline void Parkspace_allocation_response_msg::set_allocated_allocated_space_info(::message::Parkspace_info* allocated_space_info) {
  2685. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2686. if (message_arena == NULL) {
  2687. delete allocated_space_info_;
  2688. }
  2689. if (allocated_space_info) {
  2690. ::google::protobuf::Arena* submessage_arena = NULL;
  2691. if (message_arena != submessage_arena) {
  2692. allocated_space_info = ::google::protobuf::internal::GetOwnedMessage(
  2693. message_arena, allocated_space_info, submessage_arena);
  2694. }
  2695. set_has_allocated_space_info();
  2696. } else {
  2697. clear_has_allocated_space_info();
  2698. }
  2699. allocated_space_info_ = allocated_space_info;
  2700. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_allocation_response_msg.allocated_space_info)
  2701. }
  2702. // -------------------------------------------------------------------
  2703. // Parkspace_search_request_msg
  2704. // required .message.Base_info base_info = 1;
  2705. inline bool Parkspace_search_request_msg::has_base_info() const {
  2706. return (_has_bits_[0] & 0x00000001u) != 0;
  2707. }
  2708. inline void Parkspace_search_request_msg::set_has_base_info() {
  2709. _has_bits_[0] |= 0x00000001u;
  2710. }
  2711. inline void Parkspace_search_request_msg::clear_has_base_info() {
  2712. _has_bits_[0] &= ~0x00000001u;
  2713. }
  2714. inline const ::message::Base_info& Parkspace_search_request_msg::base_info() const {
  2715. const ::message::Base_info* p = base_info_;
  2716. // @@protoc_insertion_point(field_get:message.Parkspace_search_request_msg.base_info)
  2717. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  2718. &::message::_Base_info_default_instance_);
  2719. }
  2720. inline ::message::Base_info* Parkspace_search_request_msg::release_base_info() {
  2721. // @@protoc_insertion_point(field_release:message.Parkspace_search_request_msg.base_info)
  2722. clear_has_base_info();
  2723. ::message::Base_info* temp = base_info_;
  2724. base_info_ = NULL;
  2725. return temp;
  2726. }
  2727. inline ::message::Base_info* Parkspace_search_request_msg::mutable_base_info() {
  2728. set_has_base_info();
  2729. if (base_info_ == NULL) {
  2730. base_info_ = new ::message::Base_info;
  2731. }
  2732. // @@protoc_insertion_point(field_mutable:message.Parkspace_search_request_msg.base_info)
  2733. return base_info_;
  2734. }
  2735. inline void Parkspace_search_request_msg::set_allocated_base_info(::message::Base_info* base_info) {
  2736. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2737. if (message_arena == NULL) {
  2738. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  2739. }
  2740. if (base_info) {
  2741. ::google::protobuf::Arena* submessage_arena = NULL;
  2742. if (message_arena != submessage_arena) {
  2743. base_info = ::google::protobuf::internal::GetOwnedMessage(
  2744. message_arena, base_info, submessage_arena);
  2745. }
  2746. set_has_base_info();
  2747. } else {
  2748. clear_has_base_info();
  2749. }
  2750. base_info_ = base_info;
  2751. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_search_request_msg.base_info)
  2752. }
  2753. // required int32 command_id = 2;
  2754. inline bool Parkspace_search_request_msg::has_command_id() const {
  2755. return (_has_bits_[0] & 0x00000004u) != 0;
  2756. }
  2757. inline void Parkspace_search_request_msg::set_has_command_id() {
  2758. _has_bits_[0] |= 0x00000004u;
  2759. }
  2760. inline void Parkspace_search_request_msg::clear_has_command_id() {
  2761. _has_bits_[0] &= ~0x00000004u;
  2762. }
  2763. inline void Parkspace_search_request_msg::clear_command_id() {
  2764. command_id_ = 0;
  2765. clear_has_command_id();
  2766. }
  2767. inline ::google::protobuf::int32 Parkspace_search_request_msg::command_id() const {
  2768. // @@protoc_insertion_point(field_get:message.Parkspace_search_request_msg.command_id)
  2769. return command_id_;
  2770. }
  2771. inline void Parkspace_search_request_msg::set_command_id(::google::protobuf::int32 value) {
  2772. set_has_command_id();
  2773. command_id_ = value;
  2774. // @@protoc_insertion_point(field_set:message.Parkspace_search_request_msg.command_id)
  2775. }
  2776. // required .message.Car_info car_info = 3;
  2777. inline bool Parkspace_search_request_msg::has_car_info() const {
  2778. return (_has_bits_[0] & 0x00000002u) != 0;
  2779. }
  2780. inline void Parkspace_search_request_msg::set_has_car_info() {
  2781. _has_bits_[0] |= 0x00000002u;
  2782. }
  2783. inline void Parkspace_search_request_msg::clear_has_car_info() {
  2784. _has_bits_[0] &= ~0x00000002u;
  2785. }
  2786. inline void Parkspace_search_request_msg::clear_car_info() {
  2787. if (car_info_ != NULL) car_info_->Clear();
  2788. clear_has_car_info();
  2789. }
  2790. inline const ::message::Car_info& Parkspace_search_request_msg::car_info() const {
  2791. const ::message::Car_info* p = car_info_;
  2792. // @@protoc_insertion_point(field_get:message.Parkspace_search_request_msg.car_info)
  2793. return p != NULL ? *p : *reinterpret_cast<const ::message::Car_info*>(
  2794. &::message::_Car_info_default_instance_);
  2795. }
  2796. inline ::message::Car_info* Parkspace_search_request_msg::release_car_info() {
  2797. // @@protoc_insertion_point(field_release:message.Parkspace_search_request_msg.car_info)
  2798. clear_has_car_info();
  2799. ::message::Car_info* temp = car_info_;
  2800. car_info_ = NULL;
  2801. return temp;
  2802. }
  2803. inline ::message::Car_info* Parkspace_search_request_msg::mutable_car_info() {
  2804. set_has_car_info();
  2805. if (car_info_ == NULL) {
  2806. car_info_ = new ::message::Car_info;
  2807. }
  2808. // @@protoc_insertion_point(field_mutable:message.Parkspace_search_request_msg.car_info)
  2809. return car_info_;
  2810. }
  2811. inline void Parkspace_search_request_msg::set_allocated_car_info(::message::Car_info* car_info) {
  2812. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2813. if (message_arena == NULL) {
  2814. delete car_info_;
  2815. }
  2816. if (car_info) {
  2817. ::google::protobuf::Arena* submessage_arena = NULL;
  2818. if (message_arena != submessage_arena) {
  2819. car_info = ::google::protobuf::internal::GetOwnedMessage(
  2820. message_arena, car_info, submessage_arena);
  2821. }
  2822. set_has_car_info();
  2823. } else {
  2824. clear_has_car_info();
  2825. }
  2826. car_info_ = car_info;
  2827. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_search_request_msg.car_info)
  2828. }
  2829. // -------------------------------------------------------------------
  2830. // Parkspace_search_response_msg
  2831. // required .message.Base_info base_info = 1;
  2832. inline bool Parkspace_search_response_msg::has_base_info() const {
  2833. return (_has_bits_[0] & 0x00000001u) != 0;
  2834. }
  2835. inline void Parkspace_search_response_msg::set_has_base_info() {
  2836. _has_bits_[0] |= 0x00000001u;
  2837. }
  2838. inline void Parkspace_search_response_msg::clear_has_base_info() {
  2839. _has_bits_[0] &= ~0x00000001u;
  2840. }
  2841. inline const ::message::Base_info& Parkspace_search_response_msg::base_info() const {
  2842. const ::message::Base_info* p = base_info_;
  2843. // @@protoc_insertion_point(field_get:message.Parkspace_search_response_msg.base_info)
  2844. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  2845. &::message::_Base_info_default_instance_);
  2846. }
  2847. inline ::message::Base_info* Parkspace_search_response_msg::release_base_info() {
  2848. // @@protoc_insertion_point(field_release:message.Parkspace_search_response_msg.base_info)
  2849. clear_has_base_info();
  2850. ::message::Base_info* temp = base_info_;
  2851. base_info_ = NULL;
  2852. return temp;
  2853. }
  2854. inline ::message::Base_info* Parkspace_search_response_msg::mutable_base_info() {
  2855. set_has_base_info();
  2856. if (base_info_ == NULL) {
  2857. base_info_ = new ::message::Base_info;
  2858. }
  2859. // @@protoc_insertion_point(field_mutable:message.Parkspace_search_response_msg.base_info)
  2860. return base_info_;
  2861. }
  2862. inline void Parkspace_search_response_msg::set_allocated_base_info(::message::Base_info* base_info) {
  2863. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2864. if (message_arena == NULL) {
  2865. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  2866. }
  2867. if (base_info) {
  2868. ::google::protobuf::Arena* submessage_arena = NULL;
  2869. if (message_arena != submessage_arena) {
  2870. base_info = ::google::protobuf::internal::GetOwnedMessage(
  2871. message_arena, base_info, submessage_arena);
  2872. }
  2873. set_has_base_info();
  2874. } else {
  2875. clear_has_base_info();
  2876. }
  2877. base_info_ = base_info;
  2878. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_search_response_msg.base_info)
  2879. }
  2880. // required int32 command_id = 2;
  2881. inline bool Parkspace_search_response_msg::has_command_id() const {
  2882. return (_has_bits_[0] & 0x00000008u) != 0;
  2883. }
  2884. inline void Parkspace_search_response_msg::set_has_command_id() {
  2885. _has_bits_[0] |= 0x00000008u;
  2886. }
  2887. inline void Parkspace_search_response_msg::clear_has_command_id() {
  2888. _has_bits_[0] &= ~0x00000008u;
  2889. }
  2890. inline void Parkspace_search_response_msg::clear_command_id() {
  2891. command_id_ = 0;
  2892. clear_has_command_id();
  2893. }
  2894. inline ::google::protobuf::int32 Parkspace_search_response_msg::command_id() const {
  2895. // @@protoc_insertion_point(field_get:message.Parkspace_search_response_msg.command_id)
  2896. return command_id_;
  2897. }
  2898. inline void Parkspace_search_response_msg::set_command_id(::google::protobuf::int32 value) {
  2899. set_has_command_id();
  2900. command_id_ = value;
  2901. // @@protoc_insertion_point(field_set:message.Parkspace_search_response_msg.command_id)
  2902. }
  2903. // required .message.Error_manager error_manager = 3;
  2904. inline bool Parkspace_search_response_msg::has_error_manager() const {
  2905. return (_has_bits_[0] & 0x00000002u) != 0;
  2906. }
  2907. inline void Parkspace_search_response_msg::set_has_error_manager() {
  2908. _has_bits_[0] |= 0x00000002u;
  2909. }
  2910. inline void Parkspace_search_response_msg::clear_has_error_manager() {
  2911. _has_bits_[0] &= ~0x00000002u;
  2912. }
  2913. inline const ::message::Error_manager& Parkspace_search_response_msg::error_manager() const {
  2914. const ::message::Error_manager* p = error_manager_;
  2915. // @@protoc_insertion_point(field_get:message.Parkspace_search_response_msg.error_manager)
  2916. return p != NULL ? *p : *reinterpret_cast<const ::message::Error_manager*>(
  2917. &::message::_Error_manager_default_instance_);
  2918. }
  2919. inline ::message::Error_manager* Parkspace_search_response_msg::release_error_manager() {
  2920. // @@protoc_insertion_point(field_release:message.Parkspace_search_response_msg.error_manager)
  2921. clear_has_error_manager();
  2922. ::message::Error_manager* temp = error_manager_;
  2923. error_manager_ = NULL;
  2924. return temp;
  2925. }
  2926. inline ::message::Error_manager* Parkspace_search_response_msg::mutable_error_manager() {
  2927. set_has_error_manager();
  2928. if (error_manager_ == NULL) {
  2929. error_manager_ = new ::message::Error_manager;
  2930. }
  2931. // @@protoc_insertion_point(field_mutable:message.Parkspace_search_response_msg.error_manager)
  2932. return error_manager_;
  2933. }
  2934. inline void Parkspace_search_response_msg::set_allocated_error_manager(::message::Error_manager* error_manager) {
  2935. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2936. if (message_arena == NULL) {
  2937. delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_manager_);
  2938. }
  2939. if (error_manager) {
  2940. ::google::protobuf::Arena* submessage_arena = NULL;
  2941. if (message_arena != submessage_arena) {
  2942. error_manager = ::google::protobuf::internal::GetOwnedMessage(
  2943. message_arena, error_manager, submessage_arena);
  2944. }
  2945. set_has_error_manager();
  2946. } else {
  2947. clear_has_error_manager();
  2948. }
  2949. error_manager_ = error_manager;
  2950. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_search_response_msg.error_manager)
  2951. }
  2952. // optional .message.Parkspace_info car_position = 4;
  2953. inline bool Parkspace_search_response_msg::has_car_position() const {
  2954. return (_has_bits_[0] & 0x00000004u) != 0;
  2955. }
  2956. inline void Parkspace_search_response_msg::set_has_car_position() {
  2957. _has_bits_[0] |= 0x00000004u;
  2958. }
  2959. inline void Parkspace_search_response_msg::clear_has_car_position() {
  2960. _has_bits_[0] &= ~0x00000004u;
  2961. }
  2962. inline void Parkspace_search_response_msg::clear_car_position() {
  2963. if (car_position_ != NULL) car_position_->Clear();
  2964. clear_has_car_position();
  2965. }
  2966. inline const ::message::Parkspace_info& Parkspace_search_response_msg::car_position() const {
  2967. const ::message::Parkspace_info* p = car_position_;
  2968. // @@protoc_insertion_point(field_get:message.Parkspace_search_response_msg.car_position)
  2969. return p != NULL ? *p : *reinterpret_cast<const ::message::Parkspace_info*>(
  2970. &::message::_Parkspace_info_default_instance_);
  2971. }
  2972. inline ::message::Parkspace_info* Parkspace_search_response_msg::release_car_position() {
  2973. // @@protoc_insertion_point(field_release:message.Parkspace_search_response_msg.car_position)
  2974. clear_has_car_position();
  2975. ::message::Parkspace_info* temp = car_position_;
  2976. car_position_ = NULL;
  2977. return temp;
  2978. }
  2979. inline ::message::Parkspace_info* Parkspace_search_response_msg::mutable_car_position() {
  2980. set_has_car_position();
  2981. if (car_position_ == NULL) {
  2982. car_position_ = new ::message::Parkspace_info;
  2983. }
  2984. // @@protoc_insertion_point(field_mutable:message.Parkspace_search_response_msg.car_position)
  2985. return car_position_;
  2986. }
  2987. inline void Parkspace_search_response_msg::set_allocated_car_position(::message::Parkspace_info* car_position) {
  2988. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2989. if (message_arena == NULL) {
  2990. delete car_position_;
  2991. }
  2992. if (car_position) {
  2993. ::google::protobuf::Arena* submessage_arena = NULL;
  2994. if (message_arena != submessage_arena) {
  2995. car_position = ::google::protobuf::internal::GetOwnedMessage(
  2996. message_arena, car_position, submessage_arena);
  2997. }
  2998. set_has_car_position();
  2999. } else {
  3000. clear_has_car_position();
  3001. }
  3002. car_position_ = car_position;
  3003. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_search_response_msg.car_position)
  3004. }
  3005. // -------------------------------------------------------------------
  3006. // Parkspace_release_request_msg
  3007. // required .message.Base_info base_info = 1;
  3008. inline bool Parkspace_release_request_msg::has_base_info() const {
  3009. return (_has_bits_[0] & 0x00000001u) != 0;
  3010. }
  3011. inline void Parkspace_release_request_msg::set_has_base_info() {
  3012. _has_bits_[0] |= 0x00000001u;
  3013. }
  3014. inline void Parkspace_release_request_msg::clear_has_base_info() {
  3015. _has_bits_[0] &= ~0x00000001u;
  3016. }
  3017. inline const ::message::Base_info& Parkspace_release_request_msg::base_info() const {
  3018. const ::message::Base_info* p = base_info_;
  3019. // @@protoc_insertion_point(field_get:message.Parkspace_release_request_msg.base_info)
  3020. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  3021. &::message::_Base_info_default_instance_);
  3022. }
  3023. inline ::message::Base_info* Parkspace_release_request_msg::release_base_info() {
  3024. // @@protoc_insertion_point(field_release:message.Parkspace_release_request_msg.base_info)
  3025. clear_has_base_info();
  3026. ::message::Base_info* temp = base_info_;
  3027. base_info_ = NULL;
  3028. return temp;
  3029. }
  3030. inline ::message::Base_info* Parkspace_release_request_msg::mutable_base_info() {
  3031. set_has_base_info();
  3032. if (base_info_ == NULL) {
  3033. base_info_ = new ::message::Base_info;
  3034. }
  3035. // @@protoc_insertion_point(field_mutable:message.Parkspace_release_request_msg.base_info)
  3036. return base_info_;
  3037. }
  3038. inline void Parkspace_release_request_msg::set_allocated_base_info(::message::Base_info* base_info) {
  3039. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  3040. if (message_arena == NULL) {
  3041. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  3042. }
  3043. if (base_info) {
  3044. ::google::protobuf::Arena* submessage_arena = NULL;
  3045. if (message_arena != submessage_arena) {
  3046. base_info = ::google::protobuf::internal::GetOwnedMessage(
  3047. message_arena, base_info, submessage_arena);
  3048. }
  3049. set_has_base_info();
  3050. } else {
  3051. clear_has_base_info();
  3052. }
  3053. base_info_ = base_info;
  3054. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_release_request_msg.base_info)
  3055. }
  3056. // required int32 command_id = 2;
  3057. inline bool Parkspace_release_request_msg::has_command_id() const {
  3058. return (_has_bits_[0] & 0x00000004u) != 0;
  3059. }
  3060. inline void Parkspace_release_request_msg::set_has_command_id() {
  3061. _has_bits_[0] |= 0x00000004u;
  3062. }
  3063. inline void Parkspace_release_request_msg::clear_has_command_id() {
  3064. _has_bits_[0] &= ~0x00000004u;
  3065. }
  3066. inline void Parkspace_release_request_msg::clear_command_id() {
  3067. command_id_ = 0;
  3068. clear_has_command_id();
  3069. }
  3070. inline ::google::protobuf::int32 Parkspace_release_request_msg::command_id() const {
  3071. // @@protoc_insertion_point(field_get:message.Parkspace_release_request_msg.command_id)
  3072. return command_id_;
  3073. }
  3074. inline void Parkspace_release_request_msg::set_command_id(::google::protobuf::int32 value) {
  3075. set_has_command_id();
  3076. command_id_ = value;
  3077. // @@protoc_insertion_point(field_set:message.Parkspace_release_request_msg.command_id)
  3078. }
  3079. // required .message.Parkspace_info release_space_info = 3;
  3080. inline bool Parkspace_release_request_msg::has_release_space_info() const {
  3081. return (_has_bits_[0] & 0x00000002u) != 0;
  3082. }
  3083. inline void Parkspace_release_request_msg::set_has_release_space_info() {
  3084. _has_bits_[0] |= 0x00000002u;
  3085. }
  3086. inline void Parkspace_release_request_msg::clear_has_release_space_info() {
  3087. _has_bits_[0] &= ~0x00000002u;
  3088. }
  3089. inline void Parkspace_release_request_msg::clear_release_space_info() {
  3090. if (release_space_info_ != NULL) release_space_info_->Clear();
  3091. clear_has_release_space_info();
  3092. }
  3093. inline const ::message::Parkspace_info& Parkspace_release_request_msg::release_space_info() const {
  3094. const ::message::Parkspace_info* p = release_space_info_;
  3095. // @@protoc_insertion_point(field_get:message.Parkspace_release_request_msg.release_space_info)
  3096. return p != NULL ? *p : *reinterpret_cast<const ::message::Parkspace_info*>(
  3097. &::message::_Parkspace_info_default_instance_);
  3098. }
  3099. inline ::message::Parkspace_info* Parkspace_release_request_msg::release_release_space_info() {
  3100. // @@protoc_insertion_point(field_release:message.Parkspace_release_request_msg.release_space_info)
  3101. clear_has_release_space_info();
  3102. ::message::Parkspace_info* temp = release_space_info_;
  3103. release_space_info_ = NULL;
  3104. return temp;
  3105. }
  3106. inline ::message::Parkspace_info* Parkspace_release_request_msg::mutable_release_space_info() {
  3107. set_has_release_space_info();
  3108. if (release_space_info_ == NULL) {
  3109. release_space_info_ = new ::message::Parkspace_info;
  3110. }
  3111. // @@protoc_insertion_point(field_mutable:message.Parkspace_release_request_msg.release_space_info)
  3112. return release_space_info_;
  3113. }
  3114. inline void Parkspace_release_request_msg::set_allocated_release_space_info(::message::Parkspace_info* release_space_info) {
  3115. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  3116. if (message_arena == NULL) {
  3117. delete release_space_info_;
  3118. }
  3119. if (release_space_info) {
  3120. ::google::protobuf::Arena* submessage_arena = NULL;
  3121. if (message_arena != submessage_arena) {
  3122. release_space_info = ::google::protobuf::internal::GetOwnedMessage(
  3123. message_arena, release_space_info, submessage_arena);
  3124. }
  3125. set_has_release_space_info();
  3126. } else {
  3127. clear_has_release_space_info();
  3128. }
  3129. release_space_info_ = release_space_info;
  3130. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_release_request_msg.release_space_info)
  3131. }
  3132. // -------------------------------------------------------------------
  3133. // Parkspace_release_response_msg
  3134. // required .message.Base_info base_info = 1;
  3135. inline bool Parkspace_release_response_msg::has_base_info() const {
  3136. return (_has_bits_[0] & 0x00000001u) != 0;
  3137. }
  3138. inline void Parkspace_release_response_msg::set_has_base_info() {
  3139. _has_bits_[0] |= 0x00000001u;
  3140. }
  3141. inline void Parkspace_release_response_msg::clear_has_base_info() {
  3142. _has_bits_[0] &= ~0x00000001u;
  3143. }
  3144. inline const ::message::Base_info& Parkspace_release_response_msg::base_info() const {
  3145. const ::message::Base_info* p = base_info_;
  3146. // @@protoc_insertion_point(field_get:message.Parkspace_release_response_msg.base_info)
  3147. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  3148. &::message::_Base_info_default_instance_);
  3149. }
  3150. inline ::message::Base_info* Parkspace_release_response_msg::release_base_info() {
  3151. // @@protoc_insertion_point(field_release:message.Parkspace_release_response_msg.base_info)
  3152. clear_has_base_info();
  3153. ::message::Base_info* temp = base_info_;
  3154. base_info_ = NULL;
  3155. return temp;
  3156. }
  3157. inline ::message::Base_info* Parkspace_release_response_msg::mutable_base_info() {
  3158. set_has_base_info();
  3159. if (base_info_ == NULL) {
  3160. base_info_ = new ::message::Base_info;
  3161. }
  3162. // @@protoc_insertion_point(field_mutable:message.Parkspace_release_response_msg.base_info)
  3163. return base_info_;
  3164. }
  3165. inline void Parkspace_release_response_msg::set_allocated_base_info(::message::Base_info* base_info) {
  3166. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  3167. if (message_arena == NULL) {
  3168. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  3169. }
  3170. if (base_info) {
  3171. ::google::protobuf::Arena* submessage_arena = NULL;
  3172. if (message_arena != submessage_arena) {
  3173. base_info = ::google::protobuf::internal::GetOwnedMessage(
  3174. message_arena, base_info, submessage_arena);
  3175. }
  3176. set_has_base_info();
  3177. } else {
  3178. clear_has_base_info();
  3179. }
  3180. base_info_ = base_info;
  3181. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_release_response_msg.base_info)
  3182. }
  3183. // required int32 command_id = 2;
  3184. inline bool Parkspace_release_response_msg::has_command_id() const {
  3185. return (_has_bits_[0] & 0x00000008u) != 0;
  3186. }
  3187. inline void Parkspace_release_response_msg::set_has_command_id() {
  3188. _has_bits_[0] |= 0x00000008u;
  3189. }
  3190. inline void Parkspace_release_response_msg::clear_has_command_id() {
  3191. _has_bits_[0] &= ~0x00000008u;
  3192. }
  3193. inline void Parkspace_release_response_msg::clear_command_id() {
  3194. command_id_ = 0;
  3195. clear_has_command_id();
  3196. }
  3197. inline ::google::protobuf::int32 Parkspace_release_response_msg::command_id() const {
  3198. // @@protoc_insertion_point(field_get:message.Parkspace_release_response_msg.command_id)
  3199. return command_id_;
  3200. }
  3201. inline void Parkspace_release_response_msg::set_command_id(::google::protobuf::int32 value) {
  3202. set_has_command_id();
  3203. command_id_ = value;
  3204. // @@protoc_insertion_point(field_set:message.Parkspace_release_response_msg.command_id)
  3205. }
  3206. // required .message.Error_manager error_manager = 3;
  3207. inline bool Parkspace_release_response_msg::has_error_manager() const {
  3208. return (_has_bits_[0] & 0x00000002u) != 0;
  3209. }
  3210. inline void Parkspace_release_response_msg::set_has_error_manager() {
  3211. _has_bits_[0] |= 0x00000002u;
  3212. }
  3213. inline void Parkspace_release_response_msg::clear_has_error_manager() {
  3214. _has_bits_[0] &= ~0x00000002u;
  3215. }
  3216. inline const ::message::Error_manager& Parkspace_release_response_msg::error_manager() const {
  3217. const ::message::Error_manager* p = error_manager_;
  3218. // @@protoc_insertion_point(field_get:message.Parkspace_release_response_msg.error_manager)
  3219. return p != NULL ? *p : *reinterpret_cast<const ::message::Error_manager*>(
  3220. &::message::_Error_manager_default_instance_);
  3221. }
  3222. inline ::message::Error_manager* Parkspace_release_response_msg::release_error_manager() {
  3223. // @@protoc_insertion_point(field_release:message.Parkspace_release_response_msg.error_manager)
  3224. clear_has_error_manager();
  3225. ::message::Error_manager* temp = error_manager_;
  3226. error_manager_ = NULL;
  3227. return temp;
  3228. }
  3229. inline ::message::Error_manager* Parkspace_release_response_msg::mutable_error_manager() {
  3230. set_has_error_manager();
  3231. if (error_manager_ == NULL) {
  3232. error_manager_ = new ::message::Error_manager;
  3233. }
  3234. // @@protoc_insertion_point(field_mutable:message.Parkspace_release_response_msg.error_manager)
  3235. return error_manager_;
  3236. }
  3237. inline void Parkspace_release_response_msg::set_allocated_error_manager(::message::Error_manager* error_manager) {
  3238. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  3239. if (message_arena == NULL) {
  3240. delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_manager_);
  3241. }
  3242. if (error_manager) {
  3243. ::google::protobuf::Arena* submessage_arena = NULL;
  3244. if (message_arena != submessage_arena) {
  3245. error_manager = ::google::protobuf::internal::GetOwnedMessage(
  3246. message_arena, error_manager, submessage_arena);
  3247. }
  3248. set_has_error_manager();
  3249. } else {
  3250. clear_has_error_manager();
  3251. }
  3252. error_manager_ = error_manager;
  3253. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_release_response_msg.error_manager)
  3254. }
  3255. // required .message.Parkspace_info release_space_info = 4;
  3256. inline bool Parkspace_release_response_msg::has_release_space_info() const {
  3257. return (_has_bits_[0] & 0x00000004u) != 0;
  3258. }
  3259. inline void Parkspace_release_response_msg::set_has_release_space_info() {
  3260. _has_bits_[0] |= 0x00000004u;
  3261. }
  3262. inline void Parkspace_release_response_msg::clear_has_release_space_info() {
  3263. _has_bits_[0] &= ~0x00000004u;
  3264. }
  3265. inline void Parkspace_release_response_msg::clear_release_space_info() {
  3266. if (release_space_info_ != NULL) release_space_info_->Clear();
  3267. clear_has_release_space_info();
  3268. }
  3269. inline const ::message::Parkspace_info& Parkspace_release_response_msg::release_space_info() const {
  3270. const ::message::Parkspace_info* p = release_space_info_;
  3271. // @@protoc_insertion_point(field_get:message.Parkspace_release_response_msg.release_space_info)
  3272. return p != NULL ? *p : *reinterpret_cast<const ::message::Parkspace_info*>(
  3273. &::message::_Parkspace_info_default_instance_);
  3274. }
  3275. inline ::message::Parkspace_info* Parkspace_release_response_msg::release_release_space_info() {
  3276. // @@protoc_insertion_point(field_release:message.Parkspace_release_response_msg.release_space_info)
  3277. clear_has_release_space_info();
  3278. ::message::Parkspace_info* temp = release_space_info_;
  3279. release_space_info_ = NULL;
  3280. return temp;
  3281. }
  3282. inline ::message::Parkspace_info* Parkspace_release_response_msg::mutable_release_space_info() {
  3283. set_has_release_space_info();
  3284. if (release_space_info_ == NULL) {
  3285. release_space_info_ = new ::message::Parkspace_info;
  3286. }
  3287. // @@protoc_insertion_point(field_mutable:message.Parkspace_release_response_msg.release_space_info)
  3288. return release_space_info_;
  3289. }
  3290. inline void Parkspace_release_response_msg::set_allocated_release_space_info(::message::Parkspace_info* release_space_info) {
  3291. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  3292. if (message_arena == NULL) {
  3293. delete release_space_info_;
  3294. }
  3295. if (release_space_info) {
  3296. ::google::protobuf::Arena* submessage_arena = NULL;
  3297. if (message_arena != submessage_arena) {
  3298. release_space_info = ::google::protobuf::internal::GetOwnedMessage(
  3299. message_arena, release_space_info, submessage_arena);
  3300. }
  3301. set_has_release_space_info();
  3302. } else {
  3303. clear_has_release_space_info();
  3304. }
  3305. release_space_info_ = release_space_info;
  3306. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_release_response_msg.release_space_info)
  3307. }
  3308. // -------------------------------------------------------------------
  3309. // Parkspace_force_update_request_msg
  3310. // required .message.Base_info base_info = 1;
  3311. inline bool Parkspace_force_update_request_msg::has_base_info() const {
  3312. return (_has_bits_[0] & 0x00000001u) != 0;
  3313. }
  3314. inline void Parkspace_force_update_request_msg::set_has_base_info() {
  3315. _has_bits_[0] |= 0x00000001u;
  3316. }
  3317. inline void Parkspace_force_update_request_msg::clear_has_base_info() {
  3318. _has_bits_[0] &= ~0x00000001u;
  3319. }
  3320. inline const ::message::Base_info& Parkspace_force_update_request_msg::base_info() const {
  3321. const ::message::Base_info* p = base_info_;
  3322. // @@protoc_insertion_point(field_get:message.Parkspace_force_update_request_msg.base_info)
  3323. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  3324. &::message::_Base_info_default_instance_);
  3325. }
  3326. inline ::message::Base_info* Parkspace_force_update_request_msg::release_base_info() {
  3327. // @@protoc_insertion_point(field_release:message.Parkspace_force_update_request_msg.base_info)
  3328. clear_has_base_info();
  3329. ::message::Base_info* temp = base_info_;
  3330. base_info_ = NULL;
  3331. return temp;
  3332. }
  3333. inline ::message::Base_info* Parkspace_force_update_request_msg::mutable_base_info() {
  3334. set_has_base_info();
  3335. if (base_info_ == NULL) {
  3336. base_info_ = new ::message::Base_info;
  3337. }
  3338. // @@protoc_insertion_point(field_mutable:message.Parkspace_force_update_request_msg.base_info)
  3339. return base_info_;
  3340. }
  3341. inline void Parkspace_force_update_request_msg::set_allocated_base_info(::message::Base_info* base_info) {
  3342. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  3343. if (message_arena == NULL) {
  3344. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  3345. }
  3346. if (base_info) {
  3347. ::google::protobuf::Arena* submessage_arena = NULL;
  3348. if (message_arena != submessage_arena) {
  3349. base_info = ::google::protobuf::internal::GetOwnedMessage(
  3350. message_arena, base_info, submessage_arena);
  3351. }
  3352. set_has_base_info();
  3353. } else {
  3354. clear_has_base_info();
  3355. }
  3356. base_info_ = base_info;
  3357. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_force_update_request_msg.base_info)
  3358. }
  3359. // required int32 command_id = 2;
  3360. inline bool Parkspace_force_update_request_msg::has_command_id() const {
  3361. return (_has_bits_[0] & 0x00000004u) != 0;
  3362. }
  3363. inline void Parkspace_force_update_request_msg::set_has_command_id() {
  3364. _has_bits_[0] |= 0x00000004u;
  3365. }
  3366. inline void Parkspace_force_update_request_msg::clear_has_command_id() {
  3367. _has_bits_[0] &= ~0x00000004u;
  3368. }
  3369. inline void Parkspace_force_update_request_msg::clear_command_id() {
  3370. command_id_ = 0;
  3371. clear_has_command_id();
  3372. }
  3373. inline ::google::protobuf::int32 Parkspace_force_update_request_msg::command_id() const {
  3374. // @@protoc_insertion_point(field_get:message.Parkspace_force_update_request_msg.command_id)
  3375. return command_id_;
  3376. }
  3377. inline void Parkspace_force_update_request_msg::set_command_id(::google::protobuf::int32 value) {
  3378. set_has_command_id();
  3379. command_id_ = value;
  3380. // @@protoc_insertion_point(field_set:message.Parkspace_force_update_request_msg.command_id)
  3381. }
  3382. // required .message.Parkspace_info update_space_info = 3;
  3383. inline bool Parkspace_force_update_request_msg::has_update_space_info() const {
  3384. return (_has_bits_[0] & 0x00000002u) != 0;
  3385. }
  3386. inline void Parkspace_force_update_request_msg::set_has_update_space_info() {
  3387. _has_bits_[0] |= 0x00000002u;
  3388. }
  3389. inline void Parkspace_force_update_request_msg::clear_has_update_space_info() {
  3390. _has_bits_[0] &= ~0x00000002u;
  3391. }
  3392. inline void Parkspace_force_update_request_msg::clear_update_space_info() {
  3393. if (update_space_info_ != NULL) update_space_info_->Clear();
  3394. clear_has_update_space_info();
  3395. }
  3396. inline const ::message::Parkspace_info& Parkspace_force_update_request_msg::update_space_info() const {
  3397. const ::message::Parkspace_info* p = update_space_info_;
  3398. // @@protoc_insertion_point(field_get:message.Parkspace_force_update_request_msg.update_space_info)
  3399. return p != NULL ? *p : *reinterpret_cast<const ::message::Parkspace_info*>(
  3400. &::message::_Parkspace_info_default_instance_);
  3401. }
  3402. inline ::message::Parkspace_info* Parkspace_force_update_request_msg::release_update_space_info() {
  3403. // @@protoc_insertion_point(field_release:message.Parkspace_force_update_request_msg.update_space_info)
  3404. clear_has_update_space_info();
  3405. ::message::Parkspace_info* temp = update_space_info_;
  3406. update_space_info_ = NULL;
  3407. return temp;
  3408. }
  3409. inline ::message::Parkspace_info* Parkspace_force_update_request_msg::mutable_update_space_info() {
  3410. set_has_update_space_info();
  3411. if (update_space_info_ == NULL) {
  3412. update_space_info_ = new ::message::Parkspace_info;
  3413. }
  3414. // @@protoc_insertion_point(field_mutable:message.Parkspace_force_update_request_msg.update_space_info)
  3415. return update_space_info_;
  3416. }
  3417. inline void Parkspace_force_update_request_msg::set_allocated_update_space_info(::message::Parkspace_info* update_space_info) {
  3418. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  3419. if (message_arena == NULL) {
  3420. delete update_space_info_;
  3421. }
  3422. if (update_space_info) {
  3423. ::google::protobuf::Arena* submessage_arena = NULL;
  3424. if (message_arena != submessage_arena) {
  3425. update_space_info = ::google::protobuf::internal::GetOwnedMessage(
  3426. message_arena, update_space_info, submessage_arena);
  3427. }
  3428. set_has_update_space_info();
  3429. } else {
  3430. clear_has_update_space_info();
  3431. }
  3432. update_space_info_ = update_space_info;
  3433. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_force_update_request_msg.update_space_info)
  3434. }
  3435. // -------------------------------------------------------------------
  3436. // Parkspace_force_update_response_msg
  3437. // required .message.Base_info base_info = 1;
  3438. inline bool Parkspace_force_update_response_msg::has_base_info() const {
  3439. return (_has_bits_[0] & 0x00000001u) != 0;
  3440. }
  3441. inline void Parkspace_force_update_response_msg::set_has_base_info() {
  3442. _has_bits_[0] |= 0x00000001u;
  3443. }
  3444. inline void Parkspace_force_update_response_msg::clear_has_base_info() {
  3445. _has_bits_[0] &= ~0x00000001u;
  3446. }
  3447. inline const ::message::Base_info& Parkspace_force_update_response_msg::base_info() const {
  3448. const ::message::Base_info* p = base_info_;
  3449. // @@protoc_insertion_point(field_get:message.Parkspace_force_update_response_msg.base_info)
  3450. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  3451. &::message::_Base_info_default_instance_);
  3452. }
  3453. inline ::message::Base_info* Parkspace_force_update_response_msg::release_base_info() {
  3454. // @@protoc_insertion_point(field_release:message.Parkspace_force_update_response_msg.base_info)
  3455. clear_has_base_info();
  3456. ::message::Base_info* temp = base_info_;
  3457. base_info_ = NULL;
  3458. return temp;
  3459. }
  3460. inline ::message::Base_info* Parkspace_force_update_response_msg::mutable_base_info() {
  3461. set_has_base_info();
  3462. if (base_info_ == NULL) {
  3463. base_info_ = new ::message::Base_info;
  3464. }
  3465. // @@protoc_insertion_point(field_mutable:message.Parkspace_force_update_response_msg.base_info)
  3466. return base_info_;
  3467. }
  3468. inline void Parkspace_force_update_response_msg::set_allocated_base_info(::message::Base_info* base_info) {
  3469. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  3470. if (message_arena == NULL) {
  3471. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  3472. }
  3473. if (base_info) {
  3474. ::google::protobuf::Arena* submessage_arena = NULL;
  3475. if (message_arena != submessage_arena) {
  3476. base_info = ::google::protobuf::internal::GetOwnedMessage(
  3477. message_arena, base_info, submessage_arena);
  3478. }
  3479. set_has_base_info();
  3480. } else {
  3481. clear_has_base_info();
  3482. }
  3483. base_info_ = base_info;
  3484. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_force_update_response_msg.base_info)
  3485. }
  3486. // required int32 command_id = 2;
  3487. inline bool Parkspace_force_update_response_msg::has_command_id() const {
  3488. return (_has_bits_[0] & 0x00000008u) != 0;
  3489. }
  3490. inline void Parkspace_force_update_response_msg::set_has_command_id() {
  3491. _has_bits_[0] |= 0x00000008u;
  3492. }
  3493. inline void Parkspace_force_update_response_msg::clear_has_command_id() {
  3494. _has_bits_[0] &= ~0x00000008u;
  3495. }
  3496. inline void Parkspace_force_update_response_msg::clear_command_id() {
  3497. command_id_ = 0;
  3498. clear_has_command_id();
  3499. }
  3500. inline ::google::protobuf::int32 Parkspace_force_update_response_msg::command_id() const {
  3501. // @@protoc_insertion_point(field_get:message.Parkspace_force_update_response_msg.command_id)
  3502. return command_id_;
  3503. }
  3504. inline void Parkspace_force_update_response_msg::set_command_id(::google::protobuf::int32 value) {
  3505. set_has_command_id();
  3506. command_id_ = value;
  3507. // @@protoc_insertion_point(field_set:message.Parkspace_force_update_response_msg.command_id)
  3508. }
  3509. // required .message.Error_manager error_manager = 3;
  3510. inline bool Parkspace_force_update_response_msg::has_error_manager() const {
  3511. return (_has_bits_[0] & 0x00000002u) != 0;
  3512. }
  3513. inline void Parkspace_force_update_response_msg::set_has_error_manager() {
  3514. _has_bits_[0] |= 0x00000002u;
  3515. }
  3516. inline void Parkspace_force_update_response_msg::clear_has_error_manager() {
  3517. _has_bits_[0] &= ~0x00000002u;
  3518. }
  3519. inline const ::message::Error_manager& Parkspace_force_update_response_msg::error_manager() const {
  3520. const ::message::Error_manager* p = error_manager_;
  3521. // @@protoc_insertion_point(field_get:message.Parkspace_force_update_response_msg.error_manager)
  3522. return p != NULL ? *p : *reinterpret_cast<const ::message::Error_manager*>(
  3523. &::message::_Error_manager_default_instance_);
  3524. }
  3525. inline ::message::Error_manager* Parkspace_force_update_response_msg::release_error_manager() {
  3526. // @@protoc_insertion_point(field_release:message.Parkspace_force_update_response_msg.error_manager)
  3527. clear_has_error_manager();
  3528. ::message::Error_manager* temp = error_manager_;
  3529. error_manager_ = NULL;
  3530. return temp;
  3531. }
  3532. inline ::message::Error_manager* Parkspace_force_update_response_msg::mutable_error_manager() {
  3533. set_has_error_manager();
  3534. if (error_manager_ == NULL) {
  3535. error_manager_ = new ::message::Error_manager;
  3536. }
  3537. // @@protoc_insertion_point(field_mutable:message.Parkspace_force_update_response_msg.error_manager)
  3538. return error_manager_;
  3539. }
  3540. inline void Parkspace_force_update_response_msg::set_allocated_error_manager(::message::Error_manager* error_manager) {
  3541. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  3542. if (message_arena == NULL) {
  3543. delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_manager_);
  3544. }
  3545. if (error_manager) {
  3546. ::google::protobuf::Arena* submessage_arena = NULL;
  3547. if (message_arena != submessage_arena) {
  3548. error_manager = ::google::protobuf::internal::GetOwnedMessage(
  3549. message_arena, error_manager, submessage_arena);
  3550. }
  3551. set_has_error_manager();
  3552. } else {
  3553. clear_has_error_manager();
  3554. }
  3555. error_manager_ = error_manager;
  3556. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_force_update_response_msg.error_manager)
  3557. }
  3558. // required .message.Parkspace_info update_space_info = 4;
  3559. inline bool Parkspace_force_update_response_msg::has_update_space_info() const {
  3560. return (_has_bits_[0] & 0x00000004u) != 0;
  3561. }
  3562. inline void Parkspace_force_update_response_msg::set_has_update_space_info() {
  3563. _has_bits_[0] |= 0x00000004u;
  3564. }
  3565. inline void Parkspace_force_update_response_msg::clear_has_update_space_info() {
  3566. _has_bits_[0] &= ~0x00000004u;
  3567. }
  3568. inline void Parkspace_force_update_response_msg::clear_update_space_info() {
  3569. if (update_space_info_ != NULL) update_space_info_->Clear();
  3570. clear_has_update_space_info();
  3571. }
  3572. inline const ::message::Parkspace_info& Parkspace_force_update_response_msg::update_space_info() const {
  3573. const ::message::Parkspace_info* p = update_space_info_;
  3574. // @@protoc_insertion_point(field_get:message.Parkspace_force_update_response_msg.update_space_info)
  3575. return p != NULL ? *p : *reinterpret_cast<const ::message::Parkspace_info*>(
  3576. &::message::_Parkspace_info_default_instance_);
  3577. }
  3578. inline ::message::Parkspace_info* Parkspace_force_update_response_msg::release_update_space_info() {
  3579. // @@protoc_insertion_point(field_release:message.Parkspace_force_update_response_msg.update_space_info)
  3580. clear_has_update_space_info();
  3581. ::message::Parkspace_info* temp = update_space_info_;
  3582. update_space_info_ = NULL;
  3583. return temp;
  3584. }
  3585. inline ::message::Parkspace_info* Parkspace_force_update_response_msg::mutable_update_space_info() {
  3586. set_has_update_space_info();
  3587. if (update_space_info_ == NULL) {
  3588. update_space_info_ = new ::message::Parkspace_info;
  3589. }
  3590. // @@protoc_insertion_point(field_mutable:message.Parkspace_force_update_response_msg.update_space_info)
  3591. return update_space_info_;
  3592. }
  3593. inline void Parkspace_force_update_response_msg::set_allocated_update_space_info(::message::Parkspace_info* update_space_info) {
  3594. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  3595. if (message_arena == NULL) {
  3596. delete update_space_info_;
  3597. }
  3598. if (update_space_info) {
  3599. ::google::protobuf::Arena* submessage_arena = NULL;
  3600. if (message_arena != submessage_arena) {
  3601. update_space_info = ::google::protobuf::internal::GetOwnedMessage(
  3602. message_arena, update_space_info, submessage_arena);
  3603. }
  3604. set_has_update_space_info();
  3605. } else {
  3606. clear_has_update_space_info();
  3607. }
  3608. update_space_info_ = update_space_info;
  3609. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_force_update_response_msg.update_space_info)
  3610. }
  3611. // -------------------------------------------------------------------
  3612. // Parkspace_confirm_alloc_request_msg
  3613. // required .message.Base_info base_info = 1;
  3614. inline bool Parkspace_confirm_alloc_request_msg::has_base_info() const {
  3615. return (_has_bits_[0] & 0x00000001u) != 0;
  3616. }
  3617. inline void Parkspace_confirm_alloc_request_msg::set_has_base_info() {
  3618. _has_bits_[0] |= 0x00000001u;
  3619. }
  3620. inline void Parkspace_confirm_alloc_request_msg::clear_has_base_info() {
  3621. _has_bits_[0] &= ~0x00000001u;
  3622. }
  3623. inline const ::message::Base_info& Parkspace_confirm_alloc_request_msg::base_info() const {
  3624. const ::message::Base_info* p = base_info_;
  3625. // @@protoc_insertion_point(field_get:message.Parkspace_confirm_alloc_request_msg.base_info)
  3626. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  3627. &::message::_Base_info_default_instance_);
  3628. }
  3629. inline ::message::Base_info* Parkspace_confirm_alloc_request_msg::release_base_info() {
  3630. // @@protoc_insertion_point(field_release:message.Parkspace_confirm_alloc_request_msg.base_info)
  3631. clear_has_base_info();
  3632. ::message::Base_info* temp = base_info_;
  3633. base_info_ = NULL;
  3634. return temp;
  3635. }
  3636. inline ::message::Base_info* Parkspace_confirm_alloc_request_msg::mutable_base_info() {
  3637. set_has_base_info();
  3638. if (base_info_ == NULL) {
  3639. base_info_ = new ::message::Base_info;
  3640. }
  3641. // @@protoc_insertion_point(field_mutable:message.Parkspace_confirm_alloc_request_msg.base_info)
  3642. return base_info_;
  3643. }
  3644. inline void Parkspace_confirm_alloc_request_msg::set_allocated_base_info(::message::Base_info* base_info) {
  3645. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  3646. if (message_arena == NULL) {
  3647. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  3648. }
  3649. if (base_info) {
  3650. ::google::protobuf::Arena* submessage_arena = NULL;
  3651. if (message_arena != submessage_arena) {
  3652. base_info = ::google::protobuf::internal::GetOwnedMessage(
  3653. message_arena, base_info, submessage_arena);
  3654. }
  3655. set_has_base_info();
  3656. } else {
  3657. clear_has_base_info();
  3658. }
  3659. base_info_ = base_info;
  3660. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_confirm_alloc_request_msg.base_info)
  3661. }
  3662. // required int32 command_id = 2;
  3663. inline bool Parkspace_confirm_alloc_request_msg::has_command_id() const {
  3664. return (_has_bits_[0] & 0x00000004u) != 0;
  3665. }
  3666. inline void Parkspace_confirm_alloc_request_msg::set_has_command_id() {
  3667. _has_bits_[0] |= 0x00000004u;
  3668. }
  3669. inline void Parkspace_confirm_alloc_request_msg::clear_has_command_id() {
  3670. _has_bits_[0] &= ~0x00000004u;
  3671. }
  3672. inline void Parkspace_confirm_alloc_request_msg::clear_command_id() {
  3673. command_id_ = 0;
  3674. clear_has_command_id();
  3675. }
  3676. inline ::google::protobuf::int32 Parkspace_confirm_alloc_request_msg::command_id() const {
  3677. // @@protoc_insertion_point(field_get:message.Parkspace_confirm_alloc_request_msg.command_id)
  3678. return command_id_;
  3679. }
  3680. inline void Parkspace_confirm_alloc_request_msg::set_command_id(::google::protobuf::int32 value) {
  3681. set_has_command_id();
  3682. command_id_ = value;
  3683. // @@protoc_insertion_point(field_set:message.Parkspace_confirm_alloc_request_msg.command_id)
  3684. }
  3685. // required .message.Parkspace_info confirm_space_info = 3;
  3686. inline bool Parkspace_confirm_alloc_request_msg::has_confirm_space_info() const {
  3687. return (_has_bits_[0] & 0x00000002u) != 0;
  3688. }
  3689. inline void Parkspace_confirm_alloc_request_msg::set_has_confirm_space_info() {
  3690. _has_bits_[0] |= 0x00000002u;
  3691. }
  3692. inline void Parkspace_confirm_alloc_request_msg::clear_has_confirm_space_info() {
  3693. _has_bits_[0] &= ~0x00000002u;
  3694. }
  3695. inline void Parkspace_confirm_alloc_request_msg::clear_confirm_space_info() {
  3696. if (confirm_space_info_ != NULL) confirm_space_info_->Clear();
  3697. clear_has_confirm_space_info();
  3698. }
  3699. inline const ::message::Parkspace_info& Parkspace_confirm_alloc_request_msg::confirm_space_info() const {
  3700. const ::message::Parkspace_info* p = confirm_space_info_;
  3701. // @@protoc_insertion_point(field_get:message.Parkspace_confirm_alloc_request_msg.confirm_space_info)
  3702. return p != NULL ? *p : *reinterpret_cast<const ::message::Parkspace_info*>(
  3703. &::message::_Parkspace_info_default_instance_);
  3704. }
  3705. inline ::message::Parkspace_info* Parkspace_confirm_alloc_request_msg::release_confirm_space_info() {
  3706. // @@protoc_insertion_point(field_release:message.Parkspace_confirm_alloc_request_msg.confirm_space_info)
  3707. clear_has_confirm_space_info();
  3708. ::message::Parkspace_info* temp = confirm_space_info_;
  3709. confirm_space_info_ = NULL;
  3710. return temp;
  3711. }
  3712. inline ::message::Parkspace_info* Parkspace_confirm_alloc_request_msg::mutable_confirm_space_info() {
  3713. set_has_confirm_space_info();
  3714. if (confirm_space_info_ == NULL) {
  3715. confirm_space_info_ = new ::message::Parkspace_info;
  3716. }
  3717. // @@protoc_insertion_point(field_mutable:message.Parkspace_confirm_alloc_request_msg.confirm_space_info)
  3718. return confirm_space_info_;
  3719. }
  3720. inline void Parkspace_confirm_alloc_request_msg::set_allocated_confirm_space_info(::message::Parkspace_info* confirm_space_info) {
  3721. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  3722. if (message_arena == NULL) {
  3723. delete confirm_space_info_;
  3724. }
  3725. if (confirm_space_info) {
  3726. ::google::protobuf::Arena* submessage_arena = NULL;
  3727. if (message_arena != submessage_arena) {
  3728. confirm_space_info = ::google::protobuf::internal::GetOwnedMessage(
  3729. message_arena, confirm_space_info, submessage_arena);
  3730. }
  3731. set_has_confirm_space_info();
  3732. } else {
  3733. clear_has_confirm_space_info();
  3734. }
  3735. confirm_space_info_ = confirm_space_info;
  3736. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_confirm_alloc_request_msg.confirm_space_info)
  3737. }
  3738. // -------------------------------------------------------------------
  3739. // Parkspace_confirm_alloc_response_msg
  3740. // required .message.Base_info base_info = 1;
  3741. inline bool Parkspace_confirm_alloc_response_msg::has_base_info() const {
  3742. return (_has_bits_[0] & 0x00000001u) != 0;
  3743. }
  3744. inline void Parkspace_confirm_alloc_response_msg::set_has_base_info() {
  3745. _has_bits_[0] |= 0x00000001u;
  3746. }
  3747. inline void Parkspace_confirm_alloc_response_msg::clear_has_base_info() {
  3748. _has_bits_[0] &= ~0x00000001u;
  3749. }
  3750. inline const ::message::Base_info& Parkspace_confirm_alloc_response_msg::base_info() const {
  3751. const ::message::Base_info* p = base_info_;
  3752. // @@protoc_insertion_point(field_get:message.Parkspace_confirm_alloc_response_msg.base_info)
  3753. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  3754. &::message::_Base_info_default_instance_);
  3755. }
  3756. inline ::message::Base_info* Parkspace_confirm_alloc_response_msg::release_base_info() {
  3757. // @@protoc_insertion_point(field_release:message.Parkspace_confirm_alloc_response_msg.base_info)
  3758. clear_has_base_info();
  3759. ::message::Base_info* temp = base_info_;
  3760. base_info_ = NULL;
  3761. return temp;
  3762. }
  3763. inline ::message::Base_info* Parkspace_confirm_alloc_response_msg::mutable_base_info() {
  3764. set_has_base_info();
  3765. if (base_info_ == NULL) {
  3766. base_info_ = new ::message::Base_info;
  3767. }
  3768. // @@protoc_insertion_point(field_mutable:message.Parkspace_confirm_alloc_response_msg.base_info)
  3769. return base_info_;
  3770. }
  3771. inline void Parkspace_confirm_alloc_response_msg::set_allocated_base_info(::message::Base_info* base_info) {
  3772. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  3773. if (message_arena == NULL) {
  3774. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  3775. }
  3776. if (base_info) {
  3777. ::google::protobuf::Arena* submessage_arena = NULL;
  3778. if (message_arena != submessage_arena) {
  3779. base_info = ::google::protobuf::internal::GetOwnedMessage(
  3780. message_arena, base_info, submessage_arena);
  3781. }
  3782. set_has_base_info();
  3783. } else {
  3784. clear_has_base_info();
  3785. }
  3786. base_info_ = base_info;
  3787. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_confirm_alloc_response_msg.base_info)
  3788. }
  3789. // required int32 command_id = 2;
  3790. inline bool Parkspace_confirm_alloc_response_msg::has_command_id() const {
  3791. return (_has_bits_[0] & 0x00000008u) != 0;
  3792. }
  3793. inline void Parkspace_confirm_alloc_response_msg::set_has_command_id() {
  3794. _has_bits_[0] |= 0x00000008u;
  3795. }
  3796. inline void Parkspace_confirm_alloc_response_msg::clear_has_command_id() {
  3797. _has_bits_[0] &= ~0x00000008u;
  3798. }
  3799. inline void Parkspace_confirm_alloc_response_msg::clear_command_id() {
  3800. command_id_ = 0;
  3801. clear_has_command_id();
  3802. }
  3803. inline ::google::protobuf::int32 Parkspace_confirm_alloc_response_msg::command_id() const {
  3804. // @@protoc_insertion_point(field_get:message.Parkspace_confirm_alloc_response_msg.command_id)
  3805. return command_id_;
  3806. }
  3807. inline void Parkspace_confirm_alloc_response_msg::set_command_id(::google::protobuf::int32 value) {
  3808. set_has_command_id();
  3809. command_id_ = value;
  3810. // @@protoc_insertion_point(field_set:message.Parkspace_confirm_alloc_response_msg.command_id)
  3811. }
  3812. // required .message.Error_manager error_manager = 3;
  3813. inline bool Parkspace_confirm_alloc_response_msg::has_error_manager() const {
  3814. return (_has_bits_[0] & 0x00000002u) != 0;
  3815. }
  3816. inline void Parkspace_confirm_alloc_response_msg::set_has_error_manager() {
  3817. _has_bits_[0] |= 0x00000002u;
  3818. }
  3819. inline void Parkspace_confirm_alloc_response_msg::clear_has_error_manager() {
  3820. _has_bits_[0] &= ~0x00000002u;
  3821. }
  3822. inline const ::message::Error_manager& Parkspace_confirm_alloc_response_msg::error_manager() const {
  3823. const ::message::Error_manager* p = error_manager_;
  3824. // @@protoc_insertion_point(field_get:message.Parkspace_confirm_alloc_response_msg.error_manager)
  3825. return p != NULL ? *p : *reinterpret_cast<const ::message::Error_manager*>(
  3826. &::message::_Error_manager_default_instance_);
  3827. }
  3828. inline ::message::Error_manager* Parkspace_confirm_alloc_response_msg::release_error_manager() {
  3829. // @@protoc_insertion_point(field_release:message.Parkspace_confirm_alloc_response_msg.error_manager)
  3830. clear_has_error_manager();
  3831. ::message::Error_manager* temp = error_manager_;
  3832. error_manager_ = NULL;
  3833. return temp;
  3834. }
  3835. inline ::message::Error_manager* Parkspace_confirm_alloc_response_msg::mutable_error_manager() {
  3836. set_has_error_manager();
  3837. if (error_manager_ == NULL) {
  3838. error_manager_ = new ::message::Error_manager;
  3839. }
  3840. // @@protoc_insertion_point(field_mutable:message.Parkspace_confirm_alloc_response_msg.error_manager)
  3841. return error_manager_;
  3842. }
  3843. inline void Parkspace_confirm_alloc_response_msg::set_allocated_error_manager(::message::Error_manager* error_manager) {
  3844. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  3845. if (message_arena == NULL) {
  3846. delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_manager_);
  3847. }
  3848. if (error_manager) {
  3849. ::google::protobuf::Arena* submessage_arena = NULL;
  3850. if (message_arena != submessage_arena) {
  3851. error_manager = ::google::protobuf::internal::GetOwnedMessage(
  3852. message_arena, error_manager, submessage_arena);
  3853. }
  3854. set_has_error_manager();
  3855. } else {
  3856. clear_has_error_manager();
  3857. }
  3858. error_manager_ = error_manager;
  3859. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_confirm_alloc_response_msg.error_manager)
  3860. }
  3861. // required .message.Parkspace_info confirm_alloc_space_info = 4;
  3862. inline bool Parkspace_confirm_alloc_response_msg::has_confirm_alloc_space_info() const {
  3863. return (_has_bits_[0] & 0x00000004u) != 0;
  3864. }
  3865. inline void Parkspace_confirm_alloc_response_msg::set_has_confirm_alloc_space_info() {
  3866. _has_bits_[0] |= 0x00000004u;
  3867. }
  3868. inline void Parkspace_confirm_alloc_response_msg::clear_has_confirm_alloc_space_info() {
  3869. _has_bits_[0] &= ~0x00000004u;
  3870. }
  3871. inline void Parkspace_confirm_alloc_response_msg::clear_confirm_alloc_space_info() {
  3872. if (confirm_alloc_space_info_ != NULL) confirm_alloc_space_info_->Clear();
  3873. clear_has_confirm_alloc_space_info();
  3874. }
  3875. inline const ::message::Parkspace_info& Parkspace_confirm_alloc_response_msg::confirm_alloc_space_info() const {
  3876. const ::message::Parkspace_info* p = confirm_alloc_space_info_;
  3877. // @@protoc_insertion_point(field_get:message.Parkspace_confirm_alloc_response_msg.confirm_alloc_space_info)
  3878. return p != NULL ? *p : *reinterpret_cast<const ::message::Parkspace_info*>(
  3879. &::message::_Parkspace_info_default_instance_);
  3880. }
  3881. inline ::message::Parkspace_info* Parkspace_confirm_alloc_response_msg::release_confirm_alloc_space_info() {
  3882. // @@protoc_insertion_point(field_release:message.Parkspace_confirm_alloc_response_msg.confirm_alloc_space_info)
  3883. clear_has_confirm_alloc_space_info();
  3884. ::message::Parkspace_info* temp = confirm_alloc_space_info_;
  3885. confirm_alloc_space_info_ = NULL;
  3886. return temp;
  3887. }
  3888. inline ::message::Parkspace_info* Parkspace_confirm_alloc_response_msg::mutable_confirm_alloc_space_info() {
  3889. set_has_confirm_alloc_space_info();
  3890. if (confirm_alloc_space_info_ == NULL) {
  3891. confirm_alloc_space_info_ = new ::message::Parkspace_info;
  3892. }
  3893. // @@protoc_insertion_point(field_mutable:message.Parkspace_confirm_alloc_response_msg.confirm_alloc_space_info)
  3894. return confirm_alloc_space_info_;
  3895. }
  3896. inline void Parkspace_confirm_alloc_response_msg::set_allocated_confirm_alloc_space_info(::message::Parkspace_info* confirm_alloc_space_info) {
  3897. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  3898. if (message_arena == NULL) {
  3899. delete confirm_alloc_space_info_;
  3900. }
  3901. if (confirm_alloc_space_info) {
  3902. ::google::protobuf::Arena* submessage_arena = NULL;
  3903. if (message_arena != submessage_arena) {
  3904. confirm_alloc_space_info = ::google::protobuf::internal::GetOwnedMessage(
  3905. message_arena, confirm_alloc_space_info, submessage_arena);
  3906. }
  3907. set_has_confirm_alloc_space_info();
  3908. } else {
  3909. clear_has_confirm_alloc_space_info();
  3910. }
  3911. confirm_alloc_space_info_ = confirm_alloc_space_info;
  3912. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_confirm_alloc_response_msg.confirm_alloc_space_info)
  3913. }
  3914. // -------------------------------------------------------------------
  3915. // Parkspace_allocation_status_msg
  3916. // required .message.Base_info base_info = 1;
  3917. inline bool Parkspace_allocation_status_msg::has_base_info() const {
  3918. return (_has_bits_[0] & 0x00000001u) != 0;
  3919. }
  3920. inline void Parkspace_allocation_status_msg::set_has_base_info() {
  3921. _has_bits_[0] |= 0x00000001u;
  3922. }
  3923. inline void Parkspace_allocation_status_msg::clear_has_base_info() {
  3924. _has_bits_[0] &= ~0x00000001u;
  3925. }
  3926. inline const ::message::Base_info& Parkspace_allocation_status_msg::base_info() const {
  3927. const ::message::Base_info* p = base_info_;
  3928. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_status_msg.base_info)
  3929. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  3930. &::message::_Base_info_default_instance_);
  3931. }
  3932. inline ::message::Base_info* Parkspace_allocation_status_msg::release_base_info() {
  3933. // @@protoc_insertion_point(field_release:message.Parkspace_allocation_status_msg.base_info)
  3934. clear_has_base_info();
  3935. ::message::Base_info* temp = base_info_;
  3936. base_info_ = NULL;
  3937. return temp;
  3938. }
  3939. inline ::message::Base_info* Parkspace_allocation_status_msg::mutable_base_info() {
  3940. set_has_base_info();
  3941. if (base_info_ == NULL) {
  3942. base_info_ = new ::message::Base_info;
  3943. }
  3944. // @@protoc_insertion_point(field_mutable:message.Parkspace_allocation_status_msg.base_info)
  3945. return base_info_;
  3946. }
  3947. inline void Parkspace_allocation_status_msg::set_allocated_base_info(::message::Base_info* base_info) {
  3948. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  3949. if (message_arena == NULL) {
  3950. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  3951. }
  3952. if (base_info) {
  3953. ::google::protobuf::Arena* submessage_arena = NULL;
  3954. if (message_arena != submessage_arena) {
  3955. base_info = ::google::protobuf::internal::GetOwnedMessage(
  3956. message_arena, base_info, submessage_arena);
  3957. }
  3958. set_has_base_info();
  3959. } else {
  3960. clear_has_base_info();
  3961. }
  3962. base_info_ = base_info;
  3963. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_allocation_status_msg.base_info)
  3964. }
  3965. // required .message.Error_manager error_manager = 2;
  3966. inline bool Parkspace_allocation_status_msg::has_error_manager() const {
  3967. return (_has_bits_[0] & 0x00000002u) != 0;
  3968. }
  3969. inline void Parkspace_allocation_status_msg::set_has_error_manager() {
  3970. _has_bits_[0] |= 0x00000002u;
  3971. }
  3972. inline void Parkspace_allocation_status_msg::clear_has_error_manager() {
  3973. _has_bits_[0] &= ~0x00000002u;
  3974. }
  3975. inline const ::message::Error_manager& Parkspace_allocation_status_msg::error_manager() const {
  3976. const ::message::Error_manager* p = error_manager_;
  3977. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_status_msg.error_manager)
  3978. return p != NULL ? *p : *reinterpret_cast<const ::message::Error_manager*>(
  3979. &::message::_Error_manager_default_instance_);
  3980. }
  3981. inline ::message::Error_manager* Parkspace_allocation_status_msg::release_error_manager() {
  3982. // @@protoc_insertion_point(field_release:message.Parkspace_allocation_status_msg.error_manager)
  3983. clear_has_error_manager();
  3984. ::message::Error_manager* temp = error_manager_;
  3985. error_manager_ = NULL;
  3986. return temp;
  3987. }
  3988. inline ::message::Error_manager* Parkspace_allocation_status_msg::mutable_error_manager() {
  3989. set_has_error_manager();
  3990. if (error_manager_ == NULL) {
  3991. error_manager_ = new ::message::Error_manager;
  3992. }
  3993. // @@protoc_insertion_point(field_mutable:message.Parkspace_allocation_status_msg.error_manager)
  3994. return error_manager_;
  3995. }
  3996. inline void Parkspace_allocation_status_msg::set_allocated_error_manager(::message::Error_manager* error_manager) {
  3997. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  3998. if (message_arena == NULL) {
  3999. delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_manager_);
  4000. }
  4001. if (error_manager) {
  4002. ::google::protobuf::Arena* submessage_arena = NULL;
  4003. if (message_arena != submessage_arena) {
  4004. error_manager = ::google::protobuf::internal::GetOwnedMessage(
  4005. message_arena, error_manager, submessage_arena);
  4006. }
  4007. set_has_error_manager();
  4008. } else {
  4009. clear_has_error_manager();
  4010. }
  4011. error_manager_ = error_manager;
  4012. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_allocation_status_msg.error_manager)
  4013. }
  4014. // repeated .message.Parkspace_info parkspace_info = 3;
  4015. inline int Parkspace_allocation_status_msg::parkspace_info_size() const {
  4016. return parkspace_info_.size();
  4017. }
  4018. inline void Parkspace_allocation_status_msg::clear_parkspace_info() {
  4019. parkspace_info_.Clear();
  4020. }
  4021. inline const ::message::Parkspace_info& Parkspace_allocation_status_msg::parkspace_info(int index) const {
  4022. // @@protoc_insertion_point(field_get:message.Parkspace_allocation_status_msg.parkspace_info)
  4023. return parkspace_info_.Get(index);
  4024. }
  4025. inline ::message::Parkspace_info* Parkspace_allocation_status_msg::mutable_parkspace_info(int index) {
  4026. // @@protoc_insertion_point(field_mutable:message.Parkspace_allocation_status_msg.parkspace_info)
  4027. return parkspace_info_.Mutable(index);
  4028. }
  4029. inline ::message::Parkspace_info* Parkspace_allocation_status_msg::add_parkspace_info() {
  4030. // @@protoc_insertion_point(field_add:message.Parkspace_allocation_status_msg.parkspace_info)
  4031. return parkspace_info_.Add();
  4032. }
  4033. inline ::google::protobuf::RepeatedPtrField< ::message::Parkspace_info >*
  4034. Parkspace_allocation_status_msg::mutable_parkspace_info() {
  4035. // @@protoc_insertion_point(field_mutable_list:message.Parkspace_allocation_status_msg.parkspace_info)
  4036. return &parkspace_info_;
  4037. }
  4038. inline const ::google::protobuf::RepeatedPtrField< ::message::Parkspace_info >&
  4039. Parkspace_allocation_status_msg::parkspace_info() const {
  4040. // @@protoc_insertion_point(field_list:message.Parkspace_allocation_status_msg.parkspace_info)
  4041. return parkspace_info_;
  4042. }
  4043. #ifdef __GNUC__
  4044. #pragma GCC diagnostic pop
  4045. #endif // __GNUC__
  4046. // -------------------------------------------------------------------
  4047. // -------------------------------------------------------------------
  4048. // -------------------------------------------------------------------
  4049. // -------------------------------------------------------------------
  4050. // -------------------------------------------------------------------
  4051. // -------------------------------------------------------------------
  4052. // -------------------------------------------------------------------
  4053. // -------------------------------------------------------------------
  4054. // -------------------------------------------------------------------
  4055. // -------------------------------------------------------------------
  4056. // -------------------------------------------------------------------
  4057. // -------------------------------------------------------------------
  4058. // @@protoc_insertion_point(namespace_scope)
  4059. } // namespace message
  4060. namespace google {
  4061. namespace protobuf {
  4062. template <> struct is_proto_enum< ::message::Parkspace_status> : ::google::protobuf::internal::true_type {};
  4063. template <>
  4064. inline const EnumDescriptor* GetEnumDescriptor< ::message::Parkspace_status>() {
  4065. return ::message::Parkspace_status_descriptor();
  4066. }
  4067. template <> struct is_proto_enum< ::message::Vehicle_status> : ::google::protobuf::internal::true_type {};
  4068. template <>
  4069. inline const EnumDescriptor* GetEnumDescriptor< ::message::Vehicle_status>() {
  4070. return ::message::Vehicle_status_descriptor();
  4071. }
  4072. template <> struct is_proto_enum< ::message::Direction> : ::google::protobuf::internal::true_type {};
  4073. template <>
  4074. inline const EnumDescriptor* GetEnumDescriptor< ::message::Direction>() {
  4075. return ::message::Direction_descriptor();
  4076. }
  4077. } // namespace protobuf
  4078. } // namespace google
  4079. // @@protoc_insertion_point(global_scope)
  4080. #endif // PROTOBUF_parkspace_5fallocation_5fmessage_2eproto__INCLUDED