message.pb.cc 169 KB

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