123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: message.proto
- #include "message.pb.h"
- #include <algorithm>
- #include <google/protobuf/stubs/common.h>
- #include <google/protobuf/stubs/port.h>
- #include <google/protobuf/io/coded_stream.h>
- #include <google/protobuf/wire_format_lite_inl.h>
- #include <google/protobuf/descriptor.h>
- #include <google/protobuf/generated_message_reflection.h>
- #include <google/protobuf/reflection_ops.h>
- #include <google/protobuf/wire_format.h>
- // This is a temporary google only hack
- #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- #include "third_party/protobuf/version.h"
- #endif
- // @@protoc_insertion_point(includes)
- namespace protobuf_message_2eproto {
- extern PROTOBUF_INTERNAL_EXPORT_protobuf_message_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_dispatch_region_info;
- extern PROTOBUF_INTERNAL_EXPORT_protobuf_message_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_measure_info;
- extern PROTOBUF_INTERNAL_EXPORT_protobuf_message_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_parkspace_info;
- extern PROTOBUF_INTERNAL_EXPORT_protobuf_message_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_table_statu;
- extern PROTOBUF_INTERNAL_EXPORT_protobuf_message_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_park_table;
- extern PROTOBUF_INTERNAL_EXPORT_protobuf_message_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_pick_table;
- } // namespace protobuf_message_2eproto
- class measure_infoDefaultTypeInternal {
- public:
- ::google::protobuf::internal::ExplicitlyConstructed<measure_info>
- _instance;
- } _measure_info_default_instance_;
- class parkspace_infoDefaultTypeInternal {
- public:
- ::google::protobuf::internal::ExplicitlyConstructed<parkspace_info>
- _instance;
- } _parkspace_info_default_instance_;
- class table_statuDefaultTypeInternal {
- public:
- ::google::protobuf::internal::ExplicitlyConstructed<table_statu>
- _instance;
- } _table_statu_default_instance_;
- class park_tableDefaultTypeInternal {
- public:
- ::google::protobuf::internal::ExplicitlyConstructed<park_table>
- _instance;
- } _park_table_default_instance_;
- class pick_tableDefaultTypeInternal {
- public:
- ::google::protobuf::internal::ExplicitlyConstructed<pick_table>
- _instance;
- } _pick_table_default_instance_;
- class out_mcpu_statuDefaultTypeInternal {
- public:
- ::google::protobuf::internal::ExplicitlyConstructed<out_mcpu_statu>
- _instance;
- } _out_mcpu_statu_default_instance_;
- class in_mcpu_statuDefaultTypeInternal {
- public:
- ::google::protobuf::internal::ExplicitlyConstructed<in_mcpu_statu>
- _instance;
- } _in_mcpu_statu_default_instance_;
- class measure_statuDefaultTypeInternal {
- public:
- ::google::protobuf::internal::ExplicitlyConstructed<measure_statu>
- _instance;
- } _measure_statu_default_instance_;
- class dispatch_region_infoDefaultTypeInternal {
- public:
- ::google::protobuf::internal::ExplicitlyConstructed<dispatch_region_info>
- _instance;
- } _dispatch_region_info_default_instance_;
- class dispatch_node_statuDefaultTypeInternal {
- public:
- ::google::protobuf::internal::ExplicitlyConstructed<dispatch_node_statu>
- _instance;
- } _dispatch_node_statu_default_instance_;
- namespace protobuf_message_2eproto {
- static void InitDefaultsmeasure_info() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- {
- void* ptr = &::_measure_info_default_instance_;
- new (ptr) ::measure_info();
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
- }
- ::measure_info::InitAsDefaultInstance();
- }
- ::google::protobuf::internal::SCCInfo<0> scc_info_measure_info =
- {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsmeasure_info}, {}};
- static void InitDefaultsparkspace_info() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- {
- void* ptr = &::_parkspace_info_default_instance_;
- new (ptr) ::parkspace_info();
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
- }
- ::parkspace_info::InitAsDefaultInstance();
- }
- ::google::protobuf::internal::SCCInfo<0> scc_info_parkspace_info =
- {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsparkspace_info}, {}};
- static void InitDefaultstable_statu() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- {
- void* ptr = &::_table_statu_default_instance_;
- new (ptr) ::table_statu();
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
- }
- ::table_statu::InitAsDefaultInstance();
- }
- ::google::protobuf::internal::SCCInfo<0> scc_info_table_statu =
- {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultstable_statu}, {}};
- static void InitDefaultspark_table() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- {
- void* ptr = &::_park_table_default_instance_;
- new (ptr) ::park_table();
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
- }
- ::park_table::InitAsDefaultInstance();
- }
- ::google::protobuf::internal::SCCInfo<3> scc_info_park_table =
- {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 3, InitDefaultspark_table}, {
- &protobuf_message_2eproto::scc_info_table_statu.base,
- &protobuf_message_2eproto::scc_info_measure_info.base,
- &protobuf_message_2eproto::scc_info_parkspace_info.base,}};
- static void InitDefaultspick_table() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- {
- void* ptr = &::_pick_table_default_instance_;
- new (ptr) ::pick_table();
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
- }
- ::pick_table::InitAsDefaultInstance();
- }
- ::google::protobuf::internal::SCCInfo<3> scc_info_pick_table =
- {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 3, InitDefaultspick_table}, {
- &protobuf_message_2eproto::scc_info_table_statu.base,
- &protobuf_message_2eproto::scc_info_parkspace_info.base,
- &protobuf_message_2eproto::scc_info_measure_info.base,}};
- static void InitDefaultsout_mcpu_statu() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- {
- void* ptr = &::_out_mcpu_statu_default_instance_;
- new (ptr) ::out_mcpu_statu();
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
- }
- ::out_mcpu_statu::InitAsDefaultInstance();
- }
- ::google::protobuf::internal::SCCInfo<0> scc_info_out_mcpu_statu =
- {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsout_mcpu_statu}, {}};
- static void InitDefaultsin_mcpu_statu() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- {
- void* ptr = &::_in_mcpu_statu_default_instance_;
- new (ptr) ::in_mcpu_statu();
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
- }
- ::in_mcpu_statu::InitAsDefaultInstance();
- }
- ::google::protobuf::internal::SCCInfo<0> scc_info_in_mcpu_statu =
- {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsin_mcpu_statu}, {}};
- static void InitDefaultsmeasure_statu() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- {
- void* ptr = &::_measure_statu_default_instance_;
- new (ptr) ::measure_statu();
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
- }
- ::measure_statu::InitAsDefaultInstance();
- }
- ::google::protobuf::internal::SCCInfo<1> scc_info_measure_statu =
- {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsmeasure_statu}, {
- &protobuf_message_2eproto::scc_info_measure_info.base,}};
- static void InitDefaultsdispatch_region_info() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- {
- void* ptr = &::_dispatch_region_info_default_instance_;
- new (ptr) ::dispatch_region_info();
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
- }
- ::dispatch_region_info::InitAsDefaultInstance();
- }
- ::google::protobuf::internal::SCCInfo<0> scc_info_dispatch_region_info =
- {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsdispatch_region_info}, {}};
- static void InitDefaultsdispatch_node_statu() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- {
- void* ptr = &::_dispatch_node_statu_default_instance_;
- new (ptr) ::dispatch_node_statu();
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
- }
- ::dispatch_node_statu::InitAsDefaultInstance();
- }
- ::google::protobuf::internal::SCCInfo<3> scc_info_dispatch_node_statu =
- {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 3, InitDefaultsdispatch_node_statu}, {
- &protobuf_message_2eproto::scc_info_park_table.base,
- &protobuf_message_2eproto::scc_info_pick_table.base,
- &protobuf_message_2eproto::scc_info_dispatch_region_info.base,}};
- void InitDefaults() {
- ::google::protobuf::internal::InitSCC(&scc_info_measure_info.base);
- ::google::protobuf::internal::InitSCC(&scc_info_parkspace_info.base);
- ::google::protobuf::internal::InitSCC(&scc_info_table_statu.base);
- ::google::protobuf::internal::InitSCC(&scc_info_park_table.base);
- ::google::protobuf::internal::InitSCC(&scc_info_pick_table.base);
- ::google::protobuf::internal::InitSCC(&scc_info_out_mcpu_statu.base);
- ::google::protobuf::internal::InitSCC(&scc_info_in_mcpu_statu.base);
- ::google::protobuf::internal::InitSCC(&scc_info_measure_statu.base);
- ::google::protobuf::internal::InitSCC(&scc_info_dispatch_region_info.base);
- ::google::protobuf::internal::InitSCC(&scc_info_dispatch_node_statu.base);
- }
- ::google::protobuf::Metadata file_level_metadata[10];
- const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors[2];
- const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
- ~0u, // no _has_bits_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::measure_info, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::measure_info, cx_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::measure_info, cy_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::measure_info, theta_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::measure_info, length_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::measure_info, width_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::measure_info, height_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::measure_info, wheelbase_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::measure_info, front_theta_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::measure_info, border_statu_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::measure_info, ground_status_),
- ~0u, // no _has_bits_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::parkspace_info, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::parkspace_info, id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::parkspace_info, unit_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::parkspace_info, floor_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::parkspace_info, room_id_),
- ~0u, // no _has_bits_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::table_statu, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::table_statu, execute_statu_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::table_statu, statu_description_),
- ~0u, // no _has_bits_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::park_table, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::park_table, statu_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::park_table, queue_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::park_table, car_number_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::park_table, unit_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::park_table, terminal_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::park_table, primary_key_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::park_table, entrance_measure_info_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::park_table, allocated_space_info_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::park_table, actually_measure_info_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::park_table, actually_space_info_),
- ~0u, // no _has_bits_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pick_table, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pick_table, statu_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pick_table, queue_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pick_table, car_number_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pick_table, unit_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pick_table, terminal_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pick_table, primary_key_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pick_table, actually_space_info_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pick_table, actually_measure_info_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pick_table, export_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pick_table, is_leaved_),
- ~0u, // no _has_bits_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::out_mcpu_statu, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::out_mcpu_statu, door_statu_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::out_mcpu_statu, outside_safety_),
- ~0u, // no _has_bits_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::in_mcpu_statu, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::in_mcpu_statu, door_statu_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::in_mcpu_statu, back_io_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::in_mcpu_statu, is_occupy_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::in_mcpu_statu, heighth_),
- ~0u, // no _has_bits_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::measure_statu, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::measure_statu, info_),
- ~0u, // no _has_bits_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_region_info, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_region_info, terminal_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_region_info, turnplate_angle_min_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_region_info, turnplate_angle_max_),
- ~0u, // no _has_bits_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_node_statu, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_node_statu, statu_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_node_statu, idle_stop_floor_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_node_statu, running_pack_info_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_node_statu, running_pick_info_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_node_statu, unit_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_node_statu, plc_heartbeat_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_node_statu, plc_status_info_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_node_statu, dispatch_region_info_vector_),
- };
- static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
- { 0, -1, sizeof(::measure_info)},
- { 15, -1, sizeof(::parkspace_info)},
- { 24, -1, sizeof(::table_statu)},
- { 31, -1, sizeof(::park_table)},
- { 46, -1, sizeof(::pick_table)},
- { 61, -1, sizeof(::out_mcpu_statu)},
- { 68, -1, sizeof(::in_mcpu_statu)},
- { 77, -1, sizeof(::measure_statu)},
- { 83, -1, sizeof(::dispatch_region_info)},
- { 91, -1, sizeof(::dispatch_node_statu)},
- };
- static ::google::protobuf::Message const * const file_default_instances[] = {
- reinterpret_cast<const ::google::protobuf::Message*>(&::_measure_info_default_instance_),
- reinterpret_cast<const ::google::protobuf::Message*>(&::_parkspace_info_default_instance_),
- reinterpret_cast<const ::google::protobuf::Message*>(&::_table_statu_default_instance_),
- reinterpret_cast<const ::google::protobuf::Message*>(&::_park_table_default_instance_),
- reinterpret_cast<const ::google::protobuf::Message*>(&::_pick_table_default_instance_),
- reinterpret_cast<const ::google::protobuf::Message*>(&::_out_mcpu_statu_default_instance_),
- reinterpret_cast<const ::google::protobuf::Message*>(&::_in_mcpu_statu_default_instance_),
- reinterpret_cast<const ::google::protobuf::Message*>(&::_measure_statu_default_instance_),
- reinterpret_cast<const ::google::protobuf::Message*>(&::_dispatch_region_info_default_instance_),
- reinterpret_cast<const ::google::protobuf::Message*>(&::_dispatch_node_statu_default_instance_),
- };
- void protobuf_AssignDescriptors() {
- AddDescriptors();
- AssignDescriptors(
- "message.proto", schemas, file_default_instances, TableStruct::offsets,
- file_level_metadata, file_level_enum_descriptors, NULL);
- }
- void protobuf_AssignDescriptorsOnce() {
- static ::google::protobuf::internal::once_flag once;
- ::google::protobuf::internal::call_once(once, protobuf_AssignDescriptors);
- }
- void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD;
- void protobuf_RegisterTypes(const ::std::string&) {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 10);
- }
- void AddDescriptorsImpl() {
- InitDefaults();
- static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
- "\n\rmessage.proto\"\271\001\n\014measure_info\022\n\n\002cx\030\001"
- " \001(\002\022\n\n\002cy\030\002 \001(\002\022\r\n\005theta\030\003 \001(\002\022\016\n\006lengt"
- "h\030\004 \001(\002\022\r\n\005width\030\005 \001(\002\022\016\n\006height\030\006 \001(\002\022\021"
- "\n\twheelbase\030\007 \001(\002\022\023\n\013front_theta\030\010 \001(\002\022\024"
- "\n\014border_statu\030\t \001(\005\022\025\n\rground_status\030\n "
- "\001(\005\"M\n\016parkspace_info\022\n\n\002id\030\001 \001(\005\022\017\n\007uni"
- "t_id\030\002 \001(\005\022\r\n\005floor\030\003 \001(\005\022\017\n\007room_id\030\004 \001"
- "(\005\"G\n\013table_statu\022\035\n\rexecute_statu\030\001 \001(\016"
- "2\006.STATU\022\031\n\021statu_description\030\002 \001(\t\"\303\002\n\n"
- "park_table\022\033\n\005statu\030\001 \001(\0132\014.table_statu\022"
- "\020\n\010queue_id\030\002 \001(\005\022\022\n\ncar_number\030\003 \001(\t\022\017\n"
- "\007unit_id\030\004 \001(\005\022\023\n\013terminal_id\030\005 \001(\005\022\023\n\013p"
- "rimary_key\030\006 \001(\t\022,\n\025entrance_measure_inf"
- "o\030\007 \001(\0132\r.measure_info\022-\n\024allocated_spac"
- "e_info\030\010 \001(\0132\017.parkspace_info\022,\n\025actuall"
- "y_measure_info\030\t \001(\0132\r.measure_info\022,\n\023a"
- "ctually_space_info\030\n \001(\0132\017.parkspace_inf"
- "o\"\214\002\n\npick_table\022\033\n\005statu\030\001 \001(\0132\014.table_"
- "statu\022\020\n\010queue_id\030\002 \001(\005\022\022\n\ncar_number\030\003 "
- "\001(\t\022\017\n\007unit_id\030\004 \001(\005\022\023\n\013terminal_id\030\005 \001("
- "\005\022\023\n\013primary_key\030\006 \001(\t\022,\n\023actually_space"
- "_info\030\007 \001(\0132\017.parkspace_info\022,\n\025actually"
- "_measure_info\030\010 \001(\0132\r.measure_info\022\021\n\tex"
- "port_id\030\t \001(\005\022\021\n\tis_leaved\030\n \001(\010\"<\n\016out_"
- "mcpu_statu\022\022\n\ndoor_statu\030\001 \001(\005\022\026\n\016outsid"
- "e_safety\030\002 \001(\005\"X\n\rin_mcpu_statu\022\022\n\ndoor_"
- "statu\030\001 \001(\005\022\017\n\007back_io\030\002 \001(\005\022\021\n\tis_occup"
- "y\030\003 \001(\005\022\017\n\007heighth\030\004 \001(\005\",\n\rmeasure_stat"
- "u\022\033\n\004info\030\001 \001(\0132\r.measure_info\"e\n\024dispat"
- "ch_region_info\022\023\n\013terminal_id\030\001 \001(\005\022\033\n\023t"
- "urnplate_angle_min\030\002 \001(\002\022\033\n\023turnplate_an"
- "gle_max\030\003 \001(\002\"\231\002\n\023dispatch_node_statu\022\034\n"
- "\005statu\030\001 \001(\0162\r.CarrierStatu\022\027\n\017idle_stop"
- "_floor\030\002 \001(\005\022&\n\021running_pack_info\030\003 \001(\0132"
- "\013.park_table\022&\n\021running_pick_info\030\004 \001(\0132"
- "\013.pick_table\022\017\n\007unit_id\030\005 \001(\005\022\025\n\rplc_hea"
- "rtbeat\030\006 \001(\005\022\027\n\017plc_status_info\030\007 \001(\005\022:\n"
- "\033dispatch_region_info_vector\030\010 \003(\0132\025.dis"
- "patch_region_info* \n\005STATU\022\013\n\007eNormal\020\000\022"
- "\n\n\006eError\020\001*0\n\014CarrierStatu\022\t\n\005eIdle\020\000\022\t"
- "\n\005eBusy\020\001\022\n\n\006eFault\020\002b\006proto3"
- };
- ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
- descriptor, 1629);
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
- "message.proto", &protobuf_RegisterTypes);
- }
- void AddDescriptors() {
- static ::google::protobuf::internal::once_flag once;
- ::google::protobuf::internal::call_once(once, AddDescriptorsImpl);
- }
- // Force AddDescriptors() to be called at dynamic initialization time.
- struct StaticDescriptorInitializer {
- StaticDescriptorInitializer() {
- AddDescriptors();
- }
- } static_descriptor_initializer;
- } // namespace protobuf_message_2eproto
- const ::google::protobuf::EnumDescriptor* STATU_descriptor() {
- protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
- return protobuf_message_2eproto::file_level_enum_descriptors[0];
- }
- bool STATU_IsValid(int value) {
- switch (value) {
- case 0:
- case 1:
- return true;
- default:
- return false;
- }
- }
- const ::google::protobuf::EnumDescriptor* CarrierStatu_descriptor() {
- protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
- return protobuf_message_2eproto::file_level_enum_descriptors[1];
- }
- bool CarrierStatu_IsValid(int value) {
- switch (value) {
- case 0:
- case 1:
- case 2:
- return true;
- default:
- return false;
- }
- }
- // ===================================================================
- void measure_info::InitAsDefaultInstance() {
- }
- #if !defined(_MSC_VER) || _MSC_VER >= 1900
- const int measure_info::kCxFieldNumber;
- const int measure_info::kCyFieldNumber;
- const int measure_info::kThetaFieldNumber;
- const int measure_info::kLengthFieldNumber;
- const int measure_info::kWidthFieldNumber;
- const int measure_info::kHeightFieldNumber;
- const int measure_info::kWheelbaseFieldNumber;
- const int measure_info::kFrontThetaFieldNumber;
- const int measure_info::kBorderStatuFieldNumber;
- const int measure_info::kGroundStatusFieldNumber;
- #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
- measure_info::measure_info()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- ::google::protobuf::internal::InitSCC(
- &protobuf_message_2eproto::scc_info_measure_info.base);
- SharedCtor();
- // @@protoc_insertion_point(constructor:measure_info)
- }
- measure_info::measure_info(const measure_info& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::memcpy(&cx_, &from.cx_,
- static_cast<size_t>(reinterpret_cast<char*>(&ground_status_) -
- reinterpret_cast<char*>(&cx_)) + sizeof(ground_status_));
- // @@protoc_insertion_point(copy_constructor:measure_info)
- }
- void measure_info::SharedCtor() {
- ::memset(&cx_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&ground_status_) -
- reinterpret_cast<char*>(&cx_)) + sizeof(ground_status_));
- }
- measure_info::~measure_info() {
- // @@protoc_insertion_point(destructor:measure_info)
- SharedDtor();
- }
- void measure_info::SharedDtor() {
- }
- void measure_info::SetCachedSize(int size) const {
- _cached_size_.Set(size);
- }
- const ::google::protobuf::Descriptor* measure_info::descriptor() {
- ::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
- }
- const measure_info& measure_info::default_instance() {
- ::google::protobuf::internal::InitSCC(&protobuf_message_2eproto::scc_info_measure_info.base);
- return *internal_default_instance();
- }
- void measure_info::Clear() {
- // @@protoc_insertion_point(message_clear_start:measure_info)
- ::google::protobuf::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- ::memset(&cx_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&ground_status_) -
- reinterpret_cast<char*>(&cx_)) + sizeof(ground_status_));
- _internal_metadata_.Clear();
- }
- bool measure_info::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:measure_info)
- for (;;) {
- ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // float cx = 1;
- case 1: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(13u /* 13 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
- input, &cx_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // float cy = 2;
- case 2: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(21u /* 21 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
- input, &cy_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // float theta = 3;
- case 3: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(29u /* 29 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
- input, &theta_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // float length = 4;
- case 4: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(37u /* 37 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
- input, &length_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // float width = 5;
- case 5: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(45u /* 45 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
- input, &width_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // float height = 6;
- case 6: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(53u /* 53 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
- input, &height_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // float wheelbase = 7;
- case 7: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(61u /* 61 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
- input, &wheelbase_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // float front_theta = 8;
- case 8: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(69u /* 69 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
- input, &front_theta_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 border_statu = 9;
- case 9: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(72u /* 72 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &border_statu_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 ground_status = 10;
- case 10: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(80u /* 80 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &ground_status_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, _internal_metadata_.mutable_unknown_fields()));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:measure_info)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:measure_info)
- return false;
- #undef DO_
- }
- void measure_info::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:measure_info)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // float cx = 1;
- if (this->cx() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteFloat(1, this->cx(), output);
- }
- // float cy = 2;
- if (this->cy() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteFloat(2, this->cy(), output);
- }
- // float theta = 3;
- if (this->theta() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteFloat(3, this->theta(), output);
- }
- // float length = 4;
- if (this->length() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteFloat(4, this->length(), output);
- }
- // float width = 5;
- if (this->width() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteFloat(5, this->width(), output);
- }
- // float height = 6;
- if (this->height() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteFloat(6, this->height(), output);
- }
- // float wheelbase = 7;
- if (this->wheelbase() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteFloat(7, this->wheelbase(), output);
- }
- // float front_theta = 8;
- if (this->front_theta() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteFloat(8, this->front_theta(), output);
- }
- // int32 border_statu = 9;
- if (this->border_statu() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->border_statu(), output);
- }
- // int32 ground_status = 10;
- if (this->ground_status() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(10, this->ground_status(), output);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
- }
- // @@protoc_insertion_point(serialize_end:measure_info)
- }
- ::google::protobuf::uint8* measure_info::InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const {
- (void)deterministic; // Unused
- // @@protoc_insertion_point(serialize_to_array_start:measure_info)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // float cx = 1;
- if (this->cx() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(1, this->cx(), target);
- }
- // float cy = 2;
- if (this->cy() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(2, this->cy(), target);
- }
- // float theta = 3;
- if (this->theta() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(3, this->theta(), target);
- }
- // float length = 4;
- if (this->length() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(4, this->length(), target);
- }
- // float width = 5;
- if (this->width() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(5, this->width(), target);
- }
- // float height = 6;
- if (this->height() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(6, this->height(), target);
- }
- // float wheelbase = 7;
- if (this->wheelbase() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(7, this->wheelbase(), target);
- }
- // float front_theta = 8;
- if (this->front_theta() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(8, this->front_theta(), target);
- }
- // int32 border_statu = 9;
- if (this->border_statu() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->border_statu(), target);
- }
- // int32 ground_status = 10;
- if (this->ground_status() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(10, this->ground_status(), target);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:measure_info)
- return target;
- }
- size_t measure_info::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:measure_info)
- size_t total_size = 0;
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
- }
- // float cx = 1;
- if (this->cx() != 0) {
- total_size += 1 + 4;
- }
- // float cy = 2;
- if (this->cy() != 0) {
- total_size += 1 + 4;
- }
- // float theta = 3;
- if (this->theta() != 0) {
- total_size += 1 + 4;
- }
- // float length = 4;
- if (this->length() != 0) {
- total_size += 1 + 4;
- }
- // float width = 5;
- if (this->width() != 0) {
- total_size += 1 + 4;
- }
- // float height = 6;
- if (this->height() != 0) {
- total_size += 1 + 4;
- }
- // float wheelbase = 7;
- if (this->wheelbase() != 0) {
- total_size += 1 + 4;
- }
- // float front_theta = 8;
- if (this->front_theta() != 0) {
- total_size += 1 + 4;
- }
- // int32 border_statu = 9;
- if (this->border_statu() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->border_statu());
- }
- // int32 ground_status = 10;
- if (this->ground_status() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->ground_status());
- }
- int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void measure_info::MergeFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_merge_from_start:measure_info)
- GOOGLE_DCHECK_NE(&from, this);
- const measure_info* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const measure_info>(
- &from);
- if (source == NULL) {
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:measure_info)
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- // @@protoc_insertion_point(generalized_merge_from_cast_success:measure_info)
- MergeFrom(*source);
- }
- }
- void measure_info::MergeFrom(const measure_info& from) {
- // @@protoc_insertion_point(class_specific_merge_from_start:measure_info)
- GOOGLE_DCHECK_NE(&from, this);
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- if (from.cx() != 0) {
- set_cx(from.cx());
- }
- if (from.cy() != 0) {
- set_cy(from.cy());
- }
- if (from.theta() != 0) {
- set_theta(from.theta());
- }
- if (from.length() != 0) {
- set_length(from.length());
- }
- if (from.width() != 0) {
- set_width(from.width());
- }
- if (from.height() != 0) {
- set_height(from.height());
- }
- if (from.wheelbase() != 0) {
- set_wheelbase(from.wheelbase());
- }
- if (from.front_theta() != 0) {
- set_front_theta(from.front_theta());
- }
- if (from.border_statu() != 0) {
- set_border_statu(from.border_statu());
- }
- if (from.ground_status() != 0) {
- set_ground_status(from.ground_status());
- }
- }
- void measure_info::CopyFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_copy_from_start:measure_info)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void measure_info::CopyFrom(const measure_info& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:measure_info)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool measure_info::IsInitialized() const {
- return true;
- }
- void measure_info::Swap(measure_info* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void measure_info::InternalSwap(measure_info* other) {
- using std::swap;
- swap(cx_, other->cx_);
- swap(cy_, other->cy_);
- swap(theta_, other->theta_);
- swap(length_, other->length_);
- swap(width_, other->width_);
- swap(height_, other->height_);
- swap(wheelbase_, other->wheelbase_);
- swap(front_theta_, other->front_theta_);
- swap(border_statu_, other->border_statu_);
- swap(ground_status_, other->ground_status_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- }
- ::google::protobuf::Metadata measure_info::GetMetadata() const {
- protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
- }
- // ===================================================================
- void parkspace_info::InitAsDefaultInstance() {
- }
- #if !defined(_MSC_VER) || _MSC_VER >= 1900
- const int parkspace_info::kIdFieldNumber;
- const int parkspace_info::kUnitIdFieldNumber;
- const int parkspace_info::kFloorFieldNumber;
- const int parkspace_info::kRoomIdFieldNumber;
- #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
- parkspace_info::parkspace_info()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- ::google::protobuf::internal::InitSCC(
- &protobuf_message_2eproto::scc_info_parkspace_info.base);
- SharedCtor();
- // @@protoc_insertion_point(constructor:parkspace_info)
- }
- parkspace_info::parkspace_info(const parkspace_info& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::memcpy(&id_, &from.id_,
- static_cast<size_t>(reinterpret_cast<char*>(&room_id_) -
- reinterpret_cast<char*>(&id_)) + sizeof(room_id_));
- // @@protoc_insertion_point(copy_constructor:parkspace_info)
- }
- void parkspace_info::SharedCtor() {
- ::memset(&id_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&room_id_) -
- reinterpret_cast<char*>(&id_)) + sizeof(room_id_));
- }
- parkspace_info::~parkspace_info() {
- // @@protoc_insertion_point(destructor:parkspace_info)
- SharedDtor();
- }
- void parkspace_info::SharedDtor() {
- }
- void parkspace_info::SetCachedSize(int size) const {
- _cached_size_.Set(size);
- }
- const ::google::protobuf::Descriptor* parkspace_info::descriptor() {
- ::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
- }
- const parkspace_info& parkspace_info::default_instance() {
- ::google::protobuf::internal::InitSCC(&protobuf_message_2eproto::scc_info_parkspace_info.base);
- return *internal_default_instance();
- }
- void parkspace_info::Clear() {
- // @@protoc_insertion_point(message_clear_start:parkspace_info)
- ::google::protobuf::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- ::memset(&id_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&room_id_) -
- reinterpret_cast<char*>(&id_)) + sizeof(room_id_));
- _internal_metadata_.Clear();
- }
- bool parkspace_info::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:parkspace_info)
- for (;;) {
- ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // int32 id = 1;
- case 1: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &id_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 unit_id = 2;
- case 2: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &unit_id_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 floor = 3;
- case 3: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &floor_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 room_id = 4;
- case 4: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &room_id_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, _internal_metadata_.mutable_unknown_fields()));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:parkspace_info)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:parkspace_info)
- return false;
- #undef DO_
- }
- void parkspace_info::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:parkspace_info)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // int32 id = 1;
- if (this->id() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->id(), output);
- }
- // int32 unit_id = 2;
- if (this->unit_id() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->unit_id(), output);
- }
- // int32 floor = 3;
- if (this->floor() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->floor(), output);
- }
- // int32 room_id = 4;
- if (this->room_id() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->room_id(), output);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
- }
- // @@protoc_insertion_point(serialize_end:parkspace_info)
- }
- ::google::protobuf::uint8* parkspace_info::InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const {
- (void)deterministic; // Unused
- // @@protoc_insertion_point(serialize_to_array_start:parkspace_info)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // int32 id = 1;
- if (this->id() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->id(), target);
- }
- // int32 unit_id = 2;
- if (this->unit_id() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->unit_id(), target);
- }
- // int32 floor = 3;
- if (this->floor() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->floor(), target);
- }
- // int32 room_id = 4;
- if (this->room_id() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->room_id(), target);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:parkspace_info)
- return target;
- }
- size_t parkspace_info::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:parkspace_info)
- size_t total_size = 0;
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
- }
- // int32 id = 1;
- if (this->id() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->id());
- }
- // int32 unit_id = 2;
- if (this->unit_id() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->unit_id());
- }
- // int32 floor = 3;
- if (this->floor() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->floor());
- }
- // int32 room_id = 4;
- if (this->room_id() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->room_id());
- }
- int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void parkspace_info::MergeFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_merge_from_start:parkspace_info)
- GOOGLE_DCHECK_NE(&from, this);
- const parkspace_info* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const parkspace_info>(
- &from);
- if (source == NULL) {
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:parkspace_info)
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- // @@protoc_insertion_point(generalized_merge_from_cast_success:parkspace_info)
- MergeFrom(*source);
- }
- }
- void parkspace_info::MergeFrom(const parkspace_info& from) {
- // @@protoc_insertion_point(class_specific_merge_from_start:parkspace_info)
- GOOGLE_DCHECK_NE(&from, this);
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- if (from.id() != 0) {
- set_id(from.id());
- }
- if (from.unit_id() != 0) {
- set_unit_id(from.unit_id());
- }
- if (from.floor() != 0) {
- set_floor(from.floor());
- }
- if (from.room_id() != 0) {
- set_room_id(from.room_id());
- }
- }
- void parkspace_info::CopyFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_copy_from_start:parkspace_info)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void parkspace_info::CopyFrom(const parkspace_info& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:parkspace_info)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool parkspace_info::IsInitialized() const {
- return true;
- }
- void parkspace_info::Swap(parkspace_info* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void parkspace_info::InternalSwap(parkspace_info* other) {
- using std::swap;
- swap(id_, other->id_);
- swap(unit_id_, other->unit_id_);
- swap(floor_, other->floor_);
- swap(room_id_, other->room_id_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- }
- ::google::protobuf::Metadata parkspace_info::GetMetadata() const {
- protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
- }
- // ===================================================================
- void table_statu::InitAsDefaultInstance() {
- }
- #if !defined(_MSC_VER) || _MSC_VER >= 1900
- const int table_statu::kExecuteStatuFieldNumber;
- const int table_statu::kStatuDescriptionFieldNumber;
- #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
- table_statu::table_statu()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- ::google::protobuf::internal::InitSCC(
- &protobuf_message_2eproto::scc_info_table_statu.base);
- SharedCtor();
- // @@protoc_insertion_point(constructor:table_statu)
- }
- table_statu::table_statu(const table_statu& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- statu_description_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (from.statu_description().size() > 0) {
- statu_description_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.statu_description_);
- }
- execute_statu_ = from.execute_statu_;
- // @@protoc_insertion_point(copy_constructor:table_statu)
- }
- void table_statu::SharedCtor() {
- statu_description_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- execute_statu_ = 0;
- }
- table_statu::~table_statu() {
- // @@protoc_insertion_point(destructor:table_statu)
- SharedDtor();
- }
- void table_statu::SharedDtor() {
- statu_description_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void table_statu::SetCachedSize(int size) const {
- _cached_size_.Set(size);
- }
- const ::google::protobuf::Descriptor* table_statu::descriptor() {
- ::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
- }
- const table_statu& table_statu::default_instance() {
- ::google::protobuf::internal::InitSCC(&protobuf_message_2eproto::scc_info_table_statu.base);
- return *internal_default_instance();
- }
- void table_statu::Clear() {
- // @@protoc_insertion_point(message_clear_start:table_statu)
- ::google::protobuf::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- statu_description_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- execute_statu_ = 0;
- _internal_metadata_.Clear();
- }
- bool table_statu::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:table_statu)
- for (;;) {
- ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // .STATU execute_statu = 1;
- case 1: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
- int value;
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
- input, &value)));
- set_execute_statu(static_cast< ::STATU >(value));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // string statu_description = 2;
- case 2: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_statu_description()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->statu_description().data(), static_cast<int>(this->statu_description().length()),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "table_statu.statu_description"));
- } else {
- goto handle_unusual;
- }
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, _internal_metadata_.mutable_unknown_fields()));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:table_statu)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:table_statu)
- return false;
- #undef DO_
- }
- void table_statu::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:table_statu)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // .STATU execute_statu = 1;
- if (this->execute_statu() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteEnum(
- 1, this->execute_statu(), output);
- }
- // string statu_description = 2;
- if (this->statu_description().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->statu_description().data(), static_cast<int>(this->statu_description().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "table_statu.statu_description");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 2, this->statu_description(), output);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
- }
- // @@protoc_insertion_point(serialize_end:table_statu)
- }
- ::google::protobuf::uint8* table_statu::InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const {
- (void)deterministic; // Unused
- // @@protoc_insertion_point(serialize_to_array_start:table_statu)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // .STATU execute_statu = 1;
- if (this->execute_statu() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
- 1, this->execute_statu(), target);
- }
- // string statu_description = 2;
- if (this->statu_description().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->statu_description().data(), static_cast<int>(this->statu_description().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "table_statu.statu_description");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 2, this->statu_description(), target);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:table_statu)
- return target;
- }
- size_t table_statu::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:table_statu)
- size_t total_size = 0;
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
- }
- // string statu_description = 2;
- if (this->statu_description().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->statu_description());
- }
- // .STATU execute_statu = 1;
- if (this->execute_statu() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::EnumSize(this->execute_statu());
- }
- int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void table_statu::MergeFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_merge_from_start:table_statu)
- GOOGLE_DCHECK_NE(&from, this);
- const table_statu* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const table_statu>(
- &from);
- if (source == NULL) {
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:table_statu)
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- // @@protoc_insertion_point(generalized_merge_from_cast_success:table_statu)
- MergeFrom(*source);
- }
- }
- void table_statu::MergeFrom(const table_statu& from) {
- // @@protoc_insertion_point(class_specific_merge_from_start:table_statu)
- GOOGLE_DCHECK_NE(&from, this);
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- if (from.statu_description().size() > 0) {
- statu_description_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.statu_description_);
- }
- if (from.execute_statu() != 0) {
- set_execute_statu(from.execute_statu());
- }
- }
- void table_statu::CopyFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_copy_from_start:table_statu)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void table_statu::CopyFrom(const table_statu& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:table_statu)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool table_statu::IsInitialized() const {
- return true;
- }
- void table_statu::Swap(table_statu* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void table_statu::InternalSwap(table_statu* other) {
- using std::swap;
- statu_description_.Swap(&other->statu_description_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- GetArenaNoVirtual());
- swap(execute_statu_, other->execute_statu_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- }
- ::google::protobuf::Metadata table_statu::GetMetadata() const {
- protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
- }
- // ===================================================================
- void park_table::InitAsDefaultInstance() {
- ::_park_table_default_instance_._instance.get_mutable()->statu_ = const_cast< ::table_statu*>(
- ::table_statu::internal_default_instance());
- ::_park_table_default_instance_._instance.get_mutable()->entrance_measure_info_ = const_cast< ::measure_info*>(
- ::measure_info::internal_default_instance());
- ::_park_table_default_instance_._instance.get_mutable()->allocated_space_info_ = const_cast< ::parkspace_info*>(
- ::parkspace_info::internal_default_instance());
- ::_park_table_default_instance_._instance.get_mutable()->actually_measure_info_ = const_cast< ::measure_info*>(
- ::measure_info::internal_default_instance());
- ::_park_table_default_instance_._instance.get_mutable()->actually_space_info_ = const_cast< ::parkspace_info*>(
- ::parkspace_info::internal_default_instance());
- }
- #if !defined(_MSC_VER) || _MSC_VER >= 1900
- const int park_table::kStatuFieldNumber;
- const int park_table::kQueueIdFieldNumber;
- const int park_table::kCarNumberFieldNumber;
- const int park_table::kUnitIdFieldNumber;
- const int park_table::kTerminalIdFieldNumber;
- const int park_table::kPrimaryKeyFieldNumber;
- const int park_table::kEntranceMeasureInfoFieldNumber;
- const int park_table::kAllocatedSpaceInfoFieldNumber;
- const int park_table::kActuallyMeasureInfoFieldNumber;
- const int park_table::kActuallySpaceInfoFieldNumber;
- #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
- park_table::park_table()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- ::google::protobuf::internal::InitSCC(
- &protobuf_message_2eproto::scc_info_park_table.base);
- SharedCtor();
- // @@protoc_insertion_point(constructor:park_table)
- }
- park_table::park_table(const park_table& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- car_number_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (from.car_number().size() > 0) {
- car_number_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.car_number_);
- }
- primary_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (from.primary_key().size() > 0) {
- primary_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.primary_key_);
- }
- if (from.has_statu()) {
- statu_ = new ::table_statu(*from.statu_);
- } else {
- statu_ = NULL;
- }
- if (from.has_entrance_measure_info()) {
- entrance_measure_info_ = new ::measure_info(*from.entrance_measure_info_);
- } else {
- entrance_measure_info_ = NULL;
- }
- if (from.has_allocated_space_info()) {
- allocated_space_info_ = new ::parkspace_info(*from.allocated_space_info_);
- } else {
- allocated_space_info_ = NULL;
- }
- if (from.has_actually_measure_info()) {
- actually_measure_info_ = new ::measure_info(*from.actually_measure_info_);
- } else {
- actually_measure_info_ = NULL;
- }
- if (from.has_actually_space_info()) {
- actually_space_info_ = new ::parkspace_info(*from.actually_space_info_);
- } else {
- actually_space_info_ = NULL;
- }
- ::memcpy(&queue_id_, &from.queue_id_,
- static_cast<size_t>(reinterpret_cast<char*>(&terminal_id_) -
- reinterpret_cast<char*>(&queue_id_)) + sizeof(terminal_id_));
- // @@protoc_insertion_point(copy_constructor:park_table)
- }
- void park_table::SharedCtor() {
- car_number_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- primary_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- ::memset(&statu_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&terminal_id_) -
- reinterpret_cast<char*>(&statu_)) + sizeof(terminal_id_));
- }
- park_table::~park_table() {
- // @@protoc_insertion_point(destructor:park_table)
- SharedDtor();
- }
- void park_table::SharedDtor() {
- car_number_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- primary_key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (this != internal_default_instance()) delete statu_;
- if (this != internal_default_instance()) delete entrance_measure_info_;
- if (this != internal_default_instance()) delete allocated_space_info_;
- if (this != internal_default_instance()) delete actually_measure_info_;
- if (this != internal_default_instance()) delete actually_space_info_;
- }
- void park_table::SetCachedSize(int size) const {
- _cached_size_.Set(size);
- }
- const ::google::protobuf::Descriptor* park_table::descriptor() {
- ::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
- }
- const park_table& park_table::default_instance() {
- ::google::protobuf::internal::InitSCC(&protobuf_message_2eproto::scc_info_park_table.base);
- return *internal_default_instance();
- }
- void park_table::Clear() {
- // @@protoc_insertion_point(message_clear_start:park_table)
- ::google::protobuf::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- car_number_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- primary_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (GetArenaNoVirtual() == NULL && statu_ != NULL) {
- delete statu_;
- }
- statu_ = NULL;
- if (GetArenaNoVirtual() == NULL && entrance_measure_info_ != NULL) {
- delete entrance_measure_info_;
- }
- entrance_measure_info_ = NULL;
- if (GetArenaNoVirtual() == NULL && allocated_space_info_ != NULL) {
- delete allocated_space_info_;
- }
- allocated_space_info_ = NULL;
- if (GetArenaNoVirtual() == NULL && actually_measure_info_ != NULL) {
- delete actually_measure_info_;
- }
- actually_measure_info_ = NULL;
- if (GetArenaNoVirtual() == NULL && actually_space_info_ != NULL) {
- delete actually_space_info_;
- }
- actually_space_info_ = NULL;
- ::memset(&queue_id_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&terminal_id_) -
- reinterpret_cast<char*>(&queue_id_)) + sizeof(terminal_id_));
- _internal_metadata_.Clear();
- }
- bool park_table::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:park_table)
- for (;;) {
- ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // .table_statu statu = 1;
- case 1: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
- input, mutable_statu()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 queue_id = 2;
- case 2: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &queue_id_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // string car_number = 3;
- case 3: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_car_number()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->car_number().data(), static_cast<int>(this->car_number().length()),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "park_table.car_number"));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 unit_id = 4;
- case 4: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &unit_id_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 terminal_id = 5;
- case 5: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &terminal_id_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // string primary_key = 6;
- case 6: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_primary_key()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->primary_key().data(), static_cast<int>(this->primary_key().length()),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "park_table.primary_key"));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // .measure_info entrance_measure_info = 7;
- case 7: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(58u /* 58 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
- input, mutable_entrance_measure_info()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // .parkspace_info allocated_space_info = 8;
- case 8: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(66u /* 66 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
- input, mutable_allocated_space_info()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // .measure_info actually_measure_info = 9;
- case 9: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(74u /* 74 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
- input, mutable_actually_measure_info()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // .parkspace_info actually_space_info = 10;
- case 10: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(82u /* 82 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
- input, mutable_actually_space_info()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, _internal_metadata_.mutable_unknown_fields()));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:park_table)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:park_table)
- return false;
- #undef DO_
- }
- void park_table::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:park_table)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // .table_statu statu = 1;
- if (this->has_statu()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, this->_internal_statu(), output);
- }
- // int32 queue_id = 2;
- if (this->queue_id() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->queue_id(), output);
- }
- // string car_number = 3;
- if (this->car_number().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->car_number().data(), static_cast<int>(this->car_number().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "park_table.car_number");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 3, this->car_number(), output);
- }
- // int32 unit_id = 4;
- if (this->unit_id() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->unit_id(), output);
- }
- // int32 terminal_id = 5;
- if (this->terminal_id() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->terminal_id(), output);
- }
- // string primary_key = 6;
- if (this->primary_key().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->primary_key().data(), static_cast<int>(this->primary_key().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "park_table.primary_key");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 6, this->primary_key(), output);
- }
- // .measure_info entrance_measure_info = 7;
- if (this->has_entrance_measure_info()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 7, this->_internal_entrance_measure_info(), output);
- }
- // .parkspace_info allocated_space_info = 8;
- if (this->has_allocated_space_info()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 8, this->_internal_allocated_space_info(), output);
- }
- // .measure_info actually_measure_info = 9;
- if (this->has_actually_measure_info()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 9, this->_internal_actually_measure_info(), output);
- }
- // .parkspace_info actually_space_info = 10;
- if (this->has_actually_space_info()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 10, this->_internal_actually_space_info(), output);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
- }
- // @@protoc_insertion_point(serialize_end:park_table)
- }
- ::google::protobuf::uint8* park_table::InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const {
- (void)deterministic; // Unused
- // @@protoc_insertion_point(serialize_to_array_start:park_table)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // .table_statu statu = 1;
- if (this->has_statu()) {
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessageToArray(
- 1, this->_internal_statu(), deterministic, target);
- }
- // int32 queue_id = 2;
- if (this->queue_id() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->queue_id(), target);
- }
- // string car_number = 3;
- if (this->car_number().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->car_number().data(), static_cast<int>(this->car_number().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "park_table.car_number");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 3, this->car_number(), target);
- }
- // int32 unit_id = 4;
- if (this->unit_id() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->unit_id(), target);
- }
- // int32 terminal_id = 5;
- if (this->terminal_id() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->terminal_id(), target);
- }
- // string primary_key = 6;
- if (this->primary_key().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->primary_key().data(), static_cast<int>(this->primary_key().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "park_table.primary_key");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 6, this->primary_key(), target);
- }
- // .measure_info entrance_measure_info = 7;
- if (this->has_entrance_measure_info()) {
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessageToArray(
- 7, this->_internal_entrance_measure_info(), deterministic, target);
- }
- // .parkspace_info allocated_space_info = 8;
- if (this->has_allocated_space_info()) {
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessageToArray(
- 8, this->_internal_allocated_space_info(), deterministic, target);
- }
- // .measure_info actually_measure_info = 9;
- if (this->has_actually_measure_info()) {
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessageToArray(
- 9, this->_internal_actually_measure_info(), deterministic, target);
- }
- // .parkspace_info actually_space_info = 10;
- if (this->has_actually_space_info()) {
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessageToArray(
- 10, this->_internal_actually_space_info(), deterministic, target);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:park_table)
- return target;
- }
- size_t park_table::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:park_table)
- size_t total_size = 0;
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
- }
- // string car_number = 3;
- if (this->car_number().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->car_number());
- }
- // string primary_key = 6;
- if (this->primary_key().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->primary_key());
- }
- // .table_statu statu = 1;
- if (this->has_statu()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *statu_);
- }
- // .measure_info entrance_measure_info = 7;
- if (this->has_entrance_measure_info()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *entrance_measure_info_);
- }
- // .parkspace_info allocated_space_info = 8;
- if (this->has_allocated_space_info()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *allocated_space_info_);
- }
- // .measure_info actually_measure_info = 9;
- if (this->has_actually_measure_info()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *actually_measure_info_);
- }
- // .parkspace_info actually_space_info = 10;
- if (this->has_actually_space_info()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *actually_space_info_);
- }
- // int32 queue_id = 2;
- if (this->queue_id() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->queue_id());
- }
- // int32 unit_id = 4;
- if (this->unit_id() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->unit_id());
- }
- // int32 terminal_id = 5;
- if (this->terminal_id() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->terminal_id());
- }
- int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void park_table::MergeFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_merge_from_start:park_table)
- GOOGLE_DCHECK_NE(&from, this);
- const park_table* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const park_table>(
- &from);
- if (source == NULL) {
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:park_table)
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- // @@protoc_insertion_point(generalized_merge_from_cast_success:park_table)
- MergeFrom(*source);
- }
- }
- void park_table::MergeFrom(const park_table& from) {
- // @@protoc_insertion_point(class_specific_merge_from_start:park_table)
- GOOGLE_DCHECK_NE(&from, this);
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- if (from.car_number().size() > 0) {
- car_number_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.car_number_);
- }
- if (from.primary_key().size() > 0) {
- primary_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.primary_key_);
- }
- if (from.has_statu()) {
- mutable_statu()->::table_statu::MergeFrom(from.statu());
- }
- if (from.has_entrance_measure_info()) {
- mutable_entrance_measure_info()->::measure_info::MergeFrom(from.entrance_measure_info());
- }
- if (from.has_allocated_space_info()) {
- mutable_allocated_space_info()->::parkspace_info::MergeFrom(from.allocated_space_info());
- }
- if (from.has_actually_measure_info()) {
- mutable_actually_measure_info()->::measure_info::MergeFrom(from.actually_measure_info());
- }
- if (from.has_actually_space_info()) {
- mutable_actually_space_info()->::parkspace_info::MergeFrom(from.actually_space_info());
- }
- if (from.queue_id() != 0) {
- set_queue_id(from.queue_id());
- }
- if (from.unit_id() != 0) {
- set_unit_id(from.unit_id());
- }
- if (from.terminal_id() != 0) {
- set_terminal_id(from.terminal_id());
- }
- }
- void park_table::CopyFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_copy_from_start:park_table)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void park_table::CopyFrom(const park_table& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:park_table)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool park_table::IsInitialized() const {
- return true;
- }
- void park_table::Swap(park_table* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void park_table::InternalSwap(park_table* other) {
- using std::swap;
- car_number_.Swap(&other->car_number_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- GetArenaNoVirtual());
- primary_key_.Swap(&other->primary_key_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- GetArenaNoVirtual());
- swap(statu_, other->statu_);
- swap(entrance_measure_info_, other->entrance_measure_info_);
- swap(allocated_space_info_, other->allocated_space_info_);
- swap(actually_measure_info_, other->actually_measure_info_);
- swap(actually_space_info_, other->actually_space_info_);
- swap(queue_id_, other->queue_id_);
- swap(unit_id_, other->unit_id_);
- swap(terminal_id_, other->terminal_id_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- }
- ::google::protobuf::Metadata park_table::GetMetadata() const {
- protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
- }
- // ===================================================================
- void pick_table::InitAsDefaultInstance() {
- ::_pick_table_default_instance_._instance.get_mutable()->statu_ = const_cast< ::table_statu*>(
- ::table_statu::internal_default_instance());
- ::_pick_table_default_instance_._instance.get_mutable()->actually_space_info_ = const_cast< ::parkspace_info*>(
- ::parkspace_info::internal_default_instance());
- ::_pick_table_default_instance_._instance.get_mutable()->actually_measure_info_ = const_cast< ::measure_info*>(
- ::measure_info::internal_default_instance());
- }
- #if !defined(_MSC_VER) || _MSC_VER >= 1900
- const int pick_table::kStatuFieldNumber;
- const int pick_table::kQueueIdFieldNumber;
- const int pick_table::kCarNumberFieldNumber;
- const int pick_table::kUnitIdFieldNumber;
- const int pick_table::kTerminalIdFieldNumber;
- const int pick_table::kPrimaryKeyFieldNumber;
- const int pick_table::kActuallySpaceInfoFieldNumber;
- const int pick_table::kActuallyMeasureInfoFieldNumber;
- const int pick_table::kExportIdFieldNumber;
- const int pick_table::kIsLeavedFieldNumber;
- #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
- pick_table::pick_table()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- ::google::protobuf::internal::InitSCC(
- &protobuf_message_2eproto::scc_info_pick_table.base);
- SharedCtor();
- // @@protoc_insertion_point(constructor:pick_table)
- }
- pick_table::pick_table(const pick_table& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- car_number_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (from.car_number().size() > 0) {
- car_number_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.car_number_);
- }
- primary_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (from.primary_key().size() > 0) {
- primary_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.primary_key_);
- }
- if (from.has_statu()) {
- statu_ = new ::table_statu(*from.statu_);
- } else {
- statu_ = NULL;
- }
- if (from.has_actually_space_info()) {
- actually_space_info_ = new ::parkspace_info(*from.actually_space_info_);
- } else {
- actually_space_info_ = NULL;
- }
- if (from.has_actually_measure_info()) {
- actually_measure_info_ = new ::measure_info(*from.actually_measure_info_);
- } else {
- actually_measure_info_ = NULL;
- }
- ::memcpy(&queue_id_, &from.queue_id_,
- static_cast<size_t>(reinterpret_cast<char*>(&is_leaved_) -
- reinterpret_cast<char*>(&queue_id_)) + sizeof(is_leaved_));
- // @@protoc_insertion_point(copy_constructor:pick_table)
- }
- void pick_table::SharedCtor() {
- car_number_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- primary_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- ::memset(&statu_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&is_leaved_) -
- reinterpret_cast<char*>(&statu_)) + sizeof(is_leaved_));
- }
- pick_table::~pick_table() {
- // @@protoc_insertion_point(destructor:pick_table)
- SharedDtor();
- }
- void pick_table::SharedDtor() {
- car_number_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- primary_key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (this != internal_default_instance()) delete statu_;
- if (this != internal_default_instance()) delete actually_space_info_;
- if (this != internal_default_instance()) delete actually_measure_info_;
- }
- void pick_table::SetCachedSize(int size) const {
- _cached_size_.Set(size);
- }
- const ::google::protobuf::Descriptor* pick_table::descriptor() {
- ::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
- }
- const pick_table& pick_table::default_instance() {
- ::google::protobuf::internal::InitSCC(&protobuf_message_2eproto::scc_info_pick_table.base);
- return *internal_default_instance();
- }
- void pick_table::Clear() {
- // @@protoc_insertion_point(message_clear_start:pick_table)
- ::google::protobuf::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- car_number_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- primary_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (GetArenaNoVirtual() == NULL && statu_ != NULL) {
- delete statu_;
- }
- statu_ = NULL;
- if (GetArenaNoVirtual() == NULL && actually_space_info_ != NULL) {
- delete actually_space_info_;
- }
- actually_space_info_ = NULL;
- if (GetArenaNoVirtual() == NULL && actually_measure_info_ != NULL) {
- delete actually_measure_info_;
- }
- actually_measure_info_ = NULL;
- ::memset(&queue_id_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&is_leaved_) -
- reinterpret_cast<char*>(&queue_id_)) + sizeof(is_leaved_));
- _internal_metadata_.Clear();
- }
- bool pick_table::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:pick_table)
- for (;;) {
- ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // .table_statu statu = 1;
- case 1: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
- input, mutable_statu()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 queue_id = 2;
- case 2: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &queue_id_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // string car_number = 3;
- case 3: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_car_number()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->car_number().data(), static_cast<int>(this->car_number().length()),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "pick_table.car_number"));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 unit_id = 4;
- case 4: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &unit_id_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 terminal_id = 5;
- case 5: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &terminal_id_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // string primary_key = 6;
- case 6: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_primary_key()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->primary_key().data(), static_cast<int>(this->primary_key().length()),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "pick_table.primary_key"));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // .parkspace_info actually_space_info = 7;
- case 7: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(58u /* 58 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
- input, mutable_actually_space_info()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // .measure_info actually_measure_info = 8;
- case 8: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(66u /* 66 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
- input, mutable_actually_measure_info()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 export_id = 9;
- case 9: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(72u /* 72 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &export_id_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // bool is_leaved = 10;
- case 10: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(80u /* 80 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
- input, &is_leaved_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, _internal_metadata_.mutable_unknown_fields()));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:pick_table)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:pick_table)
- return false;
- #undef DO_
- }
- void pick_table::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:pick_table)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // .table_statu statu = 1;
- if (this->has_statu()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, this->_internal_statu(), output);
- }
- // int32 queue_id = 2;
- if (this->queue_id() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->queue_id(), output);
- }
- // string car_number = 3;
- if (this->car_number().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->car_number().data(), static_cast<int>(this->car_number().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "pick_table.car_number");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 3, this->car_number(), output);
- }
- // int32 unit_id = 4;
- if (this->unit_id() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->unit_id(), output);
- }
- // int32 terminal_id = 5;
- if (this->terminal_id() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->terminal_id(), output);
- }
- // string primary_key = 6;
- if (this->primary_key().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->primary_key().data(), static_cast<int>(this->primary_key().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "pick_table.primary_key");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 6, this->primary_key(), output);
- }
- // .parkspace_info actually_space_info = 7;
- if (this->has_actually_space_info()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 7, this->_internal_actually_space_info(), output);
- }
- // .measure_info actually_measure_info = 8;
- if (this->has_actually_measure_info()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 8, this->_internal_actually_measure_info(), output);
- }
- // int32 export_id = 9;
- if (this->export_id() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->export_id(), output);
- }
- // bool is_leaved = 10;
- if (this->is_leaved() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteBool(10, this->is_leaved(), output);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
- }
- // @@protoc_insertion_point(serialize_end:pick_table)
- }
- ::google::protobuf::uint8* pick_table::InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const {
- (void)deterministic; // Unused
- // @@protoc_insertion_point(serialize_to_array_start:pick_table)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // .table_statu statu = 1;
- if (this->has_statu()) {
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessageToArray(
- 1, this->_internal_statu(), deterministic, target);
- }
- // int32 queue_id = 2;
- if (this->queue_id() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->queue_id(), target);
- }
- // string car_number = 3;
- if (this->car_number().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->car_number().data(), static_cast<int>(this->car_number().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "pick_table.car_number");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 3, this->car_number(), target);
- }
- // int32 unit_id = 4;
- if (this->unit_id() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->unit_id(), target);
- }
- // int32 terminal_id = 5;
- if (this->terminal_id() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->terminal_id(), target);
- }
- // string primary_key = 6;
- if (this->primary_key().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->primary_key().data(), static_cast<int>(this->primary_key().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "pick_table.primary_key");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 6, this->primary_key(), target);
- }
- // .parkspace_info actually_space_info = 7;
- if (this->has_actually_space_info()) {
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessageToArray(
- 7, this->_internal_actually_space_info(), deterministic, target);
- }
- // .measure_info actually_measure_info = 8;
- if (this->has_actually_measure_info()) {
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessageToArray(
- 8, this->_internal_actually_measure_info(), deterministic, target);
- }
- // int32 export_id = 9;
- if (this->export_id() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->export_id(), target);
- }
- // bool is_leaved = 10;
- if (this->is_leaved() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(10, this->is_leaved(), target);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:pick_table)
- return target;
- }
- size_t pick_table::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:pick_table)
- size_t total_size = 0;
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
- }
- // string car_number = 3;
- if (this->car_number().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->car_number());
- }
- // string primary_key = 6;
- if (this->primary_key().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->primary_key());
- }
- // .table_statu statu = 1;
- if (this->has_statu()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *statu_);
- }
- // .parkspace_info actually_space_info = 7;
- if (this->has_actually_space_info()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *actually_space_info_);
- }
- // .measure_info actually_measure_info = 8;
- if (this->has_actually_measure_info()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *actually_measure_info_);
- }
- // int32 queue_id = 2;
- if (this->queue_id() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->queue_id());
- }
- // int32 unit_id = 4;
- if (this->unit_id() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->unit_id());
- }
- // int32 terminal_id = 5;
- if (this->terminal_id() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->terminal_id());
- }
- // int32 export_id = 9;
- if (this->export_id() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->export_id());
- }
- // bool is_leaved = 10;
- if (this->is_leaved() != 0) {
- total_size += 1 + 1;
- }
- int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void pick_table::MergeFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_merge_from_start:pick_table)
- GOOGLE_DCHECK_NE(&from, this);
- const pick_table* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const pick_table>(
- &from);
- if (source == NULL) {
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:pick_table)
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- // @@protoc_insertion_point(generalized_merge_from_cast_success:pick_table)
- MergeFrom(*source);
- }
- }
- void pick_table::MergeFrom(const pick_table& from) {
- // @@protoc_insertion_point(class_specific_merge_from_start:pick_table)
- GOOGLE_DCHECK_NE(&from, this);
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- if (from.car_number().size() > 0) {
- car_number_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.car_number_);
- }
- if (from.primary_key().size() > 0) {
- primary_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.primary_key_);
- }
- if (from.has_statu()) {
- mutable_statu()->::table_statu::MergeFrom(from.statu());
- }
- if (from.has_actually_space_info()) {
- mutable_actually_space_info()->::parkspace_info::MergeFrom(from.actually_space_info());
- }
- if (from.has_actually_measure_info()) {
- mutable_actually_measure_info()->::measure_info::MergeFrom(from.actually_measure_info());
- }
- if (from.queue_id() != 0) {
- set_queue_id(from.queue_id());
- }
- if (from.unit_id() != 0) {
- set_unit_id(from.unit_id());
- }
- if (from.terminal_id() != 0) {
- set_terminal_id(from.terminal_id());
- }
- if (from.export_id() != 0) {
- set_export_id(from.export_id());
- }
- if (from.is_leaved() != 0) {
- set_is_leaved(from.is_leaved());
- }
- }
- void pick_table::CopyFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_copy_from_start:pick_table)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void pick_table::CopyFrom(const pick_table& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:pick_table)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool pick_table::IsInitialized() const {
- return true;
- }
- void pick_table::Swap(pick_table* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void pick_table::InternalSwap(pick_table* other) {
- using std::swap;
- car_number_.Swap(&other->car_number_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- GetArenaNoVirtual());
- primary_key_.Swap(&other->primary_key_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- GetArenaNoVirtual());
- swap(statu_, other->statu_);
- swap(actually_space_info_, other->actually_space_info_);
- swap(actually_measure_info_, other->actually_measure_info_);
- swap(queue_id_, other->queue_id_);
- swap(unit_id_, other->unit_id_);
- swap(terminal_id_, other->terminal_id_);
- swap(export_id_, other->export_id_);
- swap(is_leaved_, other->is_leaved_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- }
- ::google::protobuf::Metadata pick_table::GetMetadata() const {
- protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
- }
- // ===================================================================
- void out_mcpu_statu::InitAsDefaultInstance() {
- }
- #if !defined(_MSC_VER) || _MSC_VER >= 1900
- const int out_mcpu_statu::kDoorStatuFieldNumber;
- const int out_mcpu_statu::kOutsideSafetyFieldNumber;
- #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
- out_mcpu_statu::out_mcpu_statu()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- ::google::protobuf::internal::InitSCC(
- &protobuf_message_2eproto::scc_info_out_mcpu_statu.base);
- SharedCtor();
- // @@protoc_insertion_point(constructor:out_mcpu_statu)
- }
- out_mcpu_statu::out_mcpu_statu(const out_mcpu_statu& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::memcpy(&door_statu_, &from.door_statu_,
- static_cast<size_t>(reinterpret_cast<char*>(&outside_safety_) -
- reinterpret_cast<char*>(&door_statu_)) + sizeof(outside_safety_));
- // @@protoc_insertion_point(copy_constructor:out_mcpu_statu)
- }
- void out_mcpu_statu::SharedCtor() {
- ::memset(&door_statu_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&outside_safety_) -
- reinterpret_cast<char*>(&door_statu_)) + sizeof(outside_safety_));
- }
- out_mcpu_statu::~out_mcpu_statu() {
- // @@protoc_insertion_point(destructor:out_mcpu_statu)
- SharedDtor();
- }
- void out_mcpu_statu::SharedDtor() {
- }
- void out_mcpu_statu::SetCachedSize(int size) const {
- _cached_size_.Set(size);
- }
- const ::google::protobuf::Descriptor* out_mcpu_statu::descriptor() {
- ::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
- }
- const out_mcpu_statu& out_mcpu_statu::default_instance() {
- ::google::protobuf::internal::InitSCC(&protobuf_message_2eproto::scc_info_out_mcpu_statu.base);
- return *internal_default_instance();
- }
- void out_mcpu_statu::Clear() {
- // @@protoc_insertion_point(message_clear_start:out_mcpu_statu)
- ::google::protobuf::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- ::memset(&door_statu_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&outside_safety_) -
- reinterpret_cast<char*>(&door_statu_)) + sizeof(outside_safety_));
- _internal_metadata_.Clear();
- }
- bool out_mcpu_statu::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:out_mcpu_statu)
- for (;;) {
- ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // int32 door_statu = 1;
- case 1: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &door_statu_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 outside_safety = 2;
- case 2: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &outside_safety_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, _internal_metadata_.mutable_unknown_fields()));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:out_mcpu_statu)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:out_mcpu_statu)
- return false;
- #undef DO_
- }
- void out_mcpu_statu::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:out_mcpu_statu)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // int32 door_statu = 1;
- if (this->door_statu() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->door_statu(), output);
- }
- // int32 outside_safety = 2;
- if (this->outside_safety() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->outside_safety(), output);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
- }
- // @@protoc_insertion_point(serialize_end:out_mcpu_statu)
- }
- ::google::protobuf::uint8* out_mcpu_statu::InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const {
- (void)deterministic; // Unused
- // @@protoc_insertion_point(serialize_to_array_start:out_mcpu_statu)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // int32 door_statu = 1;
- if (this->door_statu() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->door_statu(), target);
- }
- // int32 outside_safety = 2;
- if (this->outside_safety() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->outside_safety(), target);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:out_mcpu_statu)
- return target;
- }
- size_t out_mcpu_statu::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:out_mcpu_statu)
- size_t total_size = 0;
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
- }
- // int32 door_statu = 1;
- if (this->door_statu() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->door_statu());
- }
- // int32 outside_safety = 2;
- if (this->outside_safety() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->outside_safety());
- }
- int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void out_mcpu_statu::MergeFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_merge_from_start:out_mcpu_statu)
- GOOGLE_DCHECK_NE(&from, this);
- const out_mcpu_statu* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const out_mcpu_statu>(
- &from);
- if (source == NULL) {
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:out_mcpu_statu)
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- // @@protoc_insertion_point(generalized_merge_from_cast_success:out_mcpu_statu)
- MergeFrom(*source);
- }
- }
- void out_mcpu_statu::MergeFrom(const out_mcpu_statu& from) {
- // @@protoc_insertion_point(class_specific_merge_from_start:out_mcpu_statu)
- GOOGLE_DCHECK_NE(&from, this);
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- if (from.door_statu() != 0) {
- set_door_statu(from.door_statu());
- }
- if (from.outside_safety() != 0) {
- set_outside_safety(from.outside_safety());
- }
- }
- void out_mcpu_statu::CopyFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_copy_from_start:out_mcpu_statu)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void out_mcpu_statu::CopyFrom(const out_mcpu_statu& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:out_mcpu_statu)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool out_mcpu_statu::IsInitialized() const {
- return true;
- }
- void out_mcpu_statu::Swap(out_mcpu_statu* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void out_mcpu_statu::InternalSwap(out_mcpu_statu* other) {
- using std::swap;
- swap(door_statu_, other->door_statu_);
- swap(outside_safety_, other->outside_safety_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- }
- ::google::protobuf::Metadata out_mcpu_statu::GetMetadata() const {
- protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
- }
- // ===================================================================
- void in_mcpu_statu::InitAsDefaultInstance() {
- }
- #if !defined(_MSC_VER) || _MSC_VER >= 1900
- const int in_mcpu_statu::kDoorStatuFieldNumber;
- const int in_mcpu_statu::kBackIoFieldNumber;
- const int in_mcpu_statu::kIsOccupyFieldNumber;
- const int in_mcpu_statu::kHeighthFieldNumber;
- #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
- in_mcpu_statu::in_mcpu_statu()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- ::google::protobuf::internal::InitSCC(
- &protobuf_message_2eproto::scc_info_in_mcpu_statu.base);
- SharedCtor();
- // @@protoc_insertion_point(constructor:in_mcpu_statu)
- }
- in_mcpu_statu::in_mcpu_statu(const in_mcpu_statu& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::memcpy(&door_statu_, &from.door_statu_,
- static_cast<size_t>(reinterpret_cast<char*>(&heighth_) -
- reinterpret_cast<char*>(&door_statu_)) + sizeof(heighth_));
- // @@protoc_insertion_point(copy_constructor:in_mcpu_statu)
- }
- void in_mcpu_statu::SharedCtor() {
- ::memset(&door_statu_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&heighth_) -
- reinterpret_cast<char*>(&door_statu_)) + sizeof(heighth_));
- }
- in_mcpu_statu::~in_mcpu_statu() {
- // @@protoc_insertion_point(destructor:in_mcpu_statu)
- SharedDtor();
- }
- void in_mcpu_statu::SharedDtor() {
- }
- void in_mcpu_statu::SetCachedSize(int size) const {
- _cached_size_.Set(size);
- }
- const ::google::protobuf::Descriptor* in_mcpu_statu::descriptor() {
- ::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
- }
- const in_mcpu_statu& in_mcpu_statu::default_instance() {
- ::google::protobuf::internal::InitSCC(&protobuf_message_2eproto::scc_info_in_mcpu_statu.base);
- return *internal_default_instance();
- }
- void in_mcpu_statu::Clear() {
- // @@protoc_insertion_point(message_clear_start:in_mcpu_statu)
- ::google::protobuf::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- ::memset(&door_statu_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&heighth_) -
- reinterpret_cast<char*>(&door_statu_)) + sizeof(heighth_));
- _internal_metadata_.Clear();
- }
- bool in_mcpu_statu::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:in_mcpu_statu)
- for (;;) {
- ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // int32 door_statu = 1;
- case 1: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &door_statu_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 back_io = 2;
- case 2: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &back_io_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 is_occupy = 3;
- case 3: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &is_occupy_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 heighth = 4;
- case 4: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &heighth_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, _internal_metadata_.mutable_unknown_fields()));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:in_mcpu_statu)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:in_mcpu_statu)
- return false;
- #undef DO_
- }
- void in_mcpu_statu::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:in_mcpu_statu)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // int32 door_statu = 1;
- if (this->door_statu() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->door_statu(), output);
- }
- // int32 back_io = 2;
- if (this->back_io() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->back_io(), output);
- }
- // int32 is_occupy = 3;
- if (this->is_occupy() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->is_occupy(), output);
- }
- // int32 heighth = 4;
- if (this->heighth() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->heighth(), output);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
- }
- // @@protoc_insertion_point(serialize_end:in_mcpu_statu)
- }
- ::google::protobuf::uint8* in_mcpu_statu::InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const {
- (void)deterministic; // Unused
- // @@protoc_insertion_point(serialize_to_array_start:in_mcpu_statu)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // int32 door_statu = 1;
- if (this->door_statu() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->door_statu(), target);
- }
- // int32 back_io = 2;
- if (this->back_io() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->back_io(), target);
- }
- // int32 is_occupy = 3;
- if (this->is_occupy() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->is_occupy(), target);
- }
- // int32 heighth = 4;
- if (this->heighth() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->heighth(), target);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:in_mcpu_statu)
- return target;
- }
- size_t in_mcpu_statu::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:in_mcpu_statu)
- size_t total_size = 0;
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
- }
- // int32 door_statu = 1;
- if (this->door_statu() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->door_statu());
- }
- // int32 back_io = 2;
- if (this->back_io() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->back_io());
- }
- // int32 is_occupy = 3;
- if (this->is_occupy() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->is_occupy());
- }
- // int32 heighth = 4;
- if (this->heighth() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->heighth());
- }
- int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void in_mcpu_statu::MergeFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_merge_from_start:in_mcpu_statu)
- GOOGLE_DCHECK_NE(&from, this);
- const in_mcpu_statu* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const in_mcpu_statu>(
- &from);
- if (source == NULL) {
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:in_mcpu_statu)
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- // @@protoc_insertion_point(generalized_merge_from_cast_success:in_mcpu_statu)
- MergeFrom(*source);
- }
- }
- void in_mcpu_statu::MergeFrom(const in_mcpu_statu& from) {
- // @@protoc_insertion_point(class_specific_merge_from_start:in_mcpu_statu)
- GOOGLE_DCHECK_NE(&from, this);
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- if (from.door_statu() != 0) {
- set_door_statu(from.door_statu());
- }
- if (from.back_io() != 0) {
- set_back_io(from.back_io());
- }
- if (from.is_occupy() != 0) {
- set_is_occupy(from.is_occupy());
- }
- if (from.heighth() != 0) {
- set_heighth(from.heighth());
- }
- }
- void in_mcpu_statu::CopyFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_copy_from_start:in_mcpu_statu)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void in_mcpu_statu::CopyFrom(const in_mcpu_statu& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:in_mcpu_statu)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool in_mcpu_statu::IsInitialized() const {
- return true;
- }
- void in_mcpu_statu::Swap(in_mcpu_statu* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void in_mcpu_statu::InternalSwap(in_mcpu_statu* other) {
- using std::swap;
- swap(door_statu_, other->door_statu_);
- swap(back_io_, other->back_io_);
- swap(is_occupy_, other->is_occupy_);
- swap(heighth_, other->heighth_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- }
- ::google::protobuf::Metadata in_mcpu_statu::GetMetadata() const {
- protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
- }
- // ===================================================================
- void measure_statu::InitAsDefaultInstance() {
- ::_measure_statu_default_instance_._instance.get_mutable()->info_ = const_cast< ::measure_info*>(
- ::measure_info::internal_default_instance());
- }
- #if !defined(_MSC_VER) || _MSC_VER >= 1900
- const int measure_statu::kInfoFieldNumber;
- #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
- measure_statu::measure_statu()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- ::google::protobuf::internal::InitSCC(
- &protobuf_message_2eproto::scc_info_measure_statu.base);
- SharedCtor();
- // @@protoc_insertion_point(constructor:measure_statu)
- }
- measure_statu::measure_statu(const measure_statu& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- if (from.has_info()) {
- info_ = new ::measure_info(*from.info_);
- } else {
- info_ = NULL;
- }
- // @@protoc_insertion_point(copy_constructor:measure_statu)
- }
- void measure_statu::SharedCtor() {
- info_ = NULL;
- }
- measure_statu::~measure_statu() {
- // @@protoc_insertion_point(destructor:measure_statu)
- SharedDtor();
- }
- void measure_statu::SharedDtor() {
- if (this != internal_default_instance()) delete info_;
- }
- void measure_statu::SetCachedSize(int size) const {
- _cached_size_.Set(size);
- }
- const ::google::protobuf::Descriptor* measure_statu::descriptor() {
- ::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
- }
- const measure_statu& measure_statu::default_instance() {
- ::google::protobuf::internal::InitSCC(&protobuf_message_2eproto::scc_info_measure_statu.base);
- return *internal_default_instance();
- }
- void measure_statu::Clear() {
- // @@protoc_insertion_point(message_clear_start:measure_statu)
- ::google::protobuf::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- if (GetArenaNoVirtual() == NULL && info_ != NULL) {
- delete info_;
- }
- info_ = NULL;
- _internal_metadata_.Clear();
- }
- bool measure_statu::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:measure_statu)
- for (;;) {
- ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // .measure_info info = 1;
- case 1: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
- input, mutable_info()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, _internal_metadata_.mutable_unknown_fields()));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:measure_statu)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:measure_statu)
- return false;
- #undef DO_
- }
- void measure_statu::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:measure_statu)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // .measure_info info = 1;
- if (this->has_info()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, this->_internal_info(), output);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
- }
- // @@protoc_insertion_point(serialize_end:measure_statu)
- }
- ::google::protobuf::uint8* measure_statu::InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const {
- (void)deterministic; // Unused
- // @@protoc_insertion_point(serialize_to_array_start:measure_statu)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // .measure_info info = 1;
- if (this->has_info()) {
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessageToArray(
- 1, this->_internal_info(), deterministic, target);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:measure_statu)
- return target;
- }
- size_t measure_statu::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:measure_statu)
- size_t total_size = 0;
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
- }
- // .measure_info info = 1;
- if (this->has_info()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *info_);
- }
- int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void measure_statu::MergeFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_merge_from_start:measure_statu)
- GOOGLE_DCHECK_NE(&from, this);
- const measure_statu* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const measure_statu>(
- &from);
- if (source == NULL) {
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:measure_statu)
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- // @@protoc_insertion_point(generalized_merge_from_cast_success:measure_statu)
- MergeFrom(*source);
- }
- }
- void measure_statu::MergeFrom(const measure_statu& from) {
- // @@protoc_insertion_point(class_specific_merge_from_start:measure_statu)
- GOOGLE_DCHECK_NE(&from, this);
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- if (from.has_info()) {
- mutable_info()->::measure_info::MergeFrom(from.info());
- }
- }
- void measure_statu::CopyFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_copy_from_start:measure_statu)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void measure_statu::CopyFrom(const measure_statu& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:measure_statu)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool measure_statu::IsInitialized() const {
- return true;
- }
- void measure_statu::Swap(measure_statu* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void measure_statu::InternalSwap(measure_statu* other) {
- using std::swap;
- swap(info_, other->info_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- }
- ::google::protobuf::Metadata measure_statu::GetMetadata() const {
- protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
- }
- // ===================================================================
- void dispatch_region_info::InitAsDefaultInstance() {
- }
- #if !defined(_MSC_VER) || _MSC_VER >= 1900
- const int dispatch_region_info::kTerminalIdFieldNumber;
- const int dispatch_region_info::kTurnplateAngleMinFieldNumber;
- const int dispatch_region_info::kTurnplateAngleMaxFieldNumber;
- #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
- dispatch_region_info::dispatch_region_info()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- ::google::protobuf::internal::InitSCC(
- &protobuf_message_2eproto::scc_info_dispatch_region_info.base);
- SharedCtor();
- // @@protoc_insertion_point(constructor:dispatch_region_info)
- }
- dispatch_region_info::dispatch_region_info(const dispatch_region_info& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::memcpy(&terminal_id_, &from.terminal_id_,
- static_cast<size_t>(reinterpret_cast<char*>(&turnplate_angle_max_) -
- reinterpret_cast<char*>(&terminal_id_)) + sizeof(turnplate_angle_max_));
- // @@protoc_insertion_point(copy_constructor:dispatch_region_info)
- }
- void dispatch_region_info::SharedCtor() {
- ::memset(&terminal_id_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&turnplate_angle_max_) -
- reinterpret_cast<char*>(&terminal_id_)) + sizeof(turnplate_angle_max_));
- }
- dispatch_region_info::~dispatch_region_info() {
- // @@protoc_insertion_point(destructor:dispatch_region_info)
- SharedDtor();
- }
- void dispatch_region_info::SharedDtor() {
- }
- void dispatch_region_info::SetCachedSize(int size) const {
- _cached_size_.Set(size);
- }
- const ::google::protobuf::Descriptor* dispatch_region_info::descriptor() {
- ::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
- }
- const dispatch_region_info& dispatch_region_info::default_instance() {
- ::google::protobuf::internal::InitSCC(&protobuf_message_2eproto::scc_info_dispatch_region_info.base);
- return *internal_default_instance();
- }
- void dispatch_region_info::Clear() {
- // @@protoc_insertion_point(message_clear_start:dispatch_region_info)
- ::google::protobuf::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- ::memset(&terminal_id_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&turnplate_angle_max_) -
- reinterpret_cast<char*>(&terminal_id_)) + sizeof(turnplate_angle_max_));
- _internal_metadata_.Clear();
- }
- bool dispatch_region_info::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:dispatch_region_info)
- for (;;) {
- ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // int32 terminal_id = 1;
- case 1: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &terminal_id_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // float turnplate_angle_min = 2;
- case 2: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(21u /* 21 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
- input, &turnplate_angle_min_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // float turnplate_angle_max = 3;
- case 3: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(29u /* 29 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
- input, &turnplate_angle_max_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, _internal_metadata_.mutable_unknown_fields()));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:dispatch_region_info)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:dispatch_region_info)
- return false;
- #undef DO_
- }
- void dispatch_region_info::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:dispatch_region_info)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // int32 terminal_id = 1;
- if (this->terminal_id() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->terminal_id(), output);
- }
- // float turnplate_angle_min = 2;
- if (this->turnplate_angle_min() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteFloat(2, this->turnplate_angle_min(), output);
- }
- // float turnplate_angle_max = 3;
- if (this->turnplate_angle_max() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteFloat(3, this->turnplate_angle_max(), output);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
- }
- // @@protoc_insertion_point(serialize_end:dispatch_region_info)
- }
- ::google::protobuf::uint8* dispatch_region_info::InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const {
- (void)deterministic; // Unused
- // @@protoc_insertion_point(serialize_to_array_start:dispatch_region_info)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // int32 terminal_id = 1;
- if (this->terminal_id() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->terminal_id(), target);
- }
- // float turnplate_angle_min = 2;
- if (this->turnplate_angle_min() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(2, this->turnplate_angle_min(), target);
- }
- // float turnplate_angle_max = 3;
- if (this->turnplate_angle_max() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(3, this->turnplate_angle_max(), target);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:dispatch_region_info)
- return target;
- }
- size_t dispatch_region_info::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:dispatch_region_info)
- size_t total_size = 0;
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
- }
- // int32 terminal_id = 1;
- if (this->terminal_id() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->terminal_id());
- }
- // float turnplate_angle_min = 2;
- if (this->turnplate_angle_min() != 0) {
- total_size += 1 + 4;
- }
- // float turnplate_angle_max = 3;
- if (this->turnplate_angle_max() != 0) {
- total_size += 1 + 4;
- }
- int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void dispatch_region_info::MergeFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_merge_from_start:dispatch_region_info)
- GOOGLE_DCHECK_NE(&from, this);
- const dispatch_region_info* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const dispatch_region_info>(
- &from);
- if (source == NULL) {
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:dispatch_region_info)
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- // @@protoc_insertion_point(generalized_merge_from_cast_success:dispatch_region_info)
- MergeFrom(*source);
- }
- }
- void dispatch_region_info::MergeFrom(const dispatch_region_info& from) {
- // @@protoc_insertion_point(class_specific_merge_from_start:dispatch_region_info)
- GOOGLE_DCHECK_NE(&from, this);
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- if (from.terminal_id() != 0) {
- set_terminal_id(from.terminal_id());
- }
- if (from.turnplate_angle_min() != 0) {
- set_turnplate_angle_min(from.turnplate_angle_min());
- }
- if (from.turnplate_angle_max() != 0) {
- set_turnplate_angle_max(from.turnplate_angle_max());
- }
- }
- void dispatch_region_info::CopyFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_copy_from_start:dispatch_region_info)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void dispatch_region_info::CopyFrom(const dispatch_region_info& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:dispatch_region_info)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool dispatch_region_info::IsInitialized() const {
- return true;
- }
- void dispatch_region_info::Swap(dispatch_region_info* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void dispatch_region_info::InternalSwap(dispatch_region_info* other) {
- using std::swap;
- swap(terminal_id_, other->terminal_id_);
- swap(turnplate_angle_min_, other->turnplate_angle_min_);
- swap(turnplate_angle_max_, other->turnplate_angle_max_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- }
- ::google::protobuf::Metadata dispatch_region_info::GetMetadata() const {
- protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
- }
- // ===================================================================
- void dispatch_node_statu::InitAsDefaultInstance() {
- ::_dispatch_node_statu_default_instance_._instance.get_mutable()->running_pack_info_ = const_cast< ::park_table*>(
- ::park_table::internal_default_instance());
- ::_dispatch_node_statu_default_instance_._instance.get_mutable()->running_pick_info_ = const_cast< ::pick_table*>(
- ::pick_table::internal_default_instance());
- }
- #if !defined(_MSC_VER) || _MSC_VER >= 1900
- const int dispatch_node_statu::kStatuFieldNumber;
- const int dispatch_node_statu::kIdleStopFloorFieldNumber;
- const int dispatch_node_statu::kRunningPackInfoFieldNumber;
- const int dispatch_node_statu::kRunningPickInfoFieldNumber;
- const int dispatch_node_statu::kUnitIdFieldNumber;
- const int dispatch_node_statu::kPlcHeartbeatFieldNumber;
- const int dispatch_node_statu::kPlcStatusInfoFieldNumber;
- const int dispatch_node_statu::kDispatchRegionInfoVectorFieldNumber;
- #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
- dispatch_node_statu::dispatch_node_statu()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- ::google::protobuf::internal::InitSCC(
- &protobuf_message_2eproto::scc_info_dispatch_node_statu.base);
- SharedCtor();
- // @@protoc_insertion_point(constructor:dispatch_node_statu)
- }
- dispatch_node_statu::dispatch_node_statu(const dispatch_node_statu& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL),
- dispatch_region_info_vector_(from.dispatch_region_info_vector_) {
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- if (from.has_running_pack_info()) {
- running_pack_info_ = new ::park_table(*from.running_pack_info_);
- } else {
- running_pack_info_ = NULL;
- }
- if (from.has_running_pick_info()) {
- running_pick_info_ = new ::pick_table(*from.running_pick_info_);
- } else {
- running_pick_info_ = NULL;
- }
- ::memcpy(&statu_, &from.statu_,
- static_cast<size_t>(reinterpret_cast<char*>(&plc_status_info_) -
- reinterpret_cast<char*>(&statu_)) + sizeof(plc_status_info_));
- // @@protoc_insertion_point(copy_constructor:dispatch_node_statu)
- }
- void dispatch_node_statu::SharedCtor() {
- ::memset(&running_pack_info_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&plc_status_info_) -
- reinterpret_cast<char*>(&running_pack_info_)) + sizeof(plc_status_info_));
- }
- dispatch_node_statu::~dispatch_node_statu() {
- // @@protoc_insertion_point(destructor:dispatch_node_statu)
- SharedDtor();
- }
- void dispatch_node_statu::SharedDtor() {
- if (this != internal_default_instance()) delete running_pack_info_;
- if (this != internal_default_instance()) delete running_pick_info_;
- }
- void dispatch_node_statu::SetCachedSize(int size) const {
- _cached_size_.Set(size);
- }
- const ::google::protobuf::Descriptor* dispatch_node_statu::descriptor() {
- ::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
- }
- const dispatch_node_statu& dispatch_node_statu::default_instance() {
- ::google::protobuf::internal::InitSCC(&protobuf_message_2eproto::scc_info_dispatch_node_statu.base);
- return *internal_default_instance();
- }
- void dispatch_node_statu::Clear() {
- // @@protoc_insertion_point(message_clear_start:dispatch_node_statu)
- ::google::protobuf::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- dispatch_region_info_vector_.Clear();
- if (GetArenaNoVirtual() == NULL && running_pack_info_ != NULL) {
- delete running_pack_info_;
- }
- running_pack_info_ = NULL;
- if (GetArenaNoVirtual() == NULL && running_pick_info_ != NULL) {
- delete running_pick_info_;
- }
- running_pick_info_ = NULL;
- ::memset(&statu_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&plc_status_info_) -
- reinterpret_cast<char*>(&statu_)) + sizeof(plc_status_info_));
- _internal_metadata_.Clear();
- }
- bool dispatch_node_statu::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:dispatch_node_statu)
- for (;;) {
- ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // .CarrierStatu statu = 1;
- case 1: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
- int value;
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
- input, &value)));
- set_statu(static_cast< ::CarrierStatu >(value));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 idle_stop_floor = 2;
- case 2: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &idle_stop_floor_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // .park_table running_pack_info = 3;
- case 3: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
- input, mutable_running_pack_info()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // .pick_table running_pick_info = 4;
- case 4: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
- input, mutable_running_pick_info()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 unit_id = 5;
- case 5: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &unit_id_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 plc_heartbeat = 6;
- case 6: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(48u /* 48 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &plc_heartbeat_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 plc_status_info = 7;
- case 7: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(56u /* 56 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &plc_status_info_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // repeated .dispatch_region_info dispatch_region_info_vector = 8;
- case 8: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(66u /* 66 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
- input, add_dispatch_region_info_vector()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, _internal_metadata_.mutable_unknown_fields()));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:dispatch_node_statu)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:dispatch_node_statu)
- return false;
- #undef DO_
- }
- void dispatch_node_statu::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:dispatch_node_statu)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // .CarrierStatu statu = 1;
- if (this->statu() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteEnum(
- 1, this->statu(), output);
- }
- // int32 idle_stop_floor = 2;
- if (this->idle_stop_floor() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->idle_stop_floor(), output);
- }
- // .park_table running_pack_info = 3;
- if (this->has_running_pack_info()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 3, this->_internal_running_pack_info(), output);
- }
- // .pick_table running_pick_info = 4;
- if (this->has_running_pick_info()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 4, this->_internal_running_pick_info(), output);
- }
- // int32 unit_id = 5;
- if (this->unit_id() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->unit_id(), output);
- }
- // int32 plc_heartbeat = 6;
- if (this->plc_heartbeat() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->plc_heartbeat(), output);
- }
- // int32 plc_status_info = 7;
- if (this->plc_status_info() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->plc_status_info(), output);
- }
- // repeated .dispatch_region_info dispatch_region_info_vector = 8;
- for (unsigned int i = 0,
- n = static_cast<unsigned int>(this->dispatch_region_info_vector_size()); i < n; i++) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 8,
- this->dispatch_region_info_vector(static_cast<int>(i)),
- output);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
- }
- // @@protoc_insertion_point(serialize_end:dispatch_node_statu)
- }
- ::google::protobuf::uint8* dispatch_node_statu::InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const {
- (void)deterministic; // Unused
- // @@protoc_insertion_point(serialize_to_array_start:dispatch_node_statu)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // .CarrierStatu statu = 1;
- if (this->statu() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
- 1, this->statu(), target);
- }
- // int32 idle_stop_floor = 2;
- if (this->idle_stop_floor() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->idle_stop_floor(), target);
- }
- // .park_table running_pack_info = 3;
- if (this->has_running_pack_info()) {
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessageToArray(
- 3, this->_internal_running_pack_info(), deterministic, target);
- }
- // .pick_table running_pick_info = 4;
- if (this->has_running_pick_info()) {
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessageToArray(
- 4, this->_internal_running_pick_info(), deterministic, target);
- }
- // int32 unit_id = 5;
- if (this->unit_id() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->unit_id(), target);
- }
- // int32 plc_heartbeat = 6;
- if (this->plc_heartbeat() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->plc_heartbeat(), target);
- }
- // int32 plc_status_info = 7;
- if (this->plc_status_info() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->plc_status_info(), target);
- }
- // repeated .dispatch_region_info dispatch_region_info_vector = 8;
- for (unsigned int i = 0,
- n = static_cast<unsigned int>(this->dispatch_region_info_vector_size()); i < n; i++) {
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessageToArray(
- 8, this->dispatch_region_info_vector(static_cast<int>(i)), deterministic, target);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:dispatch_node_statu)
- return target;
- }
- size_t dispatch_node_statu::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:dispatch_node_statu)
- size_t total_size = 0;
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
- }
- // repeated .dispatch_region_info dispatch_region_info_vector = 8;
- {
- unsigned int count = static_cast<unsigned int>(this->dispatch_region_info_vector_size());
- total_size += 1UL * count;
- for (unsigned int i = 0; i < count; i++) {
- total_size +=
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- this->dispatch_region_info_vector(static_cast<int>(i)));
- }
- }
- // .park_table running_pack_info = 3;
- if (this->has_running_pack_info()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *running_pack_info_);
- }
- // .pick_table running_pick_info = 4;
- if (this->has_running_pick_info()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *running_pick_info_);
- }
- // .CarrierStatu statu = 1;
- if (this->statu() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::EnumSize(this->statu());
- }
- // int32 idle_stop_floor = 2;
- if (this->idle_stop_floor() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->idle_stop_floor());
- }
- // int32 unit_id = 5;
- if (this->unit_id() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->unit_id());
- }
- // int32 plc_heartbeat = 6;
- if (this->plc_heartbeat() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->plc_heartbeat());
- }
- // int32 plc_status_info = 7;
- if (this->plc_status_info() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->plc_status_info());
- }
- int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void dispatch_node_statu::MergeFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_merge_from_start:dispatch_node_statu)
- GOOGLE_DCHECK_NE(&from, this);
- const dispatch_node_statu* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const dispatch_node_statu>(
- &from);
- if (source == NULL) {
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:dispatch_node_statu)
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- // @@protoc_insertion_point(generalized_merge_from_cast_success:dispatch_node_statu)
- MergeFrom(*source);
- }
- }
- void dispatch_node_statu::MergeFrom(const dispatch_node_statu& from) {
- // @@protoc_insertion_point(class_specific_merge_from_start:dispatch_node_statu)
- GOOGLE_DCHECK_NE(&from, this);
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- dispatch_region_info_vector_.MergeFrom(from.dispatch_region_info_vector_);
- if (from.has_running_pack_info()) {
- mutable_running_pack_info()->::park_table::MergeFrom(from.running_pack_info());
- }
- if (from.has_running_pick_info()) {
- mutable_running_pick_info()->::pick_table::MergeFrom(from.running_pick_info());
- }
- if (from.statu() != 0) {
- set_statu(from.statu());
- }
- if (from.idle_stop_floor() != 0) {
- set_idle_stop_floor(from.idle_stop_floor());
- }
- if (from.unit_id() != 0) {
- set_unit_id(from.unit_id());
- }
- if (from.plc_heartbeat() != 0) {
- set_plc_heartbeat(from.plc_heartbeat());
- }
- if (from.plc_status_info() != 0) {
- set_plc_status_info(from.plc_status_info());
- }
- }
- void dispatch_node_statu::CopyFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_copy_from_start:dispatch_node_statu)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void dispatch_node_statu::CopyFrom(const dispatch_node_statu& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:dispatch_node_statu)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool dispatch_node_statu::IsInitialized() const {
- return true;
- }
- void dispatch_node_statu::Swap(dispatch_node_statu* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void dispatch_node_statu::InternalSwap(dispatch_node_statu* other) {
- using std::swap;
- CastToBase(&dispatch_region_info_vector_)->InternalSwap(CastToBase(&other->dispatch_region_info_vector_));
- swap(running_pack_info_, other->running_pack_info_);
- swap(running_pick_info_, other->running_pick_info_);
- swap(statu_, other->statu_);
- swap(idle_stop_floor_, other->idle_stop_floor_);
- swap(unit_id_, other->unit_id_);
- swap(plc_heartbeat_, other->plc_heartbeat_);
- swap(plc_status_info_, other->plc_status_info_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- }
- ::google::protobuf::Metadata dispatch_node_statu::GetMetadata() const {
- protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
- }
- // @@protoc_insertion_point(namespace_scope)
- namespace google {
- namespace protobuf {
- template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::measure_info* Arena::CreateMaybeMessage< ::measure_info >(Arena* arena) {
- return Arena::CreateInternal< ::measure_info >(arena);
- }
- template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::parkspace_info* Arena::CreateMaybeMessage< ::parkspace_info >(Arena* arena) {
- return Arena::CreateInternal< ::parkspace_info >(arena);
- }
- template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::table_statu* Arena::CreateMaybeMessage< ::table_statu >(Arena* arena) {
- return Arena::CreateInternal< ::table_statu >(arena);
- }
- template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::park_table* Arena::CreateMaybeMessage< ::park_table >(Arena* arena) {
- return Arena::CreateInternal< ::park_table >(arena);
- }
- template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::pick_table* Arena::CreateMaybeMessage< ::pick_table >(Arena* arena) {
- return Arena::CreateInternal< ::pick_table >(arena);
- }
- template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::out_mcpu_statu* Arena::CreateMaybeMessage< ::out_mcpu_statu >(Arena* arena) {
- return Arena::CreateInternal< ::out_mcpu_statu >(arena);
- }
- template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::in_mcpu_statu* Arena::CreateMaybeMessage< ::in_mcpu_statu >(Arena* arena) {
- return Arena::CreateInternal< ::in_mcpu_statu >(arena);
- }
- template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::measure_statu* Arena::CreateMaybeMessage< ::measure_statu >(Arena* arena) {
- return Arena::CreateInternal< ::measure_statu >(arena);
- }
- template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::dispatch_region_info* Arena::CreateMaybeMessage< ::dispatch_region_info >(Arena* arena) {
- return Arena::CreateInternal< ::dispatch_region_info >(arena);
- }
- template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::dispatch_node_statu* Arena::CreateMaybeMessage< ::dispatch_node_statu >(Arena* arena) {
- return Arena::CreateInternal< ::dispatch_node_statu >(arena);
- }
- } // namespace protobuf
- } // namespace google
- // @@protoc_insertion_point(global_scope)
|