message.pb.cc 180 KB

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