dispatch_parameter.pb.cc 237 KB

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