dispatch_parameter.pb.cc 217 KB

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