measure_message.pb.h 175 KB

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