parkspace_allocation_message.pb.cc 255 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: parkspace_allocation_message.proto
  3. #include "parkspace_allocation_message.pb.h"
  4. #include <algorithm>
  5. #include <google/protobuf/stubs/common.h>
  6. #include <google/protobuf/stubs/port.h>
  7. #include <google/protobuf/io/coded_stream.h>
  8. #include <google/protobuf/wire_format_lite_inl.h>
  9. #include <google/protobuf/descriptor.h>
  10. #include <google/protobuf/generated_message_reflection.h>
  11. #include <google/protobuf/reflection_ops.h>
  12. #include <google/protobuf/wire_format.h>
  13. // This is a temporary google only hack
  14. #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  15. #include "third_party/protobuf/version.h"
  16. #endif
  17. // @@protoc_insertion_point(includes)
  18. namespace protobuf_message_5fbase_2eproto {
  19. extern PROTOBUF_INTERNAL_EXPORT_protobuf_message_5fbase_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Base_info;
  20. extern PROTOBUF_INTERNAL_EXPORT_protobuf_message_5fbase_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Car_info;
  21. extern PROTOBUF_INTERNAL_EXPORT_protobuf_message_5fbase_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Error_manager;
  22. extern PROTOBUF_INTERNAL_EXPORT_protobuf_message_5fbase_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Id_struct;
  23. extern PROTOBUF_INTERNAL_EXPORT_protobuf_message_5fbase_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Parkspace_info;
  24. } // namespace protobuf_message_5fbase_2eproto
  25. namespace message {
  26. class Parkspace_allocation_request_msgDefaultTypeInternal {
  27. public:
  28. ::google::protobuf::internal::ExplicitlyConstructed<Parkspace_allocation_request_msg>
  29. _instance;
  30. } _Parkspace_allocation_request_msg_default_instance_;
  31. class Parkspace_allocation_response_msgDefaultTypeInternal {
  32. public:
  33. ::google::protobuf::internal::ExplicitlyConstructed<Parkspace_allocation_response_msg>
  34. _instance;
  35. } _Parkspace_allocation_response_msg_default_instance_;
  36. class Parkspace_search_request_msgDefaultTypeInternal {
  37. public:
  38. ::google::protobuf::internal::ExplicitlyConstructed<Parkspace_search_request_msg>
  39. _instance;
  40. } _Parkspace_search_request_msg_default_instance_;
  41. class Parkspace_search_response_msgDefaultTypeInternal {
  42. public:
  43. ::google::protobuf::internal::ExplicitlyConstructed<Parkspace_search_response_msg>
  44. _instance;
  45. } _Parkspace_search_response_msg_default_instance_;
  46. class Parkspace_release_request_msgDefaultTypeInternal {
  47. public:
  48. ::google::protobuf::internal::ExplicitlyConstructed<Parkspace_release_request_msg>
  49. _instance;
  50. } _Parkspace_release_request_msg_default_instance_;
  51. class Parkspace_release_response_msgDefaultTypeInternal {
  52. public:
  53. ::google::protobuf::internal::ExplicitlyConstructed<Parkspace_release_response_msg>
  54. _instance;
  55. } _Parkspace_release_response_msg_default_instance_;
  56. class Parkspace_force_update_request_msgDefaultTypeInternal {
  57. public:
  58. ::google::protobuf::internal::ExplicitlyConstructed<Parkspace_force_update_request_msg>
  59. _instance;
  60. } _Parkspace_force_update_request_msg_default_instance_;
  61. class Parkspace_force_update_response_msgDefaultTypeInternal {
  62. public:
  63. ::google::protobuf::internal::ExplicitlyConstructed<Parkspace_force_update_response_msg>
  64. _instance;
  65. } _Parkspace_force_update_response_msg_default_instance_;
  66. class Parkspace_confirm_alloc_request_msgDefaultTypeInternal {
  67. public:
  68. ::google::protobuf::internal::ExplicitlyConstructed<Parkspace_confirm_alloc_request_msg>
  69. _instance;
  70. } _Parkspace_confirm_alloc_request_msg_default_instance_;
  71. class Parkspace_confirm_alloc_response_msgDefaultTypeInternal {
  72. public:
  73. ::google::protobuf::internal::ExplicitlyConstructed<Parkspace_confirm_alloc_response_msg>
  74. _instance;
  75. } _Parkspace_confirm_alloc_response_msg_default_instance_;
  76. class Parkspace_allocation_status_msgDefaultTypeInternal {
  77. public:
  78. ::google::protobuf::internal::ExplicitlyConstructed<Parkspace_allocation_status_msg>
  79. _instance;
  80. } _Parkspace_allocation_status_msg_default_instance_;
  81. class Parkspace_refresh_request_msgDefaultTypeInternal {
  82. public:
  83. ::google::protobuf::internal::ExplicitlyConstructed<Parkspace_refresh_request_msg>
  84. _instance;
  85. } _Parkspace_refresh_request_msg_default_instance_;
  86. class Parkspace_allocation_data_msgDefaultTypeInternal {
  87. public:
  88. ::google::protobuf::internal::ExplicitlyConstructed<Parkspace_allocation_data_msg>
  89. _instance;
  90. } _Parkspace_allocation_data_msg_default_instance_;
  91. } // namespace message
  92. namespace protobuf_parkspace_5fallocation_5fmessage_2eproto {
  93. static void InitDefaultsParkspace_allocation_request_msg() {
  94. GOOGLE_PROTOBUF_VERIFY_VERSION;
  95. {
  96. void* ptr = &::message::_Parkspace_allocation_request_msg_default_instance_;
  97. new (ptr) ::message::Parkspace_allocation_request_msg();
  98. ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
  99. }
  100. ::message::Parkspace_allocation_request_msg::InitAsDefaultInstance();
  101. }
  102. ::google::protobuf::internal::SCCInfo<3> scc_info_Parkspace_allocation_request_msg =
  103. {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 3, InitDefaultsParkspace_allocation_request_msg}, {
  104. &protobuf_message_5fbase_2eproto::scc_info_Base_info.base,
  105. &protobuf_message_5fbase_2eproto::scc_info_Car_info.base,
  106. &protobuf_message_5fbase_2eproto::scc_info_Id_struct.base,}};
  107. static void InitDefaultsParkspace_allocation_response_msg() {
  108. GOOGLE_PROTOBUF_VERIFY_VERSION;
  109. {
  110. void* ptr = &::message::_Parkspace_allocation_response_msg_default_instance_;
  111. new (ptr) ::message::Parkspace_allocation_response_msg();
  112. ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
  113. }
  114. ::message::Parkspace_allocation_response_msg::InitAsDefaultInstance();
  115. }
  116. ::google::protobuf::internal::SCCInfo<3> scc_info_Parkspace_allocation_response_msg =
  117. {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 3, InitDefaultsParkspace_allocation_response_msg}, {
  118. &protobuf_message_5fbase_2eproto::scc_info_Base_info.base,
  119. &protobuf_message_5fbase_2eproto::scc_info_Error_manager.base,
  120. &protobuf_message_5fbase_2eproto::scc_info_Parkspace_info.base,}};
  121. static void InitDefaultsParkspace_search_request_msg() {
  122. GOOGLE_PROTOBUF_VERIFY_VERSION;
  123. {
  124. void* ptr = &::message::_Parkspace_search_request_msg_default_instance_;
  125. new (ptr) ::message::Parkspace_search_request_msg();
  126. ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
  127. }
  128. ::message::Parkspace_search_request_msg::InitAsDefaultInstance();
  129. }
  130. ::google::protobuf::internal::SCCInfo<2> scc_info_Parkspace_search_request_msg =
  131. {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsParkspace_search_request_msg}, {
  132. &protobuf_message_5fbase_2eproto::scc_info_Base_info.base,
  133. &protobuf_message_5fbase_2eproto::scc_info_Car_info.base,}};
  134. static void InitDefaultsParkspace_search_response_msg() {
  135. GOOGLE_PROTOBUF_VERIFY_VERSION;
  136. {
  137. void* ptr = &::message::_Parkspace_search_response_msg_default_instance_;
  138. new (ptr) ::message::Parkspace_search_response_msg();
  139. ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
  140. }
  141. ::message::Parkspace_search_response_msg::InitAsDefaultInstance();
  142. }
  143. ::google::protobuf::internal::SCCInfo<3> scc_info_Parkspace_search_response_msg =
  144. {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 3, InitDefaultsParkspace_search_response_msg}, {
  145. &protobuf_message_5fbase_2eproto::scc_info_Base_info.base,
  146. &protobuf_message_5fbase_2eproto::scc_info_Error_manager.base,
  147. &protobuf_message_5fbase_2eproto::scc_info_Parkspace_info.base,}};
  148. static void InitDefaultsParkspace_release_request_msg() {
  149. GOOGLE_PROTOBUF_VERIFY_VERSION;
  150. {
  151. void* ptr = &::message::_Parkspace_release_request_msg_default_instance_;
  152. new (ptr) ::message::Parkspace_release_request_msg();
  153. ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
  154. }
  155. ::message::Parkspace_release_request_msg::InitAsDefaultInstance();
  156. }
  157. ::google::protobuf::internal::SCCInfo<2> scc_info_Parkspace_release_request_msg =
  158. {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsParkspace_release_request_msg}, {
  159. &protobuf_message_5fbase_2eproto::scc_info_Base_info.base,
  160. &protobuf_message_5fbase_2eproto::scc_info_Parkspace_info.base,}};
  161. static void InitDefaultsParkspace_release_response_msg() {
  162. GOOGLE_PROTOBUF_VERIFY_VERSION;
  163. {
  164. void* ptr = &::message::_Parkspace_release_response_msg_default_instance_;
  165. new (ptr) ::message::Parkspace_release_response_msg();
  166. ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
  167. }
  168. ::message::Parkspace_release_response_msg::InitAsDefaultInstance();
  169. }
  170. ::google::protobuf::internal::SCCInfo<3> scc_info_Parkspace_release_response_msg =
  171. {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 3, InitDefaultsParkspace_release_response_msg}, {
  172. &protobuf_message_5fbase_2eproto::scc_info_Base_info.base,
  173. &protobuf_message_5fbase_2eproto::scc_info_Error_manager.base,
  174. &protobuf_message_5fbase_2eproto::scc_info_Parkspace_info.base,}};
  175. static void InitDefaultsParkspace_force_update_request_msg() {
  176. GOOGLE_PROTOBUF_VERIFY_VERSION;
  177. {
  178. void* ptr = &::message::_Parkspace_force_update_request_msg_default_instance_;
  179. new (ptr) ::message::Parkspace_force_update_request_msg();
  180. ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
  181. }
  182. ::message::Parkspace_force_update_request_msg::InitAsDefaultInstance();
  183. }
  184. ::google::protobuf::internal::SCCInfo<2> scc_info_Parkspace_force_update_request_msg =
  185. {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsParkspace_force_update_request_msg}, {
  186. &protobuf_message_5fbase_2eproto::scc_info_Base_info.base,
  187. &protobuf_message_5fbase_2eproto::scc_info_Parkspace_info.base,}};
  188. static void InitDefaultsParkspace_force_update_response_msg() {
  189. GOOGLE_PROTOBUF_VERIFY_VERSION;
  190. {
  191. void* ptr = &::message::_Parkspace_force_update_response_msg_default_instance_;
  192. new (ptr) ::message::Parkspace_force_update_response_msg();
  193. ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
  194. }
  195. ::message::Parkspace_force_update_response_msg::InitAsDefaultInstance();
  196. }
  197. ::google::protobuf::internal::SCCInfo<3> scc_info_Parkspace_force_update_response_msg =
  198. {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 3, InitDefaultsParkspace_force_update_response_msg}, {
  199. &protobuf_message_5fbase_2eproto::scc_info_Base_info.base,
  200. &protobuf_message_5fbase_2eproto::scc_info_Error_manager.base,
  201. &protobuf_message_5fbase_2eproto::scc_info_Parkspace_info.base,}};
  202. static void InitDefaultsParkspace_confirm_alloc_request_msg() {
  203. GOOGLE_PROTOBUF_VERIFY_VERSION;
  204. {
  205. void* ptr = &::message::_Parkspace_confirm_alloc_request_msg_default_instance_;
  206. new (ptr) ::message::Parkspace_confirm_alloc_request_msg();
  207. ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
  208. }
  209. ::message::Parkspace_confirm_alloc_request_msg::InitAsDefaultInstance();
  210. }
  211. ::google::protobuf::internal::SCCInfo<2> scc_info_Parkspace_confirm_alloc_request_msg =
  212. {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsParkspace_confirm_alloc_request_msg}, {
  213. &protobuf_message_5fbase_2eproto::scc_info_Base_info.base,
  214. &protobuf_message_5fbase_2eproto::scc_info_Parkspace_info.base,}};
  215. static void InitDefaultsParkspace_confirm_alloc_response_msg() {
  216. GOOGLE_PROTOBUF_VERIFY_VERSION;
  217. {
  218. void* ptr = &::message::_Parkspace_confirm_alloc_response_msg_default_instance_;
  219. new (ptr) ::message::Parkspace_confirm_alloc_response_msg();
  220. ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
  221. }
  222. ::message::Parkspace_confirm_alloc_response_msg::InitAsDefaultInstance();
  223. }
  224. ::google::protobuf::internal::SCCInfo<3> scc_info_Parkspace_confirm_alloc_response_msg =
  225. {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 3, InitDefaultsParkspace_confirm_alloc_response_msg}, {
  226. &protobuf_message_5fbase_2eproto::scc_info_Base_info.base,
  227. &protobuf_message_5fbase_2eproto::scc_info_Error_manager.base,
  228. &protobuf_message_5fbase_2eproto::scc_info_Parkspace_info.base,}};
  229. static void InitDefaultsParkspace_allocation_status_msg() {
  230. GOOGLE_PROTOBUF_VERIFY_VERSION;
  231. {
  232. void* ptr = &::message::_Parkspace_allocation_status_msg_default_instance_;
  233. new (ptr) ::message::Parkspace_allocation_status_msg();
  234. ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
  235. }
  236. ::message::Parkspace_allocation_status_msg::InitAsDefaultInstance();
  237. }
  238. ::google::protobuf::internal::SCCInfo<2> scc_info_Parkspace_allocation_status_msg =
  239. {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsParkspace_allocation_status_msg}, {
  240. &protobuf_message_5fbase_2eproto::scc_info_Base_info.base,
  241. &protobuf_message_5fbase_2eproto::scc_info_Error_manager.base,}};
  242. static void InitDefaultsParkspace_refresh_request_msg() {
  243. GOOGLE_PROTOBUF_VERIFY_VERSION;
  244. {
  245. void* ptr = &::message::_Parkspace_refresh_request_msg_default_instance_;
  246. new (ptr) ::message::Parkspace_refresh_request_msg();
  247. ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
  248. }
  249. ::message::Parkspace_refresh_request_msg::InitAsDefaultInstance();
  250. }
  251. ::google::protobuf::internal::SCCInfo<1> scc_info_Parkspace_refresh_request_msg =
  252. {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsParkspace_refresh_request_msg}, {
  253. &protobuf_message_5fbase_2eproto::scc_info_Base_info.base,}};
  254. static void InitDefaultsParkspace_allocation_data_msg() {
  255. GOOGLE_PROTOBUF_VERIFY_VERSION;
  256. {
  257. void* ptr = &::message::_Parkspace_allocation_data_msg_default_instance_;
  258. new (ptr) ::message::Parkspace_allocation_data_msg();
  259. ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
  260. }
  261. ::message::Parkspace_allocation_data_msg::InitAsDefaultInstance();
  262. }
  263. ::google::protobuf::internal::SCCInfo<3> scc_info_Parkspace_allocation_data_msg =
  264. {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 3, InitDefaultsParkspace_allocation_data_msg}, {
  265. &protobuf_message_5fbase_2eproto::scc_info_Base_info.base,
  266. &protobuf_message_5fbase_2eproto::scc_info_Error_manager.base,
  267. &protobuf_message_5fbase_2eproto::scc_info_Parkspace_info.base,}};
  268. void InitDefaults() {
  269. ::google::protobuf::internal::InitSCC(&scc_info_Parkspace_allocation_request_msg.base);
  270. ::google::protobuf::internal::InitSCC(&scc_info_Parkspace_allocation_response_msg.base);
  271. ::google::protobuf::internal::InitSCC(&scc_info_Parkspace_search_request_msg.base);
  272. ::google::protobuf::internal::InitSCC(&scc_info_Parkspace_search_response_msg.base);
  273. ::google::protobuf::internal::InitSCC(&scc_info_Parkspace_release_request_msg.base);
  274. ::google::protobuf::internal::InitSCC(&scc_info_Parkspace_release_response_msg.base);
  275. ::google::protobuf::internal::InitSCC(&scc_info_Parkspace_force_update_request_msg.base);
  276. ::google::protobuf::internal::InitSCC(&scc_info_Parkspace_force_update_response_msg.base);
  277. ::google::protobuf::internal::InitSCC(&scc_info_Parkspace_confirm_alloc_request_msg.base);
  278. ::google::protobuf::internal::InitSCC(&scc_info_Parkspace_confirm_alloc_response_msg.base);
  279. ::google::protobuf::internal::InitSCC(&scc_info_Parkspace_allocation_status_msg.base);
  280. ::google::protobuf::internal::InitSCC(&scc_info_Parkspace_refresh_request_msg.base);
  281. ::google::protobuf::internal::InitSCC(&scc_info_Parkspace_allocation_data_msg.base);
  282. }
  283. ::google::protobuf::Metadata file_level_metadata[13];
  284. const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors[3];
  285. const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
  286. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_allocation_request_msg, _has_bits_),
  287. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_allocation_request_msg, _internal_metadata_),
  288. ~0u, // no _extensions_
  289. ~0u, // no _oneof_case_
  290. ~0u, // no _weak_field_map_
  291. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_allocation_request_msg, base_info_),
  292. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_allocation_request_msg, command_key_),
  293. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_allocation_request_msg, car_info_),
  294. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_allocation_request_msg, id_struct_),
  295. 1,
  296. 0,
  297. 2,
  298. 3,
  299. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_allocation_response_msg, _has_bits_),
  300. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_allocation_response_msg, _internal_metadata_),
  301. ~0u, // no _extensions_
  302. ~0u, // no _oneof_case_
  303. ~0u, // no _weak_field_map_
  304. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_allocation_response_msg, base_info_),
  305. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_allocation_response_msg, command_key_),
  306. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_allocation_response_msg, error_manager_),
  307. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_allocation_response_msg, allocated_parkspace_info_ex_),
  308. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_allocation_response_msg, car_type_),
  309. 1,
  310. 0,
  311. 2,
  312. ~0u,
  313. 3,
  314. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_search_request_msg, _has_bits_),
  315. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_search_request_msg, _internal_metadata_),
  316. ~0u, // no _extensions_
  317. ~0u, // no _oneof_case_
  318. ~0u, // no _weak_field_map_
  319. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_search_request_msg, base_info_),
  320. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_search_request_msg, command_key_),
  321. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_search_request_msg, car_info_),
  322. 1,
  323. 0,
  324. 2,
  325. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_search_response_msg, _has_bits_),
  326. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_search_response_msg, _internal_metadata_),
  327. ~0u, // no _extensions_
  328. ~0u, // no _oneof_case_
  329. ~0u, // no _weak_field_map_
  330. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_search_response_msg, base_info_),
  331. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_search_response_msg, command_key_),
  332. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_search_response_msg, error_manager_),
  333. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_search_response_msg, query_parkspace_info_ex_),
  334. 1,
  335. 0,
  336. 2,
  337. ~0u,
  338. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_release_request_msg, _has_bits_),
  339. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_release_request_msg, _internal_metadata_),
  340. ~0u, // no _extensions_
  341. ~0u, // no _oneof_case_
  342. ~0u, // no _weak_field_map_
  343. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_release_request_msg, base_info_),
  344. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_release_request_msg, command_key_),
  345. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_release_request_msg, release_parkspace_info_ex_),
  346. 1,
  347. 0,
  348. ~0u,
  349. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_release_response_msg, _has_bits_),
  350. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_release_response_msg, _internal_metadata_),
  351. ~0u, // no _extensions_
  352. ~0u, // no _oneof_case_
  353. ~0u, // no _weak_field_map_
  354. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_release_response_msg, base_info_),
  355. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_release_response_msg, command_key_),
  356. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_release_response_msg, error_manager_),
  357. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_release_response_msg, release_parkspace_info_ex_),
  358. 1,
  359. 0,
  360. 2,
  361. ~0u,
  362. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_force_update_request_msg, _has_bits_),
  363. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_force_update_request_msg, _internal_metadata_),
  364. ~0u, // no _extensions_
  365. ~0u, // no _oneof_case_
  366. ~0u, // no _weak_field_map_
  367. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_force_update_request_msg, base_info_),
  368. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_force_update_request_msg, command_key_),
  369. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_force_update_request_msg, manual_parkspace_info_ex_),
  370. 1,
  371. 0,
  372. ~0u,
  373. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_force_update_response_msg, _has_bits_),
  374. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_force_update_response_msg, _internal_metadata_),
  375. ~0u, // no _extensions_
  376. ~0u, // no _oneof_case_
  377. ~0u, // no _weak_field_map_
  378. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_force_update_response_msg, base_info_),
  379. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_force_update_response_msg, command_key_),
  380. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_force_update_response_msg, error_manager_),
  381. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_force_update_response_msg, manual_parkspace_info_ex_),
  382. 1,
  383. 0,
  384. 2,
  385. ~0u,
  386. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_confirm_alloc_request_msg, _has_bits_),
  387. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_confirm_alloc_request_msg, _internal_metadata_),
  388. ~0u, // no _extensions_
  389. ~0u, // no _oneof_case_
  390. ~0u, // no _weak_field_map_
  391. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_confirm_alloc_request_msg, base_info_),
  392. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_confirm_alloc_request_msg, command_key_),
  393. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_confirm_alloc_request_msg, confirm_parkspace_info_ex_),
  394. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_confirm_alloc_request_msg, car_type_),
  395. 1,
  396. 0,
  397. ~0u,
  398. 2,
  399. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_confirm_alloc_response_msg, _has_bits_),
  400. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_confirm_alloc_response_msg, _internal_metadata_),
  401. ~0u, // no _extensions_
  402. ~0u, // no _oneof_case_
  403. ~0u, // no _weak_field_map_
  404. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_confirm_alloc_response_msg, base_info_),
  405. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_confirm_alloc_response_msg, command_key_),
  406. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_confirm_alloc_response_msg, error_manager_),
  407. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_confirm_alloc_response_msg, confirm_parkspace_info_ex_),
  408. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_confirm_alloc_response_msg, car_type_),
  409. 1,
  410. 0,
  411. 2,
  412. ~0u,
  413. 3,
  414. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_allocation_status_msg, _has_bits_),
  415. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_allocation_status_msg, _internal_metadata_),
  416. ~0u, // no _extensions_
  417. ~0u, // no _oneof_case_
  418. ~0u, // no _weak_field_map_
  419. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_allocation_status_msg, base_info_),
  420. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_allocation_status_msg, error_manager_),
  421. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_allocation_status_msg, database_controller_status_),
  422. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_allocation_status_msg, parkspace_manager_satus_),
  423. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_allocation_status_msg, small_parkspace_remaining_number_),
  424. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_allocation_status_msg, medium_parkspace_remaining_number_),
  425. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_allocation_status_msg, large_parkspace_remaining_number_),
  426. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_allocation_status_msg, total_parkspace_remaining_number_),
  427. 0,
  428. 1,
  429. 2,
  430. 3,
  431. 4,
  432. 5,
  433. 6,
  434. 7,
  435. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_refresh_request_msg, _has_bits_),
  436. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_refresh_request_msg, _internal_metadata_),
  437. ~0u, // no _extensions_
  438. ~0u, // no _oneof_case_
  439. ~0u, // no _weak_field_map_
  440. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_refresh_request_msg, base_info_),
  441. 0,
  442. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_allocation_data_msg, _has_bits_),
  443. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_allocation_data_msg, _internal_metadata_),
  444. ~0u, // no _extensions_
  445. ~0u, // no _oneof_case_
  446. ~0u, // no _weak_field_map_
  447. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_allocation_data_msg, base_info_),
  448. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_allocation_data_msg, error_manager_),
  449. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_allocation_data_msg, parkspace_info_ex_),
  450. 0,
  451. 1,
  452. ~0u,
  453. };
  454. static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
  455. { 0, 9, sizeof(::message::Parkspace_allocation_request_msg)},
  456. { 13, 23, sizeof(::message::Parkspace_allocation_response_msg)},
  457. { 28, 36, sizeof(::message::Parkspace_search_request_msg)},
  458. { 39, 48, sizeof(::message::Parkspace_search_response_msg)},
  459. { 52, 60, sizeof(::message::Parkspace_release_request_msg)},
  460. { 63, 72, sizeof(::message::Parkspace_release_response_msg)},
  461. { 76, 84, sizeof(::message::Parkspace_force_update_request_msg)},
  462. { 87, 96, sizeof(::message::Parkspace_force_update_response_msg)},
  463. { 100, 109, sizeof(::message::Parkspace_confirm_alloc_request_msg)},
  464. { 113, 123, sizeof(::message::Parkspace_confirm_alloc_response_msg)},
  465. { 128, 141, sizeof(::message::Parkspace_allocation_status_msg)},
  466. { 149, 155, sizeof(::message::Parkspace_refresh_request_msg)},
  467. { 156, 164, sizeof(::message::Parkspace_allocation_data_msg)},
  468. };
  469. static ::google::protobuf::Message const * const file_default_instances[] = {
  470. reinterpret_cast<const ::google::protobuf::Message*>(&::message::_Parkspace_allocation_request_msg_default_instance_),
  471. reinterpret_cast<const ::google::protobuf::Message*>(&::message::_Parkspace_allocation_response_msg_default_instance_),
  472. reinterpret_cast<const ::google::protobuf::Message*>(&::message::_Parkspace_search_request_msg_default_instance_),
  473. reinterpret_cast<const ::google::protobuf::Message*>(&::message::_Parkspace_search_response_msg_default_instance_),
  474. reinterpret_cast<const ::google::protobuf::Message*>(&::message::_Parkspace_release_request_msg_default_instance_),
  475. reinterpret_cast<const ::google::protobuf::Message*>(&::message::_Parkspace_release_response_msg_default_instance_),
  476. reinterpret_cast<const ::google::protobuf::Message*>(&::message::_Parkspace_force_update_request_msg_default_instance_),
  477. reinterpret_cast<const ::google::protobuf::Message*>(&::message::_Parkspace_force_update_response_msg_default_instance_),
  478. reinterpret_cast<const ::google::protobuf::Message*>(&::message::_Parkspace_confirm_alloc_request_msg_default_instance_),
  479. reinterpret_cast<const ::google::protobuf::Message*>(&::message::_Parkspace_confirm_alloc_response_msg_default_instance_),
  480. reinterpret_cast<const ::google::protobuf::Message*>(&::message::_Parkspace_allocation_status_msg_default_instance_),
  481. reinterpret_cast<const ::google::protobuf::Message*>(&::message::_Parkspace_refresh_request_msg_default_instance_),
  482. reinterpret_cast<const ::google::protobuf::Message*>(&::message::_Parkspace_allocation_data_msg_default_instance_),
  483. };
  484. void protobuf_AssignDescriptors() {
  485. AddDescriptors();
  486. AssignDescriptors(
  487. "parkspace_allocation_message.proto", schemas, file_default_instances, TableStruct::offsets,
  488. file_level_metadata, file_level_enum_descriptors, NULL);
  489. }
  490. void protobuf_AssignDescriptorsOnce() {
  491. static ::google::protobuf::internal::once_flag once;
  492. ::google::protobuf::internal::call_once(once, protobuf_AssignDescriptors);
  493. }
  494. void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD;
  495. void protobuf_RegisterTypes(const ::std::string&) {
  496. protobuf_AssignDescriptorsOnce();
  497. ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 13);
  498. }
  499. void AddDescriptorsImpl() {
  500. InitDefaults();
  501. static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
  502. "\n\"parkspace_allocation_message.proto\022\007me"
  503. "ssage\032\022message_base.proto\"\252\001\n Parkspace_"
  504. "allocation_request_msg\022%\n\tbase_info\030\001 \002("
  505. "\0132\022.message.Base_info\022\023\n\013command_key\030\002 \002"
  506. "(\t\022#\n\010car_info\030\003 \002(\0132\021.message.Car_info\022"
  507. "%\n\tid_struct\030\004 \002(\0132\022.message.Id_struct\"\361"
  508. "\001\n!Parkspace_allocation_response_msg\022%\n\t"
  509. "base_info\030\001 \002(\0132\022.message.Base_info\022\023\n\013c"
  510. "ommand_key\030\002 \002(\t\022-\n\rerror_manager\030\003 \002(\0132"
  511. "\026.message.Error_manager\022<\n\033allocated_par"
  512. "kspace_info_ex\030\004 \003(\0132\027.message.Parkspace"
  513. "_info\022#\n\010car_type\030\005 \001(\0162\021.message.Car_ty"
  514. "pe\"\177\n\034Parkspace_search_request_msg\022%\n\tba"
  515. "se_info\030\001 \002(\0132\022.message.Base_info\022\023\n\013com"
  516. "mand_key\030\002 \002(\t\022#\n\010car_info\030\003 \002(\0132\021.messa"
  517. "ge.Car_info\"\304\001\n\035Parkspace_search_respons"
  518. "e_msg\022%\n\tbase_info\030\001 \002(\0132\022.message.Base_"
  519. "info\022\023\n\013command_key\030\002 \002(\t\022-\n\rerror_manag"
  520. "er\030\003 \002(\0132\026.message.Error_manager\0228\n\027quer"
  521. "y_parkspace_info_ex\030\004 \003(\0132\027.message.Park"
  522. "space_info\"\227\001\n\035Parkspace_release_request"
  523. "_msg\022%\n\tbase_info\030\001 \002(\0132\022.message.Base_i"
  524. "nfo\022\023\n\013command_key\030\002 \002(\t\022:\n\031release_park"
  525. "space_info_ex\030\003 \003(\0132\027.message.Parkspace_"
  526. "info\"\307\001\n\036Parkspace_release_response_msg\022"
  527. "%\n\tbase_info\030\001 \002(\0132\022.message.Base_info\022\023"
  528. "\n\013command_key\030\002 \002(\t\022-\n\rerror_manager\030\003 \002"
  529. "(\0132\026.message.Error_manager\022:\n\031release_pa"
  530. "rkspace_info_ex\030\004 \003(\0132\027.message.Parkspac"
  531. "e_info\"\233\001\n\"Parkspace_force_update_reques"
  532. "t_msg\022%\n\tbase_info\030\001 \002(\0132\022.message.Base_"
  533. "info\022\023\n\013command_key\030\002 \002(\t\0229\n\030manual_park"
  534. "space_info_ex\030\003 \003(\0132\027.message.Parkspace_"
  535. "info\"\313\001\n#Parkspace_force_update_response"
  536. "_msg\022%\n\tbase_info\030\001 \002(\0132\022.message.Base_i"
  537. "nfo\022\023\n\013command_key\030\002 \002(\t\022-\n\rerror_manage"
  538. "r\030\003 \002(\0132\026.message.Error_manager\0229\n\030manua"
  539. "l_parkspace_info_ex\030\004 \003(\0132\027.message.Park"
  540. "space_info\"\302\001\n#Parkspace_confirm_alloc_r"
  541. "equest_msg\022%\n\tbase_info\030\001 \002(\0132\022.message."
  542. "Base_info\022\023\n\013command_key\030\002 \002(\t\022:\n\031confir"
  543. "m_parkspace_info_ex\030\003 \003(\0132\027.message.Park"
  544. "space_info\022#\n\010car_type\030\004 \001(\0162\021.message.C"
  545. "ar_type\"\362\001\n$Parkspace_confirm_alloc_resp"
  546. "onse_msg\022%\n\tbase_info\030\001 \002(\0132\022.message.Ba"
  547. "se_info\022\023\n\013command_key\030\002 \002(\t\022-\n\rerror_ma"
  548. "nager\030\003 \002(\0132\026.message.Error_manager\022:\n\031c"
  549. "onfirm_parkspace_info_ex\030\004 \003(\0132\027.message"
  550. ".Parkspace_info\022#\n\010car_type\030\005 \001(\0162\021.mess"
  551. "age.Car_type\"\254\003\n\037Parkspace_allocation_st"
  552. "atus_msg\022%\n\tbase_info\030\001 \002(\0132\022.message.Ba"
  553. "se_info\022-\n\rerror_manager\030\002 \002(\0132\026.message"
  554. ".Error_manager\022G\n\032database_controller_st"
  555. "atus\030\003 \002(\0162#.message.Database_controller"
  556. "_status\022A\n\027parkspace_manager_satus\030\004 \002(\016"
  557. "2 .message.Parkspace_manager_satus\022(\n sm"
  558. "all_parkspace_remaining_number\030\005 \002(\005\022)\n!"
  559. "medium_parkspace_remaining_number\030\006 \002(\005\022"
  560. "(\n large_parkspace_remaining_number\030\007 \002("
  561. "\005\022(\n total_parkspace_remaining_number\030\010 "
  562. "\002(\005\"F\n\035Parkspace_refresh_request_msg\022%\n\t"
  563. "base_info\030\001 \002(\0132\022.message.Base_info\"\251\001\n\035"
  564. "Parkspace_allocation_data_msg\022%\n\tbase_in"
  565. "fo\030\001 \002(\0132\022.message.Base_info\022-\n\rerror_ma"
  566. "nager\030\002 \002(\0132\026.message.Error_manager\0222\n\021p"
  567. "arkspace_info_ex\030\003 \003(\0132\027.message.Parkspa"
  568. "ce_info*\225\001\n\016Vehicle_status\022\024\n\020eVehicle_u"
  569. "nknown\020\000\022\021\n\reVehicle_idle\020\001\022\026\n\022eVehicle_"
  570. "in_garage\020\002\022\024\n\020eVehicle_parking\020\003\022\025\n\021eVe"
  571. "hicle_fetching\020\004\022\025\n\021eVehicle_reserved\020\005*"
  572. "W\n\032Database_controller_status\022\r\n\tE_UNKNO"
  573. "WN\020\000\022\013\n\007E_READY\020\001\022\020\n\014E_DISCONNECT\020\002\022\013\n\007E"
  574. "_FAULT\020\003*v\n\027Parkspace_manager_satus\022\036\n\032e"
  575. "Parkspace_manager_unknown\020\000\022\035\n\031eParkspac"
  576. "e_manager_normal\020\001\022\034\n\030eParkspace_manager"
  577. "_fault\020\002"
  578. };
  579. ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
  580. descriptor, 3008);
  581. ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
  582. "parkspace_allocation_message.proto", &protobuf_RegisterTypes);
  583. ::protobuf_message_5fbase_2eproto::AddDescriptors();
  584. }
  585. void AddDescriptors() {
  586. static ::google::protobuf::internal::once_flag once;
  587. ::google::protobuf::internal::call_once(once, AddDescriptorsImpl);
  588. }
  589. // Force AddDescriptors() to be called at dynamic initialization time.
  590. struct StaticDescriptorInitializer {
  591. StaticDescriptorInitializer() {
  592. AddDescriptors();
  593. }
  594. } static_descriptor_initializer;
  595. } // namespace protobuf_parkspace_5fallocation_5fmessage_2eproto
  596. namespace message {
  597. const ::google::protobuf::EnumDescriptor* Vehicle_status_descriptor() {
  598. protobuf_parkspace_5fallocation_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  599. return protobuf_parkspace_5fallocation_5fmessage_2eproto::file_level_enum_descriptors[0];
  600. }
  601. bool Vehicle_status_IsValid(int value) {
  602. switch (value) {
  603. case 0:
  604. case 1:
  605. case 2:
  606. case 3:
  607. case 4:
  608. case 5:
  609. return true;
  610. default:
  611. return false;
  612. }
  613. }
  614. const ::google::protobuf::EnumDescriptor* Database_controller_status_descriptor() {
  615. protobuf_parkspace_5fallocation_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  616. return protobuf_parkspace_5fallocation_5fmessage_2eproto::file_level_enum_descriptors[1];
  617. }
  618. bool Database_controller_status_IsValid(int value) {
  619. switch (value) {
  620. case 0:
  621. case 1:
  622. case 2:
  623. case 3:
  624. return true;
  625. default:
  626. return false;
  627. }
  628. }
  629. const ::google::protobuf::EnumDescriptor* Parkspace_manager_satus_descriptor() {
  630. protobuf_parkspace_5fallocation_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  631. return protobuf_parkspace_5fallocation_5fmessage_2eproto::file_level_enum_descriptors[2];
  632. }
  633. bool Parkspace_manager_satus_IsValid(int value) {
  634. switch (value) {
  635. case 0:
  636. case 1:
  637. case 2:
  638. return true;
  639. default:
  640. return false;
  641. }
  642. }
  643. // ===================================================================
  644. void Parkspace_allocation_request_msg::InitAsDefaultInstance() {
  645. ::message::_Parkspace_allocation_request_msg_default_instance_._instance.get_mutable()->base_info_ = const_cast< ::message::Base_info*>(
  646. ::message::Base_info::internal_default_instance());
  647. ::message::_Parkspace_allocation_request_msg_default_instance_._instance.get_mutable()->car_info_ = const_cast< ::message::Car_info*>(
  648. ::message::Car_info::internal_default_instance());
  649. ::message::_Parkspace_allocation_request_msg_default_instance_._instance.get_mutable()->id_struct_ = const_cast< ::message::Id_struct*>(
  650. ::message::Id_struct::internal_default_instance());
  651. }
  652. void Parkspace_allocation_request_msg::clear_base_info() {
  653. if (base_info_ != NULL) base_info_->Clear();
  654. clear_has_base_info();
  655. }
  656. void Parkspace_allocation_request_msg::clear_car_info() {
  657. if (car_info_ != NULL) car_info_->Clear();
  658. clear_has_car_info();
  659. }
  660. void Parkspace_allocation_request_msg::clear_id_struct() {
  661. if (id_struct_ != NULL) id_struct_->Clear();
  662. clear_has_id_struct();
  663. }
  664. #if !defined(_MSC_VER) || _MSC_VER >= 1900
  665. const int Parkspace_allocation_request_msg::kBaseInfoFieldNumber;
  666. const int Parkspace_allocation_request_msg::kCommandKeyFieldNumber;
  667. const int Parkspace_allocation_request_msg::kCarInfoFieldNumber;
  668. const int Parkspace_allocation_request_msg::kIdStructFieldNumber;
  669. #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
  670. Parkspace_allocation_request_msg::Parkspace_allocation_request_msg()
  671. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  672. ::google::protobuf::internal::InitSCC(
  673. &protobuf_parkspace_5fallocation_5fmessage_2eproto::scc_info_Parkspace_allocation_request_msg.base);
  674. SharedCtor();
  675. // @@protoc_insertion_point(constructor:message.Parkspace_allocation_request_msg)
  676. }
  677. Parkspace_allocation_request_msg::Parkspace_allocation_request_msg(const Parkspace_allocation_request_msg& from)
  678. : ::google::protobuf::Message(),
  679. _internal_metadata_(NULL),
  680. _has_bits_(from._has_bits_) {
  681. _internal_metadata_.MergeFrom(from._internal_metadata_);
  682. command_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  683. if (from.has_command_key()) {
  684. command_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.command_key_);
  685. }
  686. if (from.has_base_info()) {
  687. base_info_ = new ::message::Base_info(*from.base_info_);
  688. } else {
  689. base_info_ = NULL;
  690. }
  691. if (from.has_car_info()) {
  692. car_info_ = new ::message::Car_info(*from.car_info_);
  693. } else {
  694. car_info_ = NULL;
  695. }
  696. if (from.has_id_struct()) {
  697. id_struct_ = new ::message::Id_struct(*from.id_struct_);
  698. } else {
  699. id_struct_ = NULL;
  700. }
  701. // @@protoc_insertion_point(copy_constructor:message.Parkspace_allocation_request_msg)
  702. }
  703. void Parkspace_allocation_request_msg::SharedCtor() {
  704. command_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  705. ::memset(&base_info_, 0, static_cast<size_t>(
  706. reinterpret_cast<char*>(&id_struct_) -
  707. reinterpret_cast<char*>(&base_info_)) + sizeof(id_struct_));
  708. }
  709. Parkspace_allocation_request_msg::~Parkspace_allocation_request_msg() {
  710. // @@protoc_insertion_point(destructor:message.Parkspace_allocation_request_msg)
  711. SharedDtor();
  712. }
  713. void Parkspace_allocation_request_msg::SharedDtor() {
  714. command_key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  715. if (this != internal_default_instance()) delete base_info_;
  716. if (this != internal_default_instance()) delete car_info_;
  717. if (this != internal_default_instance()) delete id_struct_;
  718. }
  719. void Parkspace_allocation_request_msg::SetCachedSize(int size) const {
  720. _cached_size_.Set(size);
  721. }
  722. const ::google::protobuf::Descriptor* Parkspace_allocation_request_msg::descriptor() {
  723. ::protobuf_parkspace_5fallocation_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  724. return ::protobuf_parkspace_5fallocation_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
  725. }
  726. const Parkspace_allocation_request_msg& Parkspace_allocation_request_msg::default_instance() {
  727. ::google::protobuf::internal::InitSCC(&protobuf_parkspace_5fallocation_5fmessage_2eproto::scc_info_Parkspace_allocation_request_msg.base);
  728. return *internal_default_instance();
  729. }
  730. void Parkspace_allocation_request_msg::Clear() {
  731. // @@protoc_insertion_point(message_clear_start:message.Parkspace_allocation_request_msg)
  732. ::google::protobuf::uint32 cached_has_bits = 0;
  733. // Prevent compiler warnings about cached_has_bits being unused
  734. (void) cached_has_bits;
  735. cached_has_bits = _has_bits_[0];
  736. if (cached_has_bits & 15u) {
  737. if (cached_has_bits & 0x00000001u) {
  738. command_key_.ClearNonDefaultToEmptyNoArena();
  739. }
  740. if (cached_has_bits & 0x00000002u) {
  741. GOOGLE_DCHECK(base_info_ != NULL);
  742. base_info_->Clear();
  743. }
  744. if (cached_has_bits & 0x00000004u) {
  745. GOOGLE_DCHECK(car_info_ != NULL);
  746. car_info_->Clear();
  747. }
  748. if (cached_has_bits & 0x00000008u) {
  749. GOOGLE_DCHECK(id_struct_ != NULL);
  750. id_struct_->Clear();
  751. }
  752. }
  753. _has_bits_.Clear();
  754. _internal_metadata_.Clear();
  755. }
  756. bool Parkspace_allocation_request_msg::MergePartialFromCodedStream(
  757. ::google::protobuf::io::CodedInputStream* input) {
  758. #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
  759. ::google::protobuf::uint32 tag;
  760. // @@protoc_insertion_point(parse_start:message.Parkspace_allocation_request_msg)
  761. for (;;) {
  762. ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
  763. tag = p.first;
  764. if (!p.second) goto handle_unusual;
  765. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  766. // required .message.Base_info base_info = 1;
  767. case 1: {
  768. if (static_cast< ::google::protobuf::uint8>(tag) ==
  769. static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
  770. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  771. input, mutable_base_info()));
  772. } else {
  773. goto handle_unusual;
  774. }
  775. break;
  776. }
  777. // required string command_key = 2;
  778. case 2: {
  779. if (static_cast< ::google::protobuf::uint8>(tag) ==
  780. static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
  781. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  782. input, this->mutable_command_key()));
  783. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  784. this->command_key().data(), static_cast<int>(this->command_key().length()),
  785. ::google::protobuf::internal::WireFormat::PARSE,
  786. "message.Parkspace_allocation_request_msg.command_key");
  787. } else {
  788. goto handle_unusual;
  789. }
  790. break;
  791. }
  792. // required .message.Car_info car_info = 3;
  793. case 3: {
  794. if (static_cast< ::google::protobuf::uint8>(tag) ==
  795. static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
  796. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  797. input, mutable_car_info()));
  798. } else {
  799. goto handle_unusual;
  800. }
  801. break;
  802. }
  803. // required .message.Id_struct id_struct = 4;
  804. case 4: {
  805. if (static_cast< ::google::protobuf::uint8>(tag) ==
  806. static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
  807. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  808. input, mutable_id_struct()));
  809. } else {
  810. goto handle_unusual;
  811. }
  812. break;
  813. }
  814. default: {
  815. handle_unusual:
  816. if (tag == 0) {
  817. goto success;
  818. }
  819. DO_(::google::protobuf::internal::WireFormat::SkipField(
  820. input, tag, _internal_metadata_.mutable_unknown_fields()));
  821. break;
  822. }
  823. }
  824. }
  825. success:
  826. // @@protoc_insertion_point(parse_success:message.Parkspace_allocation_request_msg)
  827. return true;
  828. failure:
  829. // @@protoc_insertion_point(parse_failure:message.Parkspace_allocation_request_msg)
  830. return false;
  831. #undef DO_
  832. }
  833. void Parkspace_allocation_request_msg::SerializeWithCachedSizes(
  834. ::google::protobuf::io::CodedOutputStream* output) const {
  835. // @@protoc_insertion_point(serialize_start:message.Parkspace_allocation_request_msg)
  836. ::google::protobuf::uint32 cached_has_bits = 0;
  837. (void) cached_has_bits;
  838. cached_has_bits = _has_bits_[0];
  839. // required .message.Base_info base_info = 1;
  840. if (cached_has_bits & 0x00000002u) {
  841. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  842. 1, this->_internal_base_info(), output);
  843. }
  844. // required string command_key = 2;
  845. if (cached_has_bits & 0x00000001u) {
  846. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  847. this->command_key().data(), static_cast<int>(this->command_key().length()),
  848. ::google::protobuf::internal::WireFormat::SERIALIZE,
  849. "message.Parkspace_allocation_request_msg.command_key");
  850. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  851. 2, this->command_key(), output);
  852. }
  853. // required .message.Car_info car_info = 3;
  854. if (cached_has_bits & 0x00000004u) {
  855. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  856. 3, this->_internal_car_info(), output);
  857. }
  858. // required .message.Id_struct id_struct = 4;
  859. if (cached_has_bits & 0x00000008u) {
  860. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  861. 4, this->_internal_id_struct(), output);
  862. }
  863. if (_internal_metadata_.have_unknown_fields()) {
  864. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  865. _internal_metadata_.unknown_fields(), output);
  866. }
  867. // @@protoc_insertion_point(serialize_end:message.Parkspace_allocation_request_msg)
  868. }
  869. ::google::protobuf::uint8* Parkspace_allocation_request_msg::InternalSerializeWithCachedSizesToArray(
  870. bool deterministic, ::google::protobuf::uint8* target) const {
  871. (void)deterministic; // Unused
  872. // @@protoc_insertion_point(serialize_to_array_start:message.Parkspace_allocation_request_msg)
  873. ::google::protobuf::uint32 cached_has_bits = 0;
  874. (void) cached_has_bits;
  875. cached_has_bits = _has_bits_[0];
  876. // required .message.Base_info base_info = 1;
  877. if (cached_has_bits & 0x00000002u) {
  878. target = ::google::protobuf::internal::WireFormatLite::
  879. InternalWriteMessageToArray(
  880. 1, this->_internal_base_info(), deterministic, target);
  881. }
  882. // required string command_key = 2;
  883. if (cached_has_bits & 0x00000001u) {
  884. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  885. this->command_key().data(), static_cast<int>(this->command_key().length()),
  886. ::google::protobuf::internal::WireFormat::SERIALIZE,
  887. "message.Parkspace_allocation_request_msg.command_key");
  888. target =
  889. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  890. 2, this->command_key(), target);
  891. }
  892. // required .message.Car_info car_info = 3;
  893. if (cached_has_bits & 0x00000004u) {
  894. target = ::google::protobuf::internal::WireFormatLite::
  895. InternalWriteMessageToArray(
  896. 3, this->_internal_car_info(), deterministic, target);
  897. }
  898. // required .message.Id_struct id_struct = 4;
  899. if (cached_has_bits & 0x00000008u) {
  900. target = ::google::protobuf::internal::WireFormatLite::
  901. InternalWriteMessageToArray(
  902. 4, this->_internal_id_struct(), deterministic, target);
  903. }
  904. if (_internal_metadata_.have_unknown_fields()) {
  905. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  906. _internal_metadata_.unknown_fields(), target);
  907. }
  908. // @@protoc_insertion_point(serialize_to_array_end:message.Parkspace_allocation_request_msg)
  909. return target;
  910. }
  911. size_t Parkspace_allocation_request_msg::RequiredFieldsByteSizeFallback() const {
  912. // @@protoc_insertion_point(required_fields_byte_size_fallback_start:message.Parkspace_allocation_request_msg)
  913. size_t total_size = 0;
  914. if (has_command_key()) {
  915. // required string command_key = 2;
  916. total_size += 1 +
  917. ::google::protobuf::internal::WireFormatLite::StringSize(
  918. this->command_key());
  919. }
  920. if (has_base_info()) {
  921. // required .message.Base_info base_info = 1;
  922. total_size += 1 +
  923. ::google::protobuf::internal::WireFormatLite::MessageSize(
  924. *base_info_);
  925. }
  926. if (has_car_info()) {
  927. // required .message.Car_info car_info = 3;
  928. total_size += 1 +
  929. ::google::protobuf::internal::WireFormatLite::MessageSize(
  930. *car_info_);
  931. }
  932. if (has_id_struct()) {
  933. // required .message.Id_struct id_struct = 4;
  934. total_size += 1 +
  935. ::google::protobuf::internal::WireFormatLite::MessageSize(
  936. *id_struct_);
  937. }
  938. return total_size;
  939. }
  940. size_t Parkspace_allocation_request_msg::ByteSizeLong() const {
  941. // @@protoc_insertion_point(message_byte_size_start:message.Parkspace_allocation_request_msg)
  942. size_t total_size = 0;
  943. if (_internal_metadata_.have_unknown_fields()) {
  944. total_size +=
  945. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  946. _internal_metadata_.unknown_fields());
  947. }
  948. if (((_has_bits_[0] & 0x0000000f) ^ 0x0000000f) == 0) { // All required fields are present.
  949. // required string command_key = 2;
  950. total_size += 1 +
  951. ::google::protobuf::internal::WireFormatLite::StringSize(
  952. this->command_key());
  953. // required .message.Base_info base_info = 1;
  954. total_size += 1 +
  955. ::google::protobuf::internal::WireFormatLite::MessageSize(
  956. *base_info_);
  957. // required .message.Car_info car_info = 3;
  958. total_size += 1 +
  959. ::google::protobuf::internal::WireFormatLite::MessageSize(
  960. *car_info_);
  961. // required .message.Id_struct id_struct = 4;
  962. total_size += 1 +
  963. ::google::protobuf::internal::WireFormatLite::MessageSize(
  964. *id_struct_);
  965. } else {
  966. total_size += RequiredFieldsByteSizeFallback();
  967. }
  968. int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
  969. SetCachedSize(cached_size);
  970. return total_size;
  971. }
  972. void Parkspace_allocation_request_msg::MergeFrom(const ::google::protobuf::Message& from) {
  973. // @@protoc_insertion_point(generalized_merge_from_start:message.Parkspace_allocation_request_msg)
  974. GOOGLE_DCHECK_NE(&from, this);
  975. const Parkspace_allocation_request_msg* source =
  976. ::google::protobuf::internal::DynamicCastToGenerated<const Parkspace_allocation_request_msg>(
  977. &from);
  978. if (source == NULL) {
  979. // @@protoc_insertion_point(generalized_merge_from_cast_fail:message.Parkspace_allocation_request_msg)
  980. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  981. } else {
  982. // @@protoc_insertion_point(generalized_merge_from_cast_success:message.Parkspace_allocation_request_msg)
  983. MergeFrom(*source);
  984. }
  985. }
  986. void Parkspace_allocation_request_msg::MergeFrom(const Parkspace_allocation_request_msg& from) {
  987. // @@protoc_insertion_point(class_specific_merge_from_start:message.Parkspace_allocation_request_msg)
  988. GOOGLE_DCHECK_NE(&from, this);
  989. _internal_metadata_.MergeFrom(from._internal_metadata_);
  990. ::google::protobuf::uint32 cached_has_bits = 0;
  991. (void) cached_has_bits;
  992. cached_has_bits = from._has_bits_[0];
  993. if (cached_has_bits & 15u) {
  994. if (cached_has_bits & 0x00000001u) {
  995. set_has_command_key();
  996. command_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.command_key_);
  997. }
  998. if (cached_has_bits & 0x00000002u) {
  999. mutable_base_info()->::message::Base_info::MergeFrom(from.base_info());
  1000. }
  1001. if (cached_has_bits & 0x00000004u) {
  1002. mutable_car_info()->::message::Car_info::MergeFrom(from.car_info());
  1003. }
  1004. if (cached_has_bits & 0x00000008u) {
  1005. mutable_id_struct()->::message::Id_struct::MergeFrom(from.id_struct());
  1006. }
  1007. }
  1008. }
  1009. void Parkspace_allocation_request_msg::CopyFrom(const ::google::protobuf::Message& from) {
  1010. // @@protoc_insertion_point(generalized_copy_from_start:message.Parkspace_allocation_request_msg)
  1011. if (&from == this) return;
  1012. Clear();
  1013. MergeFrom(from);
  1014. }
  1015. void Parkspace_allocation_request_msg::CopyFrom(const Parkspace_allocation_request_msg& from) {
  1016. // @@protoc_insertion_point(class_specific_copy_from_start:message.Parkspace_allocation_request_msg)
  1017. if (&from == this) return;
  1018. Clear();
  1019. MergeFrom(from);
  1020. }
  1021. bool Parkspace_allocation_request_msg::IsInitialized() const {
  1022. if ((_has_bits_[0] & 0x0000000f) != 0x0000000f) return false;
  1023. if (has_base_info()) {
  1024. if (!this->base_info_->IsInitialized()) return false;
  1025. }
  1026. return true;
  1027. }
  1028. void Parkspace_allocation_request_msg::Swap(Parkspace_allocation_request_msg* other) {
  1029. if (other == this) return;
  1030. InternalSwap(other);
  1031. }
  1032. void Parkspace_allocation_request_msg::InternalSwap(Parkspace_allocation_request_msg* other) {
  1033. using std::swap;
  1034. command_key_.Swap(&other->command_key_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1035. GetArenaNoVirtual());
  1036. swap(base_info_, other->base_info_);
  1037. swap(car_info_, other->car_info_);
  1038. swap(id_struct_, other->id_struct_);
  1039. swap(_has_bits_[0], other->_has_bits_[0]);
  1040. _internal_metadata_.Swap(&other->_internal_metadata_);
  1041. }
  1042. ::google::protobuf::Metadata Parkspace_allocation_request_msg::GetMetadata() const {
  1043. protobuf_parkspace_5fallocation_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  1044. return ::protobuf_parkspace_5fallocation_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages];
  1045. }
  1046. // ===================================================================
  1047. void Parkspace_allocation_response_msg::InitAsDefaultInstance() {
  1048. ::message::_Parkspace_allocation_response_msg_default_instance_._instance.get_mutable()->base_info_ = const_cast< ::message::Base_info*>(
  1049. ::message::Base_info::internal_default_instance());
  1050. ::message::_Parkspace_allocation_response_msg_default_instance_._instance.get_mutable()->error_manager_ = const_cast< ::message::Error_manager*>(
  1051. ::message::Error_manager::internal_default_instance());
  1052. }
  1053. void Parkspace_allocation_response_msg::clear_base_info() {
  1054. if (base_info_ != NULL) base_info_->Clear();
  1055. clear_has_base_info();
  1056. }
  1057. void Parkspace_allocation_response_msg::clear_error_manager() {
  1058. if (error_manager_ != NULL) error_manager_->Clear();
  1059. clear_has_error_manager();
  1060. }
  1061. void Parkspace_allocation_response_msg::clear_allocated_parkspace_info_ex() {
  1062. allocated_parkspace_info_ex_.Clear();
  1063. }
  1064. #if !defined(_MSC_VER) || _MSC_VER >= 1900
  1065. const int Parkspace_allocation_response_msg::kBaseInfoFieldNumber;
  1066. const int Parkspace_allocation_response_msg::kCommandKeyFieldNumber;
  1067. const int Parkspace_allocation_response_msg::kErrorManagerFieldNumber;
  1068. const int Parkspace_allocation_response_msg::kAllocatedParkspaceInfoExFieldNumber;
  1069. const int Parkspace_allocation_response_msg::kCarTypeFieldNumber;
  1070. #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
  1071. Parkspace_allocation_response_msg::Parkspace_allocation_response_msg()
  1072. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  1073. ::google::protobuf::internal::InitSCC(
  1074. &protobuf_parkspace_5fallocation_5fmessage_2eproto::scc_info_Parkspace_allocation_response_msg.base);
  1075. SharedCtor();
  1076. // @@protoc_insertion_point(constructor:message.Parkspace_allocation_response_msg)
  1077. }
  1078. Parkspace_allocation_response_msg::Parkspace_allocation_response_msg(const Parkspace_allocation_response_msg& from)
  1079. : ::google::protobuf::Message(),
  1080. _internal_metadata_(NULL),
  1081. _has_bits_(from._has_bits_),
  1082. allocated_parkspace_info_ex_(from.allocated_parkspace_info_ex_) {
  1083. _internal_metadata_.MergeFrom(from._internal_metadata_);
  1084. command_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1085. if (from.has_command_key()) {
  1086. command_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.command_key_);
  1087. }
  1088. if (from.has_base_info()) {
  1089. base_info_ = new ::message::Base_info(*from.base_info_);
  1090. } else {
  1091. base_info_ = NULL;
  1092. }
  1093. if (from.has_error_manager()) {
  1094. error_manager_ = new ::message::Error_manager(*from.error_manager_);
  1095. } else {
  1096. error_manager_ = NULL;
  1097. }
  1098. car_type_ = from.car_type_;
  1099. // @@protoc_insertion_point(copy_constructor:message.Parkspace_allocation_response_msg)
  1100. }
  1101. void Parkspace_allocation_response_msg::SharedCtor() {
  1102. command_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1103. ::memset(&base_info_, 0, static_cast<size_t>(
  1104. reinterpret_cast<char*>(&car_type_) -
  1105. reinterpret_cast<char*>(&base_info_)) + sizeof(car_type_));
  1106. }
  1107. Parkspace_allocation_response_msg::~Parkspace_allocation_response_msg() {
  1108. // @@protoc_insertion_point(destructor:message.Parkspace_allocation_response_msg)
  1109. SharedDtor();
  1110. }
  1111. void Parkspace_allocation_response_msg::SharedDtor() {
  1112. command_key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1113. if (this != internal_default_instance()) delete base_info_;
  1114. if (this != internal_default_instance()) delete error_manager_;
  1115. }
  1116. void Parkspace_allocation_response_msg::SetCachedSize(int size) const {
  1117. _cached_size_.Set(size);
  1118. }
  1119. const ::google::protobuf::Descriptor* Parkspace_allocation_response_msg::descriptor() {
  1120. ::protobuf_parkspace_5fallocation_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  1121. return ::protobuf_parkspace_5fallocation_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
  1122. }
  1123. const Parkspace_allocation_response_msg& Parkspace_allocation_response_msg::default_instance() {
  1124. ::google::protobuf::internal::InitSCC(&protobuf_parkspace_5fallocation_5fmessage_2eproto::scc_info_Parkspace_allocation_response_msg.base);
  1125. return *internal_default_instance();
  1126. }
  1127. void Parkspace_allocation_response_msg::Clear() {
  1128. // @@protoc_insertion_point(message_clear_start:message.Parkspace_allocation_response_msg)
  1129. ::google::protobuf::uint32 cached_has_bits = 0;
  1130. // Prevent compiler warnings about cached_has_bits being unused
  1131. (void) cached_has_bits;
  1132. allocated_parkspace_info_ex_.Clear();
  1133. cached_has_bits = _has_bits_[0];
  1134. if (cached_has_bits & 7u) {
  1135. if (cached_has_bits & 0x00000001u) {
  1136. command_key_.ClearNonDefaultToEmptyNoArena();
  1137. }
  1138. if (cached_has_bits & 0x00000002u) {
  1139. GOOGLE_DCHECK(base_info_ != NULL);
  1140. base_info_->Clear();
  1141. }
  1142. if (cached_has_bits & 0x00000004u) {
  1143. GOOGLE_DCHECK(error_manager_ != NULL);
  1144. error_manager_->Clear();
  1145. }
  1146. }
  1147. car_type_ = 0;
  1148. _has_bits_.Clear();
  1149. _internal_metadata_.Clear();
  1150. }
  1151. bool Parkspace_allocation_response_msg::MergePartialFromCodedStream(
  1152. ::google::protobuf::io::CodedInputStream* input) {
  1153. #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
  1154. ::google::protobuf::uint32 tag;
  1155. // @@protoc_insertion_point(parse_start:message.Parkspace_allocation_response_msg)
  1156. for (;;) {
  1157. ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
  1158. tag = p.first;
  1159. if (!p.second) goto handle_unusual;
  1160. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  1161. // required .message.Base_info base_info = 1;
  1162. case 1: {
  1163. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1164. static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
  1165. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  1166. input, mutable_base_info()));
  1167. } else {
  1168. goto handle_unusual;
  1169. }
  1170. break;
  1171. }
  1172. // required string command_key = 2;
  1173. case 2: {
  1174. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1175. static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
  1176. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1177. input, this->mutable_command_key()));
  1178. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  1179. this->command_key().data(), static_cast<int>(this->command_key().length()),
  1180. ::google::protobuf::internal::WireFormat::PARSE,
  1181. "message.Parkspace_allocation_response_msg.command_key");
  1182. } else {
  1183. goto handle_unusual;
  1184. }
  1185. break;
  1186. }
  1187. // required .message.Error_manager error_manager = 3;
  1188. case 3: {
  1189. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1190. static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
  1191. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  1192. input, mutable_error_manager()));
  1193. } else {
  1194. goto handle_unusual;
  1195. }
  1196. break;
  1197. }
  1198. // repeated .message.Parkspace_info allocated_parkspace_info_ex = 4;
  1199. case 4: {
  1200. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1201. static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
  1202. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  1203. input, add_allocated_parkspace_info_ex()));
  1204. } else {
  1205. goto handle_unusual;
  1206. }
  1207. break;
  1208. }
  1209. // optional .message.Car_type car_type = 5;
  1210. case 5: {
  1211. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1212. static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
  1213. int value;
  1214. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1215. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  1216. input, &value)));
  1217. if (::message::Car_type_IsValid(value)) {
  1218. set_car_type(static_cast< ::message::Car_type >(value));
  1219. } else {
  1220. mutable_unknown_fields()->AddVarint(
  1221. 5, static_cast< ::google::protobuf::uint64>(value));
  1222. }
  1223. } else {
  1224. goto handle_unusual;
  1225. }
  1226. break;
  1227. }
  1228. default: {
  1229. handle_unusual:
  1230. if (tag == 0) {
  1231. goto success;
  1232. }
  1233. DO_(::google::protobuf::internal::WireFormat::SkipField(
  1234. input, tag, _internal_metadata_.mutable_unknown_fields()));
  1235. break;
  1236. }
  1237. }
  1238. }
  1239. success:
  1240. // @@protoc_insertion_point(parse_success:message.Parkspace_allocation_response_msg)
  1241. return true;
  1242. failure:
  1243. // @@protoc_insertion_point(parse_failure:message.Parkspace_allocation_response_msg)
  1244. return false;
  1245. #undef DO_
  1246. }
  1247. void Parkspace_allocation_response_msg::SerializeWithCachedSizes(
  1248. ::google::protobuf::io::CodedOutputStream* output) const {
  1249. // @@protoc_insertion_point(serialize_start:message.Parkspace_allocation_response_msg)
  1250. ::google::protobuf::uint32 cached_has_bits = 0;
  1251. (void) cached_has_bits;
  1252. cached_has_bits = _has_bits_[0];
  1253. // required .message.Base_info base_info = 1;
  1254. if (cached_has_bits & 0x00000002u) {
  1255. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  1256. 1, this->_internal_base_info(), output);
  1257. }
  1258. // required string command_key = 2;
  1259. if (cached_has_bits & 0x00000001u) {
  1260. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  1261. this->command_key().data(), static_cast<int>(this->command_key().length()),
  1262. ::google::protobuf::internal::WireFormat::SERIALIZE,
  1263. "message.Parkspace_allocation_response_msg.command_key");
  1264. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  1265. 2, this->command_key(), output);
  1266. }
  1267. // required .message.Error_manager error_manager = 3;
  1268. if (cached_has_bits & 0x00000004u) {
  1269. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  1270. 3, this->_internal_error_manager(), output);
  1271. }
  1272. // repeated .message.Parkspace_info allocated_parkspace_info_ex = 4;
  1273. for (unsigned int i = 0,
  1274. n = static_cast<unsigned int>(this->allocated_parkspace_info_ex_size()); i < n; i++) {
  1275. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  1276. 4,
  1277. this->allocated_parkspace_info_ex(static_cast<int>(i)),
  1278. output);
  1279. }
  1280. // optional .message.Car_type car_type = 5;
  1281. if (cached_has_bits & 0x00000008u) {
  1282. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  1283. 5, this->car_type(), output);
  1284. }
  1285. if (_internal_metadata_.have_unknown_fields()) {
  1286. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  1287. _internal_metadata_.unknown_fields(), output);
  1288. }
  1289. // @@protoc_insertion_point(serialize_end:message.Parkspace_allocation_response_msg)
  1290. }
  1291. ::google::protobuf::uint8* Parkspace_allocation_response_msg::InternalSerializeWithCachedSizesToArray(
  1292. bool deterministic, ::google::protobuf::uint8* target) const {
  1293. (void)deterministic; // Unused
  1294. // @@protoc_insertion_point(serialize_to_array_start:message.Parkspace_allocation_response_msg)
  1295. ::google::protobuf::uint32 cached_has_bits = 0;
  1296. (void) cached_has_bits;
  1297. cached_has_bits = _has_bits_[0];
  1298. // required .message.Base_info base_info = 1;
  1299. if (cached_has_bits & 0x00000002u) {
  1300. target = ::google::protobuf::internal::WireFormatLite::
  1301. InternalWriteMessageToArray(
  1302. 1, this->_internal_base_info(), deterministic, target);
  1303. }
  1304. // required string command_key = 2;
  1305. if (cached_has_bits & 0x00000001u) {
  1306. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  1307. this->command_key().data(), static_cast<int>(this->command_key().length()),
  1308. ::google::protobuf::internal::WireFormat::SERIALIZE,
  1309. "message.Parkspace_allocation_response_msg.command_key");
  1310. target =
  1311. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  1312. 2, this->command_key(), target);
  1313. }
  1314. // required .message.Error_manager error_manager = 3;
  1315. if (cached_has_bits & 0x00000004u) {
  1316. target = ::google::protobuf::internal::WireFormatLite::
  1317. InternalWriteMessageToArray(
  1318. 3, this->_internal_error_manager(), deterministic, target);
  1319. }
  1320. // repeated .message.Parkspace_info allocated_parkspace_info_ex = 4;
  1321. for (unsigned int i = 0,
  1322. n = static_cast<unsigned int>(this->allocated_parkspace_info_ex_size()); i < n; i++) {
  1323. target = ::google::protobuf::internal::WireFormatLite::
  1324. InternalWriteMessageToArray(
  1325. 4, this->allocated_parkspace_info_ex(static_cast<int>(i)), deterministic, target);
  1326. }
  1327. // optional .message.Car_type car_type = 5;
  1328. if (cached_has_bits & 0x00000008u) {
  1329. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  1330. 5, this->car_type(), target);
  1331. }
  1332. if (_internal_metadata_.have_unknown_fields()) {
  1333. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  1334. _internal_metadata_.unknown_fields(), target);
  1335. }
  1336. // @@protoc_insertion_point(serialize_to_array_end:message.Parkspace_allocation_response_msg)
  1337. return target;
  1338. }
  1339. size_t Parkspace_allocation_response_msg::RequiredFieldsByteSizeFallback() const {
  1340. // @@protoc_insertion_point(required_fields_byte_size_fallback_start:message.Parkspace_allocation_response_msg)
  1341. size_t total_size = 0;
  1342. if (has_command_key()) {
  1343. // required string command_key = 2;
  1344. total_size += 1 +
  1345. ::google::protobuf::internal::WireFormatLite::StringSize(
  1346. this->command_key());
  1347. }
  1348. if (has_base_info()) {
  1349. // required .message.Base_info base_info = 1;
  1350. total_size += 1 +
  1351. ::google::protobuf::internal::WireFormatLite::MessageSize(
  1352. *base_info_);
  1353. }
  1354. if (has_error_manager()) {
  1355. // required .message.Error_manager error_manager = 3;
  1356. total_size += 1 +
  1357. ::google::protobuf::internal::WireFormatLite::MessageSize(
  1358. *error_manager_);
  1359. }
  1360. return total_size;
  1361. }
  1362. size_t Parkspace_allocation_response_msg::ByteSizeLong() const {
  1363. // @@protoc_insertion_point(message_byte_size_start:message.Parkspace_allocation_response_msg)
  1364. size_t total_size = 0;
  1365. if (_internal_metadata_.have_unknown_fields()) {
  1366. total_size +=
  1367. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  1368. _internal_metadata_.unknown_fields());
  1369. }
  1370. if (((_has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present.
  1371. // required string command_key = 2;
  1372. total_size += 1 +
  1373. ::google::protobuf::internal::WireFormatLite::StringSize(
  1374. this->command_key());
  1375. // required .message.Base_info base_info = 1;
  1376. total_size += 1 +
  1377. ::google::protobuf::internal::WireFormatLite::MessageSize(
  1378. *base_info_);
  1379. // required .message.Error_manager error_manager = 3;
  1380. total_size += 1 +
  1381. ::google::protobuf::internal::WireFormatLite::MessageSize(
  1382. *error_manager_);
  1383. } else {
  1384. total_size += RequiredFieldsByteSizeFallback();
  1385. }
  1386. // repeated .message.Parkspace_info allocated_parkspace_info_ex = 4;
  1387. {
  1388. unsigned int count = static_cast<unsigned int>(this->allocated_parkspace_info_ex_size());
  1389. total_size += 1UL * count;
  1390. for (unsigned int i = 0; i < count; i++) {
  1391. total_size +=
  1392. ::google::protobuf::internal::WireFormatLite::MessageSize(
  1393. this->allocated_parkspace_info_ex(static_cast<int>(i)));
  1394. }
  1395. }
  1396. // optional .message.Car_type car_type = 5;
  1397. if (has_car_type()) {
  1398. total_size += 1 +
  1399. ::google::protobuf::internal::WireFormatLite::EnumSize(this->car_type());
  1400. }
  1401. int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
  1402. SetCachedSize(cached_size);
  1403. return total_size;
  1404. }
  1405. void Parkspace_allocation_response_msg::MergeFrom(const ::google::protobuf::Message& from) {
  1406. // @@protoc_insertion_point(generalized_merge_from_start:message.Parkspace_allocation_response_msg)
  1407. GOOGLE_DCHECK_NE(&from, this);
  1408. const Parkspace_allocation_response_msg* source =
  1409. ::google::protobuf::internal::DynamicCastToGenerated<const Parkspace_allocation_response_msg>(
  1410. &from);
  1411. if (source == NULL) {
  1412. // @@protoc_insertion_point(generalized_merge_from_cast_fail:message.Parkspace_allocation_response_msg)
  1413. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  1414. } else {
  1415. // @@protoc_insertion_point(generalized_merge_from_cast_success:message.Parkspace_allocation_response_msg)
  1416. MergeFrom(*source);
  1417. }
  1418. }
  1419. void Parkspace_allocation_response_msg::MergeFrom(const Parkspace_allocation_response_msg& from) {
  1420. // @@protoc_insertion_point(class_specific_merge_from_start:message.Parkspace_allocation_response_msg)
  1421. GOOGLE_DCHECK_NE(&from, this);
  1422. _internal_metadata_.MergeFrom(from._internal_metadata_);
  1423. ::google::protobuf::uint32 cached_has_bits = 0;
  1424. (void) cached_has_bits;
  1425. allocated_parkspace_info_ex_.MergeFrom(from.allocated_parkspace_info_ex_);
  1426. cached_has_bits = from._has_bits_[0];
  1427. if (cached_has_bits & 15u) {
  1428. if (cached_has_bits & 0x00000001u) {
  1429. set_has_command_key();
  1430. command_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.command_key_);
  1431. }
  1432. if (cached_has_bits & 0x00000002u) {
  1433. mutable_base_info()->::message::Base_info::MergeFrom(from.base_info());
  1434. }
  1435. if (cached_has_bits & 0x00000004u) {
  1436. mutable_error_manager()->::message::Error_manager::MergeFrom(from.error_manager());
  1437. }
  1438. if (cached_has_bits & 0x00000008u) {
  1439. car_type_ = from.car_type_;
  1440. }
  1441. _has_bits_[0] |= cached_has_bits;
  1442. }
  1443. }
  1444. void Parkspace_allocation_response_msg::CopyFrom(const ::google::protobuf::Message& from) {
  1445. // @@protoc_insertion_point(generalized_copy_from_start:message.Parkspace_allocation_response_msg)
  1446. if (&from == this) return;
  1447. Clear();
  1448. MergeFrom(from);
  1449. }
  1450. void Parkspace_allocation_response_msg::CopyFrom(const Parkspace_allocation_response_msg& from) {
  1451. // @@protoc_insertion_point(class_specific_copy_from_start:message.Parkspace_allocation_response_msg)
  1452. if (&from == this) return;
  1453. Clear();
  1454. MergeFrom(from);
  1455. }
  1456. bool Parkspace_allocation_response_msg::IsInitialized() const {
  1457. if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false;
  1458. if (has_base_info()) {
  1459. if (!this->base_info_->IsInitialized()) return false;
  1460. }
  1461. if (has_error_manager()) {
  1462. if (!this->error_manager_->IsInitialized()) return false;
  1463. }
  1464. return true;
  1465. }
  1466. void Parkspace_allocation_response_msg::Swap(Parkspace_allocation_response_msg* other) {
  1467. if (other == this) return;
  1468. InternalSwap(other);
  1469. }
  1470. void Parkspace_allocation_response_msg::InternalSwap(Parkspace_allocation_response_msg* other) {
  1471. using std::swap;
  1472. CastToBase(&allocated_parkspace_info_ex_)->InternalSwap(CastToBase(&other->allocated_parkspace_info_ex_));
  1473. command_key_.Swap(&other->command_key_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1474. GetArenaNoVirtual());
  1475. swap(base_info_, other->base_info_);
  1476. swap(error_manager_, other->error_manager_);
  1477. swap(car_type_, other->car_type_);
  1478. swap(_has_bits_[0], other->_has_bits_[0]);
  1479. _internal_metadata_.Swap(&other->_internal_metadata_);
  1480. }
  1481. ::google::protobuf::Metadata Parkspace_allocation_response_msg::GetMetadata() const {
  1482. protobuf_parkspace_5fallocation_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  1483. return ::protobuf_parkspace_5fallocation_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages];
  1484. }
  1485. // ===================================================================
  1486. void Parkspace_search_request_msg::InitAsDefaultInstance() {
  1487. ::message::_Parkspace_search_request_msg_default_instance_._instance.get_mutable()->base_info_ = const_cast< ::message::Base_info*>(
  1488. ::message::Base_info::internal_default_instance());
  1489. ::message::_Parkspace_search_request_msg_default_instance_._instance.get_mutable()->car_info_ = const_cast< ::message::Car_info*>(
  1490. ::message::Car_info::internal_default_instance());
  1491. }
  1492. void Parkspace_search_request_msg::clear_base_info() {
  1493. if (base_info_ != NULL) base_info_->Clear();
  1494. clear_has_base_info();
  1495. }
  1496. void Parkspace_search_request_msg::clear_car_info() {
  1497. if (car_info_ != NULL) car_info_->Clear();
  1498. clear_has_car_info();
  1499. }
  1500. #if !defined(_MSC_VER) || _MSC_VER >= 1900
  1501. const int Parkspace_search_request_msg::kBaseInfoFieldNumber;
  1502. const int Parkspace_search_request_msg::kCommandKeyFieldNumber;
  1503. const int Parkspace_search_request_msg::kCarInfoFieldNumber;
  1504. #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
  1505. Parkspace_search_request_msg::Parkspace_search_request_msg()
  1506. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  1507. ::google::protobuf::internal::InitSCC(
  1508. &protobuf_parkspace_5fallocation_5fmessage_2eproto::scc_info_Parkspace_search_request_msg.base);
  1509. SharedCtor();
  1510. // @@protoc_insertion_point(constructor:message.Parkspace_search_request_msg)
  1511. }
  1512. Parkspace_search_request_msg::Parkspace_search_request_msg(const Parkspace_search_request_msg& from)
  1513. : ::google::protobuf::Message(),
  1514. _internal_metadata_(NULL),
  1515. _has_bits_(from._has_bits_) {
  1516. _internal_metadata_.MergeFrom(from._internal_metadata_);
  1517. command_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1518. if (from.has_command_key()) {
  1519. command_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.command_key_);
  1520. }
  1521. if (from.has_base_info()) {
  1522. base_info_ = new ::message::Base_info(*from.base_info_);
  1523. } else {
  1524. base_info_ = NULL;
  1525. }
  1526. if (from.has_car_info()) {
  1527. car_info_ = new ::message::Car_info(*from.car_info_);
  1528. } else {
  1529. car_info_ = NULL;
  1530. }
  1531. // @@protoc_insertion_point(copy_constructor:message.Parkspace_search_request_msg)
  1532. }
  1533. void Parkspace_search_request_msg::SharedCtor() {
  1534. command_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1535. ::memset(&base_info_, 0, static_cast<size_t>(
  1536. reinterpret_cast<char*>(&car_info_) -
  1537. reinterpret_cast<char*>(&base_info_)) + sizeof(car_info_));
  1538. }
  1539. Parkspace_search_request_msg::~Parkspace_search_request_msg() {
  1540. // @@protoc_insertion_point(destructor:message.Parkspace_search_request_msg)
  1541. SharedDtor();
  1542. }
  1543. void Parkspace_search_request_msg::SharedDtor() {
  1544. command_key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1545. if (this != internal_default_instance()) delete base_info_;
  1546. if (this != internal_default_instance()) delete car_info_;
  1547. }
  1548. void Parkspace_search_request_msg::SetCachedSize(int size) const {
  1549. _cached_size_.Set(size);
  1550. }
  1551. const ::google::protobuf::Descriptor* Parkspace_search_request_msg::descriptor() {
  1552. ::protobuf_parkspace_5fallocation_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  1553. return ::protobuf_parkspace_5fallocation_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
  1554. }
  1555. const Parkspace_search_request_msg& Parkspace_search_request_msg::default_instance() {
  1556. ::google::protobuf::internal::InitSCC(&protobuf_parkspace_5fallocation_5fmessage_2eproto::scc_info_Parkspace_search_request_msg.base);
  1557. return *internal_default_instance();
  1558. }
  1559. void Parkspace_search_request_msg::Clear() {
  1560. // @@protoc_insertion_point(message_clear_start:message.Parkspace_search_request_msg)
  1561. ::google::protobuf::uint32 cached_has_bits = 0;
  1562. // Prevent compiler warnings about cached_has_bits being unused
  1563. (void) cached_has_bits;
  1564. cached_has_bits = _has_bits_[0];
  1565. if (cached_has_bits & 7u) {
  1566. if (cached_has_bits & 0x00000001u) {
  1567. command_key_.ClearNonDefaultToEmptyNoArena();
  1568. }
  1569. if (cached_has_bits & 0x00000002u) {
  1570. GOOGLE_DCHECK(base_info_ != NULL);
  1571. base_info_->Clear();
  1572. }
  1573. if (cached_has_bits & 0x00000004u) {
  1574. GOOGLE_DCHECK(car_info_ != NULL);
  1575. car_info_->Clear();
  1576. }
  1577. }
  1578. _has_bits_.Clear();
  1579. _internal_metadata_.Clear();
  1580. }
  1581. bool Parkspace_search_request_msg::MergePartialFromCodedStream(
  1582. ::google::protobuf::io::CodedInputStream* input) {
  1583. #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
  1584. ::google::protobuf::uint32 tag;
  1585. // @@protoc_insertion_point(parse_start:message.Parkspace_search_request_msg)
  1586. for (;;) {
  1587. ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
  1588. tag = p.first;
  1589. if (!p.second) goto handle_unusual;
  1590. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  1591. // required .message.Base_info base_info = 1;
  1592. case 1: {
  1593. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1594. static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
  1595. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  1596. input, mutable_base_info()));
  1597. } else {
  1598. goto handle_unusual;
  1599. }
  1600. break;
  1601. }
  1602. // required string command_key = 2;
  1603. case 2: {
  1604. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1605. static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
  1606. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1607. input, this->mutable_command_key()));
  1608. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  1609. this->command_key().data(), static_cast<int>(this->command_key().length()),
  1610. ::google::protobuf::internal::WireFormat::PARSE,
  1611. "message.Parkspace_search_request_msg.command_key");
  1612. } else {
  1613. goto handle_unusual;
  1614. }
  1615. break;
  1616. }
  1617. // required .message.Car_info car_info = 3;
  1618. case 3: {
  1619. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1620. static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
  1621. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  1622. input, mutable_car_info()));
  1623. } else {
  1624. goto handle_unusual;
  1625. }
  1626. break;
  1627. }
  1628. default: {
  1629. handle_unusual:
  1630. if (tag == 0) {
  1631. goto success;
  1632. }
  1633. DO_(::google::protobuf::internal::WireFormat::SkipField(
  1634. input, tag, _internal_metadata_.mutable_unknown_fields()));
  1635. break;
  1636. }
  1637. }
  1638. }
  1639. success:
  1640. // @@protoc_insertion_point(parse_success:message.Parkspace_search_request_msg)
  1641. return true;
  1642. failure:
  1643. // @@protoc_insertion_point(parse_failure:message.Parkspace_search_request_msg)
  1644. return false;
  1645. #undef DO_
  1646. }
  1647. void Parkspace_search_request_msg::SerializeWithCachedSizes(
  1648. ::google::protobuf::io::CodedOutputStream* output) const {
  1649. // @@protoc_insertion_point(serialize_start:message.Parkspace_search_request_msg)
  1650. ::google::protobuf::uint32 cached_has_bits = 0;
  1651. (void) cached_has_bits;
  1652. cached_has_bits = _has_bits_[0];
  1653. // required .message.Base_info base_info = 1;
  1654. if (cached_has_bits & 0x00000002u) {
  1655. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  1656. 1, this->_internal_base_info(), output);
  1657. }
  1658. // required string command_key = 2;
  1659. if (cached_has_bits & 0x00000001u) {
  1660. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  1661. this->command_key().data(), static_cast<int>(this->command_key().length()),
  1662. ::google::protobuf::internal::WireFormat::SERIALIZE,
  1663. "message.Parkspace_search_request_msg.command_key");
  1664. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  1665. 2, this->command_key(), output);
  1666. }
  1667. // required .message.Car_info car_info = 3;
  1668. if (cached_has_bits & 0x00000004u) {
  1669. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  1670. 3, this->_internal_car_info(), output);
  1671. }
  1672. if (_internal_metadata_.have_unknown_fields()) {
  1673. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  1674. _internal_metadata_.unknown_fields(), output);
  1675. }
  1676. // @@protoc_insertion_point(serialize_end:message.Parkspace_search_request_msg)
  1677. }
  1678. ::google::protobuf::uint8* Parkspace_search_request_msg::InternalSerializeWithCachedSizesToArray(
  1679. bool deterministic, ::google::protobuf::uint8* target) const {
  1680. (void)deterministic; // Unused
  1681. // @@protoc_insertion_point(serialize_to_array_start:message.Parkspace_search_request_msg)
  1682. ::google::protobuf::uint32 cached_has_bits = 0;
  1683. (void) cached_has_bits;
  1684. cached_has_bits = _has_bits_[0];
  1685. // required .message.Base_info base_info = 1;
  1686. if (cached_has_bits & 0x00000002u) {
  1687. target = ::google::protobuf::internal::WireFormatLite::
  1688. InternalWriteMessageToArray(
  1689. 1, this->_internal_base_info(), deterministic, target);
  1690. }
  1691. // required string command_key = 2;
  1692. if (cached_has_bits & 0x00000001u) {
  1693. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  1694. this->command_key().data(), static_cast<int>(this->command_key().length()),
  1695. ::google::protobuf::internal::WireFormat::SERIALIZE,
  1696. "message.Parkspace_search_request_msg.command_key");
  1697. target =
  1698. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  1699. 2, this->command_key(), target);
  1700. }
  1701. // required .message.Car_info car_info = 3;
  1702. if (cached_has_bits & 0x00000004u) {
  1703. target = ::google::protobuf::internal::WireFormatLite::
  1704. InternalWriteMessageToArray(
  1705. 3, this->_internal_car_info(), deterministic, target);
  1706. }
  1707. if (_internal_metadata_.have_unknown_fields()) {
  1708. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  1709. _internal_metadata_.unknown_fields(), target);
  1710. }
  1711. // @@protoc_insertion_point(serialize_to_array_end:message.Parkspace_search_request_msg)
  1712. return target;
  1713. }
  1714. size_t Parkspace_search_request_msg::RequiredFieldsByteSizeFallback() const {
  1715. // @@protoc_insertion_point(required_fields_byte_size_fallback_start:message.Parkspace_search_request_msg)
  1716. size_t total_size = 0;
  1717. if (has_command_key()) {
  1718. // required string command_key = 2;
  1719. total_size += 1 +
  1720. ::google::protobuf::internal::WireFormatLite::StringSize(
  1721. this->command_key());
  1722. }
  1723. if (has_base_info()) {
  1724. // required .message.Base_info base_info = 1;
  1725. total_size += 1 +
  1726. ::google::protobuf::internal::WireFormatLite::MessageSize(
  1727. *base_info_);
  1728. }
  1729. if (has_car_info()) {
  1730. // required .message.Car_info car_info = 3;
  1731. total_size += 1 +
  1732. ::google::protobuf::internal::WireFormatLite::MessageSize(
  1733. *car_info_);
  1734. }
  1735. return total_size;
  1736. }
  1737. size_t Parkspace_search_request_msg::ByteSizeLong() const {
  1738. // @@protoc_insertion_point(message_byte_size_start:message.Parkspace_search_request_msg)
  1739. size_t total_size = 0;
  1740. if (_internal_metadata_.have_unknown_fields()) {
  1741. total_size +=
  1742. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  1743. _internal_metadata_.unknown_fields());
  1744. }
  1745. if (((_has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present.
  1746. // required string command_key = 2;
  1747. total_size += 1 +
  1748. ::google::protobuf::internal::WireFormatLite::StringSize(
  1749. this->command_key());
  1750. // required .message.Base_info base_info = 1;
  1751. total_size += 1 +
  1752. ::google::protobuf::internal::WireFormatLite::MessageSize(
  1753. *base_info_);
  1754. // required .message.Car_info car_info = 3;
  1755. total_size += 1 +
  1756. ::google::protobuf::internal::WireFormatLite::MessageSize(
  1757. *car_info_);
  1758. } else {
  1759. total_size += RequiredFieldsByteSizeFallback();
  1760. }
  1761. int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
  1762. SetCachedSize(cached_size);
  1763. return total_size;
  1764. }
  1765. void Parkspace_search_request_msg::MergeFrom(const ::google::protobuf::Message& from) {
  1766. // @@protoc_insertion_point(generalized_merge_from_start:message.Parkspace_search_request_msg)
  1767. GOOGLE_DCHECK_NE(&from, this);
  1768. const Parkspace_search_request_msg* source =
  1769. ::google::protobuf::internal::DynamicCastToGenerated<const Parkspace_search_request_msg>(
  1770. &from);
  1771. if (source == NULL) {
  1772. // @@protoc_insertion_point(generalized_merge_from_cast_fail:message.Parkspace_search_request_msg)
  1773. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  1774. } else {
  1775. // @@protoc_insertion_point(generalized_merge_from_cast_success:message.Parkspace_search_request_msg)
  1776. MergeFrom(*source);
  1777. }
  1778. }
  1779. void Parkspace_search_request_msg::MergeFrom(const Parkspace_search_request_msg& from) {
  1780. // @@protoc_insertion_point(class_specific_merge_from_start:message.Parkspace_search_request_msg)
  1781. GOOGLE_DCHECK_NE(&from, this);
  1782. _internal_metadata_.MergeFrom(from._internal_metadata_);
  1783. ::google::protobuf::uint32 cached_has_bits = 0;
  1784. (void) cached_has_bits;
  1785. cached_has_bits = from._has_bits_[0];
  1786. if (cached_has_bits & 7u) {
  1787. if (cached_has_bits & 0x00000001u) {
  1788. set_has_command_key();
  1789. command_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.command_key_);
  1790. }
  1791. if (cached_has_bits & 0x00000002u) {
  1792. mutable_base_info()->::message::Base_info::MergeFrom(from.base_info());
  1793. }
  1794. if (cached_has_bits & 0x00000004u) {
  1795. mutable_car_info()->::message::Car_info::MergeFrom(from.car_info());
  1796. }
  1797. }
  1798. }
  1799. void Parkspace_search_request_msg::CopyFrom(const ::google::protobuf::Message& from) {
  1800. // @@protoc_insertion_point(generalized_copy_from_start:message.Parkspace_search_request_msg)
  1801. if (&from == this) return;
  1802. Clear();
  1803. MergeFrom(from);
  1804. }
  1805. void Parkspace_search_request_msg::CopyFrom(const Parkspace_search_request_msg& from) {
  1806. // @@protoc_insertion_point(class_specific_copy_from_start:message.Parkspace_search_request_msg)
  1807. if (&from == this) return;
  1808. Clear();
  1809. MergeFrom(from);
  1810. }
  1811. bool Parkspace_search_request_msg::IsInitialized() const {
  1812. if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false;
  1813. if (has_base_info()) {
  1814. if (!this->base_info_->IsInitialized()) return false;
  1815. }
  1816. return true;
  1817. }
  1818. void Parkspace_search_request_msg::Swap(Parkspace_search_request_msg* other) {
  1819. if (other == this) return;
  1820. InternalSwap(other);
  1821. }
  1822. void Parkspace_search_request_msg::InternalSwap(Parkspace_search_request_msg* other) {
  1823. using std::swap;
  1824. command_key_.Swap(&other->command_key_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1825. GetArenaNoVirtual());
  1826. swap(base_info_, other->base_info_);
  1827. swap(car_info_, other->car_info_);
  1828. swap(_has_bits_[0], other->_has_bits_[0]);
  1829. _internal_metadata_.Swap(&other->_internal_metadata_);
  1830. }
  1831. ::google::protobuf::Metadata Parkspace_search_request_msg::GetMetadata() const {
  1832. protobuf_parkspace_5fallocation_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  1833. return ::protobuf_parkspace_5fallocation_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages];
  1834. }
  1835. // ===================================================================
  1836. void Parkspace_search_response_msg::InitAsDefaultInstance() {
  1837. ::message::_Parkspace_search_response_msg_default_instance_._instance.get_mutable()->base_info_ = const_cast< ::message::Base_info*>(
  1838. ::message::Base_info::internal_default_instance());
  1839. ::message::_Parkspace_search_response_msg_default_instance_._instance.get_mutable()->error_manager_ = const_cast< ::message::Error_manager*>(
  1840. ::message::Error_manager::internal_default_instance());
  1841. }
  1842. void Parkspace_search_response_msg::clear_base_info() {
  1843. if (base_info_ != NULL) base_info_->Clear();
  1844. clear_has_base_info();
  1845. }
  1846. void Parkspace_search_response_msg::clear_error_manager() {
  1847. if (error_manager_ != NULL) error_manager_->Clear();
  1848. clear_has_error_manager();
  1849. }
  1850. void Parkspace_search_response_msg::clear_query_parkspace_info_ex() {
  1851. query_parkspace_info_ex_.Clear();
  1852. }
  1853. #if !defined(_MSC_VER) || _MSC_VER >= 1900
  1854. const int Parkspace_search_response_msg::kBaseInfoFieldNumber;
  1855. const int Parkspace_search_response_msg::kCommandKeyFieldNumber;
  1856. const int Parkspace_search_response_msg::kErrorManagerFieldNumber;
  1857. const int Parkspace_search_response_msg::kQueryParkspaceInfoExFieldNumber;
  1858. #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
  1859. Parkspace_search_response_msg::Parkspace_search_response_msg()
  1860. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  1861. ::google::protobuf::internal::InitSCC(
  1862. &protobuf_parkspace_5fallocation_5fmessage_2eproto::scc_info_Parkspace_search_response_msg.base);
  1863. SharedCtor();
  1864. // @@protoc_insertion_point(constructor:message.Parkspace_search_response_msg)
  1865. }
  1866. Parkspace_search_response_msg::Parkspace_search_response_msg(const Parkspace_search_response_msg& from)
  1867. : ::google::protobuf::Message(),
  1868. _internal_metadata_(NULL),
  1869. _has_bits_(from._has_bits_),
  1870. query_parkspace_info_ex_(from.query_parkspace_info_ex_) {
  1871. _internal_metadata_.MergeFrom(from._internal_metadata_);
  1872. command_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1873. if (from.has_command_key()) {
  1874. command_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.command_key_);
  1875. }
  1876. if (from.has_base_info()) {
  1877. base_info_ = new ::message::Base_info(*from.base_info_);
  1878. } else {
  1879. base_info_ = NULL;
  1880. }
  1881. if (from.has_error_manager()) {
  1882. error_manager_ = new ::message::Error_manager(*from.error_manager_);
  1883. } else {
  1884. error_manager_ = NULL;
  1885. }
  1886. // @@protoc_insertion_point(copy_constructor:message.Parkspace_search_response_msg)
  1887. }
  1888. void Parkspace_search_response_msg::SharedCtor() {
  1889. command_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1890. ::memset(&base_info_, 0, static_cast<size_t>(
  1891. reinterpret_cast<char*>(&error_manager_) -
  1892. reinterpret_cast<char*>(&base_info_)) + sizeof(error_manager_));
  1893. }
  1894. Parkspace_search_response_msg::~Parkspace_search_response_msg() {
  1895. // @@protoc_insertion_point(destructor:message.Parkspace_search_response_msg)
  1896. SharedDtor();
  1897. }
  1898. void Parkspace_search_response_msg::SharedDtor() {
  1899. command_key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1900. if (this != internal_default_instance()) delete base_info_;
  1901. if (this != internal_default_instance()) delete error_manager_;
  1902. }
  1903. void Parkspace_search_response_msg::SetCachedSize(int size) const {
  1904. _cached_size_.Set(size);
  1905. }
  1906. const ::google::protobuf::Descriptor* Parkspace_search_response_msg::descriptor() {
  1907. ::protobuf_parkspace_5fallocation_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  1908. return ::protobuf_parkspace_5fallocation_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
  1909. }
  1910. const Parkspace_search_response_msg& Parkspace_search_response_msg::default_instance() {
  1911. ::google::protobuf::internal::InitSCC(&protobuf_parkspace_5fallocation_5fmessage_2eproto::scc_info_Parkspace_search_response_msg.base);
  1912. return *internal_default_instance();
  1913. }
  1914. void Parkspace_search_response_msg::Clear() {
  1915. // @@protoc_insertion_point(message_clear_start:message.Parkspace_search_response_msg)
  1916. ::google::protobuf::uint32 cached_has_bits = 0;
  1917. // Prevent compiler warnings about cached_has_bits being unused
  1918. (void) cached_has_bits;
  1919. query_parkspace_info_ex_.Clear();
  1920. cached_has_bits = _has_bits_[0];
  1921. if (cached_has_bits & 7u) {
  1922. if (cached_has_bits & 0x00000001u) {
  1923. command_key_.ClearNonDefaultToEmptyNoArena();
  1924. }
  1925. if (cached_has_bits & 0x00000002u) {
  1926. GOOGLE_DCHECK(base_info_ != NULL);
  1927. base_info_->Clear();
  1928. }
  1929. if (cached_has_bits & 0x00000004u) {
  1930. GOOGLE_DCHECK(error_manager_ != NULL);
  1931. error_manager_->Clear();
  1932. }
  1933. }
  1934. _has_bits_.Clear();
  1935. _internal_metadata_.Clear();
  1936. }
  1937. bool Parkspace_search_response_msg::MergePartialFromCodedStream(
  1938. ::google::protobuf::io::CodedInputStream* input) {
  1939. #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
  1940. ::google::protobuf::uint32 tag;
  1941. // @@protoc_insertion_point(parse_start:message.Parkspace_search_response_msg)
  1942. for (;;) {
  1943. ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
  1944. tag = p.first;
  1945. if (!p.second) goto handle_unusual;
  1946. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  1947. // required .message.Base_info base_info = 1;
  1948. case 1: {
  1949. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1950. static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
  1951. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  1952. input, mutable_base_info()));
  1953. } else {
  1954. goto handle_unusual;
  1955. }
  1956. break;
  1957. }
  1958. // required string command_key = 2;
  1959. case 2: {
  1960. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1961. static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
  1962. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1963. input, this->mutable_command_key()));
  1964. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  1965. this->command_key().data(), static_cast<int>(this->command_key().length()),
  1966. ::google::protobuf::internal::WireFormat::PARSE,
  1967. "message.Parkspace_search_response_msg.command_key");
  1968. } else {
  1969. goto handle_unusual;
  1970. }
  1971. break;
  1972. }
  1973. // required .message.Error_manager error_manager = 3;
  1974. case 3: {
  1975. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1976. static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
  1977. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  1978. input, mutable_error_manager()));
  1979. } else {
  1980. goto handle_unusual;
  1981. }
  1982. break;
  1983. }
  1984. // repeated .message.Parkspace_info query_parkspace_info_ex = 4;
  1985. case 4: {
  1986. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1987. static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
  1988. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  1989. input, add_query_parkspace_info_ex()));
  1990. } else {
  1991. goto handle_unusual;
  1992. }
  1993. break;
  1994. }
  1995. default: {
  1996. handle_unusual:
  1997. if (tag == 0) {
  1998. goto success;
  1999. }
  2000. DO_(::google::protobuf::internal::WireFormat::SkipField(
  2001. input, tag, _internal_metadata_.mutable_unknown_fields()));
  2002. break;
  2003. }
  2004. }
  2005. }
  2006. success:
  2007. // @@protoc_insertion_point(parse_success:message.Parkspace_search_response_msg)
  2008. return true;
  2009. failure:
  2010. // @@protoc_insertion_point(parse_failure:message.Parkspace_search_response_msg)
  2011. return false;
  2012. #undef DO_
  2013. }
  2014. void Parkspace_search_response_msg::SerializeWithCachedSizes(
  2015. ::google::protobuf::io::CodedOutputStream* output) const {
  2016. // @@protoc_insertion_point(serialize_start:message.Parkspace_search_response_msg)
  2017. ::google::protobuf::uint32 cached_has_bits = 0;
  2018. (void) cached_has_bits;
  2019. cached_has_bits = _has_bits_[0];
  2020. // required .message.Base_info base_info = 1;
  2021. if (cached_has_bits & 0x00000002u) {
  2022. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  2023. 1, this->_internal_base_info(), output);
  2024. }
  2025. // required string command_key = 2;
  2026. if (cached_has_bits & 0x00000001u) {
  2027. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  2028. this->command_key().data(), static_cast<int>(this->command_key().length()),
  2029. ::google::protobuf::internal::WireFormat::SERIALIZE,
  2030. "message.Parkspace_search_response_msg.command_key");
  2031. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  2032. 2, this->command_key(), output);
  2033. }
  2034. // required .message.Error_manager error_manager = 3;
  2035. if (cached_has_bits & 0x00000004u) {
  2036. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  2037. 3, this->_internal_error_manager(), output);
  2038. }
  2039. // repeated .message.Parkspace_info query_parkspace_info_ex = 4;
  2040. for (unsigned int i = 0,
  2041. n = static_cast<unsigned int>(this->query_parkspace_info_ex_size()); i < n; i++) {
  2042. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  2043. 4,
  2044. this->query_parkspace_info_ex(static_cast<int>(i)),
  2045. output);
  2046. }
  2047. if (_internal_metadata_.have_unknown_fields()) {
  2048. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  2049. _internal_metadata_.unknown_fields(), output);
  2050. }
  2051. // @@protoc_insertion_point(serialize_end:message.Parkspace_search_response_msg)
  2052. }
  2053. ::google::protobuf::uint8* Parkspace_search_response_msg::InternalSerializeWithCachedSizesToArray(
  2054. bool deterministic, ::google::protobuf::uint8* target) const {
  2055. (void)deterministic; // Unused
  2056. // @@protoc_insertion_point(serialize_to_array_start:message.Parkspace_search_response_msg)
  2057. ::google::protobuf::uint32 cached_has_bits = 0;
  2058. (void) cached_has_bits;
  2059. cached_has_bits = _has_bits_[0];
  2060. // required .message.Base_info base_info = 1;
  2061. if (cached_has_bits & 0x00000002u) {
  2062. target = ::google::protobuf::internal::WireFormatLite::
  2063. InternalWriteMessageToArray(
  2064. 1, this->_internal_base_info(), deterministic, target);
  2065. }
  2066. // required string command_key = 2;
  2067. if (cached_has_bits & 0x00000001u) {
  2068. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  2069. this->command_key().data(), static_cast<int>(this->command_key().length()),
  2070. ::google::protobuf::internal::WireFormat::SERIALIZE,
  2071. "message.Parkspace_search_response_msg.command_key");
  2072. target =
  2073. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  2074. 2, this->command_key(), target);
  2075. }
  2076. // required .message.Error_manager error_manager = 3;
  2077. if (cached_has_bits & 0x00000004u) {
  2078. target = ::google::protobuf::internal::WireFormatLite::
  2079. InternalWriteMessageToArray(
  2080. 3, this->_internal_error_manager(), deterministic, target);
  2081. }
  2082. // repeated .message.Parkspace_info query_parkspace_info_ex = 4;
  2083. for (unsigned int i = 0,
  2084. n = static_cast<unsigned int>(this->query_parkspace_info_ex_size()); i < n; i++) {
  2085. target = ::google::protobuf::internal::WireFormatLite::
  2086. InternalWriteMessageToArray(
  2087. 4, this->query_parkspace_info_ex(static_cast<int>(i)), deterministic, target);
  2088. }
  2089. if (_internal_metadata_.have_unknown_fields()) {
  2090. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  2091. _internal_metadata_.unknown_fields(), target);
  2092. }
  2093. // @@protoc_insertion_point(serialize_to_array_end:message.Parkspace_search_response_msg)
  2094. return target;
  2095. }
  2096. size_t Parkspace_search_response_msg::RequiredFieldsByteSizeFallback() const {
  2097. // @@protoc_insertion_point(required_fields_byte_size_fallback_start:message.Parkspace_search_response_msg)
  2098. size_t total_size = 0;
  2099. if (has_command_key()) {
  2100. // required string command_key = 2;
  2101. total_size += 1 +
  2102. ::google::protobuf::internal::WireFormatLite::StringSize(
  2103. this->command_key());
  2104. }
  2105. if (has_base_info()) {
  2106. // required .message.Base_info base_info = 1;
  2107. total_size += 1 +
  2108. ::google::protobuf::internal::WireFormatLite::MessageSize(
  2109. *base_info_);
  2110. }
  2111. if (has_error_manager()) {
  2112. // required .message.Error_manager error_manager = 3;
  2113. total_size += 1 +
  2114. ::google::protobuf::internal::WireFormatLite::MessageSize(
  2115. *error_manager_);
  2116. }
  2117. return total_size;
  2118. }
  2119. size_t Parkspace_search_response_msg::ByteSizeLong() const {
  2120. // @@protoc_insertion_point(message_byte_size_start:message.Parkspace_search_response_msg)
  2121. size_t total_size = 0;
  2122. if (_internal_metadata_.have_unknown_fields()) {
  2123. total_size +=
  2124. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  2125. _internal_metadata_.unknown_fields());
  2126. }
  2127. if (((_has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present.
  2128. // required string command_key = 2;
  2129. total_size += 1 +
  2130. ::google::protobuf::internal::WireFormatLite::StringSize(
  2131. this->command_key());
  2132. // required .message.Base_info base_info = 1;
  2133. total_size += 1 +
  2134. ::google::protobuf::internal::WireFormatLite::MessageSize(
  2135. *base_info_);
  2136. // required .message.Error_manager error_manager = 3;
  2137. total_size += 1 +
  2138. ::google::protobuf::internal::WireFormatLite::MessageSize(
  2139. *error_manager_);
  2140. } else {
  2141. total_size += RequiredFieldsByteSizeFallback();
  2142. }
  2143. // repeated .message.Parkspace_info query_parkspace_info_ex = 4;
  2144. {
  2145. unsigned int count = static_cast<unsigned int>(this->query_parkspace_info_ex_size());
  2146. total_size += 1UL * count;
  2147. for (unsigned int i = 0; i < count; i++) {
  2148. total_size +=
  2149. ::google::protobuf::internal::WireFormatLite::MessageSize(
  2150. this->query_parkspace_info_ex(static_cast<int>(i)));
  2151. }
  2152. }
  2153. int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
  2154. SetCachedSize(cached_size);
  2155. return total_size;
  2156. }
  2157. void Parkspace_search_response_msg::MergeFrom(const ::google::protobuf::Message& from) {
  2158. // @@protoc_insertion_point(generalized_merge_from_start:message.Parkspace_search_response_msg)
  2159. GOOGLE_DCHECK_NE(&from, this);
  2160. const Parkspace_search_response_msg* source =
  2161. ::google::protobuf::internal::DynamicCastToGenerated<const Parkspace_search_response_msg>(
  2162. &from);
  2163. if (source == NULL) {
  2164. // @@protoc_insertion_point(generalized_merge_from_cast_fail:message.Parkspace_search_response_msg)
  2165. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  2166. } else {
  2167. // @@protoc_insertion_point(generalized_merge_from_cast_success:message.Parkspace_search_response_msg)
  2168. MergeFrom(*source);
  2169. }
  2170. }
  2171. void Parkspace_search_response_msg::MergeFrom(const Parkspace_search_response_msg& from) {
  2172. // @@protoc_insertion_point(class_specific_merge_from_start:message.Parkspace_search_response_msg)
  2173. GOOGLE_DCHECK_NE(&from, this);
  2174. _internal_metadata_.MergeFrom(from._internal_metadata_);
  2175. ::google::protobuf::uint32 cached_has_bits = 0;
  2176. (void) cached_has_bits;
  2177. query_parkspace_info_ex_.MergeFrom(from.query_parkspace_info_ex_);
  2178. cached_has_bits = from._has_bits_[0];
  2179. if (cached_has_bits & 7u) {
  2180. if (cached_has_bits & 0x00000001u) {
  2181. set_has_command_key();
  2182. command_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.command_key_);
  2183. }
  2184. if (cached_has_bits & 0x00000002u) {
  2185. mutable_base_info()->::message::Base_info::MergeFrom(from.base_info());
  2186. }
  2187. if (cached_has_bits & 0x00000004u) {
  2188. mutable_error_manager()->::message::Error_manager::MergeFrom(from.error_manager());
  2189. }
  2190. }
  2191. }
  2192. void Parkspace_search_response_msg::CopyFrom(const ::google::protobuf::Message& from) {
  2193. // @@protoc_insertion_point(generalized_copy_from_start:message.Parkspace_search_response_msg)
  2194. if (&from == this) return;
  2195. Clear();
  2196. MergeFrom(from);
  2197. }
  2198. void Parkspace_search_response_msg::CopyFrom(const Parkspace_search_response_msg& from) {
  2199. // @@protoc_insertion_point(class_specific_copy_from_start:message.Parkspace_search_response_msg)
  2200. if (&from == this) return;
  2201. Clear();
  2202. MergeFrom(from);
  2203. }
  2204. bool Parkspace_search_response_msg::IsInitialized() const {
  2205. if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false;
  2206. if (has_base_info()) {
  2207. if (!this->base_info_->IsInitialized()) return false;
  2208. }
  2209. if (has_error_manager()) {
  2210. if (!this->error_manager_->IsInitialized()) return false;
  2211. }
  2212. return true;
  2213. }
  2214. void Parkspace_search_response_msg::Swap(Parkspace_search_response_msg* other) {
  2215. if (other == this) return;
  2216. InternalSwap(other);
  2217. }
  2218. void Parkspace_search_response_msg::InternalSwap(Parkspace_search_response_msg* other) {
  2219. using std::swap;
  2220. CastToBase(&query_parkspace_info_ex_)->InternalSwap(CastToBase(&other->query_parkspace_info_ex_));
  2221. command_key_.Swap(&other->command_key_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  2222. GetArenaNoVirtual());
  2223. swap(base_info_, other->base_info_);
  2224. swap(error_manager_, other->error_manager_);
  2225. swap(_has_bits_[0], other->_has_bits_[0]);
  2226. _internal_metadata_.Swap(&other->_internal_metadata_);
  2227. }
  2228. ::google::protobuf::Metadata Parkspace_search_response_msg::GetMetadata() const {
  2229. protobuf_parkspace_5fallocation_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  2230. return ::protobuf_parkspace_5fallocation_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages];
  2231. }
  2232. // ===================================================================
  2233. void Parkspace_release_request_msg::InitAsDefaultInstance() {
  2234. ::message::_Parkspace_release_request_msg_default_instance_._instance.get_mutable()->base_info_ = const_cast< ::message::Base_info*>(
  2235. ::message::Base_info::internal_default_instance());
  2236. }
  2237. void Parkspace_release_request_msg::clear_base_info() {
  2238. if (base_info_ != NULL) base_info_->Clear();
  2239. clear_has_base_info();
  2240. }
  2241. void Parkspace_release_request_msg::clear_release_parkspace_info_ex() {
  2242. release_parkspace_info_ex_.Clear();
  2243. }
  2244. #if !defined(_MSC_VER) || _MSC_VER >= 1900
  2245. const int Parkspace_release_request_msg::kBaseInfoFieldNumber;
  2246. const int Parkspace_release_request_msg::kCommandKeyFieldNumber;
  2247. const int Parkspace_release_request_msg::kReleaseParkspaceInfoExFieldNumber;
  2248. #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
  2249. Parkspace_release_request_msg::Parkspace_release_request_msg()
  2250. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  2251. ::google::protobuf::internal::InitSCC(
  2252. &protobuf_parkspace_5fallocation_5fmessage_2eproto::scc_info_Parkspace_release_request_msg.base);
  2253. SharedCtor();
  2254. // @@protoc_insertion_point(constructor:message.Parkspace_release_request_msg)
  2255. }
  2256. Parkspace_release_request_msg::Parkspace_release_request_msg(const Parkspace_release_request_msg& from)
  2257. : ::google::protobuf::Message(),
  2258. _internal_metadata_(NULL),
  2259. _has_bits_(from._has_bits_),
  2260. release_parkspace_info_ex_(from.release_parkspace_info_ex_) {
  2261. _internal_metadata_.MergeFrom(from._internal_metadata_);
  2262. command_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2263. if (from.has_command_key()) {
  2264. command_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.command_key_);
  2265. }
  2266. if (from.has_base_info()) {
  2267. base_info_ = new ::message::Base_info(*from.base_info_);
  2268. } else {
  2269. base_info_ = NULL;
  2270. }
  2271. // @@protoc_insertion_point(copy_constructor:message.Parkspace_release_request_msg)
  2272. }
  2273. void Parkspace_release_request_msg::SharedCtor() {
  2274. command_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2275. base_info_ = NULL;
  2276. }
  2277. Parkspace_release_request_msg::~Parkspace_release_request_msg() {
  2278. // @@protoc_insertion_point(destructor:message.Parkspace_release_request_msg)
  2279. SharedDtor();
  2280. }
  2281. void Parkspace_release_request_msg::SharedDtor() {
  2282. command_key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2283. if (this != internal_default_instance()) delete base_info_;
  2284. }
  2285. void Parkspace_release_request_msg::SetCachedSize(int size) const {
  2286. _cached_size_.Set(size);
  2287. }
  2288. const ::google::protobuf::Descriptor* Parkspace_release_request_msg::descriptor() {
  2289. ::protobuf_parkspace_5fallocation_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  2290. return ::protobuf_parkspace_5fallocation_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
  2291. }
  2292. const Parkspace_release_request_msg& Parkspace_release_request_msg::default_instance() {
  2293. ::google::protobuf::internal::InitSCC(&protobuf_parkspace_5fallocation_5fmessage_2eproto::scc_info_Parkspace_release_request_msg.base);
  2294. return *internal_default_instance();
  2295. }
  2296. void Parkspace_release_request_msg::Clear() {
  2297. // @@protoc_insertion_point(message_clear_start:message.Parkspace_release_request_msg)
  2298. ::google::protobuf::uint32 cached_has_bits = 0;
  2299. // Prevent compiler warnings about cached_has_bits being unused
  2300. (void) cached_has_bits;
  2301. release_parkspace_info_ex_.Clear();
  2302. cached_has_bits = _has_bits_[0];
  2303. if (cached_has_bits & 3u) {
  2304. if (cached_has_bits & 0x00000001u) {
  2305. command_key_.ClearNonDefaultToEmptyNoArena();
  2306. }
  2307. if (cached_has_bits & 0x00000002u) {
  2308. GOOGLE_DCHECK(base_info_ != NULL);
  2309. base_info_->Clear();
  2310. }
  2311. }
  2312. _has_bits_.Clear();
  2313. _internal_metadata_.Clear();
  2314. }
  2315. bool Parkspace_release_request_msg::MergePartialFromCodedStream(
  2316. ::google::protobuf::io::CodedInputStream* input) {
  2317. #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
  2318. ::google::protobuf::uint32 tag;
  2319. // @@protoc_insertion_point(parse_start:message.Parkspace_release_request_msg)
  2320. for (;;) {
  2321. ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
  2322. tag = p.first;
  2323. if (!p.second) goto handle_unusual;
  2324. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  2325. // required .message.Base_info base_info = 1;
  2326. case 1: {
  2327. if (static_cast< ::google::protobuf::uint8>(tag) ==
  2328. static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
  2329. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  2330. input, mutable_base_info()));
  2331. } else {
  2332. goto handle_unusual;
  2333. }
  2334. break;
  2335. }
  2336. // required string command_key = 2;
  2337. case 2: {
  2338. if (static_cast< ::google::protobuf::uint8>(tag) ==
  2339. static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
  2340. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  2341. input, this->mutable_command_key()));
  2342. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  2343. this->command_key().data(), static_cast<int>(this->command_key().length()),
  2344. ::google::protobuf::internal::WireFormat::PARSE,
  2345. "message.Parkspace_release_request_msg.command_key");
  2346. } else {
  2347. goto handle_unusual;
  2348. }
  2349. break;
  2350. }
  2351. // repeated .message.Parkspace_info release_parkspace_info_ex = 3;
  2352. case 3: {
  2353. if (static_cast< ::google::protobuf::uint8>(tag) ==
  2354. static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
  2355. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  2356. input, add_release_parkspace_info_ex()));
  2357. } else {
  2358. goto handle_unusual;
  2359. }
  2360. break;
  2361. }
  2362. default: {
  2363. handle_unusual:
  2364. if (tag == 0) {
  2365. goto success;
  2366. }
  2367. DO_(::google::protobuf::internal::WireFormat::SkipField(
  2368. input, tag, _internal_metadata_.mutable_unknown_fields()));
  2369. break;
  2370. }
  2371. }
  2372. }
  2373. success:
  2374. // @@protoc_insertion_point(parse_success:message.Parkspace_release_request_msg)
  2375. return true;
  2376. failure:
  2377. // @@protoc_insertion_point(parse_failure:message.Parkspace_release_request_msg)
  2378. return false;
  2379. #undef DO_
  2380. }
  2381. void Parkspace_release_request_msg::SerializeWithCachedSizes(
  2382. ::google::protobuf::io::CodedOutputStream* output) const {
  2383. // @@protoc_insertion_point(serialize_start:message.Parkspace_release_request_msg)
  2384. ::google::protobuf::uint32 cached_has_bits = 0;
  2385. (void) cached_has_bits;
  2386. cached_has_bits = _has_bits_[0];
  2387. // required .message.Base_info base_info = 1;
  2388. if (cached_has_bits & 0x00000002u) {
  2389. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  2390. 1, this->_internal_base_info(), output);
  2391. }
  2392. // required string command_key = 2;
  2393. if (cached_has_bits & 0x00000001u) {
  2394. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  2395. this->command_key().data(), static_cast<int>(this->command_key().length()),
  2396. ::google::protobuf::internal::WireFormat::SERIALIZE,
  2397. "message.Parkspace_release_request_msg.command_key");
  2398. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  2399. 2, this->command_key(), output);
  2400. }
  2401. // repeated .message.Parkspace_info release_parkspace_info_ex = 3;
  2402. for (unsigned int i = 0,
  2403. n = static_cast<unsigned int>(this->release_parkspace_info_ex_size()); i < n; i++) {
  2404. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  2405. 3,
  2406. this->release_parkspace_info_ex(static_cast<int>(i)),
  2407. output);
  2408. }
  2409. if (_internal_metadata_.have_unknown_fields()) {
  2410. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  2411. _internal_metadata_.unknown_fields(), output);
  2412. }
  2413. // @@protoc_insertion_point(serialize_end:message.Parkspace_release_request_msg)
  2414. }
  2415. ::google::protobuf::uint8* Parkspace_release_request_msg::InternalSerializeWithCachedSizesToArray(
  2416. bool deterministic, ::google::protobuf::uint8* target) const {
  2417. (void)deterministic; // Unused
  2418. // @@protoc_insertion_point(serialize_to_array_start:message.Parkspace_release_request_msg)
  2419. ::google::protobuf::uint32 cached_has_bits = 0;
  2420. (void) cached_has_bits;
  2421. cached_has_bits = _has_bits_[0];
  2422. // required .message.Base_info base_info = 1;
  2423. if (cached_has_bits & 0x00000002u) {
  2424. target = ::google::protobuf::internal::WireFormatLite::
  2425. InternalWriteMessageToArray(
  2426. 1, this->_internal_base_info(), deterministic, target);
  2427. }
  2428. // required string command_key = 2;
  2429. if (cached_has_bits & 0x00000001u) {
  2430. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  2431. this->command_key().data(), static_cast<int>(this->command_key().length()),
  2432. ::google::protobuf::internal::WireFormat::SERIALIZE,
  2433. "message.Parkspace_release_request_msg.command_key");
  2434. target =
  2435. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  2436. 2, this->command_key(), target);
  2437. }
  2438. // repeated .message.Parkspace_info release_parkspace_info_ex = 3;
  2439. for (unsigned int i = 0,
  2440. n = static_cast<unsigned int>(this->release_parkspace_info_ex_size()); i < n; i++) {
  2441. target = ::google::protobuf::internal::WireFormatLite::
  2442. InternalWriteMessageToArray(
  2443. 3, this->release_parkspace_info_ex(static_cast<int>(i)), deterministic, target);
  2444. }
  2445. if (_internal_metadata_.have_unknown_fields()) {
  2446. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  2447. _internal_metadata_.unknown_fields(), target);
  2448. }
  2449. // @@protoc_insertion_point(serialize_to_array_end:message.Parkspace_release_request_msg)
  2450. return target;
  2451. }
  2452. size_t Parkspace_release_request_msg::RequiredFieldsByteSizeFallback() const {
  2453. // @@protoc_insertion_point(required_fields_byte_size_fallback_start:message.Parkspace_release_request_msg)
  2454. size_t total_size = 0;
  2455. if (has_command_key()) {
  2456. // required string command_key = 2;
  2457. total_size += 1 +
  2458. ::google::protobuf::internal::WireFormatLite::StringSize(
  2459. this->command_key());
  2460. }
  2461. if (has_base_info()) {
  2462. // required .message.Base_info base_info = 1;
  2463. total_size += 1 +
  2464. ::google::protobuf::internal::WireFormatLite::MessageSize(
  2465. *base_info_);
  2466. }
  2467. return total_size;
  2468. }
  2469. size_t Parkspace_release_request_msg::ByteSizeLong() const {
  2470. // @@protoc_insertion_point(message_byte_size_start:message.Parkspace_release_request_msg)
  2471. size_t total_size = 0;
  2472. if (_internal_metadata_.have_unknown_fields()) {
  2473. total_size +=
  2474. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  2475. _internal_metadata_.unknown_fields());
  2476. }
  2477. if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present.
  2478. // required string command_key = 2;
  2479. total_size += 1 +
  2480. ::google::protobuf::internal::WireFormatLite::StringSize(
  2481. this->command_key());
  2482. // required .message.Base_info base_info = 1;
  2483. total_size += 1 +
  2484. ::google::protobuf::internal::WireFormatLite::MessageSize(
  2485. *base_info_);
  2486. } else {
  2487. total_size += RequiredFieldsByteSizeFallback();
  2488. }
  2489. // repeated .message.Parkspace_info release_parkspace_info_ex = 3;
  2490. {
  2491. unsigned int count = static_cast<unsigned int>(this->release_parkspace_info_ex_size());
  2492. total_size += 1UL * count;
  2493. for (unsigned int i = 0; i < count; i++) {
  2494. total_size +=
  2495. ::google::protobuf::internal::WireFormatLite::MessageSize(
  2496. this->release_parkspace_info_ex(static_cast<int>(i)));
  2497. }
  2498. }
  2499. int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
  2500. SetCachedSize(cached_size);
  2501. return total_size;
  2502. }
  2503. void Parkspace_release_request_msg::MergeFrom(const ::google::protobuf::Message& from) {
  2504. // @@protoc_insertion_point(generalized_merge_from_start:message.Parkspace_release_request_msg)
  2505. GOOGLE_DCHECK_NE(&from, this);
  2506. const Parkspace_release_request_msg* source =
  2507. ::google::protobuf::internal::DynamicCastToGenerated<const Parkspace_release_request_msg>(
  2508. &from);
  2509. if (source == NULL) {
  2510. // @@protoc_insertion_point(generalized_merge_from_cast_fail:message.Parkspace_release_request_msg)
  2511. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  2512. } else {
  2513. // @@protoc_insertion_point(generalized_merge_from_cast_success:message.Parkspace_release_request_msg)
  2514. MergeFrom(*source);
  2515. }
  2516. }
  2517. void Parkspace_release_request_msg::MergeFrom(const Parkspace_release_request_msg& from) {
  2518. // @@protoc_insertion_point(class_specific_merge_from_start:message.Parkspace_release_request_msg)
  2519. GOOGLE_DCHECK_NE(&from, this);
  2520. _internal_metadata_.MergeFrom(from._internal_metadata_);
  2521. ::google::protobuf::uint32 cached_has_bits = 0;
  2522. (void) cached_has_bits;
  2523. release_parkspace_info_ex_.MergeFrom(from.release_parkspace_info_ex_);
  2524. cached_has_bits = from._has_bits_[0];
  2525. if (cached_has_bits & 3u) {
  2526. if (cached_has_bits & 0x00000001u) {
  2527. set_has_command_key();
  2528. command_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.command_key_);
  2529. }
  2530. if (cached_has_bits & 0x00000002u) {
  2531. mutable_base_info()->::message::Base_info::MergeFrom(from.base_info());
  2532. }
  2533. }
  2534. }
  2535. void Parkspace_release_request_msg::CopyFrom(const ::google::protobuf::Message& from) {
  2536. // @@protoc_insertion_point(generalized_copy_from_start:message.Parkspace_release_request_msg)
  2537. if (&from == this) return;
  2538. Clear();
  2539. MergeFrom(from);
  2540. }
  2541. void Parkspace_release_request_msg::CopyFrom(const Parkspace_release_request_msg& from) {
  2542. // @@protoc_insertion_point(class_specific_copy_from_start:message.Parkspace_release_request_msg)
  2543. if (&from == this) return;
  2544. Clear();
  2545. MergeFrom(from);
  2546. }
  2547. bool Parkspace_release_request_msg::IsInitialized() const {
  2548. if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
  2549. if (has_base_info()) {
  2550. if (!this->base_info_->IsInitialized()) return false;
  2551. }
  2552. return true;
  2553. }
  2554. void Parkspace_release_request_msg::Swap(Parkspace_release_request_msg* other) {
  2555. if (other == this) return;
  2556. InternalSwap(other);
  2557. }
  2558. void Parkspace_release_request_msg::InternalSwap(Parkspace_release_request_msg* other) {
  2559. using std::swap;
  2560. CastToBase(&release_parkspace_info_ex_)->InternalSwap(CastToBase(&other->release_parkspace_info_ex_));
  2561. command_key_.Swap(&other->command_key_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  2562. GetArenaNoVirtual());
  2563. swap(base_info_, other->base_info_);
  2564. swap(_has_bits_[0], other->_has_bits_[0]);
  2565. _internal_metadata_.Swap(&other->_internal_metadata_);
  2566. }
  2567. ::google::protobuf::Metadata Parkspace_release_request_msg::GetMetadata() const {
  2568. protobuf_parkspace_5fallocation_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  2569. return ::protobuf_parkspace_5fallocation_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages];
  2570. }
  2571. // ===================================================================
  2572. void Parkspace_release_response_msg::InitAsDefaultInstance() {
  2573. ::message::_Parkspace_release_response_msg_default_instance_._instance.get_mutable()->base_info_ = const_cast< ::message::Base_info*>(
  2574. ::message::Base_info::internal_default_instance());
  2575. ::message::_Parkspace_release_response_msg_default_instance_._instance.get_mutable()->error_manager_ = const_cast< ::message::Error_manager*>(
  2576. ::message::Error_manager::internal_default_instance());
  2577. }
  2578. void Parkspace_release_response_msg::clear_base_info() {
  2579. if (base_info_ != NULL) base_info_->Clear();
  2580. clear_has_base_info();
  2581. }
  2582. void Parkspace_release_response_msg::clear_error_manager() {
  2583. if (error_manager_ != NULL) error_manager_->Clear();
  2584. clear_has_error_manager();
  2585. }
  2586. void Parkspace_release_response_msg::clear_release_parkspace_info_ex() {
  2587. release_parkspace_info_ex_.Clear();
  2588. }
  2589. #if !defined(_MSC_VER) || _MSC_VER >= 1900
  2590. const int Parkspace_release_response_msg::kBaseInfoFieldNumber;
  2591. const int Parkspace_release_response_msg::kCommandKeyFieldNumber;
  2592. const int Parkspace_release_response_msg::kErrorManagerFieldNumber;
  2593. const int Parkspace_release_response_msg::kReleaseParkspaceInfoExFieldNumber;
  2594. #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
  2595. Parkspace_release_response_msg::Parkspace_release_response_msg()
  2596. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  2597. ::google::protobuf::internal::InitSCC(
  2598. &protobuf_parkspace_5fallocation_5fmessage_2eproto::scc_info_Parkspace_release_response_msg.base);
  2599. SharedCtor();
  2600. // @@protoc_insertion_point(constructor:message.Parkspace_release_response_msg)
  2601. }
  2602. Parkspace_release_response_msg::Parkspace_release_response_msg(const Parkspace_release_response_msg& from)
  2603. : ::google::protobuf::Message(),
  2604. _internal_metadata_(NULL),
  2605. _has_bits_(from._has_bits_),
  2606. release_parkspace_info_ex_(from.release_parkspace_info_ex_) {
  2607. _internal_metadata_.MergeFrom(from._internal_metadata_);
  2608. command_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2609. if (from.has_command_key()) {
  2610. command_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.command_key_);
  2611. }
  2612. if (from.has_base_info()) {
  2613. base_info_ = new ::message::Base_info(*from.base_info_);
  2614. } else {
  2615. base_info_ = NULL;
  2616. }
  2617. if (from.has_error_manager()) {
  2618. error_manager_ = new ::message::Error_manager(*from.error_manager_);
  2619. } else {
  2620. error_manager_ = NULL;
  2621. }
  2622. // @@protoc_insertion_point(copy_constructor:message.Parkspace_release_response_msg)
  2623. }
  2624. void Parkspace_release_response_msg::SharedCtor() {
  2625. command_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2626. ::memset(&base_info_, 0, static_cast<size_t>(
  2627. reinterpret_cast<char*>(&error_manager_) -
  2628. reinterpret_cast<char*>(&base_info_)) + sizeof(error_manager_));
  2629. }
  2630. Parkspace_release_response_msg::~Parkspace_release_response_msg() {
  2631. // @@protoc_insertion_point(destructor:message.Parkspace_release_response_msg)
  2632. SharedDtor();
  2633. }
  2634. void Parkspace_release_response_msg::SharedDtor() {
  2635. command_key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2636. if (this != internal_default_instance()) delete base_info_;
  2637. if (this != internal_default_instance()) delete error_manager_;
  2638. }
  2639. void Parkspace_release_response_msg::SetCachedSize(int size) const {
  2640. _cached_size_.Set(size);
  2641. }
  2642. const ::google::protobuf::Descriptor* Parkspace_release_response_msg::descriptor() {
  2643. ::protobuf_parkspace_5fallocation_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  2644. return ::protobuf_parkspace_5fallocation_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
  2645. }
  2646. const Parkspace_release_response_msg& Parkspace_release_response_msg::default_instance() {
  2647. ::google::protobuf::internal::InitSCC(&protobuf_parkspace_5fallocation_5fmessage_2eproto::scc_info_Parkspace_release_response_msg.base);
  2648. return *internal_default_instance();
  2649. }
  2650. void Parkspace_release_response_msg::Clear() {
  2651. // @@protoc_insertion_point(message_clear_start:message.Parkspace_release_response_msg)
  2652. ::google::protobuf::uint32 cached_has_bits = 0;
  2653. // Prevent compiler warnings about cached_has_bits being unused
  2654. (void) cached_has_bits;
  2655. release_parkspace_info_ex_.Clear();
  2656. cached_has_bits = _has_bits_[0];
  2657. if (cached_has_bits & 7u) {
  2658. if (cached_has_bits & 0x00000001u) {
  2659. command_key_.ClearNonDefaultToEmptyNoArena();
  2660. }
  2661. if (cached_has_bits & 0x00000002u) {
  2662. GOOGLE_DCHECK(base_info_ != NULL);
  2663. base_info_->Clear();
  2664. }
  2665. if (cached_has_bits & 0x00000004u) {
  2666. GOOGLE_DCHECK(error_manager_ != NULL);
  2667. error_manager_->Clear();
  2668. }
  2669. }
  2670. _has_bits_.Clear();
  2671. _internal_metadata_.Clear();
  2672. }
  2673. bool Parkspace_release_response_msg::MergePartialFromCodedStream(
  2674. ::google::protobuf::io::CodedInputStream* input) {
  2675. #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
  2676. ::google::protobuf::uint32 tag;
  2677. // @@protoc_insertion_point(parse_start:message.Parkspace_release_response_msg)
  2678. for (;;) {
  2679. ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
  2680. tag = p.first;
  2681. if (!p.second) goto handle_unusual;
  2682. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  2683. // required .message.Base_info base_info = 1;
  2684. case 1: {
  2685. if (static_cast< ::google::protobuf::uint8>(tag) ==
  2686. static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
  2687. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  2688. input, mutable_base_info()));
  2689. } else {
  2690. goto handle_unusual;
  2691. }
  2692. break;
  2693. }
  2694. // required string command_key = 2;
  2695. case 2: {
  2696. if (static_cast< ::google::protobuf::uint8>(tag) ==
  2697. static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
  2698. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  2699. input, this->mutable_command_key()));
  2700. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  2701. this->command_key().data(), static_cast<int>(this->command_key().length()),
  2702. ::google::protobuf::internal::WireFormat::PARSE,
  2703. "message.Parkspace_release_response_msg.command_key");
  2704. } else {
  2705. goto handle_unusual;
  2706. }
  2707. break;
  2708. }
  2709. // required .message.Error_manager error_manager = 3;
  2710. case 3: {
  2711. if (static_cast< ::google::protobuf::uint8>(tag) ==
  2712. static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
  2713. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  2714. input, mutable_error_manager()));
  2715. } else {
  2716. goto handle_unusual;
  2717. }
  2718. break;
  2719. }
  2720. // repeated .message.Parkspace_info release_parkspace_info_ex = 4;
  2721. case 4: {
  2722. if (static_cast< ::google::protobuf::uint8>(tag) ==
  2723. static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
  2724. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  2725. input, add_release_parkspace_info_ex()));
  2726. } else {
  2727. goto handle_unusual;
  2728. }
  2729. break;
  2730. }
  2731. default: {
  2732. handle_unusual:
  2733. if (tag == 0) {
  2734. goto success;
  2735. }
  2736. DO_(::google::protobuf::internal::WireFormat::SkipField(
  2737. input, tag, _internal_metadata_.mutable_unknown_fields()));
  2738. break;
  2739. }
  2740. }
  2741. }
  2742. success:
  2743. // @@protoc_insertion_point(parse_success:message.Parkspace_release_response_msg)
  2744. return true;
  2745. failure:
  2746. // @@protoc_insertion_point(parse_failure:message.Parkspace_release_response_msg)
  2747. return false;
  2748. #undef DO_
  2749. }
  2750. void Parkspace_release_response_msg::SerializeWithCachedSizes(
  2751. ::google::protobuf::io::CodedOutputStream* output) const {
  2752. // @@protoc_insertion_point(serialize_start:message.Parkspace_release_response_msg)
  2753. ::google::protobuf::uint32 cached_has_bits = 0;
  2754. (void) cached_has_bits;
  2755. cached_has_bits = _has_bits_[0];
  2756. // required .message.Base_info base_info = 1;
  2757. if (cached_has_bits & 0x00000002u) {
  2758. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  2759. 1, this->_internal_base_info(), output);
  2760. }
  2761. // required string command_key = 2;
  2762. if (cached_has_bits & 0x00000001u) {
  2763. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  2764. this->command_key().data(), static_cast<int>(this->command_key().length()),
  2765. ::google::protobuf::internal::WireFormat::SERIALIZE,
  2766. "message.Parkspace_release_response_msg.command_key");
  2767. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  2768. 2, this->command_key(), output);
  2769. }
  2770. // required .message.Error_manager error_manager = 3;
  2771. if (cached_has_bits & 0x00000004u) {
  2772. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  2773. 3, this->_internal_error_manager(), output);
  2774. }
  2775. // repeated .message.Parkspace_info release_parkspace_info_ex = 4;
  2776. for (unsigned int i = 0,
  2777. n = static_cast<unsigned int>(this->release_parkspace_info_ex_size()); i < n; i++) {
  2778. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  2779. 4,
  2780. this->release_parkspace_info_ex(static_cast<int>(i)),
  2781. output);
  2782. }
  2783. if (_internal_metadata_.have_unknown_fields()) {
  2784. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  2785. _internal_metadata_.unknown_fields(), output);
  2786. }
  2787. // @@protoc_insertion_point(serialize_end:message.Parkspace_release_response_msg)
  2788. }
  2789. ::google::protobuf::uint8* Parkspace_release_response_msg::InternalSerializeWithCachedSizesToArray(
  2790. bool deterministic, ::google::protobuf::uint8* target) const {
  2791. (void)deterministic; // Unused
  2792. // @@protoc_insertion_point(serialize_to_array_start:message.Parkspace_release_response_msg)
  2793. ::google::protobuf::uint32 cached_has_bits = 0;
  2794. (void) cached_has_bits;
  2795. cached_has_bits = _has_bits_[0];
  2796. // required .message.Base_info base_info = 1;
  2797. if (cached_has_bits & 0x00000002u) {
  2798. target = ::google::protobuf::internal::WireFormatLite::
  2799. InternalWriteMessageToArray(
  2800. 1, this->_internal_base_info(), deterministic, target);
  2801. }
  2802. // required string command_key = 2;
  2803. if (cached_has_bits & 0x00000001u) {
  2804. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  2805. this->command_key().data(), static_cast<int>(this->command_key().length()),
  2806. ::google::protobuf::internal::WireFormat::SERIALIZE,
  2807. "message.Parkspace_release_response_msg.command_key");
  2808. target =
  2809. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  2810. 2, this->command_key(), target);
  2811. }
  2812. // required .message.Error_manager error_manager = 3;
  2813. if (cached_has_bits & 0x00000004u) {
  2814. target = ::google::protobuf::internal::WireFormatLite::
  2815. InternalWriteMessageToArray(
  2816. 3, this->_internal_error_manager(), deterministic, target);
  2817. }
  2818. // repeated .message.Parkspace_info release_parkspace_info_ex = 4;
  2819. for (unsigned int i = 0,
  2820. n = static_cast<unsigned int>(this->release_parkspace_info_ex_size()); i < n; i++) {
  2821. target = ::google::protobuf::internal::WireFormatLite::
  2822. InternalWriteMessageToArray(
  2823. 4, this->release_parkspace_info_ex(static_cast<int>(i)), deterministic, target);
  2824. }
  2825. if (_internal_metadata_.have_unknown_fields()) {
  2826. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  2827. _internal_metadata_.unknown_fields(), target);
  2828. }
  2829. // @@protoc_insertion_point(serialize_to_array_end:message.Parkspace_release_response_msg)
  2830. return target;
  2831. }
  2832. size_t Parkspace_release_response_msg::RequiredFieldsByteSizeFallback() const {
  2833. // @@protoc_insertion_point(required_fields_byte_size_fallback_start:message.Parkspace_release_response_msg)
  2834. size_t total_size = 0;
  2835. if (has_command_key()) {
  2836. // required string command_key = 2;
  2837. total_size += 1 +
  2838. ::google::protobuf::internal::WireFormatLite::StringSize(
  2839. this->command_key());
  2840. }
  2841. if (has_base_info()) {
  2842. // required .message.Base_info base_info = 1;
  2843. total_size += 1 +
  2844. ::google::protobuf::internal::WireFormatLite::MessageSize(
  2845. *base_info_);
  2846. }
  2847. if (has_error_manager()) {
  2848. // required .message.Error_manager error_manager = 3;
  2849. total_size += 1 +
  2850. ::google::protobuf::internal::WireFormatLite::MessageSize(
  2851. *error_manager_);
  2852. }
  2853. return total_size;
  2854. }
  2855. size_t Parkspace_release_response_msg::ByteSizeLong() const {
  2856. // @@protoc_insertion_point(message_byte_size_start:message.Parkspace_release_response_msg)
  2857. size_t total_size = 0;
  2858. if (_internal_metadata_.have_unknown_fields()) {
  2859. total_size +=
  2860. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  2861. _internal_metadata_.unknown_fields());
  2862. }
  2863. if (((_has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present.
  2864. // required string command_key = 2;
  2865. total_size += 1 +
  2866. ::google::protobuf::internal::WireFormatLite::StringSize(
  2867. this->command_key());
  2868. // required .message.Base_info base_info = 1;
  2869. total_size += 1 +
  2870. ::google::protobuf::internal::WireFormatLite::MessageSize(
  2871. *base_info_);
  2872. // required .message.Error_manager error_manager = 3;
  2873. total_size += 1 +
  2874. ::google::protobuf::internal::WireFormatLite::MessageSize(
  2875. *error_manager_);
  2876. } else {
  2877. total_size += RequiredFieldsByteSizeFallback();
  2878. }
  2879. // repeated .message.Parkspace_info release_parkspace_info_ex = 4;
  2880. {
  2881. unsigned int count = static_cast<unsigned int>(this->release_parkspace_info_ex_size());
  2882. total_size += 1UL * count;
  2883. for (unsigned int i = 0; i < count; i++) {
  2884. total_size +=
  2885. ::google::protobuf::internal::WireFormatLite::MessageSize(
  2886. this->release_parkspace_info_ex(static_cast<int>(i)));
  2887. }
  2888. }
  2889. int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
  2890. SetCachedSize(cached_size);
  2891. return total_size;
  2892. }
  2893. void Parkspace_release_response_msg::MergeFrom(const ::google::protobuf::Message& from) {
  2894. // @@protoc_insertion_point(generalized_merge_from_start:message.Parkspace_release_response_msg)
  2895. GOOGLE_DCHECK_NE(&from, this);
  2896. const Parkspace_release_response_msg* source =
  2897. ::google::protobuf::internal::DynamicCastToGenerated<const Parkspace_release_response_msg>(
  2898. &from);
  2899. if (source == NULL) {
  2900. // @@protoc_insertion_point(generalized_merge_from_cast_fail:message.Parkspace_release_response_msg)
  2901. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  2902. } else {
  2903. // @@protoc_insertion_point(generalized_merge_from_cast_success:message.Parkspace_release_response_msg)
  2904. MergeFrom(*source);
  2905. }
  2906. }
  2907. void Parkspace_release_response_msg::MergeFrom(const Parkspace_release_response_msg& from) {
  2908. // @@protoc_insertion_point(class_specific_merge_from_start:message.Parkspace_release_response_msg)
  2909. GOOGLE_DCHECK_NE(&from, this);
  2910. _internal_metadata_.MergeFrom(from._internal_metadata_);
  2911. ::google::protobuf::uint32 cached_has_bits = 0;
  2912. (void) cached_has_bits;
  2913. release_parkspace_info_ex_.MergeFrom(from.release_parkspace_info_ex_);
  2914. cached_has_bits = from._has_bits_[0];
  2915. if (cached_has_bits & 7u) {
  2916. if (cached_has_bits & 0x00000001u) {
  2917. set_has_command_key();
  2918. command_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.command_key_);
  2919. }
  2920. if (cached_has_bits & 0x00000002u) {
  2921. mutable_base_info()->::message::Base_info::MergeFrom(from.base_info());
  2922. }
  2923. if (cached_has_bits & 0x00000004u) {
  2924. mutable_error_manager()->::message::Error_manager::MergeFrom(from.error_manager());
  2925. }
  2926. }
  2927. }
  2928. void Parkspace_release_response_msg::CopyFrom(const ::google::protobuf::Message& from) {
  2929. // @@protoc_insertion_point(generalized_copy_from_start:message.Parkspace_release_response_msg)
  2930. if (&from == this) return;
  2931. Clear();
  2932. MergeFrom(from);
  2933. }
  2934. void Parkspace_release_response_msg::CopyFrom(const Parkspace_release_response_msg& from) {
  2935. // @@protoc_insertion_point(class_specific_copy_from_start:message.Parkspace_release_response_msg)
  2936. if (&from == this) return;
  2937. Clear();
  2938. MergeFrom(from);
  2939. }
  2940. bool Parkspace_release_response_msg::IsInitialized() const {
  2941. if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false;
  2942. if (has_base_info()) {
  2943. if (!this->base_info_->IsInitialized()) return false;
  2944. }
  2945. if (has_error_manager()) {
  2946. if (!this->error_manager_->IsInitialized()) return false;
  2947. }
  2948. return true;
  2949. }
  2950. void Parkspace_release_response_msg::Swap(Parkspace_release_response_msg* other) {
  2951. if (other == this) return;
  2952. InternalSwap(other);
  2953. }
  2954. void Parkspace_release_response_msg::InternalSwap(Parkspace_release_response_msg* other) {
  2955. using std::swap;
  2956. CastToBase(&release_parkspace_info_ex_)->InternalSwap(CastToBase(&other->release_parkspace_info_ex_));
  2957. command_key_.Swap(&other->command_key_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  2958. GetArenaNoVirtual());
  2959. swap(base_info_, other->base_info_);
  2960. swap(error_manager_, other->error_manager_);
  2961. swap(_has_bits_[0], other->_has_bits_[0]);
  2962. _internal_metadata_.Swap(&other->_internal_metadata_);
  2963. }
  2964. ::google::protobuf::Metadata Parkspace_release_response_msg::GetMetadata() const {
  2965. protobuf_parkspace_5fallocation_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  2966. return ::protobuf_parkspace_5fallocation_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages];
  2967. }
  2968. // ===================================================================
  2969. void Parkspace_force_update_request_msg::InitAsDefaultInstance() {
  2970. ::message::_Parkspace_force_update_request_msg_default_instance_._instance.get_mutable()->base_info_ = const_cast< ::message::Base_info*>(
  2971. ::message::Base_info::internal_default_instance());
  2972. }
  2973. void Parkspace_force_update_request_msg::clear_base_info() {
  2974. if (base_info_ != NULL) base_info_->Clear();
  2975. clear_has_base_info();
  2976. }
  2977. void Parkspace_force_update_request_msg::clear_manual_parkspace_info_ex() {
  2978. manual_parkspace_info_ex_.Clear();
  2979. }
  2980. #if !defined(_MSC_VER) || _MSC_VER >= 1900
  2981. const int Parkspace_force_update_request_msg::kBaseInfoFieldNumber;
  2982. const int Parkspace_force_update_request_msg::kCommandKeyFieldNumber;
  2983. const int Parkspace_force_update_request_msg::kManualParkspaceInfoExFieldNumber;
  2984. #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
  2985. Parkspace_force_update_request_msg::Parkspace_force_update_request_msg()
  2986. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  2987. ::google::protobuf::internal::InitSCC(
  2988. &protobuf_parkspace_5fallocation_5fmessage_2eproto::scc_info_Parkspace_force_update_request_msg.base);
  2989. SharedCtor();
  2990. // @@protoc_insertion_point(constructor:message.Parkspace_force_update_request_msg)
  2991. }
  2992. Parkspace_force_update_request_msg::Parkspace_force_update_request_msg(const Parkspace_force_update_request_msg& from)
  2993. : ::google::protobuf::Message(),
  2994. _internal_metadata_(NULL),
  2995. _has_bits_(from._has_bits_),
  2996. manual_parkspace_info_ex_(from.manual_parkspace_info_ex_) {
  2997. _internal_metadata_.MergeFrom(from._internal_metadata_);
  2998. command_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2999. if (from.has_command_key()) {
  3000. command_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.command_key_);
  3001. }
  3002. if (from.has_base_info()) {
  3003. base_info_ = new ::message::Base_info(*from.base_info_);
  3004. } else {
  3005. base_info_ = NULL;
  3006. }
  3007. // @@protoc_insertion_point(copy_constructor:message.Parkspace_force_update_request_msg)
  3008. }
  3009. void Parkspace_force_update_request_msg::SharedCtor() {
  3010. command_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3011. base_info_ = NULL;
  3012. }
  3013. Parkspace_force_update_request_msg::~Parkspace_force_update_request_msg() {
  3014. // @@protoc_insertion_point(destructor:message.Parkspace_force_update_request_msg)
  3015. SharedDtor();
  3016. }
  3017. void Parkspace_force_update_request_msg::SharedDtor() {
  3018. command_key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3019. if (this != internal_default_instance()) delete base_info_;
  3020. }
  3021. void Parkspace_force_update_request_msg::SetCachedSize(int size) const {
  3022. _cached_size_.Set(size);
  3023. }
  3024. const ::google::protobuf::Descriptor* Parkspace_force_update_request_msg::descriptor() {
  3025. ::protobuf_parkspace_5fallocation_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  3026. return ::protobuf_parkspace_5fallocation_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
  3027. }
  3028. const Parkspace_force_update_request_msg& Parkspace_force_update_request_msg::default_instance() {
  3029. ::google::protobuf::internal::InitSCC(&protobuf_parkspace_5fallocation_5fmessage_2eproto::scc_info_Parkspace_force_update_request_msg.base);
  3030. return *internal_default_instance();
  3031. }
  3032. void Parkspace_force_update_request_msg::Clear() {
  3033. // @@protoc_insertion_point(message_clear_start:message.Parkspace_force_update_request_msg)
  3034. ::google::protobuf::uint32 cached_has_bits = 0;
  3035. // Prevent compiler warnings about cached_has_bits being unused
  3036. (void) cached_has_bits;
  3037. manual_parkspace_info_ex_.Clear();
  3038. cached_has_bits = _has_bits_[0];
  3039. if (cached_has_bits & 3u) {
  3040. if (cached_has_bits & 0x00000001u) {
  3041. command_key_.ClearNonDefaultToEmptyNoArena();
  3042. }
  3043. if (cached_has_bits & 0x00000002u) {
  3044. GOOGLE_DCHECK(base_info_ != NULL);
  3045. base_info_->Clear();
  3046. }
  3047. }
  3048. _has_bits_.Clear();
  3049. _internal_metadata_.Clear();
  3050. }
  3051. bool Parkspace_force_update_request_msg::MergePartialFromCodedStream(
  3052. ::google::protobuf::io::CodedInputStream* input) {
  3053. #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
  3054. ::google::protobuf::uint32 tag;
  3055. // @@protoc_insertion_point(parse_start:message.Parkspace_force_update_request_msg)
  3056. for (;;) {
  3057. ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
  3058. tag = p.first;
  3059. if (!p.second) goto handle_unusual;
  3060. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  3061. // required .message.Base_info base_info = 1;
  3062. case 1: {
  3063. if (static_cast< ::google::protobuf::uint8>(tag) ==
  3064. static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
  3065. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  3066. input, mutable_base_info()));
  3067. } else {
  3068. goto handle_unusual;
  3069. }
  3070. break;
  3071. }
  3072. // required string command_key = 2;
  3073. case 2: {
  3074. if (static_cast< ::google::protobuf::uint8>(tag) ==
  3075. static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
  3076. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  3077. input, this->mutable_command_key()));
  3078. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  3079. this->command_key().data(), static_cast<int>(this->command_key().length()),
  3080. ::google::protobuf::internal::WireFormat::PARSE,
  3081. "message.Parkspace_force_update_request_msg.command_key");
  3082. } else {
  3083. goto handle_unusual;
  3084. }
  3085. break;
  3086. }
  3087. // repeated .message.Parkspace_info manual_parkspace_info_ex = 3;
  3088. case 3: {
  3089. if (static_cast< ::google::protobuf::uint8>(tag) ==
  3090. static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
  3091. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  3092. input, add_manual_parkspace_info_ex()));
  3093. } else {
  3094. goto handle_unusual;
  3095. }
  3096. break;
  3097. }
  3098. default: {
  3099. handle_unusual:
  3100. if (tag == 0) {
  3101. goto success;
  3102. }
  3103. DO_(::google::protobuf::internal::WireFormat::SkipField(
  3104. input, tag, _internal_metadata_.mutable_unknown_fields()));
  3105. break;
  3106. }
  3107. }
  3108. }
  3109. success:
  3110. // @@protoc_insertion_point(parse_success:message.Parkspace_force_update_request_msg)
  3111. return true;
  3112. failure:
  3113. // @@protoc_insertion_point(parse_failure:message.Parkspace_force_update_request_msg)
  3114. return false;
  3115. #undef DO_
  3116. }
  3117. void Parkspace_force_update_request_msg::SerializeWithCachedSizes(
  3118. ::google::protobuf::io::CodedOutputStream* output) const {
  3119. // @@protoc_insertion_point(serialize_start:message.Parkspace_force_update_request_msg)
  3120. ::google::protobuf::uint32 cached_has_bits = 0;
  3121. (void) cached_has_bits;
  3122. cached_has_bits = _has_bits_[0];
  3123. // required .message.Base_info base_info = 1;
  3124. if (cached_has_bits & 0x00000002u) {
  3125. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  3126. 1, this->_internal_base_info(), output);
  3127. }
  3128. // required string command_key = 2;
  3129. if (cached_has_bits & 0x00000001u) {
  3130. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  3131. this->command_key().data(), static_cast<int>(this->command_key().length()),
  3132. ::google::protobuf::internal::WireFormat::SERIALIZE,
  3133. "message.Parkspace_force_update_request_msg.command_key");
  3134. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  3135. 2, this->command_key(), output);
  3136. }
  3137. // repeated .message.Parkspace_info manual_parkspace_info_ex = 3;
  3138. for (unsigned int i = 0,
  3139. n = static_cast<unsigned int>(this->manual_parkspace_info_ex_size()); i < n; i++) {
  3140. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  3141. 3,
  3142. this->manual_parkspace_info_ex(static_cast<int>(i)),
  3143. output);
  3144. }
  3145. if (_internal_metadata_.have_unknown_fields()) {
  3146. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  3147. _internal_metadata_.unknown_fields(), output);
  3148. }
  3149. // @@protoc_insertion_point(serialize_end:message.Parkspace_force_update_request_msg)
  3150. }
  3151. ::google::protobuf::uint8* Parkspace_force_update_request_msg::InternalSerializeWithCachedSizesToArray(
  3152. bool deterministic, ::google::protobuf::uint8* target) const {
  3153. (void)deterministic; // Unused
  3154. // @@protoc_insertion_point(serialize_to_array_start:message.Parkspace_force_update_request_msg)
  3155. ::google::protobuf::uint32 cached_has_bits = 0;
  3156. (void) cached_has_bits;
  3157. cached_has_bits = _has_bits_[0];
  3158. // required .message.Base_info base_info = 1;
  3159. if (cached_has_bits & 0x00000002u) {
  3160. target = ::google::protobuf::internal::WireFormatLite::
  3161. InternalWriteMessageToArray(
  3162. 1, this->_internal_base_info(), deterministic, target);
  3163. }
  3164. // required string command_key = 2;
  3165. if (cached_has_bits & 0x00000001u) {
  3166. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  3167. this->command_key().data(), static_cast<int>(this->command_key().length()),
  3168. ::google::protobuf::internal::WireFormat::SERIALIZE,
  3169. "message.Parkspace_force_update_request_msg.command_key");
  3170. target =
  3171. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  3172. 2, this->command_key(), target);
  3173. }
  3174. // repeated .message.Parkspace_info manual_parkspace_info_ex = 3;
  3175. for (unsigned int i = 0,
  3176. n = static_cast<unsigned int>(this->manual_parkspace_info_ex_size()); i < n; i++) {
  3177. target = ::google::protobuf::internal::WireFormatLite::
  3178. InternalWriteMessageToArray(
  3179. 3, this->manual_parkspace_info_ex(static_cast<int>(i)), deterministic, target);
  3180. }
  3181. if (_internal_metadata_.have_unknown_fields()) {
  3182. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  3183. _internal_metadata_.unknown_fields(), target);
  3184. }
  3185. // @@protoc_insertion_point(serialize_to_array_end:message.Parkspace_force_update_request_msg)
  3186. return target;
  3187. }
  3188. size_t Parkspace_force_update_request_msg::RequiredFieldsByteSizeFallback() const {
  3189. // @@protoc_insertion_point(required_fields_byte_size_fallback_start:message.Parkspace_force_update_request_msg)
  3190. size_t total_size = 0;
  3191. if (has_command_key()) {
  3192. // required string command_key = 2;
  3193. total_size += 1 +
  3194. ::google::protobuf::internal::WireFormatLite::StringSize(
  3195. this->command_key());
  3196. }
  3197. if (has_base_info()) {
  3198. // required .message.Base_info base_info = 1;
  3199. total_size += 1 +
  3200. ::google::protobuf::internal::WireFormatLite::MessageSize(
  3201. *base_info_);
  3202. }
  3203. return total_size;
  3204. }
  3205. size_t Parkspace_force_update_request_msg::ByteSizeLong() const {
  3206. // @@protoc_insertion_point(message_byte_size_start:message.Parkspace_force_update_request_msg)
  3207. size_t total_size = 0;
  3208. if (_internal_metadata_.have_unknown_fields()) {
  3209. total_size +=
  3210. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  3211. _internal_metadata_.unknown_fields());
  3212. }
  3213. if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present.
  3214. // required string command_key = 2;
  3215. total_size += 1 +
  3216. ::google::protobuf::internal::WireFormatLite::StringSize(
  3217. this->command_key());
  3218. // required .message.Base_info base_info = 1;
  3219. total_size += 1 +
  3220. ::google::protobuf::internal::WireFormatLite::MessageSize(
  3221. *base_info_);
  3222. } else {
  3223. total_size += RequiredFieldsByteSizeFallback();
  3224. }
  3225. // repeated .message.Parkspace_info manual_parkspace_info_ex = 3;
  3226. {
  3227. unsigned int count = static_cast<unsigned int>(this->manual_parkspace_info_ex_size());
  3228. total_size += 1UL * count;
  3229. for (unsigned int i = 0; i < count; i++) {
  3230. total_size +=
  3231. ::google::protobuf::internal::WireFormatLite::MessageSize(
  3232. this->manual_parkspace_info_ex(static_cast<int>(i)));
  3233. }
  3234. }
  3235. int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
  3236. SetCachedSize(cached_size);
  3237. return total_size;
  3238. }
  3239. void Parkspace_force_update_request_msg::MergeFrom(const ::google::protobuf::Message& from) {
  3240. // @@protoc_insertion_point(generalized_merge_from_start:message.Parkspace_force_update_request_msg)
  3241. GOOGLE_DCHECK_NE(&from, this);
  3242. const Parkspace_force_update_request_msg* source =
  3243. ::google::protobuf::internal::DynamicCastToGenerated<const Parkspace_force_update_request_msg>(
  3244. &from);
  3245. if (source == NULL) {
  3246. // @@protoc_insertion_point(generalized_merge_from_cast_fail:message.Parkspace_force_update_request_msg)
  3247. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  3248. } else {
  3249. // @@protoc_insertion_point(generalized_merge_from_cast_success:message.Parkspace_force_update_request_msg)
  3250. MergeFrom(*source);
  3251. }
  3252. }
  3253. void Parkspace_force_update_request_msg::MergeFrom(const Parkspace_force_update_request_msg& from) {
  3254. // @@protoc_insertion_point(class_specific_merge_from_start:message.Parkspace_force_update_request_msg)
  3255. GOOGLE_DCHECK_NE(&from, this);
  3256. _internal_metadata_.MergeFrom(from._internal_metadata_);
  3257. ::google::protobuf::uint32 cached_has_bits = 0;
  3258. (void) cached_has_bits;
  3259. manual_parkspace_info_ex_.MergeFrom(from.manual_parkspace_info_ex_);
  3260. cached_has_bits = from._has_bits_[0];
  3261. if (cached_has_bits & 3u) {
  3262. if (cached_has_bits & 0x00000001u) {
  3263. set_has_command_key();
  3264. command_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.command_key_);
  3265. }
  3266. if (cached_has_bits & 0x00000002u) {
  3267. mutable_base_info()->::message::Base_info::MergeFrom(from.base_info());
  3268. }
  3269. }
  3270. }
  3271. void Parkspace_force_update_request_msg::CopyFrom(const ::google::protobuf::Message& from) {
  3272. // @@protoc_insertion_point(generalized_copy_from_start:message.Parkspace_force_update_request_msg)
  3273. if (&from == this) return;
  3274. Clear();
  3275. MergeFrom(from);
  3276. }
  3277. void Parkspace_force_update_request_msg::CopyFrom(const Parkspace_force_update_request_msg& from) {
  3278. // @@protoc_insertion_point(class_specific_copy_from_start:message.Parkspace_force_update_request_msg)
  3279. if (&from == this) return;
  3280. Clear();
  3281. MergeFrom(from);
  3282. }
  3283. bool Parkspace_force_update_request_msg::IsInitialized() const {
  3284. if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
  3285. if (has_base_info()) {
  3286. if (!this->base_info_->IsInitialized()) return false;
  3287. }
  3288. return true;
  3289. }
  3290. void Parkspace_force_update_request_msg::Swap(Parkspace_force_update_request_msg* other) {
  3291. if (other == this) return;
  3292. InternalSwap(other);
  3293. }
  3294. void Parkspace_force_update_request_msg::InternalSwap(Parkspace_force_update_request_msg* other) {
  3295. using std::swap;
  3296. CastToBase(&manual_parkspace_info_ex_)->InternalSwap(CastToBase(&other->manual_parkspace_info_ex_));
  3297. command_key_.Swap(&other->command_key_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  3298. GetArenaNoVirtual());
  3299. swap(base_info_, other->base_info_);
  3300. swap(_has_bits_[0], other->_has_bits_[0]);
  3301. _internal_metadata_.Swap(&other->_internal_metadata_);
  3302. }
  3303. ::google::protobuf::Metadata Parkspace_force_update_request_msg::GetMetadata() const {
  3304. protobuf_parkspace_5fallocation_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  3305. return ::protobuf_parkspace_5fallocation_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages];
  3306. }
  3307. // ===================================================================
  3308. void Parkspace_force_update_response_msg::InitAsDefaultInstance() {
  3309. ::message::_Parkspace_force_update_response_msg_default_instance_._instance.get_mutable()->base_info_ = const_cast< ::message::Base_info*>(
  3310. ::message::Base_info::internal_default_instance());
  3311. ::message::_Parkspace_force_update_response_msg_default_instance_._instance.get_mutable()->error_manager_ = const_cast< ::message::Error_manager*>(
  3312. ::message::Error_manager::internal_default_instance());
  3313. }
  3314. void Parkspace_force_update_response_msg::clear_base_info() {
  3315. if (base_info_ != NULL) base_info_->Clear();
  3316. clear_has_base_info();
  3317. }
  3318. void Parkspace_force_update_response_msg::clear_error_manager() {
  3319. if (error_manager_ != NULL) error_manager_->Clear();
  3320. clear_has_error_manager();
  3321. }
  3322. void Parkspace_force_update_response_msg::clear_manual_parkspace_info_ex() {
  3323. manual_parkspace_info_ex_.Clear();
  3324. }
  3325. #if !defined(_MSC_VER) || _MSC_VER >= 1900
  3326. const int Parkspace_force_update_response_msg::kBaseInfoFieldNumber;
  3327. const int Parkspace_force_update_response_msg::kCommandKeyFieldNumber;
  3328. const int Parkspace_force_update_response_msg::kErrorManagerFieldNumber;
  3329. const int Parkspace_force_update_response_msg::kManualParkspaceInfoExFieldNumber;
  3330. #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
  3331. Parkspace_force_update_response_msg::Parkspace_force_update_response_msg()
  3332. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  3333. ::google::protobuf::internal::InitSCC(
  3334. &protobuf_parkspace_5fallocation_5fmessage_2eproto::scc_info_Parkspace_force_update_response_msg.base);
  3335. SharedCtor();
  3336. // @@protoc_insertion_point(constructor:message.Parkspace_force_update_response_msg)
  3337. }
  3338. Parkspace_force_update_response_msg::Parkspace_force_update_response_msg(const Parkspace_force_update_response_msg& from)
  3339. : ::google::protobuf::Message(),
  3340. _internal_metadata_(NULL),
  3341. _has_bits_(from._has_bits_),
  3342. manual_parkspace_info_ex_(from.manual_parkspace_info_ex_) {
  3343. _internal_metadata_.MergeFrom(from._internal_metadata_);
  3344. command_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3345. if (from.has_command_key()) {
  3346. command_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.command_key_);
  3347. }
  3348. if (from.has_base_info()) {
  3349. base_info_ = new ::message::Base_info(*from.base_info_);
  3350. } else {
  3351. base_info_ = NULL;
  3352. }
  3353. if (from.has_error_manager()) {
  3354. error_manager_ = new ::message::Error_manager(*from.error_manager_);
  3355. } else {
  3356. error_manager_ = NULL;
  3357. }
  3358. // @@protoc_insertion_point(copy_constructor:message.Parkspace_force_update_response_msg)
  3359. }
  3360. void Parkspace_force_update_response_msg::SharedCtor() {
  3361. command_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3362. ::memset(&base_info_, 0, static_cast<size_t>(
  3363. reinterpret_cast<char*>(&error_manager_) -
  3364. reinterpret_cast<char*>(&base_info_)) + sizeof(error_manager_));
  3365. }
  3366. Parkspace_force_update_response_msg::~Parkspace_force_update_response_msg() {
  3367. // @@protoc_insertion_point(destructor:message.Parkspace_force_update_response_msg)
  3368. SharedDtor();
  3369. }
  3370. void Parkspace_force_update_response_msg::SharedDtor() {
  3371. command_key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3372. if (this != internal_default_instance()) delete base_info_;
  3373. if (this != internal_default_instance()) delete error_manager_;
  3374. }
  3375. void Parkspace_force_update_response_msg::SetCachedSize(int size) const {
  3376. _cached_size_.Set(size);
  3377. }
  3378. const ::google::protobuf::Descriptor* Parkspace_force_update_response_msg::descriptor() {
  3379. ::protobuf_parkspace_5fallocation_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  3380. return ::protobuf_parkspace_5fallocation_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
  3381. }
  3382. const Parkspace_force_update_response_msg& Parkspace_force_update_response_msg::default_instance() {
  3383. ::google::protobuf::internal::InitSCC(&protobuf_parkspace_5fallocation_5fmessage_2eproto::scc_info_Parkspace_force_update_response_msg.base);
  3384. return *internal_default_instance();
  3385. }
  3386. void Parkspace_force_update_response_msg::Clear() {
  3387. // @@protoc_insertion_point(message_clear_start:message.Parkspace_force_update_response_msg)
  3388. ::google::protobuf::uint32 cached_has_bits = 0;
  3389. // Prevent compiler warnings about cached_has_bits being unused
  3390. (void) cached_has_bits;
  3391. manual_parkspace_info_ex_.Clear();
  3392. cached_has_bits = _has_bits_[0];
  3393. if (cached_has_bits & 7u) {
  3394. if (cached_has_bits & 0x00000001u) {
  3395. command_key_.ClearNonDefaultToEmptyNoArena();
  3396. }
  3397. if (cached_has_bits & 0x00000002u) {
  3398. GOOGLE_DCHECK(base_info_ != NULL);
  3399. base_info_->Clear();
  3400. }
  3401. if (cached_has_bits & 0x00000004u) {
  3402. GOOGLE_DCHECK(error_manager_ != NULL);
  3403. error_manager_->Clear();
  3404. }
  3405. }
  3406. _has_bits_.Clear();
  3407. _internal_metadata_.Clear();
  3408. }
  3409. bool Parkspace_force_update_response_msg::MergePartialFromCodedStream(
  3410. ::google::protobuf::io::CodedInputStream* input) {
  3411. #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
  3412. ::google::protobuf::uint32 tag;
  3413. // @@protoc_insertion_point(parse_start:message.Parkspace_force_update_response_msg)
  3414. for (;;) {
  3415. ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
  3416. tag = p.first;
  3417. if (!p.second) goto handle_unusual;
  3418. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  3419. // required .message.Base_info base_info = 1;
  3420. case 1: {
  3421. if (static_cast< ::google::protobuf::uint8>(tag) ==
  3422. static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
  3423. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  3424. input, mutable_base_info()));
  3425. } else {
  3426. goto handle_unusual;
  3427. }
  3428. break;
  3429. }
  3430. // required string command_key = 2;
  3431. case 2: {
  3432. if (static_cast< ::google::protobuf::uint8>(tag) ==
  3433. static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
  3434. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  3435. input, this->mutable_command_key()));
  3436. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  3437. this->command_key().data(), static_cast<int>(this->command_key().length()),
  3438. ::google::protobuf::internal::WireFormat::PARSE,
  3439. "message.Parkspace_force_update_response_msg.command_key");
  3440. } else {
  3441. goto handle_unusual;
  3442. }
  3443. break;
  3444. }
  3445. // required .message.Error_manager error_manager = 3;
  3446. case 3: {
  3447. if (static_cast< ::google::protobuf::uint8>(tag) ==
  3448. static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
  3449. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  3450. input, mutable_error_manager()));
  3451. } else {
  3452. goto handle_unusual;
  3453. }
  3454. break;
  3455. }
  3456. // repeated .message.Parkspace_info manual_parkspace_info_ex = 4;
  3457. case 4: {
  3458. if (static_cast< ::google::protobuf::uint8>(tag) ==
  3459. static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
  3460. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  3461. input, add_manual_parkspace_info_ex()));
  3462. } else {
  3463. goto handle_unusual;
  3464. }
  3465. break;
  3466. }
  3467. default: {
  3468. handle_unusual:
  3469. if (tag == 0) {
  3470. goto success;
  3471. }
  3472. DO_(::google::protobuf::internal::WireFormat::SkipField(
  3473. input, tag, _internal_metadata_.mutable_unknown_fields()));
  3474. break;
  3475. }
  3476. }
  3477. }
  3478. success:
  3479. // @@protoc_insertion_point(parse_success:message.Parkspace_force_update_response_msg)
  3480. return true;
  3481. failure:
  3482. // @@protoc_insertion_point(parse_failure:message.Parkspace_force_update_response_msg)
  3483. return false;
  3484. #undef DO_
  3485. }
  3486. void Parkspace_force_update_response_msg::SerializeWithCachedSizes(
  3487. ::google::protobuf::io::CodedOutputStream* output) const {
  3488. // @@protoc_insertion_point(serialize_start:message.Parkspace_force_update_response_msg)
  3489. ::google::protobuf::uint32 cached_has_bits = 0;
  3490. (void) cached_has_bits;
  3491. cached_has_bits = _has_bits_[0];
  3492. // required .message.Base_info base_info = 1;
  3493. if (cached_has_bits & 0x00000002u) {
  3494. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  3495. 1, this->_internal_base_info(), output);
  3496. }
  3497. // required string command_key = 2;
  3498. if (cached_has_bits & 0x00000001u) {
  3499. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  3500. this->command_key().data(), static_cast<int>(this->command_key().length()),
  3501. ::google::protobuf::internal::WireFormat::SERIALIZE,
  3502. "message.Parkspace_force_update_response_msg.command_key");
  3503. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  3504. 2, this->command_key(), output);
  3505. }
  3506. // required .message.Error_manager error_manager = 3;
  3507. if (cached_has_bits & 0x00000004u) {
  3508. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  3509. 3, this->_internal_error_manager(), output);
  3510. }
  3511. // repeated .message.Parkspace_info manual_parkspace_info_ex = 4;
  3512. for (unsigned int i = 0,
  3513. n = static_cast<unsigned int>(this->manual_parkspace_info_ex_size()); i < n; i++) {
  3514. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  3515. 4,
  3516. this->manual_parkspace_info_ex(static_cast<int>(i)),
  3517. output);
  3518. }
  3519. if (_internal_metadata_.have_unknown_fields()) {
  3520. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  3521. _internal_metadata_.unknown_fields(), output);
  3522. }
  3523. // @@protoc_insertion_point(serialize_end:message.Parkspace_force_update_response_msg)
  3524. }
  3525. ::google::protobuf::uint8* Parkspace_force_update_response_msg::InternalSerializeWithCachedSizesToArray(
  3526. bool deterministic, ::google::protobuf::uint8* target) const {
  3527. (void)deterministic; // Unused
  3528. // @@protoc_insertion_point(serialize_to_array_start:message.Parkspace_force_update_response_msg)
  3529. ::google::protobuf::uint32 cached_has_bits = 0;
  3530. (void) cached_has_bits;
  3531. cached_has_bits = _has_bits_[0];
  3532. // required .message.Base_info base_info = 1;
  3533. if (cached_has_bits & 0x00000002u) {
  3534. target = ::google::protobuf::internal::WireFormatLite::
  3535. InternalWriteMessageToArray(
  3536. 1, this->_internal_base_info(), deterministic, target);
  3537. }
  3538. // required string command_key = 2;
  3539. if (cached_has_bits & 0x00000001u) {
  3540. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  3541. this->command_key().data(), static_cast<int>(this->command_key().length()),
  3542. ::google::protobuf::internal::WireFormat::SERIALIZE,
  3543. "message.Parkspace_force_update_response_msg.command_key");
  3544. target =
  3545. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  3546. 2, this->command_key(), target);
  3547. }
  3548. // required .message.Error_manager error_manager = 3;
  3549. if (cached_has_bits & 0x00000004u) {
  3550. target = ::google::protobuf::internal::WireFormatLite::
  3551. InternalWriteMessageToArray(
  3552. 3, this->_internal_error_manager(), deterministic, target);
  3553. }
  3554. // repeated .message.Parkspace_info manual_parkspace_info_ex = 4;
  3555. for (unsigned int i = 0,
  3556. n = static_cast<unsigned int>(this->manual_parkspace_info_ex_size()); i < n; i++) {
  3557. target = ::google::protobuf::internal::WireFormatLite::
  3558. InternalWriteMessageToArray(
  3559. 4, this->manual_parkspace_info_ex(static_cast<int>(i)), deterministic, target);
  3560. }
  3561. if (_internal_metadata_.have_unknown_fields()) {
  3562. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  3563. _internal_metadata_.unknown_fields(), target);
  3564. }
  3565. // @@protoc_insertion_point(serialize_to_array_end:message.Parkspace_force_update_response_msg)
  3566. return target;
  3567. }
  3568. size_t Parkspace_force_update_response_msg::RequiredFieldsByteSizeFallback() const {
  3569. // @@protoc_insertion_point(required_fields_byte_size_fallback_start:message.Parkspace_force_update_response_msg)
  3570. size_t total_size = 0;
  3571. if (has_command_key()) {
  3572. // required string command_key = 2;
  3573. total_size += 1 +
  3574. ::google::protobuf::internal::WireFormatLite::StringSize(
  3575. this->command_key());
  3576. }
  3577. if (has_base_info()) {
  3578. // required .message.Base_info base_info = 1;
  3579. total_size += 1 +
  3580. ::google::protobuf::internal::WireFormatLite::MessageSize(
  3581. *base_info_);
  3582. }
  3583. if (has_error_manager()) {
  3584. // required .message.Error_manager error_manager = 3;
  3585. total_size += 1 +
  3586. ::google::protobuf::internal::WireFormatLite::MessageSize(
  3587. *error_manager_);
  3588. }
  3589. return total_size;
  3590. }
  3591. size_t Parkspace_force_update_response_msg::ByteSizeLong() const {
  3592. // @@protoc_insertion_point(message_byte_size_start:message.Parkspace_force_update_response_msg)
  3593. size_t total_size = 0;
  3594. if (_internal_metadata_.have_unknown_fields()) {
  3595. total_size +=
  3596. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  3597. _internal_metadata_.unknown_fields());
  3598. }
  3599. if (((_has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present.
  3600. // required string command_key = 2;
  3601. total_size += 1 +
  3602. ::google::protobuf::internal::WireFormatLite::StringSize(
  3603. this->command_key());
  3604. // required .message.Base_info base_info = 1;
  3605. total_size += 1 +
  3606. ::google::protobuf::internal::WireFormatLite::MessageSize(
  3607. *base_info_);
  3608. // required .message.Error_manager error_manager = 3;
  3609. total_size += 1 +
  3610. ::google::protobuf::internal::WireFormatLite::MessageSize(
  3611. *error_manager_);
  3612. } else {
  3613. total_size += RequiredFieldsByteSizeFallback();
  3614. }
  3615. // repeated .message.Parkspace_info manual_parkspace_info_ex = 4;
  3616. {
  3617. unsigned int count = static_cast<unsigned int>(this->manual_parkspace_info_ex_size());
  3618. total_size += 1UL * count;
  3619. for (unsigned int i = 0; i < count; i++) {
  3620. total_size +=
  3621. ::google::protobuf::internal::WireFormatLite::MessageSize(
  3622. this->manual_parkspace_info_ex(static_cast<int>(i)));
  3623. }
  3624. }
  3625. int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
  3626. SetCachedSize(cached_size);
  3627. return total_size;
  3628. }
  3629. void Parkspace_force_update_response_msg::MergeFrom(const ::google::protobuf::Message& from) {
  3630. // @@protoc_insertion_point(generalized_merge_from_start:message.Parkspace_force_update_response_msg)
  3631. GOOGLE_DCHECK_NE(&from, this);
  3632. const Parkspace_force_update_response_msg* source =
  3633. ::google::protobuf::internal::DynamicCastToGenerated<const Parkspace_force_update_response_msg>(
  3634. &from);
  3635. if (source == NULL) {
  3636. // @@protoc_insertion_point(generalized_merge_from_cast_fail:message.Parkspace_force_update_response_msg)
  3637. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  3638. } else {
  3639. // @@protoc_insertion_point(generalized_merge_from_cast_success:message.Parkspace_force_update_response_msg)
  3640. MergeFrom(*source);
  3641. }
  3642. }
  3643. void Parkspace_force_update_response_msg::MergeFrom(const Parkspace_force_update_response_msg& from) {
  3644. // @@protoc_insertion_point(class_specific_merge_from_start:message.Parkspace_force_update_response_msg)
  3645. GOOGLE_DCHECK_NE(&from, this);
  3646. _internal_metadata_.MergeFrom(from._internal_metadata_);
  3647. ::google::protobuf::uint32 cached_has_bits = 0;
  3648. (void) cached_has_bits;
  3649. manual_parkspace_info_ex_.MergeFrom(from.manual_parkspace_info_ex_);
  3650. cached_has_bits = from._has_bits_[0];
  3651. if (cached_has_bits & 7u) {
  3652. if (cached_has_bits & 0x00000001u) {
  3653. set_has_command_key();
  3654. command_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.command_key_);
  3655. }
  3656. if (cached_has_bits & 0x00000002u) {
  3657. mutable_base_info()->::message::Base_info::MergeFrom(from.base_info());
  3658. }
  3659. if (cached_has_bits & 0x00000004u) {
  3660. mutable_error_manager()->::message::Error_manager::MergeFrom(from.error_manager());
  3661. }
  3662. }
  3663. }
  3664. void Parkspace_force_update_response_msg::CopyFrom(const ::google::protobuf::Message& from) {
  3665. // @@protoc_insertion_point(generalized_copy_from_start:message.Parkspace_force_update_response_msg)
  3666. if (&from == this) return;
  3667. Clear();
  3668. MergeFrom(from);
  3669. }
  3670. void Parkspace_force_update_response_msg::CopyFrom(const Parkspace_force_update_response_msg& from) {
  3671. // @@protoc_insertion_point(class_specific_copy_from_start:message.Parkspace_force_update_response_msg)
  3672. if (&from == this) return;
  3673. Clear();
  3674. MergeFrom(from);
  3675. }
  3676. bool Parkspace_force_update_response_msg::IsInitialized() const {
  3677. if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false;
  3678. if (has_base_info()) {
  3679. if (!this->base_info_->IsInitialized()) return false;
  3680. }
  3681. if (has_error_manager()) {
  3682. if (!this->error_manager_->IsInitialized()) return false;
  3683. }
  3684. return true;
  3685. }
  3686. void Parkspace_force_update_response_msg::Swap(Parkspace_force_update_response_msg* other) {
  3687. if (other == this) return;
  3688. InternalSwap(other);
  3689. }
  3690. void Parkspace_force_update_response_msg::InternalSwap(Parkspace_force_update_response_msg* other) {
  3691. using std::swap;
  3692. CastToBase(&manual_parkspace_info_ex_)->InternalSwap(CastToBase(&other->manual_parkspace_info_ex_));
  3693. command_key_.Swap(&other->command_key_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  3694. GetArenaNoVirtual());
  3695. swap(base_info_, other->base_info_);
  3696. swap(error_manager_, other->error_manager_);
  3697. swap(_has_bits_[0], other->_has_bits_[0]);
  3698. _internal_metadata_.Swap(&other->_internal_metadata_);
  3699. }
  3700. ::google::protobuf::Metadata Parkspace_force_update_response_msg::GetMetadata() const {
  3701. protobuf_parkspace_5fallocation_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  3702. return ::protobuf_parkspace_5fallocation_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages];
  3703. }
  3704. // ===================================================================
  3705. void Parkspace_confirm_alloc_request_msg::InitAsDefaultInstance() {
  3706. ::message::_Parkspace_confirm_alloc_request_msg_default_instance_._instance.get_mutable()->base_info_ = const_cast< ::message::Base_info*>(
  3707. ::message::Base_info::internal_default_instance());
  3708. }
  3709. void Parkspace_confirm_alloc_request_msg::clear_base_info() {
  3710. if (base_info_ != NULL) base_info_->Clear();
  3711. clear_has_base_info();
  3712. }
  3713. void Parkspace_confirm_alloc_request_msg::clear_confirm_parkspace_info_ex() {
  3714. confirm_parkspace_info_ex_.Clear();
  3715. }
  3716. #if !defined(_MSC_VER) || _MSC_VER >= 1900
  3717. const int Parkspace_confirm_alloc_request_msg::kBaseInfoFieldNumber;
  3718. const int Parkspace_confirm_alloc_request_msg::kCommandKeyFieldNumber;
  3719. const int Parkspace_confirm_alloc_request_msg::kConfirmParkspaceInfoExFieldNumber;
  3720. const int Parkspace_confirm_alloc_request_msg::kCarTypeFieldNumber;
  3721. #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
  3722. Parkspace_confirm_alloc_request_msg::Parkspace_confirm_alloc_request_msg()
  3723. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  3724. ::google::protobuf::internal::InitSCC(
  3725. &protobuf_parkspace_5fallocation_5fmessage_2eproto::scc_info_Parkspace_confirm_alloc_request_msg.base);
  3726. SharedCtor();
  3727. // @@protoc_insertion_point(constructor:message.Parkspace_confirm_alloc_request_msg)
  3728. }
  3729. Parkspace_confirm_alloc_request_msg::Parkspace_confirm_alloc_request_msg(const Parkspace_confirm_alloc_request_msg& from)
  3730. : ::google::protobuf::Message(),
  3731. _internal_metadata_(NULL),
  3732. _has_bits_(from._has_bits_),
  3733. confirm_parkspace_info_ex_(from.confirm_parkspace_info_ex_) {
  3734. _internal_metadata_.MergeFrom(from._internal_metadata_);
  3735. command_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3736. if (from.has_command_key()) {
  3737. command_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.command_key_);
  3738. }
  3739. if (from.has_base_info()) {
  3740. base_info_ = new ::message::Base_info(*from.base_info_);
  3741. } else {
  3742. base_info_ = NULL;
  3743. }
  3744. car_type_ = from.car_type_;
  3745. // @@protoc_insertion_point(copy_constructor:message.Parkspace_confirm_alloc_request_msg)
  3746. }
  3747. void Parkspace_confirm_alloc_request_msg::SharedCtor() {
  3748. command_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3749. ::memset(&base_info_, 0, static_cast<size_t>(
  3750. reinterpret_cast<char*>(&car_type_) -
  3751. reinterpret_cast<char*>(&base_info_)) + sizeof(car_type_));
  3752. }
  3753. Parkspace_confirm_alloc_request_msg::~Parkspace_confirm_alloc_request_msg() {
  3754. // @@protoc_insertion_point(destructor:message.Parkspace_confirm_alloc_request_msg)
  3755. SharedDtor();
  3756. }
  3757. void Parkspace_confirm_alloc_request_msg::SharedDtor() {
  3758. command_key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3759. if (this != internal_default_instance()) delete base_info_;
  3760. }
  3761. void Parkspace_confirm_alloc_request_msg::SetCachedSize(int size) const {
  3762. _cached_size_.Set(size);
  3763. }
  3764. const ::google::protobuf::Descriptor* Parkspace_confirm_alloc_request_msg::descriptor() {
  3765. ::protobuf_parkspace_5fallocation_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  3766. return ::protobuf_parkspace_5fallocation_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
  3767. }
  3768. const Parkspace_confirm_alloc_request_msg& Parkspace_confirm_alloc_request_msg::default_instance() {
  3769. ::google::protobuf::internal::InitSCC(&protobuf_parkspace_5fallocation_5fmessage_2eproto::scc_info_Parkspace_confirm_alloc_request_msg.base);
  3770. return *internal_default_instance();
  3771. }
  3772. void Parkspace_confirm_alloc_request_msg::Clear() {
  3773. // @@protoc_insertion_point(message_clear_start:message.Parkspace_confirm_alloc_request_msg)
  3774. ::google::protobuf::uint32 cached_has_bits = 0;
  3775. // Prevent compiler warnings about cached_has_bits being unused
  3776. (void) cached_has_bits;
  3777. confirm_parkspace_info_ex_.Clear();
  3778. cached_has_bits = _has_bits_[0];
  3779. if (cached_has_bits & 3u) {
  3780. if (cached_has_bits & 0x00000001u) {
  3781. command_key_.ClearNonDefaultToEmptyNoArena();
  3782. }
  3783. if (cached_has_bits & 0x00000002u) {
  3784. GOOGLE_DCHECK(base_info_ != NULL);
  3785. base_info_->Clear();
  3786. }
  3787. }
  3788. car_type_ = 0;
  3789. _has_bits_.Clear();
  3790. _internal_metadata_.Clear();
  3791. }
  3792. bool Parkspace_confirm_alloc_request_msg::MergePartialFromCodedStream(
  3793. ::google::protobuf::io::CodedInputStream* input) {
  3794. #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
  3795. ::google::protobuf::uint32 tag;
  3796. // @@protoc_insertion_point(parse_start:message.Parkspace_confirm_alloc_request_msg)
  3797. for (;;) {
  3798. ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
  3799. tag = p.first;
  3800. if (!p.second) goto handle_unusual;
  3801. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  3802. // required .message.Base_info base_info = 1;
  3803. case 1: {
  3804. if (static_cast< ::google::protobuf::uint8>(tag) ==
  3805. static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
  3806. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  3807. input, mutable_base_info()));
  3808. } else {
  3809. goto handle_unusual;
  3810. }
  3811. break;
  3812. }
  3813. // required string command_key = 2;
  3814. case 2: {
  3815. if (static_cast< ::google::protobuf::uint8>(tag) ==
  3816. static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
  3817. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  3818. input, this->mutable_command_key()));
  3819. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  3820. this->command_key().data(), static_cast<int>(this->command_key().length()),
  3821. ::google::protobuf::internal::WireFormat::PARSE,
  3822. "message.Parkspace_confirm_alloc_request_msg.command_key");
  3823. } else {
  3824. goto handle_unusual;
  3825. }
  3826. break;
  3827. }
  3828. // repeated .message.Parkspace_info confirm_parkspace_info_ex = 3;
  3829. case 3: {
  3830. if (static_cast< ::google::protobuf::uint8>(tag) ==
  3831. static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
  3832. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  3833. input, add_confirm_parkspace_info_ex()));
  3834. } else {
  3835. goto handle_unusual;
  3836. }
  3837. break;
  3838. }
  3839. // optional .message.Car_type car_type = 4;
  3840. case 4: {
  3841. if (static_cast< ::google::protobuf::uint8>(tag) ==
  3842. static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
  3843. int value;
  3844. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3845. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  3846. input, &value)));
  3847. if (::message::Car_type_IsValid(value)) {
  3848. set_car_type(static_cast< ::message::Car_type >(value));
  3849. } else {
  3850. mutable_unknown_fields()->AddVarint(
  3851. 4, static_cast< ::google::protobuf::uint64>(value));
  3852. }
  3853. } else {
  3854. goto handle_unusual;
  3855. }
  3856. break;
  3857. }
  3858. default: {
  3859. handle_unusual:
  3860. if (tag == 0) {
  3861. goto success;
  3862. }
  3863. DO_(::google::protobuf::internal::WireFormat::SkipField(
  3864. input, tag, _internal_metadata_.mutable_unknown_fields()));
  3865. break;
  3866. }
  3867. }
  3868. }
  3869. success:
  3870. // @@protoc_insertion_point(parse_success:message.Parkspace_confirm_alloc_request_msg)
  3871. return true;
  3872. failure:
  3873. // @@protoc_insertion_point(parse_failure:message.Parkspace_confirm_alloc_request_msg)
  3874. return false;
  3875. #undef DO_
  3876. }
  3877. void Parkspace_confirm_alloc_request_msg::SerializeWithCachedSizes(
  3878. ::google::protobuf::io::CodedOutputStream* output) const {
  3879. // @@protoc_insertion_point(serialize_start:message.Parkspace_confirm_alloc_request_msg)
  3880. ::google::protobuf::uint32 cached_has_bits = 0;
  3881. (void) cached_has_bits;
  3882. cached_has_bits = _has_bits_[0];
  3883. // required .message.Base_info base_info = 1;
  3884. if (cached_has_bits & 0x00000002u) {
  3885. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  3886. 1, this->_internal_base_info(), output);
  3887. }
  3888. // required string command_key = 2;
  3889. if (cached_has_bits & 0x00000001u) {
  3890. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  3891. this->command_key().data(), static_cast<int>(this->command_key().length()),
  3892. ::google::protobuf::internal::WireFormat::SERIALIZE,
  3893. "message.Parkspace_confirm_alloc_request_msg.command_key");
  3894. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  3895. 2, this->command_key(), output);
  3896. }
  3897. // repeated .message.Parkspace_info confirm_parkspace_info_ex = 3;
  3898. for (unsigned int i = 0,
  3899. n = static_cast<unsigned int>(this->confirm_parkspace_info_ex_size()); i < n; i++) {
  3900. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  3901. 3,
  3902. this->confirm_parkspace_info_ex(static_cast<int>(i)),
  3903. output);
  3904. }
  3905. // optional .message.Car_type car_type = 4;
  3906. if (cached_has_bits & 0x00000004u) {
  3907. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  3908. 4, this->car_type(), output);
  3909. }
  3910. if (_internal_metadata_.have_unknown_fields()) {
  3911. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  3912. _internal_metadata_.unknown_fields(), output);
  3913. }
  3914. // @@protoc_insertion_point(serialize_end:message.Parkspace_confirm_alloc_request_msg)
  3915. }
  3916. ::google::protobuf::uint8* Parkspace_confirm_alloc_request_msg::InternalSerializeWithCachedSizesToArray(
  3917. bool deterministic, ::google::protobuf::uint8* target) const {
  3918. (void)deterministic; // Unused
  3919. // @@protoc_insertion_point(serialize_to_array_start:message.Parkspace_confirm_alloc_request_msg)
  3920. ::google::protobuf::uint32 cached_has_bits = 0;
  3921. (void) cached_has_bits;
  3922. cached_has_bits = _has_bits_[0];
  3923. // required .message.Base_info base_info = 1;
  3924. if (cached_has_bits & 0x00000002u) {
  3925. target = ::google::protobuf::internal::WireFormatLite::
  3926. InternalWriteMessageToArray(
  3927. 1, this->_internal_base_info(), deterministic, target);
  3928. }
  3929. // required string command_key = 2;
  3930. if (cached_has_bits & 0x00000001u) {
  3931. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  3932. this->command_key().data(), static_cast<int>(this->command_key().length()),
  3933. ::google::protobuf::internal::WireFormat::SERIALIZE,
  3934. "message.Parkspace_confirm_alloc_request_msg.command_key");
  3935. target =
  3936. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  3937. 2, this->command_key(), target);
  3938. }
  3939. // repeated .message.Parkspace_info confirm_parkspace_info_ex = 3;
  3940. for (unsigned int i = 0,
  3941. n = static_cast<unsigned int>(this->confirm_parkspace_info_ex_size()); i < n; i++) {
  3942. target = ::google::protobuf::internal::WireFormatLite::
  3943. InternalWriteMessageToArray(
  3944. 3, this->confirm_parkspace_info_ex(static_cast<int>(i)), deterministic, target);
  3945. }
  3946. // optional .message.Car_type car_type = 4;
  3947. if (cached_has_bits & 0x00000004u) {
  3948. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  3949. 4, this->car_type(), target);
  3950. }
  3951. if (_internal_metadata_.have_unknown_fields()) {
  3952. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  3953. _internal_metadata_.unknown_fields(), target);
  3954. }
  3955. // @@protoc_insertion_point(serialize_to_array_end:message.Parkspace_confirm_alloc_request_msg)
  3956. return target;
  3957. }
  3958. size_t Parkspace_confirm_alloc_request_msg::RequiredFieldsByteSizeFallback() const {
  3959. // @@protoc_insertion_point(required_fields_byte_size_fallback_start:message.Parkspace_confirm_alloc_request_msg)
  3960. size_t total_size = 0;
  3961. if (has_command_key()) {
  3962. // required string command_key = 2;
  3963. total_size += 1 +
  3964. ::google::protobuf::internal::WireFormatLite::StringSize(
  3965. this->command_key());
  3966. }
  3967. if (has_base_info()) {
  3968. // required .message.Base_info base_info = 1;
  3969. total_size += 1 +
  3970. ::google::protobuf::internal::WireFormatLite::MessageSize(
  3971. *base_info_);
  3972. }
  3973. return total_size;
  3974. }
  3975. size_t Parkspace_confirm_alloc_request_msg::ByteSizeLong() const {
  3976. // @@protoc_insertion_point(message_byte_size_start:message.Parkspace_confirm_alloc_request_msg)
  3977. size_t total_size = 0;
  3978. if (_internal_metadata_.have_unknown_fields()) {
  3979. total_size +=
  3980. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  3981. _internal_metadata_.unknown_fields());
  3982. }
  3983. if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present.
  3984. // required string command_key = 2;
  3985. total_size += 1 +
  3986. ::google::protobuf::internal::WireFormatLite::StringSize(
  3987. this->command_key());
  3988. // required .message.Base_info base_info = 1;
  3989. total_size += 1 +
  3990. ::google::protobuf::internal::WireFormatLite::MessageSize(
  3991. *base_info_);
  3992. } else {
  3993. total_size += RequiredFieldsByteSizeFallback();
  3994. }
  3995. // repeated .message.Parkspace_info confirm_parkspace_info_ex = 3;
  3996. {
  3997. unsigned int count = static_cast<unsigned int>(this->confirm_parkspace_info_ex_size());
  3998. total_size += 1UL * count;
  3999. for (unsigned int i = 0; i < count; i++) {
  4000. total_size +=
  4001. ::google::protobuf::internal::WireFormatLite::MessageSize(
  4002. this->confirm_parkspace_info_ex(static_cast<int>(i)));
  4003. }
  4004. }
  4005. // optional .message.Car_type car_type = 4;
  4006. if (has_car_type()) {
  4007. total_size += 1 +
  4008. ::google::protobuf::internal::WireFormatLite::EnumSize(this->car_type());
  4009. }
  4010. int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
  4011. SetCachedSize(cached_size);
  4012. return total_size;
  4013. }
  4014. void Parkspace_confirm_alloc_request_msg::MergeFrom(const ::google::protobuf::Message& from) {
  4015. // @@protoc_insertion_point(generalized_merge_from_start:message.Parkspace_confirm_alloc_request_msg)
  4016. GOOGLE_DCHECK_NE(&from, this);
  4017. const Parkspace_confirm_alloc_request_msg* source =
  4018. ::google::protobuf::internal::DynamicCastToGenerated<const Parkspace_confirm_alloc_request_msg>(
  4019. &from);
  4020. if (source == NULL) {
  4021. // @@protoc_insertion_point(generalized_merge_from_cast_fail:message.Parkspace_confirm_alloc_request_msg)
  4022. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  4023. } else {
  4024. // @@protoc_insertion_point(generalized_merge_from_cast_success:message.Parkspace_confirm_alloc_request_msg)
  4025. MergeFrom(*source);
  4026. }
  4027. }
  4028. void Parkspace_confirm_alloc_request_msg::MergeFrom(const Parkspace_confirm_alloc_request_msg& from) {
  4029. // @@protoc_insertion_point(class_specific_merge_from_start:message.Parkspace_confirm_alloc_request_msg)
  4030. GOOGLE_DCHECK_NE(&from, this);
  4031. _internal_metadata_.MergeFrom(from._internal_metadata_);
  4032. ::google::protobuf::uint32 cached_has_bits = 0;
  4033. (void) cached_has_bits;
  4034. confirm_parkspace_info_ex_.MergeFrom(from.confirm_parkspace_info_ex_);
  4035. cached_has_bits = from._has_bits_[0];
  4036. if (cached_has_bits & 7u) {
  4037. if (cached_has_bits & 0x00000001u) {
  4038. set_has_command_key();
  4039. command_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.command_key_);
  4040. }
  4041. if (cached_has_bits & 0x00000002u) {
  4042. mutable_base_info()->::message::Base_info::MergeFrom(from.base_info());
  4043. }
  4044. if (cached_has_bits & 0x00000004u) {
  4045. car_type_ = from.car_type_;
  4046. }
  4047. _has_bits_[0] |= cached_has_bits;
  4048. }
  4049. }
  4050. void Parkspace_confirm_alloc_request_msg::CopyFrom(const ::google::protobuf::Message& from) {
  4051. // @@protoc_insertion_point(generalized_copy_from_start:message.Parkspace_confirm_alloc_request_msg)
  4052. if (&from == this) return;
  4053. Clear();
  4054. MergeFrom(from);
  4055. }
  4056. void Parkspace_confirm_alloc_request_msg::CopyFrom(const Parkspace_confirm_alloc_request_msg& from) {
  4057. // @@protoc_insertion_point(class_specific_copy_from_start:message.Parkspace_confirm_alloc_request_msg)
  4058. if (&from == this) return;
  4059. Clear();
  4060. MergeFrom(from);
  4061. }
  4062. bool Parkspace_confirm_alloc_request_msg::IsInitialized() const {
  4063. if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
  4064. if (has_base_info()) {
  4065. if (!this->base_info_->IsInitialized()) return false;
  4066. }
  4067. return true;
  4068. }
  4069. void Parkspace_confirm_alloc_request_msg::Swap(Parkspace_confirm_alloc_request_msg* other) {
  4070. if (other == this) return;
  4071. InternalSwap(other);
  4072. }
  4073. void Parkspace_confirm_alloc_request_msg::InternalSwap(Parkspace_confirm_alloc_request_msg* other) {
  4074. using std::swap;
  4075. CastToBase(&confirm_parkspace_info_ex_)->InternalSwap(CastToBase(&other->confirm_parkspace_info_ex_));
  4076. command_key_.Swap(&other->command_key_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  4077. GetArenaNoVirtual());
  4078. swap(base_info_, other->base_info_);
  4079. swap(car_type_, other->car_type_);
  4080. swap(_has_bits_[0], other->_has_bits_[0]);
  4081. _internal_metadata_.Swap(&other->_internal_metadata_);
  4082. }
  4083. ::google::protobuf::Metadata Parkspace_confirm_alloc_request_msg::GetMetadata() const {
  4084. protobuf_parkspace_5fallocation_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  4085. return ::protobuf_parkspace_5fallocation_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages];
  4086. }
  4087. // ===================================================================
  4088. void Parkspace_confirm_alloc_response_msg::InitAsDefaultInstance() {
  4089. ::message::_Parkspace_confirm_alloc_response_msg_default_instance_._instance.get_mutable()->base_info_ = const_cast< ::message::Base_info*>(
  4090. ::message::Base_info::internal_default_instance());
  4091. ::message::_Parkspace_confirm_alloc_response_msg_default_instance_._instance.get_mutable()->error_manager_ = const_cast< ::message::Error_manager*>(
  4092. ::message::Error_manager::internal_default_instance());
  4093. }
  4094. void Parkspace_confirm_alloc_response_msg::clear_base_info() {
  4095. if (base_info_ != NULL) base_info_->Clear();
  4096. clear_has_base_info();
  4097. }
  4098. void Parkspace_confirm_alloc_response_msg::clear_error_manager() {
  4099. if (error_manager_ != NULL) error_manager_->Clear();
  4100. clear_has_error_manager();
  4101. }
  4102. void Parkspace_confirm_alloc_response_msg::clear_confirm_parkspace_info_ex() {
  4103. confirm_parkspace_info_ex_.Clear();
  4104. }
  4105. #if !defined(_MSC_VER) || _MSC_VER >= 1900
  4106. const int Parkspace_confirm_alloc_response_msg::kBaseInfoFieldNumber;
  4107. const int Parkspace_confirm_alloc_response_msg::kCommandKeyFieldNumber;
  4108. const int Parkspace_confirm_alloc_response_msg::kErrorManagerFieldNumber;
  4109. const int Parkspace_confirm_alloc_response_msg::kConfirmParkspaceInfoExFieldNumber;
  4110. const int Parkspace_confirm_alloc_response_msg::kCarTypeFieldNumber;
  4111. #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
  4112. Parkspace_confirm_alloc_response_msg::Parkspace_confirm_alloc_response_msg()
  4113. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  4114. ::google::protobuf::internal::InitSCC(
  4115. &protobuf_parkspace_5fallocation_5fmessage_2eproto::scc_info_Parkspace_confirm_alloc_response_msg.base);
  4116. SharedCtor();
  4117. // @@protoc_insertion_point(constructor:message.Parkspace_confirm_alloc_response_msg)
  4118. }
  4119. Parkspace_confirm_alloc_response_msg::Parkspace_confirm_alloc_response_msg(const Parkspace_confirm_alloc_response_msg& from)
  4120. : ::google::protobuf::Message(),
  4121. _internal_metadata_(NULL),
  4122. _has_bits_(from._has_bits_),
  4123. confirm_parkspace_info_ex_(from.confirm_parkspace_info_ex_) {
  4124. _internal_metadata_.MergeFrom(from._internal_metadata_);
  4125. command_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  4126. if (from.has_command_key()) {
  4127. command_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.command_key_);
  4128. }
  4129. if (from.has_base_info()) {
  4130. base_info_ = new ::message::Base_info(*from.base_info_);
  4131. } else {
  4132. base_info_ = NULL;
  4133. }
  4134. if (from.has_error_manager()) {
  4135. error_manager_ = new ::message::Error_manager(*from.error_manager_);
  4136. } else {
  4137. error_manager_ = NULL;
  4138. }
  4139. car_type_ = from.car_type_;
  4140. // @@protoc_insertion_point(copy_constructor:message.Parkspace_confirm_alloc_response_msg)
  4141. }
  4142. void Parkspace_confirm_alloc_response_msg::SharedCtor() {
  4143. command_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  4144. ::memset(&base_info_, 0, static_cast<size_t>(
  4145. reinterpret_cast<char*>(&car_type_) -
  4146. reinterpret_cast<char*>(&base_info_)) + sizeof(car_type_));
  4147. }
  4148. Parkspace_confirm_alloc_response_msg::~Parkspace_confirm_alloc_response_msg() {
  4149. // @@protoc_insertion_point(destructor:message.Parkspace_confirm_alloc_response_msg)
  4150. SharedDtor();
  4151. }
  4152. void Parkspace_confirm_alloc_response_msg::SharedDtor() {
  4153. command_key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  4154. if (this != internal_default_instance()) delete base_info_;
  4155. if (this != internal_default_instance()) delete error_manager_;
  4156. }
  4157. void Parkspace_confirm_alloc_response_msg::SetCachedSize(int size) const {
  4158. _cached_size_.Set(size);
  4159. }
  4160. const ::google::protobuf::Descriptor* Parkspace_confirm_alloc_response_msg::descriptor() {
  4161. ::protobuf_parkspace_5fallocation_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  4162. return ::protobuf_parkspace_5fallocation_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
  4163. }
  4164. const Parkspace_confirm_alloc_response_msg& Parkspace_confirm_alloc_response_msg::default_instance() {
  4165. ::google::protobuf::internal::InitSCC(&protobuf_parkspace_5fallocation_5fmessage_2eproto::scc_info_Parkspace_confirm_alloc_response_msg.base);
  4166. return *internal_default_instance();
  4167. }
  4168. void Parkspace_confirm_alloc_response_msg::Clear() {
  4169. // @@protoc_insertion_point(message_clear_start:message.Parkspace_confirm_alloc_response_msg)
  4170. ::google::protobuf::uint32 cached_has_bits = 0;
  4171. // Prevent compiler warnings about cached_has_bits being unused
  4172. (void) cached_has_bits;
  4173. confirm_parkspace_info_ex_.Clear();
  4174. cached_has_bits = _has_bits_[0];
  4175. if (cached_has_bits & 7u) {
  4176. if (cached_has_bits & 0x00000001u) {
  4177. command_key_.ClearNonDefaultToEmptyNoArena();
  4178. }
  4179. if (cached_has_bits & 0x00000002u) {
  4180. GOOGLE_DCHECK(base_info_ != NULL);
  4181. base_info_->Clear();
  4182. }
  4183. if (cached_has_bits & 0x00000004u) {
  4184. GOOGLE_DCHECK(error_manager_ != NULL);
  4185. error_manager_->Clear();
  4186. }
  4187. }
  4188. car_type_ = 0;
  4189. _has_bits_.Clear();
  4190. _internal_metadata_.Clear();
  4191. }
  4192. bool Parkspace_confirm_alloc_response_msg::MergePartialFromCodedStream(
  4193. ::google::protobuf::io::CodedInputStream* input) {
  4194. #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
  4195. ::google::protobuf::uint32 tag;
  4196. // @@protoc_insertion_point(parse_start:message.Parkspace_confirm_alloc_response_msg)
  4197. for (;;) {
  4198. ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
  4199. tag = p.first;
  4200. if (!p.second) goto handle_unusual;
  4201. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  4202. // required .message.Base_info base_info = 1;
  4203. case 1: {
  4204. if (static_cast< ::google::protobuf::uint8>(tag) ==
  4205. static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
  4206. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  4207. input, mutable_base_info()));
  4208. } else {
  4209. goto handle_unusual;
  4210. }
  4211. break;
  4212. }
  4213. // required string command_key = 2;
  4214. case 2: {
  4215. if (static_cast< ::google::protobuf::uint8>(tag) ==
  4216. static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
  4217. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  4218. input, this->mutable_command_key()));
  4219. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  4220. this->command_key().data(), static_cast<int>(this->command_key().length()),
  4221. ::google::protobuf::internal::WireFormat::PARSE,
  4222. "message.Parkspace_confirm_alloc_response_msg.command_key");
  4223. } else {
  4224. goto handle_unusual;
  4225. }
  4226. break;
  4227. }
  4228. // required .message.Error_manager error_manager = 3;
  4229. case 3: {
  4230. if (static_cast< ::google::protobuf::uint8>(tag) ==
  4231. static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
  4232. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  4233. input, mutable_error_manager()));
  4234. } else {
  4235. goto handle_unusual;
  4236. }
  4237. break;
  4238. }
  4239. // repeated .message.Parkspace_info confirm_parkspace_info_ex = 4;
  4240. case 4: {
  4241. if (static_cast< ::google::protobuf::uint8>(tag) ==
  4242. static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
  4243. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  4244. input, add_confirm_parkspace_info_ex()));
  4245. } else {
  4246. goto handle_unusual;
  4247. }
  4248. break;
  4249. }
  4250. // optional .message.Car_type car_type = 5;
  4251. case 5: {
  4252. if (static_cast< ::google::protobuf::uint8>(tag) ==
  4253. static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
  4254. int value;
  4255. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4256. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  4257. input, &value)));
  4258. if (::message::Car_type_IsValid(value)) {
  4259. set_car_type(static_cast< ::message::Car_type >(value));
  4260. } else {
  4261. mutable_unknown_fields()->AddVarint(
  4262. 5, static_cast< ::google::protobuf::uint64>(value));
  4263. }
  4264. } else {
  4265. goto handle_unusual;
  4266. }
  4267. break;
  4268. }
  4269. default: {
  4270. handle_unusual:
  4271. if (tag == 0) {
  4272. goto success;
  4273. }
  4274. DO_(::google::protobuf::internal::WireFormat::SkipField(
  4275. input, tag, _internal_metadata_.mutable_unknown_fields()));
  4276. break;
  4277. }
  4278. }
  4279. }
  4280. success:
  4281. // @@protoc_insertion_point(parse_success:message.Parkspace_confirm_alloc_response_msg)
  4282. return true;
  4283. failure:
  4284. // @@protoc_insertion_point(parse_failure:message.Parkspace_confirm_alloc_response_msg)
  4285. return false;
  4286. #undef DO_
  4287. }
  4288. void Parkspace_confirm_alloc_response_msg::SerializeWithCachedSizes(
  4289. ::google::protobuf::io::CodedOutputStream* output) const {
  4290. // @@protoc_insertion_point(serialize_start:message.Parkspace_confirm_alloc_response_msg)
  4291. ::google::protobuf::uint32 cached_has_bits = 0;
  4292. (void) cached_has_bits;
  4293. cached_has_bits = _has_bits_[0];
  4294. // required .message.Base_info base_info = 1;
  4295. if (cached_has_bits & 0x00000002u) {
  4296. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  4297. 1, this->_internal_base_info(), output);
  4298. }
  4299. // required string command_key = 2;
  4300. if (cached_has_bits & 0x00000001u) {
  4301. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  4302. this->command_key().data(), static_cast<int>(this->command_key().length()),
  4303. ::google::protobuf::internal::WireFormat::SERIALIZE,
  4304. "message.Parkspace_confirm_alloc_response_msg.command_key");
  4305. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  4306. 2, this->command_key(), output);
  4307. }
  4308. // required .message.Error_manager error_manager = 3;
  4309. if (cached_has_bits & 0x00000004u) {
  4310. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  4311. 3, this->_internal_error_manager(), output);
  4312. }
  4313. // repeated .message.Parkspace_info confirm_parkspace_info_ex = 4;
  4314. for (unsigned int i = 0,
  4315. n = static_cast<unsigned int>(this->confirm_parkspace_info_ex_size()); i < n; i++) {
  4316. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  4317. 4,
  4318. this->confirm_parkspace_info_ex(static_cast<int>(i)),
  4319. output);
  4320. }
  4321. // optional .message.Car_type car_type = 5;
  4322. if (cached_has_bits & 0x00000008u) {
  4323. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  4324. 5, this->car_type(), output);
  4325. }
  4326. if (_internal_metadata_.have_unknown_fields()) {
  4327. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  4328. _internal_metadata_.unknown_fields(), output);
  4329. }
  4330. // @@protoc_insertion_point(serialize_end:message.Parkspace_confirm_alloc_response_msg)
  4331. }
  4332. ::google::protobuf::uint8* Parkspace_confirm_alloc_response_msg::InternalSerializeWithCachedSizesToArray(
  4333. bool deterministic, ::google::protobuf::uint8* target) const {
  4334. (void)deterministic; // Unused
  4335. // @@protoc_insertion_point(serialize_to_array_start:message.Parkspace_confirm_alloc_response_msg)
  4336. ::google::protobuf::uint32 cached_has_bits = 0;
  4337. (void) cached_has_bits;
  4338. cached_has_bits = _has_bits_[0];
  4339. // required .message.Base_info base_info = 1;
  4340. if (cached_has_bits & 0x00000002u) {
  4341. target = ::google::protobuf::internal::WireFormatLite::
  4342. InternalWriteMessageToArray(
  4343. 1, this->_internal_base_info(), deterministic, target);
  4344. }
  4345. // required string command_key = 2;
  4346. if (cached_has_bits & 0x00000001u) {
  4347. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  4348. this->command_key().data(), static_cast<int>(this->command_key().length()),
  4349. ::google::protobuf::internal::WireFormat::SERIALIZE,
  4350. "message.Parkspace_confirm_alloc_response_msg.command_key");
  4351. target =
  4352. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  4353. 2, this->command_key(), target);
  4354. }
  4355. // required .message.Error_manager error_manager = 3;
  4356. if (cached_has_bits & 0x00000004u) {
  4357. target = ::google::protobuf::internal::WireFormatLite::
  4358. InternalWriteMessageToArray(
  4359. 3, this->_internal_error_manager(), deterministic, target);
  4360. }
  4361. // repeated .message.Parkspace_info confirm_parkspace_info_ex = 4;
  4362. for (unsigned int i = 0,
  4363. n = static_cast<unsigned int>(this->confirm_parkspace_info_ex_size()); i < n; i++) {
  4364. target = ::google::protobuf::internal::WireFormatLite::
  4365. InternalWriteMessageToArray(
  4366. 4, this->confirm_parkspace_info_ex(static_cast<int>(i)), deterministic, target);
  4367. }
  4368. // optional .message.Car_type car_type = 5;
  4369. if (cached_has_bits & 0x00000008u) {
  4370. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  4371. 5, this->car_type(), target);
  4372. }
  4373. if (_internal_metadata_.have_unknown_fields()) {
  4374. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  4375. _internal_metadata_.unknown_fields(), target);
  4376. }
  4377. // @@protoc_insertion_point(serialize_to_array_end:message.Parkspace_confirm_alloc_response_msg)
  4378. return target;
  4379. }
  4380. size_t Parkspace_confirm_alloc_response_msg::RequiredFieldsByteSizeFallback() const {
  4381. // @@protoc_insertion_point(required_fields_byte_size_fallback_start:message.Parkspace_confirm_alloc_response_msg)
  4382. size_t total_size = 0;
  4383. if (has_command_key()) {
  4384. // required string command_key = 2;
  4385. total_size += 1 +
  4386. ::google::protobuf::internal::WireFormatLite::StringSize(
  4387. this->command_key());
  4388. }
  4389. if (has_base_info()) {
  4390. // required .message.Base_info base_info = 1;
  4391. total_size += 1 +
  4392. ::google::protobuf::internal::WireFormatLite::MessageSize(
  4393. *base_info_);
  4394. }
  4395. if (has_error_manager()) {
  4396. // required .message.Error_manager error_manager = 3;
  4397. total_size += 1 +
  4398. ::google::protobuf::internal::WireFormatLite::MessageSize(
  4399. *error_manager_);
  4400. }
  4401. return total_size;
  4402. }
  4403. size_t Parkspace_confirm_alloc_response_msg::ByteSizeLong() const {
  4404. // @@protoc_insertion_point(message_byte_size_start:message.Parkspace_confirm_alloc_response_msg)
  4405. size_t total_size = 0;
  4406. if (_internal_metadata_.have_unknown_fields()) {
  4407. total_size +=
  4408. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  4409. _internal_metadata_.unknown_fields());
  4410. }
  4411. if (((_has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present.
  4412. // required string command_key = 2;
  4413. total_size += 1 +
  4414. ::google::protobuf::internal::WireFormatLite::StringSize(
  4415. this->command_key());
  4416. // required .message.Base_info base_info = 1;
  4417. total_size += 1 +
  4418. ::google::protobuf::internal::WireFormatLite::MessageSize(
  4419. *base_info_);
  4420. // required .message.Error_manager error_manager = 3;
  4421. total_size += 1 +
  4422. ::google::protobuf::internal::WireFormatLite::MessageSize(
  4423. *error_manager_);
  4424. } else {
  4425. total_size += RequiredFieldsByteSizeFallback();
  4426. }
  4427. // repeated .message.Parkspace_info confirm_parkspace_info_ex = 4;
  4428. {
  4429. unsigned int count = static_cast<unsigned int>(this->confirm_parkspace_info_ex_size());
  4430. total_size += 1UL * count;
  4431. for (unsigned int i = 0; i < count; i++) {
  4432. total_size +=
  4433. ::google::protobuf::internal::WireFormatLite::MessageSize(
  4434. this->confirm_parkspace_info_ex(static_cast<int>(i)));
  4435. }
  4436. }
  4437. // optional .message.Car_type car_type = 5;
  4438. if (has_car_type()) {
  4439. total_size += 1 +
  4440. ::google::protobuf::internal::WireFormatLite::EnumSize(this->car_type());
  4441. }
  4442. int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
  4443. SetCachedSize(cached_size);
  4444. return total_size;
  4445. }
  4446. void Parkspace_confirm_alloc_response_msg::MergeFrom(const ::google::protobuf::Message& from) {
  4447. // @@protoc_insertion_point(generalized_merge_from_start:message.Parkspace_confirm_alloc_response_msg)
  4448. GOOGLE_DCHECK_NE(&from, this);
  4449. const Parkspace_confirm_alloc_response_msg* source =
  4450. ::google::protobuf::internal::DynamicCastToGenerated<const Parkspace_confirm_alloc_response_msg>(
  4451. &from);
  4452. if (source == NULL) {
  4453. // @@protoc_insertion_point(generalized_merge_from_cast_fail:message.Parkspace_confirm_alloc_response_msg)
  4454. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  4455. } else {
  4456. // @@protoc_insertion_point(generalized_merge_from_cast_success:message.Parkspace_confirm_alloc_response_msg)
  4457. MergeFrom(*source);
  4458. }
  4459. }
  4460. void Parkspace_confirm_alloc_response_msg::MergeFrom(const Parkspace_confirm_alloc_response_msg& from) {
  4461. // @@protoc_insertion_point(class_specific_merge_from_start:message.Parkspace_confirm_alloc_response_msg)
  4462. GOOGLE_DCHECK_NE(&from, this);
  4463. _internal_metadata_.MergeFrom(from._internal_metadata_);
  4464. ::google::protobuf::uint32 cached_has_bits = 0;
  4465. (void) cached_has_bits;
  4466. confirm_parkspace_info_ex_.MergeFrom(from.confirm_parkspace_info_ex_);
  4467. cached_has_bits = from._has_bits_[0];
  4468. if (cached_has_bits & 15u) {
  4469. if (cached_has_bits & 0x00000001u) {
  4470. set_has_command_key();
  4471. command_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.command_key_);
  4472. }
  4473. if (cached_has_bits & 0x00000002u) {
  4474. mutable_base_info()->::message::Base_info::MergeFrom(from.base_info());
  4475. }
  4476. if (cached_has_bits & 0x00000004u) {
  4477. mutable_error_manager()->::message::Error_manager::MergeFrom(from.error_manager());
  4478. }
  4479. if (cached_has_bits & 0x00000008u) {
  4480. car_type_ = from.car_type_;
  4481. }
  4482. _has_bits_[0] |= cached_has_bits;
  4483. }
  4484. }
  4485. void Parkspace_confirm_alloc_response_msg::CopyFrom(const ::google::protobuf::Message& from) {
  4486. // @@protoc_insertion_point(generalized_copy_from_start:message.Parkspace_confirm_alloc_response_msg)
  4487. if (&from == this) return;
  4488. Clear();
  4489. MergeFrom(from);
  4490. }
  4491. void Parkspace_confirm_alloc_response_msg::CopyFrom(const Parkspace_confirm_alloc_response_msg& from) {
  4492. // @@protoc_insertion_point(class_specific_copy_from_start:message.Parkspace_confirm_alloc_response_msg)
  4493. if (&from == this) return;
  4494. Clear();
  4495. MergeFrom(from);
  4496. }
  4497. bool Parkspace_confirm_alloc_response_msg::IsInitialized() const {
  4498. if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false;
  4499. if (has_base_info()) {
  4500. if (!this->base_info_->IsInitialized()) return false;
  4501. }
  4502. if (has_error_manager()) {
  4503. if (!this->error_manager_->IsInitialized()) return false;
  4504. }
  4505. return true;
  4506. }
  4507. void Parkspace_confirm_alloc_response_msg::Swap(Parkspace_confirm_alloc_response_msg* other) {
  4508. if (other == this) return;
  4509. InternalSwap(other);
  4510. }
  4511. void Parkspace_confirm_alloc_response_msg::InternalSwap(Parkspace_confirm_alloc_response_msg* other) {
  4512. using std::swap;
  4513. CastToBase(&confirm_parkspace_info_ex_)->InternalSwap(CastToBase(&other->confirm_parkspace_info_ex_));
  4514. command_key_.Swap(&other->command_key_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  4515. GetArenaNoVirtual());
  4516. swap(base_info_, other->base_info_);
  4517. swap(error_manager_, other->error_manager_);
  4518. swap(car_type_, other->car_type_);
  4519. swap(_has_bits_[0], other->_has_bits_[0]);
  4520. _internal_metadata_.Swap(&other->_internal_metadata_);
  4521. }
  4522. ::google::protobuf::Metadata Parkspace_confirm_alloc_response_msg::GetMetadata() const {
  4523. protobuf_parkspace_5fallocation_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  4524. return ::protobuf_parkspace_5fallocation_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages];
  4525. }
  4526. // ===================================================================
  4527. void Parkspace_allocation_status_msg::InitAsDefaultInstance() {
  4528. ::message::_Parkspace_allocation_status_msg_default_instance_._instance.get_mutable()->base_info_ = const_cast< ::message::Base_info*>(
  4529. ::message::Base_info::internal_default_instance());
  4530. ::message::_Parkspace_allocation_status_msg_default_instance_._instance.get_mutable()->error_manager_ = const_cast< ::message::Error_manager*>(
  4531. ::message::Error_manager::internal_default_instance());
  4532. }
  4533. void Parkspace_allocation_status_msg::clear_base_info() {
  4534. if (base_info_ != NULL) base_info_->Clear();
  4535. clear_has_base_info();
  4536. }
  4537. void Parkspace_allocation_status_msg::clear_error_manager() {
  4538. if (error_manager_ != NULL) error_manager_->Clear();
  4539. clear_has_error_manager();
  4540. }
  4541. #if !defined(_MSC_VER) || _MSC_VER >= 1900
  4542. const int Parkspace_allocation_status_msg::kBaseInfoFieldNumber;
  4543. const int Parkspace_allocation_status_msg::kErrorManagerFieldNumber;
  4544. const int Parkspace_allocation_status_msg::kDatabaseControllerStatusFieldNumber;
  4545. const int Parkspace_allocation_status_msg::kParkspaceManagerSatusFieldNumber;
  4546. const int Parkspace_allocation_status_msg::kSmallParkspaceRemainingNumberFieldNumber;
  4547. const int Parkspace_allocation_status_msg::kMediumParkspaceRemainingNumberFieldNumber;
  4548. const int Parkspace_allocation_status_msg::kLargeParkspaceRemainingNumberFieldNumber;
  4549. const int Parkspace_allocation_status_msg::kTotalParkspaceRemainingNumberFieldNumber;
  4550. #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
  4551. Parkspace_allocation_status_msg::Parkspace_allocation_status_msg()
  4552. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  4553. ::google::protobuf::internal::InitSCC(
  4554. &protobuf_parkspace_5fallocation_5fmessage_2eproto::scc_info_Parkspace_allocation_status_msg.base);
  4555. SharedCtor();
  4556. // @@protoc_insertion_point(constructor:message.Parkspace_allocation_status_msg)
  4557. }
  4558. Parkspace_allocation_status_msg::Parkspace_allocation_status_msg(const Parkspace_allocation_status_msg& from)
  4559. : ::google::protobuf::Message(),
  4560. _internal_metadata_(NULL),
  4561. _has_bits_(from._has_bits_) {
  4562. _internal_metadata_.MergeFrom(from._internal_metadata_);
  4563. if (from.has_base_info()) {
  4564. base_info_ = new ::message::Base_info(*from.base_info_);
  4565. } else {
  4566. base_info_ = NULL;
  4567. }
  4568. if (from.has_error_manager()) {
  4569. error_manager_ = new ::message::Error_manager(*from.error_manager_);
  4570. } else {
  4571. error_manager_ = NULL;
  4572. }
  4573. ::memcpy(&database_controller_status_, &from.database_controller_status_,
  4574. static_cast<size_t>(reinterpret_cast<char*>(&total_parkspace_remaining_number_) -
  4575. reinterpret_cast<char*>(&database_controller_status_)) + sizeof(total_parkspace_remaining_number_));
  4576. // @@protoc_insertion_point(copy_constructor:message.Parkspace_allocation_status_msg)
  4577. }
  4578. void Parkspace_allocation_status_msg::SharedCtor() {
  4579. ::memset(&base_info_, 0, static_cast<size_t>(
  4580. reinterpret_cast<char*>(&total_parkspace_remaining_number_) -
  4581. reinterpret_cast<char*>(&base_info_)) + sizeof(total_parkspace_remaining_number_));
  4582. }
  4583. Parkspace_allocation_status_msg::~Parkspace_allocation_status_msg() {
  4584. // @@protoc_insertion_point(destructor:message.Parkspace_allocation_status_msg)
  4585. SharedDtor();
  4586. }
  4587. void Parkspace_allocation_status_msg::SharedDtor() {
  4588. if (this != internal_default_instance()) delete base_info_;
  4589. if (this != internal_default_instance()) delete error_manager_;
  4590. }
  4591. void Parkspace_allocation_status_msg::SetCachedSize(int size) const {
  4592. _cached_size_.Set(size);
  4593. }
  4594. const ::google::protobuf::Descriptor* Parkspace_allocation_status_msg::descriptor() {
  4595. ::protobuf_parkspace_5fallocation_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  4596. return ::protobuf_parkspace_5fallocation_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
  4597. }
  4598. const Parkspace_allocation_status_msg& Parkspace_allocation_status_msg::default_instance() {
  4599. ::google::protobuf::internal::InitSCC(&protobuf_parkspace_5fallocation_5fmessage_2eproto::scc_info_Parkspace_allocation_status_msg.base);
  4600. return *internal_default_instance();
  4601. }
  4602. void Parkspace_allocation_status_msg::Clear() {
  4603. // @@protoc_insertion_point(message_clear_start:message.Parkspace_allocation_status_msg)
  4604. ::google::protobuf::uint32 cached_has_bits = 0;
  4605. // Prevent compiler warnings about cached_has_bits being unused
  4606. (void) cached_has_bits;
  4607. cached_has_bits = _has_bits_[0];
  4608. if (cached_has_bits & 3u) {
  4609. if (cached_has_bits & 0x00000001u) {
  4610. GOOGLE_DCHECK(base_info_ != NULL);
  4611. base_info_->Clear();
  4612. }
  4613. if (cached_has_bits & 0x00000002u) {
  4614. GOOGLE_DCHECK(error_manager_ != NULL);
  4615. error_manager_->Clear();
  4616. }
  4617. }
  4618. if (cached_has_bits & 252u) {
  4619. ::memset(&database_controller_status_, 0, static_cast<size_t>(
  4620. reinterpret_cast<char*>(&total_parkspace_remaining_number_) -
  4621. reinterpret_cast<char*>(&database_controller_status_)) + sizeof(total_parkspace_remaining_number_));
  4622. }
  4623. _has_bits_.Clear();
  4624. _internal_metadata_.Clear();
  4625. }
  4626. bool Parkspace_allocation_status_msg::MergePartialFromCodedStream(
  4627. ::google::protobuf::io::CodedInputStream* input) {
  4628. #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
  4629. ::google::protobuf::uint32 tag;
  4630. // @@protoc_insertion_point(parse_start:message.Parkspace_allocation_status_msg)
  4631. for (;;) {
  4632. ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
  4633. tag = p.first;
  4634. if (!p.second) goto handle_unusual;
  4635. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  4636. // required .message.Base_info base_info = 1;
  4637. case 1: {
  4638. if (static_cast< ::google::protobuf::uint8>(tag) ==
  4639. static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
  4640. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  4641. input, mutable_base_info()));
  4642. } else {
  4643. goto handle_unusual;
  4644. }
  4645. break;
  4646. }
  4647. // required .message.Error_manager error_manager = 2;
  4648. case 2: {
  4649. if (static_cast< ::google::protobuf::uint8>(tag) ==
  4650. static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
  4651. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  4652. input, mutable_error_manager()));
  4653. } else {
  4654. goto handle_unusual;
  4655. }
  4656. break;
  4657. }
  4658. // required .message.Database_controller_status database_controller_status = 3;
  4659. case 3: {
  4660. if (static_cast< ::google::protobuf::uint8>(tag) ==
  4661. static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
  4662. int value;
  4663. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4664. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  4665. input, &value)));
  4666. if (::message::Database_controller_status_IsValid(value)) {
  4667. set_database_controller_status(static_cast< ::message::Database_controller_status >(value));
  4668. } else {
  4669. mutable_unknown_fields()->AddVarint(
  4670. 3, static_cast< ::google::protobuf::uint64>(value));
  4671. }
  4672. } else {
  4673. goto handle_unusual;
  4674. }
  4675. break;
  4676. }
  4677. // required .message.Parkspace_manager_satus parkspace_manager_satus = 4;
  4678. case 4: {
  4679. if (static_cast< ::google::protobuf::uint8>(tag) ==
  4680. static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
  4681. int value;
  4682. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4683. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  4684. input, &value)));
  4685. if (::message::Parkspace_manager_satus_IsValid(value)) {
  4686. set_parkspace_manager_satus(static_cast< ::message::Parkspace_manager_satus >(value));
  4687. } else {
  4688. mutable_unknown_fields()->AddVarint(
  4689. 4, static_cast< ::google::protobuf::uint64>(value));
  4690. }
  4691. } else {
  4692. goto handle_unusual;
  4693. }
  4694. break;
  4695. }
  4696. // required int32 small_parkspace_remaining_number = 5;
  4697. case 5: {
  4698. if (static_cast< ::google::protobuf::uint8>(tag) ==
  4699. static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
  4700. set_has_small_parkspace_remaining_number();
  4701. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4702. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4703. input, &small_parkspace_remaining_number_)));
  4704. } else {
  4705. goto handle_unusual;
  4706. }
  4707. break;
  4708. }
  4709. // required int32 medium_parkspace_remaining_number = 6;
  4710. case 6: {
  4711. if (static_cast< ::google::protobuf::uint8>(tag) ==
  4712. static_cast< ::google::protobuf::uint8>(48u /* 48 & 0xFF */)) {
  4713. set_has_medium_parkspace_remaining_number();
  4714. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4715. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4716. input, &medium_parkspace_remaining_number_)));
  4717. } else {
  4718. goto handle_unusual;
  4719. }
  4720. break;
  4721. }
  4722. // required int32 large_parkspace_remaining_number = 7;
  4723. case 7: {
  4724. if (static_cast< ::google::protobuf::uint8>(tag) ==
  4725. static_cast< ::google::protobuf::uint8>(56u /* 56 & 0xFF */)) {
  4726. set_has_large_parkspace_remaining_number();
  4727. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4728. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4729. input, &large_parkspace_remaining_number_)));
  4730. } else {
  4731. goto handle_unusual;
  4732. }
  4733. break;
  4734. }
  4735. // required int32 total_parkspace_remaining_number = 8;
  4736. case 8: {
  4737. if (static_cast< ::google::protobuf::uint8>(tag) ==
  4738. static_cast< ::google::protobuf::uint8>(64u /* 64 & 0xFF */)) {
  4739. set_has_total_parkspace_remaining_number();
  4740. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4741. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4742. input, &total_parkspace_remaining_number_)));
  4743. } else {
  4744. goto handle_unusual;
  4745. }
  4746. break;
  4747. }
  4748. default: {
  4749. handle_unusual:
  4750. if (tag == 0) {
  4751. goto success;
  4752. }
  4753. DO_(::google::protobuf::internal::WireFormat::SkipField(
  4754. input, tag, _internal_metadata_.mutable_unknown_fields()));
  4755. break;
  4756. }
  4757. }
  4758. }
  4759. success:
  4760. // @@protoc_insertion_point(parse_success:message.Parkspace_allocation_status_msg)
  4761. return true;
  4762. failure:
  4763. // @@protoc_insertion_point(parse_failure:message.Parkspace_allocation_status_msg)
  4764. return false;
  4765. #undef DO_
  4766. }
  4767. void Parkspace_allocation_status_msg::SerializeWithCachedSizes(
  4768. ::google::protobuf::io::CodedOutputStream* output) const {
  4769. // @@protoc_insertion_point(serialize_start:message.Parkspace_allocation_status_msg)
  4770. ::google::protobuf::uint32 cached_has_bits = 0;
  4771. (void) cached_has_bits;
  4772. cached_has_bits = _has_bits_[0];
  4773. // required .message.Base_info base_info = 1;
  4774. if (cached_has_bits & 0x00000001u) {
  4775. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  4776. 1, this->_internal_base_info(), output);
  4777. }
  4778. // required .message.Error_manager error_manager = 2;
  4779. if (cached_has_bits & 0x00000002u) {
  4780. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  4781. 2, this->_internal_error_manager(), output);
  4782. }
  4783. // required .message.Database_controller_status database_controller_status = 3;
  4784. if (cached_has_bits & 0x00000004u) {
  4785. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  4786. 3, this->database_controller_status(), output);
  4787. }
  4788. // required .message.Parkspace_manager_satus parkspace_manager_satus = 4;
  4789. if (cached_has_bits & 0x00000008u) {
  4790. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  4791. 4, this->parkspace_manager_satus(), output);
  4792. }
  4793. // required int32 small_parkspace_remaining_number = 5;
  4794. if (cached_has_bits & 0x00000010u) {
  4795. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->small_parkspace_remaining_number(), output);
  4796. }
  4797. // required int32 medium_parkspace_remaining_number = 6;
  4798. if (cached_has_bits & 0x00000020u) {
  4799. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->medium_parkspace_remaining_number(), output);
  4800. }
  4801. // required int32 large_parkspace_remaining_number = 7;
  4802. if (cached_has_bits & 0x00000040u) {
  4803. ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->large_parkspace_remaining_number(), output);
  4804. }
  4805. // required int32 total_parkspace_remaining_number = 8;
  4806. if (cached_has_bits & 0x00000080u) {
  4807. ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->total_parkspace_remaining_number(), output);
  4808. }
  4809. if (_internal_metadata_.have_unknown_fields()) {
  4810. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  4811. _internal_metadata_.unknown_fields(), output);
  4812. }
  4813. // @@protoc_insertion_point(serialize_end:message.Parkspace_allocation_status_msg)
  4814. }
  4815. ::google::protobuf::uint8* Parkspace_allocation_status_msg::InternalSerializeWithCachedSizesToArray(
  4816. bool deterministic, ::google::protobuf::uint8* target) const {
  4817. (void)deterministic; // Unused
  4818. // @@protoc_insertion_point(serialize_to_array_start:message.Parkspace_allocation_status_msg)
  4819. ::google::protobuf::uint32 cached_has_bits = 0;
  4820. (void) cached_has_bits;
  4821. cached_has_bits = _has_bits_[0];
  4822. // required .message.Base_info base_info = 1;
  4823. if (cached_has_bits & 0x00000001u) {
  4824. target = ::google::protobuf::internal::WireFormatLite::
  4825. InternalWriteMessageToArray(
  4826. 1, this->_internal_base_info(), deterministic, target);
  4827. }
  4828. // required .message.Error_manager error_manager = 2;
  4829. if (cached_has_bits & 0x00000002u) {
  4830. target = ::google::protobuf::internal::WireFormatLite::
  4831. InternalWriteMessageToArray(
  4832. 2, this->_internal_error_manager(), deterministic, target);
  4833. }
  4834. // required .message.Database_controller_status database_controller_status = 3;
  4835. if (cached_has_bits & 0x00000004u) {
  4836. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  4837. 3, this->database_controller_status(), target);
  4838. }
  4839. // required .message.Parkspace_manager_satus parkspace_manager_satus = 4;
  4840. if (cached_has_bits & 0x00000008u) {
  4841. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  4842. 4, this->parkspace_manager_satus(), target);
  4843. }
  4844. // required int32 small_parkspace_remaining_number = 5;
  4845. if (cached_has_bits & 0x00000010u) {
  4846. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->small_parkspace_remaining_number(), target);
  4847. }
  4848. // required int32 medium_parkspace_remaining_number = 6;
  4849. if (cached_has_bits & 0x00000020u) {
  4850. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->medium_parkspace_remaining_number(), target);
  4851. }
  4852. // required int32 large_parkspace_remaining_number = 7;
  4853. if (cached_has_bits & 0x00000040u) {
  4854. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->large_parkspace_remaining_number(), target);
  4855. }
  4856. // required int32 total_parkspace_remaining_number = 8;
  4857. if (cached_has_bits & 0x00000080u) {
  4858. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->total_parkspace_remaining_number(), target);
  4859. }
  4860. if (_internal_metadata_.have_unknown_fields()) {
  4861. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  4862. _internal_metadata_.unknown_fields(), target);
  4863. }
  4864. // @@protoc_insertion_point(serialize_to_array_end:message.Parkspace_allocation_status_msg)
  4865. return target;
  4866. }
  4867. size_t Parkspace_allocation_status_msg::RequiredFieldsByteSizeFallback() const {
  4868. // @@protoc_insertion_point(required_fields_byte_size_fallback_start:message.Parkspace_allocation_status_msg)
  4869. size_t total_size = 0;
  4870. if (has_base_info()) {
  4871. // required .message.Base_info base_info = 1;
  4872. total_size += 1 +
  4873. ::google::protobuf::internal::WireFormatLite::MessageSize(
  4874. *base_info_);
  4875. }
  4876. if (has_error_manager()) {
  4877. // required .message.Error_manager error_manager = 2;
  4878. total_size += 1 +
  4879. ::google::protobuf::internal::WireFormatLite::MessageSize(
  4880. *error_manager_);
  4881. }
  4882. if (has_database_controller_status()) {
  4883. // required .message.Database_controller_status database_controller_status = 3;
  4884. total_size += 1 +
  4885. ::google::protobuf::internal::WireFormatLite::EnumSize(this->database_controller_status());
  4886. }
  4887. if (has_parkspace_manager_satus()) {
  4888. // required .message.Parkspace_manager_satus parkspace_manager_satus = 4;
  4889. total_size += 1 +
  4890. ::google::protobuf::internal::WireFormatLite::EnumSize(this->parkspace_manager_satus());
  4891. }
  4892. if (has_small_parkspace_remaining_number()) {
  4893. // required int32 small_parkspace_remaining_number = 5;
  4894. total_size += 1 +
  4895. ::google::protobuf::internal::WireFormatLite::Int32Size(
  4896. this->small_parkspace_remaining_number());
  4897. }
  4898. if (has_medium_parkspace_remaining_number()) {
  4899. // required int32 medium_parkspace_remaining_number = 6;
  4900. total_size += 1 +
  4901. ::google::protobuf::internal::WireFormatLite::Int32Size(
  4902. this->medium_parkspace_remaining_number());
  4903. }
  4904. if (has_large_parkspace_remaining_number()) {
  4905. // required int32 large_parkspace_remaining_number = 7;
  4906. total_size += 1 +
  4907. ::google::protobuf::internal::WireFormatLite::Int32Size(
  4908. this->large_parkspace_remaining_number());
  4909. }
  4910. if (has_total_parkspace_remaining_number()) {
  4911. // required int32 total_parkspace_remaining_number = 8;
  4912. total_size += 1 +
  4913. ::google::protobuf::internal::WireFormatLite::Int32Size(
  4914. this->total_parkspace_remaining_number());
  4915. }
  4916. return total_size;
  4917. }
  4918. size_t Parkspace_allocation_status_msg::ByteSizeLong() const {
  4919. // @@protoc_insertion_point(message_byte_size_start:message.Parkspace_allocation_status_msg)
  4920. size_t total_size = 0;
  4921. if (_internal_metadata_.have_unknown_fields()) {
  4922. total_size +=
  4923. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  4924. _internal_metadata_.unknown_fields());
  4925. }
  4926. if (((_has_bits_[0] & 0x000000ff) ^ 0x000000ff) == 0) { // All required fields are present.
  4927. // required .message.Base_info base_info = 1;
  4928. total_size += 1 +
  4929. ::google::protobuf::internal::WireFormatLite::MessageSize(
  4930. *base_info_);
  4931. // required .message.Error_manager error_manager = 2;
  4932. total_size += 1 +
  4933. ::google::protobuf::internal::WireFormatLite::MessageSize(
  4934. *error_manager_);
  4935. // required .message.Database_controller_status database_controller_status = 3;
  4936. total_size += 1 +
  4937. ::google::protobuf::internal::WireFormatLite::EnumSize(this->database_controller_status());
  4938. // required .message.Parkspace_manager_satus parkspace_manager_satus = 4;
  4939. total_size += 1 +
  4940. ::google::protobuf::internal::WireFormatLite::EnumSize(this->parkspace_manager_satus());
  4941. // required int32 small_parkspace_remaining_number = 5;
  4942. total_size += 1 +
  4943. ::google::protobuf::internal::WireFormatLite::Int32Size(
  4944. this->small_parkspace_remaining_number());
  4945. // required int32 medium_parkspace_remaining_number = 6;
  4946. total_size += 1 +
  4947. ::google::protobuf::internal::WireFormatLite::Int32Size(
  4948. this->medium_parkspace_remaining_number());
  4949. // required int32 large_parkspace_remaining_number = 7;
  4950. total_size += 1 +
  4951. ::google::protobuf::internal::WireFormatLite::Int32Size(
  4952. this->large_parkspace_remaining_number());
  4953. // required int32 total_parkspace_remaining_number = 8;
  4954. total_size += 1 +
  4955. ::google::protobuf::internal::WireFormatLite::Int32Size(
  4956. this->total_parkspace_remaining_number());
  4957. } else {
  4958. total_size += RequiredFieldsByteSizeFallback();
  4959. }
  4960. int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
  4961. SetCachedSize(cached_size);
  4962. return total_size;
  4963. }
  4964. void Parkspace_allocation_status_msg::MergeFrom(const ::google::protobuf::Message& from) {
  4965. // @@protoc_insertion_point(generalized_merge_from_start:message.Parkspace_allocation_status_msg)
  4966. GOOGLE_DCHECK_NE(&from, this);
  4967. const Parkspace_allocation_status_msg* source =
  4968. ::google::protobuf::internal::DynamicCastToGenerated<const Parkspace_allocation_status_msg>(
  4969. &from);
  4970. if (source == NULL) {
  4971. // @@protoc_insertion_point(generalized_merge_from_cast_fail:message.Parkspace_allocation_status_msg)
  4972. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  4973. } else {
  4974. // @@protoc_insertion_point(generalized_merge_from_cast_success:message.Parkspace_allocation_status_msg)
  4975. MergeFrom(*source);
  4976. }
  4977. }
  4978. void Parkspace_allocation_status_msg::MergeFrom(const Parkspace_allocation_status_msg& from) {
  4979. // @@protoc_insertion_point(class_specific_merge_from_start:message.Parkspace_allocation_status_msg)
  4980. GOOGLE_DCHECK_NE(&from, this);
  4981. _internal_metadata_.MergeFrom(from._internal_metadata_);
  4982. ::google::protobuf::uint32 cached_has_bits = 0;
  4983. (void) cached_has_bits;
  4984. cached_has_bits = from._has_bits_[0];
  4985. if (cached_has_bits & 255u) {
  4986. if (cached_has_bits & 0x00000001u) {
  4987. mutable_base_info()->::message::Base_info::MergeFrom(from.base_info());
  4988. }
  4989. if (cached_has_bits & 0x00000002u) {
  4990. mutable_error_manager()->::message::Error_manager::MergeFrom(from.error_manager());
  4991. }
  4992. if (cached_has_bits & 0x00000004u) {
  4993. database_controller_status_ = from.database_controller_status_;
  4994. }
  4995. if (cached_has_bits & 0x00000008u) {
  4996. parkspace_manager_satus_ = from.parkspace_manager_satus_;
  4997. }
  4998. if (cached_has_bits & 0x00000010u) {
  4999. small_parkspace_remaining_number_ = from.small_parkspace_remaining_number_;
  5000. }
  5001. if (cached_has_bits & 0x00000020u) {
  5002. medium_parkspace_remaining_number_ = from.medium_parkspace_remaining_number_;
  5003. }
  5004. if (cached_has_bits & 0x00000040u) {
  5005. large_parkspace_remaining_number_ = from.large_parkspace_remaining_number_;
  5006. }
  5007. if (cached_has_bits & 0x00000080u) {
  5008. total_parkspace_remaining_number_ = from.total_parkspace_remaining_number_;
  5009. }
  5010. _has_bits_[0] |= cached_has_bits;
  5011. }
  5012. }
  5013. void Parkspace_allocation_status_msg::CopyFrom(const ::google::protobuf::Message& from) {
  5014. // @@protoc_insertion_point(generalized_copy_from_start:message.Parkspace_allocation_status_msg)
  5015. if (&from == this) return;
  5016. Clear();
  5017. MergeFrom(from);
  5018. }
  5019. void Parkspace_allocation_status_msg::CopyFrom(const Parkspace_allocation_status_msg& from) {
  5020. // @@protoc_insertion_point(class_specific_copy_from_start:message.Parkspace_allocation_status_msg)
  5021. if (&from == this) return;
  5022. Clear();
  5023. MergeFrom(from);
  5024. }
  5025. bool Parkspace_allocation_status_msg::IsInitialized() const {
  5026. if ((_has_bits_[0] & 0x000000ff) != 0x000000ff) return false;
  5027. if (has_base_info()) {
  5028. if (!this->base_info_->IsInitialized()) return false;
  5029. }
  5030. if (has_error_manager()) {
  5031. if (!this->error_manager_->IsInitialized()) return false;
  5032. }
  5033. return true;
  5034. }
  5035. void Parkspace_allocation_status_msg::Swap(Parkspace_allocation_status_msg* other) {
  5036. if (other == this) return;
  5037. InternalSwap(other);
  5038. }
  5039. void Parkspace_allocation_status_msg::InternalSwap(Parkspace_allocation_status_msg* other) {
  5040. using std::swap;
  5041. swap(base_info_, other->base_info_);
  5042. swap(error_manager_, other->error_manager_);
  5043. swap(database_controller_status_, other->database_controller_status_);
  5044. swap(parkspace_manager_satus_, other->parkspace_manager_satus_);
  5045. swap(small_parkspace_remaining_number_, other->small_parkspace_remaining_number_);
  5046. swap(medium_parkspace_remaining_number_, other->medium_parkspace_remaining_number_);
  5047. swap(large_parkspace_remaining_number_, other->large_parkspace_remaining_number_);
  5048. swap(total_parkspace_remaining_number_, other->total_parkspace_remaining_number_);
  5049. swap(_has_bits_[0], other->_has_bits_[0]);
  5050. _internal_metadata_.Swap(&other->_internal_metadata_);
  5051. }
  5052. ::google::protobuf::Metadata Parkspace_allocation_status_msg::GetMetadata() const {
  5053. protobuf_parkspace_5fallocation_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  5054. return ::protobuf_parkspace_5fallocation_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages];
  5055. }
  5056. // ===================================================================
  5057. void Parkspace_refresh_request_msg::InitAsDefaultInstance() {
  5058. ::message::_Parkspace_refresh_request_msg_default_instance_._instance.get_mutable()->base_info_ = const_cast< ::message::Base_info*>(
  5059. ::message::Base_info::internal_default_instance());
  5060. }
  5061. void Parkspace_refresh_request_msg::clear_base_info() {
  5062. if (base_info_ != NULL) base_info_->Clear();
  5063. clear_has_base_info();
  5064. }
  5065. #if !defined(_MSC_VER) || _MSC_VER >= 1900
  5066. const int Parkspace_refresh_request_msg::kBaseInfoFieldNumber;
  5067. #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
  5068. Parkspace_refresh_request_msg::Parkspace_refresh_request_msg()
  5069. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  5070. ::google::protobuf::internal::InitSCC(
  5071. &protobuf_parkspace_5fallocation_5fmessage_2eproto::scc_info_Parkspace_refresh_request_msg.base);
  5072. SharedCtor();
  5073. // @@protoc_insertion_point(constructor:message.Parkspace_refresh_request_msg)
  5074. }
  5075. Parkspace_refresh_request_msg::Parkspace_refresh_request_msg(const Parkspace_refresh_request_msg& from)
  5076. : ::google::protobuf::Message(),
  5077. _internal_metadata_(NULL),
  5078. _has_bits_(from._has_bits_) {
  5079. _internal_metadata_.MergeFrom(from._internal_metadata_);
  5080. if (from.has_base_info()) {
  5081. base_info_ = new ::message::Base_info(*from.base_info_);
  5082. } else {
  5083. base_info_ = NULL;
  5084. }
  5085. // @@protoc_insertion_point(copy_constructor:message.Parkspace_refresh_request_msg)
  5086. }
  5087. void Parkspace_refresh_request_msg::SharedCtor() {
  5088. base_info_ = NULL;
  5089. }
  5090. Parkspace_refresh_request_msg::~Parkspace_refresh_request_msg() {
  5091. // @@protoc_insertion_point(destructor:message.Parkspace_refresh_request_msg)
  5092. SharedDtor();
  5093. }
  5094. void Parkspace_refresh_request_msg::SharedDtor() {
  5095. if (this != internal_default_instance()) delete base_info_;
  5096. }
  5097. void Parkspace_refresh_request_msg::SetCachedSize(int size) const {
  5098. _cached_size_.Set(size);
  5099. }
  5100. const ::google::protobuf::Descriptor* Parkspace_refresh_request_msg::descriptor() {
  5101. ::protobuf_parkspace_5fallocation_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  5102. return ::protobuf_parkspace_5fallocation_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
  5103. }
  5104. const Parkspace_refresh_request_msg& Parkspace_refresh_request_msg::default_instance() {
  5105. ::google::protobuf::internal::InitSCC(&protobuf_parkspace_5fallocation_5fmessage_2eproto::scc_info_Parkspace_refresh_request_msg.base);
  5106. return *internal_default_instance();
  5107. }
  5108. void Parkspace_refresh_request_msg::Clear() {
  5109. // @@protoc_insertion_point(message_clear_start:message.Parkspace_refresh_request_msg)
  5110. ::google::protobuf::uint32 cached_has_bits = 0;
  5111. // Prevent compiler warnings about cached_has_bits being unused
  5112. (void) cached_has_bits;
  5113. cached_has_bits = _has_bits_[0];
  5114. if (cached_has_bits & 0x00000001u) {
  5115. GOOGLE_DCHECK(base_info_ != NULL);
  5116. base_info_->Clear();
  5117. }
  5118. _has_bits_.Clear();
  5119. _internal_metadata_.Clear();
  5120. }
  5121. bool Parkspace_refresh_request_msg::MergePartialFromCodedStream(
  5122. ::google::protobuf::io::CodedInputStream* input) {
  5123. #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
  5124. ::google::protobuf::uint32 tag;
  5125. // @@protoc_insertion_point(parse_start:message.Parkspace_refresh_request_msg)
  5126. for (;;) {
  5127. ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
  5128. tag = p.first;
  5129. if (!p.second) goto handle_unusual;
  5130. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  5131. // required .message.Base_info base_info = 1;
  5132. case 1: {
  5133. if (static_cast< ::google::protobuf::uint8>(tag) ==
  5134. static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
  5135. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  5136. input, mutable_base_info()));
  5137. } else {
  5138. goto handle_unusual;
  5139. }
  5140. break;
  5141. }
  5142. default: {
  5143. handle_unusual:
  5144. if (tag == 0) {
  5145. goto success;
  5146. }
  5147. DO_(::google::protobuf::internal::WireFormat::SkipField(
  5148. input, tag, _internal_metadata_.mutable_unknown_fields()));
  5149. break;
  5150. }
  5151. }
  5152. }
  5153. success:
  5154. // @@protoc_insertion_point(parse_success:message.Parkspace_refresh_request_msg)
  5155. return true;
  5156. failure:
  5157. // @@protoc_insertion_point(parse_failure:message.Parkspace_refresh_request_msg)
  5158. return false;
  5159. #undef DO_
  5160. }
  5161. void Parkspace_refresh_request_msg::SerializeWithCachedSizes(
  5162. ::google::protobuf::io::CodedOutputStream* output) const {
  5163. // @@protoc_insertion_point(serialize_start:message.Parkspace_refresh_request_msg)
  5164. ::google::protobuf::uint32 cached_has_bits = 0;
  5165. (void) cached_has_bits;
  5166. cached_has_bits = _has_bits_[0];
  5167. // required .message.Base_info base_info = 1;
  5168. if (cached_has_bits & 0x00000001u) {
  5169. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  5170. 1, this->_internal_base_info(), output);
  5171. }
  5172. if (_internal_metadata_.have_unknown_fields()) {
  5173. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  5174. _internal_metadata_.unknown_fields(), output);
  5175. }
  5176. // @@protoc_insertion_point(serialize_end:message.Parkspace_refresh_request_msg)
  5177. }
  5178. ::google::protobuf::uint8* Parkspace_refresh_request_msg::InternalSerializeWithCachedSizesToArray(
  5179. bool deterministic, ::google::protobuf::uint8* target) const {
  5180. (void)deterministic; // Unused
  5181. // @@protoc_insertion_point(serialize_to_array_start:message.Parkspace_refresh_request_msg)
  5182. ::google::protobuf::uint32 cached_has_bits = 0;
  5183. (void) cached_has_bits;
  5184. cached_has_bits = _has_bits_[0];
  5185. // required .message.Base_info base_info = 1;
  5186. if (cached_has_bits & 0x00000001u) {
  5187. target = ::google::protobuf::internal::WireFormatLite::
  5188. InternalWriteMessageToArray(
  5189. 1, this->_internal_base_info(), deterministic, target);
  5190. }
  5191. if (_internal_metadata_.have_unknown_fields()) {
  5192. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  5193. _internal_metadata_.unknown_fields(), target);
  5194. }
  5195. // @@protoc_insertion_point(serialize_to_array_end:message.Parkspace_refresh_request_msg)
  5196. return target;
  5197. }
  5198. size_t Parkspace_refresh_request_msg::ByteSizeLong() const {
  5199. // @@protoc_insertion_point(message_byte_size_start:message.Parkspace_refresh_request_msg)
  5200. size_t total_size = 0;
  5201. if (_internal_metadata_.have_unknown_fields()) {
  5202. total_size +=
  5203. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  5204. _internal_metadata_.unknown_fields());
  5205. }
  5206. // required .message.Base_info base_info = 1;
  5207. if (has_base_info()) {
  5208. total_size += 1 +
  5209. ::google::protobuf::internal::WireFormatLite::MessageSize(
  5210. *base_info_);
  5211. }
  5212. int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
  5213. SetCachedSize(cached_size);
  5214. return total_size;
  5215. }
  5216. void Parkspace_refresh_request_msg::MergeFrom(const ::google::protobuf::Message& from) {
  5217. // @@protoc_insertion_point(generalized_merge_from_start:message.Parkspace_refresh_request_msg)
  5218. GOOGLE_DCHECK_NE(&from, this);
  5219. const Parkspace_refresh_request_msg* source =
  5220. ::google::protobuf::internal::DynamicCastToGenerated<const Parkspace_refresh_request_msg>(
  5221. &from);
  5222. if (source == NULL) {
  5223. // @@protoc_insertion_point(generalized_merge_from_cast_fail:message.Parkspace_refresh_request_msg)
  5224. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  5225. } else {
  5226. // @@protoc_insertion_point(generalized_merge_from_cast_success:message.Parkspace_refresh_request_msg)
  5227. MergeFrom(*source);
  5228. }
  5229. }
  5230. void Parkspace_refresh_request_msg::MergeFrom(const Parkspace_refresh_request_msg& from) {
  5231. // @@protoc_insertion_point(class_specific_merge_from_start:message.Parkspace_refresh_request_msg)
  5232. GOOGLE_DCHECK_NE(&from, this);
  5233. _internal_metadata_.MergeFrom(from._internal_metadata_);
  5234. ::google::protobuf::uint32 cached_has_bits = 0;
  5235. (void) cached_has_bits;
  5236. if (from.has_base_info()) {
  5237. mutable_base_info()->::message::Base_info::MergeFrom(from.base_info());
  5238. }
  5239. }
  5240. void Parkspace_refresh_request_msg::CopyFrom(const ::google::protobuf::Message& from) {
  5241. // @@protoc_insertion_point(generalized_copy_from_start:message.Parkspace_refresh_request_msg)
  5242. if (&from == this) return;
  5243. Clear();
  5244. MergeFrom(from);
  5245. }
  5246. void Parkspace_refresh_request_msg::CopyFrom(const Parkspace_refresh_request_msg& from) {
  5247. // @@protoc_insertion_point(class_specific_copy_from_start:message.Parkspace_refresh_request_msg)
  5248. if (&from == this) return;
  5249. Clear();
  5250. MergeFrom(from);
  5251. }
  5252. bool Parkspace_refresh_request_msg::IsInitialized() const {
  5253. if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
  5254. if (has_base_info()) {
  5255. if (!this->base_info_->IsInitialized()) return false;
  5256. }
  5257. return true;
  5258. }
  5259. void Parkspace_refresh_request_msg::Swap(Parkspace_refresh_request_msg* other) {
  5260. if (other == this) return;
  5261. InternalSwap(other);
  5262. }
  5263. void Parkspace_refresh_request_msg::InternalSwap(Parkspace_refresh_request_msg* other) {
  5264. using std::swap;
  5265. swap(base_info_, other->base_info_);
  5266. swap(_has_bits_[0], other->_has_bits_[0]);
  5267. _internal_metadata_.Swap(&other->_internal_metadata_);
  5268. }
  5269. ::google::protobuf::Metadata Parkspace_refresh_request_msg::GetMetadata() const {
  5270. protobuf_parkspace_5fallocation_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  5271. return ::protobuf_parkspace_5fallocation_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages];
  5272. }
  5273. // ===================================================================
  5274. void Parkspace_allocation_data_msg::InitAsDefaultInstance() {
  5275. ::message::_Parkspace_allocation_data_msg_default_instance_._instance.get_mutable()->base_info_ = const_cast< ::message::Base_info*>(
  5276. ::message::Base_info::internal_default_instance());
  5277. ::message::_Parkspace_allocation_data_msg_default_instance_._instance.get_mutable()->error_manager_ = const_cast< ::message::Error_manager*>(
  5278. ::message::Error_manager::internal_default_instance());
  5279. }
  5280. void Parkspace_allocation_data_msg::clear_base_info() {
  5281. if (base_info_ != NULL) base_info_->Clear();
  5282. clear_has_base_info();
  5283. }
  5284. void Parkspace_allocation_data_msg::clear_error_manager() {
  5285. if (error_manager_ != NULL) error_manager_->Clear();
  5286. clear_has_error_manager();
  5287. }
  5288. void Parkspace_allocation_data_msg::clear_parkspace_info_ex() {
  5289. parkspace_info_ex_.Clear();
  5290. }
  5291. #if !defined(_MSC_VER) || _MSC_VER >= 1900
  5292. const int Parkspace_allocation_data_msg::kBaseInfoFieldNumber;
  5293. const int Parkspace_allocation_data_msg::kErrorManagerFieldNumber;
  5294. const int Parkspace_allocation_data_msg::kParkspaceInfoExFieldNumber;
  5295. #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
  5296. Parkspace_allocation_data_msg::Parkspace_allocation_data_msg()
  5297. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  5298. ::google::protobuf::internal::InitSCC(
  5299. &protobuf_parkspace_5fallocation_5fmessage_2eproto::scc_info_Parkspace_allocation_data_msg.base);
  5300. SharedCtor();
  5301. // @@protoc_insertion_point(constructor:message.Parkspace_allocation_data_msg)
  5302. }
  5303. Parkspace_allocation_data_msg::Parkspace_allocation_data_msg(const Parkspace_allocation_data_msg& from)
  5304. : ::google::protobuf::Message(),
  5305. _internal_metadata_(NULL),
  5306. _has_bits_(from._has_bits_),
  5307. parkspace_info_ex_(from.parkspace_info_ex_) {
  5308. _internal_metadata_.MergeFrom(from._internal_metadata_);
  5309. if (from.has_base_info()) {
  5310. base_info_ = new ::message::Base_info(*from.base_info_);
  5311. } else {
  5312. base_info_ = NULL;
  5313. }
  5314. if (from.has_error_manager()) {
  5315. error_manager_ = new ::message::Error_manager(*from.error_manager_);
  5316. } else {
  5317. error_manager_ = NULL;
  5318. }
  5319. // @@protoc_insertion_point(copy_constructor:message.Parkspace_allocation_data_msg)
  5320. }
  5321. void Parkspace_allocation_data_msg::SharedCtor() {
  5322. ::memset(&base_info_, 0, static_cast<size_t>(
  5323. reinterpret_cast<char*>(&error_manager_) -
  5324. reinterpret_cast<char*>(&base_info_)) + sizeof(error_manager_));
  5325. }
  5326. Parkspace_allocation_data_msg::~Parkspace_allocation_data_msg() {
  5327. // @@protoc_insertion_point(destructor:message.Parkspace_allocation_data_msg)
  5328. SharedDtor();
  5329. }
  5330. void Parkspace_allocation_data_msg::SharedDtor() {
  5331. if (this != internal_default_instance()) delete base_info_;
  5332. if (this != internal_default_instance()) delete error_manager_;
  5333. }
  5334. void Parkspace_allocation_data_msg::SetCachedSize(int size) const {
  5335. _cached_size_.Set(size);
  5336. }
  5337. const ::google::protobuf::Descriptor* Parkspace_allocation_data_msg::descriptor() {
  5338. ::protobuf_parkspace_5fallocation_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  5339. return ::protobuf_parkspace_5fallocation_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
  5340. }
  5341. const Parkspace_allocation_data_msg& Parkspace_allocation_data_msg::default_instance() {
  5342. ::google::protobuf::internal::InitSCC(&protobuf_parkspace_5fallocation_5fmessage_2eproto::scc_info_Parkspace_allocation_data_msg.base);
  5343. return *internal_default_instance();
  5344. }
  5345. void Parkspace_allocation_data_msg::Clear() {
  5346. // @@protoc_insertion_point(message_clear_start:message.Parkspace_allocation_data_msg)
  5347. ::google::protobuf::uint32 cached_has_bits = 0;
  5348. // Prevent compiler warnings about cached_has_bits being unused
  5349. (void) cached_has_bits;
  5350. parkspace_info_ex_.Clear();
  5351. cached_has_bits = _has_bits_[0];
  5352. if (cached_has_bits & 3u) {
  5353. if (cached_has_bits & 0x00000001u) {
  5354. GOOGLE_DCHECK(base_info_ != NULL);
  5355. base_info_->Clear();
  5356. }
  5357. if (cached_has_bits & 0x00000002u) {
  5358. GOOGLE_DCHECK(error_manager_ != NULL);
  5359. error_manager_->Clear();
  5360. }
  5361. }
  5362. _has_bits_.Clear();
  5363. _internal_metadata_.Clear();
  5364. }
  5365. bool Parkspace_allocation_data_msg::MergePartialFromCodedStream(
  5366. ::google::protobuf::io::CodedInputStream* input) {
  5367. #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
  5368. ::google::protobuf::uint32 tag;
  5369. // @@protoc_insertion_point(parse_start:message.Parkspace_allocation_data_msg)
  5370. for (;;) {
  5371. ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
  5372. tag = p.first;
  5373. if (!p.second) goto handle_unusual;
  5374. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  5375. // required .message.Base_info base_info = 1;
  5376. case 1: {
  5377. if (static_cast< ::google::protobuf::uint8>(tag) ==
  5378. static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
  5379. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  5380. input, mutable_base_info()));
  5381. } else {
  5382. goto handle_unusual;
  5383. }
  5384. break;
  5385. }
  5386. // required .message.Error_manager error_manager = 2;
  5387. case 2: {
  5388. if (static_cast< ::google::protobuf::uint8>(tag) ==
  5389. static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
  5390. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  5391. input, mutable_error_manager()));
  5392. } else {
  5393. goto handle_unusual;
  5394. }
  5395. break;
  5396. }
  5397. // repeated .message.Parkspace_info parkspace_info_ex = 3;
  5398. case 3: {
  5399. if (static_cast< ::google::protobuf::uint8>(tag) ==
  5400. static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
  5401. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  5402. input, add_parkspace_info_ex()));
  5403. } else {
  5404. goto handle_unusual;
  5405. }
  5406. break;
  5407. }
  5408. default: {
  5409. handle_unusual:
  5410. if (tag == 0) {
  5411. goto success;
  5412. }
  5413. DO_(::google::protobuf::internal::WireFormat::SkipField(
  5414. input, tag, _internal_metadata_.mutable_unknown_fields()));
  5415. break;
  5416. }
  5417. }
  5418. }
  5419. success:
  5420. // @@protoc_insertion_point(parse_success:message.Parkspace_allocation_data_msg)
  5421. return true;
  5422. failure:
  5423. // @@protoc_insertion_point(parse_failure:message.Parkspace_allocation_data_msg)
  5424. return false;
  5425. #undef DO_
  5426. }
  5427. void Parkspace_allocation_data_msg::SerializeWithCachedSizes(
  5428. ::google::protobuf::io::CodedOutputStream* output) const {
  5429. // @@protoc_insertion_point(serialize_start:message.Parkspace_allocation_data_msg)
  5430. ::google::protobuf::uint32 cached_has_bits = 0;
  5431. (void) cached_has_bits;
  5432. cached_has_bits = _has_bits_[0];
  5433. // required .message.Base_info base_info = 1;
  5434. if (cached_has_bits & 0x00000001u) {
  5435. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  5436. 1, this->_internal_base_info(), output);
  5437. }
  5438. // required .message.Error_manager error_manager = 2;
  5439. if (cached_has_bits & 0x00000002u) {
  5440. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  5441. 2, this->_internal_error_manager(), output);
  5442. }
  5443. // repeated .message.Parkspace_info parkspace_info_ex = 3;
  5444. for (unsigned int i = 0,
  5445. n = static_cast<unsigned int>(this->parkspace_info_ex_size()); i < n; i++) {
  5446. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  5447. 3,
  5448. this->parkspace_info_ex(static_cast<int>(i)),
  5449. output);
  5450. }
  5451. if (_internal_metadata_.have_unknown_fields()) {
  5452. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  5453. _internal_metadata_.unknown_fields(), output);
  5454. }
  5455. // @@protoc_insertion_point(serialize_end:message.Parkspace_allocation_data_msg)
  5456. }
  5457. ::google::protobuf::uint8* Parkspace_allocation_data_msg::InternalSerializeWithCachedSizesToArray(
  5458. bool deterministic, ::google::protobuf::uint8* target) const {
  5459. (void)deterministic; // Unused
  5460. // @@protoc_insertion_point(serialize_to_array_start:message.Parkspace_allocation_data_msg)
  5461. ::google::protobuf::uint32 cached_has_bits = 0;
  5462. (void) cached_has_bits;
  5463. cached_has_bits = _has_bits_[0];
  5464. // required .message.Base_info base_info = 1;
  5465. if (cached_has_bits & 0x00000001u) {
  5466. target = ::google::protobuf::internal::WireFormatLite::
  5467. InternalWriteMessageToArray(
  5468. 1, this->_internal_base_info(), deterministic, target);
  5469. }
  5470. // required .message.Error_manager error_manager = 2;
  5471. if (cached_has_bits & 0x00000002u) {
  5472. target = ::google::protobuf::internal::WireFormatLite::
  5473. InternalWriteMessageToArray(
  5474. 2, this->_internal_error_manager(), deterministic, target);
  5475. }
  5476. // repeated .message.Parkspace_info parkspace_info_ex = 3;
  5477. for (unsigned int i = 0,
  5478. n = static_cast<unsigned int>(this->parkspace_info_ex_size()); i < n; i++) {
  5479. target = ::google::protobuf::internal::WireFormatLite::
  5480. InternalWriteMessageToArray(
  5481. 3, this->parkspace_info_ex(static_cast<int>(i)), deterministic, target);
  5482. }
  5483. if (_internal_metadata_.have_unknown_fields()) {
  5484. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  5485. _internal_metadata_.unknown_fields(), target);
  5486. }
  5487. // @@protoc_insertion_point(serialize_to_array_end:message.Parkspace_allocation_data_msg)
  5488. return target;
  5489. }
  5490. size_t Parkspace_allocation_data_msg::RequiredFieldsByteSizeFallback() const {
  5491. // @@protoc_insertion_point(required_fields_byte_size_fallback_start:message.Parkspace_allocation_data_msg)
  5492. size_t total_size = 0;
  5493. if (has_base_info()) {
  5494. // required .message.Base_info base_info = 1;
  5495. total_size += 1 +
  5496. ::google::protobuf::internal::WireFormatLite::MessageSize(
  5497. *base_info_);
  5498. }
  5499. if (has_error_manager()) {
  5500. // required .message.Error_manager error_manager = 2;
  5501. total_size += 1 +
  5502. ::google::protobuf::internal::WireFormatLite::MessageSize(
  5503. *error_manager_);
  5504. }
  5505. return total_size;
  5506. }
  5507. size_t Parkspace_allocation_data_msg::ByteSizeLong() const {
  5508. // @@protoc_insertion_point(message_byte_size_start:message.Parkspace_allocation_data_msg)
  5509. size_t total_size = 0;
  5510. if (_internal_metadata_.have_unknown_fields()) {
  5511. total_size +=
  5512. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  5513. _internal_metadata_.unknown_fields());
  5514. }
  5515. if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present.
  5516. // required .message.Base_info base_info = 1;
  5517. total_size += 1 +
  5518. ::google::protobuf::internal::WireFormatLite::MessageSize(
  5519. *base_info_);
  5520. // required .message.Error_manager error_manager = 2;
  5521. total_size += 1 +
  5522. ::google::protobuf::internal::WireFormatLite::MessageSize(
  5523. *error_manager_);
  5524. } else {
  5525. total_size += RequiredFieldsByteSizeFallback();
  5526. }
  5527. // repeated .message.Parkspace_info parkspace_info_ex = 3;
  5528. {
  5529. unsigned int count = static_cast<unsigned int>(this->parkspace_info_ex_size());
  5530. total_size += 1UL * count;
  5531. for (unsigned int i = 0; i < count; i++) {
  5532. total_size +=
  5533. ::google::protobuf::internal::WireFormatLite::MessageSize(
  5534. this->parkspace_info_ex(static_cast<int>(i)));
  5535. }
  5536. }
  5537. int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
  5538. SetCachedSize(cached_size);
  5539. return total_size;
  5540. }
  5541. void Parkspace_allocation_data_msg::MergeFrom(const ::google::protobuf::Message& from) {
  5542. // @@protoc_insertion_point(generalized_merge_from_start:message.Parkspace_allocation_data_msg)
  5543. GOOGLE_DCHECK_NE(&from, this);
  5544. const Parkspace_allocation_data_msg* source =
  5545. ::google::protobuf::internal::DynamicCastToGenerated<const Parkspace_allocation_data_msg>(
  5546. &from);
  5547. if (source == NULL) {
  5548. // @@protoc_insertion_point(generalized_merge_from_cast_fail:message.Parkspace_allocation_data_msg)
  5549. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  5550. } else {
  5551. // @@protoc_insertion_point(generalized_merge_from_cast_success:message.Parkspace_allocation_data_msg)
  5552. MergeFrom(*source);
  5553. }
  5554. }
  5555. void Parkspace_allocation_data_msg::MergeFrom(const Parkspace_allocation_data_msg& from) {
  5556. // @@protoc_insertion_point(class_specific_merge_from_start:message.Parkspace_allocation_data_msg)
  5557. GOOGLE_DCHECK_NE(&from, this);
  5558. _internal_metadata_.MergeFrom(from._internal_metadata_);
  5559. ::google::protobuf::uint32 cached_has_bits = 0;
  5560. (void) cached_has_bits;
  5561. parkspace_info_ex_.MergeFrom(from.parkspace_info_ex_);
  5562. cached_has_bits = from._has_bits_[0];
  5563. if (cached_has_bits & 3u) {
  5564. if (cached_has_bits & 0x00000001u) {
  5565. mutable_base_info()->::message::Base_info::MergeFrom(from.base_info());
  5566. }
  5567. if (cached_has_bits & 0x00000002u) {
  5568. mutable_error_manager()->::message::Error_manager::MergeFrom(from.error_manager());
  5569. }
  5570. }
  5571. }
  5572. void Parkspace_allocation_data_msg::CopyFrom(const ::google::protobuf::Message& from) {
  5573. // @@protoc_insertion_point(generalized_copy_from_start:message.Parkspace_allocation_data_msg)
  5574. if (&from == this) return;
  5575. Clear();
  5576. MergeFrom(from);
  5577. }
  5578. void Parkspace_allocation_data_msg::CopyFrom(const Parkspace_allocation_data_msg& from) {
  5579. // @@protoc_insertion_point(class_specific_copy_from_start:message.Parkspace_allocation_data_msg)
  5580. if (&from == this) return;
  5581. Clear();
  5582. MergeFrom(from);
  5583. }
  5584. bool Parkspace_allocation_data_msg::IsInitialized() const {
  5585. if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
  5586. if (has_base_info()) {
  5587. if (!this->base_info_->IsInitialized()) return false;
  5588. }
  5589. if (has_error_manager()) {
  5590. if (!this->error_manager_->IsInitialized()) return false;
  5591. }
  5592. return true;
  5593. }
  5594. void Parkspace_allocation_data_msg::Swap(Parkspace_allocation_data_msg* other) {
  5595. if (other == this) return;
  5596. InternalSwap(other);
  5597. }
  5598. void Parkspace_allocation_data_msg::InternalSwap(Parkspace_allocation_data_msg* other) {
  5599. using std::swap;
  5600. CastToBase(&parkspace_info_ex_)->InternalSwap(CastToBase(&other->parkspace_info_ex_));
  5601. swap(base_info_, other->base_info_);
  5602. swap(error_manager_, other->error_manager_);
  5603. swap(_has_bits_[0], other->_has_bits_[0]);
  5604. _internal_metadata_.Swap(&other->_internal_metadata_);
  5605. }
  5606. ::google::protobuf::Metadata Parkspace_allocation_data_msg::GetMetadata() const {
  5607. protobuf_parkspace_5fallocation_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  5608. return ::protobuf_parkspace_5fallocation_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages];
  5609. }
  5610. // @@protoc_insertion_point(namespace_scope)
  5611. } // namespace message
  5612. namespace google {
  5613. namespace protobuf {
  5614. template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::message::Parkspace_allocation_request_msg* Arena::CreateMaybeMessage< ::message::Parkspace_allocation_request_msg >(Arena* arena) {
  5615. return Arena::CreateInternal< ::message::Parkspace_allocation_request_msg >(arena);
  5616. }
  5617. template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::message::Parkspace_allocation_response_msg* Arena::CreateMaybeMessage< ::message::Parkspace_allocation_response_msg >(Arena* arena) {
  5618. return Arena::CreateInternal< ::message::Parkspace_allocation_response_msg >(arena);
  5619. }
  5620. template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::message::Parkspace_search_request_msg* Arena::CreateMaybeMessage< ::message::Parkspace_search_request_msg >(Arena* arena) {
  5621. return Arena::CreateInternal< ::message::Parkspace_search_request_msg >(arena);
  5622. }
  5623. template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::message::Parkspace_search_response_msg* Arena::CreateMaybeMessage< ::message::Parkspace_search_response_msg >(Arena* arena) {
  5624. return Arena::CreateInternal< ::message::Parkspace_search_response_msg >(arena);
  5625. }
  5626. template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::message::Parkspace_release_request_msg* Arena::CreateMaybeMessage< ::message::Parkspace_release_request_msg >(Arena* arena) {
  5627. return Arena::CreateInternal< ::message::Parkspace_release_request_msg >(arena);
  5628. }
  5629. template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::message::Parkspace_release_response_msg* Arena::CreateMaybeMessage< ::message::Parkspace_release_response_msg >(Arena* arena) {
  5630. return Arena::CreateInternal< ::message::Parkspace_release_response_msg >(arena);
  5631. }
  5632. template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::message::Parkspace_force_update_request_msg* Arena::CreateMaybeMessage< ::message::Parkspace_force_update_request_msg >(Arena* arena) {
  5633. return Arena::CreateInternal< ::message::Parkspace_force_update_request_msg >(arena);
  5634. }
  5635. template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::message::Parkspace_force_update_response_msg* Arena::CreateMaybeMessage< ::message::Parkspace_force_update_response_msg >(Arena* arena) {
  5636. return Arena::CreateInternal< ::message::Parkspace_force_update_response_msg >(arena);
  5637. }
  5638. template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::message::Parkspace_confirm_alloc_request_msg* Arena::CreateMaybeMessage< ::message::Parkspace_confirm_alloc_request_msg >(Arena* arena) {
  5639. return Arena::CreateInternal< ::message::Parkspace_confirm_alloc_request_msg >(arena);
  5640. }
  5641. template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::message::Parkspace_confirm_alloc_response_msg* Arena::CreateMaybeMessage< ::message::Parkspace_confirm_alloc_response_msg >(Arena* arena) {
  5642. return Arena::CreateInternal< ::message::Parkspace_confirm_alloc_response_msg >(arena);
  5643. }
  5644. template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::message::Parkspace_allocation_status_msg* Arena::CreateMaybeMessage< ::message::Parkspace_allocation_status_msg >(Arena* arena) {
  5645. return Arena::CreateInternal< ::message::Parkspace_allocation_status_msg >(arena);
  5646. }
  5647. template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::message::Parkspace_refresh_request_msg* Arena::CreateMaybeMessage< ::message::Parkspace_refresh_request_msg >(Arena* arena) {
  5648. return Arena::CreateInternal< ::message::Parkspace_refresh_request_msg >(arena);
  5649. }
  5650. template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::message::Parkspace_allocation_data_msg* Arena::CreateMaybeMessage< ::message::Parkspace_allocation_data_msg >(Arena* arena) {
  5651. return Arena::CreateInternal< ::message::Parkspace_allocation_data_msg >(arena);
  5652. }
  5653. } // namespace protobuf
  5654. } // namespace google
  5655. // @@protoc_insertion_point(global_scope)