dispatch_message.pb.cc 296 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: dispatch_message.proto
  3. #include "dispatch_message.pb.h"
  4. #include <algorithm>
  5. #include <google/protobuf/stubs/common.h>
  6. #include <google/protobuf/stubs/port.h>
  7. #include <google/protobuf/stubs/once.h>
  8. #include <google/protobuf/io/coded_stream.h>
  9. #include <google/protobuf/wire_format_lite_inl.h>
  10. #include <google/protobuf/descriptor.h>
  11. #include <google/protobuf/generated_message_reflection.h>
  12. #include <google/protobuf/reflection_ops.h>
  13. #include <google/protobuf/wire_format.h>
  14. // This is a temporary google only hack
  15. #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  16. #include "third_party/protobuf/version.h"
  17. #endif
  18. // @@protoc_insertion_point(includes)
  19. namespace message {
  20. class Dispatch_process_informationDefaultTypeInternal {
  21. public:
  22. ::google::protobuf::internal::ExplicitlyConstructed<Dispatch_process_information>
  23. _instance;
  24. } _Dispatch_process_information_default_instance_;
  25. class Dispatch_terminal_status_msgDefaultTypeInternal {
  26. public:
  27. ::google::protobuf::internal::ExplicitlyConstructed<Dispatch_terminal_status_msg>
  28. _instance;
  29. } _Dispatch_terminal_status_msg_default_instance_;
  30. class Dispatch_request_msgDefaultTypeInternal {
  31. public:
  32. ::google::protobuf::internal::ExplicitlyConstructed<Dispatch_request_msg>
  33. _instance;
  34. } _Dispatch_request_msg_default_instance_;
  35. class Dispatch_response_msgDefaultTypeInternal {
  36. public:
  37. ::google::protobuf::internal::ExplicitlyConstructed<Dispatch_response_msg>
  38. _instance;
  39. } _Dispatch_response_msg_default_instance_;
  40. class Catcher_dataDefaultTypeInternal {
  41. public:
  42. ::google::protobuf::internal::ExplicitlyConstructed<Catcher_data>
  43. _instance;
  44. } _Catcher_data_default_instance_;
  45. class Carrier_dataDefaultTypeInternal {
  46. public:
  47. ::google::protobuf::internal::ExplicitlyConstructed<Carrier_data>
  48. _instance;
  49. } _Carrier_data_default_instance_;
  50. class Passageway_dataDefaultTypeInternal {
  51. public:
  52. ::google::protobuf::internal::ExplicitlyConstructed<Passageway_data>
  53. _instance;
  54. } _Passageway_data_default_instance_;
  55. class Dispatch_manager_status_msgDefaultTypeInternal {
  56. public:
  57. ::google::protobuf::internal::ExplicitlyConstructed<Dispatch_manager_status_msg>
  58. _instance;
  59. } _Dispatch_manager_status_msg_default_instance_;
  60. class Dispatch_manager_data_msgDefaultTypeInternal {
  61. public:
  62. ::google::protobuf::internal::ExplicitlyConstructed<Dispatch_manager_data_msg>
  63. _instance;
  64. } _Dispatch_manager_data_msg_default_instance_;
  65. } // namespace message
  66. namespace protobuf_dispatch_5fmessage_2eproto {
  67. void InitDefaultsDispatch_process_informationImpl() {
  68. GOOGLE_PROTOBUF_VERIFY_VERSION;
  69. #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  70. ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
  71. #else
  72. ::google::protobuf::internal::InitProtobufDefaults();
  73. #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  74. protobuf_message_5fbase_2eproto::InitDefaultsId_struct();
  75. protobuf_message_5fbase_2eproto::InitDefaultsLocate_information();
  76. protobuf_message_5fbase_2eproto::InitDefaultsParkspace_info();
  77. {
  78. void* ptr = &::message::_Dispatch_process_information_default_instance_;
  79. new (ptr) ::message::Dispatch_process_information();
  80. ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
  81. }
  82. ::message::Dispatch_process_information::InitAsDefaultInstance();
  83. }
  84. void InitDefaultsDispatch_process_information() {
  85. static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
  86. ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsDispatch_process_informationImpl);
  87. }
  88. void InitDefaultsDispatch_terminal_status_msgImpl() {
  89. GOOGLE_PROTOBUF_VERIFY_VERSION;
  90. #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  91. ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
  92. #else
  93. ::google::protobuf::internal::InitProtobufDefaults();
  94. #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  95. protobuf_message_5fbase_2eproto::InitDefaultsBase_info();
  96. protobuf_message_5fbase_2eproto::InitDefaultsId_struct();
  97. protobuf_dispatch_5fmessage_2eproto::InitDefaultsDispatch_process_information();
  98. {
  99. void* ptr = &::message::_Dispatch_terminal_status_msg_default_instance_;
  100. new (ptr) ::message::Dispatch_terminal_status_msg();
  101. ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
  102. }
  103. ::message::Dispatch_terminal_status_msg::InitAsDefaultInstance();
  104. }
  105. void InitDefaultsDispatch_terminal_status_msg() {
  106. static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
  107. ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsDispatch_terminal_status_msgImpl);
  108. }
  109. void InitDefaultsDispatch_request_msgImpl() {
  110. GOOGLE_PROTOBUF_VERIFY_VERSION;
  111. #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  112. ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
  113. #else
  114. ::google::protobuf::internal::InitProtobufDefaults();
  115. #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  116. protobuf_message_5fbase_2eproto::InitDefaultsBase_info();
  117. protobuf_message_5fbase_2eproto::InitDefaultsId_struct();
  118. protobuf_message_5fbase_2eproto::InitDefaultsLocate_information();
  119. protobuf_message_5fbase_2eproto::InitDefaultsParkspace_info();
  120. {
  121. void* ptr = &::message::_Dispatch_request_msg_default_instance_;
  122. new (ptr) ::message::Dispatch_request_msg();
  123. ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
  124. }
  125. ::message::Dispatch_request_msg::InitAsDefaultInstance();
  126. }
  127. void InitDefaultsDispatch_request_msg() {
  128. static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
  129. ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsDispatch_request_msgImpl);
  130. }
  131. void InitDefaultsDispatch_response_msgImpl() {
  132. GOOGLE_PROTOBUF_VERIFY_VERSION;
  133. #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  134. ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
  135. #else
  136. ::google::protobuf::internal::InitProtobufDefaults();
  137. #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  138. protobuf_message_5fbase_2eproto::InitDefaultsBase_info();
  139. protobuf_message_5fbase_2eproto::InitDefaultsId_struct();
  140. protobuf_message_5fbase_2eproto::InitDefaultsLocate_information();
  141. protobuf_message_5fbase_2eproto::InitDefaultsParkspace_info();
  142. protobuf_message_5fbase_2eproto::InitDefaultsError_manager();
  143. {
  144. void* ptr = &::message::_Dispatch_response_msg_default_instance_;
  145. new (ptr) ::message::Dispatch_response_msg();
  146. ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
  147. }
  148. ::message::Dispatch_response_msg::InitAsDefaultInstance();
  149. }
  150. void InitDefaultsDispatch_response_msg() {
  151. static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
  152. ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsDispatch_response_msgImpl);
  153. }
  154. void InitDefaultsCatcher_dataImpl() {
  155. GOOGLE_PROTOBUF_VERIFY_VERSION;
  156. #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  157. ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
  158. #else
  159. ::google::protobuf::internal::InitProtobufDefaults();
  160. #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  161. {
  162. void* ptr = &::message::_Catcher_data_default_instance_;
  163. new (ptr) ::message::Catcher_data();
  164. ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
  165. }
  166. ::message::Catcher_data::InitAsDefaultInstance();
  167. }
  168. void InitDefaultsCatcher_data() {
  169. static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
  170. ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsCatcher_dataImpl);
  171. }
  172. void InitDefaultsCarrier_dataImpl() {
  173. GOOGLE_PROTOBUF_VERIFY_VERSION;
  174. #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  175. ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
  176. #else
  177. ::google::protobuf::internal::InitProtobufDefaults();
  178. #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  179. {
  180. void* ptr = &::message::_Carrier_data_default_instance_;
  181. new (ptr) ::message::Carrier_data();
  182. ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
  183. }
  184. ::message::Carrier_data::InitAsDefaultInstance();
  185. }
  186. void InitDefaultsCarrier_data() {
  187. static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
  188. ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsCarrier_dataImpl);
  189. }
  190. void InitDefaultsPassageway_dataImpl() {
  191. GOOGLE_PROTOBUF_VERIFY_VERSION;
  192. #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  193. ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
  194. #else
  195. ::google::protobuf::internal::InitProtobufDefaults();
  196. #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  197. {
  198. void* ptr = &::message::_Passageway_data_default_instance_;
  199. new (ptr) ::message::Passageway_data();
  200. ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
  201. }
  202. ::message::Passageway_data::InitAsDefaultInstance();
  203. }
  204. void InitDefaultsPassageway_data() {
  205. static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
  206. ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPassageway_dataImpl);
  207. }
  208. void InitDefaultsDispatch_manager_status_msgImpl() {
  209. GOOGLE_PROTOBUF_VERIFY_VERSION;
  210. #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  211. ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
  212. #else
  213. ::google::protobuf::internal::InitProtobufDefaults();
  214. #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  215. protobuf_message_5fbase_2eproto::InitDefaultsBase_info();
  216. protobuf_dispatch_5fmessage_2eproto::InitDefaultsCatcher_data();
  217. protobuf_dispatch_5fmessage_2eproto::InitDefaultsCarrier_data();
  218. protobuf_dispatch_5fmessage_2eproto::InitDefaultsPassageway_data();
  219. {
  220. void* ptr = &::message::_Dispatch_manager_status_msg_default_instance_;
  221. new (ptr) ::message::Dispatch_manager_status_msg();
  222. ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
  223. }
  224. ::message::Dispatch_manager_status_msg::InitAsDefaultInstance();
  225. }
  226. void InitDefaultsDispatch_manager_status_msg() {
  227. static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
  228. ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsDispatch_manager_status_msgImpl);
  229. }
  230. void InitDefaultsDispatch_manager_data_msgImpl() {
  231. GOOGLE_PROTOBUF_VERIFY_VERSION;
  232. #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  233. ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
  234. #else
  235. ::google::protobuf::internal::InitProtobufDefaults();
  236. #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  237. {
  238. void* ptr = &::message::_Dispatch_manager_data_msg_default_instance_;
  239. new (ptr) ::message::Dispatch_manager_data_msg();
  240. ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
  241. }
  242. ::message::Dispatch_manager_data_msg::InitAsDefaultInstance();
  243. }
  244. void InitDefaultsDispatch_manager_data_msg() {
  245. static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
  246. ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsDispatch_manager_data_msgImpl);
  247. }
  248. ::google::protobuf::Metadata file_level_metadata[9];
  249. const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors[16];
  250. const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
  251. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_process_information, _has_bits_),
  252. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_process_information, _internal_metadata_),
  253. ~0u, // no _extensions_
  254. ~0u, // no _oneof_case_
  255. ~0u, // no _weak_field_map_
  256. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_process_information, car_numberplate_),
  257. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_process_information, command_key_),
  258. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_process_information, dispatch_motion_direction_),
  259. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_process_information, id_struct_),
  260. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_process_information, locate_information_),
  261. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_process_information, parkspace_info_ex_),
  262. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_process_information, car_type_),
  263. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_process_information, dispatch_process_status_),
  264. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_process_information, m_wait_number_),
  265. 0,
  266. 1,
  267. 4,
  268. 2,
  269. 3,
  270. ~0u,
  271. 5,
  272. 6,
  273. 7,
  274. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_terminal_status_msg, _has_bits_),
  275. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_terminal_status_msg, _internal_metadata_),
  276. ~0u, // no _extensions_
  277. ~0u, // no _oneof_case_
  278. ~0u, // no _weak_field_map_
  279. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_terminal_status_msg, base_info_),
  280. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_terminal_status_msg, id_struct_),
  281. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_terminal_status_msg, terminal_status_),
  282. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_terminal_status_msg, passageway_direction_),
  283. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_terminal_status_msg, dispatch_store_process_information_vector_),
  284. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_terminal_status_msg, dispatch_store_process_information_updata_time_),
  285. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_terminal_status_msg, dispatch_pickup_process_information_vector_),
  286. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_terminal_status_msg, dispatch_pickup_process_information_updata_time_),
  287. 2,
  288. 3,
  289. 4,
  290. 5,
  291. ~0u,
  292. 0,
  293. ~0u,
  294. 1,
  295. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_request_msg, _has_bits_),
  296. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_request_msg, _internal_metadata_),
  297. ~0u, // no _extensions_
  298. ~0u, // no _oneof_case_
  299. ~0u, // no _weak_field_map_
  300. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_request_msg, base_info_),
  301. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_request_msg, command_key_),
  302. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_request_msg, dispatch_motion_direction_),
  303. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_request_msg, id_struct_),
  304. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_request_msg, locate_information_),
  305. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_request_msg, parkspace_info_ex_),
  306. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_request_msg, car_type_),
  307. 1,
  308. 0,
  309. 4,
  310. 2,
  311. 3,
  312. ~0u,
  313. 5,
  314. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_response_msg, _has_bits_),
  315. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_response_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::Dispatch_response_msg, base_info_),
  320. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_response_msg, command_key_),
  321. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_response_msg, dispatch_motion_direction_),
  322. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_response_msg, id_struct_),
  323. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_response_msg, locate_information_),
  324. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_response_msg, parkspace_info_ex_),
  325. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_response_msg, car_type_),
  326. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_response_msg, error_manager_),
  327. 1,
  328. 0,
  329. 5,
  330. 2,
  331. 3,
  332. ~0u,
  333. 6,
  334. 4,
  335. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Catcher_data, _has_bits_),
  336. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Catcher_data, _internal_metadata_),
  337. ~0u, // no _extensions_
  338. ~0u, // no _oneof_case_
  339. ~0u, // no _weak_field_map_
  340. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Catcher_data, dispatch_device_type_),
  341. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Catcher_data, dispatch_device_status_),
  342. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Catcher_data, device_id_),
  343. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Catcher_data, actual_device_status_),
  344. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Catcher_data, actual_load_status_),
  345. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Catcher_data, actual_coordinates_id_),
  346. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Catcher_data, actual_x_),
  347. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Catcher_data, actual_y_),
  348. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Catcher_data, actual_b_),
  349. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Catcher_data, actual_z_),
  350. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Catcher_data, actual_d1_),
  351. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Catcher_data, actual_d2_),
  352. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Catcher_data, actual_clamp_motion1_),
  353. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Catcher_data, actual_clamp_motion2_),
  354. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Catcher_data, actual_clamp_motion3_),
  355. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Catcher_data, actual_clamp_motion4_),
  356. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Catcher_data, actual_error_code_),
  357. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Catcher_data, actual_warning_code_),
  358. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Catcher_data, actual_error_description_),
  359. 18,
  360. 3,
  361. 4,
  362. 5,
  363. 6,
  364. 7,
  365. 8,
  366. 9,
  367. 10,
  368. 11,
  369. 12,
  370. 13,
  371. 14,
  372. 15,
  373. 16,
  374. 17,
  375. 0,
  376. 1,
  377. 2,
  378. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Carrier_data, _has_bits_),
  379. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Carrier_data, _internal_metadata_),
  380. ~0u, // no _extensions_
  381. ~0u, // no _oneof_case_
  382. ~0u, // no _weak_field_map_
  383. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Carrier_data, dispatch_device_type_),
  384. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Carrier_data, dispatch_device_status_),
  385. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Carrier_data, device_id_),
  386. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Carrier_data, actual_device_status_),
  387. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Carrier_data, actual_load_status_),
  388. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Carrier_data, actual_coordinates_id_),
  389. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Carrier_data, actual_x_),
  390. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Carrier_data, actual_y_),
  391. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Carrier_data, actual_z_),
  392. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Carrier_data, actual_y1_),
  393. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Carrier_data, actual_y2_),
  394. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Carrier_data, actual_clamp_motion1_),
  395. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Carrier_data, actual_clamp_motion2_),
  396. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Carrier_data, actual_small_sports_car_motion_),
  397. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Carrier_data, actual_joint_motion_x1_),
  398. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Carrier_data, actual_joint_motion_x2_),
  399. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Carrier_data, actual_error_code_),
  400. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Carrier_data, actual_warning_code_),
  401. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Carrier_data, actual_error_description_),
  402. 18,
  403. 3,
  404. 4,
  405. 5,
  406. 6,
  407. 7,
  408. 8,
  409. 9,
  410. 10,
  411. 11,
  412. 12,
  413. 13,
  414. 14,
  415. 15,
  416. 16,
  417. 17,
  418. 0,
  419. 1,
  420. 2,
  421. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Passageway_data, _has_bits_),
  422. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Passageway_data, _internal_metadata_),
  423. ~0u, // no _extensions_
  424. ~0u, // no _oneof_case_
  425. ~0u, // no _weak_field_map_
  426. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Passageway_data, dispatch_device_type_),
  427. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Passageway_data, dispatch_device_status_),
  428. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Passageway_data, device_id_),
  429. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Passageway_data, actual_device_status_),
  430. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Passageway_data, actual_inside_load_status_),
  431. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Passageway_data, actual_outside_load_status_),
  432. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Passageway_data, actual_front_overstep_the_boundary_),
  433. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Passageway_data, actual_back_overstep_the_boundary_),
  434. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Passageway_data, actual_height_overstep_the_boundary_),
  435. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Passageway_data, actual_outside_door_sensor_),
  436. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Passageway_data, actual_inside_door_motion_),
  437. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Passageway_data, actual_outside_door_motion_),
  438. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Passageway_data, actual_turntable_load_status_),
  439. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Passageway_data, actual_turntable_direction_),
  440. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Passageway_data, actual_error_code_),
  441. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Passageway_data, actual_warning_code_),
  442. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Passageway_data, actual_error_description_),
  443. 16,
  444. 3,
  445. 4,
  446. 5,
  447. 6,
  448. 7,
  449. 8,
  450. 9,
  451. 10,
  452. 11,
  453. 12,
  454. 13,
  455. 14,
  456. 15,
  457. 0,
  458. 1,
  459. 2,
  460. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_manager_status_msg, _has_bits_),
  461. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_manager_status_msg, _internal_metadata_),
  462. ~0u, // no _extensions_
  463. ~0u, // no _oneof_case_
  464. ~0u, // no _weak_field_map_
  465. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_manager_status_msg, base_info_),
  466. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_manager_status_msg, dispatch_id_),
  467. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_manager_status_msg, dispatch_manager_status_),
  468. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_manager_status_msg, catcher_data_map_),
  469. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_manager_status_msg, carrier_data_map_),
  470. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_manager_status_msg, passageway_data_map_),
  471. 0,
  472. 1,
  473. 2,
  474. ~0u,
  475. ~0u,
  476. ~0u,
  477. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_manager_data_msg, _has_bits_),
  478. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_manager_data_msg, _internal_metadata_),
  479. ~0u, // no _extensions_
  480. ~0u, // no _oneof_case_
  481. ~0u, // no _weak_field_map_
  482. };
  483. static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
  484. { 0, 14, sizeof(::message::Dispatch_process_information)},
  485. { 23, 36, sizeof(::message::Dispatch_terminal_status_msg)},
  486. { 44, 56, sizeof(::message::Dispatch_request_msg)},
  487. { 63, 76, sizeof(::message::Dispatch_response_msg)},
  488. { 84, 108, sizeof(::message::Catcher_data)},
  489. { 127, 151, sizeof(::message::Carrier_data)},
  490. { 170, 192, sizeof(::message::Passageway_data)},
  491. { 209, 220, sizeof(::message::Dispatch_manager_status_msg)},
  492. { 226, 231, sizeof(::message::Dispatch_manager_data_msg)},
  493. };
  494. static ::google::protobuf::Message const * const file_default_instances[] = {
  495. reinterpret_cast<const ::google::protobuf::Message*>(&::message::_Dispatch_process_information_default_instance_),
  496. reinterpret_cast<const ::google::protobuf::Message*>(&::message::_Dispatch_terminal_status_msg_default_instance_),
  497. reinterpret_cast<const ::google::protobuf::Message*>(&::message::_Dispatch_request_msg_default_instance_),
  498. reinterpret_cast<const ::google::protobuf::Message*>(&::message::_Dispatch_response_msg_default_instance_),
  499. reinterpret_cast<const ::google::protobuf::Message*>(&::message::_Catcher_data_default_instance_),
  500. reinterpret_cast<const ::google::protobuf::Message*>(&::message::_Carrier_data_default_instance_),
  501. reinterpret_cast<const ::google::protobuf::Message*>(&::message::_Passageway_data_default_instance_),
  502. reinterpret_cast<const ::google::protobuf::Message*>(&::message::_Dispatch_manager_status_msg_default_instance_),
  503. reinterpret_cast<const ::google::protobuf::Message*>(&::message::_Dispatch_manager_data_msg_default_instance_),
  504. };
  505. void protobuf_AssignDescriptors() {
  506. AddDescriptors();
  507. ::google::protobuf::MessageFactory* factory = NULL;
  508. AssignDescriptors(
  509. "dispatch_message.proto", schemas, file_default_instances, TableStruct::offsets, factory,
  510. file_level_metadata, file_level_enum_descriptors, NULL);
  511. }
  512. void protobuf_AssignDescriptorsOnce() {
  513. static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
  514. ::google::protobuf::GoogleOnceInit(&once, &protobuf_AssignDescriptors);
  515. }
  516. void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD;
  517. void protobuf_RegisterTypes(const ::std::string&) {
  518. protobuf_AssignDescriptorsOnce();
  519. ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 9);
  520. }
  521. void AddDescriptorsImpl() {
  522. InitDefaults();
  523. static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
  524. "\n\026dispatch_message.proto\022\007message\032\022messa"
  525. "ge_base.proto\"\246\003\n\034Dispatch_process_infor"
  526. "mation\022\027\n\017car_numberPlate\030\001 \001(\t\022\023\n\013comma"
  527. "nd_key\030\002 \001(\t\022E\n\031dispatch_motion_directio"
  528. "n\030\003 \001(\0162\".message.Dispatch_motion_direct"
  529. "ion\022%\n\tid_struct\030\004 \001(\0132\022.message.Id_stru"
  530. "ct\0227\n\022locate_information\030\005 \001(\0132\033.message"
  531. ".Locate_information\0222\n\021parkspace_info_ex"
  532. "\030\006 \003(\0132\027.message.Parkspace_info\022#\n\010car_t"
  533. "ype\030\007 \001(\0162\021.message.Car_type\022A\n\027dispatch"
  534. "_process_status\030\010 \001(\0162 .message.Dispatch"
  535. "_process_status\022\025\n\rm_wait_number\030\t \001(\005\"\202"
  536. "\004\n\034Dispatch_terminal_status_msg\022%\n\tbase_"
  537. "info\030\001 \002(\0132\022.message.Base_info\022%\n\tid_str"
  538. "uct\030\002 \001(\0132\022.message.Id_struct\0221\n\017termina"
  539. "l_status\030\003 \002(\0162\030.message.Terminal_status"
  540. "\022;\n\024passageway_direction\030\004 \002(\0162\035.message"
  541. ".Passageway_direction\022X\n)dispatch_store_"
  542. "process_information_vector\030\005 \003(\0132%.messa"
  543. "ge.Dispatch_process_information\0226\n.dispa"
  544. "tch_store_process_information_updata_tim"
  545. "e\030\006 \001(\t\022Y\n*dispatch_pickup_process_infor"
  546. "mation_vector\030\007 \003(\0132%.message.Dispatch_p"
  547. "rocess_information\0227\n/dispatch_pickup_pr"
  548. "ocess_information_updata_time\030\010 \001(\t\"\322\002\n\024"
  549. "Dispatch_request_msg\022%\n\tbase_info\030\001 \002(\0132"
  550. "\022.message.Base_info\022\023\n\013command_key\030\002 \002(\t"
  551. "\022E\n\031dispatch_motion_direction\030\003 \001(\0162\".me"
  552. "ssage.Dispatch_motion_direction\022%\n\tid_st"
  553. "ruct\030\004 \001(\0132\022.message.Id_struct\0227\n\022locate"
  554. "_information\030\005 \001(\0132\033.message.Locate_info"
  555. "rmation\0222\n\021parkspace_info_ex\030\006 \003(\0132\027.mes"
  556. "sage.Parkspace_info\022#\n\010car_type\030\007 \001(\0162\021."
  557. "message.Car_type\"\202\003\n\025Dispatch_response_m"
  558. "sg\022%\n\tbase_info\030\001 \002(\0132\022.message.Base_inf"
  559. "o\022\023\n\013command_key\030\002 \002(\t\022E\n\031dispatch_motio"
  560. "n_direction\030\003 \001(\0162\".message.Dispatch_mot"
  561. "ion_direction\022%\n\tid_struct\030\004 \001(\0132\022.messa"
  562. "ge.Id_struct\0227\n\022locate_information\030\005 \001(\013"
  563. "2\033.message.Locate_information\0222\n\021parkspa"
  564. "ce_info_ex\030\006 \003(\0132\027.message.Parkspace_inf"
  565. "o\022#\n\010car_type\030\007 \001(\0162\021.message.Car_type\022-"
  566. "\n\rerror_manager\030\010 \001(\0132\026.message.Error_ma"
  567. "nager\"\313\005\n\014Catcher_data\022;\n\024dispatch_devic"
  568. "e_type\030\001 \002(\0162\035.message.Dispatch_device_t"
  569. "ype\022\?\n\026dispatch_device_status\030\002 \002(\0162\037.me"
  570. "ssage.Dispatch_device_status\022\021\n\tdevice_i"
  571. "d\030\003 \002(\005\022=\n\024actual_device_status\030\004 \001(\0162\037."
  572. "message.Hardware_device_status\0220\n\022actual"
  573. "_load_status\030\005 \001(\0162\024.message.Load_status"
  574. "\022\035\n\025actual_coordinates_id\030\006 \001(\005\022\020\n\010actua"
  575. "l_x\030\007 \001(\002\022\020\n\010actual_y\030\010 \001(\002\022\020\n\010actual_b\030"
  576. "\t \001(\002\022\020\n\010actual_z\030\n \001(\002\022\021\n\tactual_d1\030\013 \001"
  577. "(\002\022\021\n\tactual_d2\030\014 \001(\002\0223\n\024actual_clamp_mo"
  578. "tion1\030\r \001(\0162\025.message.Clamp_motion\0223\n\024ac"
  579. "tual_clamp_motion2\030\016 \001(\0162\025.message.Clamp"
  580. "_motion\0223\n\024actual_clamp_motion3\030\017 \001(\0162\025."
  581. "message.Clamp_motion\0223\n\024actual_clamp_mot"
  582. "ion4\030\020 \001(\0162\025.message.Clamp_motion\022\031\n\021act"
  583. "ual_error_code\030\021 \001(\t\022\033\n\023actual_warning_c"
  584. "ode\030\022 \001(\t\022 \n\030actual_error_description\030\023 "
  585. "\001(\t\"\207\006\n\014Carrier_data\022;\n\024dispatch_device_"
  586. "type\030\001 \002(\0162\035.message.Dispatch_device_typ"
  587. "e\022\?\n\026dispatch_device_status\030\002 \002(\0162\037.mess"
  588. "age.Dispatch_device_status\022\021\n\tdevice_id\030"
  589. "\003 \002(\005\022=\n\024actual_device_status\030\004 \001(\0162\037.me"
  590. "ssage.Hardware_device_status\0220\n\022actual_l"
  591. "oad_status\030\005 \001(\0162\024.message.Load_status\022\035"
  592. "\n\025actual_coordinates_id\030\006 \001(\005\022\020\n\010actual_"
  593. "x\030\007 \001(\002\022\020\n\010actual_y\030\010 \001(\002\022\020\n\010actual_z\030\t "
  594. "\001(\002\022\021\n\tactual_y1\030\n \001(\002\022\021\n\tactual_y2\030\013 \001("
  595. "\002\0223\n\024actual_clamp_motion1\030\014 \001(\0162\025.messag"
  596. "e.Clamp_motion\0223\n\024actual_clamp_motion2\030\r"
  597. " \001(\0162\025.message.Clamp_motion\022H\n\036actual_sm"
  598. "all_sports_car_motion\030\016 \001(\0162 .message.Sm"
  599. "all_sports_car_motion\0225\n\026actual_joint_mo"
  600. "tion_x1\030\017 \001(\0162\025.message.Joint_motion\0225\n\026"
  601. "actual_joint_motion_x2\030\020 \001(\0162\025.message.J"
  602. "oint_motion\022\031\n\021actual_error_code\030\021 \001(\t\022\033"
  603. "\n\023actual_warning_code\030\022 \001(\t\022 \n\030actual_er"
  604. "ror_description\030\023 \001(\t\"\275\007\n\017Passageway_dat"
  605. "a\022;\n\024dispatch_device_type\030\001 \002(\0162\035.messag"
  606. "e.Dispatch_device_type\022\?\n\026dispatch_devic"
  607. "e_status\030\002 \002(\0162\037.message.Dispatch_device"
  608. "_status\022\021\n\tdevice_id\030\003 \002(\005\022=\n\024actual_dev"
  609. "ice_status\030\004 \001(\0162\037.message.Hardware_devi"
  610. "ce_status\0227\n\031actual_inside_load_status\030\005"
  611. " \001(\0162\024.message.Load_status\0228\n\032actual_out"
  612. "side_load_status\030\006 \001(\0162\024.message.Load_st"
  613. "atus\022J\n\"actual_front_overstep_the_bounda"
  614. "ry\030\007 \001(\0162\036.message.Overstep_the_boundary"
  615. "\022I\n!actual_back_overstep_the_boundary\030\010 "
  616. "\001(\0162\036.message.Overstep_the_boundary\022K\n#a"
  617. "ctual_height_overstep_the_boundary\030\t \001(\016"
  618. "2\036.message.Overstep_the_boundary\0228\n\032actu"
  619. "al_outside_door_sensor\030\n \001(\0162\024.message.L"
  620. "oad_status\0227\n\031actual_inside_door_motion\030"
  621. "\013 \001(\0162\024.message.Door_motion\0228\n\032actual_ou"
  622. "tside_door_motion\030\014 \001(\0162\024.message.Door_m"
  623. "otion\022:\n\034actual_turntable_load_status\030\r "
  624. "\001(\0162\024.message.Load_status\022@\n\032actual_turn"
  625. "table_direction\030\016 \001(\0162\034.message.Turntabl"
  626. "e_direction\022\031\n\021actual_error_code\030\017 \001(\t\022\033"
  627. "\n\023actual_warning_code\030\020 \001(\t\022 \n\030actual_er"
  628. "ror_description\030\021 \001(\t\"\265\002\n\033Dispatch_manag"
  629. "er_status_msg\022%\n\tbase_info\030\001 \002(\0132\022.messa"
  630. "ge.Base_info\022\023\n\013dispatch_id\030\002 \002(\005\022A\n\027dis"
  631. "patch_manager_status\030\003 \002(\0162 .message.Dis"
  632. "patch_manager_status\022/\n\020catcher_data_map"
  633. "\030\004 \003(\0132\025.message.Catcher_data\022/\n\020carrier"
  634. "_data_map\030\005 \003(\0132\025.message.Carrier_data\0225"
  635. "\n\023passageway_data_map\030\006 \003(\0132\030.message.Pa"
  636. "ssageway_data\"\033\n\031Dispatch_manager_data_m"
  637. "sg*\201\001\n\017Terminal_status\022\025\n\021E_TERMINAL_UNK"
  638. "NOW\020\000\022\024\n\020E_TERMINAL_READY\020\001\022\024\n\020E_TERMINA"
  639. "L_STORE\020\002\022\025\n\021E_TERMINAL_PICKUP\020\003\022\024\n\020E_TE"
  640. "RMINAL_FAULT\020\n*B\n\024Passageway_direction\022\013"
  641. "\n\007E_INLET\020\000\022\014\n\010E_OUTLET\020\001\022\017\n\013E_BILATERAL"
  642. "\020\002*\253\001\n\027Dispatch_process_status\022\034\n\030E_DISP"
  643. "ATCH_POCESS_UNKNOW\020\000\022\032\n\026E_DISPATCH_POCES"
  644. "S_WAIT\020\001\022\035\n\031E_DISPATCH_POCESS_WORKING\020\002\022"
  645. "\032\n\026E_DISPATCH_POCESS_OVER\020\003\022\033\n\027E_DISPATC"
  646. "H_POCESS_FAULT\020d*>\n\031Dispatch_motion_dire"
  647. "ction\022\017\n\013E_STORE_CAR\020\000\022\020\n\014E_PICKUP_CAR\020\001"
  648. "*\261\001\n\027Dispatch_manager_status\022\035\n\031E_DISPAT"
  649. "CH_MANAGER_UNKNOW\020\000\022\034\n\030E_DISPATCH_MANAGE"
  650. "R_READY\020\001\022\034\n\030E_DISPATCH_MANAGER_STORE\020\002\022"
  651. "\035\n\031E_DISPATCH_MANAGER_PICKUP\020\003\022\034\n\030E_DISP"
  652. "ATCH_MANAGER_FAULT\020d*\200\003\n\026Dispatch_device"
  653. "_status\022\032\n\026DISPATCH_DEVICE_UNKNOW\020\000\022\031\n\025D"
  654. "ISPATCH_DEVICE_READY\020\001\022\030\n\024DISPATCH_DEVIC"
  655. "E_BUSY\020\002\022\"\n\036DISPATCH_DEVICE_ONE_LEVEL_OV"
  656. "ER\020\003\022\"\n\036DISPATCH_DEVICE_ONE_LEVEL_WORK\020\004"
  657. "\022\"\n\036DISPATCH_DEVICE_TWO_LEVEL_OVER\020\005\022\"\n\036"
  658. "DISPATCH_DEVICE_TWO_LEVEL_WORK\020\006\022$\n DISP"
  659. "ATCH_DEVICE_THREE_LEVEL_OVER\020\007\022$\n DISPAT"
  660. "CH_DEVICE_THREE_LEVEL_WORK\020\010\022\031\n\025DISPATCH"
  661. "_DEVICE_FAULT\020d\022\036\n\032DISPATCH_DEVICE_DISCO"
  662. "NNECT\020e*n\n\023Dispatch_task_level\022\033\n\027DISPAT"
  663. "CH_TASK_ONE_LEVEL\020\001\022\033\n\027DISPATCH_TASK_TWO"
  664. "_LEVEL\020\002\022\035\n\031DISPATCH_TASK_THREE_LEVEL\020\003*"
  665. "K\n\014Clamp_motion\022\025\n\021E_CLAMP_NO_ACTION\020\000\022\021"
  666. "\n\rE_CLAMP_TIGHT\020\001\022\021\n\rE_CLAMP_LOOSE\020\002*R\n\014"
  667. "Joint_motion\022\025\n\021E_JOINT_NO_ACTION\020\000\022\024\n\020E"
  668. "_JOINT_HOLD_OUT\020\001\022\025\n\021E_JOINT_TAKE_BACK\020\002"
  669. "*y\n\027Small_sports_car_motion\022\034\n\030E_SMALL_S"
  670. "PORTS_NO_ACTION\020\000\022\037\n\033E_SMALL_SPORTS_CAR_"
  671. "GET_AWAY\020\001\022\037\n\033E_SMALL_SPORTS_CAR_GET_BAC"
  672. "K\020\002*l\n\016Respons_status\022\023\n\017RESPONS_WORKING"
  673. "\020\000\022\020\n\014RESPONS_OVER\020\001\022\027\n\023RESPONS_MINOR_ER"
  674. "ROR\020d\022\032\n\026RESPONS_CRITICAL_ERROR\020e*\252\001\n\026Ha"
  675. "rdware_device_status\022\022\n\016DEVICE_UNKNOWN\020\000"
  676. "\022\020\n\014DEVICE_READY\020\001\022\022\n\016DEVICE_WORKING\020\002\022\031"
  677. "\n\025DEVICE_EMERGENCY_STOP\020\003\022\023\n\017DEVICE_UNSA"
  678. "FETY\020\004\022\024\n\020DEVICE_COLLISION\020\005\022\020\n\014DEVICE_F"
  679. "AULT\020\006*9\n\013Load_status\022\020\n\014LOAD_UNKNOWN\020\000\022"
  680. "\014\n\010HAVE_CAR\020\001\022\n\n\006NO_CAR\020\002*w\n\023Turntable_d"
  681. "irection\022\037\n\033TURNTABLE_DIRECTION_UNKNOWN\020"
  682. "\000\022\036\n\032TURNTABLE_DIRECTION_INSIDE\020\001\022\037\n\033TUR"
  683. "NTABLE_DIRECTION_OUTSIDE\020\002*N\n\013Door_motio"
  684. "n\022\020\n\014DOOR_UNKNOWN\020\000\022\r\n\tDOOR_OPEN\020\001\022\016\n\nDO"
  685. "OR_CLOSE\020\002\022\016\n\nDOOR_ERROR\020\003*C\n\025Overstep_t"
  686. "he_boundary\022\023\n\017BOUNDARY_NORMAL\020\000\022\025\n\021BOUN"
  687. "DARY_OVERSTEP\020\001"
  688. };
  689. ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
  690. descriptor, 6535);
  691. ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
  692. "dispatch_message.proto", &protobuf_RegisterTypes);
  693. ::protobuf_message_5fbase_2eproto::AddDescriptors();
  694. }
  695. void AddDescriptors() {
  696. static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
  697. ::google::protobuf::GoogleOnceInit(&once, &AddDescriptorsImpl);
  698. }
  699. // Force AddDescriptors() to be called at dynamic initialization time.
  700. struct StaticDescriptorInitializer {
  701. StaticDescriptorInitializer() {
  702. AddDescriptors();
  703. }
  704. } static_descriptor_initializer;
  705. } // namespace protobuf_dispatch_5fmessage_2eproto
  706. namespace message {
  707. const ::google::protobuf::EnumDescriptor* Terminal_status_descriptor() {
  708. protobuf_dispatch_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  709. return protobuf_dispatch_5fmessage_2eproto::file_level_enum_descriptors[0];
  710. }
  711. bool Terminal_status_IsValid(int value) {
  712. switch (value) {
  713. case 0:
  714. case 1:
  715. case 2:
  716. case 3:
  717. case 10:
  718. return true;
  719. default:
  720. return false;
  721. }
  722. }
  723. const ::google::protobuf::EnumDescriptor* Passageway_direction_descriptor() {
  724. protobuf_dispatch_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  725. return protobuf_dispatch_5fmessage_2eproto::file_level_enum_descriptors[1];
  726. }
  727. bool Passageway_direction_IsValid(int value) {
  728. switch (value) {
  729. case 0:
  730. case 1:
  731. case 2:
  732. return true;
  733. default:
  734. return false;
  735. }
  736. }
  737. const ::google::protobuf::EnumDescriptor* Dispatch_process_status_descriptor() {
  738. protobuf_dispatch_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  739. return protobuf_dispatch_5fmessage_2eproto::file_level_enum_descriptors[2];
  740. }
  741. bool Dispatch_process_status_IsValid(int value) {
  742. switch (value) {
  743. case 0:
  744. case 1:
  745. case 2:
  746. case 3:
  747. case 100:
  748. return true;
  749. default:
  750. return false;
  751. }
  752. }
  753. const ::google::protobuf::EnumDescriptor* Dispatch_motion_direction_descriptor() {
  754. protobuf_dispatch_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  755. return protobuf_dispatch_5fmessage_2eproto::file_level_enum_descriptors[3];
  756. }
  757. bool Dispatch_motion_direction_IsValid(int value) {
  758. switch (value) {
  759. case 0:
  760. case 1:
  761. return true;
  762. default:
  763. return false;
  764. }
  765. }
  766. const ::google::protobuf::EnumDescriptor* Dispatch_manager_status_descriptor() {
  767. protobuf_dispatch_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  768. return protobuf_dispatch_5fmessage_2eproto::file_level_enum_descriptors[4];
  769. }
  770. bool Dispatch_manager_status_IsValid(int value) {
  771. switch (value) {
  772. case 0:
  773. case 1:
  774. case 2:
  775. case 3:
  776. case 100:
  777. return true;
  778. default:
  779. return false;
  780. }
  781. }
  782. const ::google::protobuf::EnumDescriptor* Dispatch_device_status_descriptor() {
  783. protobuf_dispatch_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  784. return protobuf_dispatch_5fmessage_2eproto::file_level_enum_descriptors[5];
  785. }
  786. bool Dispatch_device_status_IsValid(int value) {
  787. switch (value) {
  788. case 0:
  789. case 1:
  790. case 2:
  791. case 3:
  792. case 4:
  793. case 5:
  794. case 6:
  795. case 7:
  796. case 8:
  797. case 100:
  798. case 101:
  799. return true;
  800. default:
  801. return false;
  802. }
  803. }
  804. const ::google::protobuf::EnumDescriptor* Dispatch_task_level_descriptor() {
  805. protobuf_dispatch_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  806. return protobuf_dispatch_5fmessage_2eproto::file_level_enum_descriptors[6];
  807. }
  808. bool Dispatch_task_level_IsValid(int value) {
  809. switch (value) {
  810. case 1:
  811. case 2:
  812. case 3:
  813. return true;
  814. default:
  815. return false;
  816. }
  817. }
  818. const ::google::protobuf::EnumDescriptor* Clamp_motion_descriptor() {
  819. protobuf_dispatch_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  820. return protobuf_dispatch_5fmessage_2eproto::file_level_enum_descriptors[7];
  821. }
  822. bool Clamp_motion_IsValid(int value) {
  823. switch (value) {
  824. case 0:
  825. case 1:
  826. case 2:
  827. return true;
  828. default:
  829. return false;
  830. }
  831. }
  832. const ::google::protobuf::EnumDescriptor* Joint_motion_descriptor() {
  833. protobuf_dispatch_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  834. return protobuf_dispatch_5fmessage_2eproto::file_level_enum_descriptors[8];
  835. }
  836. bool Joint_motion_IsValid(int value) {
  837. switch (value) {
  838. case 0:
  839. case 1:
  840. case 2:
  841. return true;
  842. default:
  843. return false;
  844. }
  845. }
  846. const ::google::protobuf::EnumDescriptor* Small_sports_car_motion_descriptor() {
  847. protobuf_dispatch_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  848. return protobuf_dispatch_5fmessage_2eproto::file_level_enum_descriptors[9];
  849. }
  850. bool Small_sports_car_motion_IsValid(int value) {
  851. switch (value) {
  852. case 0:
  853. case 1:
  854. case 2:
  855. return true;
  856. default:
  857. return false;
  858. }
  859. }
  860. const ::google::protobuf::EnumDescriptor* Respons_status_descriptor() {
  861. protobuf_dispatch_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  862. return protobuf_dispatch_5fmessage_2eproto::file_level_enum_descriptors[10];
  863. }
  864. bool Respons_status_IsValid(int value) {
  865. switch (value) {
  866. case 0:
  867. case 1:
  868. case 100:
  869. case 101:
  870. return true;
  871. default:
  872. return false;
  873. }
  874. }
  875. const ::google::protobuf::EnumDescriptor* Hardware_device_status_descriptor() {
  876. protobuf_dispatch_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  877. return protobuf_dispatch_5fmessage_2eproto::file_level_enum_descriptors[11];
  878. }
  879. bool Hardware_device_status_IsValid(int value) {
  880. switch (value) {
  881. case 0:
  882. case 1:
  883. case 2:
  884. case 3:
  885. case 4:
  886. case 5:
  887. case 6:
  888. return true;
  889. default:
  890. return false;
  891. }
  892. }
  893. const ::google::protobuf::EnumDescriptor* Load_status_descriptor() {
  894. protobuf_dispatch_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  895. return protobuf_dispatch_5fmessage_2eproto::file_level_enum_descriptors[12];
  896. }
  897. bool Load_status_IsValid(int value) {
  898. switch (value) {
  899. case 0:
  900. case 1:
  901. case 2:
  902. return true;
  903. default:
  904. return false;
  905. }
  906. }
  907. const ::google::protobuf::EnumDescriptor* Turntable_direction_descriptor() {
  908. protobuf_dispatch_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  909. return protobuf_dispatch_5fmessage_2eproto::file_level_enum_descriptors[13];
  910. }
  911. bool Turntable_direction_IsValid(int value) {
  912. switch (value) {
  913. case 0:
  914. case 1:
  915. case 2:
  916. return true;
  917. default:
  918. return false;
  919. }
  920. }
  921. const ::google::protobuf::EnumDescriptor* Door_motion_descriptor() {
  922. protobuf_dispatch_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  923. return protobuf_dispatch_5fmessage_2eproto::file_level_enum_descriptors[14];
  924. }
  925. bool Door_motion_IsValid(int value) {
  926. switch (value) {
  927. case 0:
  928. case 1:
  929. case 2:
  930. case 3:
  931. return true;
  932. default:
  933. return false;
  934. }
  935. }
  936. const ::google::protobuf::EnumDescriptor* Overstep_the_boundary_descriptor() {
  937. protobuf_dispatch_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  938. return protobuf_dispatch_5fmessage_2eproto::file_level_enum_descriptors[15];
  939. }
  940. bool Overstep_the_boundary_IsValid(int value) {
  941. switch (value) {
  942. case 0:
  943. case 1:
  944. return true;
  945. default:
  946. return false;
  947. }
  948. }
  949. // ===================================================================
  950. void Dispatch_process_information::InitAsDefaultInstance() {
  951. ::message::_Dispatch_process_information_default_instance_._instance.get_mutable()->id_struct_ = const_cast< ::message::Id_struct*>(
  952. ::message::Id_struct::internal_default_instance());
  953. ::message::_Dispatch_process_information_default_instance_._instance.get_mutable()->locate_information_ = const_cast< ::message::Locate_information*>(
  954. ::message::Locate_information::internal_default_instance());
  955. }
  956. void Dispatch_process_information::clear_id_struct() {
  957. if (id_struct_ != NULL) id_struct_->Clear();
  958. clear_has_id_struct();
  959. }
  960. void Dispatch_process_information::clear_locate_information() {
  961. if (locate_information_ != NULL) locate_information_->Clear();
  962. clear_has_locate_information();
  963. }
  964. void Dispatch_process_information::clear_parkspace_info_ex() {
  965. parkspace_info_ex_.Clear();
  966. }
  967. #if !defined(_MSC_VER) || _MSC_VER >= 1900
  968. const int Dispatch_process_information::kCarNumberPlateFieldNumber;
  969. const int Dispatch_process_information::kCommandKeyFieldNumber;
  970. const int Dispatch_process_information::kDispatchMotionDirectionFieldNumber;
  971. const int Dispatch_process_information::kIdStructFieldNumber;
  972. const int Dispatch_process_information::kLocateInformationFieldNumber;
  973. const int Dispatch_process_information::kParkspaceInfoExFieldNumber;
  974. const int Dispatch_process_information::kCarTypeFieldNumber;
  975. const int Dispatch_process_information::kDispatchProcessStatusFieldNumber;
  976. const int Dispatch_process_information::kMWaitNumberFieldNumber;
  977. #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
  978. Dispatch_process_information::Dispatch_process_information()
  979. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  980. if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
  981. ::protobuf_dispatch_5fmessage_2eproto::InitDefaultsDispatch_process_information();
  982. }
  983. SharedCtor();
  984. // @@protoc_insertion_point(constructor:message.Dispatch_process_information)
  985. }
  986. Dispatch_process_information::Dispatch_process_information(const Dispatch_process_information& from)
  987. : ::google::protobuf::Message(),
  988. _internal_metadata_(NULL),
  989. _has_bits_(from._has_bits_),
  990. _cached_size_(0),
  991. parkspace_info_ex_(from.parkspace_info_ex_) {
  992. _internal_metadata_.MergeFrom(from._internal_metadata_);
  993. car_numberplate_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  994. if (from.has_car_numberplate()) {
  995. car_numberplate_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.car_numberplate_);
  996. }
  997. command_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  998. if (from.has_command_key()) {
  999. command_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.command_key_);
  1000. }
  1001. if (from.has_id_struct()) {
  1002. id_struct_ = new ::message::Id_struct(*from.id_struct_);
  1003. } else {
  1004. id_struct_ = NULL;
  1005. }
  1006. if (from.has_locate_information()) {
  1007. locate_information_ = new ::message::Locate_information(*from.locate_information_);
  1008. } else {
  1009. locate_information_ = NULL;
  1010. }
  1011. ::memcpy(&dispatch_motion_direction_, &from.dispatch_motion_direction_,
  1012. static_cast<size_t>(reinterpret_cast<char*>(&m_wait_number_) -
  1013. reinterpret_cast<char*>(&dispatch_motion_direction_)) + sizeof(m_wait_number_));
  1014. // @@protoc_insertion_point(copy_constructor:message.Dispatch_process_information)
  1015. }
  1016. void Dispatch_process_information::SharedCtor() {
  1017. _cached_size_ = 0;
  1018. car_numberplate_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1019. command_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1020. ::memset(&id_struct_, 0, static_cast<size_t>(
  1021. reinterpret_cast<char*>(&m_wait_number_) -
  1022. reinterpret_cast<char*>(&id_struct_)) + sizeof(m_wait_number_));
  1023. }
  1024. Dispatch_process_information::~Dispatch_process_information() {
  1025. // @@protoc_insertion_point(destructor:message.Dispatch_process_information)
  1026. SharedDtor();
  1027. }
  1028. void Dispatch_process_information::SharedDtor() {
  1029. car_numberplate_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1030. command_key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1031. if (this != internal_default_instance()) delete id_struct_;
  1032. if (this != internal_default_instance()) delete locate_information_;
  1033. }
  1034. void Dispatch_process_information::SetCachedSize(int size) const {
  1035. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1036. _cached_size_ = size;
  1037. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1038. }
  1039. const ::google::protobuf::Descriptor* Dispatch_process_information::descriptor() {
  1040. ::protobuf_dispatch_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  1041. return ::protobuf_dispatch_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
  1042. }
  1043. const Dispatch_process_information& Dispatch_process_information::default_instance() {
  1044. ::protobuf_dispatch_5fmessage_2eproto::InitDefaultsDispatch_process_information();
  1045. return *internal_default_instance();
  1046. }
  1047. Dispatch_process_information* Dispatch_process_information::New(::google::protobuf::Arena* arena) const {
  1048. Dispatch_process_information* n = new Dispatch_process_information;
  1049. if (arena != NULL) {
  1050. arena->Own(n);
  1051. }
  1052. return n;
  1053. }
  1054. void Dispatch_process_information::Clear() {
  1055. // @@protoc_insertion_point(message_clear_start:message.Dispatch_process_information)
  1056. ::google::protobuf::uint32 cached_has_bits = 0;
  1057. // Prevent compiler warnings about cached_has_bits being unused
  1058. (void) cached_has_bits;
  1059. parkspace_info_ex_.Clear();
  1060. cached_has_bits = _has_bits_[0];
  1061. if (cached_has_bits & 15u) {
  1062. if (cached_has_bits & 0x00000001u) {
  1063. GOOGLE_DCHECK(!car_numberplate_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
  1064. (*car_numberplate_.UnsafeRawStringPointer())->clear();
  1065. }
  1066. if (cached_has_bits & 0x00000002u) {
  1067. GOOGLE_DCHECK(!command_key_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
  1068. (*command_key_.UnsafeRawStringPointer())->clear();
  1069. }
  1070. if (cached_has_bits & 0x00000004u) {
  1071. GOOGLE_DCHECK(id_struct_ != NULL);
  1072. id_struct_->Clear();
  1073. }
  1074. if (cached_has_bits & 0x00000008u) {
  1075. GOOGLE_DCHECK(locate_information_ != NULL);
  1076. locate_information_->Clear();
  1077. }
  1078. }
  1079. if (cached_has_bits & 240u) {
  1080. ::memset(&dispatch_motion_direction_, 0, static_cast<size_t>(
  1081. reinterpret_cast<char*>(&m_wait_number_) -
  1082. reinterpret_cast<char*>(&dispatch_motion_direction_)) + sizeof(m_wait_number_));
  1083. }
  1084. _has_bits_.Clear();
  1085. _internal_metadata_.Clear();
  1086. }
  1087. bool Dispatch_process_information::MergePartialFromCodedStream(
  1088. ::google::protobuf::io::CodedInputStream* input) {
  1089. #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
  1090. ::google::protobuf::uint32 tag;
  1091. // @@protoc_insertion_point(parse_start:message.Dispatch_process_information)
  1092. for (;;) {
  1093. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
  1094. tag = p.first;
  1095. if (!p.second) goto handle_unusual;
  1096. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  1097. // optional string car_numberPlate = 1;
  1098. case 1: {
  1099. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1100. static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
  1101. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1102. input, this->mutable_car_numberplate()));
  1103. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  1104. this->car_numberplate().data(), static_cast<int>(this->car_numberplate().length()),
  1105. ::google::protobuf::internal::WireFormat::PARSE,
  1106. "message.Dispatch_process_information.car_numberPlate");
  1107. } else {
  1108. goto handle_unusual;
  1109. }
  1110. break;
  1111. }
  1112. // optional string command_key = 2;
  1113. case 2: {
  1114. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1115. static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
  1116. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1117. input, this->mutable_command_key()));
  1118. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  1119. this->command_key().data(), static_cast<int>(this->command_key().length()),
  1120. ::google::protobuf::internal::WireFormat::PARSE,
  1121. "message.Dispatch_process_information.command_key");
  1122. } else {
  1123. goto handle_unusual;
  1124. }
  1125. break;
  1126. }
  1127. // optional .message.Dispatch_motion_direction dispatch_motion_direction = 3;
  1128. case 3: {
  1129. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1130. static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
  1131. int value;
  1132. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1133. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  1134. input, &value)));
  1135. if (::message::Dispatch_motion_direction_IsValid(value)) {
  1136. set_dispatch_motion_direction(static_cast< ::message::Dispatch_motion_direction >(value));
  1137. } else {
  1138. mutable_unknown_fields()->AddVarint(
  1139. 3, static_cast< ::google::protobuf::uint64>(value));
  1140. }
  1141. } else {
  1142. goto handle_unusual;
  1143. }
  1144. break;
  1145. }
  1146. // optional .message.Id_struct id_struct = 4;
  1147. case 4: {
  1148. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1149. static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
  1150. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  1151. input, mutable_id_struct()));
  1152. } else {
  1153. goto handle_unusual;
  1154. }
  1155. break;
  1156. }
  1157. // optional .message.Locate_information locate_information = 5;
  1158. case 5: {
  1159. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1160. static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
  1161. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  1162. input, mutable_locate_information()));
  1163. } else {
  1164. goto handle_unusual;
  1165. }
  1166. break;
  1167. }
  1168. // repeated .message.Parkspace_info parkspace_info_ex = 6;
  1169. case 6: {
  1170. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1171. static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) {
  1172. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_parkspace_info_ex()));
  1173. } else {
  1174. goto handle_unusual;
  1175. }
  1176. break;
  1177. }
  1178. // optional .message.Car_type car_type = 7;
  1179. case 7: {
  1180. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1181. static_cast< ::google::protobuf::uint8>(56u /* 56 & 0xFF */)) {
  1182. int value;
  1183. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1184. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  1185. input, &value)));
  1186. if (::message::Car_type_IsValid(value)) {
  1187. set_car_type(static_cast< ::message::Car_type >(value));
  1188. } else {
  1189. mutable_unknown_fields()->AddVarint(
  1190. 7, static_cast< ::google::protobuf::uint64>(value));
  1191. }
  1192. } else {
  1193. goto handle_unusual;
  1194. }
  1195. break;
  1196. }
  1197. // optional .message.Dispatch_process_status dispatch_process_status = 8;
  1198. case 8: {
  1199. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1200. static_cast< ::google::protobuf::uint8>(64u /* 64 & 0xFF */)) {
  1201. int value;
  1202. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1203. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  1204. input, &value)));
  1205. if (::message::Dispatch_process_status_IsValid(value)) {
  1206. set_dispatch_process_status(static_cast< ::message::Dispatch_process_status >(value));
  1207. } else {
  1208. mutable_unknown_fields()->AddVarint(
  1209. 8, static_cast< ::google::protobuf::uint64>(value));
  1210. }
  1211. } else {
  1212. goto handle_unusual;
  1213. }
  1214. break;
  1215. }
  1216. // optional int32 m_wait_number = 9;
  1217. case 9: {
  1218. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1219. static_cast< ::google::protobuf::uint8>(72u /* 72 & 0xFF */)) {
  1220. set_has_m_wait_number();
  1221. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1222. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1223. input, &m_wait_number_)));
  1224. } else {
  1225. goto handle_unusual;
  1226. }
  1227. break;
  1228. }
  1229. default: {
  1230. handle_unusual:
  1231. if (tag == 0) {
  1232. goto success;
  1233. }
  1234. DO_(::google::protobuf::internal::WireFormat::SkipField(
  1235. input, tag, _internal_metadata_.mutable_unknown_fields()));
  1236. break;
  1237. }
  1238. }
  1239. }
  1240. success:
  1241. // @@protoc_insertion_point(parse_success:message.Dispatch_process_information)
  1242. return true;
  1243. failure:
  1244. // @@protoc_insertion_point(parse_failure:message.Dispatch_process_information)
  1245. return false;
  1246. #undef DO_
  1247. }
  1248. void Dispatch_process_information::SerializeWithCachedSizes(
  1249. ::google::protobuf::io::CodedOutputStream* output) const {
  1250. // @@protoc_insertion_point(serialize_start:message.Dispatch_process_information)
  1251. ::google::protobuf::uint32 cached_has_bits = 0;
  1252. (void) cached_has_bits;
  1253. cached_has_bits = _has_bits_[0];
  1254. // optional string car_numberPlate = 1;
  1255. if (cached_has_bits & 0x00000001u) {
  1256. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  1257. this->car_numberplate().data(), static_cast<int>(this->car_numberplate().length()),
  1258. ::google::protobuf::internal::WireFormat::SERIALIZE,
  1259. "message.Dispatch_process_information.car_numberPlate");
  1260. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  1261. 1, this->car_numberplate(), output);
  1262. }
  1263. // optional string command_key = 2;
  1264. if (cached_has_bits & 0x00000002u) {
  1265. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  1266. this->command_key().data(), static_cast<int>(this->command_key().length()),
  1267. ::google::protobuf::internal::WireFormat::SERIALIZE,
  1268. "message.Dispatch_process_information.command_key");
  1269. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  1270. 2, this->command_key(), output);
  1271. }
  1272. // optional .message.Dispatch_motion_direction dispatch_motion_direction = 3;
  1273. if (cached_has_bits & 0x00000010u) {
  1274. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  1275. 3, this->dispatch_motion_direction(), output);
  1276. }
  1277. // optional .message.Id_struct id_struct = 4;
  1278. if (cached_has_bits & 0x00000004u) {
  1279. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  1280. 4, *this->id_struct_, output);
  1281. }
  1282. // optional .message.Locate_information locate_information = 5;
  1283. if (cached_has_bits & 0x00000008u) {
  1284. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  1285. 5, *this->locate_information_, output);
  1286. }
  1287. // repeated .message.Parkspace_info parkspace_info_ex = 6;
  1288. for (unsigned int i = 0,
  1289. n = static_cast<unsigned int>(this->parkspace_info_ex_size()); i < n; i++) {
  1290. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  1291. 6, this->parkspace_info_ex(static_cast<int>(i)), output);
  1292. }
  1293. // optional .message.Car_type car_type = 7;
  1294. if (cached_has_bits & 0x00000020u) {
  1295. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  1296. 7, this->car_type(), output);
  1297. }
  1298. // optional .message.Dispatch_process_status dispatch_process_status = 8;
  1299. if (cached_has_bits & 0x00000040u) {
  1300. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  1301. 8, this->dispatch_process_status(), output);
  1302. }
  1303. // optional int32 m_wait_number = 9;
  1304. if (cached_has_bits & 0x00000080u) {
  1305. ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->m_wait_number(), output);
  1306. }
  1307. if (_internal_metadata_.have_unknown_fields()) {
  1308. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  1309. _internal_metadata_.unknown_fields(), output);
  1310. }
  1311. // @@protoc_insertion_point(serialize_end:message.Dispatch_process_information)
  1312. }
  1313. ::google::protobuf::uint8* Dispatch_process_information::InternalSerializeWithCachedSizesToArray(
  1314. bool deterministic, ::google::protobuf::uint8* target) const {
  1315. (void)deterministic; // Unused
  1316. // @@protoc_insertion_point(serialize_to_array_start:message.Dispatch_process_information)
  1317. ::google::protobuf::uint32 cached_has_bits = 0;
  1318. (void) cached_has_bits;
  1319. cached_has_bits = _has_bits_[0];
  1320. // optional string car_numberPlate = 1;
  1321. if (cached_has_bits & 0x00000001u) {
  1322. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  1323. this->car_numberplate().data(), static_cast<int>(this->car_numberplate().length()),
  1324. ::google::protobuf::internal::WireFormat::SERIALIZE,
  1325. "message.Dispatch_process_information.car_numberPlate");
  1326. target =
  1327. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  1328. 1, this->car_numberplate(), target);
  1329. }
  1330. // optional string command_key = 2;
  1331. if (cached_has_bits & 0x00000002u) {
  1332. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  1333. this->command_key().data(), static_cast<int>(this->command_key().length()),
  1334. ::google::protobuf::internal::WireFormat::SERIALIZE,
  1335. "message.Dispatch_process_information.command_key");
  1336. target =
  1337. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  1338. 2, this->command_key(), target);
  1339. }
  1340. // optional .message.Dispatch_motion_direction dispatch_motion_direction = 3;
  1341. if (cached_has_bits & 0x00000010u) {
  1342. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  1343. 3, this->dispatch_motion_direction(), target);
  1344. }
  1345. // optional .message.Id_struct id_struct = 4;
  1346. if (cached_has_bits & 0x00000004u) {
  1347. target = ::google::protobuf::internal::WireFormatLite::
  1348. InternalWriteMessageToArray(
  1349. 4, *this->id_struct_, deterministic, target);
  1350. }
  1351. // optional .message.Locate_information locate_information = 5;
  1352. if (cached_has_bits & 0x00000008u) {
  1353. target = ::google::protobuf::internal::WireFormatLite::
  1354. InternalWriteMessageToArray(
  1355. 5, *this->locate_information_, deterministic, target);
  1356. }
  1357. // repeated .message.Parkspace_info parkspace_info_ex = 6;
  1358. for (unsigned int i = 0,
  1359. n = static_cast<unsigned int>(this->parkspace_info_ex_size()); i < n; i++) {
  1360. target = ::google::protobuf::internal::WireFormatLite::
  1361. InternalWriteMessageToArray(
  1362. 6, this->parkspace_info_ex(static_cast<int>(i)), deterministic, target);
  1363. }
  1364. // optional .message.Car_type car_type = 7;
  1365. if (cached_has_bits & 0x00000020u) {
  1366. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  1367. 7, this->car_type(), target);
  1368. }
  1369. // optional .message.Dispatch_process_status dispatch_process_status = 8;
  1370. if (cached_has_bits & 0x00000040u) {
  1371. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  1372. 8, this->dispatch_process_status(), target);
  1373. }
  1374. // optional int32 m_wait_number = 9;
  1375. if (cached_has_bits & 0x00000080u) {
  1376. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->m_wait_number(), target);
  1377. }
  1378. if (_internal_metadata_.have_unknown_fields()) {
  1379. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  1380. _internal_metadata_.unknown_fields(), target);
  1381. }
  1382. // @@protoc_insertion_point(serialize_to_array_end:message.Dispatch_process_information)
  1383. return target;
  1384. }
  1385. size_t Dispatch_process_information::ByteSizeLong() const {
  1386. // @@protoc_insertion_point(message_byte_size_start:message.Dispatch_process_information)
  1387. size_t total_size = 0;
  1388. if (_internal_metadata_.have_unknown_fields()) {
  1389. total_size +=
  1390. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  1391. _internal_metadata_.unknown_fields());
  1392. }
  1393. // repeated .message.Parkspace_info parkspace_info_ex = 6;
  1394. {
  1395. unsigned int count = static_cast<unsigned int>(this->parkspace_info_ex_size());
  1396. total_size += 1UL * count;
  1397. for (unsigned int i = 0; i < count; i++) {
  1398. total_size +=
  1399. ::google::protobuf::internal::WireFormatLite::MessageSize(
  1400. this->parkspace_info_ex(static_cast<int>(i)));
  1401. }
  1402. }
  1403. if (_has_bits_[0 / 32] & 255u) {
  1404. // optional string car_numberPlate = 1;
  1405. if (has_car_numberplate()) {
  1406. total_size += 1 +
  1407. ::google::protobuf::internal::WireFormatLite::StringSize(
  1408. this->car_numberplate());
  1409. }
  1410. // optional string command_key = 2;
  1411. if (has_command_key()) {
  1412. total_size += 1 +
  1413. ::google::protobuf::internal::WireFormatLite::StringSize(
  1414. this->command_key());
  1415. }
  1416. // optional .message.Id_struct id_struct = 4;
  1417. if (has_id_struct()) {
  1418. total_size += 1 +
  1419. ::google::protobuf::internal::WireFormatLite::MessageSize(
  1420. *this->id_struct_);
  1421. }
  1422. // optional .message.Locate_information locate_information = 5;
  1423. if (has_locate_information()) {
  1424. total_size += 1 +
  1425. ::google::protobuf::internal::WireFormatLite::MessageSize(
  1426. *this->locate_information_);
  1427. }
  1428. // optional .message.Dispatch_motion_direction dispatch_motion_direction = 3;
  1429. if (has_dispatch_motion_direction()) {
  1430. total_size += 1 +
  1431. ::google::protobuf::internal::WireFormatLite::EnumSize(this->dispatch_motion_direction());
  1432. }
  1433. // optional .message.Car_type car_type = 7;
  1434. if (has_car_type()) {
  1435. total_size += 1 +
  1436. ::google::protobuf::internal::WireFormatLite::EnumSize(this->car_type());
  1437. }
  1438. // optional .message.Dispatch_process_status dispatch_process_status = 8;
  1439. if (has_dispatch_process_status()) {
  1440. total_size += 1 +
  1441. ::google::protobuf::internal::WireFormatLite::EnumSize(this->dispatch_process_status());
  1442. }
  1443. // optional int32 m_wait_number = 9;
  1444. if (has_m_wait_number()) {
  1445. total_size += 1 +
  1446. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1447. this->m_wait_number());
  1448. }
  1449. }
  1450. int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
  1451. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1452. _cached_size_ = cached_size;
  1453. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1454. return total_size;
  1455. }
  1456. void Dispatch_process_information::MergeFrom(const ::google::protobuf::Message& from) {
  1457. // @@protoc_insertion_point(generalized_merge_from_start:message.Dispatch_process_information)
  1458. GOOGLE_DCHECK_NE(&from, this);
  1459. const Dispatch_process_information* source =
  1460. ::google::protobuf::internal::DynamicCastToGenerated<const Dispatch_process_information>(
  1461. &from);
  1462. if (source == NULL) {
  1463. // @@protoc_insertion_point(generalized_merge_from_cast_fail:message.Dispatch_process_information)
  1464. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  1465. } else {
  1466. // @@protoc_insertion_point(generalized_merge_from_cast_success:message.Dispatch_process_information)
  1467. MergeFrom(*source);
  1468. }
  1469. }
  1470. void Dispatch_process_information::MergeFrom(const Dispatch_process_information& from) {
  1471. // @@protoc_insertion_point(class_specific_merge_from_start:message.Dispatch_process_information)
  1472. GOOGLE_DCHECK_NE(&from, this);
  1473. _internal_metadata_.MergeFrom(from._internal_metadata_);
  1474. ::google::protobuf::uint32 cached_has_bits = 0;
  1475. (void) cached_has_bits;
  1476. parkspace_info_ex_.MergeFrom(from.parkspace_info_ex_);
  1477. cached_has_bits = from._has_bits_[0];
  1478. if (cached_has_bits & 255u) {
  1479. if (cached_has_bits & 0x00000001u) {
  1480. set_has_car_numberplate();
  1481. car_numberplate_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.car_numberplate_);
  1482. }
  1483. if (cached_has_bits & 0x00000002u) {
  1484. set_has_command_key();
  1485. command_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.command_key_);
  1486. }
  1487. if (cached_has_bits & 0x00000004u) {
  1488. mutable_id_struct()->::message::Id_struct::MergeFrom(from.id_struct());
  1489. }
  1490. if (cached_has_bits & 0x00000008u) {
  1491. mutable_locate_information()->::message::Locate_information::MergeFrom(from.locate_information());
  1492. }
  1493. if (cached_has_bits & 0x00000010u) {
  1494. dispatch_motion_direction_ = from.dispatch_motion_direction_;
  1495. }
  1496. if (cached_has_bits & 0x00000020u) {
  1497. car_type_ = from.car_type_;
  1498. }
  1499. if (cached_has_bits & 0x00000040u) {
  1500. dispatch_process_status_ = from.dispatch_process_status_;
  1501. }
  1502. if (cached_has_bits & 0x00000080u) {
  1503. m_wait_number_ = from.m_wait_number_;
  1504. }
  1505. _has_bits_[0] |= cached_has_bits;
  1506. }
  1507. }
  1508. void Dispatch_process_information::CopyFrom(const ::google::protobuf::Message& from) {
  1509. // @@protoc_insertion_point(generalized_copy_from_start:message.Dispatch_process_information)
  1510. if (&from == this) return;
  1511. Clear();
  1512. MergeFrom(from);
  1513. }
  1514. void Dispatch_process_information::CopyFrom(const Dispatch_process_information& from) {
  1515. // @@protoc_insertion_point(class_specific_copy_from_start:message.Dispatch_process_information)
  1516. if (&from == this) return;
  1517. Clear();
  1518. MergeFrom(from);
  1519. }
  1520. bool Dispatch_process_information::IsInitialized() const {
  1521. return true;
  1522. }
  1523. void Dispatch_process_information::Swap(Dispatch_process_information* other) {
  1524. if (other == this) return;
  1525. InternalSwap(other);
  1526. }
  1527. void Dispatch_process_information::InternalSwap(Dispatch_process_information* other) {
  1528. using std::swap;
  1529. parkspace_info_ex_.InternalSwap(&other->parkspace_info_ex_);
  1530. car_numberplate_.Swap(&other->car_numberplate_);
  1531. command_key_.Swap(&other->command_key_);
  1532. swap(id_struct_, other->id_struct_);
  1533. swap(locate_information_, other->locate_information_);
  1534. swap(dispatch_motion_direction_, other->dispatch_motion_direction_);
  1535. swap(car_type_, other->car_type_);
  1536. swap(dispatch_process_status_, other->dispatch_process_status_);
  1537. swap(m_wait_number_, other->m_wait_number_);
  1538. swap(_has_bits_[0], other->_has_bits_[0]);
  1539. _internal_metadata_.Swap(&other->_internal_metadata_);
  1540. swap(_cached_size_, other->_cached_size_);
  1541. }
  1542. ::google::protobuf::Metadata Dispatch_process_information::GetMetadata() const {
  1543. protobuf_dispatch_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  1544. return ::protobuf_dispatch_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages];
  1545. }
  1546. // ===================================================================
  1547. void Dispatch_terminal_status_msg::InitAsDefaultInstance() {
  1548. ::message::_Dispatch_terminal_status_msg_default_instance_._instance.get_mutable()->base_info_ = const_cast< ::message::Base_info*>(
  1549. ::message::Base_info::internal_default_instance());
  1550. ::message::_Dispatch_terminal_status_msg_default_instance_._instance.get_mutable()->id_struct_ = const_cast< ::message::Id_struct*>(
  1551. ::message::Id_struct::internal_default_instance());
  1552. }
  1553. void Dispatch_terminal_status_msg::clear_base_info() {
  1554. if (base_info_ != NULL) base_info_->Clear();
  1555. clear_has_base_info();
  1556. }
  1557. void Dispatch_terminal_status_msg::clear_id_struct() {
  1558. if (id_struct_ != NULL) id_struct_->Clear();
  1559. clear_has_id_struct();
  1560. }
  1561. #if !defined(_MSC_VER) || _MSC_VER >= 1900
  1562. const int Dispatch_terminal_status_msg::kBaseInfoFieldNumber;
  1563. const int Dispatch_terminal_status_msg::kIdStructFieldNumber;
  1564. const int Dispatch_terminal_status_msg::kTerminalStatusFieldNumber;
  1565. const int Dispatch_terminal_status_msg::kPassagewayDirectionFieldNumber;
  1566. const int Dispatch_terminal_status_msg::kDispatchStoreProcessInformationVectorFieldNumber;
  1567. const int Dispatch_terminal_status_msg::kDispatchStoreProcessInformationUpdataTimeFieldNumber;
  1568. const int Dispatch_terminal_status_msg::kDispatchPickupProcessInformationVectorFieldNumber;
  1569. const int Dispatch_terminal_status_msg::kDispatchPickupProcessInformationUpdataTimeFieldNumber;
  1570. #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
  1571. Dispatch_terminal_status_msg::Dispatch_terminal_status_msg()
  1572. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  1573. if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
  1574. ::protobuf_dispatch_5fmessage_2eproto::InitDefaultsDispatch_terminal_status_msg();
  1575. }
  1576. SharedCtor();
  1577. // @@protoc_insertion_point(constructor:message.Dispatch_terminal_status_msg)
  1578. }
  1579. Dispatch_terminal_status_msg::Dispatch_terminal_status_msg(const Dispatch_terminal_status_msg& from)
  1580. : ::google::protobuf::Message(),
  1581. _internal_metadata_(NULL),
  1582. _has_bits_(from._has_bits_),
  1583. _cached_size_(0),
  1584. dispatch_store_process_information_vector_(from.dispatch_store_process_information_vector_),
  1585. dispatch_pickup_process_information_vector_(from.dispatch_pickup_process_information_vector_) {
  1586. _internal_metadata_.MergeFrom(from._internal_metadata_);
  1587. dispatch_store_process_information_updata_time_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1588. if (from.has_dispatch_store_process_information_updata_time()) {
  1589. dispatch_store_process_information_updata_time_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.dispatch_store_process_information_updata_time_);
  1590. }
  1591. dispatch_pickup_process_information_updata_time_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1592. if (from.has_dispatch_pickup_process_information_updata_time()) {
  1593. dispatch_pickup_process_information_updata_time_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.dispatch_pickup_process_information_updata_time_);
  1594. }
  1595. if (from.has_base_info()) {
  1596. base_info_ = new ::message::Base_info(*from.base_info_);
  1597. } else {
  1598. base_info_ = NULL;
  1599. }
  1600. if (from.has_id_struct()) {
  1601. id_struct_ = new ::message::Id_struct(*from.id_struct_);
  1602. } else {
  1603. id_struct_ = NULL;
  1604. }
  1605. ::memcpy(&terminal_status_, &from.terminal_status_,
  1606. static_cast<size_t>(reinterpret_cast<char*>(&passageway_direction_) -
  1607. reinterpret_cast<char*>(&terminal_status_)) + sizeof(passageway_direction_));
  1608. // @@protoc_insertion_point(copy_constructor:message.Dispatch_terminal_status_msg)
  1609. }
  1610. void Dispatch_terminal_status_msg::SharedCtor() {
  1611. _cached_size_ = 0;
  1612. dispatch_store_process_information_updata_time_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1613. dispatch_pickup_process_information_updata_time_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1614. ::memset(&base_info_, 0, static_cast<size_t>(
  1615. reinterpret_cast<char*>(&passageway_direction_) -
  1616. reinterpret_cast<char*>(&base_info_)) + sizeof(passageway_direction_));
  1617. }
  1618. Dispatch_terminal_status_msg::~Dispatch_terminal_status_msg() {
  1619. // @@protoc_insertion_point(destructor:message.Dispatch_terminal_status_msg)
  1620. SharedDtor();
  1621. }
  1622. void Dispatch_terminal_status_msg::SharedDtor() {
  1623. dispatch_store_process_information_updata_time_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1624. dispatch_pickup_process_information_updata_time_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1625. if (this != internal_default_instance()) delete base_info_;
  1626. if (this != internal_default_instance()) delete id_struct_;
  1627. }
  1628. void Dispatch_terminal_status_msg::SetCachedSize(int size) const {
  1629. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1630. _cached_size_ = size;
  1631. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1632. }
  1633. const ::google::protobuf::Descriptor* Dispatch_terminal_status_msg::descriptor() {
  1634. ::protobuf_dispatch_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  1635. return ::protobuf_dispatch_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
  1636. }
  1637. const Dispatch_terminal_status_msg& Dispatch_terminal_status_msg::default_instance() {
  1638. ::protobuf_dispatch_5fmessage_2eproto::InitDefaultsDispatch_terminal_status_msg();
  1639. return *internal_default_instance();
  1640. }
  1641. Dispatch_terminal_status_msg* Dispatch_terminal_status_msg::New(::google::protobuf::Arena* arena) const {
  1642. Dispatch_terminal_status_msg* n = new Dispatch_terminal_status_msg;
  1643. if (arena != NULL) {
  1644. arena->Own(n);
  1645. }
  1646. return n;
  1647. }
  1648. void Dispatch_terminal_status_msg::Clear() {
  1649. // @@protoc_insertion_point(message_clear_start:message.Dispatch_terminal_status_msg)
  1650. ::google::protobuf::uint32 cached_has_bits = 0;
  1651. // Prevent compiler warnings about cached_has_bits being unused
  1652. (void) cached_has_bits;
  1653. dispatch_store_process_information_vector_.Clear();
  1654. dispatch_pickup_process_information_vector_.Clear();
  1655. cached_has_bits = _has_bits_[0];
  1656. if (cached_has_bits & 15u) {
  1657. if (cached_has_bits & 0x00000001u) {
  1658. GOOGLE_DCHECK(!dispatch_store_process_information_updata_time_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
  1659. (*dispatch_store_process_information_updata_time_.UnsafeRawStringPointer())->clear();
  1660. }
  1661. if (cached_has_bits & 0x00000002u) {
  1662. GOOGLE_DCHECK(!dispatch_pickup_process_information_updata_time_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
  1663. (*dispatch_pickup_process_information_updata_time_.UnsafeRawStringPointer())->clear();
  1664. }
  1665. if (cached_has_bits & 0x00000004u) {
  1666. GOOGLE_DCHECK(base_info_ != NULL);
  1667. base_info_->Clear();
  1668. }
  1669. if (cached_has_bits & 0x00000008u) {
  1670. GOOGLE_DCHECK(id_struct_ != NULL);
  1671. id_struct_->Clear();
  1672. }
  1673. }
  1674. if (cached_has_bits & 48u) {
  1675. ::memset(&terminal_status_, 0, static_cast<size_t>(
  1676. reinterpret_cast<char*>(&passageway_direction_) -
  1677. reinterpret_cast<char*>(&terminal_status_)) + sizeof(passageway_direction_));
  1678. }
  1679. _has_bits_.Clear();
  1680. _internal_metadata_.Clear();
  1681. }
  1682. bool Dispatch_terminal_status_msg::MergePartialFromCodedStream(
  1683. ::google::protobuf::io::CodedInputStream* input) {
  1684. #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
  1685. ::google::protobuf::uint32 tag;
  1686. // @@protoc_insertion_point(parse_start:message.Dispatch_terminal_status_msg)
  1687. for (;;) {
  1688. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
  1689. tag = p.first;
  1690. if (!p.second) goto handle_unusual;
  1691. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  1692. // required .message.Base_info base_info = 1;
  1693. case 1: {
  1694. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1695. static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
  1696. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  1697. input, mutable_base_info()));
  1698. } else {
  1699. goto handle_unusual;
  1700. }
  1701. break;
  1702. }
  1703. // optional .message.Id_struct id_struct = 2;
  1704. case 2: {
  1705. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1706. static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
  1707. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  1708. input, mutable_id_struct()));
  1709. } else {
  1710. goto handle_unusual;
  1711. }
  1712. break;
  1713. }
  1714. // required .message.Terminal_status terminal_status = 3;
  1715. case 3: {
  1716. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1717. static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
  1718. int value;
  1719. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1720. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  1721. input, &value)));
  1722. if (::message::Terminal_status_IsValid(value)) {
  1723. set_terminal_status(static_cast< ::message::Terminal_status >(value));
  1724. } else {
  1725. mutable_unknown_fields()->AddVarint(
  1726. 3, static_cast< ::google::protobuf::uint64>(value));
  1727. }
  1728. } else {
  1729. goto handle_unusual;
  1730. }
  1731. break;
  1732. }
  1733. // required .message.Passageway_direction passageway_direction = 4;
  1734. case 4: {
  1735. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1736. static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
  1737. int value;
  1738. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1739. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  1740. input, &value)));
  1741. if (::message::Passageway_direction_IsValid(value)) {
  1742. set_passageway_direction(static_cast< ::message::Passageway_direction >(value));
  1743. } else {
  1744. mutable_unknown_fields()->AddVarint(
  1745. 4, static_cast< ::google::protobuf::uint64>(value));
  1746. }
  1747. } else {
  1748. goto handle_unusual;
  1749. }
  1750. break;
  1751. }
  1752. // repeated .message.Dispatch_process_information dispatch_store_process_information_vector = 5;
  1753. case 5: {
  1754. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1755. static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
  1756. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_dispatch_store_process_information_vector()));
  1757. } else {
  1758. goto handle_unusual;
  1759. }
  1760. break;
  1761. }
  1762. // optional string dispatch_store_process_information_updata_time = 6;
  1763. case 6: {
  1764. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1765. static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) {
  1766. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1767. input, this->mutable_dispatch_store_process_information_updata_time()));
  1768. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  1769. this->dispatch_store_process_information_updata_time().data(), static_cast<int>(this->dispatch_store_process_information_updata_time().length()),
  1770. ::google::protobuf::internal::WireFormat::PARSE,
  1771. "message.Dispatch_terminal_status_msg.dispatch_store_process_information_updata_time");
  1772. } else {
  1773. goto handle_unusual;
  1774. }
  1775. break;
  1776. }
  1777. // repeated .message.Dispatch_process_information dispatch_pickup_process_information_vector = 7;
  1778. case 7: {
  1779. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1780. static_cast< ::google::protobuf::uint8>(58u /* 58 & 0xFF */)) {
  1781. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_dispatch_pickup_process_information_vector()));
  1782. } else {
  1783. goto handle_unusual;
  1784. }
  1785. break;
  1786. }
  1787. // optional string dispatch_pickup_process_information_updata_time = 8;
  1788. case 8: {
  1789. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1790. static_cast< ::google::protobuf::uint8>(66u /* 66 & 0xFF */)) {
  1791. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1792. input, this->mutable_dispatch_pickup_process_information_updata_time()));
  1793. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  1794. this->dispatch_pickup_process_information_updata_time().data(), static_cast<int>(this->dispatch_pickup_process_information_updata_time().length()),
  1795. ::google::protobuf::internal::WireFormat::PARSE,
  1796. "message.Dispatch_terminal_status_msg.dispatch_pickup_process_information_updata_time");
  1797. } else {
  1798. goto handle_unusual;
  1799. }
  1800. break;
  1801. }
  1802. default: {
  1803. handle_unusual:
  1804. if (tag == 0) {
  1805. goto success;
  1806. }
  1807. DO_(::google::protobuf::internal::WireFormat::SkipField(
  1808. input, tag, _internal_metadata_.mutable_unknown_fields()));
  1809. break;
  1810. }
  1811. }
  1812. }
  1813. success:
  1814. // @@protoc_insertion_point(parse_success:message.Dispatch_terminal_status_msg)
  1815. return true;
  1816. failure:
  1817. // @@protoc_insertion_point(parse_failure:message.Dispatch_terminal_status_msg)
  1818. return false;
  1819. #undef DO_
  1820. }
  1821. void Dispatch_terminal_status_msg::SerializeWithCachedSizes(
  1822. ::google::protobuf::io::CodedOutputStream* output) const {
  1823. // @@protoc_insertion_point(serialize_start:message.Dispatch_terminal_status_msg)
  1824. ::google::protobuf::uint32 cached_has_bits = 0;
  1825. (void) cached_has_bits;
  1826. cached_has_bits = _has_bits_[0];
  1827. // required .message.Base_info base_info = 1;
  1828. if (cached_has_bits & 0x00000004u) {
  1829. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  1830. 1, *this->base_info_, output);
  1831. }
  1832. // optional .message.Id_struct id_struct = 2;
  1833. if (cached_has_bits & 0x00000008u) {
  1834. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  1835. 2, *this->id_struct_, output);
  1836. }
  1837. // required .message.Terminal_status terminal_status = 3;
  1838. if (cached_has_bits & 0x00000010u) {
  1839. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  1840. 3, this->terminal_status(), output);
  1841. }
  1842. // required .message.Passageway_direction passageway_direction = 4;
  1843. if (cached_has_bits & 0x00000020u) {
  1844. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  1845. 4, this->passageway_direction(), output);
  1846. }
  1847. // repeated .message.Dispatch_process_information dispatch_store_process_information_vector = 5;
  1848. for (unsigned int i = 0,
  1849. n = static_cast<unsigned int>(this->dispatch_store_process_information_vector_size()); i < n; i++) {
  1850. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  1851. 5, this->dispatch_store_process_information_vector(static_cast<int>(i)), output);
  1852. }
  1853. // optional string dispatch_store_process_information_updata_time = 6;
  1854. if (cached_has_bits & 0x00000001u) {
  1855. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  1856. this->dispatch_store_process_information_updata_time().data(), static_cast<int>(this->dispatch_store_process_information_updata_time().length()),
  1857. ::google::protobuf::internal::WireFormat::SERIALIZE,
  1858. "message.Dispatch_terminal_status_msg.dispatch_store_process_information_updata_time");
  1859. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  1860. 6, this->dispatch_store_process_information_updata_time(), output);
  1861. }
  1862. // repeated .message.Dispatch_process_information dispatch_pickup_process_information_vector = 7;
  1863. for (unsigned int i = 0,
  1864. n = static_cast<unsigned int>(this->dispatch_pickup_process_information_vector_size()); i < n; i++) {
  1865. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  1866. 7, this->dispatch_pickup_process_information_vector(static_cast<int>(i)), output);
  1867. }
  1868. // optional string dispatch_pickup_process_information_updata_time = 8;
  1869. if (cached_has_bits & 0x00000002u) {
  1870. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  1871. this->dispatch_pickup_process_information_updata_time().data(), static_cast<int>(this->dispatch_pickup_process_information_updata_time().length()),
  1872. ::google::protobuf::internal::WireFormat::SERIALIZE,
  1873. "message.Dispatch_terminal_status_msg.dispatch_pickup_process_information_updata_time");
  1874. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  1875. 8, this->dispatch_pickup_process_information_updata_time(), output);
  1876. }
  1877. if (_internal_metadata_.have_unknown_fields()) {
  1878. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  1879. _internal_metadata_.unknown_fields(), output);
  1880. }
  1881. // @@protoc_insertion_point(serialize_end:message.Dispatch_terminal_status_msg)
  1882. }
  1883. ::google::protobuf::uint8* Dispatch_terminal_status_msg::InternalSerializeWithCachedSizesToArray(
  1884. bool deterministic, ::google::protobuf::uint8* target) const {
  1885. (void)deterministic; // Unused
  1886. // @@protoc_insertion_point(serialize_to_array_start:message.Dispatch_terminal_status_msg)
  1887. ::google::protobuf::uint32 cached_has_bits = 0;
  1888. (void) cached_has_bits;
  1889. cached_has_bits = _has_bits_[0];
  1890. // required .message.Base_info base_info = 1;
  1891. if (cached_has_bits & 0x00000004u) {
  1892. target = ::google::protobuf::internal::WireFormatLite::
  1893. InternalWriteMessageToArray(
  1894. 1, *this->base_info_, deterministic, target);
  1895. }
  1896. // optional .message.Id_struct id_struct = 2;
  1897. if (cached_has_bits & 0x00000008u) {
  1898. target = ::google::protobuf::internal::WireFormatLite::
  1899. InternalWriteMessageToArray(
  1900. 2, *this->id_struct_, deterministic, target);
  1901. }
  1902. // required .message.Terminal_status terminal_status = 3;
  1903. if (cached_has_bits & 0x00000010u) {
  1904. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  1905. 3, this->terminal_status(), target);
  1906. }
  1907. // required .message.Passageway_direction passageway_direction = 4;
  1908. if (cached_has_bits & 0x00000020u) {
  1909. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  1910. 4, this->passageway_direction(), target);
  1911. }
  1912. // repeated .message.Dispatch_process_information dispatch_store_process_information_vector = 5;
  1913. for (unsigned int i = 0,
  1914. n = static_cast<unsigned int>(this->dispatch_store_process_information_vector_size()); i < n; i++) {
  1915. target = ::google::protobuf::internal::WireFormatLite::
  1916. InternalWriteMessageToArray(
  1917. 5, this->dispatch_store_process_information_vector(static_cast<int>(i)), deterministic, target);
  1918. }
  1919. // optional string dispatch_store_process_information_updata_time = 6;
  1920. if (cached_has_bits & 0x00000001u) {
  1921. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  1922. this->dispatch_store_process_information_updata_time().data(), static_cast<int>(this->dispatch_store_process_information_updata_time().length()),
  1923. ::google::protobuf::internal::WireFormat::SERIALIZE,
  1924. "message.Dispatch_terminal_status_msg.dispatch_store_process_information_updata_time");
  1925. target =
  1926. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  1927. 6, this->dispatch_store_process_information_updata_time(), target);
  1928. }
  1929. // repeated .message.Dispatch_process_information dispatch_pickup_process_information_vector = 7;
  1930. for (unsigned int i = 0,
  1931. n = static_cast<unsigned int>(this->dispatch_pickup_process_information_vector_size()); i < n; i++) {
  1932. target = ::google::protobuf::internal::WireFormatLite::
  1933. InternalWriteMessageToArray(
  1934. 7, this->dispatch_pickup_process_information_vector(static_cast<int>(i)), deterministic, target);
  1935. }
  1936. // optional string dispatch_pickup_process_information_updata_time = 8;
  1937. if (cached_has_bits & 0x00000002u) {
  1938. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  1939. this->dispatch_pickup_process_information_updata_time().data(), static_cast<int>(this->dispatch_pickup_process_information_updata_time().length()),
  1940. ::google::protobuf::internal::WireFormat::SERIALIZE,
  1941. "message.Dispatch_terminal_status_msg.dispatch_pickup_process_information_updata_time");
  1942. target =
  1943. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  1944. 8, this->dispatch_pickup_process_information_updata_time(), target);
  1945. }
  1946. if (_internal_metadata_.have_unknown_fields()) {
  1947. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  1948. _internal_metadata_.unknown_fields(), target);
  1949. }
  1950. // @@protoc_insertion_point(serialize_to_array_end:message.Dispatch_terminal_status_msg)
  1951. return target;
  1952. }
  1953. size_t Dispatch_terminal_status_msg::RequiredFieldsByteSizeFallback() const {
  1954. // @@protoc_insertion_point(required_fields_byte_size_fallback_start:message.Dispatch_terminal_status_msg)
  1955. size_t total_size = 0;
  1956. if (has_base_info()) {
  1957. // required .message.Base_info base_info = 1;
  1958. total_size += 1 +
  1959. ::google::protobuf::internal::WireFormatLite::MessageSize(
  1960. *this->base_info_);
  1961. }
  1962. if (has_terminal_status()) {
  1963. // required .message.Terminal_status terminal_status = 3;
  1964. total_size += 1 +
  1965. ::google::protobuf::internal::WireFormatLite::EnumSize(this->terminal_status());
  1966. }
  1967. if (has_passageway_direction()) {
  1968. // required .message.Passageway_direction passageway_direction = 4;
  1969. total_size += 1 +
  1970. ::google::protobuf::internal::WireFormatLite::EnumSize(this->passageway_direction());
  1971. }
  1972. return total_size;
  1973. }
  1974. size_t Dispatch_terminal_status_msg::ByteSizeLong() const {
  1975. // @@protoc_insertion_point(message_byte_size_start:message.Dispatch_terminal_status_msg)
  1976. size_t total_size = 0;
  1977. if (_internal_metadata_.have_unknown_fields()) {
  1978. total_size +=
  1979. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  1980. _internal_metadata_.unknown_fields());
  1981. }
  1982. if (((_has_bits_[0] & 0x00000034) ^ 0x00000034) == 0) { // All required fields are present.
  1983. // required .message.Base_info base_info = 1;
  1984. total_size += 1 +
  1985. ::google::protobuf::internal::WireFormatLite::MessageSize(
  1986. *this->base_info_);
  1987. // required .message.Terminal_status terminal_status = 3;
  1988. total_size += 1 +
  1989. ::google::protobuf::internal::WireFormatLite::EnumSize(this->terminal_status());
  1990. // required .message.Passageway_direction passageway_direction = 4;
  1991. total_size += 1 +
  1992. ::google::protobuf::internal::WireFormatLite::EnumSize(this->passageway_direction());
  1993. } else {
  1994. total_size += RequiredFieldsByteSizeFallback();
  1995. }
  1996. // repeated .message.Dispatch_process_information dispatch_store_process_information_vector = 5;
  1997. {
  1998. unsigned int count = static_cast<unsigned int>(this->dispatch_store_process_information_vector_size());
  1999. total_size += 1UL * count;
  2000. for (unsigned int i = 0; i < count; i++) {
  2001. total_size +=
  2002. ::google::protobuf::internal::WireFormatLite::MessageSize(
  2003. this->dispatch_store_process_information_vector(static_cast<int>(i)));
  2004. }
  2005. }
  2006. // repeated .message.Dispatch_process_information dispatch_pickup_process_information_vector = 7;
  2007. {
  2008. unsigned int count = static_cast<unsigned int>(this->dispatch_pickup_process_information_vector_size());
  2009. total_size += 1UL * count;
  2010. for (unsigned int i = 0; i < count; i++) {
  2011. total_size +=
  2012. ::google::protobuf::internal::WireFormatLite::MessageSize(
  2013. this->dispatch_pickup_process_information_vector(static_cast<int>(i)));
  2014. }
  2015. }
  2016. if (_has_bits_[0 / 32] & 3u) {
  2017. // optional string dispatch_store_process_information_updata_time = 6;
  2018. if (has_dispatch_store_process_information_updata_time()) {
  2019. total_size += 1 +
  2020. ::google::protobuf::internal::WireFormatLite::StringSize(
  2021. this->dispatch_store_process_information_updata_time());
  2022. }
  2023. // optional string dispatch_pickup_process_information_updata_time = 8;
  2024. if (has_dispatch_pickup_process_information_updata_time()) {
  2025. total_size += 1 +
  2026. ::google::protobuf::internal::WireFormatLite::StringSize(
  2027. this->dispatch_pickup_process_information_updata_time());
  2028. }
  2029. }
  2030. // optional .message.Id_struct id_struct = 2;
  2031. if (has_id_struct()) {
  2032. total_size += 1 +
  2033. ::google::protobuf::internal::WireFormatLite::MessageSize(
  2034. *this->id_struct_);
  2035. }
  2036. int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
  2037. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2038. _cached_size_ = cached_size;
  2039. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2040. return total_size;
  2041. }
  2042. void Dispatch_terminal_status_msg::MergeFrom(const ::google::protobuf::Message& from) {
  2043. // @@protoc_insertion_point(generalized_merge_from_start:message.Dispatch_terminal_status_msg)
  2044. GOOGLE_DCHECK_NE(&from, this);
  2045. const Dispatch_terminal_status_msg* source =
  2046. ::google::protobuf::internal::DynamicCastToGenerated<const Dispatch_terminal_status_msg>(
  2047. &from);
  2048. if (source == NULL) {
  2049. // @@protoc_insertion_point(generalized_merge_from_cast_fail:message.Dispatch_terminal_status_msg)
  2050. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  2051. } else {
  2052. // @@protoc_insertion_point(generalized_merge_from_cast_success:message.Dispatch_terminal_status_msg)
  2053. MergeFrom(*source);
  2054. }
  2055. }
  2056. void Dispatch_terminal_status_msg::MergeFrom(const Dispatch_terminal_status_msg& from) {
  2057. // @@protoc_insertion_point(class_specific_merge_from_start:message.Dispatch_terminal_status_msg)
  2058. GOOGLE_DCHECK_NE(&from, this);
  2059. _internal_metadata_.MergeFrom(from._internal_metadata_);
  2060. ::google::protobuf::uint32 cached_has_bits = 0;
  2061. (void) cached_has_bits;
  2062. dispatch_store_process_information_vector_.MergeFrom(from.dispatch_store_process_information_vector_);
  2063. dispatch_pickup_process_information_vector_.MergeFrom(from.dispatch_pickup_process_information_vector_);
  2064. cached_has_bits = from._has_bits_[0];
  2065. if (cached_has_bits & 63u) {
  2066. if (cached_has_bits & 0x00000001u) {
  2067. set_has_dispatch_store_process_information_updata_time();
  2068. dispatch_store_process_information_updata_time_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.dispatch_store_process_information_updata_time_);
  2069. }
  2070. if (cached_has_bits & 0x00000002u) {
  2071. set_has_dispatch_pickup_process_information_updata_time();
  2072. dispatch_pickup_process_information_updata_time_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.dispatch_pickup_process_information_updata_time_);
  2073. }
  2074. if (cached_has_bits & 0x00000004u) {
  2075. mutable_base_info()->::message::Base_info::MergeFrom(from.base_info());
  2076. }
  2077. if (cached_has_bits & 0x00000008u) {
  2078. mutable_id_struct()->::message::Id_struct::MergeFrom(from.id_struct());
  2079. }
  2080. if (cached_has_bits & 0x00000010u) {
  2081. terminal_status_ = from.terminal_status_;
  2082. }
  2083. if (cached_has_bits & 0x00000020u) {
  2084. passageway_direction_ = from.passageway_direction_;
  2085. }
  2086. _has_bits_[0] |= cached_has_bits;
  2087. }
  2088. }
  2089. void Dispatch_terminal_status_msg::CopyFrom(const ::google::protobuf::Message& from) {
  2090. // @@protoc_insertion_point(generalized_copy_from_start:message.Dispatch_terminal_status_msg)
  2091. if (&from == this) return;
  2092. Clear();
  2093. MergeFrom(from);
  2094. }
  2095. void Dispatch_terminal_status_msg::CopyFrom(const Dispatch_terminal_status_msg& from) {
  2096. // @@protoc_insertion_point(class_specific_copy_from_start:message.Dispatch_terminal_status_msg)
  2097. if (&from == this) return;
  2098. Clear();
  2099. MergeFrom(from);
  2100. }
  2101. bool Dispatch_terminal_status_msg::IsInitialized() const {
  2102. if ((_has_bits_[0] & 0x00000034) != 0x00000034) return false;
  2103. if (has_base_info()) {
  2104. if (!this->base_info_->IsInitialized()) return false;
  2105. }
  2106. return true;
  2107. }
  2108. void Dispatch_terminal_status_msg::Swap(Dispatch_terminal_status_msg* other) {
  2109. if (other == this) return;
  2110. InternalSwap(other);
  2111. }
  2112. void Dispatch_terminal_status_msg::InternalSwap(Dispatch_terminal_status_msg* other) {
  2113. using std::swap;
  2114. dispatch_store_process_information_vector_.InternalSwap(&other->dispatch_store_process_information_vector_);
  2115. dispatch_pickup_process_information_vector_.InternalSwap(&other->dispatch_pickup_process_information_vector_);
  2116. dispatch_store_process_information_updata_time_.Swap(&other->dispatch_store_process_information_updata_time_);
  2117. dispatch_pickup_process_information_updata_time_.Swap(&other->dispatch_pickup_process_information_updata_time_);
  2118. swap(base_info_, other->base_info_);
  2119. swap(id_struct_, other->id_struct_);
  2120. swap(terminal_status_, other->terminal_status_);
  2121. swap(passageway_direction_, other->passageway_direction_);
  2122. swap(_has_bits_[0], other->_has_bits_[0]);
  2123. _internal_metadata_.Swap(&other->_internal_metadata_);
  2124. swap(_cached_size_, other->_cached_size_);
  2125. }
  2126. ::google::protobuf::Metadata Dispatch_terminal_status_msg::GetMetadata() const {
  2127. protobuf_dispatch_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  2128. return ::protobuf_dispatch_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages];
  2129. }
  2130. // ===================================================================
  2131. void Dispatch_request_msg::InitAsDefaultInstance() {
  2132. ::message::_Dispatch_request_msg_default_instance_._instance.get_mutable()->base_info_ = const_cast< ::message::Base_info*>(
  2133. ::message::Base_info::internal_default_instance());
  2134. ::message::_Dispatch_request_msg_default_instance_._instance.get_mutable()->id_struct_ = const_cast< ::message::Id_struct*>(
  2135. ::message::Id_struct::internal_default_instance());
  2136. ::message::_Dispatch_request_msg_default_instance_._instance.get_mutable()->locate_information_ = const_cast< ::message::Locate_information*>(
  2137. ::message::Locate_information::internal_default_instance());
  2138. }
  2139. void Dispatch_request_msg::clear_base_info() {
  2140. if (base_info_ != NULL) base_info_->Clear();
  2141. clear_has_base_info();
  2142. }
  2143. void Dispatch_request_msg::clear_id_struct() {
  2144. if (id_struct_ != NULL) id_struct_->Clear();
  2145. clear_has_id_struct();
  2146. }
  2147. void Dispatch_request_msg::clear_locate_information() {
  2148. if (locate_information_ != NULL) locate_information_->Clear();
  2149. clear_has_locate_information();
  2150. }
  2151. void Dispatch_request_msg::clear_parkspace_info_ex() {
  2152. parkspace_info_ex_.Clear();
  2153. }
  2154. #if !defined(_MSC_VER) || _MSC_VER >= 1900
  2155. const int Dispatch_request_msg::kBaseInfoFieldNumber;
  2156. const int Dispatch_request_msg::kCommandKeyFieldNumber;
  2157. const int Dispatch_request_msg::kDispatchMotionDirectionFieldNumber;
  2158. const int Dispatch_request_msg::kIdStructFieldNumber;
  2159. const int Dispatch_request_msg::kLocateInformationFieldNumber;
  2160. const int Dispatch_request_msg::kParkspaceInfoExFieldNumber;
  2161. const int Dispatch_request_msg::kCarTypeFieldNumber;
  2162. #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
  2163. Dispatch_request_msg::Dispatch_request_msg()
  2164. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  2165. if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
  2166. ::protobuf_dispatch_5fmessage_2eproto::InitDefaultsDispatch_request_msg();
  2167. }
  2168. SharedCtor();
  2169. // @@protoc_insertion_point(constructor:message.Dispatch_request_msg)
  2170. }
  2171. Dispatch_request_msg::Dispatch_request_msg(const Dispatch_request_msg& from)
  2172. : ::google::protobuf::Message(),
  2173. _internal_metadata_(NULL),
  2174. _has_bits_(from._has_bits_),
  2175. _cached_size_(0),
  2176. parkspace_info_ex_(from.parkspace_info_ex_) {
  2177. _internal_metadata_.MergeFrom(from._internal_metadata_);
  2178. command_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2179. if (from.has_command_key()) {
  2180. command_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.command_key_);
  2181. }
  2182. if (from.has_base_info()) {
  2183. base_info_ = new ::message::Base_info(*from.base_info_);
  2184. } else {
  2185. base_info_ = NULL;
  2186. }
  2187. if (from.has_id_struct()) {
  2188. id_struct_ = new ::message::Id_struct(*from.id_struct_);
  2189. } else {
  2190. id_struct_ = NULL;
  2191. }
  2192. if (from.has_locate_information()) {
  2193. locate_information_ = new ::message::Locate_information(*from.locate_information_);
  2194. } else {
  2195. locate_information_ = NULL;
  2196. }
  2197. ::memcpy(&dispatch_motion_direction_, &from.dispatch_motion_direction_,
  2198. static_cast<size_t>(reinterpret_cast<char*>(&car_type_) -
  2199. reinterpret_cast<char*>(&dispatch_motion_direction_)) + sizeof(car_type_));
  2200. // @@protoc_insertion_point(copy_constructor:message.Dispatch_request_msg)
  2201. }
  2202. void Dispatch_request_msg::SharedCtor() {
  2203. _cached_size_ = 0;
  2204. command_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2205. ::memset(&base_info_, 0, static_cast<size_t>(
  2206. reinterpret_cast<char*>(&car_type_) -
  2207. reinterpret_cast<char*>(&base_info_)) + sizeof(car_type_));
  2208. }
  2209. Dispatch_request_msg::~Dispatch_request_msg() {
  2210. // @@protoc_insertion_point(destructor:message.Dispatch_request_msg)
  2211. SharedDtor();
  2212. }
  2213. void Dispatch_request_msg::SharedDtor() {
  2214. command_key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2215. if (this != internal_default_instance()) delete base_info_;
  2216. if (this != internal_default_instance()) delete id_struct_;
  2217. if (this != internal_default_instance()) delete locate_information_;
  2218. }
  2219. void Dispatch_request_msg::SetCachedSize(int size) const {
  2220. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2221. _cached_size_ = size;
  2222. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2223. }
  2224. const ::google::protobuf::Descriptor* Dispatch_request_msg::descriptor() {
  2225. ::protobuf_dispatch_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  2226. return ::protobuf_dispatch_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
  2227. }
  2228. const Dispatch_request_msg& Dispatch_request_msg::default_instance() {
  2229. ::protobuf_dispatch_5fmessage_2eproto::InitDefaultsDispatch_request_msg();
  2230. return *internal_default_instance();
  2231. }
  2232. Dispatch_request_msg* Dispatch_request_msg::New(::google::protobuf::Arena* arena) const {
  2233. Dispatch_request_msg* n = new Dispatch_request_msg;
  2234. if (arena != NULL) {
  2235. arena->Own(n);
  2236. }
  2237. return n;
  2238. }
  2239. void Dispatch_request_msg::Clear() {
  2240. // @@protoc_insertion_point(message_clear_start:message.Dispatch_request_msg)
  2241. ::google::protobuf::uint32 cached_has_bits = 0;
  2242. // Prevent compiler warnings about cached_has_bits being unused
  2243. (void) cached_has_bits;
  2244. parkspace_info_ex_.Clear();
  2245. cached_has_bits = _has_bits_[0];
  2246. if (cached_has_bits & 15u) {
  2247. if (cached_has_bits & 0x00000001u) {
  2248. GOOGLE_DCHECK(!command_key_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
  2249. (*command_key_.UnsafeRawStringPointer())->clear();
  2250. }
  2251. if (cached_has_bits & 0x00000002u) {
  2252. GOOGLE_DCHECK(base_info_ != NULL);
  2253. base_info_->Clear();
  2254. }
  2255. if (cached_has_bits & 0x00000004u) {
  2256. GOOGLE_DCHECK(id_struct_ != NULL);
  2257. id_struct_->Clear();
  2258. }
  2259. if (cached_has_bits & 0x00000008u) {
  2260. GOOGLE_DCHECK(locate_information_ != NULL);
  2261. locate_information_->Clear();
  2262. }
  2263. }
  2264. if (cached_has_bits & 48u) {
  2265. ::memset(&dispatch_motion_direction_, 0, static_cast<size_t>(
  2266. reinterpret_cast<char*>(&car_type_) -
  2267. reinterpret_cast<char*>(&dispatch_motion_direction_)) + sizeof(car_type_));
  2268. }
  2269. _has_bits_.Clear();
  2270. _internal_metadata_.Clear();
  2271. }
  2272. bool Dispatch_request_msg::MergePartialFromCodedStream(
  2273. ::google::protobuf::io::CodedInputStream* input) {
  2274. #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
  2275. ::google::protobuf::uint32 tag;
  2276. // @@protoc_insertion_point(parse_start:message.Dispatch_request_msg)
  2277. for (;;) {
  2278. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
  2279. tag = p.first;
  2280. if (!p.second) goto handle_unusual;
  2281. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  2282. // required .message.Base_info base_info = 1;
  2283. case 1: {
  2284. if (static_cast< ::google::protobuf::uint8>(tag) ==
  2285. static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
  2286. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  2287. input, mutable_base_info()));
  2288. } else {
  2289. goto handle_unusual;
  2290. }
  2291. break;
  2292. }
  2293. // required string command_key = 2;
  2294. case 2: {
  2295. if (static_cast< ::google::protobuf::uint8>(tag) ==
  2296. static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
  2297. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  2298. input, this->mutable_command_key()));
  2299. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  2300. this->command_key().data(), static_cast<int>(this->command_key().length()),
  2301. ::google::protobuf::internal::WireFormat::PARSE,
  2302. "message.Dispatch_request_msg.command_key");
  2303. } else {
  2304. goto handle_unusual;
  2305. }
  2306. break;
  2307. }
  2308. // optional .message.Dispatch_motion_direction dispatch_motion_direction = 3;
  2309. case 3: {
  2310. if (static_cast< ::google::protobuf::uint8>(tag) ==
  2311. static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
  2312. int value;
  2313. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2314. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  2315. input, &value)));
  2316. if (::message::Dispatch_motion_direction_IsValid(value)) {
  2317. set_dispatch_motion_direction(static_cast< ::message::Dispatch_motion_direction >(value));
  2318. } else {
  2319. mutable_unknown_fields()->AddVarint(
  2320. 3, static_cast< ::google::protobuf::uint64>(value));
  2321. }
  2322. } else {
  2323. goto handle_unusual;
  2324. }
  2325. break;
  2326. }
  2327. // optional .message.Id_struct id_struct = 4;
  2328. case 4: {
  2329. if (static_cast< ::google::protobuf::uint8>(tag) ==
  2330. static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
  2331. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  2332. input, mutable_id_struct()));
  2333. } else {
  2334. goto handle_unusual;
  2335. }
  2336. break;
  2337. }
  2338. // optional .message.Locate_information locate_information = 5;
  2339. case 5: {
  2340. if (static_cast< ::google::protobuf::uint8>(tag) ==
  2341. static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
  2342. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  2343. input, mutable_locate_information()));
  2344. } else {
  2345. goto handle_unusual;
  2346. }
  2347. break;
  2348. }
  2349. // repeated .message.Parkspace_info parkspace_info_ex = 6;
  2350. case 6: {
  2351. if (static_cast< ::google::protobuf::uint8>(tag) ==
  2352. static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) {
  2353. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_parkspace_info_ex()));
  2354. } else {
  2355. goto handle_unusual;
  2356. }
  2357. break;
  2358. }
  2359. // optional .message.Car_type car_type = 7;
  2360. case 7: {
  2361. if (static_cast< ::google::protobuf::uint8>(tag) ==
  2362. static_cast< ::google::protobuf::uint8>(56u /* 56 & 0xFF */)) {
  2363. int value;
  2364. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2365. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  2366. input, &value)));
  2367. if (::message::Car_type_IsValid(value)) {
  2368. set_car_type(static_cast< ::message::Car_type >(value));
  2369. } else {
  2370. mutable_unknown_fields()->AddVarint(
  2371. 7, static_cast< ::google::protobuf::uint64>(value));
  2372. }
  2373. } else {
  2374. goto handle_unusual;
  2375. }
  2376. break;
  2377. }
  2378. default: {
  2379. handle_unusual:
  2380. if (tag == 0) {
  2381. goto success;
  2382. }
  2383. DO_(::google::protobuf::internal::WireFormat::SkipField(
  2384. input, tag, _internal_metadata_.mutable_unknown_fields()));
  2385. break;
  2386. }
  2387. }
  2388. }
  2389. success:
  2390. // @@protoc_insertion_point(parse_success:message.Dispatch_request_msg)
  2391. return true;
  2392. failure:
  2393. // @@protoc_insertion_point(parse_failure:message.Dispatch_request_msg)
  2394. return false;
  2395. #undef DO_
  2396. }
  2397. void Dispatch_request_msg::SerializeWithCachedSizes(
  2398. ::google::protobuf::io::CodedOutputStream* output) const {
  2399. // @@protoc_insertion_point(serialize_start:message.Dispatch_request_msg)
  2400. ::google::protobuf::uint32 cached_has_bits = 0;
  2401. (void) cached_has_bits;
  2402. cached_has_bits = _has_bits_[0];
  2403. // required .message.Base_info base_info = 1;
  2404. if (cached_has_bits & 0x00000002u) {
  2405. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  2406. 1, *this->base_info_, output);
  2407. }
  2408. // required string command_key = 2;
  2409. if (cached_has_bits & 0x00000001u) {
  2410. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  2411. this->command_key().data(), static_cast<int>(this->command_key().length()),
  2412. ::google::protobuf::internal::WireFormat::SERIALIZE,
  2413. "message.Dispatch_request_msg.command_key");
  2414. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  2415. 2, this->command_key(), output);
  2416. }
  2417. // optional .message.Dispatch_motion_direction dispatch_motion_direction = 3;
  2418. if (cached_has_bits & 0x00000010u) {
  2419. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  2420. 3, this->dispatch_motion_direction(), output);
  2421. }
  2422. // optional .message.Id_struct id_struct = 4;
  2423. if (cached_has_bits & 0x00000004u) {
  2424. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  2425. 4, *this->id_struct_, output);
  2426. }
  2427. // optional .message.Locate_information locate_information = 5;
  2428. if (cached_has_bits & 0x00000008u) {
  2429. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  2430. 5, *this->locate_information_, output);
  2431. }
  2432. // repeated .message.Parkspace_info parkspace_info_ex = 6;
  2433. for (unsigned int i = 0,
  2434. n = static_cast<unsigned int>(this->parkspace_info_ex_size()); i < n; i++) {
  2435. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  2436. 6, this->parkspace_info_ex(static_cast<int>(i)), output);
  2437. }
  2438. // optional .message.Car_type car_type = 7;
  2439. if (cached_has_bits & 0x00000020u) {
  2440. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  2441. 7, this->car_type(), output);
  2442. }
  2443. if (_internal_metadata_.have_unknown_fields()) {
  2444. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  2445. _internal_metadata_.unknown_fields(), output);
  2446. }
  2447. // @@protoc_insertion_point(serialize_end:message.Dispatch_request_msg)
  2448. }
  2449. ::google::protobuf::uint8* Dispatch_request_msg::InternalSerializeWithCachedSizesToArray(
  2450. bool deterministic, ::google::protobuf::uint8* target) const {
  2451. (void)deterministic; // Unused
  2452. // @@protoc_insertion_point(serialize_to_array_start:message.Dispatch_request_msg)
  2453. ::google::protobuf::uint32 cached_has_bits = 0;
  2454. (void) cached_has_bits;
  2455. cached_has_bits = _has_bits_[0];
  2456. // required .message.Base_info base_info = 1;
  2457. if (cached_has_bits & 0x00000002u) {
  2458. target = ::google::protobuf::internal::WireFormatLite::
  2459. InternalWriteMessageToArray(
  2460. 1, *this->base_info_, deterministic, target);
  2461. }
  2462. // required string command_key = 2;
  2463. if (cached_has_bits & 0x00000001u) {
  2464. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  2465. this->command_key().data(), static_cast<int>(this->command_key().length()),
  2466. ::google::protobuf::internal::WireFormat::SERIALIZE,
  2467. "message.Dispatch_request_msg.command_key");
  2468. target =
  2469. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  2470. 2, this->command_key(), target);
  2471. }
  2472. // optional .message.Dispatch_motion_direction dispatch_motion_direction = 3;
  2473. if (cached_has_bits & 0x00000010u) {
  2474. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  2475. 3, this->dispatch_motion_direction(), target);
  2476. }
  2477. // optional .message.Id_struct id_struct = 4;
  2478. if (cached_has_bits & 0x00000004u) {
  2479. target = ::google::protobuf::internal::WireFormatLite::
  2480. InternalWriteMessageToArray(
  2481. 4, *this->id_struct_, deterministic, target);
  2482. }
  2483. // optional .message.Locate_information locate_information = 5;
  2484. if (cached_has_bits & 0x00000008u) {
  2485. target = ::google::protobuf::internal::WireFormatLite::
  2486. InternalWriteMessageToArray(
  2487. 5, *this->locate_information_, deterministic, target);
  2488. }
  2489. // repeated .message.Parkspace_info parkspace_info_ex = 6;
  2490. for (unsigned int i = 0,
  2491. n = static_cast<unsigned int>(this->parkspace_info_ex_size()); i < n; i++) {
  2492. target = ::google::protobuf::internal::WireFormatLite::
  2493. InternalWriteMessageToArray(
  2494. 6, this->parkspace_info_ex(static_cast<int>(i)), deterministic, target);
  2495. }
  2496. // optional .message.Car_type car_type = 7;
  2497. if (cached_has_bits & 0x00000020u) {
  2498. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  2499. 7, this->car_type(), target);
  2500. }
  2501. if (_internal_metadata_.have_unknown_fields()) {
  2502. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  2503. _internal_metadata_.unknown_fields(), target);
  2504. }
  2505. // @@protoc_insertion_point(serialize_to_array_end:message.Dispatch_request_msg)
  2506. return target;
  2507. }
  2508. size_t Dispatch_request_msg::RequiredFieldsByteSizeFallback() const {
  2509. // @@protoc_insertion_point(required_fields_byte_size_fallback_start:message.Dispatch_request_msg)
  2510. size_t total_size = 0;
  2511. if (has_command_key()) {
  2512. // required string command_key = 2;
  2513. total_size += 1 +
  2514. ::google::protobuf::internal::WireFormatLite::StringSize(
  2515. this->command_key());
  2516. }
  2517. if (has_base_info()) {
  2518. // required .message.Base_info base_info = 1;
  2519. total_size += 1 +
  2520. ::google::protobuf::internal::WireFormatLite::MessageSize(
  2521. *this->base_info_);
  2522. }
  2523. return total_size;
  2524. }
  2525. size_t Dispatch_request_msg::ByteSizeLong() const {
  2526. // @@protoc_insertion_point(message_byte_size_start:message.Dispatch_request_msg)
  2527. size_t total_size = 0;
  2528. if (_internal_metadata_.have_unknown_fields()) {
  2529. total_size +=
  2530. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  2531. _internal_metadata_.unknown_fields());
  2532. }
  2533. if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present.
  2534. // required string command_key = 2;
  2535. total_size += 1 +
  2536. ::google::protobuf::internal::WireFormatLite::StringSize(
  2537. this->command_key());
  2538. // required .message.Base_info base_info = 1;
  2539. total_size += 1 +
  2540. ::google::protobuf::internal::WireFormatLite::MessageSize(
  2541. *this->base_info_);
  2542. } else {
  2543. total_size += RequiredFieldsByteSizeFallback();
  2544. }
  2545. // repeated .message.Parkspace_info parkspace_info_ex = 6;
  2546. {
  2547. unsigned int count = static_cast<unsigned int>(this->parkspace_info_ex_size());
  2548. total_size += 1UL * count;
  2549. for (unsigned int i = 0; i < count; i++) {
  2550. total_size +=
  2551. ::google::protobuf::internal::WireFormatLite::MessageSize(
  2552. this->parkspace_info_ex(static_cast<int>(i)));
  2553. }
  2554. }
  2555. if (_has_bits_[0 / 32] & 60u) {
  2556. // optional .message.Id_struct id_struct = 4;
  2557. if (has_id_struct()) {
  2558. total_size += 1 +
  2559. ::google::protobuf::internal::WireFormatLite::MessageSize(
  2560. *this->id_struct_);
  2561. }
  2562. // optional .message.Locate_information locate_information = 5;
  2563. if (has_locate_information()) {
  2564. total_size += 1 +
  2565. ::google::protobuf::internal::WireFormatLite::MessageSize(
  2566. *this->locate_information_);
  2567. }
  2568. // optional .message.Dispatch_motion_direction dispatch_motion_direction = 3;
  2569. if (has_dispatch_motion_direction()) {
  2570. total_size += 1 +
  2571. ::google::protobuf::internal::WireFormatLite::EnumSize(this->dispatch_motion_direction());
  2572. }
  2573. // optional .message.Car_type car_type = 7;
  2574. if (has_car_type()) {
  2575. total_size += 1 +
  2576. ::google::protobuf::internal::WireFormatLite::EnumSize(this->car_type());
  2577. }
  2578. }
  2579. int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
  2580. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2581. _cached_size_ = cached_size;
  2582. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2583. return total_size;
  2584. }
  2585. void Dispatch_request_msg::MergeFrom(const ::google::protobuf::Message& from) {
  2586. // @@protoc_insertion_point(generalized_merge_from_start:message.Dispatch_request_msg)
  2587. GOOGLE_DCHECK_NE(&from, this);
  2588. const Dispatch_request_msg* source =
  2589. ::google::protobuf::internal::DynamicCastToGenerated<const Dispatch_request_msg>(
  2590. &from);
  2591. if (source == NULL) {
  2592. // @@protoc_insertion_point(generalized_merge_from_cast_fail:message.Dispatch_request_msg)
  2593. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  2594. } else {
  2595. // @@protoc_insertion_point(generalized_merge_from_cast_success:message.Dispatch_request_msg)
  2596. MergeFrom(*source);
  2597. }
  2598. }
  2599. void Dispatch_request_msg::MergeFrom(const Dispatch_request_msg& from) {
  2600. // @@protoc_insertion_point(class_specific_merge_from_start:message.Dispatch_request_msg)
  2601. GOOGLE_DCHECK_NE(&from, this);
  2602. _internal_metadata_.MergeFrom(from._internal_metadata_);
  2603. ::google::protobuf::uint32 cached_has_bits = 0;
  2604. (void) cached_has_bits;
  2605. parkspace_info_ex_.MergeFrom(from.parkspace_info_ex_);
  2606. cached_has_bits = from._has_bits_[0];
  2607. if (cached_has_bits & 63u) {
  2608. if (cached_has_bits & 0x00000001u) {
  2609. set_has_command_key();
  2610. command_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.command_key_);
  2611. }
  2612. if (cached_has_bits & 0x00000002u) {
  2613. mutable_base_info()->::message::Base_info::MergeFrom(from.base_info());
  2614. }
  2615. if (cached_has_bits & 0x00000004u) {
  2616. mutable_id_struct()->::message::Id_struct::MergeFrom(from.id_struct());
  2617. }
  2618. if (cached_has_bits & 0x00000008u) {
  2619. mutable_locate_information()->::message::Locate_information::MergeFrom(from.locate_information());
  2620. }
  2621. if (cached_has_bits & 0x00000010u) {
  2622. dispatch_motion_direction_ = from.dispatch_motion_direction_;
  2623. }
  2624. if (cached_has_bits & 0x00000020u) {
  2625. car_type_ = from.car_type_;
  2626. }
  2627. _has_bits_[0] |= cached_has_bits;
  2628. }
  2629. }
  2630. void Dispatch_request_msg::CopyFrom(const ::google::protobuf::Message& from) {
  2631. // @@protoc_insertion_point(generalized_copy_from_start:message.Dispatch_request_msg)
  2632. if (&from == this) return;
  2633. Clear();
  2634. MergeFrom(from);
  2635. }
  2636. void Dispatch_request_msg::CopyFrom(const Dispatch_request_msg& from) {
  2637. // @@protoc_insertion_point(class_specific_copy_from_start:message.Dispatch_request_msg)
  2638. if (&from == this) return;
  2639. Clear();
  2640. MergeFrom(from);
  2641. }
  2642. bool Dispatch_request_msg::IsInitialized() const {
  2643. if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
  2644. if (has_base_info()) {
  2645. if (!this->base_info_->IsInitialized()) return false;
  2646. }
  2647. return true;
  2648. }
  2649. void Dispatch_request_msg::Swap(Dispatch_request_msg* other) {
  2650. if (other == this) return;
  2651. InternalSwap(other);
  2652. }
  2653. void Dispatch_request_msg::InternalSwap(Dispatch_request_msg* other) {
  2654. using std::swap;
  2655. parkspace_info_ex_.InternalSwap(&other->parkspace_info_ex_);
  2656. command_key_.Swap(&other->command_key_);
  2657. swap(base_info_, other->base_info_);
  2658. swap(id_struct_, other->id_struct_);
  2659. swap(locate_information_, other->locate_information_);
  2660. swap(dispatch_motion_direction_, other->dispatch_motion_direction_);
  2661. swap(car_type_, other->car_type_);
  2662. swap(_has_bits_[0], other->_has_bits_[0]);
  2663. _internal_metadata_.Swap(&other->_internal_metadata_);
  2664. swap(_cached_size_, other->_cached_size_);
  2665. }
  2666. ::google::protobuf::Metadata Dispatch_request_msg::GetMetadata() const {
  2667. protobuf_dispatch_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  2668. return ::protobuf_dispatch_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages];
  2669. }
  2670. // ===================================================================
  2671. void Dispatch_response_msg::InitAsDefaultInstance() {
  2672. ::message::_Dispatch_response_msg_default_instance_._instance.get_mutable()->base_info_ = const_cast< ::message::Base_info*>(
  2673. ::message::Base_info::internal_default_instance());
  2674. ::message::_Dispatch_response_msg_default_instance_._instance.get_mutable()->id_struct_ = const_cast< ::message::Id_struct*>(
  2675. ::message::Id_struct::internal_default_instance());
  2676. ::message::_Dispatch_response_msg_default_instance_._instance.get_mutable()->locate_information_ = const_cast< ::message::Locate_information*>(
  2677. ::message::Locate_information::internal_default_instance());
  2678. ::message::_Dispatch_response_msg_default_instance_._instance.get_mutable()->error_manager_ = const_cast< ::message::Error_manager*>(
  2679. ::message::Error_manager::internal_default_instance());
  2680. }
  2681. void Dispatch_response_msg::clear_base_info() {
  2682. if (base_info_ != NULL) base_info_->Clear();
  2683. clear_has_base_info();
  2684. }
  2685. void Dispatch_response_msg::clear_id_struct() {
  2686. if (id_struct_ != NULL) id_struct_->Clear();
  2687. clear_has_id_struct();
  2688. }
  2689. void Dispatch_response_msg::clear_locate_information() {
  2690. if (locate_information_ != NULL) locate_information_->Clear();
  2691. clear_has_locate_information();
  2692. }
  2693. void Dispatch_response_msg::clear_parkspace_info_ex() {
  2694. parkspace_info_ex_.Clear();
  2695. }
  2696. void Dispatch_response_msg::clear_error_manager() {
  2697. if (error_manager_ != NULL) error_manager_->Clear();
  2698. clear_has_error_manager();
  2699. }
  2700. #if !defined(_MSC_VER) || _MSC_VER >= 1900
  2701. const int Dispatch_response_msg::kBaseInfoFieldNumber;
  2702. const int Dispatch_response_msg::kCommandKeyFieldNumber;
  2703. const int Dispatch_response_msg::kDispatchMotionDirectionFieldNumber;
  2704. const int Dispatch_response_msg::kIdStructFieldNumber;
  2705. const int Dispatch_response_msg::kLocateInformationFieldNumber;
  2706. const int Dispatch_response_msg::kParkspaceInfoExFieldNumber;
  2707. const int Dispatch_response_msg::kCarTypeFieldNumber;
  2708. const int Dispatch_response_msg::kErrorManagerFieldNumber;
  2709. #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
  2710. Dispatch_response_msg::Dispatch_response_msg()
  2711. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  2712. if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
  2713. ::protobuf_dispatch_5fmessage_2eproto::InitDefaultsDispatch_response_msg();
  2714. }
  2715. SharedCtor();
  2716. // @@protoc_insertion_point(constructor:message.Dispatch_response_msg)
  2717. }
  2718. Dispatch_response_msg::Dispatch_response_msg(const Dispatch_response_msg& from)
  2719. : ::google::protobuf::Message(),
  2720. _internal_metadata_(NULL),
  2721. _has_bits_(from._has_bits_),
  2722. _cached_size_(0),
  2723. parkspace_info_ex_(from.parkspace_info_ex_) {
  2724. _internal_metadata_.MergeFrom(from._internal_metadata_);
  2725. command_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2726. if (from.has_command_key()) {
  2727. command_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.command_key_);
  2728. }
  2729. if (from.has_base_info()) {
  2730. base_info_ = new ::message::Base_info(*from.base_info_);
  2731. } else {
  2732. base_info_ = NULL;
  2733. }
  2734. if (from.has_id_struct()) {
  2735. id_struct_ = new ::message::Id_struct(*from.id_struct_);
  2736. } else {
  2737. id_struct_ = NULL;
  2738. }
  2739. if (from.has_locate_information()) {
  2740. locate_information_ = new ::message::Locate_information(*from.locate_information_);
  2741. } else {
  2742. locate_information_ = NULL;
  2743. }
  2744. if (from.has_error_manager()) {
  2745. error_manager_ = new ::message::Error_manager(*from.error_manager_);
  2746. } else {
  2747. error_manager_ = NULL;
  2748. }
  2749. ::memcpy(&dispatch_motion_direction_, &from.dispatch_motion_direction_,
  2750. static_cast<size_t>(reinterpret_cast<char*>(&car_type_) -
  2751. reinterpret_cast<char*>(&dispatch_motion_direction_)) + sizeof(car_type_));
  2752. // @@protoc_insertion_point(copy_constructor:message.Dispatch_response_msg)
  2753. }
  2754. void Dispatch_response_msg::SharedCtor() {
  2755. _cached_size_ = 0;
  2756. command_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2757. ::memset(&base_info_, 0, static_cast<size_t>(
  2758. reinterpret_cast<char*>(&car_type_) -
  2759. reinterpret_cast<char*>(&base_info_)) + sizeof(car_type_));
  2760. }
  2761. Dispatch_response_msg::~Dispatch_response_msg() {
  2762. // @@protoc_insertion_point(destructor:message.Dispatch_response_msg)
  2763. SharedDtor();
  2764. }
  2765. void Dispatch_response_msg::SharedDtor() {
  2766. command_key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2767. if (this != internal_default_instance()) delete base_info_;
  2768. if (this != internal_default_instance()) delete id_struct_;
  2769. if (this != internal_default_instance()) delete locate_information_;
  2770. if (this != internal_default_instance()) delete error_manager_;
  2771. }
  2772. void Dispatch_response_msg::SetCachedSize(int size) const {
  2773. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2774. _cached_size_ = size;
  2775. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2776. }
  2777. const ::google::protobuf::Descriptor* Dispatch_response_msg::descriptor() {
  2778. ::protobuf_dispatch_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  2779. return ::protobuf_dispatch_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
  2780. }
  2781. const Dispatch_response_msg& Dispatch_response_msg::default_instance() {
  2782. ::protobuf_dispatch_5fmessage_2eproto::InitDefaultsDispatch_response_msg();
  2783. return *internal_default_instance();
  2784. }
  2785. Dispatch_response_msg* Dispatch_response_msg::New(::google::protobuf::Arena* arena) const {
  2786. Dispatch_response_msg* n = new Dispatch_response_msg;
  2787. if (arena != NULL) {
  2788. arena->Own(n);
  2789. }
  2790. return n;
  2791. }
  2792. void Dispatch_response_msg::Clear() {
  2793. // @@protoc_insertion_point(message_clear_start:message.Dispatch_response_msg)
  2794. ::google::protobuf::uint32 cached_has_bits = 0;
  2795. // Prevent compiler warnings about cached_has_bits being unused
  2796. (void) cached_has_bits;
  2797. parkspace_info_ex_.Clear();
  2798. cached_has_bits = _has_bits_[0];
  2799. if (cached_has_bits & 31u) {
  2800. if (cached_has_bits & 0x00000001u) {
  2801. GOOGLE_DCHECK(!command_key_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
  2802. (*command_key_.UnsafeRawStringPointer())->clear();
  2803. }
  2804. if (cached_has_bits & 0x00000002u) {
  2805. GOOGLE_DCHECK(base_info_ != NULL);
  2806. base_info_->Clear();
  2807. }
  2808. if (cached_has_bits & 0x00000004u) {
  2809. GOOGLE_DCHECK(id_struct_ != NULL);
  2810. id_struct_->Clear();
  2811. }
  2812. if (cached_has_bits & 0x00000008u) {
  2813. GOOGLE_DCHECK(locate_information_ != NULL);
  2814. locate_information_->Clear();
  2815. }
  2816. if (cached_has_bits & 0x00000010u) {
  2817. GOOGLE_DCHECK(error_manager_ != NULL);
  2818. error_manager_->Clear();
  2819. }
  2820. }
  2821. if (cached_has_bits & 96u) {
  2822. ::memset(&dispatch_motion_direction_, 0, static_cast<size_t>(
  2823. reinterpret_cast<char*>(&car_type_) -
  2824. reinterpret_cast<char*>(&dispatch_motion_direction_)) + sizeof(car_type_));
  2825. }
  2826. _has_bits_.Clear();
  2827. _internal_metadata_.Clear();
  2828. }
  2829. bool Dispatch_response_msg::MergePartialFromCodedStream(
  2830. ::google::protobuf::io::CodedInputStream* input) {
  2831. #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
  2832. ::google::protobuf::uint32 tag;
  2833. // @@protoc_insertion_point(parse_start:message.Dispatch_response_msg)
  2834. for (;;) {
  2835. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
  2836. tag = p.first;
  2837. if (!p.second) goto handle_unusual;
  2838. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  2839. // required .message.Base_info base_info = 1;
  2840. case 1: {
  2841. if (static_cast< ::google::protobuf::uint8>(tag) ==
  2842. static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
  2843. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  2844. input, mutable_base_info()));
  2845. } else {
  2846. goto handle_unusual;
  2847. }
  2848. break;
  2849. }
  2850. // required string command_key = 2;
  2851. case 2: {
  2852. if (static_cast< ::google::protobuf::uint8>(tag) ==
  2853. static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
  2854. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  2855. input, this->mutable_command_key()));
  2856. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  2857. this->command_key().data(), static_cast<int>(this->command_key().length()),
  2858. ::google::protobuf::internal::WireFormat::PARSE,
  2859. "message.Dispatch_response_msg.command_key");
  2860. } else {
  2861. goto handle_unusual;
  2862. }
  2863. break;
  2864. }
  2865. // optional .message.Dispatch_motion_direction dispatch_motion_direction = 3;
  2866. case 3: {
  2867. if (static_cast< ::google::protobuf::uint8>(tag) ==
  2868. static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
  2869. int value;
  2870. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2871. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  2872. input, &value)));
  2873. if (::message::Dispatch_motion_direction_IsValid(value)) {
  2874. set_dispatch_motion_direction(static_cast< ::message::Dispatch_motion_direction >(value));
  2875. } else {
  2876. mutable_unknown_fields()->AddVarint(
  2877. 3, static_cast< ::google::protobuf::uint64>(value));
  2878. }
  2879. } else {
  2880. goto handle_unusual;
  2881. }
  2882. break;
  2883. }
  2884. // optional .message.Id_struct id_struct = 4;
  2885. case 4: {
  2886. if (static_cast< ::google::protobuf::uint8>(tag) ==
  2887. static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
  2888. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  2889. input, mutable_id_struct()));
  2890. } else {
  2891. goto handle_unusual;
  2892. }
  2893. break;
  2894. }
  2895. // optional .message.Locate_information locate_information = 5;
  2896. case 5: {
  2897. if (static_cast< ::google::protobuf::uint8>(tag) ==
  2898. static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
  2899. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  2900. input, mutable_locate_information()));
  2901. } else {
  2902. goto handle_unusual;
  2903. }
  2904. break;
  2905. }
  2906. // repeated .message.Parkspace_info parkspace_info_ex = 6;
  2907. case 6: {
  2908. if (static_cast< ::google::protobuf::uint8>(tag) ==
  2909. static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) {
  2910. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_parkspace_info_ex()));
  2911. } else {
  2912. goto handle_unusual;
  2913. }
  2914. break;
  2915. }
  2916. // optional .message.Car_type car_type = 7;
  2917. case 7: {
  2918. if (static_cast< ::google::protobuf::uint8>(tag) ==
  2919. static_cast< ::google::protobuf::uint8>(56u /* 56 & 0xFF */)) {
  2920. int value;
  2921. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2922. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  2923. input, &value)));
  2924. if (::message::Car_type_IsValid(value)) {
  2925. set_car_type(static_cast< ::message::Car_type >(value));
  2926. } else {
  2927. mutable_unknown_fields()->AddVarint(
  2928. 7, static_cast< ::google::protobuf::uint64>(value));
  2929. }
  2930. } else {
  2931. goto handle_unusual;
  2932. }
  2933. break;
  2934. }
  2935. // optional .message.Error_manager error_manager = 8;
  2936. case 8: {
  2937. if (static_cast< ::google::protobuf::uint8>(tag) ==
  2938. static_cast< ::google::protobuf::uint8>(66u /* 66 & 0xFF */)) {
  2939. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  2940. input, mutable_error_manager()));
  2941. } else {
  2942. goto handle_unusual;
  2943. }
  2944. break;
  2945. }
  2946. default: {
  2947. handle_unusual:
  2948. if (tag == 0) {
  2949. goto success;
  2950. }
  2951. DO_(::google::protobuf::internal::WireFormat::SkipField(
  2952. input, tag, _internal_metadata_.mutable_unknown_fields()));
  2953. break;
  2954. }
  2955. }
  2956. }
  2957. success:
  2958. // @@protoc_insertion_point(parse_success:message.Dispatch_response_msg)
  2959. return true;
  2960. failure:
  2961. // @@protoc_insertion_point(parse_failure:message.Dispatch_response_msg)
  2962. return false;
  2963. #undef DO_
  2964. }
  2965. void Dispatch_response_msg::SerializeWithCachedSizes(
  2966. ::google::protobuf::io::CodedOutputStream* output) const {
  2967. // @@protoc_insertion_point(serialize_start:message.Dispatch_response_msg)
  2968. ::google::protobuf::uint32 cached_has_bits = 0;
  2969. (void) cached_has_bits;
  2970. cached_has_bits = _has_bits_[0];
  2971. // required .message.Base_info base_info = 1;
  2972. if (cached_has_bits & 0x00000002u) {
  2973. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  2974. 1, *this->base_info_, output);
  2975. }
  2976. // required string command_key = 2;
  2977. if (cached_has_bits & 0x00000001u) {
  2978. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  2979. this->command_key().data(), static_cast<int>(this->command_key().length()),
  2980. ::google::protobuf::internal::WireFormat::SERIALIZE,
  2981. "message.Dispatch_response_msg.command_key");
  2982. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  2983. 2, this->command_key(), output);
  2984. }
  2985. // optional .message.Dispatch_motion_direction dispatch_motion_direction = 3;
  2986. if (cached_has_bits & 0x00000020u) {
  2987. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  2988. 3, this->dispatch_motion_direction(), output);
  2989. }
  2990. // optional .message.Id_struct id_struct = 4;
  2991. if (cached_has_bits & 0x00000004u) {
  2992. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  2993. 4, *this->id_struct_, output);
  2994. }
  2995. // optional .message.Locate_information locate_information = 5;
  2996. if (cached_has_bits & 0x00000008u) {
  2997. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  2998. 5, *this->locate_information_, output);
  2999. }
  3000. // repeated .message.Parkspace_info parkspace_info_ex = 6;
  3001. for (unsigned int i = 0,
  3002. n = static_cast<unsigned int>(this->parkspace_info_ex_size()); i < n; i++) {
  3003. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  3004. 6, this->parkspace_info_ex(static_cast<int>(i)), output);
  3005. }
  3006. // optional .message.Car_type car_type = 7;
  3007. if (cached_has_bits & 0x00000040u) {
  3008. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  3009. 7, this->car_type(), output);
  3010. }
  3011. // optional .message.Error_manager error_manager = 8;
  3012. if (cached_has_bits & 0x00000010u) {
  3013. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  3014. 8, *this->error_manager_, output);
  3015. }
  3016. if (_internal_metadata_.have_unknown_fields()) {
  3017. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  3018. _internal_metadata_.unknown_fields(), output);
  3019. }
  3020. // @@protoc_insertion_point(serialize_end:message.Dispatch_response_msg)
  3021. }
  3022. ::google::protobuf::uint8* Dispatch_response_msg::InternalSerializeWithCachedSizesToArray(
  3023. bool deterministic, ::google::protobuf::uint8* target) const {
  3024. (void)deterministic; // Unused
  3025. // @@protoc_insertion_point(serialize_to_array_start:message.Dispatch_response_msg)
  3026. ::google::protobuf::uint32 cached_has_bits = 0;
  3027. (void) cached_has_bits;
  3028. cached_has_bits = _has_bits_[0];
  3029. // required .message.Base_info base_info = 1;
  3030. if (cached_has_bits & 0x00000002u) {
  3031. target = ::google::protobuf::internal::WireFormatLite::
  3032. InternalWriteMessageToArray(
  3033. 1, *this->base_info_, deterministic, target);
  3034. }
  3035. // required string command_key = 2;
  3036. if (cached_has_bits & 0x00000001u) {
  3037. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  3038. this->command_key().data(), static_cast<int>(this->command_key().length()),
  3039. ::google::protobuf::internal::WireFormat::SERIALIZE,
  3040. "message.Dispatch_response_msg.command_key");
  3041. target =
  3042. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  3043. 2, this->command_key(), target);
  3044. }
  3045. // optional .message.Dispatch_motion_direction dispatch_motion_direction = 3;
  3046. if (cached_has_bits & 0x00000020u) {
  3047. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  3048. 3, this->dispatch_motion_direction(), target);
  3049. }
  3050. // optional .message.Id_struct id_struct = 4;
  3051. if (cached_has_bits & 0x00000004u) {
  3052. target = ::google::protobuf::internal::WireFormatLite::
  3053. InternalWriteMessageToArray(
  3054. 4, *this->id_struct_, deterministic, target);
  3055. }
  3056. // optional .message.Locate_information locate_information = 5;
  3057. if (cached_has_bits & 0x00000008u) {
  3058. target = ::google::protobuf::internal::WireFormatLite::
  3059. InternalWriteMessageToArray(
  3060. 5, *this->locate_information_, deterministic, target);
  3061. }
  3062. // repeated .message.Parkspace_info parkspace_info_ex = 6;
  3063. for (unsigned int i = 0,
  3064. n = static_cast<unsigned int>(this->parkspace_info_ex_size()); i < n; i++) {
  3065. target = ::google::protobuf::internal::WireFormatLite::
  3066. InternalWriteMessageToArray(
  3067. 6, this->parkspace_info_ex(static_cast<int>(i)), deterministic, target);
  3068. }
  3069. // optional .message.Car_type car_type = 7;
  3070. if (cached_has_bits & 0x00000040u) {
  3071. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  3072. 7, this->car_type(), target);
  3073. }
  3074. // optional .message.Error_manager error_manager = 8;
  3075. if (cached_has_bits & 0x00000010u) {
  3076. target = ::google::protobuf::internal::WireFormatLite::
  3077. InternalWriteMessageToArray(
  3078. 8, *this->error_manager_, deterministic, target);
  3079. }
  3080. if (_internal_metadata_.have_unknown_fields()) {
  3081. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  3082. _internal_metadata_.unknown_fields(), target);
  3083. }
  3084. // @@protoc_insertion_point(serialize_to_array_end:message.Dispatch_response_msg)
  3085. return target;
  3086. }
  3087. size_t Dispatch_response_msg::RequiredFieldsByteSizeFallback() const {
  3088. // @@protoc_insertion_point(required_fields_byte_size_fallback_start:message.Dispatch_response_msg)
  3089. size_t total_size = 0;
  3090. if (has_command_key()) {
  3091. // required string command_key = 2;
  3092. total_size += 1 +
  3093. ::google::protobuf::internal::WireFormatLite::StringSize(
  3094. this->command_key());
  3095. }
  3096. if (has_base_info()) {
  3097. // required .message.Base_info base_info = 1;
  3098. total_size += 1 +
  3099. ::google::protobuf::internal::WireFormatLite::MessageSize(
  3100. *this->base_info_);
  3101. }
  3102. return total_size;
  3103. }
  3104. size_t Dispatch_response_msg::ByteSizeLong() const {
  3105. // @@protoc_insertion_point(message_byte_size_start:message.Dispatch_response_msg)
  3106. size_t total_size = 0;
  3107. if (_internal_metadata_.have_unknown_fields()) {
  3108. total_size +=
  3109. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  3110. _internal_metadata_.unknown_fields());
  3111. }
  3112. if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present.
  3113. // required string command_key = 2;
  3114. total_size += 1 +
  3115. ::google::protobuf::internal::WireFormatLite::StringSize(
  3116. this->command_key());
  3117. // required .message.Base_info base_info = 1;
  3118. total_size += 1 +
  3119. ::google::protobuf::internal::WireFormatLite::MessageSize(
  3120. *this->base_info_);
  3121. } else {
  3122. total_size += RequiredFieldsByteSizeFallback();
  3123. }
  3124. // repeated .message.Parkspace_info parkspace_info_ex = 6;
  3125. {
  3126. unsigned int count = static_cast<unsigned int>(this->parkspace_info_ex_size());
  3127. total_size += 1UL * count;
  3128. for (unsigned int i = 0; i < count; i++) {
  3129. total_size +=
  3130. ::google::protobuf::internal::WireFormatLite::MessageSize(
  3131. this->parkspace_info_ex(static_cast<int>(i)));
  3132. }
  3133. }
  3134. if (_has_bits_[0 / 32] & 124u) {
  3135. // optional .message.Id_struct id_struct = 4;
  3136. if (has_id_struct()) {
  3137. total_size += 1 +
  3138. ::google::protobuf::internal::WireFormatLite::MessageSize(
  3139. *this->id_struct_);
  3140. }
  3141. // optional .message.Locate_information locate_information = 5;
  3142. if (has_locate_information()) {
  3143. total_size += 1 +
  3144. ::google::protobuf::internal::WireFormatLite::MessageSize(
  3145. *this->locate_information_);
  3146. }
  3147. // optional .message.Error_manager error_manager = 8;
  3148. if (has_error_manager()) {
  3149. total_size += 1 +
  3150. ::google::protobuf::internal::WireFormatLite::MessageSize(
  3151. *this->error_manager_);
  3152. }
  3153. // optional .message.Dispatch_motion_direction dispatch_motion_direction = 3;
  3154. if (has_dispatch_motion_direction()) {
  3155. total_size += 1 +
  3156. ::google::protobuf::internal::WireFormatLite::EnumSize(this->dispatch_motion_direction());
  3157. }
  3158. // optional .message.Car_type car_type = 7;
  3159. if (has_car_type()) {
  3160. total_size += 1 +
  3161. ::google::protobuf::internal::WireFormatLite::EnumSize(this->car_type());
  3162. }
  3163. }
  3164. int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
  3165. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3166. _cached_size_ = cached_size;
  3167. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3168. return total_size;
  3169. }
  3170. void Dispatch_response_msg::MergeFrom(const ::google::protobuf::Message& from) {
  3171. // @@protoc_insertion_point(generalized_merge_from_start:message.Dispatch_response_msg)
  3172. GOOGLE_DCHECK_NE(&from, this);
  3173. const Dispatch_response_msg* source =
  3174. ::google::protobuf::internal::DynamicCastToGenerated<const Dispatch_response_msg>(
  3175. &from);
  3176. if (source == NULL) {
  3177. // @@protoc_insertion_point(generalized_merge_from_cast_fail:message.Dispatch_response_msg)
  3178. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  3179. } else {
  3180. // @@protoc_insertion_point(generalized_merge_from_cast_success:message.Dispatch_response_msg)
  3181. MergeFrom(*source);
  3182. }
  3183. }
  3184. void Dispatch_response_msg::MergeFrom(const Dispatch_response_msg& from) {
  3185. // @@protoc_insertion_point(class_specific_merge_from_start:message.Dispatch_response_msg)
  3186. GOOGLE_DCHECK_NE(&from, this);
  3187. _internal_metadata_.MergeFrom(from._internal_metadata_);
  3188. ::google::protobuf::uint32 cached_has_bits = 0;
  3189. (void) cached_has_bits;
  3190. parkspace_info_ex_.MergeFrom(from.parkspace_info_ex_);
  3191. cached_has_bits = from._has_bits_[0];
  3192. if (cached_has_bits & 127u) {
  3193. if (cached_has_bits & 0x00000001u) {
  3194. set_has_command_key();
  3195. command_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.command_key_);
  3196. }
  3197. if (cached_has_bits & 0x00000002u) {
  3198. mutable_base_info()->::message::Base_info::MergeFrom(from.base_info());
  3199. }
  3200. if (cached_has_bits & 0x00000004u) {
  3201. mutable_id_struct()->::message::Id_struct::MergeFrom(from.id_struct());
  3202. }
  3203. if (cached_has_bits & 0x00000008u) {
  3204. mutable_locate_information()->::message::Locate_information::MergeFrom(from.locate_information());
  3205. }
  3206. if (cached_has_bits & 0x00000010u) {
  3207. mutable_error_manager()->::message::Error_manager::MergeFrom(from.error_manager());
  3208. }
  3209. if (cached_has_bits & 0x00000020u) {
  3210. dispatch_motion_direction_ = from.dispatch_motion_direction_;
  3211. }
  3212. if (cached_has_bits & 0x00000040u) {
  3213. car_type_ = from.car_type_;
  3214. }
  3215. _has_bits_[0] |= cached_has_bits;
  3216. }
  3217. }
  3218. void Dispatch_response_msg::CopyFrom(const ::google::protobuf::Message& from) {
  3219. // @@protoc_insertion_point(generalized_copy_from_start:message.Dispatch_response_msg)
  3220. if (&from == this) return;
  3221. Clear();
  3222. MergeFrom(from);
  3223. }
  3224. void Dispatch_response_msg::CopyFrom(const Dispatch_response_msg& from) {
  3225. // @@protoc_insertion_point(class_specific_copy_from_start:message.Dispatch_response_msg)
  3226. if (&from == this) return;
  3227. Clear();
  3228. MergeFrom(from);
  3229. }
  3230. bool Dispatch_response_msg::IsInitialized() const {
  3231. if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
  3232. if (has_base_info()) {
  3233. if (!this->base_info_->IsInitialized()) return false;
  3234. }
  3235. if (has_error_manager()) {
  3236. if (!this->error_manager_->IsInitialized()) return false;
  3237. }
  3238. return true;
  3239. }
  3240. void Dispatch_response_msg::Swap(Dispatch_response_msg* other) {
  3241. if (other == this) return;
  3242. InternalSwap(other);
  3243. }
  3244. void Dispatch_response_msg::InternalSwap(Dispatch_response_msg* other) {
  3245. using std::swap;
  3246. parkspace_info_ex_.InternalSwap(&other->parkspace_info_ex_);
  3247. command_key_.Swap(&other->command_key_);
  3248. swap(base_info_, other->base_info_);
  3249. swap(id_struct_, other->id_struct_);
  3250. swap(locate_information_, other->locate_information_);
  3251. swap(error_manager_, other->error_manager_);
  3252. swap(dispatch_motion_direction_, other->dispatch_motion_direction_);
  3253. swap(car_type_, other->car_type_);
  3254. swap(_has_bits_[0], other->_has_bits_[0]);
  3255. _internal_metadata_.Swap(&other->_internal_metadata_);
  3256. swap(_cached_size_, other->_cached_size_);
  3257. }
  3258. ::google::protobuf::Metadata Dispatch_response_msg::GetMetadata() const {
  3259. protobuf_dispatch_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  3260. return ::protobuf_dispatch_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages];
  3261. }
  3262. // ===================================================================
  3263. void Catcher_data::InitAsDefaultInstance() {
  3264. }
  3265. #if !defined(_MSC_VER) || _MSC_VER >= 1900
  3266. const int Catcher_data::kDispatchDeviceTypeFieldNumber;
  3267. const int Catcher_data::kDispatchDeviceStatusFieldNumber;
  3268. const int Catcher_data::kDeviceIdFieldNumber;
  3269. const int Catcher_data::kActualDeviceStatusFieldNumber;
  3270. const int Catcher_data::kActualLoadStatusFieldNumber;
  3271. const int Catcher_data::kActualCoordinatesIdFieldNumber;
  3272. const int Catcher_data::kActualXFieldNumber;
  3273. const int Catcher_data::kActualYFieldNumber;
  3274. const int Catcher_data::kActualBFieldNumber;
  3275. const int Catcher_data::kActualZFieldNumber;
  3276. const int Catcher_data::kActualD1FieldNumber;
  3277. const int Catcher_data::kActualD2FieldNumber;
  3278. const int Catcher_data::kActualClampMotion1FieldNumber;
  3279. const int Catcher_data::kActualClampMotion2FieldNumber;
  3280. const int Catcher_data::kActualClampMotion3FieldNumber;
  3281. const int Catcher_data::kActualClampMotion4FieldNumber;
  3282. const int Catcher_data::kActualErrorCodeFieldNumber;
  3283. const int Catcher_data::kActualWarningCodeFieldNumber;
  3284. const int Catcher_data::kActualErrorDescriptionFieldNumber;
  3285. #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
  3286. Catcher_data::Catcher_data()
  3287. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  3288. if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
  3289. ::protobuf_dispatch_5fmessage_2eproto::InitDefaultsCatcher_data();
  3290. }
  3291. SharedCtor();
  3292. // @@protoc_insertion_point(constructor:message.Catcher_data)
  3293. }
  3294. Catcher_data::Catcher_data(const Catcher_data& from)
  3295. : ::google::protobuf::Message(),
  3296. _internal_metadata_(NULL),
  3297. _has_bits_(from._has_bits_),
  3298. _cached_size_(0) {
  3299. _internal_metadata_.MergeFrom(from._internal_metadata_);
  3300. actual_error_code_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3301. if (from.has_actual_error_code()) {
  3302. actual_error_code_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.actual_error_code_);
  3303. }
  3304. actual_warning_code_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3305. if (from.has_actual_warning_code()) {
  3306. actual_warning_code_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.actual_warning_code_);
  3307. }
  3308. actual_error_description_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3309. if (from.has_actual_error_description()) {
  3310. actual_error_description_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.actual_error_description_);
  3311. }
  3312. ::memcpy(&dispatch_device_status_, &from.dispatch_device_status_,
  3313. static_cast<size_t>(reinterpret_cast<char*>(&dispatch_device_type_) -
  3314. reinterpret_cast<char*>(&dispatch_device_status_)) + sizeof(dispatch_device_type_));
  3315. // @@protoc_insertion_point(copy_constructor:message.Catcher_data)
  3316. }
  3317. void Catcher_data::SharedCtor() {
  3318. _cached_size_ = 0;
  3319. actual_error_code_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3320. actual_warning_code_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3321. actual_error_description_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3322. ::memset(&dispatch_device_status_, 0, static_cast<size_t>(
  3323. reinterpret_cast<char*>(&actual_clamp_motion4_) -
  3324. reinterpret_cast<char*>(&dispatch_device_status_)) + sizeof(actual_clamp_motion4_));
  3325. dispatch_device_type_ = 101;
  3326. }
  3327. Catcher_data::~Catcher_data() {
  3328. // @@protoc_insertion_point(destructor:message.Catcher_data)
  3329. SharedDtor();
  3330. }
  3331. void Catcher_data::SharedDtor() {
  3332. actual_error_code_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3333. actual_warning_code_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3334. actual_error_description_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3335. }
  3336. void Catcher_data::SetCachedSize(int size) const {
  3337. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3338. _cached_size_ = size;
  3339. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3340. }
  3341. const ::google::protobuf::Descriptor* Catcher_data::descriptor() {
  3342. ::protobuf_dispatch_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  3343. return ::protobuf_dispatch_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
  3344. }
  3345. const Catcher_data& Catcher_data::default_instance() {
  3346. ::protobuf_dispatch_5fmessage_2eproto::InitDefaultsCatcher_data();
  3347. return *internal_default_instance();
  3348. }
  3349. Catcher_data* Catcher_data::New(::google::protobuf::Arena* arena) const {
  3350. Catcher_data* n = new Catcher_data;
  3351. if (arena != NULL) {
  3352. arena->Own(n);
  3353. }
  3354. return n;
  3355. }
  3356. void Catcher_data::Clear() {
  3357. // @@protoc_insertion_point(message_clear_start:message.Catcher_data)
  3358. ::google::protobuf::uint32 cached_has_bits = 0;
  3359. // Prevent compiler warnings about cached_has_bits being unused
  3360. (void) cached_has_bits;
  3361. cached_has_bits = _has_bits_[0];
  3362. if (cached_has_bits & 7u) {
  3363. if (cached_has_bits & 0x00000001u) {
  3364. GOOGLE_DCHECK(!actual_error_code_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
  3365. (*actual_error_code_.UnsafeRawStringPointer())->clear();
  3366. }
  3367. if (cached_has_bits & 0x00000002u) {
  3368. GOOGLE_DCHECK(!actual_warning_code_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
  3369. (*actual_warning_code_.UnsafeRawStringPointer())->clear();
  3370. }
  3371. if (cached_has_bits & 0x00000004u) {
  3372. GOOGLE_DCHECK(!actual_error_description_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
  3373. (*actual_error_description_.UnsafeRawStringPointer())->clear();
  3374. }
  3375. }
  3376. if (cached_has_bits & 248u) {
  3377. ::memset(&dispatch_device_status_, 0, static_cast<size_t>(
  3378. reinterpret_cast<char*>(&actual_coordinates_id_) -
  3379. reinterpret_cast<char*>(&dispatch_device_status_)) + sizeof(actual_coordinates_id_));
  3380. }
  3381. if (cached_has_bits & 65280u) {
  3382. ::memset(&actual_x_, 0, static_cast<size_t>(
  3383. reinterpret_cast<char*>(&actual_clamp_motion2_) -
  3384. reinterpret_cast<char*>(&actual_x_)) + sizeof(actual_clamp_motion2_));
  3385. }
  3386. if (cached_has_bits & 458752u) {
  3387. ::memset(&actual_clamp_motion3_, 0, static_cast<size_t>(
  3388. reinterpret_cast<char*>(&actual_clamp_motion4_) -
  3389. reinterpret_cast<char*>(&actual_clamp_motion3_)) + sizeof(actual_clamp_motion4_));
  3390. dispatch_device_type_ = 101;
  3391. }
  3392. _has_bits_.Clear();
  3393. _internal_metadata_.Clear();
  3394. }
  3395. bool Catcher_data::MergePartialFromCodedStream(
  3396. ::google::protobuf::io::CodedInputStream* input) {
  3397. #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
  3398. ::google::protobuf::uint32 tag;
  3399. // @@protoc_insertion_point(parse_start:message.Catcher_data)
  3400. for (;;) {
  3401. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(16383u);
  3402. tag = p.first;
  3403. if (!p.second) goto handle_unusual;
  3404. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  3405. // required .message.Dispatch_device_type dispatch_device_type = 1;
  3406. case 1: {
  3407. if (static_cast< ::google::protobuf::uint8>(tag) ==
  3408. static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
  3409. int value;
  3410. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3411. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  3412. input, &value)));
  3413. if (::message::Dispatch_device_type_IsValid(value)) {
  3414. set_dispatch_device_type(static_cast< ::message::Dispatch_device_type >(value));
  3415. } else {
  3416. mutable_unknown_fields()->AddVarint(
  3417. 1, static_cast< ::google::protobuf::uint64>(value));
  3418. }
  3419. } else {
  3420. goto handle_unusual;
  3421. }
  3422. break;
  3423. }
  3424. // required .message.Dispatch_device_status dispatch_device_status = 2;
  3425. case 2: {
  3426. if (static_cast< ::google::protobuf::uint8>(tag) ==
  3427. static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
  3428. int value;
  3429. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3430. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  3431. input, &value)));
  3432. if (::message::Dispatch_device_status_IsValid(value)) {
  3433. set_dispatch_device_status(static_cast< ::message::Dispatch_device_status >(value));
  3434. } else {
  3435. mutable_unknown_fields()->AddVarint(
  3436. 2, static_cast< ::google::protobuf::uint64>(value));
  3437. }
  3438. } else {
  3439. goto handle_unusual;
  3440. }
  3441. break;
  3442. }
  3443. // required int32 device_id = 3;
  3444. case 3: {
  3445. if (static_cast< ::google::protobuf::uint8>(tag) ==
  3446. static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
  3447. set_has_device_id();
  3448. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3449. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  3450. input, &device_id_)));
  3451. } else {
  3452. goto handle_unusual;
  3453. }
  3454. break;
  3455. }
  3456. // optional .message.Hardware_device_status actual_device_status = 4;
  3457. case 4: {
  3458. if (static_cast< ::google::protobuf::uint8>(tag) ==
  3459. static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
  3460. int value;
  3461. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3462. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  3463. input, &value)));
  3464. if (::message::Hardware_device_status_IsValid(value)) {
  3465. set_actual_device_status(static_cast< ::message::Hardware_device_status >(value));
  3466. } else {
  3467. mutable_unknown_fields()->AddVarint(
  3468. 4, static_cast< ::google::protobuf::uint64>(value));
  3469. }
  3470. } else {
  3471. goto handle_unusual;
  3472. }
  3473. break;
  3474. }
  3475. // optional .message.Load_status actual_load_status = 5;
  3476. case 5: {
  3477. if (static_cast< ::google::protobuf::uint8>(tag) ==
  3478. static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
  3479. int value;
  3480. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3481. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  3482. input, &value)));
  3483. if (::message::Load_status_IsValid(value)) {
  3484. set_actual_load_status(static_cast< ::message::Load_status >(value));
  3485. } else {
  3486. mutable_unknown_fields()->AddVarint(
  3487. 5, static_cast< ::google::protobuf::uint64>(value));
  3488. }
  3489. } else {
  3490. goto handle_unusual;
  3491. }
  3492. break;
  3493. }
  3494. // optional int32 actual_coordinates_id = 6;
  3495. case 6: {
  3496. if (static_cast< ::google::protobuf::uint8>(tag) ==
  3497. static_cast< ::google::protobuf::uint8>(48u /* 48 & 0xFF */)) {
  3498. set_has_actual_coordinates_id();
  3499. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3500. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  3501. input, &actual_coordinates_id_)));
  3502. } else {
  3503. goto handle_unusual;
  3504. }
  3505. break;
  3506. }
  3507. // optional float actual_x = 7;
  3508. case 7: {
  3509. if (static_cast< ::google::protobuf::uint8>(tag) ==
  3510. static_cast< ::google::protobuf::uint8>(61u /* 61 & 0xFF */)) {
  3511. set_has_actual_x();
  3512. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3513. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  3514. input, &actual_x_)));
  3515. } else {
  3516. goto handle_unusual;
  3517. }
  3518. break;
  3519. }
  3520. // optional float actual_y = 8;
  3521. case 8: {
  3522. if (static_cast< ::google::protobuf::uint8>(tag) ==
  3523. static_cast< ::google::protobuf::uint8>(69u /* 69 & 0xFF */)) {
  3524. set_has_actual_y();
  3525. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3526. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  3527. input, &actual_y_)));
  3528. } else {
  3529. goto handle_unusual;
  3530. }
  3531. break;
  3532. }
  3533. // optional float actual_b = 9;
  3534. case 9: {
  3535. if (static_cast< ::google::protobuf::uint8>(tag) ==
  3536. static_cast< ::google::protobuf::uint8>(77u /* 77 & 0xFF */)) {
  3537. set_has_actual_b();
  3538. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3539. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  3540. input, &actual_b_)));
  3541. } else {
  3542. goto handle_unusual;
  3543. }
  3544. break;
  3545. }
  3546. // optional float actual_z = 10;
  3547. case 10: {
  3548. if (static_cast< ::google::protobuf::uint8>(tag) ==
  3549. static_cast< ::google::protobuf::uint8>(85u /* 85 & 0xFF */)) {
  3550. set_has_actual_z();
  3551. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3552. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  3553. input, &actual_z_)));
  3554. } else {
  3555. goto handle_unusual;
  3556. }
  3557. break;
  3558. }
  3559. // optional float actual_d1 = 11;
  3560. case 11: {
  3561. if (static_cast< ::google::protobuf::uint8>(tag) ==
  3562. static_cast< ::google::protobuf::uint8>(93u /* 93 & 0xFF */)) {
  3563. set_has_actual_d1();
  3564. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3565. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  3566. input, &actual_d1_)));
  3567. } else {
  3568. goto handle_unusual;
  3569. }
  3570. break;
  3571. }
  3572. // optional float actual_d2 = 12;
  3573. case 12: {
  3574. if (static_cast< ::google::protobuf::uint8>(tag) ==
  3575. static_cast< ::google::protobuf::uint8>(101u /* 101 & 0xFF */)) {
  3576. set_has_actual_d2();
  3577. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3578. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  3579. input, &actual_d2_)));
  3580. } else {
  3581. goto handle_unusual;
  3582. }
  3583. break;
  3584. }
  3585. // optional .message.Clamp_motion actual_clamp_motion1 = 13;
  3586. case 13: {
  3587. if (static_cast< ::google::protobuf::uint8>(tag) ==
  3588. static_cast< ::google::protobuf::uint8>(104u /* 104 & 0xFF */)) {
  3589. int value;
  3590. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3591. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  3592. input, &value)));
  3593. if (::message::Clamp_motion_IsValid(value)) {
  3594. set_actual_clamp_motion1(static_cast< ::message::Clamp_motion >(value));
  3595. } else {
  3596. mutable_unknown_fields()->AddVarint(
  3597. 13, static_cast< ::google::protobuf::uint64>(value));
  3598. }
  3599. } else {
  3600. goto handle_unusual;
  3601. }
  3602. break;
  3603. }
  3604. // optional .message.Clamp_motion actual_clamp_motion2 = 14;
  3605. case 14: {
  3606. if (static_cast< ::google::protobuf::uint8>(tag) ==
  3607. static_cast< ::google::protobuf::uint8>(112u /* 112 & 0xFF */)) {
  3608. int value;
  3609. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3610. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  3611. input, &value)));
  3612. if (::message::Clamp_motion_IsValid(value)) {
  3613. set_actual_clamp_motion2(static_cast< ::message::Clamp_motion >(value));
  3614. } else {
  3615. mutable_unknown_fields()->AddVarint(
  3616. 14, static_cast< ::google::protobuf::uint64>(value));
  3617. }
  3618. } else {
  3619. goto handle_unusual;
  3620. }
  3621. break;
  3622. }
  3623. // optional .message.Clamp_motion actual_clamp_motion3 = 15;
  3624. case 15: {
  3625. if (static_cast< ::google::protobuf::uint8>(tag) ==
  3626. static_cast< ::google::protobuf::uint8>(120u /* 120 & 0xFF */)) {
  3627. int value;
  3628. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3629. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  3630. input, &value)));
  3631. if (::message::Clamp_motion_IsValid(value)) {
  3632. set_actual_clamp_motion3(static_cast< ::message::Clamp_motion >(value));
  3633. } else {
  3634. mutable_unknown_fields()->AddVarint(
  3635. 15, static_cast< ::google::protobuf::uint64>(value));
  3636. }
  3637. } else {
  3638. goto handle_unusual;
  3639. }
  3640. break;
  3641. }
  3642. // optional .message.Clamp_motion actual_clamp_motion4 = 16;
  3643. case 16: {
  3644. if (static_cast< ::google::protobuf::uint8>(tag) ==
  3645. static_cast< ::google::protobuf::uint8>(128u /* 128 & 0xFF */)) {
  3646. int value;
  3647. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3648. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  3649. input, &value)));
  3650. if (::message::Clamp_motion_IsValid(value)) {
  3651. set_actual_clamp_motion4(static_cast< ::message::Clamp_motion >(value));
  3652. } else {
  3653. mutable_unknown_fields()->AddVarint(
  3654. 16, static_cast< ::google::protobuf::uint64>(value));
  3655. }
  3656. } else {
  3657. goto handle_unusual;
  3658. }
  3659. break;
  3660. }
  3661. // optional string actual_error_code = 17;
  3662. case 17: {
  3663. if (static_cast< ::google::protobuf::uint8>(tag) ==
  3664. static_cast< ::google::protobuf::uint8>(138u /* 138 & 0xFF */)) {
  3665. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  3666. input, this->mutable_actual_error_code()));
  3667. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  3668. this->actual_error_code().data(), static_cast<int>(this->actual_error_code().length()),
  3669. ::google::protobuf::internal::WireFormat::PARSE,
  3670. "message.Catcher_data.actual_error_code");
  3671. } else {
  3672. goto handle_unusual;
  3673. }
  3674. break;
  3675. }
  3676. // optional string actual_warning_code = 18;
  3677. case 18: {
  3678. if (static_cast< ::google::protobuf::uint8>(tag) ==
  3679. static_cast< ::google::protobuf::uint8>(146u /* 146 & 0xFF */)) {
  3680. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  3681. input, this->mutable_actual_warning_code()));
  3682. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  3683. this->actual_warning_code().data(), static_cast<int>(this->actual_warning_code().length()),
  3684. ::google::protobuf::internal::WireFormat::PARSE,
  3685. "message.Catcher_data.actual_warning_code");
  3686. } else {
  3687. goto handle_unusual;
  3688. }
  3689. break;
  3690. }
  3691. // optional string actual_error_description = 19;
  3692. case 19: {
  3693. if (static_cast< ::google::protobuf::uint8>(tag) ==
  3694. static_cast< ::google::protobuf::uint8>(154u /* 154 & 0xFF */)) {
  3695. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  3696. input, this->mutable_actual_error_description()));
  3697. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  3698. this->actual_error_description().data(), static_cast<int>(this->actual_error_description().length()),
  3699. ::google::protobuf::internal::WireFormat::PARSE,
  3700. "message.Catcher_data.actual_error_description");
  3701. } else {
  3702. goto handle_unusual;
  3703. }
  3704. break;
  3705. }
  3706. default: {
  3707. handle_unusual:
  3708. if (tag == 0) {
  3709. goto success;
  3710. }
  3711. DO_(::google::protobuf::internal::WireFormat::SkipField(
  3712. input, tag, _internal_metadata_.mutable_unknown_fields()));
  3713. break;
  3714. }
  3715. }
  3716. }
  3717. success:
  3718. // @@protoc_insertion_point(parse_success:message.Catcher_data)
  3719. return true;
  3720. failure:
  3721. // @@protoc_insertion_point(parse_failure:message.Catcher_data)
  3722. return false;
  3723. #undef DO_
  3724. }
  3725. void Catcher_data::SerializeWithCachedSizes(
  3726. ::google::protobuf::io::CodedOutputStream* output) const {
  3727. // @@protoc_insertion_point(serialize_start:message.Catcher_data)
  3728. ::google::protobuf::uint32 cached_has_bits = 0;
  3729. (void) cached_has_bits;
  3730. cached_has_bits = _has_bits_[0];
  3731. // required .message.Dispatch_device_type dispatch_device_type = 1;
  3732. if (cached_has_bits & 0x00040000u) {
  3733. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  3734. 1, this->dispatch_device_type(), output);
  3735. }
  3736. // required .message.Dispatch_device_status dispatch_device_status = 2;
  3737. if (cached_has_bits & 0x00000008u) {
  3738. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  3739. 2, this->dispatch_device_status(), output);
  3740. }
  3741. // required int32 device_id = 3;
  3742. if (cached_has_bits & 0x00000010u) {
  3743. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->device_id(), output);
  3744. }
  3745. // optional .message.Hardware_device_status actual_device_status = 4;
  3746. if (cached_has_bits & 0x00000020u) {
  3747. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  3748. 4, this->actual_device_status(), output);
  3749. }
  3750. // optional .message.Load_status actual_load_status = 5;
  3751. if (cached_has_bits & 0x00000040u) {
  3752. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  3753. 5, this->actual_load_status(), output);
  3754. }
  3755. // optional int32 actual_coordinates_id = 6;
  3756. if (cached_has_bits & 0x00000080u) {
  3757. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->actual_coordinates_id(), output);
  3758. }
  3759. // optional float actual_x = 7;
  3760. if (cached_has_bits & 0x00000100u) {
  3761. ::google::protobuf::internal::WireFormatLite::WriteFloat(7, this->actual_x(), output);
  3762. }
  3763. // optional float actual_y = 8;
  3764. if (cached_has_bits & 0x00000200u) {
  3765. ::google::protobuf::internal::WireFormatLite::WriteFloat(8, this->actual_y(), output);
  3766. }
  3767. // optional float actual_b = 9;
  3768. if (cached_has_bits & 0x00000400u) {
  3769. ::google::protobuf::internal::WireFormatLite::WriteFloat(9, this->actual_b(), output);
  3770. }
  3771. // optional float actual_z = 10;
  3772. if (cached_has_bits & 0x00000800u) {
  3773. ::google::protobuf::internal::WireFormatLite::WriteFloat(10, this->actual_z(), output);
  3774. }
  3775. // optional float actual_d1 = 11;
  3776. if (cached_has_bits & 0x00001000u) {
  3777. ::google::protobuf::internal::WireFormatLite::WriteFloat(11, this->actual_d1(), output);
  3778. }
  3779. // optional float actual_d2 = 12;
  3780. if (cached_has_bits & 0x00002000u) {
  3781. ::google::protobuf::internal::WireFormatLite::WriteFloat(12, this->actual_d2(), output);
  3782. }
  3783. // optional .message.Clamp_motion actual_clamp_motion1 = 13;
  3784. if (cached_has_bits & 0x00004000u) {
  3785. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  3786. 13, this->actual_clamp_motion1(), output);
  3787. }
  3788. // optional .message.Clamp_motion actual_clamp_motion2 = 14;
  3789. if (cached_has_bits & 0x00008000u) {
  3790. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  3791. 14, this->actual_clamp_motion2(), output);
  3792. }
  3793. // optional .message.Clamp_motion actual_clamp_motion3 = 15;
  3794. if (cached_has_bits & 0x00010000u) {
  3795. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  3796. 15, this->actual_clamp_motion3(), output);
  3797. }
  3798. // optional .message.Clamp_motion actual_clamp_motion4 = 16;
  3799. if (cached_has_bits & 0x00020000u) {
  3800. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  3801. 16, this->actual_clamp_motion4(), output);
  3802. }
  3803. // optional string actual_error_code = 17;
  3804. if (cached_has_bits & 0x00000001u) {
  3805. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  3806. this->actual_error_code().data(), static_cast<int>(this->actual_error_code().length()),
  3807. ::google::protobuf::internal::WireFormat::SERIALIZE,
  3808. "message.Catcher_data.actual_error_code");
  3809. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  3810. 17, this->actual_error_code(), output);
  3811. }
  3812. // optional string actual_warning_code = 18;
  3813. if (cached_has_bits & 0x00000002u) {
  3814. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  3815. this->actual_warning_code().data(), static_cast<int>(this->actual_warning_code().length()),
  3816. ::google::protobuf::internal::WireFormat::SERIALIZE,
  3817. "message.Catcher_data.actual_warning_code");
  3818. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  3819. 18, this->actual_warning_code(), output);
  3820. }
  3821. // optional string actual_error_description = 19;
  3822. if (cached_has_bits & 0x00000004u) {
  3823. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  3824. this->actual_error_description().data(), static_cast<int>(this->actual_error_description().length()),
  3825. ::google::protobuf::internal::WireFormat::SERIALIZE,
  3826. "message.Catcher_data.actual_error_description");
  3827. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  3828. 19, this->actual_error_description(), output);
  3829. }
  3830. if (_internal_metadata_.have_unknown_fields()) {
  3831. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  3832. _internal_metadata_.unknown_fields(), output);
  3833. }
  3834. // @@protoc_insertion_point(serialize_end:message.Catcher_data)
  3835. }
  3836. ::google::protobuf::uint8* Catcher_data::InternalSerializeWithCachedSizesToArray(
  3837. bool deterministic, ::google::protobuf::uint8* target) const {
  3838. (void)deterministic; // Unused
  3839. // @@protoc_insertion_point(serialize_to_array_start:message.Catcher_data)
  3840. ::google::protobuf::uint32 cached_has_bits = 0;
  3841. (void) cached_has_bits;
  3842. cached_has_bits = _has_bits_[0];
  3843. // required .message.Dispatch_device_type dispatch_device_type = 1;
  3844. if (cached_has_bits & 0x00040000u) {
  3845. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  3846. 1, this->dispatch_device_type(), target);
  3847. }
  3848. // required .message.Dispatch_device_status dispatch_device_status = 2;
  3849. if (cached_has_bits & 0x00000008u) {
  3850. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  3851. 2, this->dispatch_device_status(), target);
  3852. }
  3853. // required int32 device_id = 3;
  3854. if (cached_has_bits & 0x00000010u) {
  3855. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->device_id(), target);
  3856. }
  3857. // optional .message.Hardware_device_status actual_device_status = 4;
  3858. if (cached_has_bits & 0x00000020u) {
  3859. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  3860. 4, this->actual_device_status(), target);
  3861. }
  3862. // optional .message.Load_status actual_load_status = 5;
  3863. if (cached_has_bits & 0x00000040u) {
  3864. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  3865. 5, this->actual_load_status(), target);
  3866. }
  3867. // optional int32 actual_coordinates_id = 6;
  3868. if (cached_has_bits & 0x00000080u) {
  3869. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->actual_coordinates_id(), target);
  3870. }
  3871. // optional float actual_x = 7;
  3872. if (cached_has_bits & 0x00000100u) {
  3873. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(7, this->actual_x(), target);
  3874. }
  3875. // optional float actual_y = 8;
  3876. if (cached_has_bits & 0x00000200u) {
  3877. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(8, this->actual_y(), target);
  3878. }
  3879. // optional float actual_b = 9;
  3880. if (cached_has_bits & 0x00000400u) {
  3881. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(9, this->actual_b(), target);
  3882. }
  3883. // optional float actual_z = 10;
  3884. if (cached_has_bits & 0x00000800u) {
  3885. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(10, this->actual_z(), target);
  3886. }
  3887. // optional float actual_d1 = 11;
  3888. if (cached_has_bits & 0x00001000u) {
  3889. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(11, this->actual_d1(), target);
  3890. }
  3891. // optional float actual_d2 = 12;
  3892. if (cached_has_bits & 0x00002000u) {
  3893. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(12, this->actual_d2(), target);
  3894. }
  3895. // optional .message.Clamp_motion actual_clamp_motion1 = 13;
  3896. if (cached_has_bits & 0x00004000u) {
  3897. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  3898. 13, this->actual_clamp_motion1(), target);
  3899. }
  3900. // optional .message.Clamp_motion actual_clamp_motion2 = 14;
  3901. if (cached_has_bits & 0x00008000u) {
  3902. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  3903. 14, this->actual_clamp_motion2(), target);
  3904. }
  3905. // optional .message.Clamp_motion actual_clamp_motion3 = 15;
  3906. if (cached_has_bits & 0x00010000u) {
  3907. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  3908. 15, this->actual_clamp_motion3(), target);
  3909. }
  3910. // optional .message.Clamp_motion actual_clamp_motion4 = 16;
  3911. if (cached_has_bits & 0x00020000u) {
  3912. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  3913. 16, this->actual_clamp_motion4(), target);
  3914. }
  3915. // optional string actual_error_code = 17;
  3916. if (cached_has_bits & 0x00000001u) {
  3917. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  3918. this->actual_error_code().data(), static_cast<int>(this->actual_error_code().length()),
  3919. ::google::protobuf::internal::WireFormat::SERIALIZE,
  3920. "message.Catcher_data.actual_error_code");
  3921. target =
  3922. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  3923. 17, this->actual_error_code(), target);
  3924. }
  3925. // optional string actual_warning_code = 18;
  3926. if (cached_has_bits & 0x00000002u) {
  3927. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  3928. this->actual_warning_code().data(), static_cast<int>(this->actual_warning_code().length()),
  3929. ::google::protobuf::internal::WireFormat::SERIALIZE,
  3930. "message.Catcher_data.actual_warning_code");
  3931. target =
  3932. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  3933. 18, this->actual_warning_code(), target);
  3934. }
  3935. // optional string actual_error_description = 19;
  3936. if (cached_has_bits & 0x00000004u) {
  3937. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  3938. this->actual_error_description().data(), static_cast<int>(this->actual_error_description().length()),
  3939. ::google::protobuf::internal::WireFormat::SERIALIZE,
  3940. "message.Catcher_data.actual_error_description");
  3941. target =
  3942. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  3943. 19, this->actual_error_description(), target);
  3944. }
  3945. if (_internal_metadata_.have_unknown_fields()) {
  3946. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  3947. _internal_metadata_.unknown_fields(), target);
  3948. }
  3949. // @@protoc_insertion_point(serialize_to_array_end:message.Catcher_data)
  3950. return target;
  3951. }
  3952. size_t Catcher_data::RequiredFieldsByteSizeFallback() const {
  3953. // @@protoc_insertion_point(required_fields_byte_size_fallback_start:message.Catcher_data)
  3954. size_t total_size = 0;
  3955. if (has_dispatch_device_status()) {
  3956. // required .message.Dispatch_device_status dispatch_device_status = 2;
  3957. total_size += 1 +
  3958. ::google::protobuf::internal::WireFormatLite::EnumSize(this->dispatch_device_status());
  3959. }
  3960. if (has_device_id()) {
  3961. // required int32 device_id = 3;
  3962. total_size += 1 +
  3963. ::google::protobuf::internal::WireFormatLite::Int32Size(
  3964. this->device_id());
  3965. }
  3966. if (has_dispatch_device_type()) {
  3967. // required .message.Dispatch_device_type dispatch_device_type = 1;
  3968. total_size += 1 +
  3969. ::google::protobuf::internal::WireFormatLite::EnumSize(this->dispatch_device_type());
  3970. }
  3971. return total_size;
  3972. }
  3973. size_t Catcher_data::ByteSizeLong() const {
  3974. // @@protoc_insertion_point(message_byte_size_start:message.Catcher_data)
  3975. size_t total_size = 0;
  3976. if (_internal_metadata_.have_unknown_fields()) {
  3977. total_size +=
  3978. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  3979. _internal_metadata_.unknown_fields());
  3980. }
  3981. if (((_has_bits_[0] & 0x00040018) ^ 0x00040018) == 0) { // All required fields are present.
  3982. // required .message.Dispatch_device_status dispatch_device_status = 2;
  3983. total_size += 1 +
  3984. ::google::protobuf::internal::WireFormatLite::EnumSize(this->dispatch_device_status());
  3985. // required int32 device_id = 3;
  3986. total_size += 1 +
  3987. ::google::protobuf::internal::WireFormatLite::Int32Size(
  3988. this->device_id());
  3989. // required .message.Dispatch_device_type dispatch_device_type = 1;
  3990. total_size += 1 +
  3991. ::google::protobuf::internal::WireFormatLite::EnumSize(this->dispatch_device_type());
  3992. } else {
  3993. total_size += RequiredFieldsByteSizeFallback();
  3994. }
  3995. if (_has_bits_[0 / 32] & 7u) {
  3996. // optional string actual_error_code = 17;
  3997. if (has_actual_error_code()) {
  3998. total_size += 2 +
  3999. ::google::protobuf::internal::WireFormatLite::StringSize(
  4000. this->actual_error_code());
  4001. }
  4002. // optional string actual_warning_code = 18;
  4003. if (has_actual_warning_code()) {
  4004. total_size += 2 +
  4005. ::google::protobuf::internal::WireFormatLite::StringSize(
  4006. this->actual_warning_code());
  4007. }
  4008. // optional string actual_error_description = 19;
  4009. if (has_actual_error_description()) {
  4010. total_size += 2 +
  4011. ::google::protobuf::internal::WireFormatLite::StringSize(
  4012. this->actual_error_description());
  4013. }
  4014. }
  4015. if (_has_bits_[0 / 32] & 224u) {
  4016. // optional .message.Hardware_device_status actual_device_status = 4;
  4017. if (has_actual_device_status()) {
  4018. total_size += 1 +
  4019. ::google::protobuf::internal::WireFormatLite::EnumSize(this->actual_device_status());
  4020. }
  4021. // optional .message.Load_status actual_load_status = 5;
  4022. if (has_actual_load_status()) {
  4023. total_size += 1 +
  4024. ::google::protobuf::internal::WireFormatLite::EnumSize(this->actual_load_status());
  4025. }
  4026. // optional int32 actual_coordinates_id = 6;
  4027. if (has_actual_coordinates_id()) {
  4028. total_size += 1 +
  4029. ::google::protobuf::internal::WireFormatLite::Int32Size(
  4030. this->actual_coordinates_id());
  4031. }
  4032. }
  4033. if (_has_bits_[8 / 32] & 65280u) {
  4034. // optional float actual_x = 7;
  4035. if (has_actual_x()) {
  4036. total_size += 1 + 4;
  4037. }
  4038. // optional float actual_y = 8;
  4039. if (has_actual_y()) {
  4040. total_size += 1 + 4;
  4041. }
  4042. // optional float actual_b = 9;
  4043. if (has_actual_b()) {
  4044. total_size += 1 + 4;
  4045. }
  4046. // optional float actual_z = 10;
  4047. if (has_actual_z()) {
  4048. total_size += 1 + 4;
  4049. }
  4050. // optional float actual_d1 = 11;
  4051. if (has_actual_d1()) {
  4052. total_size += 1 + 4;
  4053. }
  4054. // optional float actual_d2 = 12;
  4055. if (has_actual_d2()) {
  4056. total_size += 1 + 4;
  4057. }
  4058. // optional .message.Clamp_motion actual_clamp_motion1 = 13;
  4059. if (has_actual_clamp_motion1()) {
  4060. total_size += 1 +
  4061. ::google::protobuf::internal::WireFormatLite::EnumSize(this->actual_clamp_motion1());
  4062. }
  4063. // optional .message.Clamp_motion actual_clamp_motion2 = 14;
  4064. if (has_actual_clamp_motion2()) {
  4065. total_size += 1 +
  4066. ::google::protobuf::internal::WireFormatLite::EnumSize(this->actual_clamp_motion2());
  4067. }
  4068. }
  4069. if (_has_bits_[16 / 32] & 196608u) {
  4070. // optional .message.Clamp_motion actual_clamp_motion3 = 15;
  4071. if (has_actual_clamp_motion3()) {
  4072. total_size += 1 +
  4073. ::google::protobuf::internal::WireFormatLite::EnumSize(this->actual_clamp_motion3());
  4074. }
  4075. // optional .message.Clamp_motion actual_clamp_motion4 = 16;
  4076. if (has_actual_clamp_motion4()) {
  4077. total_size += 2 +
  4078. ::google::protobuf::internal::WireFormatLite::EnumSize(this->actual_clamp_motion4());
  4079. }
  4080. }
  4081. int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
  4082. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4083. _cached_size_ = cached_size;
  4084. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4085. return total_size;
  4086. }
  4087. void Catcher_data::MergeFrom(const ::google::protobuf::Message& from) {
  4088. // @@protoc_insertion_point(generalized_merge_from_start:message.Catcher_data)
  4089. GOOGLE_DCHECK_NE(&from, this);
  4090. const Catcher_data* source =
  4091. ::google::protobuf::internal::DynamicCastToGenerated<const Catcher_data>(
  4092. &from);
  4093. if (source == NULL) {
  4094. // @@protoc_insertion_point(generalized_merge_from_cast_fail:message.Catcher_data)
  4095. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  4096. } else {
  4097. // @@protoc_insertion_point(generalized_merge_from_cast_success:message.Catcher_data)
  4098. MergeFrom(*source);
  4099. }
  4100. }
  4101. void Catcher_data::MergeFrom(const Catcher_data& from) {
  4102. // @@protoc_insertion_point(class_specific_merge_from_start:message.Catcher_data)
  4103. GOOGLE_DCHECK_NE(&from, this);
  4104. _internal_metadata_.MergeFrom(from._internal_metadata_);
  4105. ::google::protobuf::uint32 cached_has_bits = 0;
  4106. (void) cached_has_bits;
  4107. cached_has_bits = from._has_bits_[0];
  4108. if (cached_has_bits & 255u) {
  4109. if (cached_has_bits & 0x00000001u) {
  4110. set_has_actual_error_code();
  4111. actual_error_code_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.actual_error_code_);
  4112. }
  4113. if (cached_has_bits & 0x00000002u) {
  4114. set_has_actual_warning_code();
  4115. actual_warning_code_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.actual_warning_code_);
  4116. }
  4117. if (cached_has_bits & 0x00000004u) {
  4118. set_has_actual_error_description();
  4119. actual_error_description_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.actual_error_description_);
  4120. }
  4121. if (cached_has_bits & 0x00000008u) {
  4122. dispatch_device_status_ = from.dispatch_device_status_;
  4123. }
  4124. if (cached_has_bits & 0x00000010u) {
  4125. device_id_ = from.device_id_;
  4126. }
  4127. if (cached_has_bits & 0x00000020u) {
  4128. actual_device_status_ = from.actual_device_status_;
  4129. }
  4130. if (cached_has_bits & 0x00000040u) {
  4131. actual_load_status_ = from.actual_load_status_;
  4132. }
  4133. if (cached_has_bits & 0x00000080u) {
  4134. actual_coordinates_id_ = from.actual_coordinates_id_;
  4135. }
  4136. _has_bits_[0] |= cached_has_bits;
  4137. }
  4138. if (cached_has_bits & 65280u) {
  4139. if (cached_has_bits & 0x00000100u) {
  4140. actual_x_ = from.actual_x_;
  4141. }
  4142. if (cached_has_bits & 0x00000200u) {
  4143. actual_y_ = from.actual_y_;
  4144. }
  4145. if (cached_has_bits & 0x00000400u) {
  4146. actual_b_ = from.actual_b_;
  4147. }
  4148. if (cached_has_bits & 0x00000800u) {
  4149. actual_z_ = from.actual_z_;
  4150. }
  4151. if (cached_has_bits & 0x00001000u) {
  4152. actual_d1_ = from.actual_d1_;
  4153. }
  4154. if (cached_has_bits & 0x00002000u) {
  4155. actual_d2_ = from.actual_d2_;
  4156. }
  4157. if (cached_has_bits & 0x00004000u) {
  4158. actual_clamp_motion1_ = from.actual_clamp_motion1_;
  4159. }
  4160. if (cached_has_bits & 0x00008000u) {
  4161. actual_clamp_motion2_ = from.actual_clamp_motion2_;
  4162. }
  4163. _has_bits_[0] |= cached_has_bits;
  4164. }
  4165. if (cached_has_bits & 458752u) {
  4166. if (cached_has_bits & 0x00010000u) {
  4167. actual_clamp_motion3_ = from.actual_clamp_motion3_;
  4168. }
  4169. if (cached_has_bits & 0x00020000u) {
  4170. actual_clamp_motion4_ = from.actual_clamp_motion4_;
  4171. }
  4172. if (cached_has_bits & 0x00040000u) {
  4173. dispatch_device_type_ = from.dispatch_device_type_;
  4174. }
  4175. _has_bits_[0] |= cached_has_bits;
  4176. }
  4177. }
  4178. void Catcher_data::CopyFrom(const ::google::protobuf::Message& from) {
  4179. // @@protoc_insertion_point(generalized_copy_from_start:message.Catcher_data)
  4180. if (&from == this) return;
  4181. Clear();
  4182. MergeFrom(from);
  4183. }
  4184. void Catcher_data::CopyFrom(const Catcher_data& from) {
  4185. // @@protoc_insertion_point(class_specific_copy_from_start:message.Catcher_data)
  4186. if (&from == this) return;
  4187. Clear();
  4188. MergeFrom(from);
  4189. }
  4190. bool Catcher_data::IsInitialized() const {
  4191. if ((_has_bits_[0] & 0x00040018) != 0x00040018) return false;
  4192. return true;
  4193. }
  4194. void Catcher_data::Swap(Catcher_data* other) {
  4195. if (other == this) return;
  4196. InternalSwap(other);
  4197. }
  4198. void Catcher_data::InternalSwap(Catcher_data* other) {
  4199. using std::swap;
  4200. actual_error_code_.Swap(&other->actual_error_code_);
  4201. actual_warning_code_.Swap(&other->actual_warning_code_);
  4202. actual_error_description_.Swap(&other->actual_error_description_);
  4203. swap(dispatch_device_status_, other->dispatch_device_status_);
  4204. swap(device_id_, other->device_id_);
  4205. swap(actual_device_status_, other->actual_device_status_);
  4206. swap(actual_load_status_, other->actual_load_status_);
  4207. swap(actual_coordinates_id_, other->actual_coordinates_id_);
  4208. swap(actual_x_, other->actual_x_);
  4209. swap(actual_y_, other->actual_y_);
  4210. swap(actual_b_, other->actual_b_);
  4211. swap(actual_z_, other->actual_z_);
  4212. swap(actual_d1_, other->actual_d1_);
  4213. swap(actual_d2_, other->actual_d2_);
  4214. swap(actual_clamp_motion1_, other->actual_clamp_motion1_);
  4215. swap(actual_clamp_motion2_, other->actual_clamp_motion2_);
  4216. swap(actual_clamp_motion3_, other->actual_clamp_motion3_);
  4217. swap(actual_clamp_motion4_, other->actual_clamp_motion4_);
  4218. swap(dispatch_device_type_, other->dispatch_device_type_);
  4219. swap(_has_bits_[0], other->_has_bits_[0]);
  4220. _internal_metadata_.Swap(&other->_internal_metadata_);
  4221. swap(_cached_size_, other->_cached_size_);
  4222. }
  4223. ::google::protobuf::Metadata Catcher_data::GetMetadata() const {
  4224. protobuf_dispatch_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  4225. return ::protobuf_dispatch_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages];
  4226. }
  4227. // ===================================================================
  4228. void Carrier_data::InitAsDefaultInstance() {
  4229. }
  4230. #if !defined(_MSC_VER) || _MSC_VER >= 1900
  4231. const int Carrier_data::kDispatchDeviceTypeFieldNumber;
  4232. const int Carrier_data::kDispatchDeviceStatusFieldNumber;
  4233. const int Carrier_data::kDeviceIdFieldNumber;
  4234. const int Carrier_data::kActualDeviceStatusFieldNumber;
  4235. const int Carrier_data::kActualLoadStatusFieldNumber;
  4236. const int Carrier_data::kActualCoordinatesIdFieldNumber;
  4237. const int Carrier_data::kActualXFieldNumber;
  4238. const int Carrier_data::kActualYFieldNumber;
  4239. const int Carrier_data::kActualZFieldNumber;
  4240. const int Carrier_data::kActualY1FieldNumber;
  4241. const int Carrier_data::kActualY2FieldNumber;
  4242. const int Carrier_data::kActualClampMotion1FieldNumber;
  4243. const int Carrier_data::kActualClampMotion2FieldNumber;
  4244. const int Carrier_data::kActualSmallSportsCarMotionFieldNumber;
  4245. const int Carrier_data::kActualJointMotionX1FieldNumber;
  4246. const int Carrier_data::kActualJointMotionX2FieldNumber;
  4247. const int Carrier_data::kActualErrorCodeFieldNumber;
  4248. const int Carrier_data::kActualWarningCodeFieldNumber;
  4249. const int Carrier_data::kActualErrorDescriptionFieldNumber;
  4250. #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
  4251. Carrier_data::Carrier_data()
  4252. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  4253. if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
  4254. ::protobuf_dispatch_5fmessage_2eproto::InitDefaultsCarrier_data();
  4255. }
  4256. SharedCtor();
  4257. // @@protoc_insertion_point(constructor:message.Carrier_data)
  4258. }
  4259. Carrier_data::Carrier_data(const Carrier_data& from)
  4260. : ::google::protobuf::Message(),
  4261. _internal_metadata_(NULL),
  4262. _has_bits_(from._has_bits_),
  4263. _cached_size_(0) {
  4264. _internal_metadata_.MergeFrom(from._internal_metadata_);
  4265. actual_error_code_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  4266. if (from.has_actual_error_code()) {
  4267. actual_error_code_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.actual_error_code_);
  4268. }
  4269. actual_warning_code_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  4270. if (from.has_actual_warning_code()) {
  4271. actual_warning_code_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.actual_warning_code_);
  4272. }
  4273. actual_error_description_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  4274. if (from.has_actual_error_description()) {
  4275. actual_error_description_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.actual_error_description_);
  4276. }
  4277. ::memcpy(&dispatch_device_status_, &from.dispatch_device_status_,
  4278. static_cast<size_t>(reinterpret_cast<char*>(&dispatch_device_type_) -
  4279. reinterpret_cast<char*>(&dispatch_device_status_)) + sizeof(dispatch_device_type_));
  4280. // @@protoc_insertion_point(copy_constructor:message.Carrier_data)
  4281. }
  4282. void Carrier_data::SharedCtor() {
  4283. _cached_size_ = 0;
  4284. actual_error_code_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  4285. actual_warning_code_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  4286. actual_error_description_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  4287. ::memset(&dispatch_device_status_, 0, static_cast<size_t>(
  4288. reinterpret_cast<char*>(&actual_joint_motion_x2_) -
  4289. reinterpret_cast<char*>(&dispatch_device_status_)) + sizeof(actual_joint_motion_x2_));
  4290. dispatch_device_type_ = 101;
  4291. }
  4292. Carrier_data::~Carrier_data() {
  4293. // @@protoc_insertion_point(destructor:message.Carrier_data)
  4294. SharedDtor();
  4295. }
  4296. void Carrier_data::SharedDtor() {
  4297. actual_error_code_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  4298. actual_warning_code_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  4299. actual_error_description_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  4300. }
  4301. void Carrier_data::SetCachedSize(int size) const {
  4302. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4303. _cached_size_ = size;
  4304. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4305. }
  4306. const ::google::protobuf::Descriptor* Carrier_data::descriptor() {
  4307. ::protobuf_dispatch_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  4308. return ::protobuf_dispatch_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
  4309. }
  4310. const Carrier_data& Carrier_data::default_instance() {
  4311. ::protobuf_dispatch_5fmessage_2eproto::InitDefaultsCarrier_data();
  4312. return *internal_default_instance();
  4313. }
  4314. Carrier_data* Carrier_data::New(::google::protobuf::Arena* arena) const {
  4315. Carrier_data* n = new Carrier_data;
  4316. if (arena != NULL) {
  4317. arena->Own(n);
  4318. }
  4319. return n;
  4320. }
  4321. void Carrier_data::Clear() {
  4322. // @@protoc_insertion_point(message_clear_start:message.Carrier_data)
  4323. ::google::protobuf::uint32 cached_has_bits = 0;
  4324. // Prevent compiler warnings about cached_has_bits being unused
  4325. (void) cached_has_bits;
  4326. cached_has_bits = _has_bits_[0];
  4327. if (cached_has_bits & 7u) {
  4328. if (cached_has_bits & 0x00000001u) {
  4329. GOOGLE_DCHECK(!actual_error_code_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
  4330. (*actual_error_code_.UnsafeRawStringPointer())->clear();
  4331. }
  4332. if (cached_has_bits & 0x00000002u) {
  4333. GOOGLE_DCHECK(!actual_warning_code_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
  4334. (*actual_warning_code_.UnsafeRawStringPointer())->clear();
  4335. }
  4336. if (cached_has_bits & 0x00000004u) {
  4337. GOOGLE_DCHECK(!actual_error_description_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
  4338. (*actual_error_description_.UnsafeRawStringPointer())->clear();
  4339. }
  4340. }
  4341. if (cached_has_bits & 248u) {
  4342. ::memset(&dispatch_device_status_, 0, static_cast<size_t>(
  4343. reinterpret_cast<char*>(&actual_coordinates_id_) -
  4344. reinterpret_cast<char*>(&dispatch_device_status_)) + sizeof(actual_coordinates_id_));
  4345. }
  4346. if (cached_has_bits & 65280u) {
  4347. ::memset(&actual_x_, 0, static_cast<size_t>(
  4348. reinterpret_cast<char*>(&actual_small_sports_car_motion_) -
  4349. reinterpret_cast<char*>(&actual_x_)) + sizeof(actual_small_sports_car_motion_));
  4350. }
  4351. if (cached_has_bits & 458752u) {
  4352. ::memset(&actual_joint_motion_x1_, 0, static_cast<size_t>(
  4353. reinterpret_cast<char*>(&actual_joint_motion_x2_) -
  4354. reinterpret_cast<char*>(&actual_joint_motion_x1_)) + sizeof(actual_joint_motion_x2_));
  4355. dispatch_device_type_ = 101;
  4356. }
  4357. _has_bits_.Clear();
  4358. _internal_metadata_.Clear();
  4359. }
  4360. bool Carrier_data::MergePartialFromCodedStream(
  4361. ::google::protobuf::io::CodedInputStream* input) {
  4362. #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
  4363. ::google::protobuf::uint32 tag;
  4364. // @@protoc_insertion_point(parse_start:message.Carrier_data)
  4365. for (;;) {
  4366. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(16383u);
  4367. tag = p.first;
  4368. if (!p.second) goto handle_unusual;
  4369. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  4370. // required .message.Dispatch_device_type dispatch_device_type = 1;
  4371. case 1: {
  4372. if (static_cast< ::google::protobuf::uint8>(tag) ==
  4373. static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
  4374. int value;
  4375. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4376. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  4377. input, &value)));
  4378. if (::message::Dispatch_device_type_IsValid(value)) {
  4379. set_dispatch_device_type(static_cast< ::message::Dispatch_device_type >(value));
  4380. } else {
  4381. mutable_unknown_fields()->AddVarint(
  4382. 1, static_cast< ::google::protobuf::uint64>(value));
  4383. }
  4384. } else {
  4385. goto handle_unusual;
  4386. }
  4387. break;
  4388. }
  4389. // required .message.Dispatch_device_status dispatch_device_status = 2;
  4390. case 2: {
  4391. if (static_cast< ::google::protobuf::uint8>(tag) ==
  4392. static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
  4393. int value;
  4394. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4395. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  4396. input, &value)));
  4397. if (::message::Dispatch_device_status_IsValid(value)) {
  4398. set_dispatch_device_status(static_cast< ::message::Dispatch_device_status >(value));
  4399. } else {
  4400. mutable_unknown_fields()->AddVarint(
  4401. 2, static_cast< ::google::protobuf::uint64>(value));
  4402. }
  4403. } else {
  4404. goto handle_unusual;
  4405. }
  4406. break;
  4407. }
  4408. // required int32 device_id = 3;
  4409. case 3: {
  4410. if (static_cast< ::google::protobuf::uint8>(tag) ==
  4411. static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
  4412. set_has_device_id();
  4413. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4414. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4415. input, &device_id_)));
  4416. } else {
  4417. goto handle_unusual;
  4418. }
  4419. break;
  4420. }
  4421. // optional .message.Hardware_device_status actual_device_status = 4;
  4422. case 4: {
  4423. if (static_cast< ::google::protobuf::uint8>(tag) ==
  4424. static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
  4425. int value;
  4426. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4427. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  4428. input, &value)));
  4429. if (::message::Hardware_device_status_IsValid(value)) {
  4430. set_actual_device_status(static_cast< ::message::Hardware_device_status >(value));
  4431. } else {
  4432. mutable_unknown_fields()->AddVarint(
  4433. 4, static_cast< ::google::protobuf::uint64>(value));
  4434. }
  4435. } else {
  4436. goto handle_unusual;
  4437. }
  4438. break;
  4439. }
  4440. // optional .message.Load_status actual_load_status = 5;
  4441. case 5: {
  4442. if (static_cast< ::google::protobuf::uint8>(tag) ==
  4443. static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
  4444. int value;
  4445. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4446. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  4447. input, &value)));
  4448. if (::message::Load_status_IsValid(value)) {
  4449. set_actual_load_status(static_cast< ::message::Load_status >(value));
  4450. } else {
  4451. mutable_unknown_fields()->AddVarint(
  4452. 5, static_cast< ::google::protobuf::uint64>(value));
  4453. }
  4454. } else {
  4455. goto handle_unusual;
  4456. }
  4457. break;
  4458. }
  4459. // optional int32 actual_coordinates_id = 6;
  4460. case 6: {
  4461. if (static_cast< ::google::protobuf::uint8>(tag) ==
  4462. static_cast< ::google::protobuf::uint8>(48u /* 48 & 0xFF */)) {
  4463. set_has_actual_coordinates_id();
  4464. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4465. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4466. input, &actual_coordinates_id_)));
  4467. } else {
  4468. goto handle_unusual;
  4469. }
  4470. break;
  4471. }
  4472. // optional float actual_x = 7;
  4473. case 7: {
  4474. if (static_cast< ::google::protobuf::uint8>(tag) ==
  4475. static_cast< ::google::protobuf::uint8>(61u /* 61 & 0xFF */)) {
  4476. set_has_actual_x();
  4477. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4478. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  4479. input, &actual_x_)));
  4480. } else {
  4481. goto handle_unusual;
  4482. }
  4483. break;
  4484. }
  4485. // optional float actual_y = 8;
  4486. case 8: {
  4487. if (static_cast< ::google::protobuf::uint8>(tag) ==
  4488. static_cast< ::google::protobuf::uint8>(69u /* 69 & 0xFF */)) {
  4489. set_has_actual_y();
  4490. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4491. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  4492. input, &actual_y_)));
  4493. } else {
  4494. goto handle_unusual;
  4495. }
  4496. break;
  4497. }
  4498. // optional float actual_z = 9;
  4499. case 9: {
  4500. if (static_cast< ::google::protobuf::uint8>(tag) ==
  4501. static_cast< ::google::protobuf::uint8>(77u /* 77 & 0xFF */)) {
  4502. set_has_actual_z();
  4503. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4504. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  4505. input, &actual_z_)));
  4506. } else {
  4507. goto handle_unusual;
  4508. }
  4509. break;
  4510. }
  4511. // optional float actual_y1 = 10;
  4512. case 10: {
  4513. if (static_cast< ::google::protobuf::uint8>(tag) ==
  4514. static_cast< ::google::protobuf::uint8>(85u /* 85 & 0xFF */)) {
  4515. set_has_actual_y1();
  4516. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4517. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  4518. input, &actual_y1_)));
  4519. } else {
  4520. goto handle_unusual;
  4521. }
  4522. break;
  4523. }
  4524. // optional float actual_y2 = 11;
  4525. case 11: {
  4526. if (static_cast< ::google::protobuf::uint8>(tag) ==
  4527. static_cast< ::google::protobuf::uint8>(93u /* 93 & 0xFF */)) {
  4528. set_has_actual_y2();
  4529. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4530. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  4531. input, &actual_y2_)));
  4532. } else {
  4533. goto handle_unusual;
  4534. }
  4535. break;
  4536. }
  4537. // optional .message.Clamp_motion actual_clamp_motion1 = 12;
  4538. case 12: {
  4539. if (static_cast< ::google::protobuf::uint8>(tag) ==
  4540. static_cast< ::google::protobuf::uint8>(96u /* 96 & 0xFF */)) {
  4541. int value;
  4542. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4543. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  4544. input, &value)));
  4545. if (::message::Clamp_motion_IsValid(value)) {
  4546. set_actual_clamp_motion1(static_cast< ::message::Clamp_motion >(value));
  4547. } else {
  4548. mutable_unknown_fields()->AddVarint(
  4549. 12, static_cast< ::google::protobuf::uint64>(value));
  4550. }
  4551. } else {
  4552. goto handle_unusual;
  4553. }
  4554. break;
  4555. }
  4556. // optional .message.Clamp_motion actual_clamp_motion2 = 13;
  4557. case 13: {
  4558. if (static_cast< ::google::protobuf::uint8>(tag) ==
  4559. static_cast< ::google::protobuf::uint8>(104u /* 104 & 0xFF */)) {
  4560. int value;
  4561. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4562. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  4563. input, &value)));
  4564. if (::message::Clamp_motion_IsValid(value)) {
  4565. set_actual_clamp_motion2(static_cast< ::message::Clamp_motion >(value));
  4566. } else {
  4567. mutable_unknown_fields()->AddVarint(
  4568. 13, static_cast< ::google::protobuf::uint64>(value));
  4569. }
  4570. } else {
  4571. goto handle_unusual;
  4572. }
  4573. break;
  4574. }
  4575. // optional .message.Small_sports_car_motion actual_small_sports_car_motion = 14;
  4576. case 14: {
  4577. if (static_cast< ::google::protobuf::uint8>(tag) ==
  4578. static_cast< ::google::protobuf::uint8>(112u /* 112 & 0xFF */)) {
  4579. int value;
  4580. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4581. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  4582. input, &value)));
  4583. if (::message::Small_sports_car_motion_IsValid(value)) {
  4584. set_actual_small_sports_car_motion(static_cast< ::message::Small_sports_car_motion >(value));
  4585. } else {
  4586. mutable_unknown_fields()->AddVarint(
  4587. 14, static_cast< ::google::protobuf::uint64>(value));
  4588. }
  4589. } else {
  4590. goto handle_unusual;
  4591. }
  4592. break;
  4593. }
  4594. // optional .message.Joint_motion actual_joint_motion_x1 = 15;
  4595. case 15: {
  4596. if (static_cast< ::google::protobuf::uint8>(tag) ==
  4597. static_cast< ::google::protobuf::uint8>(120u /* 120 & 0xFF */)) {
  4598. int value;
  4599. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4600. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  4601. input, &value)));
  4602. if (::message::Joint_motion_IsValid(value)) {
  4603. set_actual_joint_motion_x1(static_cast< ::message::Joint_motion >(value));
  4604. } else {
  4605. mutable_unknown_fields()->AddVarint(
  4606. 15, static_cast< ::google::protobuf::uint64>(value));
  4607. }
  4608. } else {
  4609. goto handle_unusual;
  4610. }
  4611. break;
  4612. }
  4613. // optional .message.Joint_motion actual_joint_motion_x2 = 16;
  4614. case 16: {
  4615. if (static_cast< ::google::protobuf::uint8>(tag) ==
  4616. static_cast< ::google::protobuf::uint8>(128u /* 128 & 0xFF */)) {
  4617. int value;
  4618. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4619. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  4620. input, &value)));
  4621. if (::message::Joint_motion_IsValid(value)) {
  4622. set_actual_joint_motion_x2(static_cast< ::message::Joint_motion >(value));
  4623. } else {
  4624. mutable_unknown_fields()->AddVarint(
  4625. 16, static_cast< ::google::protobuf::uint64>(value));
  4626. }
  4627. } else {
  4628. goto handle_unusual;
  4629. }
  4630. break;
  4631. }
  4632. // optional string actual_error_code = 17;
  4633. case 17: {
  4634. if (static_cast< ::google::protobuf::uint8>(tag) ==
  4635. static_cast< ::google::protobuf::uint8>(138u /* 138 & 0xFF */)) {
  4636. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  4637. input, this->mutable_actual_error_code()));
  4638. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  4639. this->actual_error_code().data(), static_cast<int>(this->actual_error_code().length()),
  4640. ::google::protobuf::internal::WireFormat::PARSE,
  4641. "message.Carrier_data.actual_error_code");
  4642. } else {
  4643. goto handle_unusual;
  4644. }
  4645. break;
  4646. }
  4647. // optional string actual_warning_code = 18;
  4648. case 18: {
  4649. if (static_cast< ::google::protobuf::uint8>(tag) ==
  4650. static_cast< ::google::protobuf::uint8>(146u /* 146 & 0xFF */)) {
  4651. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  4652. input, this->mutable_actual_warning_code()));
  4653. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  4654. this->actual_warning_code().data(), static_cast<int>(this->actual_warning_code().length()),
  4655. ::google::protobuf::internal::WireFormat::PARSE,
  4656. "message.Carrier_data.actual_warning_code");
  4657. } else {
  4658. goto handle_unusual;
  4659. }
  4660. break;
  4661. }
  4662. // optional string actual_error_description = 19;
  4663. case 19: {
  4664. if (static_cast< ::google::protobuf::uint8>(tag) ==
  4665. static_cast< ::google::protobuf::uint8>(154u /* 154 & 0xFF */)) {
  4666. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  4667. input, this->mutable_actual_error_description()));
  4668. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  4669. this->actual_error_description().data(), static_cast<int>(this->actual_error_description().length()),
  4670. ::google::protobuf::internal::WireFormat::PARSE,
  4671. "message.Carrier_data.actual_error_description");
  4672. } else {
  4673. goto handle_unusual;
  4674. }
  4675. break;
  4676. }
  4677. default: {
  4678. handle_unusual:
  4679. if (tag == 0) {
  4680. goto success;
  4681. }
  4682. DO_(::google::protobuf::internal::WireFormat::SkipField(
  4683. input, tag, _internal_metadata_.mutable_unknown_fields()));
  4684. break;
  4685. }
  4686. }
  4687. }
  4688. success:
  4689. // @@protoc_insertion_point(parse_success:message.Carrier_data)
  4690. return true;
  4691. failure:
  4692. // @@protoc_insertion_point(parse_failure:message.Carrier_data)
  4693. return false;
  4694. #undef DO_
  4695. }
  4696. void Carrier_data::SerializeWithCachedSizes(
  4697. ::google::protobuf::io::CodedOutputStream* output) const {
  4698. // @@protoc_insertion_point(serialize_start:message.Carrier_data)
  4699. ::google::protobuf::uint32 cached_has_bits = 0;
  4700. (void) cached_has_bits;
  4701. cached_has_bits = _has_bits_[0];
  4702. // required .message.Dispatch_device_type dispatch_device_type = 1;
  4703. if (cached_has_bits & 0x00040000u) {
  4704. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  4705. 1, this->dispatch_device_type(), output);
  4706. }
  4707. // required .message.Dispatch_device_status dispatch_device_status = 2;
  4708. if (cached_has_bits & 0x00000008u) {
  4709. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  4710. 2, this->dispatch_device_status(), output);
  4711. }
  4712. // required int32 device_id = 3;
  4713. if (cached_has_bits & 0x00000010u) {
  4714. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->device_id(), output);
  4715. }
  4716. // optional .message.Hardware_device_status actual_device_status = 4;
  4717. if (cached_has_bits & 0x00000020u) {
  4718. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  4719. 4, this->actual_device_status(), output);
  4720. }
  4721. // optional .message.Load_status actual_load_status = 5;
  4722. if (cached_has_bits & 0x00000040u) {
  4723. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  4724. 5, this->actual_load_status(), output);
  4725. }
  4726. // optional int32 actual_coordinates_id = 6;
  4727. if (cached_has_bits & 0x00000080u) {
  4728. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->actual_coordinates_id(), output);
  4729. }
  4730. // optional float actual_x = 7;
  4731. if (cached_has_bits & 0x00000100u) {
  4732. ::google::protobuf::internal::WireFormatLite::WriteFloat(7, this->actual_x(), output);
  4733. }
  4734. // optional float actual_y = 8;
  4735. if (cached_has_bits & 0x00000200u) {
  4736. ::google::protobuf::internal::WireFormatLite::WriteFloat(8, this->actual_y(), output);
  4737. }
  4738. // optional float actual_z = 9;
  4739. if (cached_has_bits & 0x00000400u) {
  4740. ::google::protobuf::internal::WireFormatLite::WriteFloat(9, this->actual_z(), output);
  4741. }
  4742. // optional float actual_y1 = 10;
  4743. if (cached_has_bits & 0x00000800u) {
  4744. ::google::protobuf::internal::WireFormatLite::WriteFloat(10, this->actual_y1(), output);
  4745. }
  4746. // optional float actual_y2 = 11;
  4747. if (cached_has_bits & 0x00001000u) {
  4748. ::google::protobuf::internal::WireFormatLite::WriteFloat(11, this->actual_y2(), output);
  4749. }
  4750. // optional .message.Clamp_motion actual_clamp_motion1 = 12;
  4751. if (cached_has_bits & 0x00002000u) {
  4752. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  4753. 12, this->actual_clamp_motion1(), output);
  4754. }
  4755. // optional .message.Clamp_motion actual_clamp_motion2 = 13;
  4756. if (cached_has_bits & 0x00004000u) {
  4757. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  4758. 13, this->actual_clamp_motion2(), output);
  4759. }
  4760. // optional .message.Small_sports_car_motion actual_small_sports_car_motion = 14;
  4761. if (cached_has_bits & 0x00008000u) {
  4762. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  4763. 14, this->actual_small_sports_car_motion(), output);
  4764. }
  4765. // optional .message.Joint_motion actual_joint_motion_x1 = 15;
  4766. if (cached_has_bits & 0x00010000u) {
  4767. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  4768. 15, this->actual_joint_motion_x1(), output);
  4769. }
  4770. // optional .message.Joint_motion actual_joint_motion_x2 = 16;
  4771. if (cached_has_bits & 0x00020000u) {
  4772. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  4773. 16, this->actual_joint_motion_x2(), output);
  4774. }
  4775. // optional string actual_error_code = 17;
  4776. if (cached_has_bits & 0x00000001u) {
  4777. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  4778. this->actual_error_code().data(), static_cast<int>(this->actual_error_code().length()),
  4779. ::google::protobuf::internal::WireFormat::SERIALIZE,
  4780. "message.Carrier_data.actual_error_code");
  4781. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  4782. 17, this->actual_error_code(), output);
  4783. }
  4784. // optional string actual_warning_code = 18;
  4785. if (cached_has_bits & 0x00000002u) {
  4786. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  4787. this->actual_warning_code().data(), static_cast<int>(this->actual_warning_code().length()),
  4788. ::google::protobuf::internal::WireFormat::SERIALIZE,
  4789. "message.Carrier_data.actual_warning_code");
  4790. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  4791. 18, this->actual_warning_code(), output);
  4792. }
  4793. // optional string actual_error_description = 19;
  4794. if (cached_has_bits & 0x00000004u) {
  4795. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  4796. this->actual_error_description().data(), static_cast<int>(this->actual_error_description().length()),
  4797. ::google::protobuf::internal::WireFormat::SERIALIZE,
  4798. "message.Carrier_data.actual_error_description");
  4799. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  4800. 19, this->actual_error_description(), output);
  4801. }
  4802. if (_internal_metadata_.have_unknown_fields()) {
  4803. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  4804. _internal_metadata_.unknown_fields(), output);
  4805. }
  4806. // @@protoc_insertion_point(serialize_end:message.Carrier_data)
  4807. }
  4808. ::google::protobuf::uint8* Carrier_data::InternalSerializeWithCachedSizesToArray(
  4809. bool deterministic, ::google::protobuf::uint8* target) const {
  4810. (void)deterministic; // Unused
  4811. // @@protoc_insertion_point(serialize_to_array_start:message.Carrier_data)
  4812. ::google::protobuf::uint32 cached_has_bits = 0;
  4813. (void) cached_has_bits;
  4814. cached_has_bits = _has_bits_[0];
  4815. // required .message.Dispatch_device_type dispatch_device_type = 1;
  4816. if (cached_has_bits & 0x00040000u) {
  4817. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  4818. 1, this->dispatch_device_type(), target);
  4819. }
  4820. // required .message.Dispatch_device_status dispatch_device_status = 2;
  4821. if (cached_has_bits & 0x00000008u) {
  4822. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  4823. 2, this->dispatch_device_status(), target);
  4824. }
  4825. // required int32 device_id = 3;
  4826. if (cached_has_bits & 0x00000010u) {
  4827. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->device_id(), target);
  4828. }
  4829. // optional .message.Hardware_device_status actual_device_status = 4;
  4830. if (cached_has_bits & 0x00000020u) {
  4831. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  4832. 4, this->actual_device_status(), target);
  4833. }
  4834. // optional .message.Load_status actual_load_status = 5;
  4835. if (cached_has_bits & 0x00000040u) {
  4836. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  4837. 5, this->actual_load_status(), target);
  4838. }
  4839. // optional int32 actual_coordinates_id = 6;
  4840. if (cached_has_bits & 0x00000080u) {
  4841. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->actual_coordinates_id(), target);
  4842. }
  4843. // optional float actual_x = 7;
  4844. if (cached_has_bits & 0x00000100u) {
  4845. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(7, this->actual_x(), target);
  4846. }
  4847. // optional float actual_y = 8;
  4848. if (cached_has_bits & 0x00000200u) {
  4849. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(8, this->actual_y(), target);
  4850. }
  4851. // optional float actual_z = 9;
  4852. if (cached_has_bits & 0x00000400u) {
  4853. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(9, this->actual_z(), target);
  4854. }
  4855. // optional float actual_y1 = 10;
  4856. if (cached_has_bits & 0x00000800u) {
  4857. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(10, this->actual_y1(), target);
  4858. }
  4859. // optional float actual_y2 = 11;
  4860. if (cached_has_bits & 0x00001000u) {
  4861. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(11, this->actual_y2(), target);
  4862. }
  4863. // optional .message.Clamp_motion actual_clamp_motion1 = 12;
  4864. if (cached_has_bits & 0x00002000u) {
  4865. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  4866. 12, this->actual_clamp_motion1(), target);
  4867. }
  4868. // optional .message.Clamp_motion actual_clamp_motion2 = 13;
  4869. if (cached_has_bits & 0x00004000u) {
  4870. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  4871. 13, this->actual_clamp_motion2(), target);
  4872. }
  4873. // optional .message.Small_sports_car_motion actual_small_sports_car_motion = 14;
  4874. if (cached_has_bits & 0x00008000u) {
  4875. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  4876. 14, this->actual_small_sports_car_motion(), target);
  4877. }
  4878. // optional .message.Joint_motion actual_joint_motion_x1 = 15;
  4879. if (cached_has_bits & 0x00010000u) {
  4880. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  4881. 15, this->actual_joint_motion_x1(), target);
  4882. }
  4883. // optional .message.Joint_motion actual_joint_motion_x2 = 16;
  4884. if (cached_has_bits & 0x00020000u) {
  4885. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  4886. 16, this->actual_joint_motion_x2(), target);
  4887. }
  4888. // optional string actual_error_code = 17;
  4889. if (cached_has_bits & 0x00000001u) {
  4890. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  4891. this->actual_error_code().data(), static_cast<int>(this->actual_error_code().length()),
  4892. ::google::protobuf::internal::WireFormat::SERIALIZE,
  4893. "message.Carrier_data.actual_error_code");
  4894. target =
  4895. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  4896. 17, this->actual_error_code(), target);
  4897. }
  4898. // optional string actual_warning_code = 18;
  4899. if (cached_has_bits & 0x00000002u) {
  4900. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  4901. this->actual_warning_code().data(), static_cast<int>(this->actual_warning_code().length()),
  4902. ::google::protobuf::internal::WireFormat::SERIALIZE,
  4903. "message.Carrier_data.actual_warning_code");
  4904. target =
  4905. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  4906. 18, this->actual_warning_code(), target);
  4907. }
  4908. // optional string actual_error_description = 19;
  4909. if (cached_has_bits & 0x00000004u) {
  4910. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  4911. this->actual_error_description().data(), static_cast<int>(this->actual_error_description().length()),
  4912. ::google::protobuf::internal::WireFormat::SERIALIZE,
  4913. "message.Carrier_data.actual_error_description");
  4914. target =
  4915. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  4916. 19, this->actual_error_description(), target);
  4917. }
  4918. if (_internal_metadata_.have_unknown_fields()) {
  4919. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  4920. _internal_metadata_.unknown_fields(), target);
  4921. }
  4922. // @@protoc_insertion_point(serialize_to_array_end:message.Carrier_data)
  4923. return target;
  4924. }
  4925. size_t Carrier_data::RequiredFieldsByteSizeFallback() const {
  4926. // @@protoc_insertion_point(required_fields_byte_size_fallback_start:message.Carrier_data)
  4927. size_t total_size = 0;
  4928. if (has_dispatch_device_status()) {
  4929. // required .message.Dispatch_device_status dispatch_device_status = 2;
  4930. total_size += 1 +
  4931. ::google::protobuf::internal::WireFormatLite::EnumSize(this->dispatch_device_status());
  4932. }
  4933. if (has_device_id()) {
  4934. // required int32 device_id = 3;
  4935. total_size += 1 +
  4936. ::google::protobuf::internal::WireFormatLite::Int32Size(
  4937. this->device_id());
  4938. }
  4939. if (has_dispatch_device_type()) {
  4940. // required .message.Dispatch_device_type dispatch_device_type = 1;
  4941. total_size += 1 +
  4942. ::google::protobuf::internal::WireFormatLite::EnumSize(this->dispatch_device_type());
  4943. }
  4944. return total_size;
  4945. }
  4946. size_t Carrier_data::ByteSizeLong() const {
  4947. // @@protoc_insertion_point(message_byte_size_start:message.Carrier_data)
  4948. size_t total_size = 0;
  4949. if (_internal_metadata_.have_unknown_fields()) {
  4950. total_size +=
  4951. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  4952. _internal_metadata_.unknown_fields());
  4953. }
  4954. if (((_has_bits_[0] & 0x00040018) ^ 0x00040018) == 0) { // All required fields are present.
  4955. // required .message.Dispatch_device_status dispatch_device_status = 2;
  4956. total_size += 1 +
  4957. ::google::protobuf::internal::WireFormatLite::EnumSize(this->dispatch_device_status());
  4958. // required int32 device_id = 3;
  4959. total_size += 1 +
  4960. ::google::protobuf::internal::WireFormatLite::Int32Size(
  4961. this->device_id());
  4962. // required .message.Dispatch_device_type dispatch_device_type = 1;
  4963. total_size += 1 +
  4964. ::google::protobuf::internal::WireFormatLite::EnumSize(this->dispatch_device_type());
  4965. } else {
  4966. total_size += RequiredFieldsByteSizeFallback();
  4967. }
  4968. if (_has_bits_[0 / 32] & 7u) {
  4969. // optional string actual_error_code = 17;
  4970. if (has_actual_error_code()) {
  4971. total_size += 2 +
  4972. ::google::protobuf::internal::WireFormatLite::StringSize(
  4973. this->actual_error_code());
  4974. }
  4975. // optional string actual_warning_code = 18;
  4976. if (has_actual_warning_code()) {
  4977. total_size += 2 +
  4978. ::google::protobuf::internal::WireFormatLite::StringSize(
  4979. this->actual_warning_code());
  4980. }
  4981. // optional string actual_error_description = 19;
  4982. if (has_actual_error_description()) {
  4983. total_size += 2 +
  4984. ::google::protobuf::internal::WireFormatLite::StringSize(
  4985. this->actual_error_description());
  4986. }
  4987. }
  4988. if (_has_bits_[0 / 32] & 224u) {
  4989. // optional .message.Hardware_device_status actual_device_status = 4;
  4990. if (has_actual_device_status()) {
  4991. total_size += 1 +
  4992. ::google::protobuf::internal::WireFormatLite::EnumSize(this->actual_device_status());
  4993. }
  4994. // optional .message.Load_status actual_load_status = 5;
  4995. if (has_actual_load_status()) {
  4996. total_size += 1 +
  4997. ::google::protobuf::internal::WireFormatLite::EnumSize(this->actual_load_status());
  4998. }
  4999. // optional int32 actual_coordinates_id = 6;
  5000. if (has_actual_coordinates_id()) {
  5001. total_size += 1 +
  5002. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5003. this->actual_coordinates_id());
  5004. }
  5005. }
  5006. if (_has_bits_[8 / 32] & 65280u) {
  5007. // optional float actual_x = 7;
  5008. if (has_actual_x()) {
  5009. total_size += 1 + 4;
  5010. }
  5011. // optional float actual_y = 8;
  5012. if (has_actual_y()) {
  5013. total_size += 1 + 4;
  5014. }
  5015. // optional float actual_z = 9;
  5016. if (has_actual_z()) {
  5017. total_size += 1 + 4;
  5018. }
  5019. // optional float actual_y1 = 10;
  5020. if (has_actual_y1()) {
  5021. total_size += 1 + 4;
  5022. }
  5023. // optional float actual_y2 = 11;
  5024. if (has_actual_y2()) {
  5025. total_size += 1 + 4;
  5026. }
  5027. // optional .message.Clamp_motion actual_clamp_motion1 = 12;
  5028. if (has_actual_clamp_motion1()) {
  5029. total_size += 1 +
  5030. ::google::protobuf::internal::WireFormatLite::EnumSize(this->actual_clamp_motion1());
  5031. }
  5032. // optional .message.Clamp_motion actual_clamp_motion2 = 13;
  5033. if (has_actual_clamp_motion2()) {
  5034. total_size += 1 +
  5035. ::google::protobuf::internal::WireFormatLite::EnumSize(this->actual_clamp_motion2());
  5036. }
  5037. // optional .message.Small_sports_car_motion actual_small_sports_car_motion = 14;
  5038. if (has_actual_small_sports_car_motion()) {
  5039. total_size += 1 +
  5040. ::google::protobuf::internal::WireFormatLite::EnumSize(this->actual_small_sports_car_motion());
  5041. }
  5042. }
  5043. if (_has_bits_[16 / 32] & 196608u) {
  5044. // optional .message.Joint_motion actual_joint_motion_x1 = 15;
  5045. if (has_actual_joint_motion_x1()) {
  5046. total_size += 1 +
  5047. ::google::protobuf::internal::WireFormatLite::EnumSize(this->actual_joint_motion_x1());
  5048. }
  5049. // optional .message.Joint_motion actual_joint_motion_x2 = 16;
  5050. if (has_actual_joint_motion_x2()) {
  5051. total_size += 2 +
  5052. ::google::protobuf::internal::WireFormatLite::EnumSize(this->actual_joint_motion_x2());
  5053. }
  5054. }
  5055. int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
  5056. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5057. _cached_size_ = cached_size;
  5058. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5059. return total_size;
  5060. }
  5061. void Carrier_data::MergeFrom(const ::google::protobuf::Message& from) {
  5062. // @@protoc_insertion_point(generalized_merge_from_start:message.Carrier_data)
  5063. GOOGLE_DCHECK_NE(&from, this);
  5064. const Carrier_data* source =
  5065. ::google::protobuf::internal::DynamicCastToGenerated<const Carrier_data>(
  5066. &from);
  5067. if (source == NULL) {
  5068. // @@protoc_insertion_point(generalized_merge_from_cast_fail:message.Carrier_data)
  5069. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  5070. } else {
  5071. // @@protoc_insertion_point(generalized_merge_from_cast_success:message.Carrier_data)
  5072. MergeFrom(*source);
  5073. }
  5074. }
  5075. void Carrier_data::MergeFrom(const Carrier_data& from) {
  5076. // @@protoc_insertion_point(class_specific_merge_from_start:message.Carrier_data)
  5077. GOOGLE_DCHECK_NE(&from, this);
  5078. _internal_metadata_.MergeFrom(from._internal_metadata_);
  5079. ::google::protobuf::uint32 cached_has_bits = 0;
  5080. (void) cached_has_bits;
  5081. cached_has_bits = from._has_bits_[0];
  5082. if (cached_has_bits & 255u) {
  5083. if (cached_has_bits & 0x00000001u) {
  5084. set_has_actual_error_code();
  5085. actual_error_code_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.actual_error_code_);
  5086. }
  5087. if (cached_has_bits & 0x00000002u) {
  5088. set_has_actual_warning_code();
  5089. actual_warning_code_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.actual_warning_code_);
  5090. }
  5091. if (cached_has_bits & 0x00000004u) {
  5092. set_has_actual_error_description();
  5093. actual_error_description_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.actual_error_description_);
  5094. }
  5095. if (cached_has_bits & 0x00000008u) {
  5096. dispatch_device_status_ = from.dispatch_device_status_;
  5097. }
  5098. if (cached_has_bits & 0x00000010u) {
  5099. device_id_ = from.device_id_;
  5100. }
  5101. if (cached_has_bits & 0x00000020u) {
  5102. actual_device_status_ = from.actual_device_status_;
  5103. }
  5104. if (cached_has_bits & 0x00000040u) {
  5105. actual_load_status_ = from.actual_load_status_;
  5106. }
  5107. if (cached_has_bits & 0x00000080u) {
  5108. actual_coordinates_id_ = from.actual_coordinates_id_;
  5109. }
  5110. _has_bits_[0] |= cached_has_bits;
  5111. }
  5112. if (cached_has_bits & 65280u) {
  5113. if (cached_has_bits & 0x00000100u) {
  5114. actual_x_ = from.actual_x_;
  5115. }
  5116. if (cached_has_bits & 0x00000200u) {
  5117. actual_y_ = from.actual_y_;
  5118. }
  5119. if (cached_has_bits & 0x00000400u) {
  5120. actual_z_ = from.actual_z_;
  5121. }
  5122. if (cached_has_bits & 0x00000800u) {
  5123. actual_y1_ = from.actual_y1_;
  5124. }
  5125. if (cached_has_bits & 0x00001000u) {
  5126. actual_y2_ = from.actual_y2_;
  5127. }
  5128. if (cached_has_bits & 0x00002000u) {
  5129. actual_clamp_motion1_ = from.actual_clamp_motion1_;
  5130. }
  5131. if (cached_has_bits & 0x00004000u) {
  5132. actual_clamp_motion2_ = from.actual_clamp_motion2_;
  5133. }
  5134. if (cached_has_bits & 0x00008000u) {
  5135. actual_small_sports_car_motion_ = from.actual_small_sports_car_motion_;
  5136. }
  5137. _has_bits_[0] |= cached_has_bits;
  5138. }
  5139. if (cached_has_bits & 458752u) {
  5140. if (cached_has_bits & 0x00010000u) {
  5141. actual_joint_motion_x1_ = from.actual_joint_motion_x1_;
  5142. }
  5143. if (cached_has_bits & 0x00020000u) {
  5144. actual_joint_motion_x2_ = from.actual_joint_motion_x2_;
  5145. }
  5146. if (cached_has_bits & 0x00040000u) {
  5147. dispatch_device_type_ = from.dispatch_device_type_;
  5148. }
  5149. _has_bits_[0] |= cached_has_bits;
  5150. }
  5151. }
  5152. void Carrier_data::CopyFrom(const ::google::protobuf::Message& from) {
  5153. // @@protoc_insertion_point(generalized_copy_from_start:message.Carrier_data)
  5154. if (&from == this) return;
  5155. Clear();
  5156. MergeFrom(from);
  5157. }
  5158. void Carrier_data::CopyFrom(const Carrier_data& from) {
  5159. // @@protoc_insertion_point(class_specific_copy_from_start:message.Carrier_data)
  5160. if (&from == this) return;
  5161. Clear();
  5162. MergeFrom(from);
  5163. }
  5164. bool Carrier_data::IsInitialized() const {
  5165. if ((_has_bits_[0] & 0x00040018) != 0x00040018) return false;
  5166. return true;
  5167. }
  5168. void Carrier_data::Swap(Carrier_data* other) {
  5169. if (other == this) return;
  5170. InternalSwap(other);
  5171. }
  5172. void Carrier_data::InternalSwap(Carrier_data* other) {
  5173. using std::swap;
  5174. actual_error_code_.Swap(&other->actual_error_code_);
  5175. actual_warning_code_.Swap(&other->actual_warning_code_);
  5176. actual_error_description_.Swap(&other->actual_error_description_);
  5177. swap(dispatch_device_status_, other->dispatch_device_status_);
  5178. swap(device_id_, other->device_id_);
  5179. swap(actual_device_status_, other->actual_device_status_);
  5180. swap(actual_load_status_, other->actual_load_status_);
  5181. swap(actual_coordinates_id_, other->actual_coordinates_id_);
  5182. swap(actual_x_, other->actual_x_);
  5183. swap(actual_y_, other->actual_y_);
  5184. swap(actual_z_, other->actual_z_);
  5185. swap(actual_y1_, other->actual_y1_);
  5186. swap(actual_y2_, other->actual_y2_);
  5187. swap(actual_clamp_motion1_, other->actual_clamp_motion1_);
  5188. swap(actual_clamp_motion2_, other->actual_clamp_motion2_);
  5189. swap(actual_small_sports_car_motion_, other->actual_small_sports_car_motion_);
  5190. swap(actual_joint_motion_x1_, other->actual_joint_motion_x1_);
  5191. swap(actual_joint_motion_x2_, other->actual_joint_motion_x2_);
  5192. swap(dispatch_device_type_, other->dispatch_device_type_);
  5193. swap(_has_bits_[0], other->_has_bits_[0]);
  5194. _internal_metadata_.Swap(&other->_internal_metadata_);
  5195. swap(_cached_size_, other->_cached_size_);
  5196. }
  5197. ::google::protobuf::Metadata Carrier_data::GetMetadata() const {
  5198. protobuf_dispatch_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  5199. return ::protobuf_dispatch_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages];
  5200. }
  5201. // ===================================================================
  5202. void Passageway_data::InitAsDefaultInstance() {
  5203. }
  5204. #if !defined(_MSC_VER) || _MSC_VER >= 1900
  5205. const int Passageway_data::kDispatchDeviceTypeFieldNumber;
  5206. const int Passageway_data::kDispatchDeviceStatusFieldNumber;
  5207. const int Passageway_data::kDeviceIdFieldNumber;
  5208. const int Passageway_data::kActualDeviceStatusFieldNumber;
  5209. const int Passageway_data::kActualInsideLoadStatusFieldNumber;
  5210. const int Passageway_data::kActualOutsideLoadStatusFieldNumber;
  5211. const int Passageway_data::kActualFrontOverstepTheBoundaryFieldNumber;
  5212. const int Passageway_data::kActualBackOverstepTheBoundaryFieldNumber;
  5213. const int Passageway_data::kActualHeightOverstepTheBoundaryFieldNumber;
  5214. const int Passageway_data::kActualOutsideDoorSensorFieldNumber;
  5215. const int Passageway_data::kActualInsideDoorMotionFieldNumber;
  5216. const int Passageway_data::kActualOutsideDoorMotionFieldNumber;
  5217. const int Passageway_data::kActualTurntableLoadStatusFieldNumber;
  5218. const int Passageway_data::kActualTurntableDirectionFieldNumber;
  5219. const int Passageway_data::kActualErrorCodeFieldNumber;
  5220. const int Passageway_data::kActualWarningCodeFieldNumber;
  5221. const int Passageway_data::kActualErrorDescriptionFieldNumber;
  5222. #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
  5223. Passageway_data::Passageway_data()
  5224. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  5225. if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
  5226. ::protobuf_dispatch_5fmessage_2eproto::InitDefaultsPassageway_data();
  5227. }
  5228. SharedCtor();
  5229. // @@protoc_insertion_point(constructor:message.Passageway_data)
  5230. }
  5231. Passageway_data::Passageway_data(const Passageway_data& from)
  5232. : ::google::protobuf::Message(),
  5233. _internal_metadata_(NULL),
  5234. _has_bits_(from._has_bits_),
  5235. _cached_size_(0) {
  5236. _internal_metadata_.MergeFrom(from._internal_metadata_);
  5237. actual_error_code_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  5238. if (from.has_actual_error_code()) {
  5239. actual_error_code_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.actual_error_code_);
  5240. }
  5241. actual_warning_code_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  5242. if (from.has_actual_warning_code()) {
  5243. actual_warning_code_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.actual_warning_code_);
  5244. }
  5245. actual_error_description_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  5246. if (from.has_actual_error_description()) {
  5247. actual_error_description_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.actual_error_description_);
  5248. }
  5249. ::memcpy(&dispatch_device_status_, &from.dispatch_device_status_,
  5250. static_cast<size_t>(reinterpret_cast<char*>(&dispatch_device_type_) -
  5251. reinterpret_cast<char*>(&dispatch_device_status_)) + sizeof(dispatch_device_type_));
  5252. // @@protoc_insertion_point(copy_constructor:message.Passageway_data)
  5253. }
  5254. void Passageway_data::SharedCtor() {
  5255. _cached_size_ = 0;
  5256. actual_error_code_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  5257. actual_warning_code_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  5258. actual_error_description_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  5259. ::memset(&dispatch_device_status_, 0, static_cast<size_t>(
  5260. reinterpret_cast<char*>(&actual_turntable_direction_) -
  5261. reinterpret_cast<char*>(&dispatch_device_status_)) + sizeof(actual_turntable_direction_));
  5262. dispatch_device_type_ = 101;
  5263. }
  5264. Passageway_data::~Passageway_data() {
  5265. // @@protoc_insertion_point(destructor:message.Passageway_data)
  5266. SharedDtor();
  5267. }
  5268. void Passageway_data::SharedDtor() {
  5269. actual_error_code_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  5270. actual_warning_code_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  5271. actual_error_description_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  5272. }
  5273. void Passageway_data::SetCachedSize(int size) const {
  5274. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5275. _cached_size_ = size;
  5276. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5277. }
  5278. const ::google::protobuf::Descriptor* Passageway_data::descriptor() {
  5279. ::protobuf_dispatch_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  5280. return ::protobuf_dispatch_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
  5281. }
  5282. const Passageway_data& Passageway_data::default_instance() {
  5283. ::protobuf_dispatch_5fmessage_2eproto::InitDefaultsPassageway_data();
  5284. return *internal_default_instance();
  5285. }
  5286. Passageway_data* Passageway_data::New(::google::protobuf::Arena* arena) const {
  5287. Passageway_data* n = new Passageway_data;
  5288. if (arena != NULL) {
  5289. arena->Own(n);
  5290. }
  5291. return n;
  5292. }
  5293. void Passageway_data::Clear() {
  5294. // @@protoc_insertion_point(message_clear_start:message.Passageway_data)
  5295. ::google::protobuf::uint32 cached_has_bits = 0;
  5296. // Prevent compiler warnings about cached_has_bits being unused
  5297. (void) cached_has_bits;
  5298. cached_has_bits = _has_bits_[0];
  5299. if (cached_has_bits & 7u) {
  5300. if (cached_has_bits & 0x00000001u) {
  5301. GOOGLE_DCHECK(!actual_error_code_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
  5302. (*actual_error_code_.UnsafeRawStringPointer())->clear();
  5303. }
  5304. if (cached_has_bits & 0x00000002u) {
  5305. GOOGLE_DCHECK(!actual_warning_code_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
  5306. (*actual_warning_code_.UnsafeRawStringPointer())->clear();
  5307. }
  5308. if (cached_has_bits & 0x00000004u) {
  5309. GOOGLE_DCHECK(!actual_error_description_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
  5310. (*actual_error_description_.UnsafeRawStringPointer())->clear();
  5311. }
  5312. }
  5313. if (cached_has_bits & 248u) {
  5314. ::memset(&dispatch_device_status_, 0, static_cast<size_t>(
  5315. reinterpret_cast<char*>(&actual_outside_load_status_) -
  5316. reinterpret_cast<char*>(&dispatch_device_status_)) + sizeof(actual_outside_load_status_));
  5317. }
  5318. if (cached_has_bits & 65280u) {
  5319. ::memset(&actual_front_overstep_the_boundary_, 0, static_cast<size_t>(
  5320. reinterpret_cast<char*>(&actual_turntable_direction_) -
  5321. reinterpret_cast<char*>(&actual_front_overstep_the_boundary_)) + sizeof(actual_turntable_direction_));
  5322. }
  5323. dispatch_device_type_ = 101;
  5324. _has_bits_.Clear();
  5325. _internal_metadata_.Clear();
  5326. }
  5327. bool Passageway_data::MergePartialFromCodedStream(
  5328. ::google::protobuf::io::CodedInputStream* input) {
  5329. #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
  5330. ::google::protobuf::uint32 tag;
  5331. // @@protoc_insertion_point(parse_start:message.Passageway_data)
  5332. for (;;) {
  5333. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(16383u);
  5334. tag = p.first;
  5335. if (!p.second) goto handle_unusual;
  5336. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  5337. // required .message.Dispatch_device_type dispatch_device_type = 1;
  5338. case 1: {
  5339. if (static_cast< ::google::protobuf::uint8>(tag) ==
  5340. static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
  5341. int value;
  5342. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5343. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  5344. input, &value)));
  5345. if (::message::Dispatch_device_type_IsValid(value)) {
  5346. set_dispatch_device_type(static_cast< ::message::Dispatch_device_type >(value));
  5347. } else {
  5348. mutable_unknown_fields()->AddVarint(
  5349. 1, static_cast< ::google::protobuf::uint64>(value));
  5350. }
  5351. } else {
  5352. goto handle_unusual;
  5353. }
  5354. break;
  5355. }
  5356. // required .message.Dispatch_device_status dispatch_device_status = 2;
  5357. case 2: {
  5358. if (static_cast< ::google::protobuf::uint8>(tag) ==
  5359. static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
  5360. int value;
  5361. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5362. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  5363. input, &value)));
  5364. if (::message::Dispatch_device_status_IsValid(value)) {
  5365. set_dispatch_device_status(static_cast< ::message::Dispatch_device_status >(value));
  5366. } else {
  5367. mutable_unknown_fields()->AddVarint(
  5368. 2, static_cast< ::google::protobuf::uint64>(value));
  5369. }
  5370. } else {
  5371. goto handle_unusual;
  5372. }
  5373. break;
  5374. }
  5375. // required int32 device_id = 3;
  5376. case 3: {
  5377. if (static_cast< ::google::protobuf::uint8>(tag) ==
  5378. static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
  5379. set_has_device_id();
  5380. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5381. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  5382. input, &device_id_)));
  5383. } else {
  5384. goto handle_unusual;
  5385. }
  5386. break;
  5387. }
  5388. // optional .message.Hardware_device_status actual_device_status = 4;
  5389. case 4: {
  5390. if (static_cast< ::google::protobuf::uint8>(tag) ==
  5391. static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
  5392. int value;
  5393. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5394. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  5395. input, &value)));
  5396. if (::message::Hardware_device_status_IsValid(value)) {
  5397. set_actual_device_status(static_cast< ::message::Hardware_device_status >(value));
  5398. } else {
  5399. mutable_unknown_fields()->AddVarint(
  5400. 4, static_cast< ::google::protobuf::uint64>(value));
  5401. }
  5402. } else {
  5403. goto handle_unusual;
  5404. }
  5405. break;
  5406. }
  5407. // optional .message.Load_status actual_inside_load_status = 5;
  5408. case 5: {
  5409. if (static_cast< ::google::protobuf::uint8>(tag) ==
  5410. static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
  5411. int value;
  5412. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5413. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  5414. input, &value)));
  5415. if (::message::Load_status_IsValid(value)) {
  5416. set_actual_inside_load_status(static_cast< ::message::Load_status >(value));
  5417. } else {
  5418. mutable_unknown_fields()->AddVarint(
  5419. 5, static_cast< ::google::protobuf::uint64>(value));
  5420. }
  5421. } else {
  5422. goto handle_unusual;
  5423. }
  5424. break;
  5425. }
  5426. // optional .message.Load_status actual_outside_load_status = 6;
  5427. case 6: {
  5428. if (static_cast< ::google::protobuf::uint8>(tag) ==
  5429. static_cast< ::google::protobuf::uint8>(48u /* 48 & 0xFF */)) {
  5430. int value;
  5431. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5432. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  5433. input, &value)));
  5434. if (::message::Load_status_IsValid(value)) {
  5435. set_actual_outside_load_status(static_cast< ::message::Load_status >(value));
  5436. } else {
  5437. mutable_unknown_fields()->AddVarint(
  5438. 6, static_cast< ::google::protobuf::uint64>(value));
  5439. }
  5440. } else {
  5441. goto handle_unusual;
  5442. }
  5443. break;
  5444. }
  5445. // optional .message.Overstep_the_boundary actual_front_overstep_the_boundary = 7;
  5446. case 7: {
  5447. if (static_cast< ::google::protobuf::uint8>(tag) ==
  5448. static_cast< ::google::protobuf::uint8>(56u /* 56 & 0xFF */)) {
  5449. int value;
  5450. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5451. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  5452. input, &value)));
  5453. if (::message::Overstep_the_boundary_IsValid(value)) {
  5454. set_actual_front_overstep_the_boundary(static_cast< ::message::Overstep_the_boundary >(value));
  5455. } else {
  5456. mutable_unknown_fields()->AddVarint(
  5457. 7, static_cast< ::google::protobuf::uint64>(value));
  5458. }
  5459. } else {
  5460. goto handle_unusual;
  5461. }
  5462. break;
  5463. }
  5464. // optional .message.Overstep_the_boundary actual_back_overstep_the_boundary = 8;
  5465. case 8: {
  5466. if (static_cast< ::google::protobuf::uint8>(tag) ==
  5467. static_cast< ::google::protobuf::uint8>(64u /* 64 & 0xFF */)) {
  5468. int value;
  5469. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5470. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  5471. input, &value)));
  5472. if (::message::Overstep_the_boundary_IsValid(value)) {
  5473. set_actual_back_overstep_the_boundary(static_cast< ::message::Overstep_the_boundary >(value));
  5474. } else {
  5475. mutable_unknown_fields()->AddVarint(
  5476. 8, static_cast< ::google::protobuf::uint64>(value));
  5477. }
  5478. } else {
  5479. goto handle_unusual;
  5480. }
  5481. break;
  5482. }
  5483. // optional .message.Overstep_the_boundary actual_height_overstep_the_boundary = 9;
  5484. case 9: {
  5485. if (static_cast< ::google::protobuf::uint8>(tag) ==
  5486. static_cast< ::google::protobuf::uint8>(72u /* 72 & 0xFF */)) {
  5487. int value;
  5488. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5489. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  5490. input, &value)));
  5491. if (::message::Overstep_the_boundary_IsValid(value)) {
  5492. set_actual_height_overstep_the_boundary(static_cast< ::message::Overstep_the_boundary >(value));
  5493. } else {
  5494. mutable_unknown_fields()->AddVarint(
  5495. 9, static_cast< ::google::protobuf::uint64>(value));
  5496. }
  5497. } else {
  5498. goto handle_unusual;
  5499. }
  5500. break;
  5501. }
  5502. // optional .message.Load_status actual_outside_door_sensor = 10;
  5503. case 10: {
  5504. if (static_cast< ::google::protobuf::uint8>(tag) ==
  5505. static_cast< ::google::protobuf::uint8>(80u /* 80 & 0xFF */)) {
  5506. int value;
  5507. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5508. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  5509. input, &value)));
  5510. if (::message::Load_status_IsValid(value)) {
  5511. set_actual_outside_door_sensor(static_cast< ::message::Load_status >(value));
  5512. } else {
  5513. mutable_unknown_fields()->AddVarint(
  5514. 10, static_cast< ::google::protobuf::uint64>(value));
  5515. }
  5516. } else {
  5517. goto handle_unusual;
  5518. }
  5519. break;
  5520. }
  5521. // optional .message.Door_motion actual_inside_door_motion = 11;
  5522. case 11: {
  5523. if (static_cast< ::google::protobuf::uint8>(tag) ==
  5524. static_cast< ::google::protobuf::uint8>(88u /* 88 & 0xFF */)) {
  5525. int value;
  5526. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5527. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  5528. input, &value)));
  5529. if (::message::Door_motion_IsValid(value)) {
  5530. set_actual_inside_door_motion(static_cast< ::message::Door_motion >(value));
  5531. } else {
  5532. mutable_unknown_fields()->AddVarint(
  5533. 11, static_cast< ::google::protobuf::uint64>(value));
  5534. }
  5535. } else {
  5536. goto handle_unusual;
  5537. }
  5538. break;
  5539. }
  5540. // optional .message.Door_motion actual_outside_door_motion = 12;
  5541. case 12: {
  5542. if (static_cast< ::google::protobuf::uint8>(tag) ==
  5543. static_cast< ::google::protobuf::uint8>(96u /* 96 & 0xFF */)) {
  5544. int value;
  5545. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5546. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  5547. input, &value)));
  5548. if (::message::Door_motion_IsValid(value)) {
  5549. set_actual_outside_door_motion(static_cast< ::message::Door_motion >(value));
  5550. } else {
  5551. mutable_unknown_fields()->AddVarint(
  5552. 12, static_cast< ::google::protobuf::uint64>(value));
  5553. }
  5554. } else {
  5555. goto handle_unusual;
  5556. }
  5557. break;
  5558. }
  5559. // optional .message.Load_status actual_turntable_load_status = 13;
  5560. case 13: {
  5561. if (static_cast< ::google::protobuf::uint8>(tag) ==
  5562. static_cast< ::google::protobuf::uint8>(104u /* 104 & 0xFF */)) {
  5563. int value;
  5564. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5565. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  5566. input, &value)));
  5567. if (::message::Load_status_IsValid(value)) {
  5568. set_actual_turntable_load_status(static_cast< ::message::Load_status >(value));
  5569. } else {
  5570. mutable_unknown_fields()->AddVarint(
  5571. 13, static_cast< ::google::protobuf::uint64>(value));
  5572. }
  5573. } else {
  5574. goto handle_unusual;
  5575. }
  5576. break;
  5577. }
  5578. // optional .message.Turntable_direction actual_turntable_direction = 14;
  5579. case 14: {
  5580. if (static_cast< ::google::protobuf::uint8>(tag) ==
  5581. static_cast< ::google::protobuf::uint8>(112u /* 112 & 0xFF */)) {
  5582. int value;
  5583. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5584. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  5585. input, &value)));
  5586. if (::message::Turntable_direction_IsValid(value)) {
  5587. set_actual_turntable_direction(static_cast< ::message::Turntable_direction >(value));
  5588. } else {
  5589. mutable_unknown_fields()->AddVarint(
  5590. 14, static_cast< ::google::protobuf::uint64>(value));
  5591. }
  5592. } else {
  5593. goto handle_unusual;
  5594. }
  5595. break;
  5596. }
  5597. // optional string actual_error_code = 15;
  5598. case 15: {
  5599. if (static_cast< ::google::protobuf::uint8>(tag) ==
  5600. static_cast< ::google::protobuf::uint8>(122u /* 122 & 0xFF */)) {
  5601. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  5602. input, this->mutable_actual_error_code()));
  5603. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  5604. this->actual_error_code().data(), static_cast<int>(this->actual_error_code().length()),
  5605. ::google::protobuf::internal::WireFormat::PARSE,
  5606. "message.Passageway_data.actual_error_code");
  5607. } else {
  5608. goto handle_unusual;
  5609. }
  5610. break;
  5611. }
  5612. // optional string actual_warning_code = 16;
  5613. case 16: {
  5614. if (static_cast< ::google::protobuf::uint8>(tag) ==
  5615. static_cast< ::google::protobuf::uint8>(130u /* 130 & 0xFF */)) {
  5616. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  5617. input, this->mutable_actual_warning_code()));
  5618. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  5619. this->actual_warning_code().data(), static_cast<int>(this->actual_warning_code().length()),
  5620. ::google::protobuf::internal::WireFormat::PARSE,
  5621. "message.Passageway_data.actual_warning_code");
  5622. } else {
  5623. goto handle_unusual;
  5624. }
  5625. break;
  5626. }
  5627. // optional string actual_error_description = 17;
  5628. case 17: {
  5629. if (static_cast< ::google::protobuf::uint8>(tag) ==
  5630. static_cast< ::google::protobuf::uint8>(138u /* 138 & 0xFF */)) {
  5631. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  5632. input, this->mutable_actual_error_description()));
  5633. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  5634. this->actual_error_description().data(), static_cast<int>(this->actual_error_description().length()),
  5635. ::google::protobuf::internal::WireFormat::PARSE,
  5636. "message.Passageway_data.actual_error_description");
  5637. } else {
  5638. goto handle_unusual;
  5639. }
  5640. break;
  5641. }
  5642. default: {
  5643. handle_unusual:
  5644. if (tag == 0) {
  5645. goto success;
  5646. }
  5647. DO_(::google::protobuf::internal::WireFormat::SkipField(
  5648. input, tag, _internal_metadata_.mutable_unknown_fields()));
  5649. break;
  5650. }
  5651. }
  5652. }
  5653. success:
  5654. // @@protoc_insertion_point(parse_success:message.Passageway_data)
  5655. return true;
  5656. failure:
  5657. // @@protoc_insertion_point(parse_failure:message.Passageway_data)
  5658. return false;
  5659. #undef DO_
  5660. }
  5661. void Passageway_data::SerializeWithCachedSizes(
  5662. ::google::protobuf::io::CodedOutputStream* output) const {
  5663. // @@protoc_insertion_point(serialize_start:message.Passageway_data)
  5664. ::google::protobuf::uint32 cached_has_bits = 0;
  5665. (void) cached_has_bits;
  5666. cached_has_bits = _has_bits_[0];
  5667. // required .message.Dispatch_device_type dispatch_device_type = 1;
  5668. if (cached_has_bits & 0x00010000u) {
  5669. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  5670. 1, this->dispatch_device_type(), output);
  5671. }
  5672. // required .message.Dispatch_device_status dispatch_device_status = 2;
  5673. if (cached_has_bits & 0x00000008u) {
  5674. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  5675. 2, this->dispatch_device_status(), output);
  5676. }
  5677. // required int32 device_id = 3;
  5678. if (cached_has_bits & 0x00000010u) {
  5679. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->device_id(), output);
  5680. }
  5681. // optional .message.Hardware_device_status actual_device_status = 4;
  5682. if (cached_has_bits & 0x00000020u) {
  5683. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  5684. 4, this->actual_device_status(), output);
  5685. }
  5686. // optional .message.Load_status actual_inside_load_status = 5;
  5687. if (cached_has_bits & 0x00000040u) {
  5688. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  5689. 5, this->actual_inside_load_status(), output);
  5690. }
  5691. // optional .message.Load_status actual_outside_load_status = 6;
  5692. if (cached_has_bits & 0x00000080u) {
  5693. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  5694. 6, this->actual_outside_load_status(), output);
  5695. }
  5696. // optional .message.Overstep_the_boundary actual_front_overstep_the_boundary = 7;
  5697. if (cached_has_bits & 0x00000100u) {
  5698. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  5699. 7, this->actual_front_overstep_the_boundary(), output);
  5700. }
  5701. // optional .message.Overstep_the_boundary actual_back_overstep_the_boundary = 8;
  5702. if (cached_has_bits & 0x00000200u) {
  5703. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  5704. 8, this->actual_back_overstep_the_boundary(), output);
  5705. }
  5706. // optional .message.Overstep_the_boundary actual_height_overstep_the_boundary = 9;
  5707. if (cached_has_bits & 0x00000400u) {
  5708. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  5709. 9, this->actual_height_overstep_the_boundary(), output);
  5710. }
  5711. // optional .message.Load_status actual_outside_door_sensor = 10;
  5712. if (cached_has_bits & 0x00000800u) {
  5713. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  5714. 10, this->actual_outside_door_sensor(), output);
  5715. }
  5716. // optional .message.Door_motion actual_inside_door_motion = 11;
  5717. if (cached_has_bits & 0x00001000u) {
  5718. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  5719. 11, this->actual_inside_door_motion(), output);
  5720. }
  5721. // optional .message.Door_motion actual_outside_door_motion = 12;
  5722. if (cached_has_bits & 0x00002000u) {
  5723. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  5724. 12, this->actual_outside_door_motion(), output);
  5725. }
  5726. // optional .message.Load_status actual_turntable_load_status = 13;
  5727. if (cached_has_bits & 0x00004000u) {
  5728. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  5729. 13, this->actual_turntable_load_status(), output);
  5730. }
  5731. // optional .message.Turntable_direction actual_turntable_direction = 14;
  5732. if (cached_has_bits & 0x00008000u) {
  5733. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  5734. 14, this->actual_turntable_direction(), output);
  5735. }
  5736. // optional string actual_error_code = 15;
  5737. if (cached_has_bits & 0x00000001u) {
  5738. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  5739. this->actual_error_code().data(), static_cast<int>(this->actual_error_code().length()),
  5740. ::google::protobuf::internal::WireFormat::SERIALIZE,
  5741. "message.Passageway_data.actual_error_code");
  5742. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  5743. 15, this->actual_error_code(), output);
  5744. }
  5745. // optional string actual_warning_code = 16;
  5746. if (cached_has_bits & 0x00000002u) {
  5747. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  5748. this->actual_warning_code().data(), static_cast<int>(this->actual_warning_code().length()),
  5749. ::google::protobuf::internal::WireFormat::SERIALIZE,
  5750. "message.Passageway_data.actual_warning_code");
  5751. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  5752. 16, this->actual_warning_code(), output);
  5753. }
  5754. // optional string actual_error_description = 17;
  5755. if (cached_has_bits & 0x00000004u) {
  5756. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  5757. this->actual_error_description().data(), static_cast<int>(this->actual_error_description().length()),
  5758. ::google::protobuf::internal::WireFormat::SERIALIZE,
  5759. "message.Passageway_data.actual_error_description");
  5760. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  5761. 17, this->actual_error_description(), output);
  5762. }
  5763. if (_internal_metadata_.have_unknown_fields()) {
  5764. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  5765. _internal_metadata_.unknown_fields(), output);
  5766. }
  5767. // @@protoc_insertion_point(serialize_end:message.Passageway_data)
  5768. }
  5769. ::google::protobuf::uint8* Passageway_data::InternalSerializeWithCachedSizesToArray(
  5770. bool deterministic, ::google::protobuf::uint8* target) const {
  5771. (void)deterministic; // Unused
  5772. // @@protoc_insertion_point(serialize_to_array_start:message.Passageway_data)
  5773. ::google::protobuf::uint32 cached_has_bits = 0;
  5774. (void) cached_has_bits;
  5775. cached_has_bits = _has_bits_[0];
  5776. // required .message.Dispatch_device_type dispatch_device_type = 1;
  5777. if (cached_has_bits & 0x00010000u) {
  5778. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  5779. 1, this->dispatch_device_type(), target);
  5780. }
  5781. // required .message.Dispatch_device_status dispatch_device_status = 2;
  5782. if (cached_has_bits & 0x00000008u) {
  5783. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  5784. 2, this->dispatch_device_status(), target);
  5785. }
  5786. // required int32 device_id = 3;
  5787. if (cached_has_bits & 0x00000010u) {
  5788. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->device_id(), target);
  5789. }
  5790. // optional .message.Hardware_device_status actual_device_status = 4;
  5791. if (cached_has_bits & 0x00000020u) {
  5792. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  5793. 4, this->actual_device_status(), target);
  5794. }
  5795. // optional .message.Load_status actual_inside_load_status = 5;
  5796. if (cached_has_bits & 0x00000040u) {
  5797. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  5798. 5, this->actual_inside_load_status(), target);
  5799. }
  5800. // optional .message.Load_status actual_outside_load_status = 6;
  5801. if (cached_has_bits & 0x00000080u) {
  5802. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  5803. 6, this->actual_outside_load_status(), target);
  5804. }
  5805. // optional .message.Overstep_the_boundary actual_front_overstep_the_boundary = 7;
  5806. if (cached_has_bits & 0x00000100u) {
  5807. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  5808. 7, this->actual_front_overstep_the_boundary(), target);
  5809. }
  5810. // optional .message.Overstep_the_boundary actual_back_overstep_the_boundary = 8;
  5811. if (cached_has_bits & 0x00000200u) {
  5812. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  5813. 8, this->actual_back_overstep_the_boundary(), target);
  5814. }
  5815. // optional .message.Overstep_the_boundary actual_height_overstep_the_boundary = 9;
  5816. if (cached_has_bits & 0x00000400u) {
  5817. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  5818. 9, this->actual_height_overstep_the_boundary(), target);
  5819. }
  5820. // optional .message.Load_status actual_outside_door_sensor = 10;
  5821. if (cached_has_bits & 0x00000800u) {
  5822. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  5823. 10, this->actual_outside_door_sensor(), target);
  5824. }
  5825. // optional .message.Door_motion actual_inside_door_motion = 11;
  5826. if (cached_has_bits & 0x00001000u) {
  5827. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  5828. 11, this->actual_inside_door_motion(), target);
  5829. }
  5830. // optional .message.Door_motion actual_outside_door_motion = 12;
  5831. if (cached_has_bits & 0x00002000u) {
  5832. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  5833. 12, this->actual_outside_door_motion(), target);
  5834. }
  5835. // optional .message.Load_status actual_turntable_load_status = 13;
  5836. if (cached_has_bits & 0x00004000u) {
  5837. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  5838. 13, this->actual_turntable_load_status(), target);
  5839. }
  5840. // optional .message.Turntable_direction actual_turntable_direction = 14;
  5841. if (cached_has_bits & 0x00008000u) {
  5842. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  5843. 14, this->actual_turntable_direction(), target);
  5844. }
  5845. // optional string actual_error_code = 15;
  5846. if (cached_has_bits & 0x00000001u) {
  5847. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  5848. this->actual_error_code().data(), static_cast<int>(this->actual_error_code().length()),
  5849. ::google::protobuf::internal::WireFormat::SERIALIZE,
  5850. "message.Passageway_data.actual_error_code");
  5851. target =
  5852. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  5853. 15, this->actual_error_code(), target);
  5854. }
  5855. // optional string actual_warning_code = 16;
  5856. if (cached_has_bits & 0x00000002u) {
  5857. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  5858. this->actual_warning_code().data(), static_cast<int>(this->actual_warning_code().length()),
  5859. ::google::protobuf::internal::WireFormat::SERIALIZE,
  5860. "message.Passageway_data.actual_warning_code");
  5861. target =
  5862. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  5863. 16, this->actual_warning_code(), target);
  5864. }
  5865. // optional string actual_error_description = 17;
  5866. if (cached_has_bits & 0x00000004u) {
  5867. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  5868. this->actual_error_description().data(), static_cast<int>(this->actual_error_description().length()),
  5869. ::google::protobuf::internal::WireFormat::SERIALIZE,
  5870. "message.Passageway_data.actual_error_description");
  5871. target =
  5872. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  5873. 17, this->actual_error_description(), target);
  5874. }
  5875. if (_internal_metadata_.have_unknown_fields()) {
  5876. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  5877. _internal_metadata_.unknown_fields(), target);
  5878. }
  5879. // @@protoc_insertion_point(serialize_to_array_end:message.Passageway_data)
  5880. return target;
  5881. }
  5882. size_t Passageway_data::RequiredFieldsByteSizeFallback() const {
  5883. // @@protoc_insertion_point(required_fields_byte_size_fallback_start:message.Passageway_data)
  5884. size_t total_size = 0;
  5885. if (has_dispatch_device_status()) {
  5886. // required .message.Dispatch_device_status dispatch_device_status = 2;
  5887. total_size += 1 +
  5888. ::google::protobuf::internal::WireFormatLite::EnumSize(this->dispatch_device_status());
  5889. }
  5890. if (has_device_id()) {
  5891. // required int32 device_id = 3;
  5892. total_size += 1 +
  5893. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5894. this->device_id());
  5895. }
  5896. if (has_dispatch_device_type()) {
  5897. // required .message.Dispatch_device_type dispatch_device_type = 1;
  5898. total_size += 1 +
  5899. ::google::protobuf::internal::WireFormatLite::EnumSize(this->dispatch_device_type());
  5900. }
  5901. return total_size;
  5902. }
  5903. size_t Passageway_data::ByteSizeLong() const {
  5904. // @@protoc_insertion_point(message_byte_size_start:message.Passageway_data)
  5905. size_t total_size = 0;
  5906. if (_internal_metadata_.have_unknown_fields()) {
  5907. total_size +=
  5908. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  5909. _internal_metadata_.unknown_fields());
  5910. }
  5911. if (((_has_bits_[0] & 0x00010018) ^ 0x00010018) == 0) { // All required fields are present.
  5912. // required .message.Dispatch_device_status dispatch_device_status = 2;
  5913. total_size += 1 +
  5914. ::google::protobuf::internal::WireFormatLite::EnumSize(this->dispatch_device_status());
  5915. // required int32 device_id = 3;
  5916. total_size += 1 +
  5917. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5918. this->device_id());
  5919. // required .message.Dispatch_device_type dispatch_device_type = 1;
  5920. total_size += 1 +
  5921. ::google::protobuf::internal::WireFormatLite::EnumSize(this->dispatch_device_type());
  5922. } else {
  5923. total_size += RequiredFieldsByteSizeFallback();
  5924. }
  5925. if (_has_bits_[0 / 32] & 7u) {
  5926. // optional string actual_error_code = 15;
  5927. if (has_actual_error_code()) {
  5928. total_size += 1 +
  5929. ::google::protobuf::internal::WireFormatLite::StringSize(
  5930. this->actual_error_code());
  5931. }
  5932. // optional string actual_warning_code = 16;
  5933. if (has_actual_warning_code()) {
  5934. total_size += 2 +
  5935. ::google::protobuf::internal::WireFormatLite::StringSize(
  5936. this->actual_warning_code());
  5937. }
  5938. // optional string actual_error_description = 17;
  5939. if (has_actual_error_description()) {
  5940. total_size += 2 +
  5941. ::google::protobuf::internal::WireFormatLite::StringSize(
  5942. this->actual_error_description());
  5943. }
  5944. }
  5945. if (_has_bits_[0 / 32] & 224u) {
  5946. // optional .message.Hardware_device_status actual_device_status = 4;
  5947. if (has_actual_device_status()) {
  5948. total_size += 1 +
  5949. ::google::protobuf::internal::WireFormatLite::EnumSize(this->actual_device_status());
  5950. }
  5951. // optional .message.Load_status actual_inside_load_status = 5;
  5952. if (has_actual_inside_load_status()) {
  5953. total_size += 1 +
  5954. ::google::protobuf::internal::WireFormatLite::EnumSize(this->actual_inside_load_status());
  5955. }
  5956. // optional .message.Load_status actual_outside_load_status = 6;
  5957. if (has_actual_outside_load_status()) {
  5958. total_size += 1 +
  5959. ::google::protobuf::internal::WireFormatLite::EnumSize(this->actual_outside_load_status());
  5960. }
  5961. }
  5962. if (_has_bits_[8 / 32] & 65280u) {
  5963. // optional .message.Overstep_the_boundary actual_front_overstep_the_boundary = 7;
  5964. if (has_actual_front_overstep_the_boundary()) {
  5965. total_size += 1 +
  5966. ::google::protobuf::internal::WireFormatLite::EnumSize(this->actual_front_overstep_the_boundary());
  5967. }
  5968. // optional .message.Overstep_the_boundary actual_back_overstep_the_boundary = 8;
  5969. if (has_actual_back_overstep_the_boundary()) {
  5970. total_size += 1 +
  5971. ::google::protobuf::internal::WireFormatLite::EnumSize(this->actual_back_overstep_the_boundary());
  5972. }
  5973. // optional .message.Overstep_the_boundary actual_height_overstep_the_boundary = 9;
  5974. if (has_actual_height_overstep_the_boundary()) {
  5975. total_size += 1 +
  5976. ::google::protobuf::internal::WireFormatLite::EnumSize(this->actual_height_overstep_the_boundary());
  5977. }
  5978. // optional .message.Load_status actual_outside_door_sensor = 10;
  5979. if (has_actual_outside_door_sensor()) {
  5980. total_size += 1 +
  5981. ::google::protobuf::internal::WireFormatLite::EnumSize(this->actual_outside_door_sensor());
  5982. }
  5983. // optional .message.Door_motion actual_inside_door_motion = 11;
  5984. if (has_actual_inside_door_motion()) {
  5985. total_size += 1 +
  5986. ::google::protobuf::internal::WireFormatLite::EnumSize(this->actual_inside_door_motion());
  5987. }
  5988. // optional .message.Door_motion actual_outside_door_motion = 12;
  5989. if (has_actual_outside_door_motion()) {
  5990. total_size += 1 +
  5991. ::google::protobuf::internal::WireFormatLite::EnumSize(this->actual_outside_door_motion());
  5992. }
  5993. // optional .message.Load_status actual_turntable_load_status = 13;
  5994. if (has_actual_turntable_load_status()) {
  5995. total_size += 1 +
  5996. ::google::protobuf::internal::WireFormatLite::EnumSize(this->actual_turntable_load_status());
  5997. }
  5998. // optional .message.Turntable_direction actual_turntable_direction = 14;
  5999. if (has_actual_turntable_direction()) {
  6000. total_size += 1 +
  6001. ::google::protobuf::internal::WireFormatLite::EnumSize(this->actual_turntable_direction());
  6002. }
  6003. }
  6004. int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
  6005. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6006. _cached_size_ = cached_size;
  6007. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6008. return total_size;
  6009. }
  6010. void Passageway_data::MergeFrom(const ::google::protobuf::Message& from) {
  6011. // @@protoc_insertion_point(generalized_merge_from_start:message.Passageway_data)
  6012. GOOGLE_DCHECK_NE(&from, this);
  6013. const Passageway_data* source =
  6014. ::google::protobuf::internal::DynamicCastToGenerated<const Passageway_data>(
  6015. &from);
  6016. if (source == NULL) {
  6017. // @@protoc_insertion_point(generalized_merge_from_cast_fail:message.Passageway_data)
  6018. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  6019. } else {
  6020. // @@protoc_insertion_point(generalized_merge_from_cast_success:message.Passageway_data)
  6021. MergeFrom(*source);
  6022. }
  6023. }
  6024. void Passageway_data::MergeFrom(const Passageway_data& from) {
  6025. // @@protoc_insertion_point(class_specific_merge_from_start:message.Passageway_data)
  6026. GOOGLE_DCHECK_NE(&from, this);
  6027. _internal_metadata_.MergeFrom(from._internal_metadata_);
  6028. ::google::protobuf::uint32 cached_has_bits = 0;
  6029. (void) cached_has_bits;
  6030. cached_has_bits = from._has_bits_[0];
  6031. if (cached_has_bits & 255u) {
  6032. if (cached_has_bits & 0x00000001u) {
  6033. set_has_actual_error_code();
  6034. actual_error_code_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.actual_error_code_);
  6035. }
  6036. if (cached_has_bits & 0x00000002u) {
  6037. set_has_actual_warning_code();
  6038. actual_warning_code_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.actual_warning_code_);
  6039. }
  6040. if (cached_has_bits & 0x00000004u) {
  6041. set_has_actual_error_description();
  6042. actual_error_description_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.actual_error_description_);
  6043. }
  6044. if (cached_has_bits & 0x00000008u) {
  6045. dispatch_device_status_ = from.dispatch_device_status_;
  6046. }
  6047. if (cached_has_bits & 0x00000010u) {
  6048. device_id_ = from.device_id_;
  6049. }
  6050. if (cached_has_bits & 0x00000020u) {
  6051. actual_device_status_ = from.actual_device_status_;
  6052. }
  6053. if (cached_has_bits & 0x00000040u) {
  6054. actual_inside_load_status_ = from.actual_inside_load_status_;
  6055. }
  6056. if (cached_has_bits & 0x00000080u) {
  6057. actual_outside_load_status_ = from.actual_outside_load_status_;
  6058. }
  6059. _has_bits_[0] |= cached_has_bits;
  6060. }
  6061. if (cached_has_bits & 65280u) {
  6062. if (cached_has_bits & 0x00000100u) {
  6063. actual_front_overstep_the_boundary_ = from.actual_front_overstep_the_boundary_;
  6064. }
  6065. if (cached_has_bits & 0x00000200u) {
  6066. actual_back_overstep_the_boundary_ = from.actual_back_overstep_the_boundary_;
  6067. }
  6068. if (cached_has_bits & 0x00000400u) {
  6069. actual_height_overstep_the_boundary_ = from.actual_height_overstep_the_boundary_;
  6070. }
  6071. if (cached_has_bits & 0x00000800u) {
  6072. actual_outside_door_sensor_ = from.actual_outside_door_sensor_;
  6073. }
  6074. if (cached_has_bits & 0x00001000u) {
  6075. actual_inside_door_motion_ = from.actual_inside_door_motion_;
  6076. }
  6077. if (cached_has_bits & 0x00002000u) {
  6078. actual_outside_door_motion_ = from.actual_outside_door_motion_;
  6079. }
  6080. if (cached_has_bits & 0x00004000u) {
  6081. actual_turntable_load_status_ = from.actual_turntable_load_status_;
  6082. }
  6083. if (cached_has_bits & 0x00008000u) {
  6084. actual_turntable_direction_ = from.actual_turntable_direction_;
  6085. }
  6086. _has_bits_[0] |= cached_has_bits;
  6087. }
  6088. if (cached_has_bits & 0x00010000u) {
  6089. set_dispatch_device_type(from.dispatch_device_type());
  6090. }
  6091. }
  6092. void Passageway_data::CopyFrom(const ::google::protobuf::Message& from) {
  6093. // @@protoc_insertion_point(generalized_copy_from_start:message.Passageway_data)
  6094. if (&from == this) return;
  6095. Clear();
  6096. MergeFrom(from);
  6097. }
  6098. void Passageway_data::CopyFrom(const Passageway_data& from) {
  6099. // @@protoc_insertion_point(class_specific_copy_from_start:message.Passageway_data)
  6100. if (&from == this) return;
  6101. Clear();
  6102. MergeFrom(from);
  6103. }
  6104. bool Passageway_data::IsInitialized() const {
  6105. if ((_has_bits_[0] & 0x00010018) != 0x00010018) return false;
  6106. return true;
  6107. }
  6108. void Passageway_data::Swap(Passageway_data* other) {
  6109. if (other == this) return;
  6110. InternalSwap(other);
  6111. }
  6112. void Passageway_data::InternalSwap(Passageway_data* other) {
  6113. using std::swap;
  6114. actual_error_code_.Swap(&other->actual_error_code_);
  6115. actual_warning_code_.Swap(&other->actual_warning_code_);
  6116. actual_error_description_.Swap(&other->actual_error_description_);
  6117. swap(dispatch_device_status_, other->dispatch_device_status_);
  6118. swap(device_id_, other->device_id_);
  6119. swap(actual_device_status_, other->actual_device_status_);
  6120. swap(actual_inside_load_status_, other->actual_inside_load_status_);
  6121. swap(actual_outside_load_status_, other->actual_outside_load_status_);
  6122. swap(actual_front_overstep_the_boundary_, other->actual_front_overstep_the_boundary_);
  6123. swap(actual_back_overstep_the_boundary_, other->actual_back_overstep_the_boundary_);
  6124. swap(actual_height_overstep_the_boundary_, other->actual_height_overstep_the_boundary_);
  6125. swap(actual_outside_door_sensor_, other->actual_outside_door_sensor_);
  6126. swap(actual_inside_door_motion_, other->actual_inside_door_motion_);
  6127. swap(actual_outside_door_motion_, other->actual_outside_door_motion_);
  6128. swap(actual_turntable_load_status_, other->actual_turntable_load_status_);
  6129. swap(actual_turntable_direction_, other->actual_turntable_direction_);
  6130. swap(dispatch_device_type_, other->dispatch_device_type_);
  6131. swap(_has_bits_[0], other->_has_bits_[0]);
  6132. _internal_metadata_.Swap(&other->_internal_metadata_);
  6133. swap(_cached_size_, other->_cached_size_);
  6134. }
  6135. ::google::protobuf::Metadata Passageway_data::GetMetadata() const {
  6136. protobuf_dispatch_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  6137. return ::protobuf_dispatch_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages];
  6138. }
  6139. // ===================================================================
  6140. void Dispatch_manager_status_msg::InitAsDefaultInstance() {
  6141. ::message::_Dispatch_manager_status_msg_default_instance_._instance.get_mutable()->base_info_ = const_cast< ::message::Base_info*>(
  6142. ::message::Base_info::internal_default_instance());
  6143. }
  6144. void Dispatch_manager_status_msg::clear_base_info() {
  6145. if (base_info_ != NULL) base_info_->Clear();
  6146. clear_has_base_info();
  6147. }
  6148. #if !defined(_MSC_VER) || _MSC_VER >= 1900
  6149. const int Dispatch_manager_status_msg::kBaseInfoFieldNumber;
  6150. const int Dispatch_manager_status_msg::kDispatchIdFieldNumber;
  6151. const int Dispatch_manager_status_msg::kDispatchManagerStatusFieldNumber;
  6152. const int Dispatch_manager_status_msg::kCatcherDataMapFieldNumber;
  6153. const int Dispatch_manager_status_msg::kCarrierDataMapFieldNumber;
  6154. const int Dispatch_manager_status_msg::kPassagewayDataMapFieldNumber;
  6155. #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
  6156. Dispatch_manager_status_msg::Dispatch_manager_status_msg()
  6157. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  6158. if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
  6159. ::protobuf_dispatch_5fmessage_2eproto::InitDefaultsDispatch_manager_status_msg();
  6160. }
  6161. SharedCtor();
  6162. // @@protoc_insertion_point(constructor:message.Dispatch_manager_status_msg)
  6163. }
  6164. Dispatch_manager_status_msg::Dispatch_manager_status_msg(const Dispatch_manager_status_msg& from)
  6165. : ::google::protobuf::Message(),
  6166. _internal_metadata_(NULL),
  6167. _has_bits_(from._has_bits_),
  6168. _cached_size_(0),
  6169. catcher_data_map_(from.catcher_data_map_),
  6170. carrier_data_map_(from.carrier_data_map_),
  6171. passageway_data_map_(from.passageway_data_map_) {
  6172. _internal_metadata_.MergeFrom(from._internal_metadata_);
  6173. if (from.has_base_info()) {
  6174. base_info_ = new ::message::Base_info(*from.base_info_);
  6175. } else {
  6176. base_info_ = NULL;
  6177. }
  6178. ::memcpy(&dispatch_id_, &from.dispatch_id_,
  6179. static_cast<size_t>(reinterpret_cast<char*>(&dispatch_manager_status_) -
  6180. reinterpret_cast<char*>(&dispatch_id_)) + sizeof(dispatch_manager_status_));
  6181. // @@protoc_insertion_point(copy_constructor:message.Dispatch_manager_status_msg)
  6182. }
  6183. void Dispatch_manager_status_msg::SharedCtor() {
  6184. _cached_size_ = 0;
  6185. ::memset(&base_info_, 0, static_cast<size_t>(
  6186. reinterpret_cast<char*>(&dispatch_manager_status_) -
  6187. reinterpret_cast<char*>(&base_info_)) + sizeof(dispatch_manager_status_));
  6188. }
  6189. Dispatch_manager_status_msg::~Dispatch_manager_status_msg() {
  6190. // @@protoc_insertion_point(destructor:message.Dispatch_manager_status_msg)
  6191. SharedDtor();
  6192. }
  6193. void Dispatch_manager_status_msg::SharedDtor() {
  6194. if (this != internal_default_instance()) delete base_info_;
  6195. }
  6196. void Dispatch_manager_status_msg::SetCachedSize(int size) const {
  6197. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6198. _cached_size_ = size;
  6199. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6200. }
  6201. const ::google::protobuf::Descriptor* Dispatch_manager_status_msg::descriptor() {
  6202. ::protobuf_dispatch_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  6203. return ::protobuf_dispatch_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
  6204. }
  6205. const Dispatch_manager_status_msg& Dispatch_manager_status_msg::default_instance() {
  6206. ::protobuf_dispatch_5fmessage_2eproto::InitDefaultsDispatch_manager_status_msg();
  6207. return *internal_default_instance();
  6208. }
  6209. Dispatch_manager_status_msg* Dispatch_manager_status_msg::New(::google::protobuf::Arena* arena) const {
  6210. Dispatch_manager_status_msg* n = new Dispatch_manager_status_msg;
  6211. if (arena != NULL) {
  6212. arena->Own(n);
  6213. }
  6214. return n;
  6215. }
  6216. void Dispatch_manager_status_msg::Clear() {
  6217. // @@protoc_insertion_point(message_clear_start:message.Dispatch_manager_status_msg)
  6218. ::google::protobuf::uint32 cached_has_bits = 0;
  6219. // Prevent compiler warnings about cached_has_bits being unused
  6220. (void) cached_has_bits;
  6221. catcher_data_map_.Clear();
  6222. carrier_data_map_.Clear();
  6223. passageway_data_map_.Clear();
  6224. cached_has_bits = _has_bits_[0];
  6225. if (cached_has_bits & 0x00000001u) {
  6226. GOOGLE_DCHECK(base_info_ != NULL);
  6227. base_info_->Clear();
  6228. }
  6229. if (cached_has_bits & 6u) {
  6230. ::memset(&dispatch_id_, 0, static_cast<size_t>(
  6231. reinterpret_cast<char*>(&dispatch_manager_status_) -
  6232. reinterpret_cast<char*>(&dispatch_id_)) + sizeof(dispatch_manager_status_));
  6233. }
  6234. _has_bits_.Clear();
  6235. _internal_metadata_.Clear();
  6236. }
  6237. bool Dispatch_manager_status_msg::MergePartialFromCodedStream(
  6238. ::google::protobuf::io::CodedInputStream* input) {
  6239. #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
  6240. ::google::protobuf::uint32 tag;
  6241. // @@protoc_insertion_point(parse_start:message.Dispatch_manager_status_msg)
  6242. for (;;) {
  6243. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
  6244. tag = p.first;
  6245. if (!p.second) goto handle_unusual;
  6246. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  6247. // required .message.Base_info base_info = 1;
  6248. case 1: {
  6249. if (static_cast< ::google::protobuf::uint8>(tag) ==
  6250. static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
  6251. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  6252. input, mutable_base_info()));
  6253. } else {
  6254. goto handle_unusual;
  6255. }
  6256. break;
  6257. }
  6258. // required int32 dispatch_id = 2;
  6259. case 2: {
  6260. if (static_cast< ::google::protobuf::uint8>(tag) ==
  6261. static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
  6262. set_has_dispatch_id();
  6263. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6264. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  6265. input, &dispatch_id_)));
  6266. } else {
  6267. goto handle_unusual;
  6268. }
  6269. break;
  6270. }
  6271. // required .message.Dispatch_manager_status dispatch_manager_status = 3;
  6272. case 3: {
  6273. if (static_cast< ::google::protobuf::uint8>(tag) ==
  6274. static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
  6275. int value;
  6276. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6277. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  6278. input, &value)));
  6279. if (::message::Dispatch_manager_status_IsValid(value)) {
  6280. set_dispatch_manager_status(static_cast< ::message::Dispatch_manager_status >(value));
  6281. } else {
  6282. mutable_unknown_fields()->AddVarint(
  6283. 3, static_cast< ::google::protobuf::uint64>(value));
  6284. }
  6285. } else {
  6286. goto handle_unusual;
  6287. }
  6288. break;
  6289. }
  6290. // repeated .message.Catcher_data catcher_data_map = 4;
  6291. case 4: {
  6292. if (static_cast< ::google::protobuf::uint8>(tag) ==
  6293. static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
  6294. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_catcher_data_map()));
  6295. } else {
  6296. goto handle_unusual;
  6297. }
  6298. break;
  6299. }
  6300. // repeated .message.Carrier_data carrier_data_map = 5;
  6301. case 5: {
  6302. if (static_cast< ::google::protobuf::uint8>(tag) ==
  6303. static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
  6304. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_carrier_data_map()));
  6305. } else {
  6306. goto handle_unusual;
  6307. }
  6308. break;
  6309. }
  6310. // repeated .message.Passageway_data passageway_data_map = 6;
  6311. case 6: {
  6312. if (static_cast< ::google::protobuf::uint8>(tag) ==
  6313. static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) {
  6314. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_passageway_data_map()));
  6315. } else {
  6316. goto handle_unusual;
  6317. }
  6318. break;
  6319. }
  6320. default: {
  6321. handle_unusual:
  6322. if (tag == 0) {
  6323. goto success;
  6324. }
  6325. DO_(::google::protobuf::internal::WireFormat::SkipField(
  6326. input, tag, _internal_metadata_.mutable_unknown_fields()));
  6327. break;
  6328. }
  6329. }
  6330. }
  6331. success:
  6332. // @@protoc_insertion_point(parse_success:message.Dispatch_manager_status_msg)
  6333. return true;
  6334. failure:
  6335. // @@protoc_insertion_point(parse_failure:message.Dispatch_manager_status_msg)
  6336. return false;
  6337. #undef DO_
  6338. }
  6339. void Dispatch_manager_status_msg::SerializeWithCachedSizes(
  6340. ::google::protobuf::io::CodedOutputStream* output) const {
  6341. // @@protoc_insertion_point(serialize_start:message.Dispatch_manager_status_msg)
  6342. ::google::protobuf::uint32 cached_has_bits = 0;
  6343. (void) cached_has_bits;
  6344. cached_has_bits = _has_bits_[0];
  6345. // required .message.Base_info base_info = 1;
  6346. if (cached_has_bits & 0x00000001u) {
  6347. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  6348. 1, *this->base_info_, output);
  6349. }
  6350. // required int32 dispatch_id = 2;
  6351. if (cached_has_bits & 0x00000002u) {
  6352. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->dispatch_id(), output);
  6353. }
  6354. // required .message.Dispatch_manager_status dispatch_manager_status = 3;
  6355. if (cached_has_bits & 0x00000004u) {
  6356. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  6357. 3, this->dispatch_manager_status(), output);
  6358. }
  6359. // repeated .message.Catcher_data catcher_data_map = 4;
  6360. for (unsigned int i = 0,
  6361. n = static_cast<unsigned int>(this->catcher_data_map_size()); i < n; i++) {
  6362. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  6363. 4, this->catcher_data_map(static_cast<int>(i)), output);
  6364. }
  6365. // repeated .message.Carrier_data carrier_data_map = 5;
  6366. for (unsigned int i = 0,
  6367. n = static_cast<unsigned int>(this->carrier_data_map_size()); i < n; i++) {
  6368. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  6369. 5, this->carrier_data_map(static_cast<int>(i)), output);
  6370. }
  6371. // repeated .message.Passageway_data passageway_data_map = 6;
  6372. for (unsigned int i = 0,
  6373. n = static_cast<unsigned int>(this->passageway_data_map_size()); i < n; i++) {
  6374. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  6375. 6, this->passageway_data_map(static_cast<int>(i)), output);
  6376. }
  6377. if (_internal_metadata_.have_unknown_fields()) {
  6378. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  6379. _internal_metadata_.unknown_fields(), output);
  6380. }
  6381. // @@protoc_insertion_point(serialize_end:message.Dispatch_manager_status_msg)
  6382. }
  6383. ::google::protobuf::uint8* Dispatch_manager_status_msg::InternalSerializeWithCachedSizesToArray(
  6384. bool deterministic, ::google::protobuf::uint8* target) const {
  6385. (void)deterministic; // Unused
  6386. // @@protoc_insertion_point(serialize_to_array_start:message.Dispatch_manager_status_msg)
  6387. ::google::protobuf::uint32 cached_has_bits = 0;
  6388. (void) cached_has_bits;
  6389. cached_has_bits = _has_bits_[0];
  6390. // required .message.Base_info base_info = 1;
  6391. if (cached_has_bits & 0x00000001u) {
  6392. target = ::google::protobuf::internal::WireFormatLite::
  6393. InternalWriteMessageToArray(
  6394. 1, *this->base_info_, deterministic, target);
  6395. }
  6396. // required int32 dispatch_id = 2;
  6397. if (cached_has_bits & 0x00000002u) {
  6398. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->dispatch_id(), target);
  6399. }
  6400. // required .message.Dispatch_manager_status dispatch_manager_status = 3;
  6401. if (cached_has_bits & 0x00000004u) {
  6402. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  6403. 3, this->dispatch_manager_status(), target);
  6404. }
  6405. // repeated .message.Catcher_data catcher_data_map = 4;
  6406. for (unsigned int i = 0,
  6407. n = static_cast<unsigned int>(this->catcher_data_map_size()); i < n; i++) {
  6408. target = ::google::protobuf::internal::WireFormatLite::
  6409. InternalWriteMessageToArray(
  6410. 4, this->catcher_data_map(static_cast<int>(i)), deterministic, target);
  6411. }
  6412. // repeated .message.Carrier_data carrier_data_map = 5;
  6413. for (unsigned int i = 0,
  6414. n = static_cast<unsigned int>(this->carrier_data_map_size()); i < n; i++) {
  6415. target = ::google::protobuf::internal::WireFormatLite::
  6416. InternalWriteMessageToArray(
  6417. 5, this->carrier_data_map(static_cast<int>(i)), deterministic, target);
  6418. }
  6419. // repeated .message.Passageway_data passageway_data_map = 6;
  6420. for (unsigned int i = 0,
  6421. n = static_cast<unsigned int>(this->passageway_data_map_size()); i < n; i++) {
  6422. target = ::google::protobuf::internal::WireFormatLite::
  6423. InternalWriteMessageToArray(
  6424. 6, this->passageway_data_map(static_cast<int>(i)), deterministic, target);
  6425. }
  6426. if (_internal_metadata_.have_unknown_fields()) {
  6427. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  6428. _internal_metadata_.unknown_fields(), target);
  6429. }
  6430. // @@protoc_insertion_point(serialize_to_array_end:message.Dispatch_manager_status_msg)
  6431. return target;
  6432. }
  6433. size_t Dispatch_manager_status_msg::RequiredFieldsByteSizeFallback() const {
  6434. // @@protoc_insertion_point(required_fields_byte_size_fallback_start:message.Dispatch_manager_status_msg)
  6435. size_t total_size = 0;
  6436. if (has_base_info()) {
  6437. // required .message.Base_info base_info = 1;
  6438. total_size += 1 +
  6439. ::google::protobuf::internal::WireFormatLite::MessageSize(
  6440. *this->base_info_);
  6441. }
  6442. if (has_dispatch_id()) {
  6443. // required int32 dispatch_id = 2;
  6444. total_size += 1 +
  6445. ::google::protobuf::internal::WireFormatLite::Int32Size(
  6446. this->dispatch_id());
  6447. }
  6448. if (has_dispatch_manager_status()) {
  6449. // required .message.Dispatch_manager_status dispatch_manager_status = 3;
  6450. total_size += 1 +
  6451. ::google::protobuf::internal::WireFormatLite::EnumSize(this->dispatch_manager_status());
  6452. }
  6453. return total_size;
  6454. }
  6455. size_t Dispatch_manager_status_msg::ByteSizeLong() const {
  6456. // @@protoc_insertion_point(message_byte_size_start:message.Dispatch_manager_status_msg)
  6457. size_t total_size = 0;
  6458. if (_internal_metadata_.have_unknown_fields()) {
  6459. total_size +=
  6460. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  6461. _internal_metadata_.unknown_fields());
  6462. }
  6463. if (((_has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present.
  6464. // required .message.Base_info base_info = 1;
  6465. total_size += 1 +
  6466. ::google::protobuf::internal::WireFormatLite::MessageSize(
  6467. *this->base_info_);
  6468. // required int32 dispatch_id = 2;
  6469. total_size += 1 +
  6470. ::google::protobuf::internal::WireFormatLite::Int32Size(
  6471. this->dispatch_id());
  6472. // required .message.Dispatch_manager_status dispatch_manager_status = 3;
  6473. total_size += 1 +
  6474. ::google::protobuf::internal::WireFormatLite::EnumSize(this->dispatch_manager_status());
  6475. } else {
  6476. total_size += RequiredFieldsByteSizeFallback();
  6477. }
  6478. // repeated .message.Catcher_data catcher_data_map = 4;
  6479. {
  6480. unsigned int count = static_cast<unsigned int>(this->catcher_data_map_size());
  6481. total_size += 1UL * count;
  6482. for (unsigned int i = 0; i < count; i++) {
  6483. total_size +=
  6484. ::google::protobuf::internal::WireFormatLite::MessageSize(
  6485. this->catcher_data_map(static_cast<int>(i)));
  6486. }
  6487. }
  6488. // repeated .message.Carrier_data carrier_data_map = 5;
  6489. {
  6490. unsigned int count = static_cast<unsigned int>(this->carrier_data_map_size());
  6491. total_size += 1UL * count;
  6492. for (unsigned int i = 0; i < count; i++) {
  6493. total_size +=
  6494. ::google::protobuf::internal::WireFormatLite::MessageSize(
  6495. this->carrier_data_map(static_cast<int>(i)));
  6496. }
  6497. }
  6498. // repeated .message.Passageway_data passageway_data_map = 6;
  6499. {
  6500. unsigned int count = static_cast<unsigned int>(this->passageway_data_map_size());
  6501. total_size += 1UL * count;
  6502. for (unsigned int i = 0; i < count; i++) {
  6503. total_size +=
  6504. ::google::protobuf::internal::WireFormatLite::MessageSize(
  6505. this->passageway_data_map(static_cast<int>(i)));
  6506. }
  6507. }
  6508. int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
  6509. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6510. _cached_size_ = cached_size;
  6511. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6512. return total_size;
  6513. }
  6514. void Dispatch_manager_status_msg::MergeFrom(const ::google::protobuf::Message& from) {
  6515. // @@protoc_insertion_point(generalized_merge_from_start:message.Dispatch_manager_status_msg)
  6516. GOOGLE_DCHECK_NE(&from, this);
  6517. const Dispatch_manager_status_msg* source =
  6518. ::google::protobuf::internal::DynamicCastToGenerated<const Dispatch_manager_status_msg>(
  6519. &from);
  6520. if (source == NULL) {
  6521. // @@protoc_insertion_point(generalized_merge_from_cast_fail:message.Dispatch_manager_status_msg)
  6522. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  6523. } else {
  6524. // @@protoc_insertion_point(generalized_merge_from_cast_success:message.Dispatch_manager_status_msg)
  6525. MergeFrom(*source);
  6526. }
  6527. }
  6528. void Dispatch_manager_status_msg::MergeFrom(const Dispatch_manager_status_msg& from) {
  6529. // @@protoc_insertion_point(class_specific_merge_from_start:message.Dispatch_manager_status_msg)
  6530. GOOGLE_DCHECK_NE(&from, this);
  6531. _internal_metadata_.MergeFrom(from._internal_metadata_);
  6532. ::google::protobuf::uint32 cached_has_bits = 0;
  6533. (void) cached_has_bits;
  6534. catcher_data_map_.MergeFrom(from.catcher_data_map_);
  6535. carrier_data_map_.MergeFrom(from.carrier_data_map_);
  6536. passageway_data_map_.MergeFrom(from.passageway_data_map_);
  6537. cached_has_bits = from._has_bits_[0];
  6538. if (cached_has_bits & 7u) {
  6539. if (cached_has_bits & 0x00000001u) {
  6540. mutable_base_info()->::message::Base_info::MergeFrom(from.base_info());
  6541. }
  6542. if (cached_has_bits & 0x00000002u) {
  6543. dispatch_id_ = from.dispatch_id_;
  6544. }
  6545. if (cached_has_bits & 0x00000004u) {
  6546. dispatch_manager_status_ = from.dispatch_manager_status_;
  6547. }
  6548. _has_bits_[0] |= cached_has_bits;
  6549. }
  6550. }
  6551. void Dispatch_manager_status_msg::CopyFrom(const ::google::protobuf::Message& from) {
  6552. // @@protoc_insertion_point(generalized_copy_from_start:message.Dispatch_manager_status_msg)
  6553. if (&from == this) return;
  6554. Clear();
  6555. MergeFrom(from);
  6556. }
  6557. void Dispatch_manager_status_msg::CopyFrom(const Dispatch_manager_status_msg& from) {
  6558. // @@protoc_insertion_point(class_specific_copy_from_start:message.Dispatch_manager_status_msg)
  6559. if (&from == this) return;
  6560. Clear();
  6561. MergeFrom(from);
  6562. }
  6563. bool Dispatch_manager_status_msg::IsInitialized() const {
  6564. if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false;
  6565. if (!::google::protobuf::internal::AllAreInitialized(this->catcher_data_map())) return false;
  6566. if (!::google::protobuf::internal::AllAreInitialized(this->carrier_data_map())) return false;
  6567. if (!::google::protobuf::internal::AllAreInitialized(this->passageway_data_map())) return false;
  6568. if (has_base_info()) {
  6569. if (!this->base_info_->IsInitialized()) return false;
  6570. }
  6571. return true;
  6572. }
  6573. void Dispatch_manager_status_msg::Swap(Dispatch_manager_status_msg* other) {
  6574. if (other == this) return;
  6575. InternalSwap(other);
  6576. }
  6577. void Dispatch_manager_status_msg::InternalSwap(Dispatch_manager_status_msg* other) {
  6578. using std::swap;
  6579. catcher_data_map_.InternalSwap(&other->catcher_data_map_);
  6580. carrier_data_map_.InternalSwap(&other->carrier_data_map_);
  6581. passageway_data_map_.InternalSwap(&other->passageway_data_map_);
  6582. swap(base_info_, other->base_info_);
  6583. swap(dispatch_id_, other->dispatch_id_);
  6584. swap(dispatch_manager_status_, other->dispatch_manager_status_);
  6585. swap(_has_bits_[0], other->_has_bits_[0]);
  6586. _internal_metadata_.Swap(&other->_internal_metadata_);
  6587. swap(_cached_size_, other->_cached_size_);
  6588. }
  6589. ::google::protobuf::Metadata Dispatch_manager_status_msg::GetMetadata() const {
  6590. protobuf_dispatch_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  6591. return ::protobuf_dispatch_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages];
  6592. }
  6593. // ===================================================================
  6594. void Dispatch_manager_data_msg::InitAsDefaultInstance() {
  6595. }
  6596. #if !defined(_MSC_VER) || _MSC_VER >= 1900
  6597. #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
  6598. Dispatch_manager_data_msg::Dispatch_manager_data_msg()
  6599. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  6600. if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
  6601. ::protobuf_dispatch_5fmessage_2eproto::InitDefaultsDispatch_manager_data_msg();
  6602. }
  6603. SharedCtor();
  6604. // @@protoc_insertion_point(constructor:message.Dispatch_manager_data_msg)
  6605. }
  6606. Dispatch_manager_data_msg::Dispatch_manager_data_msg(const Dispatch_manager_data_msg& from)
  6607. : ::google::protobuf::Message(),
  6608. _internal_metadata_(NULL),
  6609. _has_bits_(from._has_bits_),
  6610. _cached_size_(0) {
  6611. _internal_metadata_.MergeFrom(from._internal_metadata_);
  6612. // @@protoc_insertion_point(copy_constructor:message.Dispatch_manager_data_msg)
  6613. }
  6614. void Dispatch_manager_data_msg::SharedCtor() {
  6615. _cached_size_ = 0;
  6616. }
  6617. Dispatch_manager_data_msg::~Dispatch_manager_data_msg() {
  6618. // @@protoc_insertion_point(destructor:message.Dispatch_manager_data_msg)
  6619. SharedDtor();
  6620. }
  6621. void Dispatch_manager_data_msg::SharedDtor() {
  6622. }
  6623. void Dispatch_manager_data_msg::SetCachedSize(int size) const {
  6624. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6625. _cached_size_ = size;
  6626. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6627. }
  6628. const ::google::protobuf::Descriptor* Dispatch_manager_data_msg::descriptor() {
  6629. ::protobuf_dispatch_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  6630. return ::protobuf_dispatch_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
  6631. }
  6632. const Dispatch_manager_data_msg& Dispatch_manager_data_msg::default_instance() {
  6633. ::protobuf_dispatch_5fmessage_2eproto::InitDefaultsDispatch_manager_data_msg();
  6634. return *internal_default_instance();
  6635. }
  6636. Dispatch_manager_data_msg* Dispatch_manager_data_msg::New(::google::protobuf::Arena* arena) const {
  6637. Dispatch_manager_data_msg* n = new Dispatch_manager_data_msg;
  6638. if (arena != NULL) {
  6639. arena->Own(n);
  6640. }
  6641. return n;
  6642. }
  6643. void Dispatch_manager_data_msg::Clear() {
  6644. // @@protoc_insertion_point(message_clear_start:message.Dispatch_manager_data_msg)
  6645. ::google::protobuf::uint32 cached_has_bits = 0;
  6646. // Prevent compiler warnings about cached_has_bits being unused
  6647. (void) cached_has_bits;
  6648. _has_bits_.Clear();
  6649. _internal_metadata_.Clear();
  6650. }
  6651. bool Dispatch_manager_data_msg::MergePartialFromCodedStream(
  6652. ::google::protobuf::io::CodedInputStream* input) {
  6653. #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
  6654. ::google::protobuf::uint32 tag;
  6655. // @@protoc_insertion_point(parse_start:message.Dispatch_manager_data_msg)
  6656. for (;;) {
  6657. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
  6658. tag = p.first;
  6659. if (!p.second) goto handle_unusual;
  6660. handle_unusual:
  6661. if (tag == 0) {
  6662. goto success;
  6663. }
  6664. DO_(::google::protobuf::internal::WireFormat::SkipField(
  6665. input, tag, _internal_metadata_.mutable_unknown_fields()));
  6666. }
  6667. success:
  6668. // @@protoc_insertion_point(parse_success:message.Dispatch_manager_data_msg)
  6669. return true;
  6670. failure:
  6671. // @@protoc_insertion_point(parse_failure:message.Dispatch_manager_data_msg)
  6672. return false;
  6673. #undef DO_
  6674. }
  6675. void Dispatch_manager_data_msg::SerializeWithCachedSizes(
  6676. ::google::protobuf::io::CodedOutputStream* output) const {
  6677. // @@protoc_insertion_point(serialize_start:message.Dispatch_manager_data_msg)
  6678. ::google::protobuf::uint32 cached_has_bits = 0;
  6679. (void) cached_has_bits;
  6680. if (_internal_metadata_.have_unknown_fields()) {
  6681. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  6682. _internal_metadata_.unknown_fields(), output);
  6683. }
  6684. // @@protoc_insertion_point(serialize_end:message.Dispatch_manager_data_msg)
  6685. }
  6686. ::google::protobuf::uint8* Dispatch_manager_data_msg::InternalSerializeWithCachedSizesToArray(
  6687. bool deterministic, ::google::protobuf::uint8* target) const {
  6688. (void)deterministic; // Unused
  6689. // @@protoc_insertion_point(serialize_to_array_start:message.Dispatch_manager_data_msg)
  6690. ::google::protobuf::uint32 cached_has_bits = 0;
  6691. (void) cached_has_bits;
  6692. if (_internal_metadata_.have_unknown_fields()) {
  6693. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  6694. _internal_metadata_.unknown_fields(), target);
  6695. }
  6696. // @@protoc_insertion_point(serialize_to_array_end:message.Dispatch_manager_data_msg)
  6697. return target;
  6698. }
  6699. size_t Dispatch_manager_data_msg::ByteSizeLong() const {
  6700. // @@protoc_insertion_point(message_byte_size_start:message.Dispatch_manager_data_msg)
  6701. size_t total_size = 0;
  6702. if (_internal_metadata_.have_unknown_fields()) {
  6703. total_size +=
  6704. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  6705. _internal_metadata_.unknown_fields());
  6706. }
  6707. int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
  6708. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6709. _cached_size_ = cached_size;
  6710. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6711. return total_size;
  6712. }
  6713. void Dispatch_manager_data_msg::MergeFrom(const ::google::protobuf::Message& from) {
  6714. // @@protoc_insertion_point(generalized_merge_from_start:message.Dispatch_manager_data_msg)
  6715. GOOGLE_DCHECK_NE(&from, this);
  6716. const Dispatch_manager_data_msg* source =
  6717. ::google::protobuf::internal::DynamicCastToGenerated<const Dispatch_manager_data_msg>(
  6718. &from);
  6719. if (source == NULL) {
  6720. // @@protoc_insertion_point(generalized_merge_from_cast_fail:message.Dispatch_manager_data_msg)
  6721. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  6722. } else {
  6723. // @@protoc_insertion_point(generalized_merge_from_cast_success:message.Dispatch_manager_data_msg)
  6724. MergeFrom(*source);
  6725. }
  6726. }
  6727. void Dispatch_manager_data_msg::MergeFrom(const Dispatch_manager_data_msg& from) {
  6728. // @@protoc_insertion_point(class_specific_merge_from_start:message.Dispatch_manager_data_msg)
  6729. GOOGLE_DCHECK_NE(&from, this);
  6730. _internal_metadata_.MergeFrom(from._internal_metadata_);
  6731. ::google::protobuf::uint32 cached_has_bits = 0;
  6732. (void) cached_has_bits;
  6733. }
  6734. void Dispatch_manager_data_msg::CopyFrom(const ::google::protobuf::Message& from) {
  6735. // @@protoc_insertion_point(generalized_copy_from_start:message.Dispatch_manager_data_msg)
  6736. if (&from == this) return;
  6737. Clear();
  6738. MergeFrom(from);
  6739. }
  6740. void Dispatch_manager_data_msg::CopyFrom(const Dispatch_manager_data_msg& from) {
  6741. // @@protoc_insertion_point(class_specific_copy_from_start:message.Dispatch_manager_data_msg)
  6742. if (&from == this) return;
  6743. Clear();
  6744. MergeFrom(from);
  6745. }
  6746. bool Dispatch_manager_data_msg::IsInitialized() const {
  6747. return true;
  6748. }
  6749. void Dispatch_manager_data_msg::Swap(Dispatch_manager_data_msg* other) {
  6750. if (other == this) return;
  6751. InternalSwap(other);
  6752. }
  6753. void Dispatch_manager_data_msg::InternalSwap(Dispatch_manager_data_msg* other) {
  6754. using std::swap;
  6755. swap(_has_bits_[0], other->_has_bits_[0]);
  6756. _internal_metadata_.Swap(&other->_internal_metadata_);
  6757. swap(_cached_size_, other->_cached_size_);
  6758. }
  6759. ::google::protobuf::Metadata Dispatch_manager_data_msg::GetMetadata() const {
  6760. protobuf_dispatch_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  6761. return ::protobuf_dispatch_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages];
  6762. }
  6763. // @@protoc_insertion_point(namespace_scope)
  6764. } // namespace message
  6765. // @@protoc_insertion_point(global_scope)