measure_message.pb.h 167 KB

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