process_message.pb.cc 188 KB

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