dispatch_parameter.pb.cc 195 KB

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