dispatch_parameter.pb.cc 218 KB

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