measure_message.pb.h 174 KB

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