measure_message.pb.h 219 KB

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