12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787 |
- // 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/stubs/once.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)
- 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 {
- void InitDefaultsmeasure_infoImpl() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
- #else
- ::google::protobuf::internal::InitProtobufDefaults();
- #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- {
- void* ptr = &::_measure_info_default_instance_;
- new (ptr) ::measure_info();
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
- }
- ::measure_info::InitAsDefaultInstance();
- }
- void InitDefaultsmeasure_info() {
- static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
- ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsmeasure_infoImpl);
- }
- void InitDefaultsparkspace_infoImpl() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
- #else
- ::google::protobuf::internal::InitProtobufDefaults();
- #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- {
- void* ptr = &::_parkspace_info_default_instance_;
- new (ptr) ::parkspace_info();
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
- }
- ::parkspace_info::InitAsDefaultInstance();
- }
- void InitDefaultsparkspace_info() {
- static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
- ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsparkspace_infoImpl);
- }
- void InitDefaultstable_statuImpl() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
- #else
- ::google::protobuf::internal::InitProtobufDefaults();
- #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- {
- void* ptr = &::_table_statu_default_instance_;
- new (ptr) ::table_statu();
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
- }
- ::table_statu::InitAsDefaultInstance();
- }
- void InitDefaultstable_statu() {
- static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
- ::google::protobuf::GoogleOnceInit(&once, &InitDefaultstable_statuImpl);
- }
- void InitDefaultspark_tableImpl() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
- #else
- ::google::protobuf::internal::InitProtobufDefaults();
- #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- protobuf_message_2eproto::InitDefaultstable_statu();
- protobuf_message_2eproto::InitDefaultsmeasure_info();
- protobuf_message_2eproto::InitDefaultsparkspace_info();
- {
- void* ptr = &::_park_table_default_instance_;
- new (ptr) ::park_table();
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
- }
- ::park_table::InitAsDefaultInstance();
- }
- void InitDefaultspark_table() {
- static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
- ::google::protobuf::GoogleOnceInit(&once, &InitDefaultspark_tableImpl);
- }
- void InitDefaultspick_tableImpl() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
- #else
- ::google::protobuf::internal::InitProtobufDefaults();
- #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- protobuf_message_2eproto::InitDefaultstable_statu();
- protobuf_message_2eproto::InitDefaultsparkspace_info();
- protobuf_message_2eproto::InitDefaultsmeasure_info();
- {
- void* ptr = &::_pick_table_default_instance_;
- new (ptr) ::pick_table();
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
- }
- ::pick_table::InitAsDefaultInstance();
- }
- void InitDefaultspick_table() {
- static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
- ::google::protobuf::GoogleOnceInit(&once, &InitDefaultspick_tableImpl);
- }
- void InitDefaultsout_mcpu_statuImpl() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
- #else
- ::google::protobuf::internal::InitProtobufDefaults();
- #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- {
- void* ptr = &::_out_mcpu_statu_default_instance_;
- new (ptr) ::out_mcpu_statu();
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
- }
- ::out_mcpu_statu::InitAsDefaultInstance();
- }
- void InitDefaultsout_mcpu_statu() {
- static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
- ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsout_mcpu_statuImpl);
- }
- void InitDefaultsin_mcpu_statuImpl() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
- #else
- ::google::protobuf::internal::InitProtobufDefaults();
- #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- {
- void* ptr = &::_in_mcpu_statu_default_instance_;
- new (ptr) ::in_mcpu_statu();
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
- }
- ::in_mcpu_statu::InitAsDefaultInstance();
- }
- void InitDefaultsin_mcpu_statu() {
- static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
- ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsin_mcpu_statuImpl);
- }
- void InitDefaultsmeasure_statuImpl() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
- #else
- ::google::protobuf::internal::InitProtobufDefaults();
- #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- protobuf_message_2eproto::InitDefaultsmeasure_info();
- {
- void* ptr = &::_measure_statu_default_instance_;
- new (ptr) ::measure_statu();
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
- }
- ::measure_statu::InitAsDefaultInstance();
- }
- void InitDefaultsmeasure_statu() {
- static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
- ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsmeasure_statuImpl);
- }
- void InitDefaultsdispatch_region_infoImpl() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
- #else
- ::google::protobuf::internal::InitProtobufDefaults();
- #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- {
- void* ptr = &::_dispatch_region_info_default_instance_;
- new (ptr) ::dispatch_region_info();
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
- }
- ::dispatch_region_info::InitAsDefaultInstance();
- }
- void InitDefaultsdispatch_region_info() {
- static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
- ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsdispatch_region_infoImpl);
- }
- void InitDefaultsdispatch_node_statuImpl() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
- #else
- ::google::protobuf::internal::InitProtobufDefaults();
- #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- protobuf_message_2eproto::InitDefaultspark_table();
- protobuf_message_2eproto::InitDefaultspick_table();
- protobuf_message_2eproto::InitDefaultsdispatch_region_info();
- {
- void* ptr = &::_dispatch_node_statu_default_instance_;
- new (ptr) ::dispatch_node_statu();
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
- }
- ::dispatch_node_statu::InitAsDefaultInstance();
- }
- void InitDefaultsdispatch_node_statu() {
- static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
- ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsdispatch_node_statuImpl);
- }
- ::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();
- ::google::protobuf::MessageFactory* factory = NULL;
- AssignDescriptors(
- "message.proto", schemas, file_default_instances, TableStruct::offsets, factory,
- file_level_metadata, file_level_enum_descriptors, NULL);
- }
- void protobuf_AssignDescriptorsOnce() {
- static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
- ::google::protobuf::GoogleOnceInit(&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_DECLARE_ONCE(once);
- ::google::protobuf::GoogleOnceInit(&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) {
- if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
- ::protobuf_message_2eproto::InitDefaultsmeasure_info();
- }
- SharedCtor();
- // @@protoc_insertion_point(constructor:measure_info)
- }
- measure_info::measure_info(const measure_info& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL),
- _cached_size_(0) {
- _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_));
- _cached_size_ = 0;
- }
- measure_info::~measure_info() {
- // @@protoc_insertion_point(destructor:measure_info)
- SharedDtor();
- }
- void measure_info::SharedDtor() {
- }
- void measure_info::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- 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() {
- ::protobuf_message_2eproto::InitDefaultsmeasure_info();
- return *internal_default_instance();
- }
- measure_info* measure_info::New(::google::protobuf::Arena* arena) const {
- measure_info* n = new measure_info;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- 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);
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = cached_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- 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_);
- swap(_cached_size_, other->_cached_size_);
- }
- ::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) {
- if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
- ::protobuf_message_2eproto::InitDefaultsparkspace_info();
- }
- SharedCtor();
- // @@protoc_insertion_point(constructor:parkspace_info)
- }
- parkspace_info::parkspace_info(const parkspace_info& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL),
- _cached_size_(0) {
- _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_));
- _cached_size_ = 0;
- }
- parkspace_info::~parkspace_info() {
- // @@protoc_insertion_point(destructor:parkspace_info)
- SharedDtor();
- }
- void parkspace_info::SharedDtor() {
- }
- void parkspace_info::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- 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() {
- ::protobuf_message_2eproto::InitDefaultsparkspace_info();
- return *internal_default_instance();
- }
- parkspace_info* parkspace_info::New(::google::protobuf::Arena* arena) const {
- parkspace_info* n = new parkspace_info;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- 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);
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = cached_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- 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_);
- swap(_cached_size_, other->_cached_size_);
- }
- ::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) {
- if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
- ::protobuf_message_2eproto::InitDefaultstable_statu();
- }
- SharedCtor();
- // @@protoc_insertion_point(constructor:table_statu)
- }
- table_statu::table_statu(const table_statu& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL),
- _cached_size_(0) {
- _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;
- _cached_size_ = 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 {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- 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() {
- ::protobuf_message_2eproto::InitDefaultstable_statu();
- return *internal_default_instance();
- }
- table_statu* table_statu::New(::google::protobuf::Arena* arena) const {
- table_statu* n = new table_statu;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- 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);
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = cached_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- 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_);
- swap(execute_statu_, other->execute_statu_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- swap(_cached_size_, other->_cached_size_);
- }
- ::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) {
- if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
- ::protobuf_message_2eproto::InitDefaultspark_table();
- }
- SharedCtor();
- // @@protoc_insertion_point(constructor:park_table)
- }
- park_table::park_table(const park_table& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL),
- _cached_size_(0) {
- _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_));
- _cached_size_ = 0;
- }
- 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 {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- 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() {
- ::protobuf_message_2eproto::InitDefaultspark_table();
- return *internal_default_instance();
- }
- park_table* park_table::New(::google::protobuf::Arena* arena) const {
- park_table* n = new park_table;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- 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->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->entrance_measure_info_, output);
- }
- // .parkspace_info allocated_space_info = 8;
- if (this->has_allocated_space_info()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 8, *this->allocated_space_info_, output);
- }
- // .measure_info actually_measure_info = 9;
- if (this->has_actually_measure_info()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 9, *this->actually_measure_info_, output);
- }
- // .parkspace_info actually_space_info = 10;
- if (this->has_actually_space_info()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 10, *this->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->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->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->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->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->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(
- *this->statu_);
- }
- // .measure_info entrance_measure_info = 7;
- if (this->has_entrance_measure_info()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *this->entrance_measure_info_);
- }
- // .parkspace_info allocated_space_info = 8;
- if (this->has_allocated_space_info()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *this->allocated_space_info_);
- }
- // .measure_info actually_measure_info = 9;
- if (this->has_actually_measure_info()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *this->actually_measure_info_);
- }
- // .parkspace_info actually_space_info = 10;
- if (this->has_actually_space_info()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *this->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);
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = cached_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- 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_);
- primary_key_.Swap(&other->primary_key_);
- 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_);
- swap(_cached_size_, other->_cached_size_);
- }
- ::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) {
- if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
- ::protobuf_message_2eproto::InitDefaultspick_table();
- }
- SharedCtor();
- // @@protoc_insertion_point(constructor:pick_table)
- }
- pick_table::pick_table(const pick_table& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL),
- _cached_size_(0) {
- _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_));
- _cached_size_ = 0;
- }
- 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 {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- 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() {
- ::protobuf_message_2eproto::InitDefaultspick_table();
- return *internal_default_instance();
- }
- pick_table* pick_table::New(::google::protobuf::Arena* arena) const {
- pick_table* n = new pick_table;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- 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->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->actually_space_info_, output);
- }
- // .measure_info actually_measure_info = 8;
- if (this->has_actually_measure_info()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 8, *this->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->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->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->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(
- *this->statu_);
- }
- // .parkspace_info actually_space_info = 7;
- if (this->has_actually_space_info()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *this->actually_space_info_);
- }
- // .measure_info actually_measure_info = 8;
- if (this->has_actually_measure_info()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *this->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);
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = cached_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- 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_);
- primary_key_.Swap(&other->primary_key_);
- 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_);
- swap(_cached_size_, other->_cached_size_);
- }
- ::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) {
- if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
- ::protobuf_message_2eproto::InitDefaultsout_mcpu_statu();
- }
- 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),
- _cached_size_(0) {
- _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_));
- _cached_size_ = 0;
- }
- 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 {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- 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() {
- ::protobuf_message_2eproto::InitDefaultsout_mcpu_statu();
- return *internal_default_instance();
- }
- out_mcpu_statu* out_mcpu_statu::New(::google::protobuf::Arena* arena) const {
- out_mcpu_statu* n = new out_mcpu_statu;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- 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);
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = cached_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- 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_);
- swap(_cached_size_, other->_cached_size_);
- }
- ::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) {
- if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
- ::protobuf_message_2eproto::InitDefaultsin_mcpu_statu();
- }
- 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),
- _cached_size_(0) {
- _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_));
- _cached_size_ = 0;
- }
- 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 {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- 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() {
- ::protobuf_message_2eproto::InitDefaultsin_mcpu_statu();
- return *internal_default_instance();
- }
- in_mcpu_statu* in_mcpu_statu::New(::google::protobuf::Arena* arena) const {
- in_mcpu_statu* n = new in_mcpu_statu;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- 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);
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = cached_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- 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_);
- swap(_cached_size_, other->_cached_size_);
- }
- ::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) {
- if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
- ::protobuf_message_2eproto::InitDefaultsmeasure_statu();
- }
- SharedCtor();
- // @@protoc_insertion_point(constructor:measure_statu)
- }
- measure_statu::measure_statu(const measure_statu& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL),
- _cached_size_(0) {
- _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;
- _cached_size_ = 0;
- }
- 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 {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- 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() {
- ::protobuf_message_2eproto::InitDefaultsmeasure_statu();
- return *internal_default_instance();
- }
- measure_statu* measure_statu::New(::google::protobuf::Arena* arena) const {
- measure_statu* n = new measure_statu;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- 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->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->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(
- *this->info_);
- }
- int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = cached_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- 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_);
- swap(_cached_size_, other->_cached_size_);
- }
- ::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) {
- if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
- ::protobuf_message_2eproto::InitDefaultsdispatch_region_info();
- }
- 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),
- _cached_size_(0) {
- _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_));
- _cached_size_ = 0;
- }
- 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 {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- 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() {
- ::protobuf_message_2eproto::InitDefaultsdispatch_region_info();
- return *internal_default_instance();
- }
- dispatch_region_info* dispatch_region_info::New(::google::protobuf::Arena* arena) const {
- dispatch_region_info* n = new dispatch_region_info;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- 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);
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = cached_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- 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_);
- swap(_cached_size_, other->_cached_size_);
- }
- ::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) {
- if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
- ::protobuf_message_2eproto::InitDefaultsdispatch_node_statu();
- }
- 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_),
- _cached_size_(0) {
- _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_));
- _cached_size_ = 0;
- }
- 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 {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- 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() {
- ::protobuf_message_2eproto::InitDefaultsdispatch_node_statu();
- return *internal_default_instance();
- }
- dispatch_node_statu* dispatch_node_statu::New(::google::protobuf::Arena* arena) const {
- dispatch_node_statu* n = new dispatch_node_statu;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- 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->running_pack_info_, output);
- }
- // .pick_table running_pick_info = 4;
- if (this->has_running_pick_info()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 4, *this->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->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->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(
- *this->running_pack_info_);
- }
- // .pick_table running_pick_info = 4;
- if (this->has_running_pick_info()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *this->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);
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = cached_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- 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;
- dispatch_region_info_vector_.InternalSwap(&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_);
- swap(_cached_size_, other->_cached_size_);
- }
- ::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)
- // @@protoc_insertion_point(global_scope)
|