dispatch_parameter.pb.cc 205 KB

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