measure_message.pb.h 103 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658
  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[7];
  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 InitDefaultsCloud_coordinateImpl();
  48. void InitDefaultsCloud_coordinate();
  49. void InitDefaultsCloud_typeImpl();
  50. void InitDefaultsCloud_type();
  51. void InitDefaultsLocate_sift_request_msgImpl();
  52. void InitDefaultsLocate_sift_request_msg();
  53. void InitDefaultsLocate_sift_response_msgImpl();
  54. void InitDefaultsLocate_sift_response_msg();
  55. inline void InitDefaults() {
  56. InitDefaultsMeasure_status_msg();
  57. InitDefaultsMeasure_request_msg();
  58. InitDefaultsMeasure_response_msg();
  59. InitDefaultsCloud_coordinate();
  60. InitDefaultsCloud_type();
  61. InitDefaultsLocate_sift_request_msg();
  62. InitDefaultsLocate_sift_response_msg();
  63. }
  64. } // namespace protobuf_measure_5fmessage_2eproto
  65. namespace message {
  66. class Cloud_coordinate;
  67. class Cloud_coordinateDefaultTypeInternal;
  68. extern Cloud_coordinateDefaultTypeInternal _Cloud_coordinate_default_instance_;
  69. class Cloud_type;
  70. class Cloud_typeDefaultTypeInternal;
  71. extern Cloud_typeDefaultTypeInternal _Cloud_type_default_instance_;
  72. class Locate_sift_request_msg;
  73. class Locate_sift_request_msgDefaultTypeInternal;
  74. extern Locate_sift_request_msgDefaultTypeInternal _Locate_sift_request_msg_default_instance_;
  75. class Locate_sift_response_msg;
  76. class Locate_sift_response_msgDefaultTypeInternal;
  77. extern Locate_sift_response_msgDefaultTypeInternal _Locate_sift_response_msg_default_instance_;
  78. class Measure_request_msg;
  79. class Measure_request_msgDefaultTypeInternal;
  80. extern Measure_request_msgDefaultTypeInternal _Measure_request_msg_default_instance_;
  81. class Measure_response_msg;
  82. class Measure_response_msgDefaultTypeInternal;
  83. extern Measure_response_msgDefaultTypeInternal _Measure_response_msg_default_instance_;
  84. class Measure_status_msg;
  85. class Measure_status_msgDefaultTypeInternal;
  86. extern Measure_status_msgDefaultTypeInternal _Measure_status_msg_default_instance_;
  87. } // namespace message
  88. namespace message {
  89. enum Laser_manager_status {
  90. LASER_MANAGER_UNKNOW = 0,
  91. LASER_MANAGER_READY = 1,
  92. LASER_MANAGER_ISSUED_TASK = 2,
  93. LASER_MANAGER_WAIT_REPLY = 3,
  94. LASER_MANAGER_FAULT = 4
  95. };
  96. bool Laser_manager_status_IsValid(int value);
  97. const Laser_manager_status Laser_manager_status_MIN = LASER_MANAGER_UNKNOW;
  98. const Laser_manager_status Laser_manager_status_MAX = LASER_MANAGER_FAULT;
  99. const int Laser_manager_status_ARRAYSIZE = Laser_manager_status_MAX + 1;
  100. const ::google::protobuf::EnumDescriptor* Laser_manager_status_descriptor();
  101. inline const ::std::string& Laser_manager_status_Name(Laser_manager_status value) {
  102. return ::google::protobuf::internal::NameOfEnum(
  103. Laser_manager_status_descriptor(), value);
  104. }
  105. inline bool Laser_manager_status_Parse(
  106. const ::std::string& name, Laser_manager_status* value) {
  107. return ::google::protobuf::internal::ParseNamedEnum<Laser_manager_status>(
  108. Laser_manager_status_descriptor(), name, value);
  109. }
  110. enum Laser_statu {
  111. LASER_DISCONNECT = 0,
  112. LASER_READY = 1,
  113. LASER_BUSY = 2,
  114. LASER_FAULT = 3
  115. };
  116. bool Laser_statu_IsValid(int value);
  117. const Laser_statu Laser_statu_MIN = LASER_DISCONNECT;
  118. const Laser_statu Laser_statu_MAX = LASER_FAULT;
  119. const int Laser_statu_ARRAYSIZE = Laser_statu_MAX + 1;
  120. const ::google::protobuf::EnumDescriptor* Laser_statu_descriptor();
  121. inline const ::std::string& Laser_statu_Name(Laser_statu value) {
  122. return ::google::protobuf::internal::NameOfEnum(
  123. Laser_statu_descriptor(), value);
  124. }
  125. inline bool Laser_statu_Parse(
  126. const ::std::string& name, Laser_statu* value) {
  127. return ::google::protobuf::internal::ParseNamedEnum<Laser_statu>(
  128. Laser_statu_descriptor(), name, value);
  129. }
  130. enum Locate_manager_status {
  131. LOCATE_MANAGER_UNKNOW = 0,
  132. LOCATE_MANAGER_READY = 1,
  133. LOCATE_MANAGER_SIFT = 2,
  134. LOCATE_MANAGER_CAR = 3,
  135. LOCATE_MANAGER_WHEEL = 4,
  136. LOCATE_MANAGER_FAULT = 5
  137. };
  138. bool Locate_manager_status_IsValid(int value);
  139. const Locate_manager_status Locate_manager_status_MIN = LOCATE_MANAGER_UNKNOW;
  140. const Locate_manager_status Locate_manager_status_MAX = LOCATE_MANAGER_FAULT;
  141. const int Locate_manager_status_ARRAYSIZE = Locate_manager_status_MAX + 1;
  142. const ::google::protobuf::EnumDescriptor* Locate_manager_status_descriptor();
  143. inline const ::std::string& Locate_manager_status_Name(Locate_manager_status value) {
  144. return ::google::protobuf::internal::NameOfEnum(
  145. Locate_manager_status_descriptor(), value);
  146. }
  147. inline bool Locate_manager_status_Parse(
  148. const ::std::string& name, Locate_manager_status* value) {
  149. return ::google::protobuf::internal::ParseNamedEnum<Locate_manager_status>(
  150. Locate_manager_status_descriptor(), name, value);
  151. }
  152. enum Wanji_manager_status {
  153. WANJI_MANAGER_UNKNOWN = 0,
  154. WANJI_MANAGER_READY = 1,
  155. WANJI_MANAGER_BUSY = 2,
  156. WANJI_MANAGER_ISSUED_SCAN = 3,
  157. WANJI_MANAGER_WAIT_SCAN = 4,
  158. WANJI_MANAGER_ISSUED_DETECT = 5,
  159. WANJI_MANAGER_WAIT_DETECT = 6,
  160. WANJI_MANAGER_FAULT = 10
  161. };
  162. bool Wanji_manager_status_IsValid(int value);
  163. const Wanji_manager_status Wanji_manager_status_MIN = WANJI_MANAGER_UNKNOWN;
  164. const Wanji_manager_status Wanji_manager_status_MAX = WANJI_MANAGER_FAULT;
  165. const int Wanji_manager_status_ARRAYSIZE = Wanji_manager_status_MAX + 1;
  166. const ::google::protobuf::EnumDescriptor* Wanji_manager_status_descriptor();
  167. inline const ::std::string& Wanji_manager_status_Name(Wanji_manager_status value) {
  168. return ::google::protobuf::internal::NameOfEnum(
  169. Wanji_manager_status_descriptor(), value);
  170. }
  171. inline bool Wanji_manager_status_Parse(
  172. const ::std::string& name, Wanji_manager_status* value) {
  173. return ::google::protobuf::internal::ParseNamedEnum<Wanji_manager_status>(
  174. Wanji_manager_status_descriptor(), name, value);
  175. }
  176. enum Wanji_lidar_device_status {
  177. WANJI_LIDAR_DEVICE_UNKNOWN = 0,
  178. WANJI_LIDAR_DEVICE_READY = 1,
  179. WANJI_LIDAR_DEVICE_DISCONNECT = 2,
  180. WANJI_LIDAR_DEVICE_BUSY = 3,
  181. WANJI_LIDAR_DEVICE_FAULT = 10
  182. };
  183. bool Wanji_lidar_device_status_IsValid(int value);
  184. const Wanji_lidar_device_status Wanji_lidar_device_status_MIN = WANJI_LIDAR_DEVICE_UNKNOWN;
  185. const Wanji_lidar_device_status Wanji_lidar_device_status_MAX = WANJI_LIDAR_DEVICE_FAULT;
  186. const int Wanji_lidar_device_status_ARRAYSIZE = Wanji_lidar_device_status_MAX + 1;
  187. const ::google::protobuf::EnumDescriptor* Wanji_lidar_device_status_descriptor();
  188. inline const ::std::string& Wanji_lidar_device_status_Name(Wanji_lidar_device_status value) {
  189. return ::google::protobuf::internal::NameOfEnum(
  190. Wanji_lidar_device_status_descriptor(), value);
  191. }
  192. inline bool Wanji_lidar_device_status_Parse(
  193. const ::std::string& name, Wanji_lidar_device_status* value) {
  194. return ::google::protobuf::internal::ParseNamedEnum<Wanji_lidar_device_status>(
  195. Wanji_lidar_device_status_descriptor(), name, value);
  196. }
  197. enum Region_worker_status {
  198. REGION_WORKER_UNKNOWN = 0,
  199. REGION_WORKER_READY = 1,
  200. REGION_WORKER_BUSY = 2,
  201. REGION_WORKER_FAULT = 10
  202. };
  203. bool Region_worker_status_IsValid(int value);
  204. const Region_worker_status Region_worker_status_MIN = REGION_WORKER_UNKNOWN;
  205. const Region_worker_status Region_worker_status_MAX = REGION_WORKER_FAULT;
  206. const int Region_worker_status_ARRAYSIZE = Region_worker_status_MAX + 1;
  207. const ::google::protobuf::EnumDescriptor* Region_worker_status_descriptor();
  208. inline const ::std::string& Region_worker_status_Name(Region_worker_status value) {
  209. return ::google::protobuf::internal::NameOfEnum(
  210. Region_worker_status_descriptor(), value);
  211. }
  212. inline bool Region_worker_status_Parse(
  213. const ::std::string& name, Region_worker_status* value) {
  214. return ::google::protobuf::internal::ParseNamedEnum<Region_worker_status>(
  215. Region_worker_status_descriptor(), name, value);
  216. }
  217. // ===================================================================
  218. class Measure_status_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Measure_status_msg) */ {
  219. public:
  220. Measure_status_msg();
  221. virtual ~Measure_status_msg();
  222. Measure_status_msg(const Measure_status_msg& from);
  223. inline Measure_status_msg& operator=(const Measure_status_msg& from) {
  224. CopyFrom(from);
  225. return *this;
  226. }
  227. #if LANG_CXX11
  228. Measure_status_msg(Measure_status_msg&& from) noexcept
  229. : Measure_status_msg() {
  230. *this = ::std::move(from);
  231. }
  232. inline Measure_status_msg& operator=(Measure_status_msg&& from) noexcept {
  233. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  234. if (this != &from) InternalSwap(&from);
  235. } else {
  236. CopyFrom(from);
  237. }
  238. return *this;
  239. }
  240. #endif
  241. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  242. return _internal_metadata_.unknown_fields();
  243. }
  244. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  245. return _internal_metadata_.mutable_unknown_fields();
  246. }
  247. static const ::google::protobuf::Descriptor* descriptor();
  248. static const Measure_status_msg& default_instance();
  249. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  250. static inline const Measure_status_msg* internal_default_instance() {
  251. return reinterpret_cast<const Measure_status_msg*>(
  252. &_Measure_status_msg_default_instance_);
  253. }
  254. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  255. 0;
  256. void Swap(Measure_status_msg* other);
  257. friend void swap(Measure_status_msg& a, Measure_status_msg& b) {
  258. a.Swap(&b);
  259. }
  260. // implements Message ----------------------------------------------
  261. inline Measure_status_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  262. Measure_status_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  263. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  264. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  265. void CopyFrom(const Measure_status_msg& from);
  266. void MergeFrom(const Measure_status_msg& from);
  267. void Clear() PROTOBUF_FINAL;
  268. bool IsInitialized() const PROTOBUF_FINAL;
  269. size_t ByteSizeLong() const PROTOBUF_FINAL;
  270. bool MergePartialFromCodedStream(
  271. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  272. void SerializeWithCachedSizes(
  273. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  274. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  275. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  276. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  277. private:
  278. void SharedCtor();
  279. void SharedDtor();
  280. void SetCachedSize(int size) const PROTOBUF_FINAL;
  281. void InternalSwap(Measure_status_msg* other);
  282. private:
  283. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  284. return NULL;
  285. }
  286. inline void* MaybeArenaPtr() const {
  287. return NULL;
  288. }
  289. public:
  290. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  291. // nested types ----------------------------------------------------
  292. // accessors -------------------------------------------------------
  293. // repeated .message.Laser_statu laser_statu_vector = 4;
  294. int laser_statu_vector_size() const;
  295. void clear_laser_statu_vector();
  296. static const int kLaserStatuVectorFieldNumber = 4;
  297. ::message::Laser_statu laser_statu_vector(int index) const;
  298. void set_laser_statu_vector(int index, ::message::Laser_statu value);
  299. void add_laser_statu_vector(::message::Laser_statu value);
  300. const ::google::protobuf::RepeatedField<int>& laser_statu_vector() const;
  301. ::google::protobuf::RepeatedField<int>* mutable_laser_statu_vector();
  302. // repeated .message.Wanji_lidar_device_status wanji_lidar_device_status = 7;
  303. int wanji_lidar_device_status_size() const;
  304. void clear_wanji_lidar_device_status();
  305. static const int kWanjiLidarDeviceStatusFieldNumber = 7;
  306. ::message::Wanji_lidar_device_status wanji_lidar_device_status(int index) const;
  307. void set_wanji_lidar_device_status(int index, ::message::Wanji_lidar_device_status value);
  308. void add_wanji_lidar_device_status(::message::Wanji_lidar_device_status value);
  309. const ::google::protobuf::RepeatedField<int>& wanji_lidar_device_status() const;
  310. ::google::protobuf::RepeatedField<int>* mutable_wanji_lidar_device_status();
  311. // repeated .message.Region_worker_status region_worker_status = 8;
  312. int region_worker_status_size() const;
  313. void clear_region_worker_status();
  314. static const int kRegionWorkerStatusFieldNumber = 8;
  315. ::message::Region_worker_status region_worker_status(int index) const;
  316. void set_region_worker_status(int index, ::message::Region_worker_status value);
  317. void add_region_worker_status(::message::Region_worker_status value);
  318. const ::google::protobuf::RepeatedField<int>& region_worker_status() const;
  319. ::google::protobuf::RepeatedField<int>* mutable_region_worker_status();
  320. // repeated .message.Locate_information locate_information_realtime = 9;
  321. int locate_information_realtime_size() const;
  322. void clear_locate_information_realtime();
  323. static const int kLocateInformationRealtimeFieldNumber = 9;
  324. const ::message::Locate_information& locate_information_realtime(int index) const;
  325. ::message::Locate_information* mutable_locate_information_realtime(int index);
  326. ::message::Locate_information* add_locate_information_realtime();
  327. ::google::protobuf::RepeatedPtrField< ::message::Locate_information >*
  328. mutable_locate_information_realtime();
  329. const ::google::protobuf::RepeatedPtrField< ::message::Locate_information >&
  330. locate_information_realtime() const;
  331. // required .message.Base_info base_info = 1;
  332. bool has_base_info() const;
  333. void clear_base_info();
  334. static const int kBaseInfoFieldNumber = 1;
  335. const ::message::Base_info& base_info() const;
  336. ::message::Base_info* release_base_info();
  337. ::message::Base_info* mutable_base_info();
  338. void set_allocated_base_info(::message::Base_info* base_info);
  339. // required .message.Error_manager error_manager = 10;
  340. bool has_error_manager() const;
  341. void clear_error_manager();
  342. static const int kErrorManagerFieldNumber = 10;
  343. const ::message::Error_manager& error_manager() const;
  344. ::message::Error_manager* release_error_manager();
  345. ::message::Error_manager* mutable_error_manager();
  346. void set_allocated_error_manager(::message::Error_manager* error_manager);
  347. // required int32 terminal_id = 2;
  348. bool has_terminal_id() const;
  349. void clear_terminal_id();
  350. static const int kTerminalIdFieldNumber = 2;
  351. ::google::protobuf::int32 terminal_id() const;
  352. void set_terminal_id(::google::protobuf::int32 value);
  353. // required .message.Laser_manager_status laser_manager_status = 3;
  354. bool has_laser_manager_status() const;
  355. void clear_laser_manager_status();
  356. static const int kLaserManagerStatusFieldNumber = 3;
  357. ::message::Laser_manager_status laser_manager_status() const;
  358. void set_laser_manager_status(::message::Laser_manager_status value);
  359. // required .message.Locate_manager_status locate_manager_status = 5;
  360. bool has_locate_manager_status() const;
  361. void clear_locate_manager_status();
  362. static const int kLocateManagerStatusFieldNumber = 5;
  363. ::message::Locate_manager_status locate_manager_status() const;
  364. void set_locate_manager_status(::message::Locate_manager_status value);
  365. // required .message.Wanji_manager_status wanji_manager_status = 6;
  366. bool has_wanji_manager_status() const;
  367. void clear_wanji_manager_status();
  368. static const int kWanjiManagerStatusFieldNumber = 6;
  369. ::message::Wanji_manager_status wanji_manager_status() const;
  370. void set_wanji_manager_status(::message::Wanji_manager_status value);
  371. // @@protoc_insertion_point(class_scope:message.Measure_status_msg)
  372. private:
  373. void set_has_base_info();
  374. void clear_has_base_info();
  375. void set_has_terminal_id();
  376. void clear_has_terminal_id();
  377. void set_has_laser_manager_status();
  378. void clear_has_laser_manager_status();
  379. void set_has_locate_manager_status();
  380. void clear_has_locate_manager_status();
  381. void set_has_wanji_manager_status();
  382. void clear_has_wanji_manager_status();
  383. void set_has_error_manager();
  384. void clear_has_error_manager();
  385. // helper for ByteSizeLong()
  386. size_t RequiredFieldsByteSizeFallback() const;
  387. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  388. ::google::protobuf::internal::HasBits<1> _has_bits_;
  389. mutable int _cached_size_;
  390. ::google::protobuf::RepeatedField<int> laser_statu_vector_;
  391. ::google::protobuf::RepeatedField<int> wanji_lidar_device_status_;
  392. ::google::protobuf::RepeatedField<int> region_worker_status_;
  393. ::google::protobuf::RepeatedPtrField< ::message::Locate_information > locate_information_realtime_;
  394. ::message::Base_info* base_info_;
  395. ::message::Error_manager* error_manager_;
  396. ::google::protobuf::int32 terminal_id_;
  397. int laser_manager_status_;
  398. int locate_manager_status_;
  399. int wanji_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 Cloud_coordinate : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Cloud_coordinate) */ {
  673. public:
  674. Cloud_coordinate();
  675. virtual ~Cloud_coordinate();
  676. Cloud_coordinate(const Cloud_coordinate& from);
  677. inline Cloud_coordinate& operator=(const Cloud_coordinate& from) {
  678. CopyFrom(from);
  679. return *this;
  680. }
  681. #if LANG_CXX11
  682. Cloud_coordinate(Cloud_coordinate&& from) noexcept
  683. : Cloud_coordinate() {
  684. *this = ::std::move(from);
  685. }
  686. inline Cloud_coordinate& operator=(Cloud_coordinate&& 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 Cloud_coordinate& default_instance();
  703. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  704. static inline const Cloud_coordinate* internal_default_instance() {
  705. return reinterpret_cast<const Cloud_coordinate*>(
  706. &_Cloud_coordinate_default_instance_);
  707. }
  708. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  709. 3;
  710. void Swap(Cloud_coordinate* other);
  711. friend void swap(Cloud_coordinate& a, Cloud_coordinate& b) {
  712. a.Swap(&b);
  713. }
  714. // implements Message ----------------------------------------------
  715. inline Cloud_coordinate* New() const PROTOBUF_FINAL { return New(NULL); }
  716. Cloud_coordinate* 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 Cloud_coordinate& from);
  720. void MergeFrom(const Cloud_coordinate& 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(Cloud_coordinate* 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 float x = 1;
  748. bool has_x() const;
  749. void clear_x();
  750. static const int kXFieldNumber = 1;
  751. float x() const;
  752. void set_x(float value);
  753. // required float y = 2;
  754. bool has_y() const;
  755. void clear_y();
  756. static const int kYFieldNumber = 2;
  757. float y() const;
  758. void set_y(float value);
  759. // required float z = 3;
  760. bool has_z() const;
  761. void clear_z();
  762. static const int kZFieldNumber = 3;
  763. float z() const;
  764. void set_z(float value);
  765. // @@protoc_insertion_point(class_scope:message.Cloud_coordinate)
  766. private:
  767. void set_has_x();
  768. void clear_has_x();
  769. void set_has_y();
  770. void clear_has_y();
  771. void set_has_z();
  772. void clear_has_z();
  773. // helper for ByteSizeLong()
  774. size_t RequiredFieldsByteSizeFallback() const;
  775. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  776. ::google::protobuf::internal::HasBits<1> _has_bits_;
  777. mutable int _cached_size_;
  778. float x_;
  779. float y_;
  780. float z_;
  781. friend struct ::protobuf_measure_5fmessage_2eproto::TableStruct;
  782. friend void ::protobuf_measure_5fmessage_2eproto::InitDefaultsCloud_coordinateImpl();
  783. };
  784. // -------------------------------------------------------------------
  785. class Cloud_type : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Cloud_type) */ {
  786. public:
  787. Cloud_type();
  788. virtual ~Cloud_type();
  789. Cloud_type(const Cloud_type& from);
  790. inline Cloud_type& operator=(const Cloud_type& from) {
  791. CopyFrom(from);
  792. return *this;
  793. }
  794. #if LANG_CXX11
  795. Cloud_type(Cloud_type&& from) noexcept
  796. : Cloud_type() {
  797. *this = ::std::move(from);
  798. }
  799. inline Cloud_type& operator=(Cloud_type&& from) noexcept {
  800. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  801. if (this != &from) InternalSwap(&from);
  802. } else {
  803. CopyFrom(from);
  804. }
  805. return *this;
  806. }
  807. #endif
  808. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  809. return _internal_metadata_.unknown_fields();
  810. }
  811. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  812. return _internal_metadata_.mutable_unknown_fields();
  813. }
  814. static const ::google::protobuf::Descriptor* descriptor();
  815. static const Cloud_type& default_instance();
  816. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  817. static inline const Cloud_type* internal_default_instance() {
  818. return reinterpret_cast<const Cloud_type*>(
  819. &_Cloud_type_default_instance_);
  820. }
  821. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  822. 4;
  823. void Swap(Cloud_type* other);
  824. friend void swap(Cloud_type& a, Cloud_type& b) {
  825. a.Swap(&b);
  826. }
  827. // implements Message ----------------------------------------------
  828. inline Cloud_type* New() const PROTOBUF_FINAL { return New(NULL); }
  829. Cloud_type* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  830. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  831. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  832. void CopyFrom(const Cloud_type& from);
  833. void MergeFrom(const Cloud_type& from);
  834. void Clear() PROTOBUF_FINAL;
  835. bool IsInitialized() const PROTOBUF_FINAL;
  836. size_t ByteSizeLong() const PROTOBUF_FINAL;
  837. bool MergePartialFromCodedStream(
  838. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  839. void SerializeWithCachedSizes(
  840. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  841. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  842. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  843. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  844. private:
  845. void SharedCtor();
  846. void SharedDtor();
  847. void SetCachedSize(int size) const PROTOBUF_FINAL;
  848. void InternalSwap(Cloud_type* other);
  849. private:
  850. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  851. return NULL;
  852. }
  853. inline void* MaybeArenaPtr() const {
  854. return NULL;
  855. }
  856. public:
  857. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  858. // nested types ----------------------------------------------------
  859. // accessors -------------------------------------------------------
  860. // required int32 type = 1;
  861. bool has_type() const;
  862. void clear_type();
  863. static const int kTypeFieldNumber = 1;
  864. ::google::protobuf::int32 type() const;
  865. void set_type(::google::protobuf::int32 value);
  866. // @@protoc_insertion_point(class_scope:message.Cloud_type)
  867. private:
  868. void set_has_type();
  869. void clear_has_type();
  870. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  871. ::google::protobuf::internal::HasBits<1> _has_bits_;
  872. mutable int _cached_size_;
  873. ::google::protobuf::int32 type_;
  874. friend struct ::protobuf_measure_5fmessage_2eproto::TableStruct;
  875. friend void ::protobuf_measure_5fmessage_2eproto::InitDefaultsCloud_typeImpl();
  876. };
  877. // -------------------------------------------------------------------
  878. class Locate_sift_request_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Locate_sift_request_msg) */ {
  879. public:
  880. Locate_sift_request_msg();
  881. virtual ~Locate_sift_request_msg();
  882. Locate_sift_request_msg(const Locate_sift_request_msg& from);
  883. inline Locate_sift_request_msg& operator=(const Locate_sift_request_msg& from) {
  884. CopyFrom(from);
  885. return *this;
  886. }
  887. #if LANG_CXX11
  888. Locate_sift_request_msg(Locate_sift_request_msg&& from) noexcept
  889. : Locate_sift_request_msg() {
  890. *this = ::std::move(from);
  891. }
  892. inline Locate_sift_request_msg& operator=(Locate_sift_request_msg&& from) noexcept {
  893. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  894. if (this != &from) InternalSwap(&from);
  895. } else {
  896. CopyFrom(from);
  897. }
  898. return *this;
  899. }
  900. #endif
  901. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  902. return _internal_metadata_.unknown_fields();
  903. }
  904. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  905. return _internal_metadata_.mutable_unknown_fields();
  906. }
  907. static const ::google::protobuf::Descriptor* descriptor();
  908. static const Locate_sift_request_msg& default_instance();
  909. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  910. static inline const Locate_sift_request_msg* internal_default_instance() {
  911. return reinterpret_cast<const Locate_sift_request_msg*>(
  912. &_Locate_sift_request_msg_default_instance_);
  913. }
  914. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  915. 5;
  916. void Swap(Locate_sift_request_msg* other);
  917. friend void swap(Locate_sift_request_msg& a, Locate_sift_request_msg& b) {
  918. a.Swap(&b);
  919. }
  920. // implements Message ----------------------------------------------
  921. inline Locate_sift_request_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  922. Locate_sift_request_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  923. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  924. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  925. void CopyFrom(const Locate_sift_request_msg& from);
  926. void MergeFrom(const Locate_sift_request_msg& from);
  927. void Clear() PROTOBUF_FINAL;
  928. bool IsInitialized() const PROTOBUF_FINAL;
  929. size_t ByteSizeLong() const PROTOBUF_FINAL;
  930. bool MergePartialFromCodedStream(
  931. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  932. void SerializeWithCachedSizes(
  933. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  934. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  935. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  936. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  937. private:
  938. void SharedCtor();
  939. void SharedDtor();
  940. void SetCachedSize(int size) const PROTOBUF_FINAL;
  941. void InternalSwap(Locate_sift_request_msg* other);
  942. private:
  943. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  944. return NULL;
  945. }
  946. inline void* MaybeArenaPtr() const {
  947. return NULL;
  948. }
  949. public:
  950. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  951. // nested types ----------------------------------------------------
  952. // accessors -------------------------------------------------------
  953. // repeated .message.Cloud_coordinate cloud_coordinates = 5;
  954. int cloud_coordinates_size() const;
  955. void clear_cloud_coordinates();
  956. static const int kCloudCoordinatesFieldNumber = 5;
  957. const ::message::Cloud_coordinate& cloud_coordinates(int index) const;
  958. ::message::Cloud_coordinate* mutable_cloud_coordinates(int index);
  959. ::message::Cloud_coordinate* add_cloud_coordinates();
  960. ::google::protobuf::RepeatedPtrField< ::message::Cloud_coordinate >*
  961. mutable_cloud_coordinates();
  962. const ::google::protobuf::RepeatedPtrField< ::message::Cloud_coordinate >&
  963. cloud_coordinates() const;
  964. // required string command_key = 2;
  965. bool has_command_key() const;
  966. void clear_command_key();
  967. static const int kCommandKeyFieldNumber = 2;
  968. const ::std::string& command_key() const;
  969. void set_command_key(const ::std::string& value);
  970. #if LANG_CXX11
  971. void set_command_key(::std::string&& value);
  972. #endif
  973. void set_command_key(const char* value);
  974. void set_command_key(const char* value, size_t size);
  975. ::std::string* mutable_command_key();
  976. ::std::string* release_command_key();
  977. void set_allocated_command_key(::std::string* command_key);
  978. // required .message.Base_info base_info = 1;
  979. bool has_base_info() const;
  980. void clear_base_info();
  981. static const int kBaseInfoFieldNumber = 1;
  982. const ::message::Base_info& base_info() const;
  983. ::message::Base_info* release_base_info();
  984. ::message::Base_info* mutable_base_info();
  985. void set_allocated_base_info(::message::Base_info* base_info);
  986. // required int32 terminal_id = 3;
  987. bool has_terminal_id() const;
  988. void clear_terminal_id();
  989. static const int kTerminalIdFieldNumber = 3;
  990. ::google::protobuf::int32 terminal_id() const;
  991. void set_terminal_id(::google::protobuf::int32 value);
  992. // required int32 lidar_id = 4;
  993. bool has_lidar_id() const;
  994. void clear_lidar_id();
  995. static const int kLidarIdFieldNumber = 4;
  996. ::google::protobuf::int32 lidar_id() const;
  997. void set_lidar_id(::google::protobuf::int32 value);
  998. // @@protoc_insertion_point(class_scope:message.Locate_sift_request_msg)
  999. private:
  1000. void set_has_base_info();
  1001. void clear_has_base_info();
  1002. void set_has_command_key();
  1003. void clear_has_command_key();
  1004. void set_has_terminal_id();
  1005. void clear_has_terminal_id();
  1006. void set_has_lidar_id();
  1007. void clear_has_lidar_id();
  1008. // helper for ByteSizeLong()
  1009. size_t RequiredFieldsByteSizeFallback() const;
  1010. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  1011. ::google::protobuf::internal::HasBits<1> _has_bits_;
  1012. mutable int _cached_size_;
  1013. ::google::protobuf::RepeatedPtrField< ::message::Cloud_coordinate > cloud_coordinates_;
  1014. ::google::protobuf::internal::ArenaStringPtr command_key_;
  1015. ::message::Base_info* base_info_;
  1016. ::google::protobuf::int32 terminal_id_;
  1017. ::google::protobuf::int32 lidar_id_;
  1018. friend struct ::protobuf_measure_5fmessage_2eproto::TableStruct;
  1019. friend void ::protobuf_measure_5fmessage_2eproto::InitDefaultsLocate_sift_request_msgImpl();
  1020. };
  1021. // -------------------------------------------------------------------
  1022. class Locate_sift_response_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Locate_sift_response_msg) */ {
  1023. public:
  1024. Locate_sift_response_msg();
  1025. virtual ~Locate_sift_response_msg();
  1026. Locate_sift_response_msg(const Locate_sift_response_msg& from);
  1027. inline Locate_sift_response_msg& operator=(const Locate_sift_response_msg& from) {
  1028. CopyFrom(from);
  1029. return *this;
  1030. }
  1031. #if LANG_CXX11
  1032. Locate_sift_response_msg(Locate_sift_response_msg&& from) noexcept
  1033. : Locate_sift_response_msg() {
  1034. *this = ::std::move(from);
  1035. }
  1036. inline Locate_sift_response_msg& operator=(Locate_sift_response_msg&& from) noexcept {
  1037. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  1038. if (this != &from) InternalSwap(&from);
  1039. } else {
  1040. CopyFrom(from);
  1041. }
  1042. return *this;
  1043. }
  1044. #endif
  1045. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1046. return _internal_metadata_.unknown_fields();
  1047. }
  1048. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1049. return _internal_metadata_.mutable_unknown_fields();
  1050. }
  1051. static const ::google::protobuf::Descriptor* descriptor();
  1052. static const Locate_sift_response_msg& default_instance();
  1053. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  1054. static inline const Locate_sift_response_msg* internal_default_instance() {
  1055. return reinterpret_cast<const Locate_sift_response_msg*>(
  1056. &_Locate_sift_response_msg_default_instance_);
  1057. }
  1058. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  1059. 6;
  1060. void Swap(Locate_sift_response_msg* other);
  1061. friend void swap(Locate_sift_response_msg& a, Locate_sift_response_msg& b) {
  1062. a.Swap(&b);
  1063. }
  1064. // implements Message ----------------------------------------------
  1065. inline Locate_sift_response_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  1066. Locate_sift_response_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  1067. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  1068. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  1069. void CopyFrom(const Locate_sift_response_msg& from);
  1070. void MergeFrom(const Locate_sift_response_msg& from);
  1071. void Clear() PROTOBUF_FINAL;
  1072. bool IsInitialized() const PROTOBUF_FINAL;
  1073. size_t ByteSizeLong() const PROTOBUF_FINAL;
  1074. bool MergePartialFromCodedStream(
  1075. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  1076. void SerializeWithCachedSizes(
  1077. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  1078. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  1079. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  1080. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  1081. private:
  1082. void SharedCtor();
  1083. void SharedDtor();
  1084. void SetCachedSize(int size) const PROTOBUF_FINAL;
  1085. void InternalSwap(Locate_sift_response_msg* other);
  1086. private:
  1087. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  1088. return NULL;
  1089. }
  1090. inline void* MaybeArenaPtr() const {
  1091. return NULL;
  1092. }
  1093. public:
  1094. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  1095. // nested types ----------------------------------------------------
  1096. // accessors -------------------------------------------------------
  1097. // repeated .message.Cloud_type cloud_type = 5;
  1098. int cloud_type_size() const;
  1099. void clear_cloud_type();
  1100. static const int kCloudTypeFieldNumber = 5;
  1101. const ::message::Cloud_type& cloud_type(int index) const;
  1102. ::message::Cloud_type* mutable_cloud_type(int index);
  1103. ::message::Cloud_type* add_cloud_type();
  1104. ::google::protobuf::RepeatedPtrField< ::message::Cloud_type >*
  1105. mutable_cloud_type();
  1106. const ::google::protobuf::RepeatedPtrField< ::message::Cloud_type >&
  1107. cloud_type() const;
  1108. // required string command_key = 2;
  1109. bool has_command_key() const;
  1110. void clear_command_key();
  1111. static const int kCommandKeyFieldNumber = 2;
  1112. const ::std::string& command_key() const;
  1113. void set_command_key(const ::std::string& value);
  1114. #if LANG_CXX11
  1115. void set_command_key(::std::string&& value);
  1116. #endif
  1117. void set_command_key(const char* value);
  1118. void set_command_key(const char* value, size_t size);
  1119. ::std::string* mutable_command_key();
  1120. ::std::string* release_command_key();
  1121. void set_allocated_command_key(::std::string* command_key);
  1122. // required .message.Base_info base_info = 1;
  1123. bool has_base_info() const;
  1124. void clear_base_info();
  1125. static const int kBaseInfoFieldNumber = 1;
  1126. const ::message::Base_info& base_info() const;
  1127. ::message::Base_info* release_base_info();
  1128. ::message::Base_info* mutable_base_info();
  1129. void set_allocated_base_info(::message::Base_info* base_info);
  1130. // required .message.Error_manager error_manager = 6;
  1131. bool has_error_manager() const;
  1132. void clear_error_manager();
  1133. static const int kErrorManagerFieldNumber = 6;
  1134. const ::message::Error_manager& error_manager() const;
  1135. ::message::Error_manager* release_error_manager();
  1136. ::message::Error_manager* mutable_error_manager();
  1137. void set_allocated_error_manager(::message::Error_manager* error_manager);
  1138. // required int32 terminal_id = 3;
  1139. bool has_terminal_id() const;
  1140. void clear_terminal_id();
  1141. static const int kTerminalIdFieldNumber = 3;
  1142. ::google::protobuf::int32 terminal_id() const;
  1143. void set_terminal_id(::google::protobuf::int32 value);
  1144. // required int32 lidar_id = 4;
  1145. bool has_lidar_id() const;
  1146. void clear_lidar_id();
  1147. static const int kLidarIdFieldNumber = 4;
  1148. ::google::protobuf::int32 lidar_id() const;
  1149. void set_lidar_id(::google::protobuf::int32 value);
  1150. // @@protoc_insertion_point(class_scope:message.Locate_sift_response_msg)
  1151. private:
  1152. void set_has_base_info();
  1153. void clear_has_base_info();
  1154. void set_has_command_key();
  1155. void clear_has_command_key();
  1156. void set_has_terminal_id();
  1157. void clear_has_terminal_id();
  1158. void set_has_lidar_id();
  1159. void clear_has_lidar_id();
  1160. void set_has_error_manager();
  1161. void clear_has_error_manager();
  1162. // helper for ByteSizeLong()
  1163. size_t RequiredFieldsByteSizeFallback() const;
  1164. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  1165. ::google::protobuf::internal::HasBits<1> _has_bits_;
  1166. mutable int _cached_size_;
  1167. ::google::protobuf::RepeatedPtrField< ::message::Cloud_type > cloud_type_;
  1168. ::google::protobuf::internal::ArenaStringPtr command_key_;
  1169. ::message::Base_info* base_info_;
  1170. ::message::Error_manager* error_manager_;
  1171. ::google::protobuf::int32 terminal_id_;
  1172. ::google::protobuf::int32 lidar_id_;
  1173. friend struct ::protobuf_measure_5fmessage_2eproto::TableStruct;
  1174. friend void ::protobuf_measure_5fmessage_2eproto::InitDefaultsLocate_sift_response_msgImpl();
  1175. };
  1176. // ===================================================================
  1177. // ===================================================================
  1178. #ifdef __GNUC__
  1179. #pragma GCC diagnostic push
  1180. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  1181. #endif // __GNUC__
  1182. // Measure_status_msg
  1183. // required .message.Base_info base_info = 1;
  1184. inline bool Measure_status_msg::has_base_info() const {
  1185. return (_has_bits_[0] & 0x00000001u) != 0;
  1186. }
  1187. inline void Measure_status_msg::set_has_base_info() {
  1188. _has_bits_[0] |= 0x00000001u;
  1189. }
  1190. inline void Measure_status_msg::clear_has_base_info() {
  1191. _has_bits_[0] &= ~0x00000001u;
  1192. }
  1193. inline const ::message::Base_info& Measure_status_msg::base_info() const {
  1194. const ::message::Base_info* p = base_info_;
  1195. // @@protoc_insertion_point(field_get:message.Measure_status_msg.base_info)
  1196. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  1197. &::message::_Base_info_default_instance_);
  1198. }
  1199. inline ::message::Base_info* Measure_status_msg::release_base_info() {
  1200. // @@protoc_insertion_point(field_release:message.Measure_status_msg.base_info)
  1201. clear_has_base_info();
  1202. ::message::Base_info* temp = base_info_;
  1203. base_info_ = NULL;
  1204. return temp;
  1205. }
  1206. inline ::message::Base_info* Measure_status_msg::mutable_base_info() {
  1207. set_has_base_info();
  1208. if (base_info_ == NULL) {
  1209. base_info_ = new ::message::Base_info;
  1210. }
  1211. // @@protoc_insertion_point(field_mutable:message.Measure_status_msg.base_info)
  1212. return base_info_;
  1213. }
  1214. inline void Measure_status_msg::set_allocated_base_info(::message::Base_info* base_info) {
  1215. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1216. if (message_arena == NULL) {
  1217. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  1218. }
  1219. if (base_info) {
  1220. ::google::protobuf::Arena* submessage_arena = NULL;
  1221. if (message_arena != submessage_arena) {
  1222. base_info = ::google::protobuf::internal::GetOwnedMessage(
  1223. message_arena, base_info, submessage_arena);
  1224. }
  1225. set_has_base_info();
  1226. } else {
  1227. clear_has_base_info();
  1228. }
  1229. base_info_ = base_info;
  1230. // @@protoc_insertion_point(field_set_allocated:message.Measure_status_msg.base_info)
  1231. }
  1232. // required int32 terminal_id = 2;
  1233. inline bool Measure_status_msg::has_terminal_id() const {
  1234. return (_has_bits_[0] & 0x00000004u) != 0;
  1235. }
  1236. inline void Measure_status_msg::set_has_terminal_id() {
  1237. _has_bits_[0] |= 0x00000004u;
  1238. }
  1239. inline void Measure_status_msg::clear_has_terminal_id() {
  1240. _has_bits_[0] &= ~0x00000004u;
  1241. }
  1242. inline void Measure_status_msg::clear_terminal_id() {
  1243. terminal_id_ = 0;
  1244. clear_has_terminal_id();
  1245. }
  1246. inline ::google::protobuf::int32 Measure_status_msg::terminal_id() const {
  1247. // @@protoc_insertion_point(field_get:message.Measure_status_msg.terminal_id)
  1248. return terminal_id_;
  1249. }
  1250. inline void Measure_status_msg::set_terminal_id(::google::protobuf::int32 value) {
  1251. set_has_terminal_id();
  1252. terminal_id_ = value;
  1253. // @@protoc_insertion_point(field_set:message.Measure_status_msg.terminal_id)
  1254. }
  1255. // required .message.Laser_manager_status laser_manager_status = 3;
  1256. inline bool Measure_status_msg::has_laser_manager_status() const {
  1257. return (_has_bits_[0] & 0x00000008u) != 0;
  1258. }
  1259. inline void Measure_status_msg::set_has_laser_manager_status() {
  1260. _has_bits_[0] |= 0x00000008u;
  1261. }
  1262. inline void Measure_status_msg::clear_has_laser_manager_status() {
  1263. _has_bits_[0] &= ~0x00000008u;
  1264. }
  1265. inline void Measure_status_msg::clear_laser_manager_status() {
  1266. laser_manager_status_ = 0;
  1267. clear_has_laser_manager_status();
  1268. }
  1269. inline ::message::Laser_manager_status Measure_status_msg::laser_manager_status() const {
  1270. // @@protoc_insertion_point(field_get:message.Measure_status_msg.laser_manager_status)
  1271. return static_cast< ::message::Laser_manager_status >(laser_manager_status_);
  1272. }
  1273. inline void Measure_status_msg::set_laser_manager_status(::message::Laser_manager_status value) {
  1274. assert(::message::Laser_manager_status_IsValid(value));
  1275. set_has_laser_manager_status();
  1276. laser_manager_status_ = value;
  1277. // @@protoc_insertion_point(field_set:message.Measure_status_msg.laser_manager_status)
  1278. }
  1279. // repeated .message.Laser_statu laser_statu_vector = 4;
  1280. inline int Measure_status_msg::laser_statu_vector_size() const {
  1281. return laser_statu_vector_.size();
  1282. }
  1283. inline void Measure_status_msg::clear_laser_statu_vector() {
  1284. laser_statu_vector_.Clear();
  1285. }
  1286. inline ::message::Laser_statu Measure_status_msg::laser_statu_vector(int index) const {
  1287. // @@protoc_insertion_point(field_get:message.Measure_status_msg.laser_statu_vector)
  1288. return static_cast< ::message::Laser_statu >(laser_statu_vector_.Get(index));
  1289. }
  1290. inline void Measure_status_msg::set_laser_statu_vector(int index, ::message::Laser_statu value) {
  1291. assert(::message::Laser_statu_IsValid(value));
  1292. laser_statu_vector_.Set(index, value);
  1293. // @@protoc_insertion_point(field_set:message.Measure_status_msg.laser_statu_vector)
  1294. }
  1295. inline void Measure_status_msg::add_laser_statu_vector(::message::Laser_statu value) {
  1296. assert(::message::Laser_statu_IsValid(value));
  1297. laser_statu_vector_.Add(value);
  1298. // @@protoc_insertion_point(field_add:message.Measure_status_msg.laser_statu_vector)
  1299. }
  1300. inline const ::google::protobuf::RepeatedField<int>&
  1301. Measure_status_msg::laser_statu_vector() const {
  1302. // @@protoc_insertion_point(field_list:message.Measure_status_msg.laser_statu_vector)
  1303. return laser_statu_vector_;
  1304. }
  1305. inline ::google::protobuf::RepeatedField<int>*
  1306. Measure_status_msg::mutable_laser_statu_vector() {
  1307. // @@protoc_insertion_point(field_mutable_list:message.Measure_status_msg.laser_statu_vector)
  1308. return &laser_statu_vector_;
  1309. }
  1310. // required .message.Locate_manager_status locate_manager_status = 5;
  1311. inline bool Measure_status_msg::has_locate_manager_status() const {
  1312. return (_has_bits_[0] & 0x00000010u) != 0;
  1313. }
  1314. inline void Measure_status_msg::set_has_locate_manager_status() {
  1315. _has_bits_[0] |= 0x00000010u;
  1316. }
  1317. inline void Measure_status_msg::clear_has_locate_manager_status() {
  1318. _has_bits_[0] &= ~0x00000010u;
  1319. }
  1320. inline void Measure_status_msg::clear_locate_manager_status() {
  1321. locate_manager_status_ = 0;
  1322. clear_has_locate_manager_status();
  1323. }
  1324. inline ::message::Locate_manager_status Measure_status_msg::locate_manager_status() const {
  1325. // @@protoc_insertion_point(field_get:message.Measure_status_msg.locate_manager_status)
  1326. return static_cast< ::message::Locate_manager_status >(locate_manager_status_);
  1327. }
  1328. inline void Measure_status_msg::set_locate_manager_status(::message::Locate_manager_status value) {
  1329. assert(::message::Locate_manager_status_IsValid(value));
  1330. set_has_locate_manager_status();
  1331. locate_manager_status_ = value;
  1332. // @@protoc_insertion_point(field_set:message.Measure_status_msg.locate_manager_status)
  1333. }
  1334. // required .message.Wanji_manager_status wanji_manager_status = 6;
  1335. inline bool Measure_status_msg::has_wanji_manager_status() const {
  1336. return (_has_bits_[0] & 0x00000020u) != 0;
  1337. }
  1338. inline void Measure_status_msg::set_has_wanji_manager_status() {
  1339. _has_bits_[0] |= 0x00000020u;
  1340. }
  1341. inline void Measure_status_msg::clear_has_wanji_manager_status() {
  1342. _has_bits_[0] &= ~0x00000020u;
  1343. }
  1344. inline void Measure_status_msg::clear_wanji_manager_status() {
  1345. wanji_manager_status_ = 0;
  1346. clear_has_wanji_manager_status();
  1347. }
  1348. inline ::message::Wanji_manager_status Measure_status_msg::wanji_manager_status() const {
  1349. // @@protoc_insertion_point(field_get:message.Measure_status_msg.wanji_manager_status)
  1350. return static_cast< ::message::Wanji_manager_status >(wanji_manager_status_);
  1351. }
  1352. inline void Measure_status_msg::set_wanji_manager_status(::message::Wanji_manager_status value) {
  1353. assert(::message::Wanji_manager_status_IsValid(value));
  1354. set_has_wanji_manager_status();
  1355. wanji_manager_status_ = value;
  1356. // @@protoc_insertion_point(field_set:message.Measure_status_msg.wanji_manager_status)
  1357. }
  1358. // repeated .message.Wanji_lidar_device_status wanji_lidar_device_status = 7;
  1359. inline int Measure_status_msg::wanji_lidar_device_status_size() const {
  1360. return wanji_lidar_device_status_.size();
  1361. }
  1362. inline void Measure_status_msg::clear_wanji_lidar_device_status() {
  1363. wanji_lidar_device_status_.Clear();
  1364. }
  1365. inline ::message::Wanji_lidar_device_status Measure_status_msg::wanji_lidar_device_status(int index) const {
  1366. // @@protoc_insertion_point(field_get:message.Measure_status_msg.wanji_lidar_device_status)
  1367. return static_cast< ::message::Wanji_lidar_device_status >(wanji_lidar_device_status_.Get(index));
  1368. }
  1369. inline void Measure_status_msg::set_wanji_lidar_device_status(int index, ::message::Wanji_lidar_device_status value) {
  1370. assert(::message::Wanji_lidar_device_status_IsValid(value));
  1371. wanji_lidar_device_status_.Set(index, value);
  1372. // @@protoc_insertion_point(field_set:message.Measure_status_msg.wanji_lidar_device_status)
  1373. }
  1374. inline void Measure_status_msg::add_wanji_lidar_device_status(::message::Wanji_lidar_device_status value) {
  1375. assert(::message::Wanji_lidar_device_status_IsValid(value));
  1376. wanji_lidar_device_status_.Add(value);
  1377. // @@protoc_insertion_point(field_add:message.Measure_status_msg.wanji_lidar_device_status)
  1378. }
  1379. inline const ::google::protobuf::RepeatedField<int>&
  1380. Measure_status_msg::wanji_lidar_device_status() const {
  1381. // @@protoc_insertion_point(field_list:message.Measure_status_msg.wanji_lidar_device_status)
  1382. return wanji_lidar_device_status_;
  1383. }
  1384. inline ::google::protobuf::RepeatedField<int>*
  1385. Measure_status_msg::mutable_wanji_lidar_device_status() {
  1386. // @@protoc_insertion_point(field_mutable_list:message.Measure_status_msg.wanji_lidar_device_status)
  1387. return &wanji_lidar_device_status_;
  1388. }
  1389. // repeated .message.Region_worker_status region_worker_status = 8;
  1390. inline int Measure_status_msg::region_worker_status_size() const {
  1391. return region_worker_status_.size();
  1392. }
  1393. inline void Measure_status_msg::clear_region_worker_status() {
  1394. region_worker_status_.Clear();
  1395. }
  1396. inline ::message::Region_worker_status Measure_status_msg::region_worker_status(int index) const {
  1397. // @@protoc_insertion_point(field_get:message.Measure_status_msg.region_worker_status)
  1398. return static_cast< ::message::Region_worker_status >(region_worker_status_.Get(index));
  1399. }
  1400. inline void Measure_status_msg::set_region_worker_status(int index, ::message::Region_worker_status value) {
  1401. assert(::message::Region_worker_status_IsValid(value));
  1402. region_worker_status_.Set(index, value);
  1403. // @@protoc_insertion_point(field_set:message.Measure_status_msg.region_worker_status)
  1404. }
  1405. inline void Measure_status_msg::add_region_worker_status(::message::Region_worker_status value) {
  1406. assert(::message::Region_worker_status_IsValid(value));
  1407. region_worker_status_.Add(value);
  1408. // @@protoc_insertion_point(field_add:message.Measure_status_msg.region_worker_status)
  1409. }
  1410. inline const ::google::protobuf::RepeatedField<int>&
  1411. Measure_status_msg::region_worker_status() const {
  1412. // @@protoc_insertion_point(field_list:message.Measure_status_msg.region_worker_status)
  1413. return region_worker_status_;
  1414. }
  1415. inline ::google::protobuf::RepeatedField<int>*
  1416. Measure_status_msg::mutable_region_worker_status() {
  1417. // @@protoc_insertion_point(field_mutable_list:message.Measure_status_msg.region_worker_status)
  1418. return &region_worker_status_;
  1419. }
  1420. // repeated .message.Locate_information locate_information_realtime = 9;
  1421. inline int Measure_status_msg::locate_information_realtime_size() const {
  1422. return locate_information_realtime_.size();
  1423. }
  1424. inline const ::message::Locate_information& Measure_status_msg::locate_information_realtime(int index) const {
  1425. // @@protoc_insertion_point(field_get:message.Measure_status_msg.locate_information_realtime)
  1426. return locate_information_realtime_.Get(index);
  1427. }
  1428. inline ::message::Locate_information* Measure_status_msg::mutable_locate_information_realtime(int index) {
  1429. // @@protoc_insertion_point(field_mutable:message.Measure_status_msg.locate_information_realtime)
  1430. return locate_information_realtime_.Mutable(index);
  1431. }
  1432. inline ::message::Locate_information* Measure_status_msg::add_locate_information_realtime() {
  1433. // @@protoc_insertion_point(field_add:message.Measure_status_msg.locate_information_realtime)
  1434. return locate_information_realtime_.Add();
  1435. }
  1436. inline ::google::protobuf::RepeatedPtrField< ::message::Locate_information >*
  1437. Measure_status_msg::mutable_locate_information_realtime() {
  1438. // @@protoc_insertion_point(field_mutable_list:message.Measure_status_msg.locate_information_realtime)
  1439. return &locate_information_realtime_;
  1440. }
  1441. inline const ::google::protobuf::RepeatedPtrField< ::message::Locate_information >&
  1442. Measure_status_msg::locate_information_realtime() const {
  1443. // @@protoc_insertion_point(field_list:message.Measure_status_msg.locate_information_realtime)
  1444. return locate_information_realtime_;
  1445. }
  1446. // required .message.Error_manager error_manager = 10;
  1447. inline bool Measure_status_msg::has_error_manager() const {
  1448. return (_has_bits_[0] & 0x00000002u) != 0;
  1449. }
  1450. inline void Measure_status_msg::set_has_error_manager() {
  1451. _has_bits_[0] |= 0x00000002u;
  1452. }
  1453. inline void Measure_status_msg::clear_has_error_manager() {
  1454. _has_bits_[0] &= ~0x00000002u;
  1455. }
  1456. inline const ::message::Error_manager& Measure_status_msg::error_manager() const {
  1457. const ::message::Error_manager* p = error_manager_;
  1458. // @@protoc_insertion_point(field_get:message.Measure_status_msg.error_manager)
  1459. return p != NULL ? *p : *reinterpret_cast<const ::message::Error_manager*>(
  1460. &::message::_Error_manager_default_instance_);
  1461. }
  1462. inline ::message::Error_manager* Measure_status_msg::release_error_manager() {
  1463. // @@protoc_insertion_point(field_release:message.Measure_status_msg.error_manager)
  1464. clear_has_error_manager();
  1465. ::message::Error_manager* temp = error_manager_;
  1466. error_manager_ = NULL;
  1467. return temp;
  1468. }
  1469. inline ::message::Error_manager* Measure_status_msg::mutable_error_manager() {
  1470. set_has_error_manager();
  1471. if (error_manager_ == NULL) {
  1472. error_manager_ = new ::message::Error_manager;
  1473. }
  1474. // @@protoc_insertion_point(field_mutable:message.Measure_status_msg.error_manager)
  1475. return error_manager_;
  1476. }
  1477. inline void Measure_status_msg::set_allocated_error_manager(::message::Error_manager* error_manager) {
  1478. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1479. if (message_arena == NULL) {
  1480. delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_manager_);
  1481. }
  1482. if (error_manager) {
  1483. ::google::protobuf::Arena* submessage_arena = NULL;
  1484. if (message_arena != submessage_arena) {
  1485. error_manager = ::google::protobuf::internal::GetOwnedMessage(
  1486. message_arena, error_manager, submessage_arena);
  1487. }
  1488. set_has_error_manager();
  1489. } else {
  1490. clear_has_error_manager();
  1491. }
  1492. error_manager_ = error_manager;
  1493. // @@protoc_insertion_point(field_set_allocated:message.Measure_status_msg.error_manager)
  1494. }
  1495. // -------------------------------------------------------------------
  1496. // Measure_request_msg
  1497. // required .message.Base_info base_info = 1;
  1498. inline bool Measure_request_msg::has_base_info() const {
  1499. return (_has_bits_[0] & 0x00000002u) != 0;
  1500. }
  1501. inline void Measure_request_msg::set_has_base_info() {
  1502. _has_bits_[0] |= 0x00000002u;
  1503. }
  1504. inline void Measure_request_msg::clear_has_base_info() {
  1505. _has_bits_[0] &= ~0x00000002u;
  1506. }
  1507. inline const ::message::Base_info& Measure_request_msg::base_info() const {
  1508. const ::message::Base_info* p = base_info_;
  1509. // @@protoc_insertion_point(field_get:message.Measure_request_msg.base_info)
  1510. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  1511. &::message::_Base_info_default_instance_);
  1512. }
  1513. inline ::message::Base_info* Measure_request_msg::release_base_info() {
  1514. // @@protoc_insertion_point(field_release:message.Measure_request_msg.base_info)
  1515. clear_has_base_info();
  1516. ::message::Base_info* temp = base_info_;
  1517. base_info_ = NULL;
  1518. return temp;
  1519. }
  1520. inline ::message::Base_info* Measure_request_msg::mutable_base_info() {
  1521. set_has_base_info();
  1522. if (base_info_ == NULL) {
  1523. base_info_ = new ::message::Base_info;
  1524. }
  1525. // @@protoc_insertion_point(field_mutable:message.Measure_request_msg.base_info)
  1526. return base_info_;
  1527. }
  1528. inline void Measure_request_msg::set_allocated_base_info(::message::Base_info* base_info) {
  1529. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1530. if (message_arena == NULL) {
  1531. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  1532. }
  1533. if (base_info) {
  1534. ::google::protobuf::Arena* submessage_arena = NULL;
  1535. if (message_arena != submessage_arena) {
  1536. base_info = ::google::protobuf::internal::GetOwnedMessage(
  1537. message_arena, base_info, submessage_arena);
  1538. }
  1539. set_has_base_info();
  1540. } else {
  1541. clear_has_base_info();
  1542. }
  1543. base_info_ = base_info;
  1544. // @@protoc_insertion_point(field_set_allocated:message.Measure_request_msg.base_info)
  1545. }
  1546. // required string command_key = 2;
  1547. inline bool Measure_request_msg::has_command_key() const {
  1548. return (_has_bits_[0] & 0x00000001u) != 0;
  1549. }
  1550. inline void Measure_request_msg::set_has_command_key() {
  1551. _has_bits_[0] |= 0x00000001u;
  1552. }
  1553. inline void Measure_request_msg::clear_has_command_key() {
  1554. _has_bits_[0] &= ~0x00000001u;
  1555. }
  1556. inline void Measure_request_msg::clear_command_key() {
  1557. command_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1558. clear_has_command_key();
  1559. }
  1560. inline const ::std::string& Measure_request_msg::command_key() const {
  1561. // @@protoc_insertion_point(field_get:message.Measure_request_msg.command_key)
  1562. return command_key_.GetNoArena();
  1563. }
  1564. inline void Measure_request_msg::set_command_key(const ::std::string& value) {
  1565. set_has_command_key();
  1566. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1567. // @@protoc_insertion_point(field_set:message.Measure_request_msg.command_key)
  1568. }
  1569. #if LANG_CXX11
  1570. inline void Measure_request_msg::set_command_key(::std::string&& value) {
  1571. set_has_command_key();
  1572. command_key_.SetNoArena(
  1573. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1574. // @@protoc_insertion_point(field_set_rvalue:message.Measure_request_msg.command_key)
  1575. }
  1576. #endif
  1577. inline void Measure_request_msg::set_command_key(const char* value) {
  1578. GOOGLE_DCHECK(value != NULL);
  1579. set_has_command_key();
  1580. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1581. // @@protoc_insertion_point(field_set_char:message.Measure_request_msg.command_key)
  1582. }
  1583. inline void Measure_request_msg::set_command_key(const char* value, size_t size) {
  1584. set_has_command_key();
  1585. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1586. ::std::string(reinterpret_cast<const char*>(value), size));
  1587. // @@protoc_insertion_point(field_set_pointer:message.Measure_request_msg.command_key)
  1588. }
  1589. inline ::std::string* Measure_request_msg::mutable_command_key() {
  1590. set_has_command_key();
  1591. // @@protoc_insertion_point(field_mutable:message.Measure_request_msg.command_key)
  1592. return command_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1593. }
  1594. inline ::std::string* Measure_request_msg::release_command_key() {
  1595. // @@protoc_insertion_point(field_release:message.Measure_request_msg.command_key)
  1596. clear_has_command_key();
  1597. return command_key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1598. }
  1599. inline void Measure_request_msg::set_allocated_command_key(::std::string* command_key) {
  1600. if (command_key != NULL) {
  1601. set_has_command_key();
  1602. } else {
  1603. clear_has_command_key();
  1604. }
  1605. command_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), command_key);
  1606. // @@protoc_insertion_point(field_set_allocated:message.Measure_request_msg.command_key)
  1607. }
  1608. // required int32 terminal_id = 3;
  1609. inline bool Measure_request_msg::has_terminal_id() const {
  1610. return (_has_bits_[0] & 0x00000004u) != 0;
  1611. }
  1612. inline void Measure_request_msg::set_has_terminal_id() {
  1613. _has_bits_[0] |= 0x00000004u;
  1614. }
  1615. inline void Measure_request_msg::clear_has_terminal_id() {
  1616. _has_bits_[0] &= ~0x00000004u;
  1617. }
  1618. inline void Measure_request_msg::clear_terminal_id() {
  1619. terminal_id_ = 0;
  1620. clear_has_terminal_id();
  1621. }
  1622. inline ::google::protobuf::int32 Measure_request_msg::terminal_id() const {
  1623. // @@protoc_insertion_point(field_get:message.Measure_request_msg.terminal_id)
  1624. return terminal_id_;
  1625. }
  1626. inline void Measure_request_msg::set_terminal_id(::google::protobuf::int32 value) {
  1627. set_has_terminal_id();
  1628. terminal_id_ = value;
  1629. // @@protoc_insertion_point(field_set:message.Measure_request_msg.terminal_id)
  1630. }
  1631. // -------------------------------------------------------------------
  1632. // Measure_response_msg
  1633. // required .message.Base_info base_info = 1;
  1634. inline bool Measure_response_msg::has_base_info() const {
  1635. return (_has_bits_[0] & 0x00000002u) != 0;
  1636. }
  1637. inline void Measure_response_msg::set_has_base_info() {
  1638. _has_bits_[0] |= 0x00000002u;
  1639. }
  1640. inline void Measure_response_msg::clear_has_base_info() {
  1641. _has_bits_[0] &= ~0x00000002u;
  1642. }
  1643. inline const ::message::Base_info& Measure_response_msg::base_info() const {
  1644. const ::message::Base_info* p = base_info_;
  1645. // @@protoc_insertion_point(field_get:message.Measure_response_msg.base_info)
  1646. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  1647. &::message::_Base_info_default_instance_);
  1648. }
  1649. inline ::message::Base_info* Measure_response_msg::release_base_info() {
  1650. // @@protoc_insertion_point(field_release:message.Measure_response_msg.base_info)
  1651. clear_has_base_info();
  1652. ::message::Base_info* temp = base_info_;
  1653. base_info_ = NULL;
  1654. return temp;
  1655. }
  1656. inline ::message::Base_info* Measure_response_msg::mutable_base_info() {
  1657. set_has_base_info();
  1658. if (base_info_ == NULL) {
  1659. base_info_ = new ::message::Base_info;
  1660. }
  1661. // @@protoc_insertion_point(field_mutable:message.Measure_response_msg.base_info)
  1662. return base_info_;
  1663. }
  1664. inline void Measure_response_msg::set_allocated_base_info(::message::Base_info* base_info) {
  1665. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1666. if (message_arena == NULL) {
  1667. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  1668. }
  1669. if (base_info) {
  1670. ::google::protobuf::Arena* submessage_arena = NULL;
  1671. if (message_arena != submessage_arena) {
  1672. base_info = ::google::protobuf::internal::GetOwnedMessage(
  1673. message_arena, base_info, submessage_arena);
  1674. }
  1675. set_has_base_info();
  1676. } else {
  1677. clear_has_base_info();
  1678. }
  1679. base_info_ = base_info;
  1680. // @@protoc_insertion_point(field_set_allocated:message.Measure_response_msg.base_info)
  1681. }
  1682. // required string command_key = 2;
  1683. inline bool Measure_response_msg::has_command_key() const {
  1684. return (_has_bits_[0] & 0x00000001u) != 0;
  1685. }
  1686. inline void Measure_response_msg::set_has_command_key() {
  1687. _has_bits_[0] |= 0x00000001u;
  1688. }
  1689. inline void Measure_response_msg::clear_has_command_key() {
  1690. _has_bits_[0] &= ~0x00000001u;
  1691. }
  1692. inline void Measure_response_msg::clear_command_key() {
  1693. command_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1694. clear_has_command_key();
  1695. }
  1696. inline const ::std::string& Measure_response_msg::command_key() const {
  1697. // @@protoc_insertion_point(field_get:message.Measure_response_msg.command_key)
  1698. return command_key_.GetNoArena();
  1699. }
  1700. inline void Measure_response_msg::set_command_key(const ::std::string& value) {
  1701. set_has_command_key();
  1702. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1703. // @@protoc_insertion_point(field_set:message.Measure_response_msg.command_key)
  1704. }
  1705. #if LANG_CXX11
  1706. inline void Measure_response_msg::set_command_key(::std::string&& value) {
  1707. set_has_command_key();
  1708. command_key_.SetNoArena(
  1709. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1710. // @@protoc_insertion_point(field_set_rvalue:message.Measure_response_msg.command_key)
  1711. }
  1712. #endif
  1713. inline void Measure_response_msg::set_command_key(const char* value) {
  1714. GOOGLE_DCHECK(value != NULL);
  1715. set_has_command_key();
  1716. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1717. // @@protoc_insertion_point(field_set_char:message.Measure_response_msg.command_key)
  1718. }
  1719. inline void Measure_response_msg::set_command_key(const char* value, size_t size) {
  1720. set_has_command_key();
  1721. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1722. ::std::string(reinterpret_cast<const char*>(value), size));
  1723. // @@protoc_insertion_point(field_set_pointer:message.Measure_response_msg.command_key)
  1724. }
  1725. inline ::std::string* Measure_response_msg::mutable_command_key() {
  1726. set_has_command_key();
  1727. // @@protoc_insertion_point(field_mutable:message.Measure_response_msg.command_key)
  1728. return command_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1729. }
  1730. inline ::std::string* Measure_response_msg::release_command_key() {
  1731. // @@protoc_insertion_point(field_release:message.Measure_response_msg.command_key)
  1732. clear_has_command_key();
  1733. return command_key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1734. }
  1735. inline void Measure_response_msg::set_allocated_command_key(::std::string* command_key) {
  1736. if (command_key != NULL) {
  1737. set_has_command_key();
  1738. } else {
  1739. clear_has_command_key();
  1740. }
  1741. command_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), command_key);
  1742. // @@protoc_insertion_point(field_set_allocated:message.Measure_response_msg.command_key)
  1743. }
  1744. // required int32 terminal_id = 3;
  1745. inline bool Measure_response_msg::has_terminal_id() const {
  1746. return (_has_bits_[0] & 0x00000010u) != 0;
  1747. }
  1748. inline void Measure_response_msg::set_has_terminal_id() {
  1749. _has_bits_[0] |= 0x00000010u;
  1750. }
  1751. inline void Measure_response_msg::clear_has_terminal_id() {
  1752. _has_bits_[0] &= ~0x00000010u;
  1753. }
  1754. inline void Measure_response_msg::clear_terminal_id() {
  1755. terminal_id_ = 0;
  1756. clear_has_terminal_id();
  1757. }
  1758. inline ::google::protobuf::int32 Measure_response_msg::terminal_id() const {
  1759. // @@protoc_insertion_point(field_get:message.Measure_response_msg.terminal_id)
  1760. return terminal_id_;
  1761. }
  1762. inline void Measure_response_msg::set_terminal_id(::google::protobuf::int32 value) {
  1763. set_has_terminal_id();
  1764. terminal_id_ = value;
  1765. // @@protoc_insertion_point(field_set:message.Measure_response_msg.terminal_id)
  1766. }
  1767. // optional .message.Locate_information locate_information = 4;
  1768. inline bool Measure_response_msg::has_locate_information() const {
  1769. return (_has_bits_[0] & 0x00000004u) != 0;
  1770. }
  1771. inline void Measure_response_msg::set_has_locate_information() {
  1772. _has_bits_[0] |= 0x00000004u;
  1773. }
  1774. inline void Measure_response_msg::clear_has_locate_information() {
  1775. _has_bits_[0] &= ~0x00000004u;
  1776. }
  1777. inline const ::message::Locate_information& Measure_response_msg::locate_information() const {
  1778. const ::message::Locate_information* p = locate_information_;
  1779. // @@protoc_insertion_point(field_get:message.Measure_response_msg.locate_information)
  1780. return p != NULL ? *p : *reinterpret_cast<const ::message::Locate_information*>(
  1781. &::message::_Locate_information_default_instance_);
  1782. }
  1783. inline ::message::Locate_information* Measure_response_msg::release_locate_information() {
  1784. // @@protoc_insertion_point(field_release:message.Measure_response_msg.locate_information)
  1785. clear_has_locate_information();
  1786. ::message::Locate_information* temp = locate_information_;
  1787. locate_information_ = NULL;
  1788. return temp;
  1789. }
  1790. inline ::message::Locate_information* Measure_response_msg::mutable_locate_information() {
  1791. set_has_locate_information();
  1792. if (locate_information_ == NULL) {
  1793. locate_information_ = new ::message::Locate_information;
  1794. }
  1795. // @@protoc_insertion_point(field_mutable:message.Measure_response_msg.locate_information)
  1796. return locate_information_;
  1797. }
  1798. inline void Measure_response_msg::set_allocated_locate_information(::message::Locate_information* locate_information) {
  1799. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1800. if (message_arena == NULL) {
  1801. delete reinterpret_cast< ::google::protobuf::MessageLite*>(locate_information_);
  1802. }
  1803. if (locate_information) {
  1804. ::google::protobuf::Arena* submessage_arena = NULL;
  1805. if (message_arena != submessage_arena) {
  1806. locate_information = ::google::protobuf::internal::GetOwnedMessage(
  1807. message_arena, locate_information, submessage_arena);
  1808. }
  1809. set_has_locate_information();
  1810. } else {
  1811. clear_has_locate_information();
  1812. }
  1813. locate_information_ = locate_information;
  1814. // @@protoc_insertion_point(field_set_allocated:message.Measure_response_msg.locate_information)
  1815. }
  1816. // required .message.Error_manager error_manager = 5;
  1817. inline bool Measure_response_msg::has_error_manager() const {
  1818. return (_has_bits_[0] & 0x00000008u) != 0;
  1819. }
  1820. inline void Measure_response_msg::set_has_error_manager() {
  1821. _has_bits_[0] |= 0x00000008u;
  1822. }
  1823. inline void Measure_response_msg::clear_has_error_manager() {
  1824. _has_bits_[0] &= ~0x00000008u;
  1825. }
  1826. inline const ::message::Error_manager& Measure_response_msg::error_manager() const {
  1827. const ::message::Error_manager* p = error_manager_;
  1828. // @@protoc_insertion_point(field_get:message.Measure_response_msg.error_manager)
  1829. return p != NULL ? *p : *reinterpret_cast<const ::message::Error_manager*>(
  1830. &::message::_Error_manager_default_instance_);
  1831. }
  1832. inline ::message::Error_manager* Measure_response_msg::release_error_manager() {
  1833. // @@protoc_insertion_point(field_release:message.Measure_response_msg.error_manager)
  1834. clear_has_error_manager();
  1835. ::message::Error_manager* temp = error_manager_;
  1836. error_manager_ = NULL;
  1837. return temp;
  1838. }
  1839. inline ::message::Error_manager* Measure_response_msg::mutable_error_manager() {
  1840. set_has_error_manager();
  1841. if (error_manager_ == NULL) {
  1842. error_manager_ = new ::message::Error_manager;
  1843. }
  1844. // @@protoc_insertion_point(field_mutable:message.Measure_response_msg.error_manager)
  1845. return error_manager_;
  1846. }
  1847. inline void Measure_response_msg::set_allocated_error_manager(::message::Error_manager* error_manager) {
  1848. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1849. if (message_arena == NULL) {
  1850. delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_manager_);
  1851. }
  1852. if (error_manager) {
  1853. ::google::protobuf::Arena* submessage_arena = NULL;
  1854. if (message_arena != submessage_arena) {
  1855. error_manager = ::google::protobuf::internal::GetOwnedMessage(
  1856. message_arena, error_manager, submessage_arena);
  1857. }
  1858. set_has_error_manager();
  1859. } else {
  1860. clear_has_error_manager();
  1861. }
  1862. error_manager_ = error_manager;
  1863. // @@protoc_insertion_point(field_set_allocated:message.Measure_response_msg.error_manager)
  1864. }
  1865. // -------------------------------------------------------------------
  1866. // Cloud_coordinate
  1867. // required float x = 1;
  1868. inline bool Cloud_coordinate::has_x() const {
  1869. return (_has_bits_[0] & 0x00000001u) != 0;
  1870. }
  1871. inline void Cloud_coordinate::set_has_x() {
  1872. _has_bits_[0] |= 0x00000001u;
  1873. }
  1874. inline void Cloud_coordinate::clear_has_x() {
  1875. _has_bits_[0] &= ~0x00000001u;
  1876. }
  1877. inline void Cloud_coordinate::clear_x() {
  1878. x_ = 0;
  1879. clear_has_x();
  1880. }
  1881. inline float Cloud_coordinate::x() const {
  1882. // @@protoc_insertion_point(field_get:message.Cloud_coordinate.x)
  1883. return x_;
  1884. }
  1885. inline void Cloud_coordinate::set_x(float value) {
  1886. set_has_x();
  1887. x_ = value;
  1888. // @@protoc_insertion_point(field_set:message.Cloud_coordinate.x)
  1889. }
  1890. // required float y = 2;
  1891. inline bool Cloud_coordinate::has_y() const {
  1892. return (_has_bits_[0] & 0x00000002u) != 0;
  1893. }
  1894. inline void Cloud_coordinate::set_has_y() {
  1895. _has_bits_[0] |= 0x00000002u;
  1896. }
  1897. inline void Cloud_coordinate::clear_has_y() {
  1898. _has_bits_[0] &= ~0x00000002u;
  1899. }
  1900. inline void Cloud_coordinate::clear_y() {
  1901. y_ = 0;
  1902. clear_has_y();
  1903. }
  1904. inline float Cloud_coordinate::y() const {
  1905. // @@protoc_insertion_point(field_get:message.Cloud_coordinate.y)
  1906. return y_;
  1907. }
  1908. inline void Cloud_coordinate::set_y(float value) {
  1909. set_has_y();
  1910. y_ = value;
  1911. // @@protoc_insertion_point(field_set:message.Cloud_coordinate.y)
  1912. }
  1913. // required float z = 3;
  1914. inline bool Cloud_coordinate::has_z() const {
  1915. return (_has_bits_[0] & 0x00000004u) != 0;
  1916. }
  1917. inline void Cloud_coordinate::set_has_z() {
  1918. _has_bits_[0] |= 0x00000004u;
  1919. }
  1920. inline void Cloud_coordinate::clear_has_z() {
  1921. _has_bits_[0] &= ~0x00000004u;
  1922. }
  1923. inline void Cloud_coordinate::clear_z() {
  1924. z_ = 0;
  1925. clear_has_z();
  1926. }
  1927. inline float Cloud_coordinate::z() const {
  1928. // @@protoc_insertion_point(field_get:message.Cloud_coordinate.z)
  1929. return z_;
  1930. }
  1931. inline void Cloud_coordinate::set_z(float value) {
  1932. set_has_z();
  1933. z_ = value;
  1934. // @@protoc_insertion_point(field_set:message.Cloud_coordinate.z)
  1935. }
  1936. // -------------------------------------------------------------------
  1937. // Cloud_type
  1938. // required int32 type = 1;
  1939. inline bool Cloud_type::has_type() const {
  1940. return (_has_bits_[0] & 0x00000001u) != 0;
  1941. }
  1942. inline void Cloud_type::set_has_type() {
  1943. _has_bits_[0] |= 0x00000001u;
  1944. }
  1945. inline void Cloud_type::clear_has_type() {
  1946. _has_bits_[0] &= ~0x00000001u;
  1947. }
  1948. inline void Cloud_type::clear_type() {
  1949. type_ = 0;
  1950. clear_has_type();
  1951. }
  1952. inline ::google::protobuf::int32 Cloud_type::type() const {
  1953. // @@protoc_insertion_point(field_get:message.Cloud_type.type)
  1954. return type_;
  1955. }
  1956. inline void Cloud_type::set_type(::google::protobuf::int32 value) {
  1957. set_has_type();
  1958. type_ = value;
  1959. // @@protoc_insertion_point(field_set:message.Cloud_type.type)
  1960. }
  1961. // -------------------------------------------------------------------
  1962. // Locate_sift_request_msg
  1963. // required .message.Base_info base_info = 1;
  1964. inline bool Locate_sift_request_msg::has_base_info() const {
  1965. return (_has_bits_[0] & 0x00000002u) != 0;
  1966. }
  1967. inline void Locate_sift_request_msg::set_has_base_info() {
  1968. _has_bits_[0] |= 0x00000002u;
  1969. }
  1970. inline void Locate_sift_request_msg::clear_has_base_info() {
  1971. _has_bits_[0] &= ~0x00000002u;
  1972. }
  1973. inline const ::message::Base_info& Locate_sift_request_msg::base_info() const {
  1974. const ::message::Base_info* p = base_info_;
  1975. // @@protoc_insertion_point(field_get:message.Locate_sift_request_msg.base_info)
  1976. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  1977. &::message::_Base_info_default_instance_);
  1978. }
  1979. inline ::message::Base_info* Locate_sift_request_msg::release_base_info() {
  1980. // @@protoc_insertion_point(field_release:message.Locate_sift_request_msg.base_info)
  1981. clear_has_base_info();
  1982. ::message::Base_info* temp = base_info_;
  1983. base_info_ = NULL;
  1984. return temp;
  1985. }
  1986. inline ::message::Base_info* Locate_sift_request_msg::mutable_base_info() {
  1987. set_has_base_info();
  1988. if (base_info_ == NULL) {
  1989. base_info_ = new ::message::Base_info;
  1990. }
  1991. // @@protoc_insertion_point(field_mutable:message.Locate_sift_request_msg.base_info)
  1992. return base_info_;
  1993. }
  1994. inline void Locate_sift_request_msg::set_allocated_base_info(::message::Base_info* base_info) {
  1995. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1996. if (message_arena == NULL) {
  1997. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  1998. }
  1999. if (base_info) {
  2000. ::google::protobuf::Arena* submessage_arena = NULL;
  2001. if (message_arena != submessage_arena) {
  2002. base_info = ::google::protobuf::internal::GetOwnedMessage(
  2003. message_arena, base_info, submessage_arena);
  2004. }
  2005. set_has_base_info();
  2006. } else {
  2007. clear_has_base_info();
  2008. }
  2009. base_info_ = base_info;
  2010. // @@protoc_insertion_point(field_set_allocated:message.Locate_sift_request_msg.base_info)
  2011. }
  2012. // required string command_key = 2;
  2013. inline bool Locate_sift_request_msg::has_command_key() const {
  2014. return (_has_bits_[0] & 0x00000001u) != 0;
  2015. }
  2016. inline void Locate_sift_request_msg::set_has_command_key() {
  2017. _has_bits_[0] |= 0x00000001u;
  2018. }
  2019. inline void Locate_sift_request_msg::clear_has_command_key() {
  2020. _has_bits_[0] &= ~0x00000001u;
  2021. }
  2022. inline void Locate_sift_request_msg::clear_command_key() {
  2023. command_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2024. clear_has_command_key();
  2025. }
  2026. inline const ::std::string& Locate_sift_request_msg::command_key() const {
  2027. // @@protoc_insertion_point(field_get:message.Locate_sift_request_msg.command_key)
  2028. return command_key_.GetNoArena();
  2029. }
  2030. inline void Locate_sift_request_msg::set_command_key(const ::std::string& value) {
  2031. set_has_command_key();
  2032. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  2033. // @@protoc_insertion_point(field_set:message.Locate_sift_request_msg.command_key)
  2034. }
  2035. #if LANG_CXX11
  2036. inline void Locate_sift_request_msg::set_command_key(::std::string&& value) {
  2037. set_has_command_key();
  2038. command_key_.SetNoArena(
  2039. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  2040. // @@protoc_insertion_point(field_set_rvalue:message.Locate_sift_request_msg.command_key)
  2041. }
  2042. #endif
  2043. inline void Locate_sift_request_msg::set_command_key(const char* value) {
  2044. GOOGLE_DCHECK(value != NULL);
  2045. set_has_command_key();
  2046. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  2047. // @@protoc_insertion_point(field_set_char:message.Locate_sift_request_msg.command_key)
  2048. }
  2049. inline void Locate_sift_request_msg::set_command_key(const char* value, size_t size) {
  2050. set_has_command_key();
  2051. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  2052. ::std::string(reinterpret_cast<const char*>(value), size));
  2053. // @@protoc_insertion_point(field_set_pointer:message.Locate_sift_request_msg.command_key)
  2054. }
  2055. inline ::std::string* Locate_sift_request_msg::mutable_command_key() {
  2056. set_has_command_key();
  2057. // @@protoc_insertion_point(field_mutable:message.Locate_sift_request_msg.command_key)
  2058. return command_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2059. }
  2060. inline ::std::string* Locate_sift_request_msg::release_command_key() {
  2061. // @@protoc_insertion_point(field_release:message.Locate_sift_request_msg.command_key)
  2062. clear_has_command_key();
  2063. return command_key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2064. }
  2065. inline void Locate_sift_request_msg::set_allocated_command_key(::std::string* command_key) {
  2066. if (command_key != NULL) {
  2067. set_has_command_key();
  2068. } else {
  2069. clear_has_command_key();
  2070. }
  2071. command_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), command_key);
  2072. // @@protoc_insertion_point(field_set_allocated:message.Locate_sift_request_msg.command_key)
  2073. }
  2074. // required int32 terminal_id = 3;
  2075. inline bool Locate_sift_request_msg::has_terminal_id() const {
  2076. return (_has_bits_[0] & 0x00000004u) != 0;
  2077. }
  2078. inline void Locate_sift_request_msg::set_has_terminal_id() {
  2079. _has_bits_[0] |= 0x00000004u;
  2080. }
  2081. inline void Locate_sift_request_msg::clear_has_terminal_id() {
  2082. _has_bits_[0] &= ~0x00000004u;
  2083. }
  2084. inline void Locate_sift_request_msg::clear_terminal_id() {
  2085. terminal_id_ = 0;
  2086. clear_has_terminal_id();
  2087. }
  2088. inline ::google::protobuf::int32 Locate_sift_request_msg::terminal_id() const {
  2089. // @@protoc_insertion_point(field_get:message.Locate_sift_request_msg.terminal_id)
  2090. return terminal_id_;
  2091. }
  2092. inline void Locate_sift_request_msg::set_terminal_id(::google::protobuf::int32 value) {
  2093. set_has_terminal_id();
  2094. terminal_id_ = value;
  2095. // @@protoc_insertion_point(field_set:message.Locate_sift_request_msg.terminal_id)
  2096. }
  2097. // required int32 lidar_id = 4;
  2098. inline bool Locate_sift_request_msg::has_lidar_id() const {
  2099. return (_has_bits_[0] & 0x00000008u) != 0;
  2100. }
  2101. inline void Locate_sift_request_msg::set_has_lidar_id() {
  2102. _has_bits_[0] |= 0x00000008u;
  2103. }
  2104. inline void Locate_sift_request_msg::clear_has_lidar_id() {
  2105. _has_bits_[0] &= ~0x00000008u;
  2106. }
  2107. inline void Locate_sift_request_msg::clear_lidar_id() {
  2108. lidar_id_ = 0;
  2109. clear_has_lidar_id();
  2110. }
  2111. inline ::google::protobuf::int32 Locate_sift_request_msg::lidar_id() const {
  2112. // @@protoc_insertion_point(field_get:message.Locate_sift_request_msg.lidar_id)
  2113. return lidar_id_;
  2114. }
  2115. inline void Locate_sift_request_msg::set_lidar_id(::google::protobuf::int32 value) {
  2116. set_has_lidar_id();
  2117. lidar_id_ = value;
  2118. // @@protoc_insertion_point(field_set:message.Locate_sift_request_msg.lidar_id)
  2119. }
  2120. // repeated .message.Cloud_coordinate cloud_coordinates = 5;
  2121. inline int Locate_sift_request_msg::cloud_coordinates_size() const {
  2122. return cloud_coordinates_.size();
  2123. }
  2124. inline void Locate_sift_request_msg::clear_cloud_coordinates() {
  2125. cloud_coordinates_.Clear();
  2126. }
  2127. inline const ::message::Cloud_coordinate& Locate_sift_request_msg::cloud_coordinates(int index) const {
  2128. // @@protoc_insertion_point(field_get:message.Locate_sift_request_msg.cloud_coordinates)
  2129. return cloud_coordinates_.Get(index);
  2130. }
  2131. inline ::message::Cloud_coordinate* Locate_sift_request_msg::mutable_cloud_coordinates(int index) {
  2132. // @@protoc_insertion_point(field_mutable:message.Locate_sift_request_msg.cloud_coordinates)
  2133. return cloud_coordinates_.Mutable(index);
  2134. }
  2135. inline ::message::Cloud_coordinate* Locate_sift_request_msg::add_cloud_coordinates() {
  2136. // @@protoc_insertion_point(field_add:message.Locate_sift_request_msg.cloud_coordinates)
  2137. return cloud_coordinates_.Add();
  2138. }
  2139. inline ::google::protobuf::RepeatedPtrField< ::message::Cloud_coordinate >*
  2140. Locate_sift_request_msg::mutable_cloud_coordinates() {
  2141. // @@protoc_insertion_point(field_mutable_list:message.Locate_sift_request_msg.cloud_coordinates)
  2142. return &cloud_coordinates_;
  2143. }
  2144. inline const ::google::protobuf::RepeatedPtrField< ::message::Cloud_coordinate >&
  2145. Locate_sift_request_msg::cloud_coordinates() const {
  2146. // @@protoc_insertion_point(field_list:message.Locate_sift_request_msg.cloud_coordinates)
  2147. return cloud_coordinates_;
  2148. }
  2149. // -------------------------------------------------------------------
  2150. // Locate_sift_response_msg
  2151. // required .message.Base_info base_info = 1;
  2152. inline bool Locate_sift_response_msg::has_base_info() const {
  2153. return (_has_bits_[0] & 0x00000002u) != 0;
  2154. }
  2155. inline void Locate_sift_response_msg::set_has_base_info() {
  2156. _has_bits_[0] |= 0x00000002u;
  2157. }
  2158. inline void Locate_sift_response_msg::clear_has_base_info() {
  2159. _has_bits_[0] &= ~0x00000002u;
  2160. }
  2161. inline const ::message::Base_info& Locate_sift_response_msg::base_info() const {
  2162. const ::message::Base_info* p = base_info_;
  2163. // @@protoc_insertion_point(field_get:message.Locate_sift_response_msg.base_info)
  2164. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  2165. &::message::_Base_info_default_instance_);
  2166. }
  2167. inline ::message::Base_info* Locate_sift_response_msg::release_base_info() {
  2168. // @@protoc_insertion_point(field_release:message.Locate_sift_response_msg.base_info)
  2169. clear_has_base_info();
  2170. ::message::Base_info* temp = base_info_;
  2171. base_info_ = NULL;
  2172. return temp;
  2173. }
  2174. inline ::message::Base_info* Locate_sift_response_msg::mutable_base_info() {
  2175. set_has_base_info();
  2176. if (base_info_ == NULL) {
  2177. base_info_ = new ::message::Base_info;
  2178. }
  2179. // @@protoc_insertion_point(field_mutable:message.Locate_sift_response_msg.base_info)
  2180. return base_info_;
  2181. }
  2182. inline void Locate_sift_response_msg::set_allocated_base_info(::message::Base_info* base_info) {
  2183. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2184. if (message_arena == NULL) {
  2185. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  2186. }
  2187. if (base_info) {
  2188. ::google::protobuf::Arena* submessage_arena = NULL;
  2189. if (message_arena != submessage_arena) {
  2190. base_info = ::google::protobuf::internal::GetOwnedMessage(
  2191. message_arena, base_info, submessage_arena);
  2192. }
  2193. set_has_base_info();
  2194. } else {
  2195. clear_has_base_info();
  2196. }
  2197. base_info_ = base_info;
  2198. // @@protoc_insertion_point(field_set_allocated:message.Locate_sift_response_msg.base_info)
  2199. }
  2200. // required string command_key = 2;
  2201. inline bool Locate_sift_response_msg::has_command_key() const {
  2202. return (_has_bits_[0] & 0x00000001u) != 0;
  2203. }
  2204. inline void Locate_sift_response_msg::set_has_command_key() {
  2205. _has_bits_[0] |= 0x00000001u;
  2206. }
  2207. inline void Locate_sift_response_msg::clear_has_command_key() {
  2208. _has_bits_[0] &= ~0x00000001u;
  2209. }
  2210. inline void Locate_sift_response_msg::clear_command_key() {
  2211. command_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2212. clear_has_command_key();
  2213. }
  2214. inline const ::std::string& Locate_sift_response_msg::command_key() const {
  2215. // @@protoc_insertion_point(field_get:message.Locate_sift_response_msg.command_key)
  2216. return command_key_.GetNoArena();
  2217. }
  2218. inline void Locate_sift_response_msg::set_command_key(const ::std::string& value) {
  2219. set_has_command_key();
  2220. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  2221. // @@protoc_insertion_point(field_set:message.Locate_sift_response_msg.command_key)
  2222. }
  2223. #if LANG_CXX11
  2224. inline void Locate_sift_response_msg::set_command_key(::std::string&& value) {
  2225. set_has_command_key();
  2226. command_key_.SetNoArena(
  2227. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  2228. // @@protoc_insertion_point(field_set_rvalue:message.Locate_sift_response_msg.command_key)
  2229. }
  2230. #endif
  2231. inline void Locate_sift_response_msg::set_command_key(const char* value) {
  2232. GOOGLE_DCHECK(value != NULL);
  2233. set_has_command_key();
  2234. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  2235. // @@protoc_insertion_point(field_set_char:message.Locate_sift_response_msg.command_key)
  2236. }
  2237. inline void Locate_sift_response_msg::set_command_key(const char* value, size_t size) {
  2238. set_has_command_key();
  2239. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  2240. ::std::string(reinterpret_cast<const char*>(value), size));
  2241. // @@protoc_insertion_point(field_set_pointer:message.Locate_sift_response_msg.command_key)
  2242. }
  2243. inline ::std::string* Locate_sift_response_msg::mutable_command_key() {
  2244. set_has_command_key();
  2245. // @@protoc_insertion_point(field_mutable:message.Locate_sift_response_msg.command_key)
  2246. return command_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2247. }
  2248. inline ::std::string* Locate_sift_response_msg::release_command_key() {
  2249. // @@protoc_insertion_point(field_release:message.Locate_sift_response_msg.command_key)
  2250. clear_has_command_key();
  2251. return command_key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2252. }
  2253. inline void Locate_sift_response_msg::set_allocated_command_key(::std::string* command_key) {
  2254. if (command_key != NULL) {
  2255. set_has_command_key();
  2256. } else {
  2257. clear_has_command_key();
  2258. }
  2259. command_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), command_key);
  2260. // @@protoc_insertion_point(field_set_allocated:message.Locate_sift_response_msg.command_key)
  2261. }
  2262. // required int32 terminal_id = 3;
  2263. inline bool Locate_sift_response_msg::has_terminal_id() const {
  2264. return (_has_bits_[0] & 0x00000008u) != 0;
  2265. }
  2266. inline void Locate_sift_response_msg::set_has_terminal_id() {
  2267. _has_bits_[0] |= 0x00000008u;
  2268. }
  2269. inline void Locate_sift_response_msg::clear_has_terminal_id() {
  2270. _has_bits_[0] &= ~0x00000008u;
  2271. }
  2272. inline void Locate_sift_response_msg::clear_terminal_id() {
  2273. terminal_id_ = 0;
  2274. clear_has_terminal_id();
  2275. }
  2276. inline ::google::protobuf::int32 Locate_sift_response_msg::terminal_id() const {
  2277. // @@protoc_insertion_point(field_get:message.Locate_sift_response_msg.terminal_id)
  2278. return terminal_id_;
  2279. }
  2280. inline void Locate_sift_response_msg::set_terminal_id(::google::protobuf::int32 value) {
  2281. set_has_terminal_id();
  2282. terminal_id_ = value;
  2283. // @@protoc_insertion_point(field_set:message.Locate_sift_response_msg.terminal_id)
  2284. }
  2285. // required int32 lidar_id = 4;
  2286. inline bool Locate_sift_response_msg::has_lidar_id() const {
  2287. return (_has_bits_[0] & 0x00000010u) != 0;
  2288. }
  2289. inline void Locate_sift_response_msg::set_has_lidar_id() {
  2290. _has_bits_[0] |= 0x00000010u;
  2291. }
  2292. inline void Locate_sift_response_msg::clear_has_lidar_id() {
  2293. _has_bits_[0] &= ~0x00000010u;
  2294. }
  2295. inline void Locate_sift_response_msg::clear_lidar_id() {
  2296. lidar_id_ = 0;
  2297. clear_has_lidar_id();
  2298. }
  2299. inline ::google::protobuf::int32 Locate_sift_response_msg::lidar_id() const {
  2300. // @@protoc_insertion_point(field_get:message.Locate_sift_response_msg.lidar_id)
  2301. return lidar_id_;
  2302. }
  2303. inline void Locate_sift_response_msg::set_lidar_id(::google::protobuf::int32 value) {
  2304. set_has_lidar_id();
  2305. lidar_id_ = value;
  2306. // @@protoc_insertion_point(field_set:message.Locate_sift_response_msg.lidar_id)
  2307. }
  2308. // repeated .message.Cloud_type cloud_type = 5;
  2309. inline int Locate_sift_response_msg::cloud_type_size() const {
  2310. return cloud_type_.size();
  2311. }
  2312. inline void Locate_sift_response_msg::clear_cloud_type() {
  2313. cloud_type_.Clear();
  2314. }
  2315. inline const ::message::Cloud_type& Locate_sift_response_msg::cloud_type(int index) const {
  2316. // @@protoc_insertion_point(field_get:message.Locate_sift_response_msg.cloud_type)
  2317. return cloud_type_.Get(index);
  2318. }
  2319. inline ::message::Cloud_type* Locate_sift_response_msg::mutable_cloud_type(int index) {
  2320. // @@protoc_insertion_point(field_mutable:message.Locate_sift_response_msg.cloud_type)
  2321. return cloud_type_.Mutable(index);
  2322. }
  2323. inline ::message::Cloud_type* Locate_sift_response_msg::add_cloud_type() {
  2324. // @@protoc_insertion_point(field_add:message.Locate_sift_response_msg.cloud_type)
  2325. return cloud_type_.Add();
  2326. }
  2327. inline ::google::protobuf::RepeatedPtrField< ::message::Cloud_type >*
  2328. Locate_sift_response_msg::mutable_cloud_type() {
  2329. // @@protoc_insertion_point(field_mutable_list:message.Locate_sift_response_msg.cloud_type)
  2330. return &cloud_type_;
  2331. }
  2332. inline const ::google::protobuf::RepeatedPtrField< ::message::Cloud_type >&
  2333. Locate_sift_response_msg::cloud_type() const {
  2334. // @@protoc_insertion_point(field_list:message.Locate_sift_response_msg.cloud_type)
  2335. return cloud_type_;
  2336. }
  2337. // required .message.Error_manager error_manager = 6;
  2338. inline bool Locate_sift_response_msg::has_error_manager() const {
  2339. return (_has_bits_[0] & 0x00000004u) != 0;
  2340. }
  2341. inline void Locate_sift_response_msg::set_has_error_manager() {
  2342. _has_bits_[0] |= 0x00000004u;
  2343. }
  2344. inline void Locate_sift_response_msg::clear_has_error_manager() {
  2345. _has_bits_[0] &= ~0x00000004u;
  2346. }
  2347. inline const ::message::Error_manager& Locate_sift_response_msg::error_manager() const {
  2348. const ::message::Error_manager* p = error_manager_;
  2349. // @@protoc_insertion_point(field_get:message.Locate_sift_response_msg.error_manager)
  2350. return p != NULL ? *p : *reinterpret_cast<const ::message::Error_manager*>(
  2351. &::message::_Error_manager_default_instance_);
  2352. }
  2353. inline ::message::Error_manager* Locate_sift_response_msg::release_error_manager() {
  2354. // @@protoc_insertion_point(field_release:message.Locate_sift_response_msg.error_manager)
  2355. clear_has_error_manager();
  2356. ::message::Error_manager* temp = error_manager_;
  2357. error_manager_ = NULL;
  2358. return temp;
  2359. }
  2360. inline ::message::Error_manager* Locate_sift_response_msg::mutable_error_manager() {
  2361. set_has_error_manager();
  2362. if (error_manager_ == NULL) {
  2363. error_manager_ = new ::message::Error_manager;
  2364. }
  2365. // @@protoc_insertion_point(field_mutable:message.Locate_sift_response_msg.error_manager)
  2366. return error_manager_;
  2367. }
  2368. inline void Locate_sift_response_msg::set_allocated_error_manager(::message::Error_manager* error_manager) {
  2369. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2370. if (message_arena == NULL) {
  2371. delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_manager_);
  2372. }
  2373. if (error_manager) {
  2374. ::google::protobuf::Arena* submessage_arena = NULL;
  2375. if (message_arena != submessage_arena) {
  2376. error_manager = ::google::protobuf::internal::GetOwnedMessage(
  2377. message_arena, error_manager, submessage_arena);
  2378. }
  2379. set_has_error_manager();
  2380. } else {
  2381. clear_has_error_manager();
  2382. }
  2383. error_manager_ = error_manager;
  2384. // @@protoc_insertion_point(field_set_allocated:message.Locate_sift_response_msg.error_manager)
  2385. }
  2386. #ifdef __GNUC__
  2387. #pragma GCC diagnostic pop
  2388. #endif // __GNUC__
  2389. // -------------------------------------------------------------------
  2390. // -------------------------------------------------------------------
  2391. // -------------------------------------------------------------------
  2392. // -------------------------------------------------------------------
  2393. // -------------------------------------------------------------------
  2394. // -------------------------------------------------------------------
  2395. // @@protoc_insertion_point(namespace_scope)
  2396. } // namespace message
  2397. namespace google {
  2398. namespace protobuf {
  2399. template <> struct is_proto_enum< ::message::Laser_manager_status> : ::google::protobuf::internal::true_type {};
  2400. template <>
  2401. inline const EnumDescriptor* GetEnumDescriptor< ::message::Laser_manager_status>() {
  2402. return ::message::Laser_manager_status_descriptor();
  2403. }
  2404. template <> struct is_proto_enum< ::message::Laser_statu> : ::google::protobuf::internal::true_type {};
  2405. template <>
  2406. inline const EnumDescriptor* GetEnumDescriptor< ::message::Laser_statu>() {
  2407. return ::message::Laser_statu_descriptor();
  2408. }
  2409. template <> struct is_proto_enum< ::message::Locate_manager_status> : ::google::protobuf::internal::true_type {};
  2410. template <>
  2411. inline const EnumDescriptor* GetEnumDescriptor< ::message::Locate_manager_status>() {
  2412. return ::message::Locate_manager_status_descriptor();
  2413. }
  2414. template <> struct is_proto_enum< ::message::Wanji_manager_status> : ::google::protobuf::internal::true_type {};
  2415. template <>
  2416. inline const EnumDescriptor* GetEnumDescriptor< ::message::Wanji_manager_status>() {
  2417. return ::message::Wanji_manager_status_descriptor();
  2418. }
  2419. template <> struct is_proto_enum< ::message::Wanji_lidar_device_status> : ::google::protobuf::internal::true_type {};
  2420. template <>
  2421. inline const EnumDescriptor* GetEnumDescriptor< ::message::Wanji_lidar_device_status>() {
  2422. return ::message::Wanji_lidar_device_status_descriptor();
  2423. }
  2424. template <> struct is_proto_enum< ::message::Region_worker_status> : ::google::protobuf::internal::true_type {};
  2425. template <>
  2426. inline const EnumDescriptor* GetEnumDescriptor< ::message::Region_worker_status>() {
  2427. return ::message::Region_worker_status_descriptor();
  2428. }
  2429. } // namespace protobuf
  2430. } // namespace google
  2431. // @@protoc_insertion_point(global_scope)
  2432. #endif // PROTOBUF_measure_5fmessage_2eproto__INCLUDED