measure_message.pb.h 226 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: measure_message.proto
  3. #ifndef GOOGLE_PROTOBUF_INCLUDED_measure_5fmessage_2eproto
  4. #define GOOGLE_PROTOBUF_INCLUDED_measure_5fmessage_2eproto
  5. #include <limits>
  6. #include <string>
  7. #include <google/protobuf/port_def.inc>
  8. #if PROTOBUF_VERSION < 3013000
  9. #error This file was generated by a newer version of protoc which is
  10. #error incompatible with your Protocol Buffer headers. Please update
  11. #error your headers.
  12. #endif
  13. #if 3013000 < PROTOBUF_MIN_PROTOC_VERSION
  14. #error This file was generated by an older version of protoc which is
  15. #error incompatible with your Protocol Buffer headers. Please
  16. #error regenerate this file with a newer version of protoc.
  17. #endif
  18. #include <google/protobuf/port_undef.inc>
  19. #include <google/protobuf/io/coded_stream.h>
  20. #include <google/protobuf/arena.h>
  21. #include <google/protobuf/arenastring.h>
  22. #include <google/protobuf/generated_message_table_driven.h>
  23. #include <google/protobuf/generated_message_util.h>
  24. #include <google/protobuf/inlined_string_field.h>
  25. #include <google/protobuf/metadata_lite.h>
  26. #include <google/protobuf/generated_message_reflection.h>
  27. #include <google/protobuf/message.h>
  28. #include <google/protobuf/repeated_field.h> // IWYU pragma: export
  29. #include <google/protobuf/extension_set.h> // IWYU pragma: export
  30. #include <google/protobuf/generated_enum_reflection.h>
  31. #include <google/protobuf/unknown_field_set.h>
  32. #include "message_base.pb.h"
  33. // @@protoc_insertion_point(includes)
  34. #include <google/protobuf/port_def.inc>
  35. #define PROTOBUF_INTERNAL_EXPORT_measure_5fmessage_2eproto
  36. PROTOBUF_NAMESPACE_OPEN
  37. namespace internal {
  38. class AnyMetadata;
  39. } // namespace internal
  40. PROTOBUF_NAMESPACE_CLOSE
  41. // Internal implementation detail -- do not use these members.
  42. struct TableStruct_measure_5fmessage_2eproto {
  43. static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
  44. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  45. static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
  46. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  47. static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[10]
  48. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  49. static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
  50. static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
  51. static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
  52. };
  53. extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_measure_5fmessage_2eproto;
  54. namespace message {
  55. class Cloud_coordinate;
  56. class Cloud_coordinateDefaultTypeInternal;
  57. extern Cloud_coordinateDefaultTypeInternal _Cloud_coordinate_default_instance_;
  58. class Cloud_type;
  59. class Cloud_typeDefaultTypeInternal;
  60. extern Cloud_typeDefaultTypeInternal _Cloud_type_default_instance_;
  61. class Ground_detect_request_msg;
  62. class Ground_detect_request_msgDefaultTypeInternal;
  63. extern Ground_detect_request_msgDefaultTypeInternal _Ground_detect_request_msg_default_instance_;
  64. class Ground_detect_response_msg;
  65. class Ground_detect_response_msgDefaultTypeInternal;
  66. extern Ground_detect_response_msgDefaultTypeInternal _Ground_detect_response_msg_default_instance_;
  67. class Ground_status_msg;
  68. class Ground_status_msgDefaultTypeInternal;
  69. extern Ground_status_msgDefaultTypeInternal _Ground_status_msg_default_instance_;
  70. class Locate_sift_request_msg;
  71. class Locate_sift_request_msgDefaultTypeInternal;
  72. extern Locate_sift_request_msgDefaultTypeInternal _Locate_sift_request_msg_default_instance_;
  73. class Locate_sift_response_msg;
  74. class Locate_sift_response_msgDefaultTypeInternal;
  75. extern Locate_sift_response_msgDefaultTypeInternal _Locate_sift_response_msg_default_instance_;
  76. class Measure_request_msg;
  77. class Measure_request_msgDefaultTypeInternal;
  78. extern Measure_request_msgDefaultTypeInternal _Measure_request_msg_default_instance_;
  79. class Measure_response_msg;
  80. class Measure_response_msgDefaultTypeInternal;
  81. extern Measure_response_msgDefaultTypeInternal _Measure_response_msg_default_instance_;
  82. class Measure_status_msg;
  83. class Measure_status_msgDefaultTypeInternal;
  84. extern Measure_status_msgDefaultTypeInternal _Measure_status_msg_default_instance_;
  85. } // namespace message
  86. PROTOBUF_NAMESPACE_OPEN
  87. template<> ::message::Cloud_coordinate* Arena::CreateMaybeMessage<::message::Cloud_coordinate>(Arena*);
  88. template<> ::message::Cloud_type* Arena::CreateMaybeMessage<::message::Cloud_type>(Arena*);
  89. template<> ::message::Ground_detect_request_msg* Arena::CreateMaybeMessage<::message::Ground_detect_request_msg>(Arena*);
  90. template<> ::message::Ground_detect_response_msg* Arena::CreateMaybeMessage<::message::Ground_detect_response_msg>(Arena*);
  91. template<> ::message::Ground_status_msg* Arena::CreateMaybeMessage<::message::Ground_status_msg>(Arena*);
  92. template<> ::message::Locate_sift_request_msg* Arena::CreateMaybeMessage<::message::Locate_sift_request_msg>(Arena*);
  93. template<> ::message::Locate_sift_response_msg* Arena::CreateMaybeMessage<::message::Locate_sift_response_msg>(Arena*);
  94. template<> ::message::Measure_request_msg* Arena::CreateMaybeMessage<::message::Measure_request_msg>(Arena*);
  95. template<> ::message::Measure_response_msg* Arena::CreateMaybeMessage<::message::Measure_response_msg>(Arena*);
  96. template<> ::message::Measure_status_msg* Arena::CreateMaybeMessage<::message::Measure_status_msg>(Arena*);
  97. PROTOBUF_NAMESPACE_CLOSE
  98. namespace message {
  99. enum Laser_manager_status : int {
  100. LASER_MANAGER_UNKNOW = 0,
  101. LASER_MANAGER_READY = 1,
  102. LASER_MANAGER_ISSUED_TASK = 2,
  103. LASER_MANAGER_WAIT_REPLY = 3,
  104. LASER_MANAGER_FAULT = 4
  105. };
  106. bool Laser_manager_status_IsValid(int value);
  107. constexpr Laser_manager_status Laser_manager_status_MIN = LASER_MANAGER_UNKNOW;
  108. constexpr Laser_manager_status Laser_manager_status_MAX = LASER_MANAGER_FAULT;
  109. constexpr int Laser_manager_status_ARRAYSIZE = Laser_manager_status_MAX + 1;
  110. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Laser_manager_status_descriptor();
  111. template<typename T>
  112. inline const std::string& Laser_manager_status_Name(T enum_t_value) {
  113. static_assert(::std::is_same<T, Laser_manager_status>::value ||
  114. ::std::is_integral<T>::value,
  115. "Incorrect type passed to function Laser_manager_status_Name.");
  116. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  117. Laser_manager_status_descriptor(), enum_t_value);
  118. }
  119. inline bool Laser_manager_status_Parse(
  120. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Laser_manager_status* value) {
  121. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Laser_manager_status>(
  122. Laser_manager_status_descriptor(), name, value);
  123. }
  124. enum Laser_statu : int {
  125. LASER_DISCONNECT = 0,
  126. LASER_READY = 1,
  127. LASER_BUSY = 2,
  128. LASER_FAULT = 3
  129. };
  130. bool Laser_statu_IsValid(int value);
  131. constexpr Laser_statu Laser_statu_MIN = LASER_DISCONNECT;
  132. constexpr Laser_statu Laser_statu_MAX = LASER_FAULT;
  133. constexpr int Laser_statu_ARRAYSIZE = Laser_statu_MAX + 1;
  134. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Laser_statu_descriptor();
  135. template<typename T>
  136. inline const std::string& Laser_statu_Name(T enum_t_value) {
  137. static_assert(::std::is_same<T, Laser_statu>::value ||
  138. ::std::is_integral<T>::value,
  139. "Incorrect type passed to function Laser_statu_Name.");
  140. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  141. Laser_statu_descriptor(), enum_t_value);
  142. }
  143. inline bool Laser_statu_Parse(
  144. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Laser_statu* value) {
  145. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Laser_statu>(
  146. Laser_statu_descriptor(), name, value);
  147. }
  148. enum Locate_manager_status : int {
  149. LOCATE_MANAGER_UNKNOW = 0,
  150. LOCATE_MANAGER_READY = 1,
  151. LOCATE_MANAGER_SIFT = 2,
  152. LOCATE_MANAGER_CAR = 3,
  153. LOCATE_MANAGER_WHEEL = 4,
  154. LOCATE_MANAGER_FAULT = 5
  155. };
  156. bool Locate_manager_status_IsValid(int value);
  157. constexpr Locate_manager_status Locate_manager_status_MIN = LOCATE_MANAGER_UNKNOW;
  158. constexpr Locate_manager_status Locate_manager_status_MAX = LOCATE_MANAGER_FAULT;
  159. constexpr int Locate_manager_status_ARRAYSIZE = Locate_manager_status_MAX + 1;
  160. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Locate_manager_status_descriptor();
  161. template<typename T>
  162. inline const std::string& Locate_manager_status_Name(T enum_t_value) {
  163. static_assert(::std::is_same<T, Locate_manager_status>::value ||
  164. ::std::is_integral<T>::value,
  165. "Incorrect type passed to function Locate_manager_status_Name.");
  166. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  167. Locate_manager_status_descriptor(), enum_t_value);
  168. }
  169. inline bool Locate_manager_status_Parse(
  170. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Locate_manager_status* value) {
  171. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Locate_manager_status>(
  172. Locate_manager_status_descriptor(), name, value);
  173. }
  174. enum Wanji_manager_status : int {
  175. WANJI_MANAGER_UNKNOWN = 0,
  176. WANJI_MANAGER_READY = 1,
  177. WANJI_MANAGER_BUSY = 2,
  178. WANJI_MANAGER_ISSUED_SCAN = 3,
  179. WANJI_MANAGER_WAIT_SCAN = 4,
  180. WANJI_MANAGER_ISSUED_DETECT = 5,
  181. WANJI_MANAGER_WAIT_DETECT = 6,
  182. WANJI_MANAGER_FAULT = 10
  183. };
  184. bool Wanji_manager_status_IsValid(int value);
  185. constexpr Wanji_manager_status Wanji_manager_status_MIN = WANJI_MANAGER_UNKNOWN;
  186. constexpr Wanji_manager_status Wanji_manager_status_MAX = WANJI_MANAGER_FAULT;
  187. constexpr int Wanji_manager_status_ARRAYSIZE = Wanji_manager_status_MAX + 1;
  188. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Wanji_manager_status_descriptor();
  189. template<typename T>
  190. inline const std::string& Wanji_manager_status_Name(T enum_t_value) {
  191. static_assert(::std::is_same<T, Wanji_manager_status>::value ||
  192. ::std::is_integral<T>::value,
  193. "Incorrect type passed to function Wanji_manager_status_Name.");
  194. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  195. Wanji_manager_status_descriptor(), enum_t_value);
  196. }
  197. inline bool Wanji_manager_status_Parse(
  198. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Wanji_manager_status* value) {
  199. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Wanji_manager_status>(
  200. Wanji_manager_status_descriptor(), name, value);
  201. }
  202. enum Wanji_lidar_device_status : int {
  203. WANJI_LIDAR_DEVICE_UNKNOWN = 0,
  204. WANJI_LIDAR_DEVICE_READY = 1,
  205. WANJI_LIDAR_DEVICE_DISCONNECT = 2,
  206. WANJI_LIDAR_DEVICE_BUSY = 3,
  207. WANJI_LIDAR_DEVICE_FAULT = 10
  208. };
  209. bool Wanji_lidar_device_status_IsValid(int value);
  210. constexpr Wanji_lidar_device_status Wanji_lidar_device_status_MIN = WANJI_LIDAR_DEVICE_UNKNOWN;
  211. constexpr Wanji_lidar_device_status Wanji_lidar_device_status_MAX = WANJI_LIDAR_DEVICE_FAULT;
  212. constexpr int Wanji_lidar_device_status_ARRAYSIZE = Wanji_lidar_device_status_MAX + 1;
  213. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Wanji_lidar_device_status_descriptor();
  214. template<typename T>
  215. inline const std::string& Wanji_lidar_device_status_Name(T enum_t_value) {
  216. static_assert(::std::is_same<T, Wanji_lidar_device_status>::value ||
  217. ::std::is_integral<T>::value,
  218. "Incorrect type passed to function Wanji_lidar_device_status_Name.");
  219. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  220. Wanji_lidar_device_status_descriptor(), enum_t_value);
  221. }
  222. inline bool Wanji_lidar_device_status_Parse(
  223. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Wanji_lidar_device_status* value) {
  224. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Wanji_lidar_device_status>(
  225. Wanji_lidar_device_status_descriptor(), name, value);
  226. }
  227. enum Region_worker_status : int {
  228. REGION_WORKER_UNKNOWN = 0,
  229. REGION_WORKER_READY = 1,
  230. REGION_WORKER_BUSY = 2,
  231. REGION_WORKER_FAULT = 10
  232. };
  233. bool Region_worker_status_IsValid(int value);
  234. constexpr Region_worker_status Region_worker_status_MIN = REGION_WORKER_UNKNOWN;
  235. constexpr Region_worker_status Region_worker_status_MAX = REGION_WORKER_FAULT;
  236. constexpr int Region_worker_status_ARRAYSIZE = Region_worker_status_MAX + 1;
  237. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Region_worker_status_descriptor();
  238. template<typename T>
  239. inline const std::string& Region_worker_status_Name(T enum_t_value) {
  240. static_assert(::std::is_same<T, Region_worker_status>::value ||
  241. ::std::is_integral<T>::value,
  242. "Incorrect type passed to function Region_worker_status_Name.");
  243. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  244. Region_worker_status_descriptor(), enum_t_value);
  245. }
  246. inline bool Region_worker_status_Parse(
  247. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Region_worker_status* value) {
  248. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Region_worker_status>(
  249. Region_worker_status_descriptor(), name, value);
  250. }
  251. enum Ground_statu : int {
  252. Nothing = 0,
  253. Noise = 1,
  254. Car_correct = 2,
  255. Car_left_out = 3,
  256. Car_right_out = 4,
  257. Car_top_out = 5,
  258. Car_bottom_out = 6
  259. };
  260. bool Ground_statu_IsValid(int value);
  261. constexpr Ground_statu Ground_statu_MIN = Nothing;
  262. constexpr Ground_statu Ground_statu_MAX = Car_bottom_out;
  263. constexpr int Ground_statu_ARRAYSIZE = Ground_statu_MAX + 1;
  264. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Ground_statu_descriptor();
  265. template<typename T>
  266. inline const std::string& Ground_statu_Name(T enum_t_value) {
  267. static_assert(::std::is_same<T, Ground_statu>::value ||
  268. ::std::is_integral<T>::value,
  269. "Incorrect type passed to function Ground_statu_Name.");
  270. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  271. Ground_statu_descriptor(), enum_t_value);
  272. }
  273. inline bool Ground_statu_Parse(
  274. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Ground_statu* value) {
  275. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Ground_statu>(
  276. Ground_statu_descriptor(), name, value);
  277. }
  278. // ===================================================================
  279. class Measure_status_msg PROTOBUF_FINAL :
  280. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:message.Measure_status_msg) */ {
  281. public:
  282. inline Measure_status_msg() : Measure_status_msg(nullptr) {}
  283. virtual ~Measure_status_msg();
  284. Measure_status_msg(const Measure_status_msg& from);
  285. Measure_status_msg(Measure_status_msg&& from) noexcept
  286. : Measure_status_msg() {
  287. *this = ::std::move(from);
  288. }
  289. inline Measure_status_msg& operator=(const Measure_status_msg& from) {
  290. CopyFrom(from);
  291. return *this;
  292. }
  293. inline Measure_status_msg& operator=(Measure_status_msg&& from) noexcept {
  294. if (GetArena() == from.GetArena()) {
  295. if (this != &from) InternalSwap(&from);
  296. } else {
  297. CopyFrom(from);
  298. }
  299. return *this;
  300. }
  301. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  302. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  303. }
  304. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  305. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  306. }
  307. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  308. return GetDescriptor();
  309. }
  310. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  311. return GetMetadataStatic().descriptor;
  312. }
  313. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  314. return GetMetadataStatic().reflection;
  315. }
  316. static const Measure_status_msg& default_instance();
  317. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  318. static inline const Measure_status_msg* internal_default_instance() {
  319. return reinterpret_cast<const Measure_status_msg*>(
  320. &_Measure_status_msg_default_instance_);
  321. }
  322. static constexpr int kIndexInFileMessages =
  323. 0;
  324. friend void swap(Measure_status_msg& a, Measure_status_msg& b) {
  325. a.Swap(&b);
  326. }
  327. inline void Swap(Measure_status_msg* other) {
  328. if (other == this) return;
  329. if (GetArena() == other->GetArena()) {
  330. InternalSwap(other);
  331. } else {
  332. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  333. }
  334. }
  335. void UnsafeArenaSwap(Measure_status_msg* other) {
  336. if (other == this) return;
  337. GOOGLE_DCHECK(GetArena() == other->GetArena());
  338. InternalSwap(other);
  339. }
  340. // implements Message ----------------------------------------------
  341. inline Measure_status_msg* New() const final {
  342. return CreateMaybeMessage<Measure_status_msg>(nullptr);
  343. }
  344. Measure_status_msg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  345. return CreateMaybeMessage<Measure_status_msg>(arena);
  346. }
  347. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  348. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  349. void CopyFrom(const Measure_status_msg& from);
  350. void MergeFrom(const Measure_status_msg& from);
  351. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  352. bool IsInitialized() const final;
  353. size_t ByteSizeLong() const final;
  354. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  355. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  356. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  357. int GetCachedSize() const final { return _cached_size_.Get(); }
  358. private:
  359. inline void SharedCtor();
  360. inline void SharedDtor();
  361. void SetCachedSize(int size) const final;
  362. void InternalSwap(Measure_status_msg* other);
  363. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  364. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  365. return "message.Measure_status_msg";
  366. }
  367. protected:
  368. explicit Measure_status_msg(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  369. private:
  370. static void ArenaDtor(void* object);
  371. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  372. public:
  373. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  374. private:
  375. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  376. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_measure_5fmessage_2eproto);
  377. return ::descriptor_table_measure_5fmessage_2eproto.file_level_metadata[kIndexInFileMessages];
  378. }
  379. public:
  380. // nested types ----------------------------------------------------
  381. // accessors -------------------------------------------------------
  382. enum : int {
  383. kLaserStatuVectorFieldNumber = 4,
  384. kWanjiLidarDeviceStatusFieldNumber = 7,
  385. kRegionWorkerStatusFieldNumber = 8,
  386. kLocateInformationRealtimeFieldNumber = 9,
  387. kBaseInfoFieldNumber = 1,
  388. kIdStructFieldNumber = 2,
  389. kErrorManagerFieldNumber = 10,
  390. kLaserManagerStatusFieldNumber = 3,
  391. kLocateManagerStatusFieldNumber = 5,
  392. kWanjiManagerStatusFieldNumber = 6,
  393. };
  394. // repeated .message.Laser_statu laser_statu_vector = 4;
  395. int laser_statu_vector_size() const;
  396. private:
  397. int _internal_laser_statu_vector_size() const;
  398. public:
  399. void clear_laser_statu_vector();
  400. private:
  401. ::message::Laser_statu _internal_laser_statu_vector(int index) const;
  402. void _internal_add_laser_statu_vector(::message::Laser_statu value);
  403. ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_laser_statu_vector();
  404. public:
  405. ::message::Laser_statu laser_statu_vector(int index) const;
  406. void set_laser_statu_vector(int index, ::message::Laser_statu value);
  407. void add_laser_statu_vector(::message::Laser_statu value);
  408. const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>& laser_statu_vector() const;
  409. ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* mutable_laser_statu_vector();
  410. // repeated .message.Wanji_lidar_device_status wanji_lidar_device_status = 7;
  411. int wanji_lidar_device_status_size() const;
  412. private:
  413. int _internal_wanji_lidar_device_status_size() const;
  414. public:
  415. void clear_wanji_lidar_device_status();
  416. private:
  417. ::message::Wanji_lidar_device_status _internal_wanji_lidar_device_status(int index) const;
  418. void _internal_add_wanji_lidar_device_status(::message::Wanji_lidar_device_status value);
  419. ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_wanji_lidar_device_status();
  420. public:
  421. ::message::Wanji_lidar_device_status wanji_lidar_device_status(int index) const;
  422. void set_wanji_lidar_device_status(int index, ::message::Wanji_lidar_device_status value);
  423. void add_wanji_lidar_device_status(::message::Wanji_lidar_device_status value);
  424. const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>& wanji_lidar_device_status() const;
  425. ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* mutable_wanji_lidar_device_status();
  426. // repeated .message.Region_worker_status region_worker_status = 8;
  427. int region_worker_status_size() const;
  428. private:
  429. int _internal_region_worker_status_size() const;
  430. public:
  431. void clear_region_worker_status();
  432. private:
  433. ::message::Region_worker_status _internal_region_worker_status(int index) const;
  434. void _internal_add_region_worker_status(::message::Region_worker_status value);
  435. ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_region_worker_status();
  436. public:
  437. ::message::Region_worker_status region_worker_status(int index) const;
  438. void set_region_worker_status(int index, ::message::Region_worker_status value);
  439. void add_region_worker_status(::message::Region_worker_status value);
  440. const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>& region_worker_status() const;
  441. ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* mutable_region_worker_status();
  442. // repeated .message.Locate_information locate_information_realtime = 9;
  443. int locate_information_realtime_size() const;
  444. private:
  445. int _internal_locate_information_realtime_size() const;
  446. public:
  447. void clear_locate_information_realtime();
  448. ::message::Locate_information* mutable_locate_information_realtime(int index);
  449. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::message::Locate_information >*
  450. mutable_locate_information_realtime();
  451. private:
  452. const ::message::Locate_information& _internal_locate_information_realtime(int index) const;
  453. ::message::Locate_information* _internal_add_locate_information_realtime();
  454. public:
  455. const ::message::Locate_information& locate_information_realtime(int index) const;
  456. ::message::Locate_information* add_locate_information_realtime();
  457. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::message::Locate_information >&
  458. locate_information_realtime() const;
  459. // required .message.Base_info base_info = 1;
  460. bool has_base_info() const;
  461. private:
  462. bool _internal_has_base_info() const;
  463. public:
  464. void clear_base_info();
  465. const ::message::Base_info& base_info() const;
  466. ::message::Base_info* release_base_info();
  467. ::message::Base_info* mutable_base_info();
  468. void set_allocated_base_info(::message::Base_info* base_info);
  469. private:
  470. const ::message::Base_info& _internal_base_info() const;
  471. ::message::Base_info* _internal_mutable_base_info();
  472. public:
  473. void unsafe_arena_set_allocated_base_info(
  474. ::message::Base_info* base_info);
  475. ::message::Base_info* unsafe_arena_release_base_info();
  476. // required .message.Id_struct id_struct = 2;
  477. bool has_id_struct() const;
  478. private:
  479. bool _internal_has_id_struct() const;
  480. public:
  481. void clear_id_struct();
  482. const ::message::Id_struct& id_struct() const;
  483. ::message::Id_struct* release_id_struct();
  484. ::message::Id_struct* mutable_id_struct();
  485. void set_allocated_id_struct(::message::Id_struct* id_struct);
  486. private:
  487. const ::message::Id_struct& _internal_id_struct() const;
  488. ::message::Id_struct* _internal_mutable_id_struct();
  489. public:
  490. void unsafe_arena_set_allocated_id_struct(
  491. ::message::Id_struct* id_struct);
  492. ::message::Id_struct* unsafe_arena_release_id_struct();
  493. // required .message.Error_manager error_manager = 10;
  494. bool has_error_manager() const;
  495. private:
  496. bool _internal_has_error_manager() const;
  497. public:
  498. void clear_error_manager();
  499. const ::message::Error_manager& error_manager() const;
  500. ::message::Error_manager* release_error_manager();
  501. ::message::Error_manager* mutable_error_manager();
  502. void set_allocated_error_manager(::message::Error_manager* error_manager);
  503. private:
  504. const ::message::Error_manager& _internal_error_manager() const;
  505. ::message::Error_manager* _internal_mutable_error_manager();
  506. public:
  507. void unsafe_arena_set_allocated_error_manager(
  508. ::message::Error_manager* error_manager);
  509. ::message::Error_manager* unsafe_arena_release_error_manager();
  510. // required .message.Laser_manager_status laser_manager_status = 3;
  511. bool has_laser_manager_status() const;
  512. private:
  513. bool _internal_has_laser_manager_status() const;
  514. public:
  515. void clear_laser_manager_status();
  516. ::message::Laser_manager_status laser_manager_status() const;
  517. void set_laser_manager_status(::message::Laser_manager_status value);
  518. private:
  519. ::message::Laser_manager_status _internal_laser_manager_status() const;
  520. void _internal_set_laser_manager_status(::message::Laser_manager_status value);
  521. public:
  522. // required .message.Locate_manager_status locate_manager_status = 5;
  523. bool has_locate_manager_status() const;
  524. private:
  525. bool _internal_has_locate_manager_status() const;
  526. public:
  527. void clear_locate_manager_status();
  528. ::message::Locate_manager_status locate_manager_status() const;
  529. void set_locate_manager_status(::message::Locate_manager_status value);
  530. private:
  531. ::message::Locate_manager_status _internal_locate_manager_status() const;
  532. void _internal_set_locate_manager_status(::message::Locate_manager_status value);
  533. public:
  534. // required .message.Wanji_manager_status wanji_manager_status = 6;
  535. bool has_wanji_manager_status() const;
  536. private:
  537. bool _internal_has_wanji_manager_status() const;
  538. public:
  539. void clear_wanji_manager_status();
  540. ::message::Wanji_manager_status wanji_manager_status() const;
  541. void set_wanji_manager_status(::message::Wanji_manager_status value);
  542. private:
  543. ::message::Wanji_manager_status _internal_wanji_manager_status() const;
  544. void _internal_set_wanji_manager_status(::message::Wanji_manager_status value);
  545. public:
  546. // @@protoc_insertion_point(class_scope:message.Measure_status_msg)
  547. private:
  548. class _Internal;
  549. // helper for ByteSizeLong()
  550. size_t RequiredFieldsByteSizeFallback() const;
  551. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  552. typedef void InternalArenaConstructable_;
  553. typedef void DestructorSkippable_;
  554. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  555. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  556. ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> laser_statu_vector_;
  557. ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> wanji_lidar_device_status_;
  558. ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> region_worker_status_;
  559. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::message::Locate_information > locate_information_realtime_;
  560. ::message::Base_info* base_info_;
  561. ::message::Id_struct* id_struct_;
  562. ::message::Error_manager* error_manager_;
  563. int laser_manager_status_;
  564. int locate_manager_status_;
  565. int wanji_manager_status_;
  566. friend struct ::TableStruct_measure_5fmessage_2eproto;
  567. };
  568. // -------------------------------------------------------------------
  569. class Measure_request_msg PROTOBUF_FINAL :
  570. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:message.Measure_request_msg) */ {
  571. public:
  572. inline Measure_request_msg() : Measure_request_msg(nullptr) {}
  573. virtual ~Measure_request_msg();
  574. Measure_request_msg(const Measure_request_msg& from);
  575. Measure_request_msg(Measure_request_msg&& from) noexcept
  576. : Measure_request_msg() {
  577. *this = ::std::move(from);
  578. }
  579. inline Measure_request_msg& operator=(const Measure_request_msg& from) {
  580. CopyFrom(from);
  581. return *this;
  582. }
  583. inline Measure_request_msg& operator=(Measure_request_msg&& from) noexcept {
  584. if (GetArena() == from.GetArena()) {
  585. if (this != &from) InternalSwap(&from);
  586. } else {
  587. CopyFrom(from);
  588. }
  589. return *this;
  590. }
  591. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  592. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  593. }
  594. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  595. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  596. }
  597. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  598. return GetDescriptor();
  599. }
  600. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  601. return GetMetadataStatic().descriptor;
  602. }
  603. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  604. return GetMetadataStatic().reflection;
  605. }
  606. static const Measure_request_msg& default_instance();
  607. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  608. static inline const Measure_request_msg* internal_default_instance() {
  609. return reinterpret_cast<const Measure_request_msg*>(
  610. &_Measure_request_msg_default_instance_);
  611. }
  612. static constexpr int kIndexInFileMessages =
  613. 1;
  614. friend void swap(Measure_request_msg& a, Measure_request_msg& b) {
  615. a.Swap(&b);
  616. }
  617. inline void Swap(Measure_request_msg* other) {
  618. if (other == this) return;
  619. if (GetArena() == other->GetArena()) {
  620. InternalSwap(other);
  621. } else {
  622. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  623. }
  624. }
  625. void UnsafeArenaSwap(Measure_request_msg* other) {
  626. if (other == this) return;
  627. GOOGLE_DCHECK(GetArena() == other->GetArena());
  628. InternalSwap(other);
  629. }
  630. // implements Message ----------------------------------------------
  631. inline Measure_request_msg* New() const final {
  632. return CreateMaybeMessage<Measure_request_msg>(nullptr);
  633. }
  634. Measure_request_msg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  635. return CreateMaybeMessage<Measure_request_msg>(arena);
  636. }
  637. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  638. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  639. void CopyFrom(const Measure_request_msg& from);
  640. void MergeFrom(const Measure_request_msg& from);
  641. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  642. bool IsInitialized() const final;
  643. size_t ByteSizeLong() const final;
  644. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  645. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  646. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  647. int GetCachedSize() const final { return _cached_size_.Get(); }
  648. private:
  649. inline void SharedCtor();
  650. inline void SharedDtor();
  651. void SetCachedSize(int size) const final;
  652. void InternalSwap(Measure_request_msg* other);
  653. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  654. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  655. return "message.Measure_request_msg";
  656. }
  657. protected:
  658. explicit Measure_request_msg(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  659. private:
  660. static void ArenaDtor(void* object);
  661. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  662. public:
  663. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  664. private:
  665. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  666. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_measure_5fmessage_2eproto);
  667. return ::descriptor_table_measure_5fmessage_2eproto.file_level_metadata[kIndexInFileMessages];
  668. }
  669. public:
  670. // nested types ----------------------------------------------------
  671. // accessors -------------------------------------------------------
  672. enum : int {
  673. kCommandKeyFieldNumber = 2,
  674. kBaseInfoFieldNumber = 1,
  675. kIdStructFieldNumber = 3,
  676. };
  677. // required string command_key = 2;
  678. bool has_command_key() const;
  679. private:
  680. bool _internal_has_command_key() const;
  681. public:
  682. void clear_command_key();
  683. const std::string& command_key() const;
  684. void set_command_key(const std::string& value);
  685. void set_command_key(std::string&& value);
  686. void set_command_key(const char* value);
  687. void set_command_key(const char* value, size_t size);
  688. std::string* mutable_command_key();
  689. std::string* release_command_key();
  690. void set_allocated_command_key(std::string* command_key);
  691. private:
  692. const std::string& _internal_command_key() const;
  693. void _internal_set_command_key(const std::string& value);
  694. std::string* _internal_mutable_command_key();
  695. public:
  696. // required .message.Base_info base_info = 1;
  697. bool has_base_info() const;
  698. private:
  699. bool _internal_has_base_info() const;
  700. public:
  701. void clear_base_info();
  702. const ::message::Base_info& base_info() const;
  703. ::message::Base_info* release_base_info();
  704. ::message::Base_info* mutable_base_info();
  705. void set_allocated_base_info(::message::Base_info* base_info);
  706. private:
  707. const ::message::Base_info& _internal_base_info() const;
  708. ::message::Base_info* _internal_mutable_base_info();
  709. public:
  710. void unsafe_arena_set_allocated_base_info(
  711. ::message::Base_info* base_info);
  712. ::message::Base_info* unsafe_arena_release_base_info();
  713. // required .message.Id_struct id_struct = 3;
  714. bool has_id_struct() const;
  715. private:
  716. bool _internal_has_id_struct() const;
  717. public:
  718. void clear_id_struct();
  719. const ::message::Id_struct& id_struct() const;
  720. ::message::Id_struct* release_id_struct();
  721. ::message::Id_struct* mutable_id_struct();
  722. void set_allocated_id_struct(::message::Id_struct* id_struct);
  723. private:
  724. const ::message::Id_struct& _internal_id_struct() const;
  725. ::message::Id_struct* _internal_mutable_id_struct();
  726. public:
  727. void unsafe_arena_set_allocated_id_struct(
  728. ::message::Id_struct* id_struct);
  729. ::message::Id_struct* unsafe_arena_release_id_struct();
  730. // @@protoc_insertion_point(class_scope:message.Measure_request_msg)
  731. private:
  732. class _Internal;
  733. // helper for ByteSizeLong()
  734. size_t RequiredFieldsByteSizeFallback() const;
  735. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  736. typedef void InternalArenaConstructable_;
  737. typedef void DestructorSkippable_;
  738. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  739. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  740. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr command_key_;
  741. ::message::Base_info* base_info_;
  742. ::message::Id_struct* id_struct_;
  743. friend struct ::TableStruct_measure_5fmessage_2eproto;
  744. };
  745. // -------------------------------------------------------------------
  746. class Measure_response_msg PROTOBUF_FINAL :
  747. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:message.Measure_response_msg) */ {
  748. public:
  749. inline Measure_response_msg() : Measure_response_msg(nullptr) {}
  750. virtual ~Measure_response_msg();
  751. Measure_response_msg(const Measure_response_msg& from);
  752. Measure_response_msg(Measure_response_msg&& from) noexcept
  753. : Measure_response_msg() {
  754. *this = ::std::move(from);
  755. }
  756. inline Measure_response_msg& operator=(const Measure_response_msg& from) {
  757. CopyFrom(from);
  758. return *this;
  759. }
  760. inline Measure_response_msg& operator=(Measure_response_msg&& from) noexcept {
  761. if (GetArena() == from.GetArena()) {
  762. if (this != &from) InternalSwap(&from);
  763. } else {
  764. CopyFrom(from);
  765. }
  766. return *this;
  767. }
  768. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  769. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  770. }
  771. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  772. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  773. }
  774. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  775. return GetDescriptor();
  776. }
  777. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  778. return GetMetadataStatic().descriptor;
  779. }
  780. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  781. return GetMetadataStatic().reflection;
  782. }
  783. static const Measure_response_msg& default_instance();
  784. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  785. static inline const Measure_response_msg* internal_default_instance() {
  786. return reinterpret_cast<const Measure_response_msg*>(
  787. &_Measure_response_msg_default_instance_);
  788. }
  789. static constexpr int kIndexInFileMessages =
  790. 2;
  791. friend void swap(Measure_response_msg& a, Measure_response_msg& b) {
  792. a.Swap(&b);
  793. }
  794. inline void Swap(Measure_response_msg* other) {
  795. if (other == this) return;
  796. if (GetArena() == other->GetArena()) {
  797. InternalSwap(other);
  798. } else {
  799. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  800. }
  801. }
  802. void UnsafeArenaSwap(Measure_response_msg* other) {
  803. if (other == this) return;
  804. GOOGLE_DCHECK(GetArena() == other->GetArena());
  805. InternalSwap(other);
  806. }
  807. // implements Message ----------------------------------------------
  808. inline Measure_response_msg* New() const final {
  809. return CreateMaybeMessage<Measure_response_msg>(nullptr);
  810. }
  811. Measure_response_msg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  812. return CreateMaybeMessage<Measure_response_msg>(arena);
  813. }
  814. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  815. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  816. void CopyFrom(const Measure_response_msg& from);
  817. void MergeFrom(const Measure_response_msg& from);
  818. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  819. bool IsInitialized() const final;
  820. size_t ByteSizeLong() const final;
  821. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  822. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  823. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  824. int GetCachedSize() const final { return _cached_size_.Get(); }
  825. private:
  826. inline void SharedCtor();
  827. inline void SharedDtor();
  828. void SetCachedSize(int size) const final;
  829. void InternalSwap(Measure_response_msg* other);
  830. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  831. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  832. return "message.Measure_response_msg";
  833. }
  834. protected:
  835. explicit Measure_response_msg(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  836. private:
  837. static void ArenaDtor(void* object);
  838. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  839. public:
  840. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  841. private:
  842. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  843. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_measure_5fmessage_2eproto);
  844. return ::descriptor_table_measure_5fmessage_2eproto.file_level_metadata[kIndexInFileMessages];
  845. }
  846. public:
  847. // nested types ----------------------------------------------------
  848. // accessors -------------------------------------------------------
  849. enum : int {
  850. kCommandKeyFieldNumber = 2,
  851. kBaseInfoFieldNumber = 1,
  852. kIdStructFieldNumber = 3,
  853. kLocateInformationFieldNumber = 4,
  854. kErrorManagerFieldNumber = 5,
  855. };
  856. // required string command_key = 2;
  857. bool has_command_key() const;
  858. private:
  859. bool _internal_has_command_key() const;
  860. public:
  861. void clear_command_key();
  862. const std::string& command_key() const;
  863. void set_command_key(const std::string& value);
  864. void set_command_key(std::string&& value);
  865. void set_command_key(const char* value);
  866. void set_command_key(const char* value, size_t size);
  867. std::string* mutable_command_key();
  868. std::string* release_command_key();
  869. void set_allocated_command_key(std::string* command_key);
  870. private:
  871. const std::string& _internal_command_key() const;
  872. void _internal_set_command_key(const std::string& value);
  873. std::string* _internal_mutable_command_key();
  874. public:
  875. // required .message.Base_info base_info = 1;
  876. bool has_base_info() const;
  877. private:
  878. bool _internal_has_base_info() const;
  879. public:
  880. void clear_base_info();
  881. const ::message::Base_info& base_info() const;
  882. ::message::Base_info* release_base_info();
  883. ::message::Base_info* mutable_base_info();
  884. void set_allocated_base_info(::message::Base_info* base_info);
  885. private:
  886. const ::message::Base_info& _internal_base_info() const;
  887. ::message::Base_info* _internal_mutable_base_info();
  888. public:
  889. void unsafe_arena_set_allocated_base_info(
  890. ::message::Base_info* base_info);
  891. ::message::Base_info* unsafe_arena_release_base_info();
  892. // required .message.Id_struct id_struct = 3;
  893. bool has_id_struct() const;
  894. private:
  895. bool _internal_has_id_struct() const;
  896. public:
  897. void clear_id_struct();
  898. const ::message::Id_struct& id_struct() const;
  899. ::message::Id_struct* release_id_struct();
  900. ::message::Id_struct* mutable_id_struct();
  901. void set_allocated_id_struct(::message::Id_struct* id_struct);
  902. private:
  903. const ::message::Id_struct& _internal_id_struct() const;
  904. ::message::Id_struct* _internal_mutable_id_struct();
  905. public:
  906. void unsafe_arena_set_allocated_id_struct(
  907. ::message::Id_struct* id_struct);
  908. ::message::Id_struct* unsafe_arena_release_id_struct();
  909. // optional .message.Locate_information locate_information = 4;
  910. bool has_locate_information() const;
  911. private:
  912. bool _internal_has_locate_information() const;
  913. public:
  914. void clear_locate_information();
  915. const ::message::Locate_information& locate_information() const;
  916. ::message::Locate_information* release_locate_information();
  917. ::message::Locate_information* mutable_locate_information();
  918. void set_allocated_locate_information(::message::Locate_information* locate_information);
  919. private:
  920. const ::message::Locate_information& _internal_locate_information() const;
  921. ::message::Locate_information* _internal_mutable_locate_information();
  922. public:
  923. void unsafe_arena_set_allocated_locate_information(
  924. ::message::Locate_information* locate_information);
  925. ::message::Locate_information* unsafe_arena_release_locate_information();
  926. // required .message.Error_manager error_manager = 5;
  927. bool has_error_manager() const;
  928. private:
  929. bool _internal_has_error_manager() const;
  930. public:
  931. void clear_error_manager();
  932. const ::message::Error_manager& error_manager() const;
  933. ::message::Error_manager* release_error_manager();
  934. ::message::Error_manager* mutable_error_manager();
  935. void set_allocated_error_manager(::message::Error_manager* error_manager);
  936. private:
  937. const ::message::Error_manager& _internal_error_manager() const;
  938. ::message::Error_manager* _internal_mutable_error_manager();
  939. public:
  940. void unsafe_arena_set_allocated_error_manager(
  941. ::message::Error_manager* error_manager);
  942. ::message::Error_manager* unsafe_arena_release_error_manager();
  943. // @@protoc_insertion_point(class_scope:message.Measure_response_msg)
  944. private:
  945. class _Internal;
  946. // helper for ByteSizeLong()
  947. size_t RequiredFieldsByteSizeFallback() const;
  948. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  949. typedef void InternalArenaConstructable_;
  950. typedef void DestructorSkippable_;
  951. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  952. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  953. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr command_key_;
  954. ::message::Base_info* base_info_;
  955. ::message::Id_struct* id_struct_;
  956. ::message::Locate_information* locate_information_;
  957. ::message::Error_manager* error_manager_;
  958. friend struct ::TableStruct_measure_5fmessage_2eproto;
  959. };
  960. // -------------------------------------------------------------------
  961. class Ground_detect_request_msg PROTOBUF_FINAL :
  962. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:message.Ground_detect_request_msg) */ {
  963. public:
  964. inline Ground_detect_request_msg() : Ground_detect_request_msg(nullptr) {}
  965. virtual ~Ground_detect_request_msg();
  966. Ground_detect_request_msg(const Ground_detect_request_msg& from);
  967. Ground_detect_request_msg(Ground_detect_request_msg&& from) noexcept
  968. : Ground_detect_request_msg() {
  969. *this = ::std::move(from);
  970. }
  971. inline Ground_detect_request_msg& operator=(const Ground_detect_request_msg& from) {
  972. CopyFrom(from);
  973. return *this;
  974. }
  975. inline Ground_detect_request_msg& operator=(Ground_detect_request_msg&& from) noexcept {
  976. if (GetArena() == from.GetArena()) {
  977. if (this != &from) InternalSwap(&from);
  978. } else {
  979. CopyFrom(from);
  980. }
  981. return *this;
  982. }
  983. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  984. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  985. }
  986. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  987. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  988. }
  989. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  990. return GetDescriptor();
  991. }
  992. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  993. return GetMetadataStatic().descriptor;
  994. }
  995. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  996. return GetMetadataStatic().reflection;
  997. }
  998. static const Ground_detect_request_msg& default_instance();
  999. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  1000. static inline const Ground_detect_request_msg* internal_default_instance() {
  1001. return reinterpret_cast<const Ground_detect_request_msg*>(
  1002. &_Ground_detect_request_msg_default_instance_);
  1003. }
  1004. static constexpr int kIndexInFileMessages =
  1005. 3;
  1006. friend void swap(Ground_detect_request_msg& a, Ground_detect_request_msg& b) {
  1007. a.Swap(&b);
  1008. }
  1009. inline void Swap(Ground_detect_request_msg* other) {
  1010. if (other == this) return;
  1011. if (GetArena() == other->GetArena()) {
  1012. InternalSwap(other);
  1013. } else {
  1014. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1015. }
  1016. }
  1017. void UnsafeArenaSwap(Ground_detect_request_msg* other) {
  1018. if (other == this) return;
  1019. GOOGLE_DCHECK(GetArena() == other->GetArena());
  1020. InternalSwap(other);
  1021. }
  1022. // implements Message ----------------------------------------------
  1023. inline Ground_detect_request_msg* New() const final {
  1024. return CreateMaybeMessage<Ground_detect_request_msg>(nullptr);
  1025. }
  1026. Ground_detect_request_msg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  1027. return CreateMaybeMessage<Ground_detect_request_msg>(arena);
  1028. }
  1029. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  1030. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  1031. void CopyFrom(const Ground_detect_request_msg& from);
  1032. void MergeFrom(const Ground_detect_request_msg& from);
  1033. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1034. bool IsInitialized() const final;
  1035. size_t ByteSizeLong() const final;
  1036. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1037. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  1038. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1039. int GetCachedSize() const final { return _cached_size_.Get(); }
  1040. private:
  1041. inline void SharedCtor();
  1042. inline void SharedDtor();
  1043. void SetCachedSize(int size) const final;
  1044. void InternalSwap(Ground_detect_request_msg* other);
  1045. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1046. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1047. return "message.Ground_detect_request_msg";
  1048. }
  1049. protected:
  1050. explicit Ground_detect_request_msg(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1051. private:
  1052. static void ArenaDtor(void* object);
  1053. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1054. public:
  1055. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1056. private:
  1057. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  1058. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_measure_5fmessage_2eproto);
  1059. return ::descriptor_table_measure_5fmessage_2eproto.file_level_metadata[kIndexInFileMessages];
  1060. }
  1061. public:
  1062. // nested types ----------------------------------------------------
  1063. // accessors -------------------------------------------------------
  1064. enum : int {
  1065. kCommandKeyFieldNumber = 2,
  1066. kBaseInfoFieldNumber = 1,
  1067. kIdStructFieldNumber = 3,
  1068. };
  1069. // required string command_key = 2;
  1070. bool has_command_key() const;
  1071. private:
  1072. bool _internal_has_command_key() const;
  1073. public:
  1074. void clear_command_key();
  1075. const std::string& command_key() const;
  1076. void set_command_key(const std::string& value);
  1077. void set_command_key(std::string&& value);
  1078. void set_command_key(const char* value);
  1079. void set_command_key(const char* value, size_t size);
  1080. std::string* mutable_command_key();
  1081. std::string* release_command_key();
  1082. void set_allocated_command_key(std::string* command_key);
  1083. private:
  1084. const std::string& _internal_command_key() const;
  1085. void _internal_set_command_key(const std::string& value);
  1086. std::string* _internal_mutable_command_key();
  1087. public:
  1088. // required .message.Base_info base_info = 1;
  1089. bool has_base_info() const;
  1090. private:
  1091. bool _internal_has_base_info() const;
  1092. public:
  1093. void clear_base_info();
  1094. const ::message::Base_info& base_info() const;
  1095. ::message::Base_info* release_base_info();
  1096. ::message::Base_info* mutable_base_info();
  1097. void set_allocated_base_info(::message::Base_info* base_info);
  1098. private:
  1099. const ::message::Base_info& _internal_base_info() const;
  1100. ::message::Base_info* _internal_mutable_base_info();
  1101. public:
  1102. void unsafe_arena_set_allocated_base_info(
  1103. ::message::Base_info* base_info);
  1104. ::message::Base_info* unsafe_arena_release_base_info();
  1105. // required .message.Id_struct id_struct = 3;
  1106. bool has_id_struct() const;
  1107. private:
  1108. bool _internal_has_id_struct() const;
  1109. public:
  1110. void clear_id_struct();
  1111. const ::message::Id_struct& id_struct() const;
  1112. ::message::Id_struct* release_id_struct();
  1113. ::message::Id_struct* mutable_id_struct();
  1114. void set_allocated_id_struct(::message::Id_struct* id_struct);
  1115. private:
  1116. const ::message::Id_struct& _internal_id_struct() const;
  1117. ::message::Id_struct* _internal_mutable_id_struct();
  1118. public:
  1119. void unsafe_arena_set_allocated_id_struct(
  1120. ::message::Id_struct* id_struct);
  1121. ::message::Id_struct* unsafe_arena_release_id_struct();
  1122. // @@protoc_insertion_point(class_scope:message.Ground_detect_request_msg)
  1123. private:
  1124. class _Internal;
  1125. // helper for ByteSizeLong()
  1126. size_t RequiredFieldsByteSizeFallback() const;
  1127. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1128. typedef void InternalArenaConstructable_;
  1129. typedef void DestructorSkippable_;
  1130. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  1131. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1132. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr command_key_;
  1133. ::message::Base_info* base_info_;
  1134. ::message::Id_struct* id_struct_;
  1135. friend struct ::TableStruct_measure_5fmessage_2eproto;
  1136. };
  1137. // -------------------------------------------------------------------
  1138. class Ground_detect_response_msg PROTOBUF_FINAL :
  1139. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:message.Ground_detect_response_msg) */ {
  1140. public:
  1141. inline Ground_detect_response_msg() : Ground_detect_response_msg(nullptr) {}
  1142. virtual ~Ground_detect_response_msg();
  1143. Ground_detect_response_msg(const Ground_detect_response_msg& from);
  1144. Ground_detect_response_msg(Ground_detect_response_msg&& from) noexcept
  1145. : Ground_detect_response_msg() {
  1146. *this = ::std::move(from);
  1147. }
  1148. inline Ground_detect_response_msg& operator=(const Ground_detect_response_msg& from) {
  1149. CopyFrom(from);
  1150. return *this;
  1151. }
  1152. inline Ground_detect_response_msg& operator=(Ground_detect_response_msg&& from) noexcept {
  1153. if (GetArena() == from.GetArena()) {
  1154. if (this != &from) InternalSwap(&from);
  1155. } else {
  1156. CopyFrom(from);
  1157. }
  1158. return *this;
  1159. }
  1160. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  1161. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  1162. }
  1163. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  1164. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  1165. }
  1166. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1167. return GetDescriptor();
  1168. }
  1169. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1170. return GetMetadataStatic().descriptor;
  1171. }
  1172. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1173. return GetMetadataStatic().reflection;
  1174. }
  1175. static const Ground_detect_response_msg& default_instance();
  1176. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  1177. static inline const Ground_detect_response_msg* internal_default_instance() {
  1178. return reinterpret_cast<const Ground_detect_response_msg*>(
  1179. &_Ground_detect_response_msg_default_instance_);
  1180. }
  1181. static constexpr int kIndexInFileMessages =
  1182. 4;
  1183. friend void swap(Ground_detect_response_msg& a, Ground_detect_response_msg& b) {
  1184. a.Swap(&b);
  1185. }
  1186. inline void Swap(Ground_detect_response_msg* other) {
  1187. if (other == this) return;
  1188. if (GetArena() == other->GetArena()) {
  1189. InternalSwap(other);
  1190. } else {
  1191. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1192. }
  1193. }
  1194. void UnsafeArenaSwap(Ground_detect_response_msg* other) {
  1195. if (other == this) return;
  1196. GOOGLE_DCHECK(GetArena() == other->GetArena());
  1197. InternalSwap(other);
  1198. }
  1199. // implements Message ----------------------------------------------
  1200. inline Ground_detect_response_msg* New() const final {
  1201. return CreateMaybeMessage<Ground_detect_response_msg>(nullptr);
  1202. }
  1203. Ground_detect_response_msg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  1204. return CreateMaybeMessage<Ground_detect_response_msg>(arena);
  1205. }
  1206. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  1207. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  1208. void CopyFrom(const Ground_detect_response_msg& from);
  1209. void MergeFrom(const Ground_detect_response_msg& from);
  1210. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1211. bool IsInitialized() const final;
  1212. size_t ByteSizeLong() const final;
  1213. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1214. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  1215. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1216. int GetCachedSize() const final { return _cached_size_.Get(); }
  1217. private:
  1218. inline void SharedCtor();
  1219. inline void SharedDtor();
  1220. void SetCachedSize(int size) const final;
  1221. void InternalSwap(Ground_detect_response_msg* other);
  1222. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1223. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1224. return "message.Ground_detect_response_msg";
  1225. }
  1226. protected:
  1227. explicit Ground_detect_response_msg(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1228. private:
  1229. static void ArenaDtor(void* object);
  1230. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1231. public:
  1232. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1233. private:
  1234. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  1235. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_measure_5fmessage_2eproto);
  1236. return ::descriptor_table_measure_5fmessage_2eproto.file_level_metadata[kIndexInFileMessages];
  1237. }
  1238. public:
  1239. // nested types ----------------------------------------------------
  1240. // accessors -------------------------------------------------------
  1241. enum : int {
  1242. kCommandKeyFieldNumber = 2,
  1243. kBaseInfoFieldNumber = 1,
  1244. kIdStructFieldNumber = 3,
  1245. kLocateInformationFieldNumber = 4,
  1246. kErrorManagerFieldNumber = 5,
  1247. };
  1248. // required string command_key = 2;
  1249. bool has_command_key() const;
  1250. private:
  1251. bool _internal_has_command_key() const;
  1252. public:
  1253. void clear_command_key();
  1254. const std::string& command_key() const;
  1255. void set_command_key(const std::string& value);
  1256. void set_command_key(std::string&& value);
  1257. void set_command_key(const char* value);
  1258. void set_command_key(const char* value, size_t size);
  1259. std::string* mutable_command_key();
  1260. std::string* release_command_key();
  1261. void set_allocated_command_key(std::string* command_key);
  1262. private:
  1263. const std::string& _internal_command_key() const;
  1264. void _internal_set_command_key(const std::string& value);
  1265. std::string* _internal_mutable_command_key();
  1266. public:
  1267. // required .message.Base_info base_info = 1;
  1268. bool has_base_info() const;
  1269. private:
  1270. bool _internal_has_base_info() const;
  1271. public:
  1272. void clear_base_info();
  1273. const ::message::Base_info& base_info() const;
  1274. ::message::Base_info* release_base_info();
  1275. ::message::Base_info* mutable_base_info();
  1276. void set_allocated_base_info(::message::Base_info* base_info);
  1277. private:
  1278. const ::message::Base_info& _internal_base_info() const;
  1279. ::message::Base_info* _internal_mutable_base_info();
  1280. public:
  1281. void unsafe_arena_set_allocated_base_info(
  1282. ::message::Base_info* base_info);
  1283. ::message::Base_info* unsafe_arena_release_base_info();
  1284. // required .message.Id_struct id_struct = 3;
  1285. bool has_id_struct() const;
  1286. private:
  1287. bool _internal_has_id_struct() const;
  1288. public:
  1289. void clear_id_struct();
  1290. const ::message::Id_struct& id_struct() const;
  1291. ::message::Id_struct* release_id_struct();
  1292. ::message::Id_struct* mutable_id_struct();
  1293. void set_allocated_id_struct(::message::Id_struct* id_struct);
  1294. private:
  1295. const ::message::Id_struct& _internal_id_struct() const;
  1296. ::message::Id_struct* _internal_mutable_id_struct();
  1297. public:
  1298. void unsafe_arena_set_allocated_id_struct(
  1299. ::message::Id_struct* id_struct);
  1300. ::message::Id_struct* unsafe_arena_release_id_struct();
  1301. // optional .message.Locate_information locate_information = 4;
  1302. bool has_locate_information() const;
  1303. private:
  1304. bool _internal_has_locate_information() const;
  1305. public:
  1306. void clear_locate_information();
  1307. const ::message::Locate_information& locate_information() const;
  1308. ::message::Locate_information* release_locate_information();
  1309. ::message::Locate_information* mutable_locate_information();
  1310. void set_allocated_locate_information(::message::Locate_information* locate_information);
  1311. private:
  1312. const ::message::Locate_information& _internal_locate_information() const;
  1313. ::message::Locate_information* _internal_mutable_locate_information();
  1314. public:
  1315. void unsafe_arena_set_allocated_locate_information(
  1316. ::message::Locate_information* locate_information);
  1317. ::message::Locate_information* unsafe_arena_release_locate_information();
  1318. // required .message.Error_manager error_manager = 5;
  1319. bool has_error_manager() const;
  1320. private:
  1321. bool _internal_has_error_manager() const;
  1322. public:
  1323. void clear_error_manager();
  1324. const ::message::Error_manager& error_manager() const;
  1325. ::message::Error_manager* release_error_manager();
  1326. ::message::Error_manager* mutable_error_manager();
  1327. void set_allocated_error_manager(::message::Error_manager* error_manager);
  1328. private:
  1329. const ::message::Error_manager& _internal_error_manager() const;
  1330. ::message::Error_manager* _internal_mutable_error_manager();
  1331. public:
  1332. void unsafe_arena_set_allocated_error_manager(
  1333. ::message::Error_manager* error_manager);
  1334. ::message::Error_manager* unsafe_arena_release_error_manager();
  1335. // @@protoc_insertion_point(class_scope:message.Ground_detect_response_msg)
  1336. private:
  1337. class _Internal;
  1338. // helper for ByteSizeLong()
  1339. size_t RequiredFieldsByteSizeFallback() const;
  1340. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1341. typedef void InternalArenaConstructable_;
  1342. typedef void DestructorSkippable_;
  1343. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  1344. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1345. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr command_key_;
  1346. ::message::Base_info* base_info_;
  1347. ::message::Id_struct* id_struct_;
  1348. ::message::Locate_information* locate_information_;
  1349. ::message::Error_manager* error_manager_;
  1350. friend struct ::TableStruct_measure_5fmessage_2eproto;
  1351. };
  1352. // -------------------------------------------------------------------
  1353. class Ground_status_msg PROTOBUF_FINAL :
  1354. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:message.Ground_status_msg) */ {
  1355. public:
  1356. inline Ground_status_msg() : Ground_status_msg(nullptr) {}
  1357. virtual ~Ground_status_msg();
  1358. Ground_status_msg(const Ground_status_msg& from);
  1359. Ground_status_msg(Ground_status_msg&& from) noexcept
  1360. : Ground_status_msg() {
  1361. *this = ::std::move(from);
  1362. }
  1363. inline Ground_status_msg& operator=(const Ground_status_msg& from) {
  1364. CopyFrom(from);
  1365. return *this;
  1366. }
  1367. inline Ground_status_msg& operator=(Ground_status_msg&& from) noexcept {
  1368. if (GetArena() == from.GetArena()) {
  1369. if (this != &from) InternalSwap(&from);
  1370. } else {
  1371. CopyFrom(from);
  1372. }
  1373. return *this;
  1374. }
  1375. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  1376. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  1377. }
  1378. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  1379. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  1380. }
  1381. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1382. return GetDescriptor();
  1383. }
  1384. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1385. return GetMetadataStatic().descriptor;
  1386. }
  1387. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1388. return GetMetadataStatic().reflection;
  1389. }
  1390. static const Ground_status_msg& default_instance();
  1391. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  1392. static inline const Ground_status_msg* internal_default_instance() {
  1393. return reinterpret_cast<const Ground_status_msg*>(
  1394. &_Ground_status_msg_default_instance_);
  1395. }
  1396. static constexpr int kIndexInFileMessages =
  1397. 5;
  1398. friend void swap(Ground_status_msg& a, Ground_status_msg& b) {
  1399. a.Swap(&b);
  1400. }
  1401. inline void Swap(Ground_status_msg* other) {
  1402. if (other == this) return;
  1403. if (GetArena() == other->GetArena()) {
  1404. InternalSwap(other);
  1405. } else {
  1406. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1407. }
  1408. }
  1409. void UnsafeArenaSwap(Ground_status_msg* other) {
  1410. if (other == this) return;
  1411. GOOGLE_DCHECK(GetArena() == other->GetArena());
  1412. InternalSwap(other);
  1413. }
  1414. // implements Message ----------------------------------------------
  1415. inline Ground_status_msg* New() const final {
  1416. return CreateMaybeMessage<Ground_status_msg>(nullptr);
  1417. }
  1418. Ground_status_msg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  1419. return CreateMaybeMessage<Ground_status_msg>(arena);
  1420. }
  1421. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  1422. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  1423. void CopyFrom(const Ground_status_msg& from);
  1424. void MergeFrom(const Ground_status_msg& from);
  1425. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1426. bool IsInitialized() const final;
  1427. size_t ByteSizeLong() const final;
  1428. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1429. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  1430. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1431. int GetCachedSize() const final { return _cached_size_.Get(); }
  1432. private:
  1433. inline void SharedCtor();
  1434. inline void SharedDtor();
  1435. void SetCachedSize(int size) const final;
  1436. void InternalSwap(Ground_status_msg* other);
  1437. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1438. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1439. return "message.Ground_status_msg";
  1440. }
  1441. protected:
  1442. explicit Ground_status_msg(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1443. private:
  1444. static void ArenaDtor(void* object);
  1445. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1446. public:
  1447. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1448. private:
  1449. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  1450. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_measure_5fmessage_2eproto);
  1451. return ::descriptor_table_measure_5fmessage_2eproto.file_level_metadata[kIndexInFileMessages];
  1452. }
  1453. public:
  1454. // nested types ----------------------------------------------------
  1455. // accessors -------------------------------------------------------
  1456. enum : int {
  1457. kWanjiLidarDeviceStatusFieldNumber = 4,
  1458. kBaseInfoFieldNumber = 1,
  1459. kIdStructFieldNumber = 2,
  1460. kLocateInformationRealtimeFieldNumber = 6,
  1461. kErrorManagerFieldNumber = 8,
  1462. kWanjiManagerStatusFieldNumber = 3,
  1463. kRegionWorkerStatusFieldNumber = 5,
  1464. kGroundStatusFieldNumber = 7,
  1465. };
  1466. // repeated .message.Wanji_lidar_device_status wanji_lidar_device_status = 4;
  1467. int wanji_lidar_device_status_size() const;
  1468. private:
  1469. int _internal_wanji_lidar_device_status_size() const;
  1470. public:
  1471. void clear_wanji_lidar_device_status();
  1472. private:
  1473. ::message::Wanji_lidar_device_status _internal_wanji_lidar_device_status(int index) const;
  1474. void _internal_add_wanji_lidar_device_status(::message::Wanji_lidar_device_status value);
  1475. ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_wanji_lidar_device_status();
  1476. public:
  1477. ::message::Wanji_lidar_device_status wanji_lidar_device_status(int index) const;
  1478. void set_wanji_lidar_device_status(int index, ::message::Wanji_lidar_device_status value);
  1479. void add_wanji_lidar_device_status(::message::Wanji_lidar_device_status value);
  1480. const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>& wanji_lidar_device_status() const;
  1481. ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* mutable_wanji_lidar_device_status();
  1482. // required .message.Base_info base_info = 1;
  1483. bool has_base_info() const;
  1484. private:
  1485. bool _internal_has_base_info() const;
  1486. public:
  1487. void clear_base_info();
  1488. const ::message::Base_info& base_info() const;
  1489. ::message::Base_info* release_base_info();
  1490. ::message::Base_info* mutable_base_info();
  1491. void set_allocated_base_info(::message::Base_info* base_info);
  1492. private:
  1493. const ::message::Base_info& _internal_base_info() const;
  1494. ::message::Base_info* _internal_mutable_base_info();
  1495. public:
  1496. void unsafe_arena_set_allocated_base_info(
  1497. ::message::Base_info* base_info);
  1498. ::message::Base_info* unsafe_arena_release_base_info();
  1499. // required .message.Id_struct id_struct = 2;
  1500. bool has_id_struct() const;
  1501. private:
  1502. bool _internal_has_id_struct() const;
  1503. public:
  1504. void clear_id_struct();
  1505. const ::message::Id_struct& id_struct() const;
  1506. ::message::Id_struct* release_id_struct();
  1507. ::message::Id_struct* mutable_id_struct();
  1508. void set_allocated_id_struct(::message::Id_struct* id_struct);
  1509. private:
  1510. const ::message::Id_struct& _internal_id_struct() const;
  1511. ::message::Id_struct* _internal_mutable_id_struct();
  1512. public:
  1513. void unsafe_arena_set_allocated_id_struct(
  1514. ::message::Id_struct* id_struct);
  1515. ::message::Id_struct* unsafe_arena_release_id_struct();
  1516. // required .message.Locate_information locate_information_realtime = 6;
  1517. bool has_locate_information_realtime() const;
  1518. private:
  1519. bool _internal_has_locate_information_realtime() const;
  1520. public:
  1521. void clear_locate_information_realtime();
  1522. const ::message::Locate_information& locate_information_realtime() const;
  1523. ::message::Locate_information* release_locate_information_realtime();
  1524. ::message::Locate_information* mutable_locate_information_realtime();
  1525. void set_allocated_locate_information_realtime(::message::Locate_information* locate_information_realtime);
  1526. private:
  1527. const ::message::Locate_information& _internal_locate_information_realtime() const;
  1528. ::message::Locate_information* _internal_mutable_locate_information_realtime();
  1529. public:
  1530. void unsafe_arena_set_allocated_locate_information_realtime(
  1531. ::message::Locate_information* locate_information_realtime);
  1532. ::message::Locate_information* unsafe_arena_release_locate_information_realtime();
  1533. // required .message.Error_manager error_manager = 8;
  1534. bool has_error_manager() const;
  1535. private:
  1536. bool _internal_has_error_manager() const;
  1537. public:
  1538. void clear_error_manager();
  1539. const ::message::Error_manager& error_manager() const;
  1540. ::message::Error_manager* release_error_manager();
  1541. ::message::Error_manager* mutable_error_manager();
  1542. void set_allocated_error_manager(::message::Error_manager* error_manager);
  1543. private:
  1544. const ::message::Error_manager& _internal_error_manager() const;
  1545. ::message::Error_manager* _internal_mutable_error_manager();
  1546. public:
  1547. void unsafe_arena_set_allocated_error_manager(
  1548. ::message::Error_manager* error_manager);
  1549. ::message::Error_manager* unsafe_arena_release_error_manager();
  1550. // required .message.Wanji_manager_status wanji_manager_status = 3;
  1551. bool has_wanji_manager_status() const;
  1552. private:
  1553. bool _internal_has_wanji_manager_status() const;
  1554. public:
  1555. void clear_wanji_manager_status();
  1556. ::message::Wanji_manager_status wanji_manager_status() const;
  1557. void set_wanji_manager_status(::message::Wanji_manager_status value);
  1558. private:
  1559. ::message::Wanji_manager_status _internal_wanji_manager_status() const;
  1560. void _internal_set_wanji_manager_status(::message::Wanji_manager_status value);
  1561. public:
  1562. // required .message.Region_worker_status region_worker_status = 5;
  1563. bool has_region_worker_status() const;
  1564. private:
  1565. bool _internal_has_region_worker_status() const;
  1566. public:
  1567. void clear_region_worker_status();
  1568. ::message::Region_worker_status region_worker_status() const;
  1569. void set_region_worker_status(::message::Region_worker_status value);
  1570. private:
  1571. ::message::Region_worker_status _internal_region_worker_status() const;
  1572. void _internal_set_region_worker_status(::message::Region_worker_status value);
  1573. public:
  1574. // required .message.Ground_statu ground_status = 7;
  1575. bool has_ground_status() const;
  1576. private:
  1577. bool _internal_has_ground_status() const;
  1578. public:
  1579. void clear_ground_status();
  1580. ::message::Ground_statu ground_status() const;
  1581. void set_ground_status(::message::Ground_statu value);
  1582. private:
  1583. ::message::Ground_statu _internal_ground_status() const;
  1584. void _internal_set_ground_status(::message::Ground_statu value);
  1585. public:
  1586. // @@protoc_insertion_point(class_scope:message.Ground_status_msg)
  1587. private:
  1588. class _Internal;
  1589. // helper for ByteSizeLong()
  1590. size_t RequiredFieldsByteSizeFallback() const;
  1591. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1592. typedef void InternalArenaConstructable_;
  1593. typedef void DestructorSkippable_;
  1594. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  1595. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1596. ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> wanji_lidar_device_status_;
  1597. ::message::Base_info* base_info_;
  1598. ::message::Id_struct* id_struct_;
  1599. ::message::Locate_information* locate_information_realtime_;
  1600. ::message::Error_manager* error_manager_;
  1601. int wanji_manager_status_;
  1602. int region_worker_status_;
  1603. int ground_status_;
  1604. friend struct ::TableStruct_measure_5fmessage_2eproto;
  1605. };
  1606. // -------------------------------------------------------------------
  1607. class Cloud_coordinate PROTOBUF_FINAL :
  1608. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:message.Cloud_coordinate) */ {
  1609. public:
  1610. inline Cloud_coordinate() : Cloud_coordinate(nullptr) {}
  1611. virtual ~Cloud_coordinate();
  1612. Cloud_coordinate(const Cloud_coordinate& from);
  1613. Cloud_coordinate(Cloud_coordinate&& from) noexcept
  1614. : Cloud_coordinate() {
  1615. *this = ::std::move(from);
  1616. }
  1617. inline Cloud_coordinate& operator=(const Cloud_coordinate& from) {
  1618. CopyFrom(from);
  1619. return *this;
  1620. }
  1621. inline Cloud_coordinate& operator=(Cloud_coordinate&& from) noexcept {
  1622. if (GetArena() == from.GetArena()) {
  1623. if (this != &from) InternalSwap(&from);
  1624. } else {
  1625. CopyFrom(from);
  1626. }
  1627. return *this;
  1628. }
  1629. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  1630. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  1631. }
  1632. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  1633. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  1634. }
  1635. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1636. return GetDescriptor();
  1637. }
  1638. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1639. return GetMetadataStatic().descriptor;
  1640. }
  1641. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1642. return GetMetadataStatic().reflection;
  1643. }
  1644. static const Cloud_coordinate& default_instance();
  1645. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  1646. static inline const Cloud_coordinate* internal_default_instance() {
  1647. return reinterpret_cast<const Cloud_coordinate*>(
  1648. &_Cloud_coordinate_default_instance_);
  1649. }
  1650. static constexpr int kIndexInFileMessages =
  1651. 6;
  1652. friend void swap(Cloud_coordinate& a, Cloud_coordinate& b) {
  1653. a.Swap(&b);
  1654. }
  1655. inline void Swap(Cloud_coordinate* other) {
  1656. if (other == this) return;
  1657. if (GetArena() == other->GetArena()) {
  1658. InternalSwap(other);
  1659. } else {
  1660. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1661. }
  1662. }
  1663. void UnsafeArenaSwap(Cloud_coordinate* other) {
  1664. if (other == this) return;
  1665. GOOGLE_DCHECK(GetArena() == other->GetArena());
  1666. InternalSwap(other);
  1667. }
  1668. // implements Message ----------------------------------------------
  1669. inline Cloud_coordinate* New() const final {
  1670. return CreateMaybeMessage<Cloud_coordinate>(nullptr);
  1671. }
  1672. Cloud_coordinate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  1673. return CreateMaybeMessage<Cloud_coordinate>(arena);
  1674. }
  1675. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  1676. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  1677. void CopyFrom(const Cloud_coordinate& from);
  1678. void MergeFrom(const Cloud_coordinate& from);
  1679. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1680. bool IsInitialized() const final;
  1681. size_t ByteSizeLong() const final;
  1682. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1683. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  1684. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1685. int GetCachedSize() const final { return _cached_size_.Get(); }
  1686. private:
  1687. inline void SharedCtor();
  1688. inline void SharedDtor();
  1689. void SetCachedSize(int size) const final;
  1690. void InternalSwap(Cloud_coordinate* other);
  1691. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1692. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1693. return "message.Cloud_coordinate";
  1694. }
  1695. protected:
  1696. explicit Cloud_coordinate(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1697. private:
  1698. static void ArenaDtor(void* object);
  1699. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1700. public:
  1701. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1702. private:
  1703. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  1704. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_measure_5fmessage_2eproto);
  1705. return ::descriptor_table_measure_5fmessage_2eproto.file_level_metadata[kIndexInFileMessages];
  1706. }
  1707. public:
  1708. // nested types ----------------------------------------------------
  1709. // accessors -------------------------------------------------------
  1710. enum : int {
  1711. kXFieldNumber = 1,
  1712. kYFieldNumber = 2,
  1713. kZFieldNumber = 3,
  1714. };
  1715. // required float x = 1;
  1716. bool has_x() const;
  1717. private:
  1718. bool _internal_has_x() const;
  1719. public:
  1720. void clear_x();
  1721. float x() const;
  1722. void set_x(float value);
  1723. private:
  1724. float _internal_x() const;
  1725. void _internal_set_x(float value);
  1726. public:
  1727. // required float y = 2;
  1728. bool has_y() const;
  1729. private:
  1730. bool _internal_has_y() const;
  1731. public:
  1732. void clear_y();
  1733. float y() const;
  1734. void set_y(float value);
  1735. private:
  1736. float _internal_y() const;
  1737. void _internal_set_y(float value);
  1738. public:
  1739. // required float z = 3;
  1740. bool has_z() const;
  1741. private:
  1742. bool _internal_has_z() const;
  1743. public:
  1744. void clear_z();
  1745. float z() const;
  1746. void set_z(float value);
  1747. private:
  1748. float _internal_z() const;
  1749. void _internal_set_z(float value);
  1750. public:
  1751. // @@protoc_insertion_point(class_scope:message.Cloud_coordinate)
  1752. private:
  1753. class _Internal;
  1754. // helper for ByteSizeLong()
  1755. size_t RequiredFieldsByteSizeFallback() const;
  1756. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1757. typedef void InternalArenaConstructable_;
  1758. typedef void DestructorSkippable_;
  1759. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  1760. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1761. float x_;
  1762. float y_;
  1763. float z_;
  1764. friend struct ::TableStruct_measure_5fmessage_2eproto;
  1765. };
  1766. // -------------------------------------------------------------------
  1767. class Cloud_type PROTOBUF_FINAL :
  1768. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:message.Cloud_type) */ {
  1769. public:
  1770. inline Cloud_type() : Cloud_type(nullptr) {}
  1771. virtual ~Cloud_type();
  1772. Cloud_type(const Cloud_type& from);
  1773. Cloud_type(Cloud_type&& from) noexcept
  1774. : Cloud_type() {
  1775. *this = ::std::move(from);
  1776. }
  1777. inline Cloud_type& operator=(const Cloud_type& from) {
  1778. CopyFrom(from);
  1779. return *this;
  1780. }
  1781. inline Cloud_type& operator=(Cloud_type&& from) noexcept {
  1782. if (GetArena() == from.GetArena()) {
  1783. if (this != &from) InternalSwap(&from);
  1784. } else {
  1785. CopyFrom(from);
  1786. }
  1787. return *this;
  1788. }
  1789. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  1790. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  1791. }
  1792. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  1793. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  1794. }
  1795. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1796. return GetDescriptor();
  1797. }
  1798. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1799. return GetMetadataStatic().descriptor;
  1800. }
  1801. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1802. return GetMetadataStatic().reflection;
  1803. }
  1804. static const Cloud_type& default_instance();
  1805. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  1806. static inline const Cloud_type* internal_default_instance() {
  1807. return reinterpret_cast<const Cloud_type*>(
  1808. &_Cloud_type_default_instance_);
  1809. }
  1810. static constexpr int kIndexInFileMessages =
  1811. 7;
  1812. friend void swap(Cloud_type& a, Cloud_type& b) {
  1813. a.Swap(&b);
  1814. }
  1815. inline void Swap(Cloud_type* other) {
  1816. if (other == this) return;
  1817. if (GetArena() == other->GetArena()) {
  1818. InternalSwap(other);
  1819. } else {
  1820. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1821. }
  1822. }
  1823. void UnsafeArenaSwap(Cloud_type* other) {
  1824. if (other == this) return;
  1825. GOOGLE_DCHECK(GetArena() == other->GetArena());
  1826. InternalSwap(other);
  1827. }
  1828. // implements Message ----------------------------------------------
  1829. inline Cloud_type* New() const final {
  1830. return CreateMaybeMessage<Cloud_type>(nullptr);
  1831. }
  1832. Cloud_type* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  1833. return CreateMaybeMessage<Cloud_type>(arena);
  1834. }
  1835. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  1836. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  1837. void CopyFrom(const Cloud_type& from);
  1838. void MergeFrom(const Cloud_type& from);
  1839. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1840. bool IsInitialized() const final;
  1841. size_t ByteSizeLong() const final;
  1842. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1843. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  1844. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1845. int GetCachedSize() const final { return _cached_size_.Get(); }
  1846. private:
  1847. inline void SharedCtor();
  1848. inline void SharedDtor();
  1849. void SetCachedSize(int size) const final;
  1850. void InternalSwap(Cloud_type* other);
  1851. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1852. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1853. return "message.Cloud_type";
  1854. }
  1855. protected:
  1856. explicit Cloud_type(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1857. private:
  1858. static void ArenaDtor(void* object);
  1859. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1860. public:
  1861. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1862. private:
  1863. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  1864. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_measure_5fmessage_2eproto);
  1865. return ::descriptor_table_measure_5fmessage_2eproto.file_level_metadata[kIndexInFileMessages];
  1866. }
  1867. public:
  1868. // nested types ----------------------------------------------------
  1869. // accessors -------------------------------------------------------
  1870. enum : int {
  1871. kTypeFieldNumber = 1,
  1872. };
  1873. // required int32 type = 1;
  1874. bool has_type() const;
  1875. private:
  1876. bool _internal_has_type() const;
  1877. public:
  1878. void clear_type();
  1879. ::PROTOBUF_NAMESPACE_ID::int32 type() const;
  1880. void set_type(::PROTOBUF_NAMESPACE_ID::int32 value);
  1881. private:
  1882. ::PROTOBUF_NAMESPACE_ID::int32 _internal_type() const;
  1883. void _internal_set_type(::PROTOBUF_NAMESPACE_ID::int32 value);
  1884. public:
  1885. // @@protoc_insertion_point(class_scope:message.Cloud_type)
  1886. private:
  1887. class _Internal;
  1888. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1889. typedef void InternalArenaConstructable_;
  1890. typedef void DestructorSkippable_;
  1891. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  1892. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1893. ::PROTOBUF_NAMESPACE_ID::int32 type_;
  1894. friend struct ::TableStruct_measure_5fmessage_2eproto;
  1895. };
  1896. // -------------------------------------------------------------------
  1897. class Locate_sift_request_msg PROTOBUF_FINAL :
  1898. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:message.Locate_sift_request_msg) */ {
  1899. public:
  1900. inline Locate_sift_request_msg() : Locate_sift_request_msg(nullptr) {}
  1901. virtual ~Locate_sift_request_msg();
  1902. Locate_sift_request_msg(const Locate_sift_request_msg& from);
  1903. Locate_sift_request_msg(Locate_sift_request_msg&& from) noexcept
  1904. : Locate_sift_request_msg() {
  1905. *this = ::std::move(from);
  1906. }
  1907. inline Locate_sift_request_msg& operator=(const Locate_sift_request_msg& from) {
  1908. CopyFrom(from);
  1909. return *this;
  1910. }
  1911. inline Locate_sift_request_msg& operator=(Locate_sift_request_msg&& from) noexcept {
  1912. if (GetArena() == from.GetArena()) {
  1913. if (this != &from) InternalSwap(&from);
  1914. } else {
  1915. CopyFrom(from);
  1916. }
  1917. return *this;
  1918. }
  1919. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  1920. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  1921. }
  1922. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  1923. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  1924. }
  1925. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1926. return GetDescriptor();
  1927. }
  1928. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1929. return GetMetadataStatic().descriptor;
  1930. }
  1931. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1932. return GetMetadataStatic().reflection;
  1933. }
  1934. static const Locate_sift_request_msg& default_instance();
  1935. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  1936. static inline const Locate_sift_request_msg* internal_default_instance() {
  1937. return reinterpret_cast<const Locate_sift_request_msg*>(
  1938. &_Locate_sift_request_msg_default_instance_);
  1939. }
  1940. static constexpr int kIndexInFileMessages =
  1941. 8;
  1942. friend void swap(Locate_sift_request_msg& a, Locate_sift_request_msg& b) {
  1943. a.Swap(&b);
  1944. }
  1945. inline void Swap(Locate_sift_request_msg* other) {
  1946. if (other == this) return;
  1947. if (GetArena() == other->GetArena()) {
  1948. InternalSwap(other);
  1949. } else {
  1950. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1951. }
  1952. }
  1953. void UnsafeArenaSwap(Locate_sift_request_msg* other) {
  1954. if (other == this) return;
  1955. GOOGLE_DCHECK(GetArena() == other->GetArena());
  1956. InternalSwap(other);
  1957. }
  1958. // implements Message ----------------------------------------------
  1959. inline Locate_sift_request_msg* New() const final {
  1960. return CreateMaybeMessage<Locate_sift_request_msg>(nullptr);
  1961. }
  1962. Locate_sift_request_msg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  1963. return CreateMaybeMessage<Locate_sift_request_msg>(arena);
  1964. }
  1965. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  1966. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  1967. void CopyFrom(const Locate_sift_request_msg& from);
  1968. void MergeFrom(const Locate_sift_request_msg& from);
  1969. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1970. bool IsInitialized() const final;
  1971. size_t ByteSizeLong() const final;
  1972. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1973. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  1974. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1975. int GetCachedSize() const final { return _cached_size_.Get(); }
  1976. private:
  1977. inline void SharedCtor();
  1978. inline void SharedDtor();
  1979. void SetCachedSize(int size) const final;
  1980. void InternalSwap(Locate_sift_request_msg* other);
  1981. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1982. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1983. return "message.Locate_sift_request_msg";
  1984. }
  1985. protected:
  1986. explicit Locate_sift_request_msg(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1987. private:
  1988. static void ArenaDtor(void* object);
  1989. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1990. public:
  1991. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1992. private:
  1993. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  1994. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_measure_5fmessage_2eproto);
  1995. return ::descriptor_table_measure_5fmessage_2eproto.file_level_metadata[kIndexInFileMessages];
  1996. }
  1997. public:
  1998. // nested types ----------------------------------------------------
  1999. // accessors -------------------------------------------------------
  2000. enum : int {
  2001. kCloudCoordinatesFieldNumber = 5,
  2002. kCommandKeyFieldNumber = 2,
  2003. kBaseInfoFieldNumber = 1,
  2004. kIdStructFieldNumber = 3,
  2005. kLidarIdFieldNumber = 4,
  2006. };
  2007. // repeated .message.Cloud_coordinate cloud_coordinates = 5;
  2008. int cloud_coordinates_size() const;
  2009. private:
  2010. int _internal_cloud_coordinates_size() const;
  2011. public:
  2012. void clear_cloud_coordinates();
  2013. ::message::Cloud_coordinate* mutable_cloud_coordinates(int index);
  2014. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::message::Cloud_coordinate >*
  2015. mutable_cloud_coordinates();
  2016. private:
  2017. const ::message::Cloud_coordinate& _internal_cloud_coordinates(int index) const;
  2018. ::message::Cloud_coordinate* _internal_add_cloud_coordinates();
  2019. public:
  2020. const ::message::Cloud_coordinate& cloud_coordinates(int index) const;
  2021. ::message::Cloud_coordinate* add_cloud_coordinates();
  2022. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::message::Cloud_coordinate >&
  2023. cloud_coordinates() const;
  2024. // required string command_key = 2;
  2025. bool has_command_key() const;
  2026. private:
  2027. bool _internal_has_command_key() const;
  2028. public:
  2029. void clear_command_key();
  2030. const std::string& command_key() const;
  2031. void set_command_key(const std::string& value);
  2032. void set_command_key(std::string&& value);
  2033. void set_command_key(const char* value);
  2034. void set_command_key(const char* value, size_t size);
  2035. std::string* mutable_command_key();
  2036. std::string* release_command_key();
  2037. void set_allocated_command_key(std::string* command_key);
  2038. private:
  2039. const std::string& _internal_command_key() const;
  2040. void _internal_set_command_key(const std::string& value);
  2041. std::string* _internal_mutable_command_key();
  2042. public:
  2043. // required .message.Base_info base_info = 1;
  2044. bool has_base_info() const;
  2045. private:
  2046. bool _internal_has_base_info() const;
  2047. public:
  2048. void clear_base_info();
  2049. const ::message::Base_info& base_info() const;
  2050. ::message::Base_info* release_base_info();
  2051. ::message::Base_info* mutable_base_info();
  2052. void set_allocated_base_info(::message::Base_info* base_info);
  2053. private:
  2054. const ::message::Base_info& _internal_base_info() const;
  2055. ::message::Base_info* _internal_mutable_base_info();
  2056. public:
  2057. void unsafe_arena_set_allocated_base_info(
  2058. ::message::Base_info* base_info);
  2059. ::message::Base_info* unsafe_arena_release_base_info();
  2060. // required .message.Id_struct id_struct = 3;
  2061. bool has_id_struct() const;
  2062. private:
  2063. bool _internal_has_id_struct() const;
  2064. public:
  2065. void clear_id_struct();
  2066. const ::message::Id_struct& id_struct() const;
  2067. ::message::Id_struct* release_id_struct();
  2068. ::message::Id_struct* mutable_id_struct();
  2069. void set_allocated_id_struct(::message::Id_struct* id_struct);
  2070. private:
  2071. const ::message::Id_struct& _internal_id_struct() const;
  2072. ::message::Id_struct* _internal_mutable_id_struct();
  2073. public:
  2074. void unsafe_arena_set_allocated_id_struct(
  2075. ::message::Id_struct* id_struct);
  2076. ::message::Id_struct* unsafe_arena_release_id_struct();
  2077. // required int32 lidar_id = 4;
  2078. bool has_lidar_id() const;
  2079. private:
  2080. bool _internal_has_lidar_id() const;
  2081. public:
  2082. void clear_lidar_id();
  2083. ::PROTOBUF_NAMESPACE_ID::int32 lidar_id() const;
  2084. void set_lidar_id(::PROTOBUF_NAMESPACE_ID::int32 value);
  2085. private:
  2086. ::PROTOBUF_NAMESPACE_ID::int32 _internal_lidar_id() const;
  2087. void _internal_set_lidar_id(::PROTOBUF_NAMESPACE_ID::int32 value);
  2088. public:
  2089. // @@protoc_insertion_point(class_scope:message.Locate_sift_request_msg)
  2090. private:
  2091. class _Internal;
  2092. // helper for ByteSizeLong()
  2093. size_t RequiredFieldsByteSizeFallback() const;
  2094. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2095. typedef void InternalArenaConstructable_;
  2096. typedef void DestructorSkippable_;
  2097. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  2098. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2099. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::message::Cloud_coordinate > cloud_coordinates_;
  2100. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr command_key_;
  2101. ::message::Base_info* base_info_;
  2102. ::message::Id_struct* id_struct_;
  2103. ::PROTOBUF_NAMESPACE_ID::int32 lidar_id_;
  2104. friend struct ::TableStruct_measure_5fmessage_2eproto;
  2105. };
  2106. // -------------------------------------------------------------------
  2107. class Locate_sift_response_msg PROTOBUF_FINAL :
  2108. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:message.Locate_sift_response_msg) */ {
  2109. public:
  2110. inline Locate_sift_response_msg() : Locate_sift_response_msg(nullptr) {}
  2111. virtual ~Locate_sift_response_msg();
  2112. Locate_sift_response_msg(const Locate_sift_response_msg& from);
  2113. Locate_sift_response_msg(Locate_sift_response_msg&& from) noexcept
  2114. : Locate_sift_response_msg() {
  2115. *this = ::std::move(from);
  2116. }
  2117. inline Locate_sift_response_msg& operator=(const Locate_sift_response_msg& from) {
  2118. CopyFrom(from);
  2119. return *this;
  2120. }
  2121. inline Locate_sift_response_msg& operator=(Locate_sift_response_msg&& from) noexcept {
  2122. if (GetArena() == from.GetArena()) {
  2123. if (this != &from) InternalSwap(&from);
  2124. } else {
  2125. CopyFrom(from);
  2126. }
  2127. return *this;
  2128. }
  2129. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  2130. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  2131. }
  2132. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  2133. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  2134. }
  2135. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2136. return GetDescriptor();
  2137. }
  2138. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2139. return GetMetadataStatic().descriptor;
  2140. }
  2141. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2142. return GetMetadataStatic().reflection;
  2143. }
  2144. static const Locate_sift_response_msg& default_instance();
  2145. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  2146. static inline const Locate_sift_response_msg* internal_default_instance() {
  2147. return reinterpret_cast<const Locate_sift_response_msg*>(
  2148. &_Locate_sift_response_msg_default_instance_);
  2149. }
  2150. static constexpr int kIndexInFileMessages =
  2151. 9;
  2152. friend void swap(Locate_sift_response_msg& a, Locate_sift_response_msg& b) {
  2153. a.Swap(&b);
  2154. }
  2155. inline void Swap(Locate_sift_response_msg* other) {
  2156. if (other == this) return;
  2157. if (GetArena() == other->GetArena()) {
  2158. InternalSwap(other);
  2159. } else {
  2160. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2161. }
  2162. }
  2163. void UnsafeArenaSwap(Locate_sift_response_msg* other) {
  2164. if (other == this) return;
  2165. GOOGLE_DCHECK(GetArena() == other->GetArena());
  2166. InternalSwap(other);
  2167. }
  2168. // implements Message ----------------------------------------------
  2169. inline Locate_sift_response_msg* New() const final {
  2170. return CreateMaybeMessage<Locate_sift_response_msg>(nullptr);
  2171. }
  2172. Locate_sift_response_msg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  2173. return CreateMaybeMessage<Locate_sift_response_msg>(arena);
  2174. }
  2175. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  2176. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  2177. void CopyFrom(const Locate_sift_response_msg& from);
  2178. void MergeFrom(const Locate_sift_response_msg& from);
  2179. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2180. bool IsInitialized() const final;
  2181. size_t ByteSizeLong() const final;
  2182. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2183. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  2184. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2185. int GetCachedSize() const final { return _cached_size_.Get(); }
  2186. private:
  2187. inline void SharedCtor();
  2188. inline void SharedDtor();
  2189. void SetCachedSize(int size) const final;
  2190. void InternalSwap(Locate_sift_response_msg* other);
  2191. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2192. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2193. return "message.Locate_sift_response_msg";
  2194. }
  2195. protected:
  2196. explicit Locate_sift_response_msg(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2197. private:
  2198. static void ArenaDtor(void* object);
  2199. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2200. public:
  2201. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2202. private:
  2203. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  2204. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_measure_5fmessage_2eproto);
  2205. return ::descriptor_table_measure_5fmessage_2eproto.file_level_metadata[kIndexInFileMessages];
  2206. }
  2207. public:
  2208. // nested types ----------------------------------------------------
  2209. // accessors -------------------------------------------------------
  2210. enum : int {
  2211. kCloudTypeFieldNumber = 5,
  2212. kCommandKeyFieldNumber = 2,
  2213. kBaseInfoFieldNumber = 1,
  2214. kIdStructFieldNumber = 3,
  2215. kErrorManagerFieldNumber = 6,
  2216. kLidarIdFieldNumber = 4,
  2217. };
  2218. // repeated .message.Cloud_type cloud_type = 5;
  2219. int cloud_type_size() const;
  2220. private:
  2221. int _internal_cloud_type_size() const;
  2222. public:
  2223. void clear_cloud_type();
  2224. ::message::Cloud_type* mutable_cloud_type(int index);
  2225. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::message::Cloud_type >*
  2226. mutable_cloud_type();
  2227. private:
  2228. const ::message::Cloud_type& _internal_cloud_type(int index) const;
  2229. ::message::Cloud_type* _internal_add_cloud_type();
  2230. public:
  2231. const ::message::Cloud_type& cloud_type(int index) const;
  2232. ::message::Cloud_type* add_cloud_type();
  2233. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::message::Cloud_type >&
  2234. cloud_type() const;
  2235. // required string command_key = 2;
  2236. bool has_command_key() const;
  2237. private:
  2238. bool _internal_has_command_key() const;
  2239. public:
  2240. void clear_command_key();
  2241. const std::string& command_key() const;
  2242. void set_command_key(const std::string& value);
  2243. void set_command_key(std::string&& value);
  2244. void set_command_key(const char* value);
  2245. void set_command_key(const char* value, size_t size);
  2246. std::string* mutable_command_key();
  2247. std::string* release_command_key();
  2248. void set_allocated_command_key(std::string* command_key);
  2249. private:
  2250. const std::string& _internal_command_key() const;
  2251. void _internal_set_command_key(const std::string& value);
  2252. std::string* _internal_mutable_command_key();
  2253. public:
  2254. // required .message.Base_info base_info = 1;
  2255. bool has_base_info() const;
  2256. private:
  2257. bool _internal_has_base_info() const;
  2258. public:
  2259. void clear_base_info();
  2260. const ::message::Base_info& base_info() const;
  2261. ::message::Base_info* release_base_info();
  2262. ::message::Base_info* mutable_base_info();
  2263. void set_allocated_base_info(::message::Base_info* base_info);
  2264. private:
  2265. const ::message::Base_info& _internal_base_info() const;
  2266. ::message::Base_info* _internal_mutable_base_info();
  2267. public:
  2268. void unsafe_arena_set_allocated_base_info(
  2269. ::message::Base_info* base_info);
  2270. ::message::Base_info* unsafe_arena_release_base_info();
  2271. // required .message.Id_struct id_struct = 3;
  2272. bool has_id_struct() const;
  2273. private:
  2274. bool _internal_has_id_struct() const;
  2275. public:
  2276. void clear_id_struct();
  2277. const ::message::Id_struct& id_struct() const;
  2278. ::message::Id_struct* release_id_struct();
  2279. ::message::Id_struct* mutable_id_struct();
  2280. void set_allocated_id_struct(::message::Id_struct* id_struct);
  2281. private:
  2282. const ::message::Id_struct& _internal_id_struct() const;
  2283. ::message::Id_struct* _internal_mutable_id_struct();
  2284. public:
  2285. void unsafe_arena_set_allocated_id_struct(
  2286. ::message::Id_struct* id_struct);
  2287. ::message::Id_struct* unsafe_arena_release_id_struct();
  2288. // required .message.Error_manager error_manager = 6;
  2289. bool has_error_manager() const;
  2290. private:
  2291. bool _internal_has_error_manager() const;
  2292. public:
  2293. void clear_error_manager();
  2294. const ::message::Error_manager& error_manager() const;
  2295. ::message::Error_manager* release_error_manager();
  2296. ::message::Error_manager* mutable_error_manager();
  2297. void set_allocated_error_manager(::message::Error_manager* error_manager);
  2298. private:
  2299. const ::message::Error_manager& _internal_error_manager() const;
  2300. ::message::Error_manager* _internal_mutable_error_manager();
  2301. public:
  2302. void unsafe_arena_set_allocated_error_manager(
  2303. ::message::Error_manager* error_manager);
  2304. ::message::Error_manager* unsafe_arena_release_error_manager();
  2305. // required int32 lidar_id = 4;
  2306. bool has_lidar_id() const;
  2307. private:
  2308. bool _internal_has_lidar_id() const;
  2309. public:
  2310. void clear_lidar_id();
  2311. ::PROTOBUF_NAMESPACE_ID::int32 lidar_id() const;
  2312. void set_lidar_id(::PROTOBUF_NAMESPACE_ID::int32 value);
  2313. private:
  2314. ::PROTOBUF_NAMESPACE_ID::int32 _internal_lidar_id() const;
  2315. void _internal_set_lidar_id(::PROTOBUF_NAMESPACE_ID::int32 value);
  2316. public:
  2317. // @@protoc_insertion_point(class_scope:message.Locate_sift_response_msg)
  2318. private:
  2319. class _Internal;
  2320. // helper for ByteSizeLong()
  2321. size_t RequiredFieldsByteSizeFallback() const;
  2322. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2323. typedef void InternalArenaConstructable_;
  2324. typedef void DestructorSkippable_;
  2325. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  2326. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2327. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::message::Cloud_type > cloud_type_;
  2328. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr command_key_;
  2329. ::message::Base_info* base_info_;
  2330. ::message::Id_struct* id_struct_;
  2331. ::message::Error_manager* error_manager_;
  2332. ::PROTOBUF_NAMESPACE_ID::int32 lidar_id_;
  2333. friend struct ::TableStruct_measure_5fmessage_2eproto;
  2334. };
  2335. // ===================================================================
  2336. // ===================================================================
  2337. #ifdef __GNUC__
  2338. #pragma GCC diagnostic push
  2339. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  2340. #endif // __GNUC__
  2341. // Measure_status_msg
  2342. // required .message.Base_info base_info = 1;
  2343. inline bool Measure_status_msg::_internal_has_base_info() const {
  2344. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  2345. PROTOBUF_ASSUME(!value || base_info_ != nullptr);
  2346. return value;
  2347. }
  2348. inline bool Measure_status_msg::has_base_info() const {
  2349. return _internal_has_base_info();
  2350. }
  2351. inline const ::message::Base_info& Measure_status_msg::_internal_base_info() const {
  2352. const ::message::Base_info* p = base_info_;
  2353. return p != nullptr ? *p : *reinterpret_cast<const ::message::Base_info*>(
  2354. &::message::_Base_info_default_instance_);
  2355. }
  2356. inline const ::message::Base_info& Measure_status_msg::base_info() const {
  2357. // @@protoc_insertion_point(field_get:message.Measure_status_msg.base_info)
  2358. return _internal_base_info();
  2359. }
  2360. inline void Measure_status_msg::unsafe_arena_set_allocated_base_info(
  2361. ::message::Base_info* base_info) {
  2362. if (GetArena() == nullptr) {
  2363. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info_);
  2364. }
  2365. base_info_ = base_info;
  2366. if (base_info) {
  2367. _has_bits_[0] |= 0x00000001u;
  2368. } else {
  2369. _has_bits_[0] &= ~0x00000001u;
  2370. }
  2371. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:message.Measure_status_msg.base_info)
  2372. }
  2373. inline ::message::Base_info* Measure_status_msg::release_base_info() {
  2374. _has_bits_[0] &= ~0x00000001u;
  2375. ::message::Base_info* temp = base_info_;
  2376. base_info_ = nullptr;
  2377. if (GetArena() != nullptr) {
  2378. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  2379. }
  2380. return temp;
  2381. }
  2382. inline ::message::Base_info* Measure_status_msg::unsafe_arena_release_base_info() {
  2383. // @@protoc_insertion_point(field_release:message.Measure_status_msg.base_info)
  2384. _has_bits_[0] &= ~0x00000001u;
  2385. ::message::Base_info* temp = base_info_;
  2386. base_info_ = nullptr;
  2387. return temp;
  2388. }
  2389. inline ::message::Base_info* Measure_status_msg::_internal_mutable_base_info() {
  2390. _has_bits_[0] |= 0x00000001u;
  2391. if (base_info_ == nullptr) {
  2392. auto* p = CreateMaybeMessage<::message::Base_info>(GetArena());
  2393. base_info_ = p;
  2394. }
  2395. return base_info_;
  2396. }
  2397. inline ::message::Base_info* Measure_status_msg::mutable_base_info() {
  2398. // @@protoc_insertion_point(field_mutable:message.Measure_status_msg.base_info)
  2399. return _internal_mutable_base_info();
  2400. }
  2401. inline void Measure_status_msg::set_allocated_base_info(::message::Base_info* base_info) {
  2402. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  2403. if (message_arena == nullptr) {
  2404. delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info_);
  2405. }
  2406. if (base_info) {
  2407. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  2408. reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info)->GetArena();
  2409. if (message_arena != submessage_arena) {
  2410. base_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  2411. message_arena, base_info, submessage_arena);
  2412. }
  2413. _has_bits_[0] |= 0x00000001u;
  2414. } else {
  2415. _has_bits_[0] &= ~0x00000001u;
  2416. }
  2417. base_info_ = base_info;
  2418. // @@protoc_insertion_point(field_set_allocated:message.Measure_status_msg.base_info)
  2419. }
  2420. // required .message.Id_struct id_struct = 2;
  2421. inline bool Measure_status_msg::_internal_has_id_struct() const {
  2422. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  2423. PROTOBUF_ASSUME(!value || id_struct_ != nullptr);
  2424. return value;
  2425. }
  2426. inline bool Measure_status_msg::has_id_struct() const {
  2427. return _internal_has_id_struct();
  2428. }
  2429. inline const ::message::Id_struct& Measure_status_msg::_internal_id_struct() const {
  2430. const ::message::Id_struct* p = id_struct_;
  2431. return p != nullptr ? *p : *reinterpret_cast<const ::message::Id_struct*>(
  2432. &::message::_Id_struct_default_instance_);
  2433. }
  2434. inline const ::message::Id_struct& Measure_status_msg::id_struct() const {
  2435. // @@protoc_insertion_point(field_get:message.Measure_status_msg.id_struct)
  2436. return _internal_id_struct();
  2437. }
  2438. inline void Measure_status_msg::unsafe_arena_set_allocated_id_struct(
  2439. ::message::Id_struct* id_struct) {
  2440. if (GetArena() == nullptr) {
  2441. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(id_struct_);
  2442. }
  2443. id_struct_ = id_struct;
  2444. if (id_struct) {
  2445. _has_bits_[0] |= 0x00000002u;
  2446. } else {
  2447. _has_bits_[0] &= ~0x00000002u;
  2448. }
  2449. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:message.Measure_status_msg.id_struct)
  2450. }
  2451. inline ::message::Id_struct* Measure_status_msg::release_id_struct() {
  2452. _has_bits_[0] &= ~0x00000002u;
  2453. ::message::Id_struct* temp = id_struct_;
  2454. id_struct_ = nullptr;
  2455. if (GetArena() != nullptr) {
  2456. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  2457. }
  2458. return temp;
  2459. }
  2460. inline ::message::Id_struct* Measure_status_msg::unsafe_arena_release_id_struct() {
  2461. // @@protoc_insertion_point(field_release:message.Measure_status_msg.id_struct)
  2462. _has_bits_[0] &= ~0x00000002u;
  2463. ::message::Id_struct* temp = id_struct_;
  2464. id_struct_ = nullptr;
  2465. return temp;
  2466. }
  2467. inline ::message::Id_struct* Measure_status_msg::_internal_mutable_id_struct() {
  2468. _has_bits_[0] |= 0x00000002u;
  2469. if (id_struct_ == nullptr) {
  2470. auto* p = CreateMaybeMessage<::message::Id_struct>(GetArena());
  2471. id_struct_ = p;
  2472. }
  2473. return id_struct_;
  2474. }
  2475. inline ::message::Id_struct* Measure_status_msg::mutable_id_struct() {
  2476. // @@protoc_insertion_point(field_mutable:message.Measure_status_msg.id_struct)
  2477. return _internal_mutable_id_struct();
  2478. }
  2479. inline void Measure_status_msg::set_allocated_id_struct(::message::Id_struct* id_struct) {
  2480. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  2481. if (message_arena == nullptr) {
  2482. delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(id_struct_);
  2483. }
  2484. if (id_struct) {
  2485. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  2486. reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(id_struct)->GetArena();
  2487. if (message_arena != submessage_arena) {
  2488. id_struct = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  2489. message_arena, id_struct, submessage_arena);
  2490. }
  2491. _has_bits_[0] |= 0x00000002u;
  2492. } else {
  2493. _has_bits_[0] &= ~0x00000002u;
  2494. }
  2495. id_struct_ = id_struct;
  2496. // @@protoc_insertion_point(field_set_allocated:message.Measure_status_msg.id_struct)
  2497. }
  2498. // required .message.Laser_manager_status laser_manager_status = 3;
  2499. inline bool Measure_status_msg::_internal_has_laser_manager_status() const {
  2500. bool value = (_has_bits_[0] & 0x00000008u) != 0;
  2501. return value;
  2502. }
  2503. inline bool Measure_status_msg::has_laser_manager_status() const {
  2504. return _internal_has_laser_manager_status();
  2505. }
  2506. inline void Measure_status_msg::clear_laser_manager_status() {
  2507. laser_manager_status_ = 0;
  2508. _has_bits_[0] &= ~0x00000008u;
  2509. }
  2510. inline ::message::Laser_manager_status Measure_status_msg::_internal_laser_manager_status() const {
  2511. return static_cast< ::message::Laser_manager_status >(laser_manager_status_);
  2512. }
  2513. inline ::message::Laser_manager_status Measure_status_msg::laser_manager_status() const {
  2514. // @@protoc_insertion_point(field_get:message.Measure_status_msg.laser_manager_status)
  2515. return _internal_laser_manager_status();
  2516. }
  2517. inline void Measure_status_msg::_internal_set_laser_manager_status(::message::Laser_manager_status value) {
  2518. assert(::message::Laser_manager_status_IsValid(value));
  2519. _has_bits_[0] |= 0x00000008u;
  2520. laser_manager_status_ = value;
  2521. }
  2522. inline void Measure_status_msg::set_laser_manager_status(::message::Laser_manager_status value) {
  2523. _internal_set_laser_manager_status(value);
  2524. // @@protoc_insertion_point(field_set:message.Measure_status_msg.laser_manager_status)
  2525. }
  2526. // repeated .message.Laser_statu laser_statu_vector = 4;
  2527. inline int Measure_status_msg::_internal_laser_statu_vector_size() const {
  2528. return laser_statu_vector_.size();
  2529. }
  2530. inline int Measure_status_msg::laser_statu_vector_size() const {
  2531. return _internal_laser_statu_vector_size();
  2532. }
  2533. inline void Measure_status_msg::clear_laser_statu_vector() {
  2534. laser_statu_vector_.Clear();
  2535. }
  2536. inline ::message::Laser_statu Measure_status_msg::_internal_laser_statu_vector(int index) const {
  2537. return static_cast< ::message::Laser_statu >(laser_statu_vector_.Get(index));
  2538. }
  2539. inline ::message::Laser_statu Measure_status_msg::laser_statu_vector(int index) const {
  2540. // @@protoc_insertion_point(field_get:message.Measure_status_msg.laser_statu_vector)
  2541. return _internal_laser_statu_vector(index);
  2542. }
  2543. inline void Measure_status_msg::set_laser_statu_vector(int index, ::message::Laser_statu value) {
  2544. assert(::message::Laser_statu_IsValid(value));
  2545. laser_statu_vector_.Set(index, value);
  2546. // @@protoc_insertion_point(field_set:message.Measure_status_msg.laser_statu_vector)
  2547. }
  2548. inline void Measure_status_msg::_internal_add_laser_statu_vector(::message::Laser_statu value) {
  2549. assert(::message::Laser_statu_IsValid(value));
  2550. laser_statu_vector_.Add(value);
  2551. }
  2552. inline void Measure_status_msg::add_laser_statu_vector(::message::Laser_statu value) {
  2553. // @@protoc_insertion_point(field_add:message.Measure_status_msg.laser_statu_vector)
  2554. _internal_add_laser_statu_vector(value);
  2555. }
  2556. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
  2557. Measure_status_msg::laser_statu_vector() const {
  2558. // @@protoc_insertion_point(field_list:message.Measure_status_msg.laser_statu_vector)
  2559. return laser_statu_vector_;
  2560. }
  2561. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
  2562. Measure_status_msg::_internal_mutable_laser_statu_vector() {
  2563. return &laser_statu_vector_;
  2564. }
  2565. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
  2566. Measure_status_msg::mutable_laser_statu_vector() {
  2567. // @@protoc_insertion_point(field_mutable_list:message.Measure_status_msg.laser_statu_vector)
  2568. return _internal_mutable_laser_statu_vector();
  2569. }
  2570. // required .message.Locate_manager_status locate_manager_status = 5;
  2571. inline bool Measure_status_msg::_internal_has_locate_manager_status() const {
  2572. bool value = (_has_bits_[0] & 0x00000010u) != 0;
  2573. return value;
  2574. }
  2575. inline bool Measure_status_msg::has_locate_manager_status() const {
  2576. return _internal_has_locate_manager_status();
  2577. }
  2578. inline void Measure_status_msg::clear_locate_manager_status() {
  2579. locate_manager_status_ = 0;
  2580. _has_bits_[0] &= ~0x00000010u;
  2581. }
  2582. inline ::message::Locate_manager_status Measure_status_msg::_internal_locate_manager_status() const {
  2583. return static_cast< ::message::Locate_manager_status >(locate_manager_status_);
  2584. }
  2585. inline ::message::Locate_manager_status Measure_status_msg::locate_manager_status() const {
  2586. // @@protoc_insertion_point(field_get:message.Measure_status_msg.locate_manager_status)
  2587. return _internal_locate_manager_status();
  2588. }
  2589. inline void Measure_status_msg::_internal_set_locate_manager_status(::message::Locate_manager_status value) {
  2590. assert(::message::Locate_manager_status_IsValid(value));
  2591. _has_bits_[0] |= 0x00000010u;
  2592. locate_manager_status_ = value;
  2593. }
  2594. inline void Measure_status_msg::set_locate_manager_status(::message::Locate_manager_status value) {
  2595. _internal_set_locate_manager_status(value);
  2596. // @@protoc_insertion_point(field_set:message.Measure_status_msg.locate_manager_status)
  2597. }
  2598. // required .message.Wanji_manager_status wanji_manager_status = 6;
  2599. inline bool Measure_status_msg::_internal_has_wanji_manager_status() const {
  2600. bool value = (_has_bits_[0] & 0x00000020u) != 0;
  2601. return value;
  2602. }
  2603. inline bool Measure_status_msg::has_wanji_manager_status() const {
  2604. return _internal_has_wanji_manager_status();
  2605. }
  2606. inline void Measure_status_msg::clear_wanji_manager_status() {
  2607. wanji_manager_status_ = 0;
  2608. _has_bits_[0] &= ~0x00000020u;
  2609. }
  2610. inline ::message::Wanji_manager_status Measure_status_msg::_internal_wanji_manager_status() const {
  2611. return static_cast< ::message::Wanji_manager_status >(wanji_manager_status_);
  2612. }
  2613. inline ::message::Wanji_manager_status Measure_status_msg::wanji_manager_status() const {
  2614. // @@protoc_insertion_point(field_get:message.Measure_status_msg.wanji_manager_status)
  2615. return _internal_wanji_manager_status();
  2616. }
  2617. inline void Measure_status_msg::_internal_set_wanji_manager_status(::message::Wanji_manager_status value) {
  2618. assert(::message::Wanji_manager_status_IsValid(value));
  2619. _has_bits_[0] |= 0x00000020u;
  2620. wanji_manager_status_ = value;
  2621. }
  2622. inline void Measure_status_msg::set_wanji_manager_status(::message::Wanji_manager_status value) {
  2623. _internal_set_wanji_manager_status(value);
  2624. // @@protoc_insertion_point(field_set:message.Measure_status_msg.wanji_manager_status)
  2625. }
  2626. // repeated .message.Wanji_lidar_device_status wanji_lidar_device_status = 7;
  2627. inline int Measure_status_msg::_internal_wanji_lidar_device_status_size() const {
  2628. return wanji_lidar_device_status_.size();
  2629. }
  2630. inline int Measure_status_msg::wanji_lidar_device_status_size() const {
  2631. return _internal_wanji_lidar_device_status_size();
  2632. }
  2633. inline void Measure_status_msg::clear_wanji_lidar_device_status() {
  2634. wanji_lidar_device_status_.Clear();
  2635. }
  2636. inline ::message::Wanji_lidar_device_status Measure_status_msg::_internal_wanji_lidar_device_status(int index) const {
  2637. return static_cast< ::message::Wanji_lidar_device_status >(wanji_lidar_device_status_.Get(index));
  2638. }
  2639. inline ::message::Wanji_lidar_device_status Measure_status_msg::wanji_lidar_device_status(int index) const {
  2640. // @@protoc_insertion_point(field_get:message.Measure_status_msg.wanji_lidar_device_status)
  2641. return _internal_wanji_lidar_device_status(index);
  2642. }
  2643. inline void Measure_status_msg::set_wanji_lidar_device_status(int index, ::message::Wanji_lidar_device_status value) {
  2644. assert(::message::Wanji_lidar_device_status_IsValid(value));
  2645. wanji_lidar_device_status_.Set(index, value);
  2646. // @@protoc_insertion_point(field_set:message.Measure_status_msg.wanji_lidar_device_status)
  2647. }
  2648. inline void Measure_status_msg::_internal_add_wanji_lidar_device_status(::message::Wanji_lidar_device_status value) {
  2649. assert(::message::Wanji_lidar_device_status_IsValid(value));
  2650. wanji_lidar_device_status_.Add(value);
  2651. }
  2652. inline void Measure_status_msg::add_wanji_lidar_device_status(::message::Wanji_lidar_device_status value) {
  2653. // @@protoc_insertion_point(field_add:message.Measure_status_msg.wanji_lidar_device_status)
  2654. _internal_add_wanji_lidar_device_status(value);
  2655. }
  2656. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
  2657. Measure_status_msg::wanji_lidar_device_status() const {
  2658. // @@protoc_insertion_point(field_list:message.Measure_status_msg.wanji_lidar_device_status)
  2659. return wanji_lidar_device_status_;
  2660. }
  2661. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
  2662. Measure_status_msg::_internal_mutable_wanji_lidar_device_status() {
  2663. return &wanji_lidar_device_status_;
  2664. }
  2665. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
  2666. Measure_status_msg::mutable_wanji_lidar_device_status() {
  2667. // @@protoc_insertion_point(field_mutable_list:message.Measure_status_msg.wanji_lidar_device_status)
  2668. return _internal_mutable_wanji_lidar_device_status();
  2669. }
  2670. // repeated .message.Region_worker_status region_worker_status = 8;
  2671. inline int Measure_status_msg::_internal_region_worker_status_size() const {
  2672. return region_worker_status_.size();
  2673. }
  2674. inline int Measure_status_msg::region_worker_status_size() const {
  2675. return _internal_region_worker_status_size();
  2676. }
  2677. inline void Measure_status_msg::clear_region_worker_status() {
  2678. region_worker_status_.Clear();
  2679. }
  2680. inline ::message::Region_worker_status Measure_status_msg::_internal_region_worker_status(int index) const {
  2681. return static_cast< ::message::Region_worker_status >(region_worker_status_.Get(index));
  2682. }
  2683. inline ::message::Region_worker_status Measure_status_msg::region_worker_status(int index) const {
  2684. // @@protoc_insertion_point(field_get:message.Measure_status_msg.region_worker_status)
  2685. return _internal_region_worker_status(index);
  2686. }
  2687. inline void Measure_status_msg::set_region_worker_status(int index, ::message::Region_worker_status value) {
  2688. assert(::message::Region_worker_status_IsValid(value));
  2689. region_worker_status_.Set(index, value);
  2690. // @@protoc_insertion_point(field_set:message.Measure_status_msg.region_worker_status)
  2691. }
  2692. inline void Measure_status_msg::_internal_add_region_worker_status(::message::Region_worker_status value) {
  2693. assert(::message::Region_worker_status_IsValid(value));
  2694. region_worker_status_.Add(value);
  2695. }
  2696. inline void Measure_status_msg::add_region_worker_status(::message::Region_worker_status value) {
  2697. // @@protoc_insertion_point(field_add:message.Measure_status_msg.region_worker_status)
  2698. _internal_add_region_worker_status(value);
  2699. }
  2700. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
  2701. Measure_status_msg::region_worker_status() const {
  2702. // @@protoc_insertion_point(field_list:message.Measure_status_msg.region_worker_status)
  2703. return region_worker_status_;
  2704. }
  2705. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
  2706. Measure_status_msg::_internal_mutable_region_worker_status() {
  2707. return &region_worker_status_;
  2708. }
  2709. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
  2710. Measure_status_msg::mutable_region_worker_status() {
  2711. // @@protoc_insertion_point(field_mutable_list:message.Measure_status_msg.region_worker_status)
  2712. return _internal_mutable_region_worker_status();
  2713. }
  2714. // repeated .message.Locate_information locate_information_realtime = 9;
  2715. inline int Measure_status_msg::_internal_locate_information_realtime_size() const {
  2716. return locate_information_realtime_.size();
  2717. }
  2718. inline int Measure_status_msg::locate_information_realtime_size() const {
  2719. return _internal_locate_information_realtime_size();
  2720. }
  2721. inline ::message::Locate_information* Measure_status_msg::mutable_locate_information_realtime(int index) {
  2722. // @@protoc_insertion_point(field_mutable:message.Measure_status_msg.locate_information_realtime)
  2723. return locate_information_realtime_.Mutable(index);
  2724. }
  2725. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::message::Locate_information >*
  2726. Measure_status_msg::mutable_locate_information_realtime() {
  2727. // @@protoc_insertion_point(field_mutable_list:message.Measure_status_msg.locate_information_realtime)
  2728. return &locate_information_realtime_;
  2729. }
  2730. inline const ::message::Locate_information& Measure_status_msg::_internal_locate_information_realtime(int index) const {
  2731. return locate_information_realtime_.Get(index);
  2732. }
  2733. inline const ::message::Locate_information& Measure_status_msg::locate_information_realtime(int index) const {
  2734. // @@protoc_insertion_point(field_get:message.Measure_status_msg.locate_information_realtime)
  2735. return _internal_locate_information_realtime(index);
  2736. }
  2737. inline ::message::Locate_information* Measure_status_msg::_internal_add_locate_information_realtime() {
  2738. return locate_information_realtime_.Add();
  2739. }
  2740. inline ::message::Locate_information* Measure_status_msg::add_locate_information_realtime() {
  2741. // @@protoc_insertion_point(field_add:message.Measure_status_msg.locate_information_realtime)
  2742. return _internal_add_locate_information_realtime();
  2743. }
  2744. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::message::Locate_information >&
  2745. Measure_status_msg::locate_information_realtime() const {
  2746. // @@protoc_insertion_point(field_list:message.Measure_status_msg.locate_information_realtime)
  2747. return locate_information_realtime_;
  2748. }
  2749. // required .message.Error_manager error_manager = 10;
  2750. inline bool Measure_status_msg::_internal_has_error_manager() const {
  2751. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  2752. PROTOBUF_ASSUME(!value || error_manager_ != nullptr);
  2753. return value;
  2754. }
  2755. inline bool Measure_status_msg::has_error_manager() const {
  2756. return _internal_has_error_manager();
  2757. }
  2758. inline const ::message::Error_manager& Measure_status_msg::_internal_error_manager() const {
  2759. const ::message::Error_manager* p = error_manager_;
  2760. return p != nullptr ? *p : *reinterpret_cast<const ::message::Error_manager*>(
  2761. &::message::_Error_manager_default_instance_);
  2762. }
  2763. inline const ::message::Error_manager& Measure_status_msg::error_manager() const {
  2764. // @@protoc_insertion_point(field_get:message.Measure_status_msg.error_manager)
  2765. return _internal_error_manager();
  2766. }
  2767. inline void Measure_status_msg::unsafe_arena_set_allocated_error_manager(
  2768. ::message::Error_manager* error_manager) {
  2769. if (GetArena() == nullptr) {
  2770. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(error_manager_);
  2771. }
  2772. error_manager_ = error_manager;
  2773. if (error_manager) {
  2774. _has_bits_[0] |= 0x00000004u;
  2775. } else {
  2776. _has_bits_[0] &= ~0x00000004u;
  2777. }
  2778. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:message.Measure_status_msg.error_manager)
  2779. }
  2780. inline ::message::Error_manager* Measure_status_msg::release_error_manager() {
  2781. _has_bits_[0] &= ~0x00000004u;
  2782. ::message::Error_manager* temp = error_manager_;
  2783. error_manager_ = nullptr;
  2784. if (GetArena() != nullptr) {
  2785. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  2786. }
  2787. return temp;
  2788. }
  2789. inline ::message::Error_manager* Measure_status_msg::unsafe_arena_release_error_manager() {
  2790. // @@protoc_insertion_point(field_release:message.Measure_status_msg.error_manager)
  2791. _has_bits_[0] &= ~0x00000004u;
  2792. ::message::Error_manager* temp = error_manager_;
  2793. error_manager_ = nullptr;
  2794. return temp;
  2795. }
  2796. inline ::message::Error_manager* Measure_status_msg::_internal_mutable_error_manager() {
  2797. _has_bits_[0] |= 0x00000004u;
  2798. if (error_manager_ == nullptr) {
  2799. auto* p = CreateMaybeMessage<::message::Error_manager>(GetArena());
  2800. error_manager_ = p;
  2801. }
  2802. return error_manager_;
  2803. }
  2804. inline ::message::Error_manager* Measure_status_msg::mutable_error_manager() {
  2805. // @@protoc_insertion_point(field_mutable:message.Measure_status_msg.error_manager)
  2806. return _internal_mutable_error_manager();
  2807. }
  2808. inline void Measure_status_msg::set_allocated_error_manager(::message::Error_manager* error_manager) {
  2809. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  2810. if (message_arena == nullptr) {
  2811. delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(error_manager_);
  2812. }
  2813. if (error_manager) {
  2814. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  2815. reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(error_manager)->GetArena();
  2816. if (message_arena != submessage_arena) {
  2817. error_manager = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  2818. message_arena, error_manager, submessage_arena);
  2819. }
  2820. _has_bits_[0] |= 0x00000004u;
  2821. } else {
  2822. _has_bits_[0] &= ~0x00000004u;
  2823. }
  2824. error_manager_ = error_manager;
  2825. // @@protoc_insertion_point(field_set_allocated:message.Measure_status_msg.error_manager)
  2826. }
  2827. // -------------------------------------------------------------------
  2828. // Measure_request_msg
  2829. // required .message.Base_info base_info = 1;
  2830. inline bool Measure_request_msg::_internal_has_base_info() const {
  2831. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  2832. PROTOBUF_ASSUME(!value || base_info_ != nullptr);
  2833. return value;
  2834. }
  2835. inline bool Measure_request_msg::has_base_info() const {
  2836. return _internal_has_base_info();
  2837. }
  2838. inline const ::message::Base_info& Measure_request_msg::_internal_base_info() const {
  2839. const ::message::Base_info* p = base_info_;
  2840. return p != nullptr ? *p : *reinterpret_cast<const ::message::Base_info*>(
  2841. &::message::_Base_info_default_instance_);
  2842. }
  2843. inline const ::message::Base_info& Measure_request_msg::base_info() const {
  2844. // @@protoc_insertion_point(field_get:message.Measure_request_msg.base_info)
  2845. return _internal_base_info();
  2846. }
  2847. inline void Measure_request_msg::unsafe_arena_set_allocated_base_info(
  2848. ::message::Base_info* base_info) {
  2849. if (GetArena() == nullptr) {
  2850. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info_);
  2851. }
  2852. base_info_ = base_info;
  2853. if (base_info) {
  2854. _has_bits_[0] |= 0x00000002u;
  2855. } else {
  2856. _has_bits_[0] &= ~0x00000002u;
  2857. }
  2858. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:message.Measure_request_msg.base_info)
  2859. }
  2860. inline ::message::Base_info* Measure_request_msg::release_base_info() {
  2861. _has_bits_[0] &= ~0x00000002u;
  2862. ::message::Base_info* temp = base_info_;
  2863. base_info_ = nullptr;
  2864. if (GetArena() != nullptr) {
  2865. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  2866. }
  2867. return temp;
  2868. }
  2869. inline ::message::Base_info* Measure_request_msg::unsafe_arena_release_base_info() {
  2870. // @@protoc_insertion_point(field_release:message.Measure_request_msg.base_info)
  2871. _has_bits_[0] &= ~0x00000002u;
  2872. ::message::Base_info* temp = base_info_;
  2873. base_info_ = nullptr;
  2874. return temp;
  2875. }
  2876. inline ::message::Base_info* Measure_request_msg::_internal_mutable_base_info() {
  2877. _has_bits_[0] |= 0x00000002u;
  2878. if (base_info_ == nullptr) {
  2879. auto* p = CreateMaybeMessage<::message::Base_info>(GetArena());
  2880. base_info_ = p;
  2881. }
  2882. return base_info_;
  2883. }
  2884. inline ::message::Base_info* Measure_request_msg::mutable_base_info() {
  2885. // @@protoc_insertion_point(field_mutable:message.Measure_request_msg.base_info)
  2886. return _internal_mutable_base_info();
  2887. }
  2888. inline void Measure_request_msg::set_allocated_base_info(::message::Base_info* base_info) {
  2889. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  2890. if (message_arena == nullptr) {
  2891. delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info_);
  2892. }
  2893. if (base_info) {
  2894. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  2895. reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info)->GetArena();
  2896. if (message_arena != submessage_arena) {
  2897. base_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  2898. message_arena, base_info, submessage_arena);
  2899. }
  2900. _has_bits_[0] |= 0x00000002u;
  2901. } else {
  2902. _has_bits_[0] &= ~0x00000002u;
  2903. }
  2904. base_info_ = base_info;
  2905. // @@protoc_insertion_point(field_set_allocated:message.Measure_request_msg.base_info)
  2906. }
  2907. // required string command_key = 2;
  2908. inline bool Measure_request_msg::_internal_has_command_key() const {
  2909. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  2910. return value;
  2911. }
  2912. inline bool Measure_request_msg::has_command_key() const {
  2913. return _internal_has_command_key();
  2914. }
  2915. inline void Measure_request_msg::clear_command_key() {
  2916. command_key_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  2917. _has_bits_[0] &= ~0x00000001u;
  2918. }
  2919. inline const std::string& Measure_request_msg::command_key() const {
  2920. // @@protoc_insertion_point(field_get:message.Measure_request_msg.command_key)
  2921. return _internal_command_key();
  2922. }
  2923. inline void Measure_request_msg::set_command_key(const std::string& value) {
  2924. _internal_set_command_key(value);
  2925. // @@protoc_insertion_point(field_set:message.Measure_request_msg.command_key)
  2926. }
  2927. inline std::string* Measure_request_msg::mutable_command_key() {
  2928. // @@protoc_insertion_point(field_mutable:message.Measure_request_msg.command_key)
  2929. return _internal_mutable_command_key();
  2930. }
  2931. inline const std::string& Measure_request_msg::_internal_command_key() const {
  2932. return command_key_.Get();
  2933. }
  2934. inline void Measure_request_msg::_internal_set_command_key(const std::string& value) {
  2935. _has_bits_[0] |= 0x00000001u;
  2936. command_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
  2937. }
  2938. inline void Measure_request_msg::set_command_key(std::string&& value) {
  2939. _has_bits_[0] |= 0x00000001u;
  2940. command_key_.Set(
  2941. &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
  2942. // @@protoc_insertion_point(field_set_rvalue:message.Measure_request_msg.command_key)
  2943. }
  2944. inline void Measure_request_msg::set_command_key(const char* value) {
  2945. GOOGLE_DCHECK(value != nullptr);
  2946. _has_bits_[0] |= 0x00000001u;
  2947. command_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
  2948. GetArena());
  2949. // @@protoc_insertion_point(field_set_char:message.Measure_request_msg.command_key)
  2950. }
  2951. inline void Measure_request_msg::set_command_key(const char* value,
  2952. size_t size) {
  2953. _has_bits_[0] |= 0x00000001u;
  2954. command_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
  2955. reinterpret_cast<const char*>(value), size), GetArena());
  2956. // @@protoc_insertion_point(field_set_pointer:message.Measure_request_msg.command_key)
  2957. }
  2958. inline std::string* Measure_request_msg::_internal_mutable_command_key() {
  2959. _has_bits_[0] |= 0x00000001u;
  2960. return command_key_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  2961. }
  2962. inline std::string* Measure_request_msg::release_command_key() {
  2963. // @@protoc_insertion_point(field_release:message.Measure_request_msg.command_key)
  2964. if (!_internal_has_command_key()) {
  2965. return nullptr;
  2966. }
  2967. _has_bits_[0] &= ~0x00000001u;
  2968. return command_key_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  2969. }
  2970. inline void Measure_request_msg::set_allocated_command_key(std::string* command_key) {
  2971. if (command_key != nullptr) {
  2972. _has_bits_[0] |= 0x00000001u;
  2973. } else {
  2974. _has_bits_[0] &= ~0x00000001u;
  2975. }
  2976. command_key_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), command_key,
  2977. GetArena());
  2978. // @@protoc_insertion_point(field_set_allocated:message.Measure_request_msg.command_key)
  2979. }
  2980. // required .message.Id_struct id_struct = 3;
  2981. inline bool Measure_request_msg::_internal_has_id_struct() const {
  2982. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  2983. PROTOBUF_ASSUME(!value || id_struct_ != nullptr);
  2984. return value;
  2985. }
  2986. inline bool Measure_request_msg::has_id_struct() const {
  2987. return _internal_has_id_struct();
  2988. }
  2989. inline const ::message::Id_struct& Measure_request_msg::_internal_id_struct() const {
  2990. const ::message::Id_struct* p = id_struct_;
  2991. return p != nullptr ? *p : *reinterpret_cast<const ::message::Id_struct*>(
  2992. &::message::_Id_struct_default_instance_);
  2993. }
  2994. inline const ::message::Id_struct& Measure_request_msg::id_struct() const {
  2995. // @@protoc_insertion_point(field_get:message.Measure_request_msg.id_struct)
  2996. return _internal_id_struct();
  2997. }
  2998. inline void Measure_request_msg::unsafe_arena_set_allocated_id_struct(
  2999. ::message::Id_struct* id_struct) {
  3000. if (GetArena() == nullptr) {
  3001. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(id_struct_);
  3002. }
  3003. id_struct_ = id_struct;
  3004. if (id_struct) {
  3005. _has_bits_[0] |= 0x00000004u;
  3006. } else {
  3007. _has_bits_[0] &= ~0x00000004u;
  3008. }
  3009. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:message.Measure_request_msg.id_struct)
  3010. }
  3011. inline ::message::Id_struct* Measure_request_msg::release_id_struct() {
  3012. _has_bits_[0] &= ~0x00000004u;
  3013. ::message::Id_struct* temp = id_struct_;
  3014. id_struct_ = nullptr;
  3015. if (GetArena() != nullptr) {
  3016. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  3017. }
  3018. return temp;
  3019. }
  3020. inline ::message::Id_struct* Measure_request_msg::unsafe_arena_release_id_struct() {
  3021. // @@protoc_insertion_point(field_release:message.Measure_request_msg.id_struct)
  3022. _has_bits_[0] &= ~0x00000004u;
  3023. ::message::Id_struct* temp = id_struct_;
  3024. id_struct_ = nullptr;
  3025. return temp;
  3026. }
  3027. inline ::message::Id_struct* Measure_request_msg::_internal_mutable_id_struct() {
  3028. _has_bits_[0] |= 0x00000004u;
  3029. if (id_struct_ == nullptr) {
  3030. auto* p = CreateMaybeMessage<::message::Id_struct>(GetArena());
  3031. id_struct_ = p;
  3032. }
  3033. return id_struct_;
  3034. }
  3035. inline ::message::Id_struct* Measure_request_msg::mutable_id_struct() {
  3036. // @@protoc_insertion_point(field_mutable:message.Measure_request_msg.id_struct)
  3037. return _internal_mutable_id_struct();
  3038. }
  3039. inline void Measure_request_msg::set_allocated_id_struct(::message::Id_struct* id_struct) {
  3040. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  3041. if (message_arena == nullptr) {
  3042. delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(id_struct_);
  3043. }
  3044. if (id_struct) {
  3045. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  3046. reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(id_struct)->GetArena();
  3047. if (message_arena != submessage_arena) {
  3048. id_struct = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  3049. message_arena, id_struct, submessage_arena);
  3050. }
  3051. _has_bits_[0] |= 0x00000004u;
  3052. } else {
  3053. _has_bits_[0] &= ~0x00000004u;
  3054. }
  3055. id_struct_ = id_struct;
  3056. // @@protoc_insertion_point(field_set_allocated:message.Measure_request_msg.id_struct)
  3057. }
  3058. // -------------------------------------------------------------------
  3059. // Measure_response_msg
  3060. // required .message.Base_info base_info = 1;
  3061. inline bool Measure_response_msg::_internal_has_base_info() const {
  3062. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  3063. PROTOBUF_ASSUME(!value || base_info_ != nullptr);
  3064. return value;
  3065. }
  3066. inline bool Measure_response_msg::has_base_info() const {
  3067. return _internal_has_base_info();
  3068. }
  3069. inline const ::message::Base_info& Measure_response_msg::_internal_base_info() const {
  3070. const ::message::Base_info* p = base_info_;
  3071. return p != nullptr ? *p : *reinterpret_cast<const ::message::Base_info*>(
  3072. &::message::_Base_info_default_instance_);
  3073. }
  3074. inline const ::message::Base_info& Measure_response_msg::base_info() const {
  3075. // @@protoc_insertion_point(field_get:message.Measure_response_msg.base_info)
  3076. return _internal_base_info();
  3077. }
  3078. inline void Measure_response_msg::unsafe_arena_set_allocated_base_info(
  3079. ::message::Base_info* base_info) {
  3080. if (GetArena() == nullptr) {
  3081. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info_);
  3082. }
  3083. base_info_ = base_info;
  3084. if (base_info) {
  3085. _has_bits_[0] |= 0x00000002u;
  3086. } else {
  3087. _has_bits_[0] &= ~0x00000002u;
  3088. }
  3089. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:message.Measure_response_msg.base_info)
  3090. }
  3091. inline ::message::Base_info* Measure_response_msg::release_base_info() {
  3092. _has_bits_[0] &= ~0x00000002u;
  3093. ::message::Base_info* temp = base_info_;
  3094. base_info_ = nullptr;
  3095. if (GetArena() != nullptr) {
  3096. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  3097. }
  3098. return temp;
  3099. }
  3100. inline ::message::Base_info* Measure_response_msg::unsafe_arena_release_base_info() {
  3101. // @@protoc_insertion_point(field_release:message.Measure_response_msg.base_info)
  3102. _has_bits_[0] &= ~0x00000002u;
  3103. ::message::Base_info* temp = base_info_;
  3104. base_info_ = nullptr;
  3105. return temp;
  3106. }
  3107. inline ::message::Base_info* Measure_response_msg::_internal_mutable_base_info() {
  3108. _has_bits_[0] |= 0x00000002u;
  3109. if (base_info_ == nullptr) {
  3110. auto* p = CreateMaybeMessage<::message::Base_info>(GetArena());
  3111. base_info_ = p;
  3112. }
  3113. return base_info_;
  3114. }
  3115. inline ::message::Base_info* Measure_response_msg::mutable_base_info() {
  3116. // @@protoc_insertion_point(field_mutable:message.Measure_response_msg.base_info)
  3117. return _internal_mutable_base_info();
  3118. }
  3119. inline void Measure_response_msg::set_allocated_base_info(::message::Base_info* base_info) {
  3120. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  3121. if (message_arena == nullptr) {
  3122. delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info_);
  3123. }
  3124. if (base_info) {
  3125. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  3126. reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info)->GetArena();
  3127. if (message_arena != submessage_arena) {
  3128. base_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  3129. message_arena, base_info, submessage_arena);
  3130. }
  3131. _has_bits_[0] |= 0x00000002u;
  3132. } else {
  3133. _has_bits_[0] &= ~0x00000002u;
  3134. }
  3135. base_info_ = base_info;
  3136. // @@protoc_insertion_point(field_set_allocated:message.Measure_response_msg.base_info)
  3137. }
  3138. // required string command_key = 2;
  3139. inline bool Measure_response_msg::_internal_has_command_key() const {
  3140. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  3141. return value;
  3142. }
  3143. inline bool Measure_response_msg::has_command_key() const {
  3144. return _internal_has_command_key();
  3145. }
  3146. inline void Measure_response_msg::clear_command_key() {
  3147. command_key_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  3148. _has_bits_[0] &= ~0x00000001u;
  3149. }
  3150. inline const std::string& Measure_response_msg::command_key() const {
  3151. // @@protoc_insertion_point(field_get:message.Measure_response_msg.command_key)
  3152. return _internal_command_key();
  3153. }
  3154. inline void Measure_response_msg::set_command_key(const std::string& value) {
  3155. _internal_set_command_key(value);
  3156. // @@protoc_insertion_point(field_set:message.Measure_response_msg.command_key)
  3157. }
  3158. inline std::string* Measure_response_msg::mutable_command_key() {
  3159. // @@protoc_insertion_point(field_mutable:message.Measure_response_msg.command_key)
  3160. return _internal_mutable_command_key();
  3161. }
  3162. inline const std::string& Measure_response_msg::_internal_command_key() const {
  3163. return command_key_.Get();
  3164. }
  3165. inline void Measure_response_msg::_internal_set_command_key(const std::string& value) {
  3166. _has_bits_[0] |= 0x00000001u;
  3167. command_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
  3168. }
  3169. inline void Measure_response_msg::set_command_key(std::string&& value) {
  3170. _has_bits_[0] |= 0x00000001u;
  3171. command_key_.Set(
  3172. &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
  3173. // @@protoc_insertion_point(field_set_rvalue:message.Measure_response_msg.command_key)
  3174. }
  3175. inline void Measure_response_msg::set_command_key(const char* value) {
  3176. GOOGLE_DCHECK(value != nullptr);
  3177. _has_bits_[0] |= 0x00000001u;
  3178. command_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
  3179. GetArena());
  3180. // @@protoc_insertion_point(field_set_char:message.Measure_response_msg.command_key)
  3181. }
  3182. inline void Measure_response_msg::set_command_key(const char* value,
  3183. size_t size) {
  3184. _has_bits_[0] |= 0x00000001u;
  3185. command_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
  3186. reinterpret_cast<const char*>(value), size), GetArena());
  3187. // @@protoc_insertion_point(field_set_pointer:message.Measure_response_msg.command_key)
  3188. }
  3189. inline std::string* Measure_response_msg::_internal_mutable_command_key() {
  3190. _has_bits_[0] |= 0x00000001u;
  3191. return command_key_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  3192. }
  3193. inline std::string* Measure_response_msg::release_command_key() {
  3194. // @@protoc_insertion_point(field_release:message.Measure_response_msg.command_key)
  3195. if (!_internal_has_command_key()) {
  3196. return nullptr;
  3197. }
  3198. _has_bits_[0] &= ~0x00000001u;
  3199. return command_key_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  3200. }
  3201. inline void Measure_response_msg::set_allocated_command_key(std::string* command_key) {
  3202. if (command_key != nullptr) {
  3203. _has_bits_[0] |= 0x00000001u;
  3204. } else {
  3205. _has_bits_[0] &= ~0x00000001u;
  3206. }
  3207. command_key_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), command_key,
  3208. GetArena());
  3209. // @@protoc_insertion_point(field_set_allocated:message.Measure_response_msg.command_key)
  3210. }
  3211. // required .message.Id_struct id_struct = 3;
  3212. inline bool Measure_response_msg::_internal_has_id_struct() const {
  3213. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  3214. PROTOBUF_ASSUME(!value || id_struct_ != nullptr);
  3215. return value;
  3216. }
  3217. inline bool Measure_response_msg::has_id_struct() const {
  3218. return _internal_has_id_struct();
  3219. }
  3220. inline const ::message::Id_struct& Measure_response_msg::_internal_id_struct() const {
  3221. const ::message::Id_struct* p = id_struct_;
  3222. return p != nullptr ? *p : *reinterpret_cast<const ::message::Id_struct*>(
  3223. &::message::_Id_struct_default_instance_);
  3224. }
  3225. inline const ::message::Id_struct& Measure_response_msg::id_struct() const {
  3226. // @@protoc_insertion_point(field_get:message.Measure_response_msg.id_struct)
  3227. return _internal_id_struct();
  3228. }
  3229. inline void Measure_response_msg::unsafe_arena_set_allocated_id_struct(
  3230. ::message::Id_struct* id_struct) {
  3231. if (GetArena() == nullptr) {
  3232. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(id_struct_);
  3233. }
  3234. id_struct_ = id_struct;
  3235. if (id_struct) {
  3236. _has_bits_[0] |= 0x00000004u;
  3237. } else {
  3238. _has_bits_[0] &= ~0x00000004u;
  3239. }
  3240. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:message.Measure_response_msg.id_struct)
  3241. }
  3242. inline ::message::Id_struct* Measure_response_msg::release_id_struct() {
  3243. _has_bits_[0] &= ~0x00000004u;
  3244. ::message::Id_struct* temp = id_struct_;
  3245. id_struct_ = nullptr;
  3246. if (GetArena() != nullptr) {
  3247. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  3248. }
  3249. return temp;
  3250. }
  3251. inline ::message::Id_struct* Measure_response_msg::unsafe_arena_release_id_struct() {
  3252. // @@protoc_insertion_point(field_release:message.Measure_response_msg.id_struct)
  3253. _has_bits_[0] &= ~0x00000004u;
  3254. ::message::Id_struct* temp = id_struct_;
  3255. id_struct_ = nullptr;
  3256. return temp;
  3257. }
  3258. inline ::message::Id_struct* Measure_response_msg::_internal_mutable_id_struct() {
  3259. _has_bits_[0] |= 0x00000004u;
  3260. if (id_struct_ == nullptr) {
  3261. auto* p = CreateMaybeMessage<::message::Id_struct>(GetArena());
  3262. id_struct_ = p;
  3263. }
  3264. return id_struct_;
  3265. }
  3266. inline ::message::Id_struct* Measure_response_msg::mutable_id_struct() {
  3267. // @@protoc_insertion_point(field_mutable:message.Measure_response_msg.id_struct)
  3268. return _internal_mutable_id_struct();
  3269. }
  3270. inline void Measure_response_msg::set_allocated_id_struct(::message::Id_struct* id_struct) {
  3271. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  3272. if (message_arena == nullptr) {
  3273. delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(id_struct_);
  3274. }
  3275. if (id_struct) {
  3276. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  3277. reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(id_struct)->GetArena();
  3278. if (message_arena != submessage_arena) {
  3279. id_struct = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  3280. message_arena, id_struct, submessage_arena);
  3281. }
  3282. _has_bits_[0] |= 0x00000004u;
  3283. } else {
  3284. _has_bits_[0] &= ~0x00000004u;
  3285. }
  3286. id_struct_ = id_struct;
  3287. // @@protoc_insertion_point(field_set_allocated:message.Measure_response_msg.id_struct)
  3288. }
  3289. // optional .message.Locate_information locate_information = 4;
  3290. inline bool Measure_response_msg::_internal_has_locate_information() const {
  3291. bool value = (_has_bits_[0] & 0x00000008u) != 0;
  3292. PROTOBUF_ASSUME(!value || locate_information_ != nullptr);
  3293. return value;
  3294. }
  3295. inline bool Measure_response_msg::has_locate_information() const {
  3296. return _internal_has_locate_information();
  3297. }
  3298. inline const ::message::Locate_information& Measure_response_msg::_internal_locate_information() const {
  3299. const ::message::Locate_information* p = locate_information_;
  3300. return p != nullptr ? *p : *reinterpret_cast<const ::message::Locate_information*>(
  3301. &::message::_Locate_information_default_instance_);
  3302. }
  3303. inline const ::message::Locate_information& Measure_response_msg::locate_information() const {
  3304. // @@protoc_insertion_point(field_get:message.Measure_response_msg.locate_information)
  3305. return _internal_locate_information();
  3306. }
  3307. inline void Measure_response_msg::unsafe_arena_set_allocated_locate_information(
  3308. ::message::Locate_information* locate_information) {
  3309. if (GetArena() == nullptr) {
  3310. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(locate_information_);
  3311. }
  3312. locate_information_ = locate_information;
  3313. if (locate_information) {
  3314. _has_bits_[0] |= 0x00000008u;
  3315. } else {
  3316. _has_bits_[0] &= ~0x00000008u;
  3317. }
  3318. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:message.Measure_response_msg.locate_information)
  3319. }
  3320. inline ::message::Locate_information* Measure_response_msg::release_locate_information() {
  3321. _has_bits_[0] &= ~0x00000008u;
  3322. ::message::Locate_information* temp = locate_information_;
  3323. locate_information_ = nullptr;
  3324. if (GetArena() != nullptr) {
  3325. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  3326. }
  3327. return temp;
  3328. }
  3329. inline ::message::Locate_information* Measure_response_msg::unsafe_arena_release_locate_information() {
  3330. // @@protoc_insertion_point(field_release:message.Measure_response_msg.locate_information)
  3331. _has_bits_[0] &= ~0x00000008u;
  3332. ::message::Locate_information* temp = locate_information_;
  3333. locate_information_ = nullptr;
  3334. return temp;
  3335. }
  3336. inline ::message::Locate_information* Measure_response_msg::_internal_mutable_locate_information() {
  3337. _has_bits_[0] |= 0x00000008u;
  3338. if (locate_information_ == nullptr) {
  3339. auto* p = CreateMaybeMessage<::message::Locate_information>(GetArena());
  3340. locate_information_ = p;
  3341. }
  3342. return locate_information_;
  3343. }
  3344. inline ::message::Locate_information* Measure_response_msg::mutable_locate_information() {
  3345. // @@protoc_insertion_point(field_mutable:message.Measure_response_msg.locate_information)
  3346. return _internal_mutable_locate_information();
  3347. }
  3348. inline void Measure_response_msg::set_allocated_locate_information(::message::Locate_information* locate_information) {
  3349. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  3350. if (message_arena == nullptr) {
  3351. delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(locate_information_);
  3352. }
  3353. if (locate_information) {
  3354. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  3355. reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(locate_information)->GetArena();
  3356. if (message_arena != submessage_arena) {
  3357. locate_information = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  3358. message_arena, locate_information, submessage_arena);
  3359. }
  3360. _has_bits_[0] |= 0x00000008u;
  3361. } else {
  3362. _has_bits_[0] &= ~0x00000008u;
  3363. }
  3364. locate_information_ = locate_information;
  3365. // @@protoc_insertion_point(field_set_allocated:message.Measure_response_msg.locate_information)
  3366. }
  3367. // required .message.Error_manager error_manager = 5;
  3368. inline bool Measure_response_msg::_internal_has_error_manager() const {
  3369. bool value = (_has_bits_[0] & 0x00000010u) != 0;
  3370. PROTOBUF_ASSUME(!value || error_manager_ != nullptr);
  3371. return value;
  3372. }
  3373. inline bool Measure_response_msg::has_error_manager() const {
  3374. return _internal_has_error_manager();
  3375. }
  3376. inline const ::message::Error_manager& Measure_response_msg::_internal_error_manager() const {
  3377. const ::message::Error_manager* p = error_manager_;
  3378. return p != nullptr ? *p : *reinterpret_cast<const ::message::Error_manager*>(
  3379. &::message::_Error_manager_default_instance_);
  3380. }
  3381. inline const ::message::Error_manager& Measure_response_msg::error_manager() const {
  3382. // @@protoc_insertion_point(field_get:message.Measure_response_msg.error_manager)
  3383. return _internal_error_manager();
  3384. }
  3385. inline void Measure_response_msg::unsafe_arena_set_allocated_error_manager(
  3386. ::message::Error_manager* error_manager) {
  3387. if (GetArena() == nullptr) {
  3388. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(error_manager_);
  3389. }
  3390. error_manager_ = error_manager;
  3391. if (error_manager) {
  3392. _has_bits_[0] |= 0x00000010u;
  3393. } else {
  3394. _has_bits_[0] &= ~0x00000010u;
  3395. }
  3396. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:message.Measure_response_msg.error_manager)
  3397. }
  3398. inline ::message::Error_manager* Measure_response_msg::release_error_manager() {
  3399. _has_bits_[0] &= ~0x00000010u;
  3400. ::message::Error_manager* temp = error_manager_;
  3401. error_manager_ = nullptr;
  3402. if (GetArena() != nullptr) {
  3403. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  3404. }
  3405. return temp;
  3406. }
  3407. inline ::message::Error_manager* Measure_response_msg::unsafe_arena_release_error_manager() {
  3408. // @@protoc_insertion_point(field_release:message.Measure_response_msg.error_manager)
  3409. _has_bits_[0] &= ~0x00000010u;
  3410. ::message::Error_manager* temp = error_manager_;
  3411. error_manager_ = nullptr;
  3412. return temp;
  3413. }
  3414. inline ::message::Error_manager* Measure_response_msg::_internal_mutable_error_manager() {
  3415. _has_bits_[0] |= 0x00000010u;
  3416. if (error_manager_ == nullptr) {
  3417. auto* p = CreateMaybeMessage<::message::Error_manager>(GetArena());
  3418. error_manager_ = p;
  3419. }
  3420. return error_manager_;
  3421. }
  3422. inline ::message::Error_manager* Measure_response_msg::mutable_error_manager() {
  3423. // @@protoc_insertion_point(field_mutable:message.Measure_response_msg.error_manager)
  3424. return _internal_mutable_error_manager();
  3425. }
  3426. inline void Measure_response_msg::set_allocated_error_manager(::message::Error_manager* error_manager) {
  3427. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  3428. if (message_arena == nullptr) {
  3429. delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(error_manager_);
  3430. }
  3431. if (error_manager) {
  3432. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  3433. reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(error_manager)->GetArena();
  3434. if (message_arena != submessage_arena) {
  3435. error_manager = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  3436. message_arena, error_manager, submessage_arena);
  3437. }
  3438. _has_bits_[0] |= 0x00000010u;
  3439. } else {
  3440. _has_bits_[0] &= ~0x00000010u;
  3441. }
  3442. error_manager_ = error_manager;
  3443. // @@protoc_insertion_point(field_set_allocated:message.Measure_response_msg.error_manager)
  3444. }
  3445. // -------------------------------------------------------------------
  3446. // Ground_detect_request_msg
  3447. // required .message.Base_info base_info = 1;
  3448. inline bool Ground_detect_request_msg::_internal_has_base_info() const {
  3449. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  3450. PROTOBUF_ASSUME(!value || base_info_ != nullptr);
  3451. return value;
  3452. }
  3453. inline bool Ground_detect_request_msg::has_base_info() const {
  3454. return _internal_has_base_info();
  3455. }
  3456. inline const ::message::Base_info& Ground_detect_request_msg::_internal_base_info() const {
  3457. const ::message::Base_info* p = base_info_;
  3458. return p != nullptr ? *p : *reinterpret_cast<const ::message::Base_info*>(
  3459. &::message::_Base_info_default_instance_);
  3460. }
  3461. inline const ::message::Base_info& Ground_detect_request_msg::base_info() const {
  3462. // @@protoc_insertion_point(field_get:message.Ground_detect_request_msg.base_info)
  3463. return _internal_base_info();
  3464. }
  3465. inline void Ground_detect_request_msg::unsafe_arena_set_allocated_base_info(
  3466. ::message::Base_info* base_info) {
  3467. if (GetArena() == nullptr) {
  3468. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info_);
  3469. }
  3470. base_info_ = base_info;
  3471. if (base_info) {
  3472. _has_bits_[0] |= 0x00000002u;
  3473. } else {
  3474. _has_bits_[0] &= ~0x00000002u;
  3475. }
  3476. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:message.Ground_detect_request_msg.base_info)
  3477. }
  3478. inline ::message::Base_info* Ground_detect_request_msg::release_base_info() {
  3479. _has_bits_[0] &= ~0x00000002u;
  3480. ::message::Base_info* temp = base_info_;
  3481. base_info_ = nullptr;
  3482. if (GetArena() != nullptr) {
  3483. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  3484. }
  3485. return temp;
  3486. }
  3487. inline ::message::Base_info* Ground_detect_request_msg::unsafe_arena_release_base_info() {
  3488. // @@protoc_insertion_point(field_release:message.Ground_detect_request_msg.base_info)
  3489. _has_bits_[0] &= ~0x00000002u;
  3490. ::message::Base_info* temp = base_info_;
  3491. base_info_ = nullptr;
  3492. return temp;
  3493. }
  3494. inline ::message::Base_info* Ground_detect_request_msg::_internal_mutable_base_info() {
  3495. _has_bits_[0] |= 0x00000002u;
  3496. if (base_info_ == nullptr) {
  3497. auto* p = CreateMaybeMessage<::message::Base_info>(GetArena());
  3498. base_info_ = p;
  3499. }
  3500. return base_info_;
  3501. }
  3502. inline ::message::Base_info* Ground_detect_request_msg::mutable_base_info() {
  3503. // @@protoc_insertion_point(field_mutable:message.Ground_detect_request_msg.base_info)
  3504. return _internal_mutable_base_info();
  3505. }
  3506. inline void Ground_detect_request_msg::set_allocated_base_info(::message::Base_info* base_info) {
  3507. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  3508. if (message_arena == nullptr) {
  3509. delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info_);
  3510. }
  3511. if (base_info) {
  3512. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  3513. reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info)->GetArena();
  3514. if (message_arena != submessage_arena) {
  3515. base_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  3516. message_arena, base_info, submessage_arena);
  3517. }
  3518. _has_bits_[0] |= 0x00000002u;
  3519. } else {
  3520. _has_bits_[0] &= ~0x00000002u;
  3521. }
  3522. base_info_ = base_info;
  3523. // @@protoc_insertion_point(field_set_allocated:message.Ground_detect_request_msg.base_info)
  3524. }
  3525. // required string command_key = 2;
  3526. inline bool Ground_detect_request_msg::_internal_has_command_key() const {
  3527. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  3528. return value;
  3529. }
  3530. inline bool Ground_detect_request_msg::has_command_key() const {
  3531. return _internal_has_command_key();
  3532. }
  3533. inline void Ground_detect_request_msg::clear_command_key() {
  3534. command_key_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  3535. _has_bits_[0] &= ~0x00000001u;
  3536. }
  3537. inline const std::string& Ground_detect_request_msg::command_key() const {
  3538. // @@protoc_insertion_point(field_get:message.Ground_detect_request_msg.command_key)
  3539. return _internal_command_key();
  3540. }
  3541. inline void Ground_detect_request_msg::set_command_key(const std::string& value) {
  3542. _internal_set_command_key(value);
  3543. // @@protoc_insertion_point(field_set:message.Ground_detect_request_msg.command_key)
  3544. }
  3545. inline std::string* Ground_detect_request_msg::mutable_command_key() {
  3546. // @@protoc_insertion_point(field_mutable:message.Ground_detect_request_msg.command_key)
  3547. return _internal_mutable_command_key();
  3548. }
  3549. inline const std::string& Ground_detect_request_msg::_internal_command_key() const {
  3550. return command_key_.Get();
  3551. }
  3552. inline void Ground_detect_request_msg::_internal_set_command_key(const std::string& value) {
  3553. _has_bits_[0] |= 0x00000001u;
  3554. command_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
  3555. }
  3556. inline void Ground_detect_request_msg::set_command_key(std::string&& value) {
  3557. _has_bits_[0] |= 0x00000001u;
  3558. command_key_.Set(
  3559. &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
  3560. // @@protoc_insertion_point(field_set_rvalue:message.Ground_detect_request_msg.command_key)
  3561. }
  3562. inline void Ground_detect_request_msg::set_command_key(const char* value) {
  3563. GOOGLE_DCHECK(value != nullptr);
  3564. _has_bits_[0] |= 0x00000001u;
  3565. command_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
  3566. GetArena());
  3567. // @@protoc_insertion_point(field_set_char:message.Ground_detect_request_msg.command_key)
  3568. }
  3569. inline void Ground_detect_request_msg::set_command_key(const char* value,
  3570. size_t size) {
  3571. _has_bits_[0] |= 0x00000001u;
  3572. command_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
  3573. reinterpret_cast<const char*>(value), size), GetArena());
  3574. // @@protoc_insertion_point(field_set_pointer:message.Ground_detect_request_msg.command_key)
  3575. }
  3576. inline std::string* Ground_detect_request_msg::_internal_mutable_command_key() {
  3577. _has_bits_[0] |= 0x00000001u;
  3578. return command_key_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  3579. }
  3580. inline std::string* Ground_detect_request_msg::release_command_key() {
  3581. // @@protoc_insertion_point(field_release:message.Ground_detect_request_msg.command_key)
  3582. if (!_internal_has_command_key()) {
  3583. return nullptr;
  3584. }
  3585. _has_bits_[0] &= ~0x00000001u;
  3586. return command_key_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  3587. }
  3588. inline void Ground_detect_request_msg::set_allocated_command_key(std::string* command_key) {
  3589. if (command_key != nullptr) {
  3590. _has_bits_[0] |= 0x00000001u;
  3591. } else {
  3592. _has_bits_[0] &= ~0x00000001u;
  3593. }
  3594. command_key_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), command_key,
  3595. GetArena());
  3596. // @@protoc_insertion_point(field_set_allocated:message.Ground_detect_request_msg.command_key)
  3597. }
  3598. // required .message.Id_struct id_struct = 3;
  3599. inline bool Ground_detect_request_msg::_internal_has_id_struct() const {
  3600. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  3601. PROTOBUF_ASSUME(!value || id_struct_ != nullptr);
  3602. return value;
  3603. }
  3604. inline bool Ground_detect_request_msg::has_id_struct() const {
  3605. return _internal_has_id_struct();
  3606. }
  3607. inline const ::message::Id_struct& Ground_detect_request_msg::_internal_id_struct() const {
  3608. const ::message::Id_struct* p = id_struct_;
  3609. return p != nullptr ? *p : *reinterpret_cast<const ::message::Id_struct*>(
  3610. &::message::_Id_struct_default_instance_);
  3611. }
  3612. inline const ::message::Id_struct& Ground_detect_request_msg::id_struct() const {
  3613. // @@protoc_insertion_point(field_get:message.Ground_detect_request_msg.id_struct)
  3614. return _internal_id_struct();
  3615. }
  3616. inline void Ground_detect_request_msg::unsafe_arena_set_allocated_id_struct(
  3617. ::message::Id_struct* id_struct) {
  3618. if (GetArena() == nullptr) {
  3619. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(id_struct_);
  3620. }
  3621. id_struct_ = id_struct;
  3622. if (id_struct) {
  3623. _has_bits_[0] |= 0x00000004u;
  3624. } else {
  3625. _has_bits_[0] &= ~0x00000004u;
  3626. }
  3627. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:message.Ground_detect_request_msg.id_struct)
  3628. }
  3629. inline ::message::Id_struct* Ground_detect_request_msg::release_id_struct() {
  3630. _has_bits_[0] &= ~0x00000004u;
  3631. ::message::Id_struct* temp = id_struct_;
  3632. id_struct_ = nullptr;
  3633. if (GetArena() != nullptr) {
  3634. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  3635. }
  3636. return temp;
  3637. }
  3638. inline ::message::Id_struct* Ground_detect_request_msg::unsafe_arena_release_id_struct() {
  3639. // @@protoc_insertion_point(field_release:message.Ground_detect_request_msg.id_struct)
  3640. _has_bits_[0] &= ~0x00000004u;
  3641. ::message::Id_struct* temp = id_struct_;
  3642. id_struct_ = nullptr;
  3643. return temp;
  3644. }
  3645. inline ::message::Id_struct* Ground_detect_request_msg::_internal_mutable_id_struct() {
  3646. _has_bits_[0] |= 0x00000004u;
  3647. if (id_struct_ == nullptr) {
  3648. auto* p = CreateMaybeMessage<::message::Id_struct>(GetArena());
  3649. id_struct_ = p;
  3650. }
  3651. return id_struct_;
  3652. }
  3653. inline ::message::Id_struct* Ground_detect_request_msg::mutable_id_struct() {
  3654. // @@protoc_insertion_point(field_mutable:message.Ground_detect_request_msg.id_struct)
  3655. return _internal_mutable_id_struct();
  3656. }
  3657. inline void Ground_detect_request_msg::set_allocated_id_struct(::message::Id_struct* id_struct) {
  3658. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  3659. if (message_arena == nullptr) {
  3660. delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(id_struct_);
  3661. }
  3662. if (id_struct) {
  3663. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  3664. reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(id_struct)->GetArena();
  3665. if (message_arena != submessage_arena) {
  3666. id_struct = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  3667. message_arena, id_struct, submessage_arena);
  3668. }
  3669. _has_bits_[0] |= 0x00000004u;
  3670. } else {
  3671. _has_bits_[0] &= ~0x00000004u;
  3672. }
  3673. id_struct_ = id_struct;
  3674. // @@protoc_insertion_point(field_set_allocated:message.Ground_detect_request_msg.id_struct)
  3675. }
  3676. // -------------------------------------------------------------------
  3677. // Ground_detect_response_msg
  3678. // required .message.Base_info base_info = 1;
  3679. inline bool Ground_detect_response_msg::_internal_has_base_info() const {
  3680. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  3681. PROTOBUF_ASSUME(!value || base_info_ != nullptr);
  3682. return value;
  3683. }
  3684. inline bool Ground_detect_response_msg::has_base_info() const {
  3685. return _internal_has_base_info();
  3686. }
  3687. inline const ::message::Base_info& Ground_detect_response_msg::_internal_base_info() const {
  3688. const ::message::Base_info* p = base_info_;
  3689. return p != nullptr ? *p : *reinterpret_cast<const ::message::Base_info*>(
  3690. &::message::_Base_info_default_instance_);
  3691. }
  3692. inline const ::message::Base_info& Ground_detect_response_msg::base_info() const {
  3693. // @@protoc_insertion_point(field_get:message.Ground_detect_response_msg.base_info)
  3694. return _internal_base_info();
  3695. }
  3696. inline void Ground_detect_response_msg::unsafe_arena_set_allocated_base_info(
  3697. ::message::Base_info* base_info) {
  3698. if (GetArena() == nullptr) {
  3699. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info_);
  3700. }
  3701. base_info_ = base_info;
  3702. if (base_info) {
  3703. _has_bits_[0] |= 0x00000002u;
  3704. } else {
  3705. _has_bits_[0] &= ~0x00000002u;
  3706. }
  3707. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:message.Ground_detect_response_msg.base_info)
  3708. }
  3709. inline ::message::Base_info* Ground_detect_response_msg::release_base_info() {
  3710. _has_bits_[0] &= ~0x00000002u;
  3711. ::message::Base_info* temp = base_info_;
  3712. base_info_ = nullptr;
  3713. if (GetArena() != nullptr) {
  3714. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  3715. }
  3716. return temp;
  3717. }
  3718. inline ::message::Base_info* Ground_detect_response_msg::unsafe_arena_release_base_info() {
  3719. // @@protoc_insertion_point(field_release:message.Ground_detect_response_msg.base_info)
  3720. _has_bits_[0] &= ~0x00000002u;
  3721. ::message::Base_info* temp = base_info_;
  3722. base_info_ = nullptr;
  3723. return temp;
  3724. }
  3725. inline ::message::Base_info* Ground_detect_response_msg::_internal_mutable_base_info() {
  3726. _has_bits_[0] |= 0x00000002u;
  3727. if (base_info_ == nullptr) {
  3728. auto* p = CreateMaybeMessage<::message::Base_info>(GetArena());
  3729. base_info_ = p;
  3730. }
  3731. return base_info_;
  3732. }
  3733. inline ::message::Base_info* Ground_detect_response_msg::mutable_base_info() {
  3734. // @@protoc_insertion_point(field_mutable:message.Ground_detect_response_msg.base_info)
  3735. return _internal_mutable_base_info();
  3736. }
  3737. inline void Ground_detect_response_msg::set_allocated_base_info(::message::Base_info* base_info) {
  3738. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  3739. if (message_arena == nullptr) {
  3740. delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info_);
  3741. }
  3742. if (base_info) {
  3743. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  3744. reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info)->GetArena();
  3745. if (message_arena != submessage_arena) {
  3746. base_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  3747. message_arena, base_info, submessage_arena);
  3748. }
  3749. _has_bits_[0] |= 0x00000002u;
  3750. } else {
  3751. _has_bits_[0] &= ~0x00000002u;
  3752. }
  3753. base_info_ = base_info;
  3754. // @@protoc_insertion_point(field_set_allocated:message.Ground_detect_response_msg.base_info)
  3755. }
  3756. // required string command_key = 2;
  3757. inline bool Ground_detect_response_msg::_internal_has_command_key() const {
  3758. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  3759. return value;
  3760. }
  3761. inline bool Ground_detect_response_msg::has_command_key() const {
  3762. return _internal_has_command_key();
  3763. }
  3764. inline void Ground_detect_response_msg::clear_command_key() {
  3765. command_key_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  3766. _has_bits_[0] &= ~0x00000001u;
  3767. }
  3768. inline const std::string& Ground_detect_response_msg::command_key() const {
  3769. // @@protoc_insertion_point(field_get:message.Ground_detect_response_msg.command_key)
  3770. return _internal_command_key();
  3771. }
  3772. inline void Ground_detect_response_msg::set_command_key(const std::string& value) {
  3773. _internal_set_command_key(value);
  3774. // @@protoc_insertion_point(field_set:message.Ground_detect_response_msg.command_key)
  3775. }
  3776. inline std::string* Ground_detect_response_msg::mutable_command_key() {
  3777. // @@protoc_insertion_point(field_mutable:message.Ground_detect_response_msg.command_key)
  3778. return _internal_mutable_command_key();
  3779. }
  3780. inline const std::string& Ground_detect_response_msg::_internal_command_key() const {
  3781. return command_key_.Get();
  3782. }
  3783. inline void Ground_detect_response_msg::_internal_set_command_key(const std::string& value) {
  3784. _has_bits_[0] |= 0x00000001u;
  3785. command_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
  3786. }
  3787. inline void Ground_detect_response_msg::set_command_key(std::string&& value) {
  3788. _has_bits_[0] |= 0x00000001u;
  3789. command_key_.Set(
  3790. &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
  3791. // @@protoc_insertion_point(field_set_rvalue:message.Ground_detect_response_msg.command_key)
  3792. }
  3793. inline void Ground_detect_response_msg::set_command_key(const char* value) {
  3794. GOOGLE_DCHECK(value != nullptr);
  3795. _has_bits_[0] |= 0x00000001u;
  3796. command_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
  3797. GetArena());
  3798. // @@protoc_insertion_point(field_set_char:message.Ground_detect_response_msg.command_key)
  3799. }
  3800. inline void Ground_detect_response_msg::set_command_key(const char* value,
  3801. size_t size) {
  3802. _has_bits_[0] |= 0x00000001u;
  3803. command_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
  3804. reinterpret_cast<const char*>(value), size), GetArena());
  3805. // @@protoc_insertion_point(field_set_pointer:message.Ground_detect_response_msg.command_key)
  3806. }
  3807. inline std::string* Ground_detect_response_msg::_internal_mutable_command_key() {
  3808. _has_bits_[0] |= 0x00000001u;
  3809. return command_key_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  3810. }
  3811. inline std::string* Ground_detect_response_msg::release_command_key() {
  3812. // @@protoc_insertion_point(field_release:message.Ground_detect_response_msg.command_key)
  3813. if (!_internal_has_command_key()) {
  3814. return nullptr;
  3815. }
  3816. _has_bits_[0] &= ~0x00000001u;
  3817. return command_key_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  3818. }
  3819. inline void Ground_detect_response_msg::set_allocated_command_key(std::string* command_key) {
  3820. if (command_key != nullptr) {
  3821. _has_bits_[0] |= 0x00000001u;
  3822. } else {
  3823. _has_bits_[0] &= ~0x00000001u;
  3824. }
  3825. command_key_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), command_key,
  3826. GetArena());
  3827. // @@protoc_insertion_point(field_set_allocated:message.Ground_detect_response_msg.command_key)
  3828. }
  3829. // required .message.Id_struct id_struct = 3;
  3830. inline bool Ground_detect_response_msg::_internal_has_id_struct() const {
  3831. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  3832. PROTOBUF_ASSUME(!value || id_struct_ != nullptr);
  3833. return value;
  3834. }
  3835. inline bool Ground_detect_response_msg::has_id_struct() const {
  3836. return _internal_has_id_struct();
  3837. }
  3838. inline const ::message::Id_struct& Ground_detect_response_msg::_internal_id_struct() const {
  3839. const ::message::Id_struct* p = id_struct_;
  3840. return p != nullptr ? *p : *reinterpret_cast<const ::message::Id_struct*>(
  3841. &::message::_Id_struct_default_instance_);
  3842. }
  3843. inline const ::message::Id_struct& Ground_detect_response_msg::id_struct() const {
  3844. // @@protoc_insertion_point(field_get:message.Ground_detect_response_msg.id_struct)
  3845. return _internal_id_struct();
  3846. }
  3847. inline void Ground_detect_response_msg::unsafe_arena_set_allocated_id_struct(
  3848. ::message::Id_struct* id_struct) {
  3849. if (GetArena() == nullptr) {
  3850. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(id_struct_);
  3851. }
  3852. id_struct_ = id_struct;
  3853. if (id_struct) {
  3854. _has_bits_[0] |= 0x00000004u;
  3855. } else {
  3856. _has_bits_[0] &= ~0x00000004u;
  3857. }
  3858. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:message.Ground_detect_response_msg.id_struct)
  3859. }
  3860. inline ::message::Id_struct* Ground_detect_response_msg::release_id_struct() {
  3861. _has_bits_[0] &= ~0x00000004u;
  3862. ::message::Id_struct* temp = id_struct_;
  3863. id_struct_ = nullptr;
  3864. if (GetArena() != nullptr) {
  3865. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  3866. }
  3867. return temp;
  3868. }
  3869. inline ::message::Id_struct* Ground_detect_response_msg::unsafe_arena_release_id_struct() {
  3870. // @@protoc_insertion_point(field_release:message.Ground_detect_response_msg.id_struct)
  3871. _has_bits_[0] &= ~0x00000004u;
  3872. ::message::Id_struct* temp = id_struct_;
  3873. id_struct_ = nullptr;
  3874. return temp;
  3875. }
  3876. inline ::message::Id_struct* Ground_detect_response_msg::_internal_mutable_id_struct() {
  3877. _has_bits_[0] |= 0x00000004u;
  3878. if (id_struct_ == nullptr) {
  3879. auto* p = CreateMaybeMessage<::message::Id_struct>(GetArena());
  3880. id_struct_ = p;
  3881. }
  3882. return id_struct_;
  3883. }
  3884. inline ::message::Id_struct* Ground_detect_response_msg::mutable_id_struct() {
  3885. // @@protoc_insertion_point(field_mutable:message.Ground_detect_response_msg.id_struct)
  3886. return _internal_mutable_id_struct();
  3887. }
  3888. inline void Ground_detect_response_msg::set_allocated_id_struct(::message::Id_struct* id_struct) {
  3889. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  3890. if (message_arena == nullptr) {
  3891. delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(id_struct_);
  3892. }
  3893. if (id_struct) {
  3894. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  3895. reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(id_struct)->GetArena();
  3896. if (message_arena != submessage_arena) {
  3897. id_struct = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  3898. message_arena, id_struct, submessage_arena);
  3899. }
  3900. _has_bits_[0] |= 0x00000004u;
  3901. } else {
  3902. _has_bits_[0] &= ~0x00000004u;
  3903. }
  3904. id_struct_ = id_struct;
  3905. // @@protoc_insertion_point(field_set_allocated:message.Ground_detect_response_msg.id_struct)
  3906. }
  3907. // optional .message.Locate_information locate_information = 4;
  3908. inline bool Ground_detect_response_msg::_internal_has_locate_information() const {
  3909. bool value = (_has_bits_[0] & 0x00000008u) != 0;
  3910. PROTOBUF_ASSUME(!value || locate_information_ != nullptr);
  3911. return value;
  3912. }
  3913. inline bool Ground_detect_response_msg::has_locate_information() const {
  3914. return _internal_has_locate_information();
  3915. }
  3916. inline const ::message::Locate_information& Ground_detect_response_msg::_internal_locate_information() const {
  3917. const ::message::Locate_information* p = locate_information_;
  3918. return p != nullptr ? *p : *reinterpret_cast<const ::message::Locate_information*>(
  3919. &::message::_Locate_information_default_instance_);
  3920. }
  3921. inline const ::message::Locate_information& Ground_detect_response_msg::locate_information() const {
  3922. // @@protoc_insertion_point(field_get:message.Ground_detect_response_msg.locate_information)
  3923. return _internal_locate_information();
  3924. }
  3925. inline void Ground_detect_response_msg::unsafe_arena_set_allocated_locate_information(
  3926. ::message::Locate_information* locate_information) {
  3927. if (GetArena() == nullptr) {
  3928. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(locate_information_);
  3929. }
  3930. locate_information_ = locate_information;
  3931. if (locate_information) {
  3932. _has_bits_[0] |= 0x00000008u;
  3933. } else {
  3934. _has_bits_[0] &= ~0x00000008u;
  3935. }
  3936. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:message.Ground_detect_response_msg.locate_information)
  3937. }
  3938. inline ::message::Locate_information* Ground_detect_response_msg::release_locate_information() {
  3939. _has_bits_[0] &= ~0x00000008u;
  3940. ::message::Locate_information* temp = locate_information_;
  3941. locate_information_ = nullptr;
  3942. if (GetArena() != nullptr) {
  3943. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  3944. }
  3945. return temp;
  3946. }
  3947. inline ::message::Locate_information* Ground_detect_response_msg::unsafe_arena_release_locate_information() {
  3948. // @@protoc_insertion_point(field_release:message.Ground_detect_response_msg.locate_information)
  3949. _has_bits_[0] &= ~0x00000008u;
  3950. ::message::Locate_information* temp = locate_information_;
  3951. locate_information_ = nullptr;
  3952. return temp;
  3953. }
  3954. inline ::message::Locate_information* Ground_detect_response_msg::_internal_mutable_locate_information() {
  3955. _has_bits_[0] |= 0x00000008u;
  3956. if (locate_information_ == nullptr) {
  3957. auto* p = CreateMaybeMessage<::message::Locate_information>(GetArena());
  3958. locate_information_ = p;
  3959. }
  3960. return locate_information_;
  3961. }
  3962. inline ::message::Locate_information* Ground_detect_response_msg::mutable_locate_information() {
  3963. // @@protoc_insertion_point(field_mutable:message.Ground_detect_response_msg.locate_information)
  3964. return _internal_mutable_locate_information();
  3965. }
  3966. inline void Ground_detect_response_msg::set_allocated_locate_information(::message::Locate_information* locate_information) {
  3967. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  3968. if (message_arena == nullptr) {
  3969. delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(locate_information_);
  3970. }
  3971. if (locate_information) {
  3972. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  3973. reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(locate_information)->GetArena();
  3974. if (message_arena != submessage_arena) {
  3975. locate_information = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  3976. message_arena, locate_information, submessage_arena);
  3977. }
  3978. _has_bits_[0] |= 0x00000008u;
  3979. } else {
  3980. _has_bits_[0] &= ~0x00000008u;
  3981. }
  3982. locate_information_ = locate_information;
  3983. // @@protoc_insertion_point(field_set_allocated:message.Ground_detect_response_msg.locate_information)
  3984. }
  3985. // required .message.Error_manager error_manager = 5;
  3986. inline bool Ground_detect_response_msg::_internal_has_error_manager() const {
  3987. bool value = (_has_bits_[0] & 0x00000010u) != 0;
  3988. PROTOBUF_ASSUME(!value || error_manager_ != nullptr);
  3989. return value;
  3990. }
  3991. inline bool Ground_detect_response_msg::has_error_manager() const {
  3992. return _internal_has_error_manager();
  3993. }
  3994. inline const ::message::Error_manager& Ground_detect_response_msg::_internal_error_manager() const {
  3995. const ::message::Error_manager* p = error_manager_;
  3996. return p != nullptr ? *p : *reinterpret_cast<const ::message::Error_manager*>(
  3997. &::message::_Error_manager_default_instance_);
  3998. }
  3999. inline const ::message::Error_manager& Ground_detect_response_msg::error_manager() const {
  4000. // @@protoc_insertion_point(field_get:message.Ground_detect_response_msg.error_manager)
  4001. return _internal_error_manager();
  4002. }
  4003. inline void Ground_detect_response_msg::unsafe_arena_set_allocated_error_manager(
  4004. ::message::Error_manager* error_manager) {
  4005. if (GetArena() == nullptr) {
  4006. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(error_manager_);
  4007. }
  4008. error_manager_ = error_manager;
  4009. if (error_manager) {
  4010. _has_bits_[0] |= 0x00000010u;
  4011. } else {
  4012. _has_bits_[0] &= ~0x00000010u;
  4013. }
  4014. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:message.Ground_detect_response_msg.error_manager)
  4015. }
  4016. inline ::message::Error_manager* Ground_detect_response_msg::release_error_manager() {
  4017. _has_bits_[0] &= ~0x00000010u;
  4018. ::message::Error_manager* temp = error_manager_;
  4019. error_manager_ = nullptr;
  4020. if (GetArena() != nullptr) {
  4021. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  4022. }
  4023. return temp;
  4024. }
  4025. inline ::message::Error_manager* Ground_detect_response_msg::unsafe_arena_release_error_manager() {
  4026. // @@protoc_insertion_point(field_release:message.Ground_detect_response_msg.error_manager)
  4027. _has_bits_[0] &= ~0x00000010u;
  4028. ::message::Error_manager* temp = error_manager_;
  4029. error_manager_ = nullptr;
  4030. return temp;
  4031. }
  4032. inline ::message::Error_manager* Ground_detect_response_msg::_internal_mutable_error_manager() {
  4033. _has_bits_[0] |= 0x00000010u;
  4034. if (error_manager_ == nullptr) {
  4035. auto* p = CreateMaybeMessage<::message::Error_manager>(GetArena());
  4036. error_manager_ = p;
  4037. }
  4038. return error_manager_;
  4039. }
  4040. inline ::message::Error_manager* Ground_detect_response_msg::mutable_error_manager() {
  4041. // @@protoc_insertion_point(field_mutable:message.Ground_detect_response_msg.error_manager)
  4042. return _internal_mutable_error_manager();
  4043. }
  4044. inline void Ground_detect_response_msg::set_allocated_error_manager(::message::Error_manager* error_manager) {
  4045. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  4046. if (message_arena == nullptr) {
  4047. delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(error_manager_);
  4048. }
  4049. if (error_manager) {
  4050. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  4051. reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(error_manager)->GetArena();
  4052. if (message_arena != submessage_arena) {
  4053. error_manager = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  4054. message_arena, error_manager, submessage_arena);
  4055. }
  4056. _has_bits_[0] |= 0x00000010u;
  4057. } else {
  4058. _has_bits_[0] &= ~0x00000010u;
  4059. }
  4060. error_manager_ = error_manager;
  4061. // @@protoc_insertion_point(field_set_allocated:message.Ground_detect_response_msg.error_manager)
  4062. }
  4063. // -------------------------------------------------------------------
  4064. // Ground_status_msg
  4065. // required .message.Base_info base_info = 1;
  4066. inline bool Ground_status_msg::_internal_has_base_info() const {
  4067. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  4068. PROTOBUF_ASSUME(!value || base_info_ != nullptr);
  4069. return value;
  4070. }
  4071. inline bool Ground_status_msg::has_base_info() const {
  4072. return _internal_has_base_info();
  4073. }
  4074. inline const ::message::Base_info& Ground_status_msg::_internal_base_info() const {
  4075. const ::message::Base_info* p = base_info_;
  4076. return p != nullptr ? *p : *reinterpret_cast<const ::message::Base_info*>(
  4077. &::message::_Base_info_default_instance_);
  4078. }
  4079. inline const ::message::Base_info& Ground_status_msg::base_info() const {
  4080. // @@protoc_insertion_point(field_get:message.Ground_status_msg.base_info)
  4081. return _internal_base_info();
  4082. }
  4083. inline void Ground_status_msg::unsafe_arena_set_allocated_base_info(
  4084. ::message::Base_info* base_info) {
  4085. if (GetArena() == nullptr) {
  4086. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info_);
  4087. }
  4088. base_info_ = base_info;
  4089. if (base_info) {
  4090. _has_bits_[0] |= 0x00000001u;
  4091. } else {
  4092. _has_bits_[0] &= ~0x00000001u;
  4093. }
  4094. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:message.Ground_status_msg.base_info)
  4095. }
  4096. inline ::message::Base_info* Ground_status_msg::release_base_info() {
  4097. _has_bits_[0] &= ~0x00000001u;
  4098. ::message::Base_info* temp = base_info_;
  4099. base_info_ = nullptr;
  4100. if (GetArena() != nullptr) {
  4101. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  4102. }
  4103. return temp;
  4104. }
  4105. inline ::message::Base_info* Ground_status_msg::unsafe_arena_release_base_info() {
  4106. // @@protoc_insertion_point(field_release:message.Ground_status_msg.base_info)
  4107. _has_bits_[0] &= ~0x00000001u;
  4108. ::message::Base_info* temp = base_info_;
  4109. base_info_ = nullptr;
  4110. return temp;
  4111. }
  4112. inline ::message::Base_info* Ground_status_msg::_internal_mutable_base_info() {
  4113. _has_bits_[0] |= 0x00000001u;
  4114. if (base_info_ == nullptr) {
  4115. auto* p = CreateMaybeMessage<::message::Base_info>(GetArena());
  4116. base_info_ = p;
  4117. }
  4118. return base_info_;
  4119. }
  4120. inline ::message::Base_info* Ground_status_msg::mutable_base_info() {
  4121. // @@protoc_insertion_point(field_mutable:message.Ground_status_msg.base_info)
  4122. return _internal_mutable_base_info();
  4123. }
  4124. inline void Ground_status_msg::set_allocated_base_info(::message::Base_info* base_info) {
  4125. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  4126. if (message_arena == nullptr) {
  4127. delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info_);
  4128. }
  4129. if (base_info) {
  4130. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  4131. reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info)->GetArena();
  4132. if (message_arena != submessage_arena) {
  4133. base_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  4134. message_arena, base_info, submessage_arena);
  4135. }
  4136. _has_bits_[0] |= 0x00000001u;
  4137. } else {
  4138. _has_bits_[0] &= ~0x00000001u;
  4139. }
  4140. base_info_ = base_info;
  4141. // @@protoc_insertion_point(field_set_allocated:message.Ground_status_msg.base_info)
  4142. }
  4143. // required .message.Id_struct id_struct = 2;
  4144. inline bool Ground_status_msg::_internal_has_id_struct() const {
  4145. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  4146. PROTOBUF_ASSUME(!value || id_struct_ != nullptr);
  4147. return value;
  4148. }
  4149. inline bool Ground_status_msg::has_id_struct() const {
  4150. return _internal_has_id_struct();
  4151. }
  4152. inline const ::message::Id_struct& Ground_status_msg::_internal_id_struct() const {
  4153. const ::message::Id_struct* p = id_struct_;
  4154. return p != nullptr ? *p : *reinterpret_cast<const ::message::Id_struct*>(
  4155. &::message::_Id_struct_default_instance_);
  4156. }
  4157. inline const ::message::Id_struct& Ground_status_msg::id_struct() const {
  4158. // @@protoc_insertion_point(field_get:message.Ground_status_msg.id_struct)
  4159. return _internal_id_struct();
  4160. }
  4161. inline void Ground_status_msg::unsafe_arena_set_allocated_id_struct(
  4162. ::message::Id_struct* id_struct) {
  4163. if (GetArena() == nullptr) {
  4164. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(id_struct_);
  4165. }
  4166. id_struct_ = id_struct;
  4167. if (id_struct) {
  4168. _has_bits_[0] |= 0x00000002u;
  4169. } else {
  4170. _has_bits_[0] &= ~0x00000002u;
  4171. }
  4172. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:message.Ground_status_msg.id_struct)
  4173. }
  4174. inline ::message::Id_struct* Ground_status_msg::release_id_struct() {
  4175. _has_bits_[0] &= ~0x00000002u;
  4176. ::message::Id_struct* temp = id_struct_;
  4177. id_struct_ = nullptr;
  4178. if (GetArena() != nullptr) {
  4179. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  4180. }
  4181. return temp;
  4182. }
  4183. inline ::message::Id_struct* Ground_status_msg::unsafe_arena_release_id_struct() {
  4184. // @@protoc_insertion_point(field_release:message.Ground_status_msg.id_struct)
  4185. _has_bits_[0] &= ~0x00000002u;
  4186. ::message::Id_struct* temp = id_struct_;
  4187. id_struct_ = nullptr;
  4188. return temp;
  4189. }
  4190. inline ::message::Id_struct* Ground_status_msg::_internal_mutable_id_struct() {
  4191. _has_bits_[0] |= 0x00000002u;
  4192. if (id_struct_ == nullptr) {
  4193. auto* p = CreateMaybeMessage<::message::Id_struct>(GetArena());
  4194. id_struct_ = p;
  4195. }
  4196. return id_struct_;
  4197. }
  4198. inline ::message::Id_struct* Ground_status_msg::mutable_id_struct() {
  4199. // @@protoc_insertion_point(field_mutable:message.Ground_status_msg.id_struct)
  4200. return _internal_mutable_id_struct();
  4201. }
  4202. inline void Ground_status_msg::set_allocated_id_struct(::message::Id_struct* id_struct) {
  4203. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  4204. if (message_arena == nullptr) {
  4205. delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(id_struct_);
  4206. }
  4207. if (id_struct) {
  4208. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  4209. reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(id_struct)->GetArena();
  4210. if (message_arena != submessage_arena) {
  4211. id_struct = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  4212. message_arena, id_struct, submessage_arena);
  4213. }
  4214. _has_bits_[0] |= 0x00000002u;
  4215. } else {
  4216. _has_bits_[0] &= ~0x00000002u;
  4217. }
  4218. id_struct_ = id_struct;
  4219. // @@protoc_insertion_point(field_set_allocated:message.Ground_status_msg.id_struct)
  4220. }
  4221. // required .message.Wanji_manager_status wanji_manager_status = 3;
  4222. inline bool Ground_status_msg::_internal_has_wanji_manager_status() const {
  4223. bool value = (_has_bits_[0] & 0x00000010u) != 0;
  4224. return value;
  4225. }
  4226. inline bool Ground_status_msg::has_wanji_manager_status() const {
  4227. return _internal_has_wanji_manager_status();
  4228. }
  4229. inline void Ground_status_msg::clear_wanji_manager_status() {
  4230. wanji_manager_status_ = 0;
  4231. _has_bits_[0] &= ~0x00000010u;
  4232. }
  4233. inline ::message::Wanji_manager_status Ground_status_msg::_internal_wanji_manager_status() const {
  4234. return static_cast< ::message::Wanji_manager_status >(wanji_manager_status_);
  4235. }
  4236. inline ::message::Wanji_manager_status Ground_status_msg::wanji_manager_status() const {
  4237. // @@protoc_insertion_point(field_get:message.Ground_status_msg.wanji_manager_status)
  4238. return _internal_wanji_manager_status();
  4239. }
  4240. inline void Ground_status_msg::_internal_set_wanji_manager_status(::message::Wanji_manager_status value) {
  4241. assert(::message::Wanji_manager_status_IsValid(value));
  4242. _has_bits_[0] |= 0x00000010u;
  4243. wanji_manager_status_ = value;
  4244. }
  4245. inline void Ground_status_msg::set_wanji_manager_status(::message::Wanji_manager_status value) {
  4246. _internal_set_wanji_manager_status(value);
  4247. // @@protoc_insertion_point(field_set:message.Ground_status_msg.wanji_manager_status)
  4248. }
  4249. // repeated .message.Wanji_lidar_device_status wanji_lidar_device_status = 4;
  4250. inline int Ground_status_msg::_internal_wanji_lidar_device_status_size() const {
  4251. return wanji_lidar_device_status_.size();
  4252. }
  4253. inline int Ground_status_msg::wanji_lidar_device_status_size() const {
  4254. return _internal_wanji_lidar_device_status_size();
  4255. }
  4256. inline void Ground_status_msg::clear_wanji_lidar_device_status() {
  4257. wanji_lidar_device_status_.Clear();
  4258. }
  4259. inline ::message::Wanji_lidar_device_status Ground_status_msg::_internal_wanji_lidar_device_status(int index) const {
  4260. return static_cast< ::message::Wanji_lidar_device_status >(wanji_lidar_device_status_.Get(index));
  4261. }
  4262. inline ::message::Wanji_lidar_device_status Ground_status_msg::wanji_lidar_device_status(int index) const {
  4263. // @@protoc_insertion_point(field_get:message.Ground_status_msg.wanji_lidar_device_status)
  4264. return _internal_wanji_lidar_device_status(index);
  4265. }
  4266. inline void Ground_status_msg::set_wanji_lidar_device_status(int index, ::message::Wanji_lidar_device_status value) {
  4267. assert(::message::Wanji_lidar_device_status_IsValid(value));
  4268. wanji_lidar_device_status_.Set(index, value);
  4269. // @@protoc_insertion_point(field_set:message.Ground_status_msg.wanji_lidar_device_status)
  4270. }
  4271. inline void Ground_status_msg::_internal_add_wanji_lidar_device_status(::message::Wanji_lidar_device_status value) {
  4272. assert(::message::Wanji_lidar_device_status_IsValid(value));
  4273. wanji_lidar_device_status_.Add(value);
  4274. }
  4275. inline void Ground_status_msg::add_wanji_lidar_device_status(::message::Wanji_lidar_device_status value) {
  4276. // @@protoc_insertion_point(field_add:message.Ground_status_msg.wanji_lidar_device_status)
  4277. _internal_add_wanji_lidar_device_status(value);
  4278. }
  4279. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
  4280. Ground_status_msg::wanji_lidar_device_status() const {
  4281. // @@protoc_insertion_point(field_list:message.Ground_status_msg.wanji_lidar_device_status)
  4282. return wanji_lidar_device_status_;
  4283. }
  4284. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
  4285. Ground_status_msg::_internal_mutable_wanji_lidar_device_status() {
  4286. return &wanji_lidar_device_status_;
  4287. }
  4288. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
  4289. Ground_status_msg::mutable_wanji_lidar_device_status() {
  4290. // @@protoc_insertion_point(field_mutable_list:message.Ground_status_msg.wanji_lidar_device_status)
  4291. return _internal_mutable_wanji_lidar_device_status();
  4292. }
  4293. // required .message.Region_worker_status region_worker_status = 5;
  4294. inline bool Ground_status_msg::_internal_has_region_worker_status() const {
  4295. bool value = (_has_bits_[0] & 0x00000020u) != 0;
  4296. return value;
  4297. }
  4298. inline bool Ground_status_msg::has_region_worker_status() const {
  4299. return _internal_has_region_worker_status();
  4300. }
  4301. inline void Ground_status_msg::clear_region_worker_status() {
  4302. region_worker_status_ = 0;
  4303. _has_bits_[0] &= ~0x00000020u;
  4304. }
  4305. inline ::message::Region_worker_status Ground_status_msg::_internal_region_worker_status() const {
  4306. return static_cast< ::message::Region_worker_status >(region_worker_status_);
  4307. }
  4308. inline ::message::Region_worker_status Ground_status_msg::region_worker_status() const {
  4309. // @@protoc_insertion_point(field_get:message.Ground_status_msg.region_worker_status)
  4310. return _internal_region_worker_status();
  4311. }
  4312. inline void Ground_status_msg::_internal_set_region_worker_status(::message::Region_worker_status value) {
  4313. assert(::message::Region_worker_status_IsValid(value));
  4314. _has_bits_[0] |= 0x00000020u;
  4315. region_worker_status_ = value;
  4316. }
  4317. inline void Ground_status_msg::set_region_worker_status(::message::Region_worker_status value) {
  4318. _internal_set_region_worker_status(value);
  4319. // @@protoc_insertion_point(field_set:message.Ground_status_msg.region_worker_status)
  4320. }
  4321. // required .message.Locate_information locate_information_realtime = 6;
  4322. inline bool Ground_status_msg::_internal_has_locate_information_realtime() const {
  4323. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  4324. PROTOBUF_ASSUME(!value || locate_information_realtime_ != nullptr);
  4325. return value;
  4326. }
  4327. inline bool Ground_status_msg::has_locate_information_realtime() const {
  4328. return _internal_has_locate_information_realtime();
  4329. }
  4330. inline const ::message::Locate_information& Ground_status_msg::_internal_locate_information_realtime() const {
  4331. const ::message::Locate_information* p = locate_information_realtime_;
  4332. return p != nullptr ? *p : *reinterpret_cast<const ::message::Locate_information*>(
  4333. &::message::_Locate_information_default_instance_);
  4334. }
  4335. inline const ::message::Locate_information& Ground_status_msg::locate_information_realtime() const {
  4336. // @@protoc_insertion_point(field_get:message.Ground_status_msg.locate_information_realtime)
  4337. return _internal_locate_information_realtime();
  4338. }
  4339. inline void Ground_status_msg::unsafe_arena_set_allocated_locate_information_realtime(
  4340. ::message::Locate_information* locate_information_realtime) {
  4341. if (GetArena() == nullptr) {
  4342. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(locate_information_realtime_);
  4343. }
  4344. locate_information_realtime_ = locate_information_realtime;
  4345. if (locate_information_realtime) {
  4346. _has_bits_[0] |= 0x00000004u;
  4347. } else {
  4348. _has_bits_[0] &= ~0x00000004u;
  4349. }
  4350. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:message.Ground_status_msg.locate_information_realtime)
  4351. }
  4352. inline ::message::Locate_information* Ground_status_msg::release_locate_information_realtime() {
  4353. _has_bits_[0] &= ~0x00000004u;
  4354. ::message::Locate_information* temp = locate_information_realtime_;
  4355. locate_information_realtime_ = nullptr;
  4356. if (GetArena() != nullptr) {
  4357. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  4358. }
  4359. return temp;
  4360. }
  4361. inline ::message::Locate_information* Ground_status_msg::unsafe_arena_release_locate_information_realtime() {
  4362. // @@protoc_insertion_point(field_release:message.Ground_status_msg.locate_information_realtime)
  4363. _has_bits_[0] &= ~0x00000004u;
  4364. ::message::Locate_information* temp = locate_information_realtime_;
  4365. locate_information_realtime_ = nullptr;
  4366. return temp;
  4367. }
  4368. inline ::message::Locate_information* Ground_status_msg::_internal_mutable_locate_information_realtime() {
  4369. _has_bits_[0] |= 0x00000004u;
  4370. if (locate_information_realtime_ == nullptr) {
  4371. auto* p = CreateMaybeMessage<::message::Locate_information>(GetArena());
  4372. locate_information_realtime_ = p;
  4373. }
  4374. return locate_information_realtime_;
  4375. }
  4376. inline ::message::Locate_information* Ground_status_msg::mutable_locate_information_realtime() {
  4377. // @@protoc_insertion_point(field_mutable:message.Ground_status_msg.locate_information_realtime)
  4378. return _internal_mutable_locate_information_realtime();
  4379. }
  4380. inline void Ground_status_msg::set_allocated_locate_information_realtime(::message::Locate_information* locate_information_realtime) {
  4381. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  4382. if (message_arena == nullptr) {
  4383. delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(locate_information_realtime_);
  4384. }
  4385. if (locate_information_realtime) {
  4386. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  4387. reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(locate_information_realtime)->GetArena();
  4388. if (message_arena != submessage_arena) {
  4389. locate_information_realtime = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  4390. message_arena, locate_information_realtime, submessage_arena);
  4391. }
  4392. _has_bits_[0] |= 0x00000004u;
  4393. } else {
  4394. _has_bits_[0] &= ~0x00000004u;
  4395. }
  4396. locate_information_realtime_ = locate_information_realtime;
  4397. // @@protoc_insertion_point(field_set_allocated:message.Ground_status_msg.locate_information_realtime)
  4398. }
  4399. // required .message.Ground_statu ground_status = 7;
  4400. inline bool Ground_status_msg::_internal_has_ground_status() const {
  4401. bool value = (_has_bits_[0] & 0x00000040u) != 0;
  4402. return value;
  4403. }
  4404. inline bool Ground_status_msg::has_ground_status() const {
  4405. return _internal_has_ground_status();
  4406. }
  4407. inline void Ground_status_msg::clear_ground_status() {
  4408. ground_status_ = 0;
  4409. _has_bits_[0] &= ~0x00000040u;
  4410. }
  4411. inline ::message::Ground_statu Ground_status_msg::_internal_ground_status() const {
  4412. return static_cast< ::message::Ground_statu >(ground_status_);
  4413. }
  4414. inline ::message::Ground_statu Ground_status_msg::ground_status() const {
  4415. // @@protoc_insertion_point(field_get:message.Ground_status_msg.ground_status)
  4416. return _internal_ground_status();
  4417. }
  4418. inline void Ground_status_msg::_internal_set_ground_status(::message::Ground_statu value) {
  4419. assert(::message::Ground_statu_IsValid(value));
  4420. _has_bits_[0] |= 0x00000040u;
  4421. ground_status_ = value;
  4422. }
  4423. inline void Ground_status_msg::set_ground_status(::message::Ground_statu value) {
  4424. _internal_set_ground_status(value);
  4425. // @@protoc_insertion_point(field_set:message.Ground_status_msg.ground_status)
  4426. }
  4427. // required .message.Error_manager error_manager = 8;
  4428. inline bool Ground_status_msg::_internal_has_error_manager() const {
  4429. bool value = (_has_bits_[0] & 0x00000008u) != 0;
  4430. PROTOBUF_ASSUME(!value || error_manager_ != nullptr);
  4431. return value;
  4432. }
  4433. inline bool Ground_status_msg::has_error_manager() const {
  4434. return _internal_has_error_manager();
  4435. }
  4436. inline const ::message::Error_manager& Ground_status_msg::_internal_error_manager() const {
  4437. const ::message::Error_manager* p = error_manager_;
  4438. return p != nullptr ? *p : *reinterpret_cast<const ::message::Error_manager*>(
  4439. &::message::_Error_manager_default_instance_);
  4440. }
  4441. inline const ::message::Error_manager& Ground_status_msg::error_manager() const {
  4442. // @@protoc_insertion_point(field_get:message.Ground_status_msg.error_manager)
  4443. return _internal_error_manager();
  4444. }
  4445. inline void Ground_status_msg::unsafe_arena_set_allocated_error_manager(
  4446. ::message::Error_manager* error_manager) {
  4447. if (GetArena() == nullptr) {
  4448. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(error_manager_);
  4449. }
  4450. error_manager_ = error_manager;
  4451. if (error_manager) {
  4452. _has_bits_[0] |= 0x00000008u;
  4453. } else {
  4454. _has_bits_[0] &= ~0x00000008u;
  4455. }
  4456. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:message.Ground_status_msg.error_manager)
  4457. }
  4458. inline ::message::Error_manager* Ground_status_msg::release_error_manager() {
  4459. _has_bits_[0] &= ~0x00000008u;
  4460. ::message::Error_manager* temp = error_manager_;
  4461. error_manager_ = nullptr;
  4462. if (GetArena() != nullptr) {
  4463. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  4464. }
  4465. return temp;
  4466. }
  4467. inline ::message::Error_manager* Ground_status_msg::unsafe_arena_release_error_manager() {
  4468. // @@protoc_insertion_point(field_release:message.Ground_status_msg.error_manager)
  4469. _has_bits_[0] &= ~0x00000008u;
  4470. ::message::Error_manager* temp = error_manager_;
  4471. error_manager_ = nullptr;
  4472. return temp;
  4473. }
  4474. inline ::message::Error_manager* Ground_status_msg::_internal_mutable_error_manager() {
  4475. _has_bits_[0] |= 0x00000008u;
  4476. if (error_manager_ == nullptr) {
  4477. auto* p = CreateMaybeMessage<::message::Error_manager>(GetArena());
  4478. error_manager_ = p;
  4479. }
  4480. return error_manager_;
  4481. }
  4482. inline ::message::Error_manager* Ground_status_msg::mutable_error_manager() {
  4483. // @@protoc_insertion_point(field_mutable:message.Ground_status_msg.error_manager)
  4484. return _internal_mutable_error_manager();
  4485. }
  4486. inline void Ground_status_msg::set_allocated_error_manager(::message::Error_manager* error_manager) {
  4487. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  4488. if (message_arena == nullptr) {
  4489. delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(error_manager_);
  4490. }
  4491. if (error_manager) {
  4492. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  4493. reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(error_manager)->GetArena();
  4494. if (message_arena != submessage_arena) {
  4495. error_manager = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  4496. message_arena, error_manager, submessage_arena);
  4497. }
  4498. _has_bits_[0] |= 0x00000008u;
  4499. } else {
  4500. _has_bits_[0] &= ~0x00000008u;
  4501. }
  4502. error_manager_ = error_manager;
  4503. // @@protoc_insertion_point(field_set_allocated:message.Ground_status_msg.error_manager)
  4504. }
  4505. // -------------------------------------------------------------------
  4506. // Cloud_coordinate
  4507. // required float x = 1;
  4508. inline bool Cloud_coordinate::_internal_has_x() const {
  4509. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  4510. return value;
  4511. }
  4512. inline bool Cloud_coordinate::has_x() const {
  4513. return _internal_has_x();
  4514. }
  4515. inline void Cloud_coordinate::clear_x() {
  4516. x_ = 0;
  4517. _has_bits_[0] &= ~0x00000001u;
  4518. }
  4519. inline float Cloud_coordinate::_internal_x() const {
  4520. return x_;
  4521. }
  4522. inline float Cloud_coordinate::x() const {
  4523. // @@protoc_insertion_point(field_get:message.Cloud_coordinate.x)
  4524. return _internal_x();
  4525. }
  4526. inline void Cloud_coordinate::_internal_set_x(float value) {
  4527. _has_bits_[0] |= 0x00000001u;
  4528. x_ = value;
  4529. }
  4530. inline void Cloud_coordinate::set_x(float value) {
  4531. _internal_set_x(value);
  4532. // @@protoc_insertion_point(field_set:message.Cloud_coordinate.x)
  4533. }
  4534. // required float y = 2;
  4535. inline bool Cloud_coordinate::_internal_has_y() const {
  4536. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  4537. return value;
  4538. }
  4539. inline bool Cloud_coordinate::has_y() const {
  4540. return _internal_has_y();
  4541. }
  4542. inline void Cloud_coordinate::clear_y() {
  4543. y_ = 0;
  4544. _has_bits_[0] &= ~0x00000002u;
  4545. }
  4546. inline float Cloud_coordinate::_internal_y() const {
  4547. return y_;
  4548. }
  4549. inline float Cloud_coordinate::y() const {
  4550. // @@protoc_insertion_point(field_get:message.Cloud_coordinate.y)
  4551. return _internal_y();
  4552. }
  4553. inline void Cloud_coordinate::_internal_set_y(float value) {
  4554. _has_bits_[0] |= 0x00000002u;
  4555. y_ = value;
  4556. }
  4557. inline void Cloud_coordinate::set_y(float value) {
  4558. _internal_set_y(value);
  4559. // @@protoc_insertion_point(field_set:message.Cloud_coordinate.y)
  4560. }
  4561. // required float z = 3;
  4562. inline bool Cloud_coordinate::_internal_has_z() const {
  4563. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  4564. return value;
  4565. }
  4566. inline bool Cloud_coordinate::has_z() const {
  4567. return _internal_has_z();
  4568. }
  4569. inline void Cloud_coordinate::clear_z() {
  4570. z_ = 0;
  4571. _has_bits_[0] &= ~0x00000004u;
  4572. }
  4573. inline float Cloud_coordinate::_internal_z() const {
  4574. return z_;
  4575. }
  4576. inline float Cloud_coordinate::z() const {
  4577. // @@protoc_insertion_point(field_get:message.Cloud_coordinate.z)
  4578. return _internal_z();
  4579. }
  4580. inline void Cloud_coordinate::_internal_set_z(float value) {
  4581. _has_bits_[0] |= 0x00000004u;
  4582. z_ = value;
  4583. }
  4584. inline void Cloud_coordinate::set_z(float value) {
  4585. _internal_set_z(value);
  4586. // @@protoc_insertion_point(field_set:message.Cloud_coordinate.z)
  4587. }
  4588. // -------------------------------------------------------------------
  4589. // Cloud_type
  4590. // required int32 type = 1;
  4591. inline bool Cloud_type::_internal_has_type() const {
  4592. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  4593. return value;
  4594. }
  4595. inline bool Cloud_type::has_type() const {
  4596. return _internal_has_type();
  4597. }
  4598. inline void Cloud_type::clear_type() {
  4599. type_ = 0;
  4600. _has_bits_[0] &= ~0x00000001u;
  4601. }
  4602. inline ::PROTOBUF_NAMESPACE_ID::int32 Cloud_type::_internal_type() const {
  4603. return type_;
  4604. }
  4605. inline ::PROTOBUF_NAMESPACE_ID::int32 Cloud_type::type() const {
  4606. // @@protoc_insertion_point(field_get:message.Cloud_type.type)
  4607. return _internal_type();
  4608. }
  4609. inline void Cloud_type::_internal_set_type(::PROTOBUF_NAMESPACE_ID::int32 value) {
  4610. _has_bits_[0] |= 0x00000001u;
  4611. type_ = value;
  4612. }
  4613. inline void Cloud_type::set_type(::PROTOBUF_NAMESPACE_ID::int32 value) {
  4614. _internal_set_type(value);
  4615. // @@protoc_insertion_point(field_set:message.Cloud_type.type)
  4616. }
  4617. // -------------------------------------------------------------------
  4618. // Locate_sift_request_msg
  4619. // required .message.Base_info base_info = 1;
  4620. inline bool Locate_sift_request_msg::_internal_has_base_info() const {
  4621. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  4622. PROTOBUF_ASSUME(!value || base_info_ != nullptr);
  4623. return value;
  4624. }
  4625. inline bool Locate_sift_request_msg::has_base_info() const {
  4626. return _internal_has_base_info();
  4627. }
  4628. inline const ::message::Base_info& Locate_sift_request_msg::_internal_base_info() const {
  4629. const ::message::Base_info* p = base_info_;
  4630. return p != nullptr ? *p : *reinterpret_cast<const ::message::Base_info*>(
  4631. &::message::_Base_info_default_instance_);
  4632. }
  4633. inline const ::message::Base_info& Locate_sift_request_msg::base_info() const {
  4634. // @@protoc_insertion_point(field_get:message.Locate_sift_request_msg.base_info)
  4635. return _internal_base_info();
  4636. }
  4637. inline void Locate_sift_request_msg::unsafe_arena_set_allocated_base_info(
  4638. ::message::Base_info* base_info) {
  4639. if (GetArena() == nullptr) {
  4640. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info_);
  4641. }
  4642. base_info_ = base_info;
  4643. if (base_info) {
  4644. _has_bits_[0] |= 0x00000002u;
  4645. } else {
  4646. _has_bits_[0] &= ~0x00000002u;
  4647. }
  4648. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:message.Locate_sift_request_msg.base_info)
  4649. }
  4650. inline ::message::Base_info* Locate_sift_request_msg::release_base_info() {
  4651. _has_bits_[0] &= ~0x00000002u;
  4652. ::message::Base_info* temp = base_info_;
  4653. base_info_ = nullptr;
  4654. if (GetArena() != nullptr) {
  4655. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  4656. }
  4657. return temp;
  4658. }
  4659. inline ::message::Base_info* Locate_sift_request_msg::unsafe_arena_release_base_info() {
  4660. // @@protoc_insertion_point(field_release:message.Locate_sift_request_msg.base_info)
  4661. _has_bits_[0] &= ~0x00000002u;
  4662. ::message::Base_info* temp = base_info_;
  4663. base_info_ = nullptr;
  4664. return temp;
  4665. }
  4666. inline ::message::Base_info* Locate_sift_request_msg::_internal_mutable_base_info() {
  4667. _has_bits_[0] |= 0x00000002u;
  4668. if (base_info_ == nullptr) {
  4669. auto* p = CreateMaybeMessage<::message::Base_info>(GetArena());
  4670. base_info_ = p;
  4671. }
  4672. return base_info_;
  4673. }
  4674. inline ::message::Base_info* Locate_sift_request_msg::mutable_base_info() {
  4675. // @@protoc_insertion_point(field_mutable:message.Locate_sift_request_msg.base_info)
  4676. return _internal_mutable_base_info();
  4677. }
  4678. inline void Locate_sift_request_msg::set_allocated_base_info(::message::Base_info* base_info) {
  4679. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  4680. if (message_arena == nullptr) {
  4681. delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info_);
  4682. }
  4683. if (base_info) {
  4684. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  4685. reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info)->GetArena();
  4686. if (message_arena != submessage_arena) {
  4687. base_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  4688. message_arena, base_info, submessage_arena);
  4689. }
  4690. _has_bits_[0] |= 0x00000002u;
  4691. } else {
  4692. _has_bits_[0] &= ~0x00000002u;
  4693. }
  4694. base_info_ = base_info;
  4695. // @@protoc_insertion_point(field_set_allocated:message.Locate_sift_request_msg.base_info)
  4696. }
  4697. // required string command_key = 2;
  4698. inline bool Locate_sift_request_msg::_internal_has_command_key() const {
  4699. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  4700. return value;
  4701. }
  4702. inline bool Locate_sift_request_msg::has_command_key() const {
  4703. return _internal_has_command_key();
  4704. }
  4705. inline void Locate_sift_request_msg::clear_command_key() {
  4706. command_key_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  4707. _has_bits_[0] &= ~0x00000001u;
  4708. }
  4709. inline const std::string& Locate_sift_request_msg::command_key() const {
  4710. // @@protoc_insertion_point(field_get:message.Locate_sift_request_msg.command_key)
  4711. return _internal_command_key();
  4712. }
  4713. inline void Locate_sift_request_msg::set_command_key(const std::string& value) {
  4714. _internal_set_command_key(value);
  4715. // @@protoc_insertion_point(field_set:message.Locate_sift_request_msg.command_key)
  4716. }
  4717. inline std::string* Locate_sift_request_msg::mutable_command_key() {
  4718. // @@protoc_insertion_point(field_mutable:message.Locate_sift_request_msg.command_key)
  4719. return _internal_mutable_command_key();
  4720. }
  4721. inline const std::string& Locate_sift_request_msg::_internal_command_key() const {
  4722. return command_key_.Get();
  4723. }
  4724. inline void Locate_sift_request_msg::_internal_set_command_key(const std::string& value) {
  4725. _has_bits_[0] |= 0x00000001u;
  4726. command_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
  4727. }
  4728. inline void Locate_sift_request_msg::set_command_key(std::string&& value) {
  4729. _has_bits_[0] |= 0x00000001u;
  4730. command_key_.Set(
  4731. &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
  4732. // @@protoc_insertion_point(field_set_rvalue:message.Locate_sift_request_msg.command_key)
  4733. }
  4734. inline void Locate_sift_request_msg::set_command_key(const char* value) {
  4735. GOOGLE_DCHECK(value != nullptr);
  4736. _has_bits_[0] |= 0x00000001u;
  4737. command_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
  4738. GetArena());
  4739. // @@protoc_insertion_point(field_set_char:message.Locate_sift_request_msg.command_key)
  4740. }
  4741. inline void Locate_sift_request_msg::set_command_key(const char* value,
  4742. size_t size) {
  4743. _has_bits_[0] |= 0x00000001u;
  4744. command_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
  4745. reinterpret_cast<const char*>(value), size), GetArena());
  4746. // @@protoc_insertion_point(field_set_pointer:message.Locate_sift_request_msg.command_key)
  4747. }
  4748. inline std::string* Locate_sift_request_msg::_internal_mutable_command_key() {
  4749. _has_bits_[0] |= 0x00000001u;
  4750. return command_key_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  4751. }
  4752. inline std::string* Locate_sift_request_msg::release_command_key() {
  4753. // @@protoc_insertion_point(field_release:message.Locate_sift_request_msg.command_key)
  4754. if (!_internal_has_command_key()) {
  4755. return nullptr;
  4756. }
  4757. _has_bits_[0] &= ~0x00000001u;
  4758. return command_key_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  4759. }
  4760. inline void Locate_sift_request_msg::set_allocated_command_key(std::string* command_key) {
  4761. if (command_key != nullptr) {
  4762. _has_bits_[0] |= 0x00000001u;
  4763. } else {
  4764. _has_bits_[0] &= ~0x00000001u;
  4765. }
  4766. command_key_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), command_key,
  4767. GetArena());
  4768. // @@protoc_insertion_point(field_set_allocated:message.Locate_sift_request_msg.command_key)
  4769. }
  4770. // required .message.Id_struct id_struct = 3;
  4771. inline bool Locate_sift_request_msg::_internal_has_id_struct() const {
  4772. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  4773. PROTOBUF_ASSUME(!value || id_struct_ != nullptr);
  4774. return value;
  4775. }
  4776. inline bool Locate_sift_request_msg::has_id_struct() const {
  4777. return _internal_has_id_struct();
  4778. }
  4779. inline const ::message::Id_struct& Locate_sift_request_msg::_internal_id_struct() const {
  4780. const ::message::Id_struct* p = id_struct_;
  4781. return p != nullptr ? *p : *reinterpret_cast<const ::message::Id_struct*>(
  4782. &::message::_Id_struct_default_instance_);
  4783. }
  4784. inline const ::message::Id_struct& Locate_sift_request_msg::id_struct() const {
  4785. // @@protoc_insertion_point(field_get:message.Locate_sift_request_msg.id_struct)
  4786. return _internal_id_struct();
  4787. }
  4788. inline void Locate_sift_request_msg::unsafe_arena_set_allocated_id_struct(
  4789. ::message::Id_struct* id_struct) {
  4790. if (GetArena() == nullptr) {
  4791. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(id_struct_);
  4792. }
  4793. id_struct_ = id_struct;
  4794. if (id_struct) {
  4795. _has_bits_[0] |= 0x00000004u;
  4796. } else {
  4797. _has_bits_[0] &= ~0x00000004u;
  4798. }
  4799. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:message.Locate_sift_request_msg.id_struct)
  4800. }
  4801. inline ::message::Id_struct* Locate_sift_request_msg::release_id_struct() {
  4802. _has_bits_[0] &= ~0x00000004u;
  4803. ::message::Id_struct* temp = id_struct_;
  4804. id_struct_ = nullptr;
  4805. if (GetArena() != nullptr) {
  4806. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  4807. }
  4808. return temp;
  4809. }
  4810. inline ::message::Id_struct* Locate_sift_request_msg::unsafe_arena_release_id_struct() {
  4811. // @@protoc_insertion_point(field_release:message.Locate_sift_request_msg.id_struct)
  4812. _has_bits_[0] &= ~0x00000004u;
  4813. ::message::Id_struct* temp = id_struct_;
  4814. id_struct_ = nullptr;
  4815. return temp;
  4816. }
  4817. inline ::message::Id_struct* Locate_sift_request_msg::_internal_mutable_id_struct() {
  4818. _has_bits_[0] |= 0x00000004u;
  4819. if (id_struct_ == nullptr) {
  4820. auto* p = CreateMaybeMessage<::message::Id_struct>(GetArena());
  4821. id_struct_ = p;
  4822. }
  4823. return id_struct_;
  4824. }
  4825. inline ::message::Id_struct* Locate_sift_request_msg::mutable_id_struct() {
  4826. // @@protoc_insertion_point(field_mutable:message.Locate_sift_request_msg.id_struct)
  4827. return _internal_mutable_id_struct();
  4828. }
  4829. inline void Locate_sift_request_msg::set_allocated_id_struct(::message::Id_struct* id_struct) {
  4830. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  4831. if (message_arena == nullptr) {
  4832. delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(id_struct_);
  4833. }
  4834. if (id_struct) {
  4835. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  4836. reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(id_struct)->GetArena();
  4837. if (message_arena != submessage_arena) {
  4838. id_struct = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  4839. message_arena, id_struct, submessage_arena);
  4840. }
  4841. _has_bits_[0] |= 0x00000004u;
  4842. } else {
  4843. _has_bits_[0] &= ~0x00000004u;
  4844. }
  4845. id_struct_ = id_struct;
  4846. // @@protoc_insertion_point(field_set_allocated:message.Locate_sift_request_msg.id_struct)
  4847. }
  4848. // required int32 lidar_id = 4;
  4849. inline bool Locate_sift_request_msg::_internal_has_lidar_id() const {
  4850. bool value = (_has_bits_[0] & 0x00000008u) != 0;
  4851. return value;
  4852. }
  4853. inline bool Locate_sift_request_msg::has_lidar_id() const {
  4854. return _internal_has_lidar_id();
  4855. }
  4856. inline void Locate_sift_request_msg::clear_lidar_id() {
  4857. lidar_id_ = 0;
  4858. _has_bits_[0] &= ~0x00000008u;
  4859. }
  4860. inline ::PROTOBUF_NAMESPACE_ID::int32 Locate_sift_request_msg::_internal_lidar_id() const {
  4861. return lidar_id_;
  4862. }
  4863. inline ::PROTOBUF_NAMESPACE_ID::int32 Locate_sift_request_msg::lidar_id() const {
  4864. // @@protoc_insertion_point(field_get:message.Locate_sift_request_msg.lidar_id)
  4865. return _internal_lidar_id();
  4866. }
  4867. inline void Locate_sift_request_msg::_internal_set_lidar_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
  4868. _has_bits_[0] |= 0x00000008u;
  4869. lidar_id_ = value;
  4870. }
  4871. inline void Locate_sift_request_msg::set_lidar_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
  4872. _internal_set_lidar_id(value);
  4873. // @@protoc_insertion_point(field_set:message.Locate_sift_request_msg.lidar_id)
  4874. }
  4875. // repeated .message.Cloud_coordinate cloud_coordinates = 5;
  4876. inline int Locate_sift_request_msg::_internal_cloud_coordinates_size() const {
  4877. return cloud_coordinates_.size();
  4878. }
  4879. inline int Locate_sift_request_msg::cloud_coordinates_size() const {
  4880. return _internal_cloud_coordinates_size();
  4881. }
  4882. inline void Locate_sift_request_msg::clear_cloud_coordinates() {
  4883. cloud_coordinates_.Clear();
  4884. }
  4885. inline ::message::Cloud_coordinate* Locate_sift_request_msg::mutable_cloud_coordinates(int index) {
  4886. // @@protoc_insertion_point(field_mutable:message.Locate_sift_request_msg.cloud_coordinates)
  4887. return cloud_coordinates_.Mutable(index);
  4888. }
  4889. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::message::Cloud_coordinate >*
  4890. Locate_sift_request_msg::mutable_cloud_coordinates() {
  4891. // @@protoc_insertion_point(field_mutable_list:message.Locate_sift_request_msg.cloud_coordinates)
  4892. return &cloud_coordinates_;
  4893. }
  4894. inline const ::message::Cloud_coordinate& Locate_sift_request_msg::_internal_cloud_coordinates(int index) const {
  4895. return cloud_coordinates_.Get(index);
  4896. }
  4897. inline const ::message::Cloud_coordinate& Locate_sift_request_msg::cloud_coordinates(int index) const {
  4898. // @@protoc_insertion_point(field_get:message.Locate_sift_request_msg.cloud_coordinates)
  4899. return _internal_cloud_coordinates(index);
  4900. }
  4901. inline ::message::Cloud_coordinate* Locate_sift_request_msg::_internal_add_cloud_coordinates() {
  4902. return cloud_coordinates_.Add();
  4903. }
  4904. inline ::message::Cloud_coordinate* Locate_sift_request_msg::add_cloud_coordinates() {
  4905. // @@protoc_insertion_point(field_add:message.Locate_sift_request_msg.cloud_coordinates)
  4906. return _internal_add_cloud_coordinates();
  4907. }
  4908. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::message::Cloud_coordinate >&
  4909. Locate_sift_request_msg::cloud_coordinates() const {
  4910. // @@protoc_insertion_point(field_list:message.Locate_sift_request_msg.cloud_coordinates)
  4911. return cloud_coordinates_;
  4912. }
  4913. // -------------------------------------------------------------------
  4914. // Locate_sift_response_msg
  4915. // required .message.Base_info base_info = 1;
  4916. inline bool Locate_sift_response_msg::_internal_has_base_info() const {
  4917. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  4918. PROTOBUF_ASSUME(!value || base_info_ != nullptr);
  4919. return value;
  4920. }
  4921. inline bool Locate_sift_response_msg::has_base_info() const {
  4922. return _internal_has_base_info();
  4923. }
  4924. inline const ::message::Base_info& Locate_sift_response_msg::_internal_base_info() const {
  4925. const ::message::Base_info* p = base_info_;
  4926. return p != nullptr ? *p : *reinterpret_cast<const ::message::Base_info*>(
  4927. &::message::_Base_info_default_instance_);
  4928. }
  4929. inline const ::message::Base_info& Locate_sift_response_msg::base_info() const {
  4930. // @@protoc_insertion_point(field_get:message.Locate_sift_response_msg.base_info)
  4931. return _internal_base_info();
  4932. }
  4933. inline void Locate_sift_response_msg::unsafe_arena_set_allocated_base_info(
  4934. ::message::Base_info* base_info) {
  4935. if (GetArena() == nullptr) {
  4936. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info_);
  4937. }
  4938. base_info_ = base_info;
  4939. if (base_info) {
  4940. _has_bits_[0] |= 0x00000002u;
  4941. } else {
  4942. _has_bits_[0] &= ~0x00000002u;
  4943. }
  4944. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:message.Locate_sift_response_msg.base_info)
  4945. }
  4946. inline ::message::Base_info* Locate_sift_response_msg::release_base_info() {
  4947. _has_bits_[0] &= ~0x00000002u;
  4948. ::message::Base_info* temp = base_info_;
  4949. base_info_ = nullptr;
  4950. if (GetArena() != nullptr) {
  4951. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  4952. }
  4953. return temp;
  4954. }
  4955. inline ::message::Base_info* Locate_sift_response_msg::unsafe_arena_release_base_info() {
  4956. // @@protoc_insertion_point(field_release:message.Locate_sift_response_msg.base_info)
  4957. _has_bits_[0] &= ~0x00000002u;
  4958. ::message::Base_info* temp = base_info_;
  4959. base_info_ = nullptr;
  4960. return temp;
  4961. }
  4962. inline ::message::Base_info* Locate_sift_response_msg::_internal_mutable_base_info() {
  4963. _has_bits_[0] |= 0x00000002u;
  4964. if (base_info_ == nullptr) {
  4965. auto* p = CreateMaybeMessage<::message::Base_info>(GetArena());
  4966. base_info_ = p;
  4967. }
  4968. return base_info_;
  4969. }
  4970. inline ::message::Base_info* Locate_sift_response_msg::mutable_base_info() {
  4971. // @@protoc_insertion_point(field_mutable:message.Locate_sift_response_msg.base_info)
  4972. return _internal_mutable_base_info();
  4973. }
  4974. inline void Locate_sift_response_msg::set_allocated_base_info(::message::Base_info* base_info) {
  4975. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  4976. if (message_arena == nullptr) {
  4977. delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info_);
  4978. }
  4979. if (base_info) {
  4980. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  4981. reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info)->GetArena();
  4982. if (message_arena != submessage_arena) {
  4983. base_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  4984. message_arena, base_info, submessage_arena);
  4985. }
  4986. _has_bits_[0] |= 0x00000002u;
  4987. } else {
  4988. _has_bits_[0] &= ~0x00000002u;
  4989. }
  4990. base_info_ = base_info;
  4991. // @@protoc_insertion_point(field_set_allocated:message.Locate_sift_response_msg.base_info)
  4992. }
  4993. // required string command_key = 2;
  4994. inline bool Locate_sift_response_msg::_internal_has_command_key() const {
  4995. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  4996. return value;
  4997. }
  4998. inline bool Locate_sift_response_msg::has_command_key() const {
  4999. return _internal_has_command_key();
  5000. }
  5001. inline void Locate_sift_response_msg::clear_command_key() {
  5002. command_key_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  5003. _has_bits_[0] &= ~0x00000001u;
  5004. }
  5005. inline const std::string& Locate_sift_response_msg::command_key() const {
  5006. // @@protoc_insertion_point(field_get:message.Locate_sift_response_msg.command_key)
  5007. return _internal_command_key();
  5008. }
  5009. inline void Locate_sift_response_msg::set_command_key(const std::string& value) {
  5010. _internal_set_command_key(value);
  5011. // @@protoc_insertion_point(field_set:message.Locate_sift_response_msg.command_key)
  5012. }
  5013. inline std::string* Locate_sift_response_msg::mutable_command_key() {
  5014. // @@protoc_insertion_point(field_mutable:message.Locate_sift_response_msg.command_key)
  5015. return _internal_mutable_command_key();
  5016. }
  5017. inline const std::string& Locate_sift_response_msg::_internal_command_key() const {
  5018. return command_key_.Get();
  5019. }
  5020. inline void Locate_sift_response_msg::_internal_set_command_key(const std::string& value) {
  5021. _has_bits_[0] |= 0x00000001u;
  5022. command_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
  5023. }
  5024. inline void Locate_sift_response_msg::set_command_key(std::string&& value) {
  5025. _has_bits_[0] |= 0x00000001u;
  5026. command_key_.Set(
  5027. &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
  5028. // @@protoc_insertion_point(field_set_rvalue:message.Locate_sift_response_msg.command_key)
  5029. }
  5030. inline void Locate_sift_response_msg::set_command_key(const char* value) {
  5031. GOOGLE_DCHECK(value != nullptr);
  5032. _has_bits_[0] |= 0x00000001u;
  5033. command_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
  5034. GetArena());
  5035. // @@protoc_insertion_point(field_set_char:message.Locate_sift_response_msg.command_key)
  5036. }
  5037. inline void Locate_sift_response_msg::set_command_key(const char* value,
  5038. size_t size) {
  5039. _has_bits_[0] |= 0x00000001u;
  5040. command_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
  5041. reinterpret_cast<const char*>(value), size), GetArena());
  5042. // @@protoc_insertion_point(field_set_pointer:message.Locate_sift_response_msg.command_key)
  5043. }
  5044. inline std::string* Locate_sift_response_msg::_internal_mutable_command_key() {
  5045. _has_bits_[0] |= 0x00000001u;
  5046. return command_key_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  5047. }
  5048. inline std::string* Locate_sift_response_msg::release_command_key() {
  5049. // @@protoc_insertion_point(field_release:message.Locate_sift_response_msg.command_key)
  5050. if (!_internal_has_command_key()) {
  5051. return nullptr;
  5052. }
  5053. _has_bits_[0] &= ~0x00000001u;
  5054. return command_key_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  5055. }
  5056. inline void Locate_sift_response_msg::set_allocated_command_key(std::string* command_key) {
  5057. if (command_key != nullptr) {
  5058. _has_bits_[0] |= 0x00000001u;
  5059. } else {
  5060. _has_bits_[0] &= ~0x00000001u;
  5061. }
  5062. command_key_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), command_key,
  5063. GetArena());
  5064. // @@protoc_insertion_point(field_set_allocated:message.Locate_sift_response_msg.command_key)
  5065. }
  5066. // required .message.Id_struct id_struct = 3;
  5067. inline bool Locate_sift_response_msg::_internal_has_id_struct() const {
  5068. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  5069. PROTOBUF_ASSUME(!value || id_struct_ != nullptr);
  5070. return value;
  5071. }
  5072. inline bool Locate_sift_response_msg::has_id_struct() const {
  5073. return _internal_has_id_struct();
  5074. }
  5075. inline const ::message::Id_struct& Locate_sift_response_msg::_internal_id_struct() const {
  5076. const ::message::Id_struct* p = id_struct_;
  5077. return p != nullptr ? *p : *reinterpret_cast<const ::message::Id_struct*>(
  5078. &::message::_Id_struct_default_instance_);
  5079. }
  5080. inline const ::message::Id_struct& Locate_sift_response_msg::id_struct() const {
  5081. // @@protoc_insertion_point(field_get:message.Locate_sift_response_msg.id_struct)
  5082. return _internal_id_struct();
  5083. }
  5084. inline void Locate_sift_response_msg::unsafe_arena_set_allocated_id_struct(
  5085. ::message::Id_struct* id_struct) {
  5086. if (GetArena() == nullptr) {
  5087. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(id_struct_);
  5088. }
  5089. id_struct_ = id_struct;
  5090. if (id_struct) {
  5091. _has_bits_[0] |= 0x00000004u;
  5092. } else {
  5093. _has_bits_[0] &= ~0x00000004u;
  5094. }
  5095. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:message.Locate_sift_response_msg.id_struct)
  5096. }
  5097. inline ::message::Id_struct* Locate_sift_response_msg::release_id_struct() {
  5098. _has_bits_[0] &= ~0x00000004u;
  5099. ::message::Id_struct* temp = id_struct_;
  5100. id_struct_ = nullptr;
  5101. if (GetArena() != nullptr) {
  5102. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  5103. }
  5104. return temp;
  5105. }
  5106. inline ::message::Id_struct* Locate_sift_response_msg::unsafe_arena_release_id_struct() {
  5107. // @@protoc_insertion_point(field_release:message.Locate_sift_response_msg.id_struct)
  5108. _has_bits_[0] &= ~0x00000004u;
  5109. ::message::Id_struct* temp = id_struct_;
  5110. id_struct_ = nullptr;
  5111. return temp;
  5112. }
  5113. inline ::message::Id_struct* Locate_sift_response_msg::_internal_mutable_id_struct() {
  5114. _has_bits_[0] |= 0x00000004u;
  5115. if (id_struct_ == nullptr) {
  5116. auto* p = CreateMaybeMessage<::message::Id_struct>(GetArena());
  5117. id_struct_ = p;
  5118. }
  5119. return id_struct_;
  5120. }
  5121. inline ::message::Id_struct* Locate_sift_response_msg::mutable_id_struct() {
  5122. // @@protoc_insertion_point(field_mutable:message.Locate_sift_response_msg.id_struct)
  5123. return _internal_mutable_id_struct();
  5124. }
  5125. inline void Locate_sift_response_msg::set_allocated_id_struct(::message::Id_struct* id_struct) {
  5126. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  5127. if (message_arena == nullptr) {
  5128. delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(id_struct_);
  5129. }
  5130. if (id_struct) {
  5131. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  5132. reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(id_struct)->GetArena();
  5133. if (message_arena != submessage_arena) {
  5134. id_struct = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  5135. message_arena, id_struct, submessage_arena);
  5136. }
  5137. _has_bits_[0] |= 0x00000004u;
  5138. } else {
  5139. _has_bits_[0] &= ~0x00000004u;
  5140. }
  5141. id_struct_ = id_struct;
  5142. // @@protoc_insertion_point(field_set_allocated:message.Locate_sift_response_msg.id_struct)
  5143. }
  5144. // required int32 lidar_id = 4;
  5145. inline bool Locate_sift_response_msg::_internal_has_lidar_id() const {
  5146. bool value = (_has_bits_[0] & 0x00000010u) != 0;
  5147. return value;
  5148. }
  5149. inline bool Locate_sift_response_msg::has_lidar_id() const {
  5150. return _internal_has_lidar_id();
  5151. }
  5152. inline void Locate_sift_response_msg::clear_lidar_id() {
  5153. lidar_id_ = 0;
  5154. _has_bits_[0] &= ~0x00000010u;
  5155. }
  5156. inline ::PROTOBUF_NAMESPACE_ID::int32 Locate_sift_response_msg::_internal_lidar_id() const {
  5157. return lidar_id_;
  5158. }
  5159. inline ::PROTOBUF_NAMESPACE_ID::int32 Locate_sift_response_msg::lidar_id() const {
  5160. // @@protoc_insertion_point(field_get:message.Locate_sift_response_msg.lidar_id)
  5161. return _internal_lidar_id();
  5162. }
  5163. inline void Locate_sift_response_msg::_internal_set_lidar_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
  5164. _has_bits_[0] |= 0x00000010u;
  5165. lidar_id_ = value;
  5166. }
  5167. inline void Locate_sift_response_msg::set_lidar_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
  5168. _internal_set_lidar_id(value);
  5169. // @@protoc_insertion_point(field_set:message.Locate_sift_response_msg.lidar_id)
  5170. }
  5171. // repeated .message.Cloud_type cloud_type = 5;
  5172. inline int Locate_sift_response_msg::_internal_cloud_type_size() const {
  5173. return cloud_type_.size();
  5174. }
  5175. inline int Locate_sift_response_msg::cloud_type_size() const {
  5176. return _internal_cloud_type_size();
  5177. }
  5178. inline void Locate_sift_response_msg::clear_cloud_type() {
  5179. cloud_type_.Clear();
  5180. }
  5181. inline ::message::Cloud_type* Locate_sift_response_msg::mutable_cloud_type(int index) {
  5182. // @@protoc_insertion_point(field_mutable:message.Locate_sift_response_msg.cloud_type)
  5183. return cloud_type_.Mutable(index);
  5184. }
  5185. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::message::Cloud_type >*
  5186. Locate_sift_response_msg::mutable_cloud_type() {
  5187. // @@protoc_insertion_point(field_mutable_list:message.Locate_sift_response_msg.cloud_type)
  5188. return &cloud_type_;
  5189. }
  5190. inline const ::message::Cloud_type& Locate_sift_response_msg::_internal_cloud_type(int index) const {
  5191. return cloud_type_.Get(index);
  5192. }
  5193. inline const ::message::Cloud_type& Locate_sift_response_msg::cloud_type(int index) const {
  5194. // @@protoc_insertion_point(field_get:message.Locate_sift_response_msg.cloud_type)
  5195. return _internal_cloud_type(index);
  5196. }
  5197. inline ::message::Cloud_type* Locate_sift_response_msg::_internal_add_cloud_type() {
  5198. return cloud_type_.Add();
  5199. }
  5200. inline ::message::Cloud_type* Locate_sift_response_msg::add_cloud_type() {
  5201. // @@protoc_insertion_point(field_add:message.Locate_sift_response_msg.cloud_type)
  5202. return _internal_add_cloud_type();
  5203. }
  5204. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::message::Cloud_type >&
  5205. Locate_sift_response_msg::cloud_type() const {
  5206. // @@protoc_insertion_point(field_list:message.Locate_sift_response_msg.cloud_type)
  5207. return cloud_type_;
  5208. }
  5209. // required .message.Error_manager error_manager = 6;
  5210. inline bool Locate_sift_response_msg::_internal_has_error_manager() const {
  5211. bool value = (_has_bits_[0] & 0x00000008u) != 0;
  5212. PROTOBUF_ASSUME(!value || error_manager_ != nullptr);
  5213. return value;
  5214. }
  5215. inline bool Locate_sift_response_msg::has_error_manager() const {
  5216. return _internal_has_error_manager();
  5217. }
  5218. inline const ::message::Error_manager& Locate_sift_response_msg::_internal_error_manager() const {
  5219. const ::message::Error_manager* p = error_manager_;
  5220. return p != nullptr ? *p : *reinterpret_cast<const ::message::Error_manager*>(
  5221. &::message::_Error_manager_default_instance_);
  5222. }
  5223. inline const ::message::Error_manager& Locate_sift_response_msg::error_manager() const {
  5224. // @@protoc_insertion_point(field_get:message.Locate_sift_response_msg.error_manager)
  5225. return _internal_error_manager();
  5226. }
  5227. inline void Locate_sift_response_msg::unsafe_arena_set_allocated_error_manager(
  5228. ::message::Error_manager* error_manager) {
  5229. if (GetArena() == nullptr) {
  5230. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(error_manager_);
  5231. }
  5232. error_manager_ = error_manager;
  5233. if (error_manager) {
  5234. _has_bits_[0] |= 0x00000008u;
  5235. } else {
  5236. _has_bits_[0] &= ~0x00000008u;
  5237. }
  5238. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:message.Locate_sift_response_msg.error_manager)
  5239. }
  5240. inline ::message::Error_manager* Locate_sift_response_msg::release_error_manager() {
  5241. _has_bits_[0] &= ~0x00000008u;
  5242. ::message::Error_manager* temp = error_manager_;
  5243. error_manager_ = nullptr;
  5244. if (GetArena() != nullptr) {
  5245. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  5246. }
  5247. return temp;
  5248. }
  5249. inline ::message::Error_manager* Locate_sift_response_msg::unsafe_arena_release_error_manager() {
  5250. // @@protoc_insertion_point(field_release:message.Locate_sift_response_msg.error_manager)
  5251. _has_bits_[0] &= ~0x00000008u;
  5252. ::message::Error_manager* temp = error_manager_;
  5253. error_manager_ = nullptr;
  5254. return temp;
  5255. }
  5256. inline ::message::Error_manager* Locate_sift_response_msg::_internal_mutable_error_manager() {
  5257. _has_bits_[0] |= 0x00000008u;
  5258. if (error_manager_ == nullptr) {
  5259. auto* p = CreateMaybeMessage<::message::Error_manager>(GetArena());
  5260. error_manager_ = p;
  5261. }
  5262. return error_manager_;
  5263. }
  5264. inline ::message::Error_manager* Locate_sift_response_msg::mutable_error_manager() {
  5265. // @@protoc_insertion_point(field_mutable:message.Locate_sift_response_msg.error_manager)
  5266. return _internal_mutable_error_manager();
  5267. }
  5268. inline void Locate_sift_response_msg::set_allocated_error_manager(::message::Error_manager* error_manager) {
  5269. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  5270. if (message_arena == nullptr) {
  5271. delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(error_manager_);
  5272. }
  5273. if (error_manager) {
  5274. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  5275. reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(error_manager)->GetArena();
  5276. if (message_arena != submessage_arena) {
  5277. error_manager = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  5278. message_arena, error_manager, submessage_arena);
  5279. }
  5280. _has_bits_[0] |= 0x00000008u;
  5281. } else {
  5282. _has_bits_[0] &= ~0x00000008u;
  5283. }
  5284. error_manager_ = error_manager;
  5285. // @@protoc_insertion_point(field_set_allocated:message.Locate_sift_response_msg.error_manager)
  5286. }
  5287. #ifdef __GNUC__
  5288. #pragma GCC diagnostic pop
  5289. #endif // __GNUC__
  5290. // -------------------------------------------------------------------
  5291. // -------------------------------------------------------------------
  5292. // -------------------------------------------------------------------
  5293. // -------------------------------------------------------------------
  5294. // -------------------------------------------------------------------
  5295. // -------------------------------------------------------------------
  5296. // -------------------------------------------------------------------
  5297. // -------------------------------------------------------------------
  5298. // -------------------------------------------------------------------
  5299. // @@protoc_insertion_point(namespace_scope)
  5300. } // namespace message
  5301. PROTOBUF_NAMESPACE_OPEN
  5302. template <> struct is_proto_enum< ::message::Laser_manager_status> : ::std::true_type {};
  5303. template <>
  5304. inline const EnumDescriptor* GetEnumDescriptor< ::message::Laser_manager_status>() {
  5305. return ::message::Laser_manager_status_descriptor();
  5306. }
  5307. template <> struct is_proto_enum< ::message::Laser_statu> : ::std::true_type {};
  5308. template <>
  5309. inline const EnumDescriptor* GetEnumDescriptor< ::message::Laser_statu>() {
  5310. return ::message::Laser_statu_descriptor();
  5311. }
  5312. template <> struct is_proto_enum< ::message::Locate_manager_status> : ::std::true_type {};
  5313. template <>
  5314. inline const EnumDescriptor* GetEnumDescriptor< ::message::Locate_manager_status>() {
  5315. return ::message::Locate_manager_status_descriptor();
  5316. }
  5317. template <> struct is_proto_enum< ::message::Wanji_manager_status> : ::std::true_type {};
  5318. template <>
  5319. inline const EnumDescriptor* GetEnumDescriptor< ::message::Wanji_manager_status>() {
  5320. return ::message::Wanji_manager_status_descriptor();
  5321. }
  5322. template <> struct is_proto_enum< ::message::Wanji_lidar_device_status> : ::std::true_type {};
  5323. template <>
  5324. inline const EnumDescriptor* GetEnumDescriptor< ::message::Wanji_lidar_device_status>() {
  5325. return ::message::Wanji_lidar_device_status_descriptor();
  5326. }
  5327. template <> struct is_proto_enum< ::message::Region_worker_status> : ::std::true_type {};
  5328. template <>
  5329. inline const EnumDescriptor* GetEnumDescriptor< ::message::Region_worker_status>() {
  5330. return ::message::Region_worker_status_descriptor();
  5331. }
  5332. template <> struct is_proto_enum< ::message::Ground_statu> : ::std::true_type {};
  5333. template <>
  5334. inline const EnumDescriptor* GetEnumDescriptor< ::message::Ground_statu>() {
  5335. return ::message::Ground_statu_descriptor();
  5336. }
  5337. PROTOBUF_NAMESPACE_CLOSE
  5338. // @@protoc_insertion_point(global_scope)
  5339. #include <google/protobuf/port_undef.inc>
  5340. #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_measure_5fmessage_2eproto