dispatch_message.pb.cc 299 KB

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