measure_message.pb.h 146 KB

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