process_message.pb.cc 182 KB

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