measure_message.pb.h 156 KB

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