measure_message.pb.h 162 KB

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