measure_message.pb.h 89 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346
  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. // ===================================================================
  153. class Measure_status_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Measure_status_msg) */ {
  154. public:
  155. Measure_status_msg();
  156. virtual ~Measure_status_msg();
  157. Measure_status_msg(const Measure_status_msg& from);
  158. inline Measure_status_msg& operator=(const Measure_status_msg& from) {
  159. CopyFrom(from);
  160. return *this;
  161. }
  162. #if LANG_CXX11
  163. Measure_status_msg(Measure_status_msg&& from) noexcept
  164. : Measure_status_msg() {
  165. *this = ::std::move(from);
  166. }
  167. inline Measure_status_msg& operator=(Measure_status_msg&& from) noexcept {
  168. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  169. if (this != &from) InternalSwap(&from);
  170. } else {
  171. CopyFrom(from);
  172. }
  173. return *this;
  174. }
  175. #endif
  176. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  177. return _internal_metadata_.unknown_fields();
  178. }
  179. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  180. return _internal_metadata_.mutable_unknown_fields();
  181. }
  182. static const ::google::protobuf::Descriptor* descriptor();
  183. static const Measure_status_msg& default_instance();
  184. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  185. static inline const Measure_status_msg* internal_default_instance() {
  186. return reinterpret_cast<const Measure_status_msg*>(
  187. &_Measure_status_msg_default_instance_);
  188. }
  189. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  190. 0;
  191. void Swap(Measure_status_msg* other);
  192. friend void swap(Measure_status_msg& a, Measure_status_msg& b) {
  193. a.Swap(&b);
  194. }
  195. // implements Message ----------------------------------------------
  196. inline Measure_status_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  197. Measure_status_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  198. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  199. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  200. void CopyFrom(const Measure_status_msg& from);
  201. void MergeFrom(const Measure_status_msg& from);
  202. void Clear() PROTOBUF_FINAL;
  203. bool IsInitialized() const PROTOBUF_FINAL;
  204. size_t ByteSizeLong() const PROTOBUF_FINAL;
  205. bool MergePartialFromCodedStream(
  206. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  207. void SerializeWithCachedSizes(
  208. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  209. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  210. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  211. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  212. private:
  213. void SharedCtor();
  214. void SharedDtor();
  215. void SetCachedSize(int size) const PROTOBUF_FINAL;
  216. void InternalSwap(Measure_status_msg* other);
  217. private:
  218. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  219. return NULL;
  220. }
  221. inline void* MaybeArenaPtr() const {
  222. return NULL;
  223. }
  224. public:
  225. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  226. // nested types ----------------------------------------------------
  227. // accessors -------------------------------------------------------
  228. // repeated .message.Laser_statu laser_statu_vector = 4;
  229. int laser_statu_vector_size() const;
  230. void clear_laser_statu_vector();
  231. static const int kLaserStatuVectorFieldNumber = 4;
  232. ::message::Laser_statu laser_statu_vector(int index) const;
  233. void set_laser_statu_vector(int index, ::message::Laser_statu value);
  234. void add_laser_statu_vector(::message::Laser_statu value);
  235. const ::google::protobuf::RepeatedField<int>& laser_statu_vector() const;
  236. ::google::protobuf::RepeatedField<int>* mutable_laser_statu_vector();
  237. // required .message.Base_info base_info = 1;
  238. bool has_base_info() const;
  239. void clear_base_info();
  240. static const int kBaseInfoFieldNumber = 1;
  241. const ::message::Base_info& base_info() const;
  242. ::message::Base_info* release_base_info();
  243. ::message::Base_info* mutable_base_info();
  244. void set_allocated_base_info(::message::Base_info* base_info);
  245. // optional .message.Locate_information locate_information_realtime = 6;
  246. bool has_locate_information_realtime() const;
  247. void clear_locate_information_realtime();
  248. static const int kLocateInformationRealtimeFieldNumber = 6;
  249. const ::message::Locate_information& locate_information_realtime() const;
  250. ::message::Locate_information* release_locate_information_realtime();
  251. ::message::Locate_information* mutable_locate_information_realtime();
  252. void set_allocated_locate_information_realtime(::message::Locate_information* locate_information_realtime);
  253. // required .message.Error_manager error_manager = 7;
  254. bool has_error_manager() const;
  255. void clear_error_manager();
  256. static const int kErrorManagerFieldNumber = 7;
  257. const ::message::Error_manager& error_manager() const;
  258. ::message::Error_manager* release_error_manager();
  259. ::message::Error_manager* mutable_error_manager();
  260. void set_allocated_error_manager(::message::Error_manager* error_manager);
  261. // required int32 terminal_id = 2;
  262. bool has_terminal_id() const;
  263. void clear_terminal_id();
  264. static const int kTerminalIdFieldNumber = 2;
  265. ::google::protobuf::int32 terminal_id() const;
  266. void set_terminal_id(::google::protobuf::int32 value);
  267. // required .message.Laser_manager_status laser_manager_status = 3;
  268. bool has_laser_manager_status() const;
  269. void clear_laser_manager_status();
  270. static const int kLaserManagerStatusFieldNumber = 3;
  271. ::message::Laser_manager_status laser_manager_status() const;
  272. void set_laser_manager_status(::message::Laser_manager_status value);
  273. // required .message.Locate_manager_status locate_manager_status = 5;
  274. bool has_locate_manager_status() const;
  275. void clear_locate_manager_status();
  276. static const int kLocateManagerStatusFieldNumber = 5;
  277. ::message::Locate_manager_status locate_manager_status() const;
  278. void set_locate_manager_status(::message::Locate_manager_status value);
  279. // @@protoc_insertion_point(class_scope:message.Measure_status_msg)
  280. private:
  281. void set_has_base_info();
  282. void clear_has_base_info();
  283. void set_has_terminal_id();
  284. void clear_has_terminal_id();
  285. void set_has_laser_manager_status();
  286. void clear_has_laser_manager_status();
  287. void set_has_locate_manager_status();
  288. void clear_has_locate_manager_status();
  289. void set_has_locate_information_realtime();
  290. void clear_has_locate_information_realtime();
  291. void set_has_error_manager();
  292. void clear_has_error_manager();
  293. // helper for ByteSizeLong()
  294. size_t RequiredFieldsByteSizeFallback() const;
  295. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  296. ::google::protobuf::internal::HasBits<1> _has_bits_;
  297. mutable int _cached_size_;
  298. ::google::protobuf::RepeatedField<int> laser_statu_vector_;
  299. ::message::Base_info* base_info_;
  300. ::message::Locate_information* locate_information_realtime_;
  301. ::message::Error_manager* error_manager_;
  302. ::google::protobuf::int32 terminal_id_;
  303. int laser_manager_status_;
  304. int locate_manager_status_;
  305. friend struct ::protobuf_measure_5fmessage_2eproto::TableStruct;
  306. friend void ::protobuf_measure_5fmessage_2eproto::InitDefaultsMeasure_status_msgImpl();
  307. };
  308. // -------------------------------------------------------------------
  309. class Measure_request_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Measure_request_msg) */ {
  310. public:
  311. Measure_request_msg();
  312. virtual ~Measure_request_msg();
  313. Measure_request_msg(const Measure_request_msg& from);
  314. inline Measure_request_msg& operator=(const Measure_request_msg& from) {
  315. CopyFrom(from);
  316. return *this;
  317. }
  318. #if LANG_CXX11
  319. Measure_request_msg(Measure_request_msg&& from) noexcept
  320. : Measure_request_msg() {
  321. *this = ::std::move(from);
  322. }
  323. inline Measure_request_msg& operator=(Measure_request_msg&& from) noexcept {
  324. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  325. if (this != &from) InternalSwap(&from);
  326. } else {
  327. CopyFrom(from);
  328. }
  329. return *this;
  330. }
  331. #endif
  332. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  333. return _internal_metadata_.unknown_fields();
  334. }
  335. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  336. return _internal_metadata_.mutable_unknown_fields();
  337. }
  338. static const ::google::protobuf::Descriptor* descriptor();
  339. static const Measure_request_msg& default_instance();
  340. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  341. static inline const Measure_request_msg* internal_default_instance() {
  342. return reinterpret_cast<const Measure_request_msg*>(
  343. &_Measure_request_msg_default_instance_);
  344. }
  345. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  346. 1;
  347. void Swap(Measure_request_msg* other);
  348. friend void swap(Measure_request_msg& a, Measure_request_msg& b) {
  349. a.Swap(&b);
  350. }
  351. // implements Message ----------------------------------------------
  352. inline Measure_request_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  353. Measure_request_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  354. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  355. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  356. void CopyFrom(const Measure_request_msg& from);
  357. void MergeFrom(const Measure_request_msg& from);
  358. void Clear() PROTOBUF_FINAL;
  359. bool IsInitialized() const PROTOBUF_FINAL;
  360. size_t ByteSizeLong() const PROTOBUF_FINAL;
  361. bool MergePartialFromCodedStream(
  362. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  363. void SerializeWithCachedSizes(
  364. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  365. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  366. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  367. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  368. private:
  369. void SharedCtor();
  370. void SharedDtor();
  371. void SetCachedSize(int size) const PROTOBUF_FINAL;
  372. void InternalSwap(Measure_request_msg* other);
  373. private:
  374. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  375. return NULL;
  376. }
  377. inline void* MaybeArenaPtr() const {
  378. return NULL;
  379. }
  380. public:
  381. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  382. // nested types ----------------------------------------------------
  383. // accessors -------------------------------------------------------
  384. // required string command_key = 2;
  385. bool has_command_key() const;
  386. void clear_command_key();
  387. static const int kCommandKeyFieldNumber = 2;
  388. const ::std::string& command_key() const;
  389. void set_command_key(const ::std::string& value);
  390. #if LANG_CXX11
  391. void set_command_key(::std::string&& value);
  392. #endif
  393. void set_command_key(const char* value);
  394. void set_command_key(const char* value, size_t size);
  395. ::std::string* mutable_command_key();
  396. ::std::string* release_command_key();
  397. void set_allocated_command_key(::std::string* command_key);
  398. // required .message.Base_info base_info = 1;
  399. bool has_base_info() const;
  400. void clear_base_info();
  401. static const int kBaseInfoFieldNumber = 1;
  402. const ::message::Base_info& base_info() const;
  403. ::message::Base_info* release_base_info();
  404. ::message::Base_info* mutable_base_info();
  405. void set_allocated_base_info(::message::Base_info* base_info);
  406. // required int32 terminal_id = 3;
  407. bool has_terminal_id() const;
  408. void clear_terminal_id();
  409. static const int kTerminalIdFieldNumber = 3;
  410. ::google::protobuf::int32 terminal_id() const;
  411. void set_terminal_id(::google::protobuf::int32 value);
  412. // @@protoc_insertion_point(class_scope:message.Measure_request_msg)
  413. private:
  414. void set_has_base_info();
  415. void clear_has_base_info();
  416. void set_has_command_key();
  417. void clear_has_command_key();
  418. void set_has_terminal_id();
  419. void clear_has_terminal_id();
  420. // helper for ByteSizeLong()
  421. size_t RequiredFieldsByteSizeFallback() const;
  422. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  423. ::google::protobuf::internal::HasBits<1> _has_bits_;
  424. mutable int _cached_size_;
  425. ::google::protobuf::internal::ArenaStringPtr command_key_;
  426. ::message::Base_info* base_info_;
  427. ::google::protobuf::int32 terminal_id_;
  428. friend struct ::protobuf_measure_5fmessage_2eproto::TableStruct;
  429. friend void ::protobuf_measure_5fmessage_2eproto::InitDefaultsMeasure_request_msgImpl();
  430. };
  431. // -------------------------------------------------------------------
  432. class Measure_response_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Measure_response_msg) */ {
  433. public:
  434. Measure_response_msg();
  435. virtual ~Measure_response_msg();
  436. Measure_response_msg(const Measure_response_msg& from);
  437. inline Measure_response_msg& operator=(const Measure_response_msg& from) {
  438. CopyFrom(from);
  439. return *this;
  440. }
  441. #if LANG_CXX11
  442. Measure_response_msg(Measure_response_msg&& from) noexcept
  443. : Measure_response_msg() {
  444. *this = ::std::move(from);
  445. }
  446. inline Measure_response_msg& operator=(Measure_response_msg&& from) noexcept {
  447. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  448. if (this != &from) InternalSwap(&from);
  449. } else {
  450. CopyFrom(from);
  451. }
  452. return *this;
  453. }
  454. #endif
  455. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  456. return _internal_metadata_.unknown_fields();
  457. }
  458. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  459. return _internal_metadata_.mutable_unknown_fields();
  460. }
  461. static const ::google::protobuf::Descriptor* descriptor();
  462. static const Measure_response_msg& default_instance();
  463. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  464. static inline const Measure_response_msg* internal_default_instance() {
  465. return reinterpret_cast<const Measure_response_msg*>(
  466. &_Measure_response_msg_default_instance_);
  467. }
  468. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  469. 2;
  470. void Swap(Measure_response_msg* other);
  471. friend void swap(Measure_response_msg& a, Measure_response_msg& b) {
  472. a.Swap(&b);
  473. }
  474. // implements Message ----------------------------------------------
  475. inline Measure_response_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  476. Measure_response_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  477. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  478. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  479. void CopyFrom(const Measure_response_msg& from);
  480. void MergeFrom(const Measure_response_msg& from);
  481. void Clear() PROTOBUF_FINAL;
  482. bool IsInitialized() const PROTOBUF_FINAL;
  483. size_t ByteSizeLong() const PROTOBUF_FINAL;
  484. bool MergePartialFromCodedStream(
  485. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  486. void SerializeWithCachedSizes(
  487. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  488. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  489. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  490. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  491. private:
  492. void SharedCtor();
  493. void SharedDtor();
  494. void SetCachedSize(int size) const PROTOBUF_FINAL;
  495. void InternalSwap(Measure_response_msg* other);
  496. private:
  497. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  498. return NULL;
  499. }
  500. inline void* MaybeArenaPtr() const {
  501. return NULL;
  502. }
  503. public:
  504. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  505. // nested types ----------------------------------------------------
  506. // accessors -------------------------------------------------------
  507. // required string command_key = 2;
  508. bool has_command_key() const;
  509. void clear_command_key();
  510. static const int kCommandKeyFieldNumber = 2;
  511. const ::std::string& command_key() const;
  512. void set_command_key(const ::std::string& value);
  513. #if LANG_CXX11
  514. void set_command_key(::std::string&& value);
  515. #endif
  516. void set_command_key(const char* value);
  517. void set_command_key(const char* value, size_t size);
  518. ::std::string* mutable_command_key();
  519. ::std::string* release_command_key();
  520. void set_allocated_command_key(::std::string* command_key);
  521. // required .message.Base_info base_info = 1;
  522. bool has_base_info() const;
  523. void clear_base_info();
  524. static const int kBaseInfoFieldNumber = 1;
  525. const ::message::Base_info& base_info() const;
  526. ::message::Base_info* release_base_info();
  527. ::message::Base_info* mutable_base_info();
  528. void set_allocated_base_info(::message::Base_info* base_info);
  529. // optional .message.Locate_information locate_information = 4;
  530. bool has_locate_information() const;
  531. void clear_locate_information();
  532. static const int kLocateInformationFieldNumber = 4;
  533. const ::message::Locate_information& locate_information() const;
  534. ::message::Locate_information* release_locate_information();
  535. ::message::Locate_information* mutable_locate_information();
  536. void set_allocated_locate_information(::message::Locate_information* locate_information);
  537. // required .message.Error_manager error_manager = 5;
  538. bool has_error_manager() const;
  539. void clear_error_manager();
  540. static const int kErrorManagerFieldNumber = 5;
  541. const ::message::Error_manager& error_manager() const;
  542. ::message::Error_manager* release_error_manager();
  543. ::message::Error_manager* mutable_error_manager();
  544. void set_allocated_error_manager(::message::Error_manager* error_manager);
  545. // required int32 terminal_id = 3;
  546. bool has_terminal_id() const;
  547. void clear_terminal_id();
  548. static const int kTerminalIdFieldNumber = 3;
  549. ::google::protobuf::int32 terminal_id() const;
  550. void set_terminal_id(::google::protobuf::int32 value);
  551. // @@protoc_insertion_point(class_scope:message.Measure_response_msg)
  552. private:
  553. void set_has_base_info();
  554. void clear_has_base_info();
  555. void set_has_command_key();
  556. void clear_has_command_key();
  557. void set_has_terminal_id();
  558. void clear_has_terminal_id();
  559. void set_has_locate_information();
  560. void clear_has_locate_information();
  561. void set_has_error_manager();
  562. void clear_has_error_manager();
  563. // helper for ByteSizeLong()
  564. size_t RequiredFieldsByteSizeFallback() const;
  565. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  566. ::google::protobuf::internal::HasBits<1> _has_bits_;
  567. mutable int _cached_size_;
  568. ::google::protobuf::internal::ArenaStringPtr command_key_;
  569. ::message::Base_info* base_info_;
  570. ::message::Locate_information* locate_information_;
  571. ::message::Error_manager* error_manager_;
  572. ::google::protobuf::int32 terminal_id_;
  573. friend struct ::protobuf_measure_5fmessage_2eproto::TableStruct;
  574. friend void ::protobuf_measure_5fmessage_2eproto::InitDefaultsMeasure_response_msgImpl();
  575. };
  576. // -------------------------------------------------------------------
  577. class Cloud_coordinate : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Cloud_coordinate) */ {
  578. public:
  579. Cloud_coordinate();
  580. virtual ~Cloud_coordinate();
  581. Cloud_coordinate(const Cloud_coordinate& from);
  582. inline Cloud_coordinate& operator=(const Cloud_coordinate& from) {
  583. CopyFrom(from);
  584. return *this;
  585. }
  586. #if LANG_CXX11
  587. Cloud_coordinate(Cloud_coordinate&& from) noexcept
  588. : Cloud_coordinate() {
  589. *this = ::std::move(from);
  590. }
  591. inline Cloud_coordinate& operator=(Cloud_coordinate&& from) noexcept {
  592. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  593. if (this != &from) InternalSwap(&from);
  594. } else {
  595. CopyFrom(from);
  596. }
  597. return *this;
  598. }
  599. #endif
  600. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  601. return _internal_metadata_.unknown_fields();
  602. }
  603. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  604. return _internal_metadata_.mutable_unknown_fields();
  605. }
  606. static const ::google::protobuf::Descriptor* descriptor();
  607. static const Cloud_coordinate& default_instance();
  608. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  609. static inline const Cloud_coordinate* internal_default_instance() {
  610. return reinterpret_cast<const Cloud_coordinate*>(
  611. &_Cloud_coordinate_default_instance_);
  612. }
  613. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  614. 3;
  615. void Swap(Cloud_coordinate* other);
  616. friend void swap(Cloud_coordinate& a, Cloud_coordinate& b) {
  617. a.Swap(&b);
  618. }
  619. // implements Message ----------------------------------------------
  620. inline Cloud_coordinate* New() const PROTOBUF_FINAL { return New(NULL); }
  621. Cloud_coordinate* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  622. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  623. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  624. void CopyFrom(const Cloud_coordinate& from);
  625. void MergeFrom(const Cloud_coordinate& from);
  626. void Clear() PROTOBUF_FINAL;
  627. bool IsInitialized() const PROTOBUF_FINAL;
  628. size_t ByteSizeLong() const PROTOBUF_FINAL;
  629. bool MergePartialFromCodedStream(
  630. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  631. void SerializeWithCachedSizes(
  632. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  633. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  634. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  635. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  636. private:
  637. void SharedCtor();
  638. void SharedDtor();
  639. void SetCachedSize(int size) const PROTOBUF_FINAL;
  640. void InternalSwap(Cloud_coordinate* other);
  641. private:
  642. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  643. return NULL;
  644. }
  645. inline void* MaybeArenaPtr() const {
  646. return NULL;
  647. }
  648. public:
  649. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  650. // nested types ----------------------------------------------------
  651. // accessors -------------------------------------------------------
  652. // required float x = 1;
  653. bool has_x() const;
  654. void clear_x();
  655. static const int kXFieldNumber = 1;
  656. float x() const;
  657. void set_x(float value);
  658. // required float y = 2;
  659. bool has_y() const;
  660. void clear_y();
  661. static const int kYFieldNumber = 2;
  662. float y() const;
  663. void set_y(float value);
  664. // required float z = 3;
  665. bool has_z() const;
  666. void clear_z();
  667. static const int kZFieldNumber = 3;
  668. float z() const;
  669. void set_z(float value);
  670. // @@protoc_insertion_point(class_scope:message.Cloud_coordinate)
  671. private:
  672. void set_has_x();
  673. void clear_has_x();
  674. void set_has_y();
  675. void clear_has_y();
  676. void set_has_z();
  677. void clear_has_z();
  678. // helper for ByteSizeLong()
  679. size_t RequiredFieldsByteSizeFallback() const;
  680. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  681. ::google::protobuf::internal::HasBits<1> _has_bits_;
  682. mutable int _cached_size_;
  683. float x_;
  684. float y_;
  685. float z_;
  686. friend struct ::protobuf_measure_5fmessage_2eproto::TableStruct;
  687. friend void ::protobuf_measure_5fmessage_2eproto::InitDefaultsCloud_coordinateImpl();
  688. };
  689. // -------------------------------------------------------------------
  690. class Cloud_type : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Cloud_type) */ {
  691. public:
  692. Cloud_type();
  693. virtual ~Cloud_type();
  694. Cloud_type(const Cloud_type& from);
  695. inline Cloud_type& operator=(const Cloud_type& from) {
  696. CopyFrom(from);
  697. return *this;
  698. }
  699. #if LANG_CXX11
  700. Cloud_type(Cloud_type&& from) noexcept
  701. : Cloud_type() {
  702. *this = ::std::move(from);
  703. }
  704. inline Cloud_type& operator=(Cloud_type&& from) noexcept {
  705. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  706. if (this != &from) InternalSwap(&from);
  707. } else {
  708. CopyFrom(from);
  709. }
  710. return *this;
  711. }
  712. #endif
  713. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  714. return _internal_metadata_.unknown_fields();
  715. }
  716. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  717. return _internal_metadata_.mutable_unknown_fields();
  718. }
  719. static const ::google::protobuf::Descriptor* descriptor();
  720. static const Cloud_type& default_instance();
  721. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  722. static inline const Cloud_type* internal_default_instance() {
  723. return reinterpret_cast<const Cloud_type*>(
  724. &_Cloud_type_default_instance_);
  725. }
  726. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  727. 4;
  728. void Swap(Cloud_type* other);
  729. friend void swap(Cloud_type& a, Cloud_type& b) {
  730. a.Swap(&b);
  731. }
  732. // implements Message ----------------------------------------------
  733. inline Cloud_type* New() const PROTOBUF_FINAL { return New(NULL); }
  734. Cloud_type* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  735. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  736. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  737. void CopyFrom(const Cloud_type& from);
  738. void MergeFrom(const Cloud_type& from);
  739. void Clear() PROTOBUF_FINAL;
  740. bool IsInitialized() const PROTOBUF_FINAL;
  741. size_t ByteSizeLong() const PROTOBUF_FINAL;
  742. bool MergePartialFromCodedStream(
  743. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  744. void SerializeWithCachedSizes(
  745. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  746. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  747. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  748. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  749. private:
  750. void SharedCtor();
  751. void SharedDtor();
  752. void SetCachedSize(int size) const PROTOBUF_FINAL;
  753. void InternalSwap(Cloud_type* other);
  754. private:
  755. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  756. return NULL;
  757. }
  758. inline void* MaybeArenaPtr() const {
  759. return NULL;
  760. }
  761. public:
  762. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  763. // nested types ----------------------------------------------------
  764. // accessors -------------------------------------------------------
  765. // required int32 type = 1;
  766. bool has_type() const;
  767. void clear_type();
  768. static const int kTypeFieldNumber = 1;
  769. ::google::protobuf::int32 type() const;
  770. void set_type(::google::protobuf::int32 value);
  771. // @@protoc_insertion_point(class_scope:message.Cloud_type)
  772. private:
  773. void set_has_type();
  774. void clear_has_type();
  775. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  776. ::google::protobuf::internal::HasBits<1> _has_bits_;
  777. mutable int _cached_size_;
  778. ::google::protobuf::int32 type_;
  779. friend struct ::protobuf_measure_5fmessage_2eproto::TableStruct;
  780. friend void ::protobuf_measure_5fmessage_2eproto::InitDefaultsCloud_typeImpl();
  781. };
  782. // -------------------------------------------------------------------
  783. class Locate_sift_request_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Locate_sift_request_msg) */ {
  784. public:
  785. Locate_sift_request_msg();
  786. virtual ~Locate_sift_request_msg();
  787. Locate_sift_request_msg(const Locate_sift_request_msg& from);
  788. inline Locate_sift_request_msg& operator=(const Locate_sift_request_msg& from) {
  789. CopyFrom(from);
  790. return *this;
  791. }
  792. #if LANG_CXX11
  793. Locate_sift_request_msg(Locate_sift_request_msg&& from) noexcept
  794. : Locate_sift_request_msg() {
  795. *this = ::std::move(from);
  796. }
  797. inline Locate_sift_request_msg& operator=(Locate_sift_request_msg&& from) noexcept {
  798. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  799. if (this != &from) InternalSwap(&from);
  800. } else {
  801. CopyFrom(from);
  802. }
  803. return *this;
  804. }
  805. #endif
  806. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  807. return _internal_metadata_.unknown_fields();
  808. }
  809. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  810. return _internal_metadata_.mutable_unknown_fields();
  811. }
  812. static const ::google::protobuf::Descriptor* descriptor();
  813. static const Locate_sift_request_msg& default_instance();
  814. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  815. static inline const Locate_sift_request_msg* internal_default_instance() {
  816. return reinterpret_cast<const Locate_sift_request_msg*>(
  817. &_Locate_sift_request_msg_default_instance_);
  818. }
  819. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  820. 5;
  821. void Swap(Locate_sift_request_msg* other);
  822. friend void swap(Locate_sift_request_msg& a, Locate_sift_request_msg& b) {
  823. a.Swap(&b);
  824. }
  825. // implements Message ----------------------------------------------
  826. inline Locate_sift_request_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  827. Locate_sift_request_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  828. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  829. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  830. void CopyFrom(const Locate_sift_request_msg& from);
  831. void MergeFrom(const Locate_sift_request_msg& from);
  832. void Clear() PROTOBUF_FINAL;
  833. bool IsInitialized() const PROTOBUF_FINAL;
  834. size_t ByteSizeLong() const PROTOBUF_FINAL;
  835. bool MergePartialFromCodedStream(
  836. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  837. void SerializeWithCachedSizes(
  838. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  839. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  840. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  841. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  842. private:
  843. void SharedCtor();
  844. void SharedDtor();
  845. void SetCachedSize(int size) const PROTOBUF_FINAL;
  846. void InternalSwap(Locate_sift_request_msg* other);
  847. private:
  848. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  849. return NULL;
  850. }
  851. inline void* MaybeArenaPtr() const {
  852. return NULL;
  853. }
  854. public:
  855. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  856. // nested types ----------------------------------------------------
  857. // accessors -------------------------------------------------------
  858. // repeated .message.Cloud_coordinate cloud_coordinates = 4;
  859. int cloud_coordinates_size() const;
  860. void clear_cloud_coordinates();
  861. static const int kCloudCoordinatesFieldNumber = 4;
  862. const ::message::Cloud_coordinate& cloud_coordinates(int index) const;
  863. ::message::Cloud_coordinate* mutable_cloud_coordinates(int index);
  864. ::message::Cloud_coordinate* add_cloud_coordinates();
  865. ::google::protobuf::RepeatedPtrField< ::message::Cloud_coordinate >*
  866. mutable_cloud_coordinates();
  867. const ::google::protobuf::RepeatedPtrField< ::message::Cloud_coordinate >&
  868. cloud_coordinates() const;
  869. // required string command_key = 2;
  870. bool has_command_key() const;
  871. void clear_command_key();
  872. static const int kCommandKeyFieldNumber = 2;
  873. const ::std::string& command_key() const;
  874. void set_command_key(const ::std::string& value);
  875. #if LANG_CXX11
  876. void set_command_key(::std::string&& value);
  877. #endif
  878. void set_command_key(const char* value);
  879. void set_command_key(const char* value, size_t size);
  880. ::std::string* mutable_command_key();
  881. ::std::string* release_command_key();
  882. void set_allocated_command_key(::std::string* command_key);
  883. // required .message.Base_info base_info = 1;
  884. bool has_base_info() const;
  885. void clear_base_info();
  886. static const int kBaseInfoFieldNumber = 1;
  887. const ::message::Base_info& base_info() const;
  888. ::message::Base_info* release_base_info();
  889. ::message::Base_info* mutable_base_info();
  890. void set_allocated_base_info(::message::Base_info* base_info);
  891. // required int32 terminal_id = 3;
  892. bool has_terminal_id() const;
  893. void clear_terminal_id();
  894. static const int kTerminalIdFieldNumber = 3;
  895. ::google::protobuf::int32 terminal_id() const;
  896. void set_terminal_id(::google::protobuf::int32 value);
  897. // @@protoc_insertion_point(class_scope:message.Locate_sift_request_msg)
  898. private:
  899. void set_has_base_info();
  900. void clear_has_base_info();
  901. void set_has_command_key();
  902. void clear_has_command_key();
  903. void set_has_terminal_id();
  904. void clear_has_terminal_id();
  905. // helper for ByteSizeLong()
  906. size_t RequiredFieldsByteSizeFallback() const;
  907. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  908. ::google::protobuf::internal::HasBits<1> _has_bits_;
  909. mutable int _cached_size_;
  910. ::google::protobuf::RepeatedPtrField< ::message::Cloud_coordinate > cloud_coordinates_;
  911. ::google::protobuf::internal::ArenaStringPtr command_key_;
  912. ::message::Base_info* base_info_;
  913. ::google::protobuf::int32 terminal_id_;
  914. friend struct ::protobuf_measure_5fmessage_2eproto::TableStruct;
  915. friend void ::protobuf_measure_5fmessage_2eproto::InitDefaultsLocate_sift_request_msgImpl();
  916. };
  917. // -------------------------------------------------------------------
  918. class Locate_sift_response_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Locate_sift_response_msg) */ {
  919. public:
  920. Locate_sift_response_msg();
  921. virtual ~Locate_sift_response_msg();
  922. Locate_sift_response_msg(const Locate_sift_response_msg& from);
  923. inline Locate_sift_response_msg& operator=(const Locate_sift_response_msg& from) {
  924. CopyFrom(from);
  925. return *this;
  926. }
  927. #if LANG_CXX11
  928. Locate_sift_response_msg(Locate_sift_response_msg&& from) noexcept
  929. : Locate_sift_response_msg() {
  930. *this = ::std::move(from);
  931. }
  932. inline Locate_sift_response_msg& operator=(Locate_sift_response_msg&& from) noexcept {
  933. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  934. if (this != &from) InternalSwap(&from);
  935. } else {
  936. CopyFrom(from);
  937. }
  938. return *this;
  939. }
  940. #endif
  941. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  942. return _internal_metadata_.unknown_fields();
  943. }
  944. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  945. return _internal_metadata_.mutable_unknown_fields();
  946. }
  947. static const ::google::protobuf::Descriptor* descriptor();
  948. static const Locate_sift_response_msg& default_instance();
  949. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  950. static inline const Locate_sift_response_msg* internal_default_instance() {
  951. return reinterpret_cast<const Locate_sift_response_msg*>(
  952. &_Locate_sift_response_msg_default_instance_);
  953. }
  954. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  955. 6;
  956. void Swap(Locate_sift_response_msg* other);
  957. friend void swap(Locate_sift_response_msg& a, Locate_sift_response_msg& b) {
  958. a.Swap(&b);
  959. }
  960. // implements Message ----------------------------------------------
  961. inline Locate_sift_response_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  962. Locate_sift_response_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  963. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  964. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  965. void CopyFrom(const Locate_sift_response_msg& from);
  966. void MergeFrom(const Locate_sift_response_msg& from);
  967. void Clear() PROTOBUF_FINAL;
  968. bool IsInitialized() const PROTOBUF_FINAL;
  969. size_t ByteSizeLong() const PROTOBUF_FINAL;
  970. bool MergePartialFromCodedStream(
  971. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  972. void SerializeWithCachedSizes(
  973. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  974. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  975. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  976. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  977. private:
  978. void SharedCtor();
  979. void SharedDtor();
  980. void SetCachedSize(int size) const PROTOBUF_FINAL;
  981. void InternalSwap(Locate_sift_response_msg* other);
  982. private:
  983. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  984. return NULL;
  985. }
  986. inline void* MaybeArenaPtr() const {
  987. return NULL;
  988. }
  989. public:
  990. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  991. // nested types ----------------------------------------------------
  992. // accessors -------------------------------------------------------
  993. // repeated .message.Cloud_type cloud_type = 4;
  994. int cloud_type_size() const;
  995. void clear_cloud_type();
  996. static const int kCloudTypeFieldNumber = 4;
  997. const ::message::Cloud_type& cloud_type(int index) const;
  998. ::message::Cloud_type* mutable_cloud_type(int index);
  999. ::message::Cloud_type* add_cloud_type();
  1000. ::google::protobuf::RepeatedPtrField< ::message::Cloud_type >*
  1001. mutable_cloud_type();
  1002. const ::google::protobuf::RepeatedPtrField< ::message::Cloud_type >&
  1003. cloud_type() const;
  1004. // required string command_key = 2;
  1005. bool has_command_key() const;
  1006. void clear_command_key();
  1007. static const int kCommandKeyFieldNumber = 2;
  1008. const ::std::string& command_key() const;
  1009. void set_command_key(const ::std::string& value);
  1010. #if LANG_CXX11
  1011. void set_command_key(::std::string&& value);
  1012. #endif
  1013. void set_command_key(const char* value);
  1014. void set_command_key(const char* value, size_t size);
  1015. ::std::string* mutable_command_key();
  1016. ::std::string* release_command_key();
  1017. void set_allocated_command_key(::std::string* command_key);
  1018. // required .message.Base_info base_info = 1;
  1019. bool has_base_info() const;
  1020. void clear_base_info();
  1021. static const int kBaseInfoFieldNumber = 1;
  1022. const ::message::Base_info& base_info() const;
  1023. ::message::Base_info* release_base_info();
  1024. ::message::Base_info* mutable_base_info();
  1025. void set_allocated_base_info(::message::Base_info* base_info);
  1026. // required int32 terminal_id = 3;
  1027. bool has_terminal_id() const;
  1028. void clear_terminal_id();
  1029. static const int kTerminalIdFieldNumber = 3;
  1030. ::google::protobuf::int32 terminal_id() const;
  1031. void set_terminal_id(::google::protobuf::int32 value);
  1032. // @@protoc_insertion_point(class_scope:message.Locate_sift_response_msg)
  1033. private:
  1034. void set_has_base_info();
  1035. void clear_has_base_info();
  1036. void set_has_command_key();
  1037. void clear_has_command_key();
  1038. void set_has_terminal_id();
  1039. void clear_has_terminal_id();
  1040. // helper for ByteSizeLong()
  1041. size_t RequiredFieldsByteSizeFallback() const;
  1042. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  1043. ::google::protobuf::internal::HasBits<1> _has_bits_;
  1044. mutable int _cached_size_;
  1045. ::google::protobuf::RepeatedPtrField< ::message::Cloud_type > cloud_type_;
  1046. ::google::protobuf::internal::ArenaStringPtr command_key_;
  1047. ::message::Base_info* base_info_;
  1048. ::google::protobuf::int32 terminal_id_;
  1049. friend struct ::protobuf_measure_5fmessage_2eproto::TableStruct;
  1050. friend void ::protobuf_measure_5fmessage_2eproto::InitDefaultsLocate_sift_response_msgImpl();
  1051. };
  1052. // ===================================================================
  1053. // ===================================================================
  1054. #ifdef __GNUC__
  1055. #pragma GCC diagnostic push
  1056. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  1057. #endif // __GNUC__
  1058. // Measure_status_msg
  1059. // required .message.Base_info base_info = 1;
  1060. inline bool Measure_status_msg::has_base_info() const {
  1061. return (_has_bits_[0] & 0x00000001u) != 0;
  1062. }
  1063. inline void Measure_status_msg::set_has_base_info() {
  1064. _has_bits_[0] |= 0x00000001u;
  1065. }
  1066. inline void Measure_status_msg::clear_has_base_info() {
  1067. _has_bits_[0] &= ~0x00000001u;
  1068. }
  1069. inline const ::message::Base_info& Measure_status_msg::base_info() const {
  1070. const ::message::Base_info* p = base_info_;
  1071. // @@protoc_insertion_point(field_get:message.Measure_status_msg.base_info)
  1072. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  1073. &::message::_Base_info_default_instance_);
  1074. }
  1075. inline ::message::Base_info* Measure_status_msg::release_base_info() {
  1076. // @@protoc_insertion_point(field_release:message.Measure_status_msg.base_info)
  1077. clear_has_base_info();
  1078. ::message::Base_info* temp = base_info_;
  1079. base_info_ = NULL;
  1080. return temp;
  1081. }
  1082. inline ::message::Base_info* Measure_status_msg::mutable_base_info() {
  1083. set_has_base_info();
  1084. if (base_info_ == NULL) {
  1085. base_info_ = new ::message::Base_info;
  1086. }
  1087. // @@protoc_insertion_point(field_mutable:message.Measure_status_msg.base_info)
  1088. return base_info_;
  1089. }
  1090. inline void Measure_status_msg::set_allocated_base_info(::message::Base_info* base_info) {
  1091. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1092. if (message_arena == NULL) {
  1093. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  1094. }
  1095. if (base_info) {
  1096. ::google::protobuf::Arena* submessage_arena = NULL;
  1097. if (message_arena != submessage_arena) {
  1098. base_info = ::google::protobuf::internal::GetOwnedMessage(
  1099. message_arena, base_info, submessage_arena);
  1100. }
  1101. set_has_base_info();
  1102. } else {
  1103. clear_has_base_info();
  1104. }
  1105. base_info_ = base_info;
  1106. // @@protoc_insertion_point(field_set_allocated:message.Measure_status_msg.base_info)
  1107. }
  1108. // required int32 terminal_id = 2;
  1109. inline bool Measure_status_msg::has_terminal_id() const {
  1110. return (_has_bits_[0] & 0x00000008u) != 0;
  1111. }
  1112. inline void Measure_status_msg::set_has_terminal_id() {
  1113. _has_bits_[0] |= 0x00000008u;
  1114. }
  1115. inline void Measure_status_msg::clear_has_terminal_id() {
  1116. _has_bits_[0] &= ~0x00000008u;
  1117. }
  1118. inline void Measure_status_msg::clear_terminal_id() {
  1119. terminal_id_ = 0;
  1120. clear_has_terminal_id();
  1121. }
  1122. inline ::google::protobuf::int32 Measure_status_msg::terminal_id() const {
  1123. // @@protoc_insertion_point(field_get:message.Measure_status_msg.terminal_id)
  1124. return terminal_id_;
  1125. }
  1126. inline void Measure_status_msg::set_terminal_id(::google::protobuf::int32 value) {
  1127. set_has_terminal_id();
  1128. terminal_id_ = value;
  1129. // @@protoc_insertion_point(field_set:message.Measure_status_msg.terminal_id)
  1130. }
  1131. // required .message.Laser_manager_status laser_manager_status = 3;
  1132. inline bool Measure_status_msg::has_laser_manager_status() const {
  1133. return (_has_bits_[0] & 0x00000010u) != 0;
  1134. }
  1135. inline void Measure_status_msg::set_has_laser_manager_status() {
  1136. _has_bits_[0] |= 0x00000010u;
  1137. }
  1138. inline void Measure_status_msg::clear_has_laser_manager_status() {
  1139. _has_bits_[0] &= ~0x00000010u;
  1140. }
  1141. inline void Measure_status_msg::clear_laser_manager_status() {
  1142. laser_manager_status_ = 0;
  1143. clear_has_laser_manager_status();
  1144. }
  1145. inline ::message::Laser_manager_status Measure_status_msg::laser_manager_status() const {
  1146. // @@protoc_insertion_point(field_get:message.Measure_status_msg.laser_manager_status)
  1147. return static_cast< ::message::Laser_manager_status >(laser_manager_status_);
  1148. }
  1149. inline void Measure_status_msg::set_laser_manager_status(::message::Laser_manager_status value) {
  1150. assert(::message::Laser_manager_status_IsValid(value));
  1151. set_has_laser_manager_status();
  1152. laser_manager_status_ = value;
  1153. // @@protoc_insertion_point(field_set:message.Measure_status_msg.laser_manager_status)
  1154. }
  1155. // repeated .message.Laser_statu laser_statu_vector = 4;
  1156. inline int Measure_status_msg::laser_statu_vector_size() const {
  1157. return laser_statu_vector_.size();
  1158. }
  1159. inline void Measure_status_msg::clear_laser_statu_vector() {
  1160. laser_statu_vector_.Clear();
  1161. }
  1162. inline ::message::Laser_statu Measure_status_msg::laser_statu_vector(int index) const {
  1163. // @@protoc_insertion_point(field_get:message.Measure_status_msg.laser_statu_vector)
  1164. return static_cast< ::message::Laser_statu >(laser_statu_vector_.Get(index));
  1165. }
  1166. inline void Measure_status_msg::set_laser_statu_vector(int index, ::message::Laser_statu value) {
  1167. assert(::message::Laser_statu_IsValid(value));
  1168. laser_statu_vector_.Set(index, value);
  1169. // @@protoc_insertion_point(field_set:message.Measure_status_msg.laser_statu_vector)
  1170. }
  1171. inline void Measure_status_msg::add_laser_statu_vector(::message::Laser_statu value) {
  1172. assert(::message::Laser_statu_IsValid(value));
  1173. laser_statu_vector_.Add(value);
  1174. // @@protoc_insertion_point(field_add:message.Measure_status_msg.laser_statu_vector)
  1175. }
  1176. inline const ::google::protobuf::RepeatedField<int>&
  1177. Measure_status_msg::laser_statu_vector() const {
  1178. // @@protoc_insertion_point(field_list:message.Measure_status_msg.laser_statu_vector)
  1179. return laser_statu_vector_;
  1180. }
  1181. inline ::google::protobuf::RepeatedField<int>*
  1182. Measure_status_msg::mutable_laser_statu_vector() {
  1183. // @@protoc_insertion_point(field_mutable_list:message.Measure_status_msg.laser_statu_vector)
  1184. return &laser_statu_vector_;
  1185. }
  1186. // required .message.Locate_manager_status locate_manager_status = 5;
  1187. inline bool Measure_status_msg::has_locate_manager_status() const {
  1188. return (_has_bits_[0] & 0x00000020u) != 0;
  1189. }
  1190. inline void Measure_status_msg::set_has_locate_manager_status() {
  1191. _has_bits_[0] |= 0x00000020u;
  1192. }
  1193. inline void Measure_status_msg::clear_has_locate_manager_status() {
  1194. _has_bits_[0] &= ~0x00000020u;
  1195. }
  1196. inline void Measure_status_msg::clear_locate_manager_status() {
  1197. locate_manager_status_ = 0;
  1198. clear_has_locate_manager_status();
  1199. }
  1200. inline ::message::Locate_manager_status Measure_status_msg::locate_manager_status() const {
  1201. // @@protoc_insertion_point(field_get:message.Measure_status_msg.locate_manager_status)
  1202. return static_cast< ::message::Locate_manager_status >(locate_manager_status_);
  1203. }
  1204. inline void Measure_status_msg::set_locate_manager_status(::message::Locate_manager_status value) {
  1205. assert(::message::Locate_manager_status_IsValid(value));
  1206. set_has_locate_manager_status();
  1207. locate_manager_status_ = value;
  1208. // @@protoc_insertion_point(field_set:message.Measure_status_msg.locate_manager_status)
  1209. }
  1210. // optional .message.Locate_information locate_information_realtime = 6;
  1211. inline bool Measure_status_msg::has_locate_information_realtime() const {
  1212. return (_has_bits_[0] & 0x00000002u) != 0;
  1213. }
  1214. inline void Measure_status_msg::set_has_locate_information_realtime() {
  1215. _has_bits_[0] |= 0x00000002u;
  1216. }
  1217. inline void Measure_status_msg::clear_has_locate_information_realtime() {
  1218. _has_bits_[0] &= ~0x00000002u;
  1219. }
  1220. inline const ::message::Locate_information& Measure_status_msg::locate_information_realtime() const {
  1221. const ::message::Locate_information* p = locate_information_realtime_;
  1222. // @@protoc_insertion_point(field_get:message.Measure_status_msg.locate_information_realtime)
  1223. return p != NULL ? *p : *reinterpret_cast<const ::message::Locate_information*>(
  1224. &::message::_Locate_information_default_instance_);
  1225. }
  1226. inline ::message::Locate_information* Measure_status_msg::release_locate_information_realtime() {
  1227. // @@protoc_insertion_point(field_release:message.Measure_status_msg.locate_information_realtime)
  1228. clear_has_locate_information_realtime();
  1229. ::message::Locate_information* temp = locate_information_realtime_;
  1230. locate_information_realtime_ = NULL;
  1231. return temp;
  1232. }
  1233. inline ::message::Locate_information* Measure_status_msg::mutable_locate_information_realtime() {
  1234. set_has_locate_information_realtime();
  1235. if (locate_information_realtime_ == NULL) {
  1236. locate_information_realtime_ = new ::message::Locate_information;
  1237. }
  1238. // @@protoc_insertion_point(field_mutable:message.Measure_status_msg.locate_information_realtime)
  1239. return locate_information_realtime_;
  1240. }
  1241. inline void Measure_status_msg::set_allocated_locate_information_realtime(::message::Locate_information* locate_information_realtime) {
  1242. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1243. if (message_arena == NULL) {
  1244. delete reinterpret_cast< ::google::protobuf::MessageLite*>(locate_information_realtime_);
  1245. }
  1246. if (locate_information_realtime) {
  1247. ::google::protobuf::Arena* submessage_arena = NULL;
  1248. if (message_arena != submessage_arena) {
  1249. locate_information_realtime = ::google::protobuf::internal::GetOwnedMessage(
  1250. message_arena, locate_information_realtime, submessage_arena);
  1251. }
  1252. set_has_locate_information_realtime();
  1253. } else {
  1254. clear_has_locate_information_realtime();
  1255. }
  1256. locate_information_realtime_ = locate_information_realtime;
  1257. // @@protoc_insertion_point(field_set_allocated:message.Measure_status_msg.locate_information_realtime)
  1258. }
  1259. // required .message.Error_manager error_manager = 7;
  1260. inline bool Measure_status_msg::has_error_manager() const {
  1261. return (_has_bits_[0] & 0x00000004u) != 0;
  1262. }
  1263. inline void Measure_status_msg::set_has_error_manager() {
  1264. _has_bits_[0] |= 0x00000004u;
  1265. }
  1266. inline void Measure_status_msg::clear_has_error_manager() {
  1267. _has_bits_[0] &= ~0x00000004u;
  1268. }
  1269. inline const ::message::Error_manager& Measure_status_msg::error_manager() const {
  1270. const ::message::Error_manager* p = error_manager_;
  1271. // @@protoc_insertion_point(field_get:message.Measure_status_msg.error_manager)
  1272. return p != NULL ? *p : *reinterpret_cast<const ::message::Error_manager*>(
  1273. &::message::_Error_manager_default_instance_);
  1274. }
  1275. inline ::message::Error_manager* Measure_status_msg::release_error_manager() {
  1276. // @@protoc_insertion_point(field_release:message.Measure_status_msg.error_manager)
  1277. clear_has_error_manager();
  1278. ::message::Error_manager* temp = error_manager_;
  1279. error_manager_ = NULL;
  1280. return temp;
  1281. }
  1282. inline ::message::Error_manager* Measure_status_msg::mutable_error_manager() {
  1283. set_has_error_manager();
  1284. if (error_manager_ == NULL) {
  1285. error_manager_ = new ::message::Error_manager;
  1286. }
  1287. // @@protoc_insertion_point(field_mutable:message.Measure_status_msg.error_manager)
  1288. return error_manager_;
  1289. }
  1290. inline void Measure_status_msg::set_allocated_error_manager(::message::Error_manager* error_manager) {
  1291. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1292. if (message_arena == NULL) {
  1293. delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_manager_);
  1294. }
  1295. if (error_manager) {
  1296. ::google::protobuf::Arena* submessage_arena = NULL;
  1297. if (message_arena != submessage_arena) {
  1298. error_manager = ::google::protobuf::internal::GetOwnedMessage(
  1299. message_arena, error_manager, submessage_arena);
  1300. }
  1301. set_has_error_manager();
  1302. } else {
  1303. clear_has_error_manager();
  1304. }
  1305. error_manager_ = error_manager;
  1306. // @@protoc_insertion_point(field_set_allocated:message.Measure_status_msg.error_manager)
  1307. }
  1308. // -------------------------------------------------------------------
  1309. // Measure_request_msg
  1310. // required .message.Base_info base_info = 1;
  1311. inline bool Measure_request_msg::has_base_info() const {
  1312. return (_has_bits_[0] & 0x00000002u) != 0;
  1313. }
  1314. inline void Measure_request_msg::set_has_base_info() {
  1315. _has_bits_[0] |= 0x00000002u;
  1316. }
  1317. inline void Measure_request_msg::clear_has_base_info() {
  1318. _has_bits_[0] &= ~0x00000002u;
  1319. }
  1320. inline const ::message::Base_info& Measure_request_msg::base_info() const {
  1321. const ::message::Base_info* p = base_info_;
  1322. // @@protoc_insertion_point(field_get:message.Measure_request_msg.base_info)
  1323. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  1324. &::message::_Base_info_default_instance_);
  1325. }
  1326. inline ::message::Base_info* Measure_request_msg::release_base_info() {
  1327. // @@protoc_insertion_point(field_release:message.Measure_request_msg.base_info)
  1328. clear_has_base_info();
  1329. ::message::Base_info* temp = base_info_;
  1330. base_info_ = NULL;
  1331. return temp;
  1332. }
  1333. inline ::message::Base_info* Measure_request_msg::mutable_base_info() {
  1334. set_has_base_info();
  1335. if (base_info_ == NULL) {
  1336. base_info_ = new ::message::Base_info;
  1337. }
  1338. // @@protoc_insertion_point(field_mutable:message.Measure_request_msg.base_info)
  1339. return base_info_;
  1340. }
  1341. inline void Measure_request_msg::set_allocated_base_info(::message::Base_info* base_info) {
  1342. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1343. if (message_arena == NULL) {
  1344. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  1345. }
  1346. if (base_info) {
  1347. ::google::protobuf::Arena* submessage_arena = NULL;
  1348. if (message_arena != submessage_arena) {
  1349. base_info = ::google::protobuf::internal::GetOwnedMessage(
  1350. message_arena, base_info, submessage_arena);
  1351. }
  1352. set_has_base_info();
  1353. } else {
  1354. clear_has_base_info();
  1355. }
  1356. base_info_ = base_info;
  1357. // @@protoc_insertion_point(field_set_allocated:message.Measure_request_msg.base_info)
  1358. }
  1359. // required string command_key = 2;
  1360. inline bool Measure_request_msg::has_command_key() const {
  1361. return (_has_bits_[0] & 0x00000001u) != 0;
  1362. }
  1363. inline void Measure_request_msg::set_has_command_key() {
  1364. _has_bits_[0] |= 0x00000001u;
  1365. }
  1366. inline void Measure_request_msg::clear_has_command_key() {
  1367. _has_bits_[0] &= ~0x00000001u;
  1368. }
  1369. inline void Measure_request_msg::clear_command_key() {
  1370. command_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1371. clear_has_command_key();
  1372. }
  1373. inline const ::std::string& Measure_request_msg::command_key() const {
  1374. // @@protoc_insertion_point(field_get:message.Measure_request_msg.command_key)
  1375. return command_key_.GetNoArena();
  1376. }
  1377. inline void Measure_request_msg::set_command_key(const ::std::string& value) {
  1378. set_has_command_key();
  1379. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1380. // @@protoc_insertion_point(field_set:message.Measure_request_msg.command_key)
  1381. }
  1382. #if LANG_CXX11
  1383. inline void Measure_request_msg::set_command_key(::std::string&& value) {
  1384. set_has_command_key();
  1385. command_key_.SetNoArena(
  1386. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1387. // @@protoc_insertion_point(field_set_rvalue:message.Measure_request_msg.command_key)
  1388. }
  1389. #endif
  1390. inline void Measure_request_msg::set_command_key(const char* value) {
  1391. GOOGLE_DCHECK(value != NULL);
  1392. set_has_command_key();
  1393. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1394. // @@protoc_insertion_point(field_set_char:message.Measure_request_msg.command_key)
  1395. }
  1396. inline void Measure_request_msg::set_command_key(const char* value, size_t size) {
  1397. set_has_command_key();
  1398. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1399. ::std::string(reinterpret_cast<const char*>(value), size));
  1400. // @@protoc_insertion_point(field_set_pointer:message.Measure_request_msg.command_key)
  1401. }
  1402. inline ::std::string* Measure_request_msg::mutable_command_key() {
  1403. set_has_command_key();
  1404. // @@protoc_insertion_point(field_mutable:message.Measure_request_msg.command_key)
  1405. return command_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1406. }
  1407. inline ::std::string* Measure_request_msg::release_command_key() {
  1408. // @@protoc_insertion_point(field_release:message.Measure_request_msg.command_key)
  1409. clear_has_command_key();
  1410. return command_key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1411. }
  1412. inline void Measure_request_msg::set_allocated_command_key(::std::string* command_key) {
  1413. if (command_key != NULL) {
  1414. set_has_command_key();
  1415. } else {
  1416. clear_has_command_key();
  1417. }
  1418. command_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), command_key);
  1419. // @@protoc_insertion_point(field_set_allocated:message.Measure_request_msg.command_key)
  1420. }
  1421. // required int32 terminal_id = 3;
  1422. inline bool Measure_request_msg::has_terminal_id() const {
  1423. return (_has_bits_[0] & 0x00000004u) != 0;
  1424. }
  1425. inline void Measure_request_msg::set_has_terminal_id() {
  1426. _has_bits_[0] |= 0x00000004u;
  1427. }
  1428. inline void Measure_request_msg::clear_has_terminal_id() {
  1429. _has_bits_[0] &= ~0x00000004u;
  1430. }
  1431. inline void Measure_request_msg::clear_terminal_id() {
  1432. terminal_id_ = 0;
  1433. clear_has_terminal_id();
  1434. }
  1435. inline ::google::protobuf::int32 Measure_request_msg::terminal_id() const {
  1436. // @@protoc_insertion_point(field_get:message.Measure_request_msg.terminal_id)
  1437. return terminal_id_;
  1438. }
  1439. inline void Measure_request_msg::set_terminal_id(::google::protobuf::int32 value) {
  1440. set_has_terminal_id();
  1441. terminal_id_ = value;
  1442. // @@protoc_insertion_point(field_set:message.Measure_request_msg.terminal_id)
  1443. }
  1444. // -------------------------------------------------------------------
  1445. // Measure_response_msg
  1446. // required .message.Base_info base_info = 1;
  1447. inline bool Measure_response_msg::has_base_info() const {
  1448. return (_has_bits_[0] & 0x00000002u) != 0;
  1449. }
  1450. inline void Measure_response_msg::set_has_base_info() {
  1451. _has_bits_[0] |= 0x00000002u;
  1452. }
  1453. inline void Measure_response_msg::clear_has_base_info() {
  1454. _has_bits_[0] &= ~0x00000002u;
  1455. }
  1456. inline const ::message::Base_info& Measure_response_msg::base_info() const {
  1457. const ::message::Base_info* p = base_info_;
  1458. // @@protoc_insertion_point(field_get:message.Measure_response_msg.base_info)
  1459. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  1460. &::message::_Base_info_default_instance_);
  1461. }
  1462. inline ::message::Base_info* Measure_response_msg::release_base_info() {
  1463. // @@protoc_insertion_point(field_release:message.Measure_response_msg.base_info)
  1464. clear_has_base_info();
  1465. ::message::Base_info* temp = base_info_;
  1466. base_info_ = NULL;
  1467. return temp;
  1468. }
  1469. inline ::message::Base_info* Measure_response_msg::mutable_base_info() {
  1470. set_has_base_info();
  1471. if (base_info_ == NULL) {
  1472. base_info_ = new ::message::Base_info;
  1473. }
  1474. // @@protoc_insertion_point(field_mutable:message.Measure_response_msg.base_info)
  1475. return base_info_;
  1476. }
  1477. inline void Measure_response_msg::set_allocated_base_info(::message::Base_info* base_info) {
  1478. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1479. if (message_arena == NULL) {
  1480. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  1481. }
  1482. if (base_info) {
  1483. ::google::protobuf::Arena* submessage_arena = NULL;
  1484. if (message_arena != submessage_arena) {
  1485. base_info = ::google::protobuf::internal::GetOwnedMessage(
  1486. message_arena, base_info, submessage_arena);
  1487. }
  1488. set_has_base_info();
  1489. } else {
  1490. clear_has_base_info();
  1491. }
  1492. base_info_ = base_info;
  1493. // @@protoc_insertion_point(field_set_allocated:message.Measure_response_msg.base_info)
  1494. }
  1495. // required string command_key = 2;
  1496. inline bool Measure_response_msg::has_command_key() const {
  1497. return (_has_bits_[0] & 0x00000001u) != 0;
  1498. }
  1499. inline void Measure_response_msg::set_has_command_key() {
  1500. _has_bits_[0] |= 0x00000001u;
  1501. }
  1502. inline void Measure_response_msg::clear_has_command_key() {
  1503. _has_bits_[0] &= ~0x00000001u;
  1504. }
  1505. inline void Measure_response_msg::clear_command_key() {
  1506. command_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1507. clear_has_command_key();
  1508. }
  1509. inline const ::std::string& Measure_response_msg::command_key() const {
  1510. // @@protoc_insertion_point(field_get:message.Measure_response_msg.command_key)
  1511. return command_key_.GetNoArena();
  1512. }
  1513. inline void Measure_response_msg::set_command_key(const ::std::string& value) {
  1514. set_has_command_key();
  1515. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1516. // @@protoc_insertion_point(field_set:message.Measure_response_msg.command_key)
  1517. }
  1518. #if LANG_CXX11
  1519. inline void Measure_response_msg::set_command_key(::std::string&& value) {
  1520. set_has_command_key();
  1521. command_key_.SetNoArena(
  1522. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1523. // @@protoc_insertion_point(field_set_rvalue:message.Measure_response_msg.command_key)
  1524. }
  1525. #endif
  1526. inline void Measure_response_msg::set_command_key(const char* value) {
  1527. GOOGLE_DCHECK(value != NULL);
  1528. set_has_command_key();
  1529. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1530. // @@protoc_insertion_point(field_set_char:message.Measure_response_msg.command_key)
  1531. }
  1532. inline void Measure_response_msg::set_command_key(const char* value, size_t size) {
  1533. set_has_command_key();
  1534. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1535. ::std::string(reinterpret_cast<const char*>(value), size));
  1536. // @@protoc_insertion_point(field_set_pointer:message.Measure_response_msg.command_key)
  1537. }
  1538. inline ::std::string* Measure_response_msg::mutable_command_key() {
  1539. set_has_command_key();
  1540. // @@protoc_insertion_point(field_mutable:message.Measure_response_msg.command_key)
  1541. return command_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1542. }
  1543. inline ::std::string* Measure_response_msg::release_command_key() {
  1544. // @@protoc_insertion_point(field_release:message.Measure_response_msg.command_key)
  1545. clear_has_command_key();
  1546. return command_key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1547. }
  1548. inline void Measure_response_msg::set_allocated_command_key(::std::string* command_key) {
  1549. if (command_key != NULL) {
  1550. set_has_command_key();
  1551. } else {
  1552. clear_has_command_key();
  1553. }
  1554. command_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), command_key);
  1555. // @@protoc_insertion_point(field_set_allocated:message.Measure_response_msg.command_key)
  1556. }
  1557. // required int32 terminal_id = 3;
  1558. inline bool Measure_response_msg::has_terminal_id() const {
  1559. return (_has_bits_[0] & 0x00000010u) != 0;
  1560. }
  1561. inline void Measure_response_msg::set_has_terminal_id() {
  1562. _has_bits_[0] |= 0x00000010u;
  1563. }
  1564. inline void Measure_response_msg::clear_has_terminal_id() {
  1565. _has_bits_[0] &= ~0x00000010u;
  1566. }
  1567. inline void Measure_response_msg::clear_terminal_id() {
  1568. terminal_id_ = 0;
  1569. clear_has_terminal_id();
  1570. }
  1571. inline ::google::protobuf::int32 Measure_response_msg::terminal_id() const {
  1572. // @@protoc_insertion_point(field_get:message.Measure_response_msg.terminal_id)
  1573. return terminal_id_;
  1574. }
  1575. inline void Measure_response_msg::set_terminal_id(::google::protobuf::int32 value) {
  1576. set_has_terminal_id();
  1577. terminal_id_ = value;
  1578. // @@protoc_insertion_point(field_set:message.Measure_response_msg.terminal_id)
  1579. }
  1580. // optional .message.Locate_information locate_information = 4;
  1581. inline bool Measure_response_msg::has_locate_information() const {
  1582. return (_has_bits_[0] & 0x00000004u) != 0;
  1583. }
  1584. inline void Measure_response_msg::set_has_locate_information() {
  1585. _has_bits_[0] |= 0x00000004u;
  1586. }
  1587. inline void Measure_response_msg::clear_has_locate_information() {
  1588. _has_bits_[0] &= ~0x00000004u;
  1589. }
  1590. inline const ::message::Locate_information& Measure_response_msg::locate_information() const {
  1591. const ::message::Locate_information* p = locate_information_;
  1592. // @@protoc_insertion_point(field_get:message.Measure_response_msg.locate_information)
  1593. return p != NULL ? *p : *reinterpret_cast<const ::message::Locate_information*>(
  1594. &::message::_Locate_information_default_instance_);
  1595. }
  1596. inline ::message::Locate_information* Measure_response_msg::release_locate_information() {
  1597. // @@protoc_insertion_point(field_release:message.Measure_response_msg.locate_information)
  1598. clear_has_locate_information();
  1599. ::message::Locate_information* temp = locate_information_;
  1600. locate_information_ = NULL;
  1601. return temp;
  1602. }
  1603. inline ::message::Locate_information* Measure_response_msg::mutable_locate_information() {
  1604. set_has_locate_information();
  1605. if (locate_information_ == NULL) {
  1606. locate_information_ = new ::message::Locate_information;
  1607. }
  1608. // @@protoc_insertion_point(field_mutable:message.Measure_response_msg.locate_information)
  1609. return locate_information_;
  1610. }
  1611. inline void Measure_response_msg::set_allocated_locate_information(::message::Locate_information* locate_information) {
  1612. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1613. if (message_arena == NULL) {
  1614. delete reinterpret_cast< ::google::protobuf::MessageLite*>(locate_information_);
  1615. }
  1616. if (locate_information) {
  1617. ::google::protobuf::Arena* submessage_arena = NULL;
  1618. if (message_arena != submessage_arena) {
  1619. locate_information = ::google::protobuf::internal::GetOwnedMessage(
  1620. message_arena, locate_information, submessage_arena);
  1621. }
  1622. set_has_locate_information();
  1623. } else {
  1624. clear_has_locate_information();
  1625. }
  1626. locate_information_ = locate_information;
  1627. // @@protoc_insertion_point(field_set_allocated:message.Measure_response_msg.locate_information)
  1628. }
  1629. // required .message.Error_manager error_manager = 5;
  1630. inline bool Measure_response_msg::has_error_manager() const {
  1631. return (_has_bits_[0] & 0x00000008u) != 0;
  1632. }
  1633. inline void Measure_response_msg::set_has_error_manager() {
  1634. _has_bits_[0] |= 0x00000008u;
  1635. }
  1636. inline void Measure_response_msg::clear_has_error_manager() {
  1637. _has_bits_[0] &= ~0x00000008u;
  1638. }
  1639. inline const ::message::Error_manager& Measure_response_msg::error_manager() const {
  1640. const ::message::Error_manager* p = error_manager_;
  1641. // @@protoc_insertion_point(field_get:message.Measure_response_msg.error_manager)
  1642. return p != NULL ? *p : *reinterpret_cast<const ::message::Error_manager*>(
  1643. &::message::_Error_manager_default_instance_);
  1644. }
  1645. inline ::message::Error_manager* Measure_response_msg::release_error_manager() {
  1646. // @@protoc_insertion_point(field_release:message.Measure_response_msg.error_manager)
  1647. clear_has_error_manager();
  1648. ::message::Error_manager* temp = error_manager_;
  1649. error_manager_ = NULL;
  1650. return temp;
  1651. }
  1652. inline ::message::Error_manager* Measure_response_msg::mutable_error_manager() {
  1653. set_has_error_manager();
  1654. if (error_manager_ == NULL) {
  1655. error_manager_ = new ::message::Error_manager;
  1656. }
  1657. // @@protoc_insertion_point(field_mutable:message.Measure_response_msg.error_manager)
  1658. return error_manager_;
  1659. }
  1660. inline void Measure_response_msg::set_allocated_error_manager(::message::Error_manager* error_manager) {
  1661. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1662. if (message_arena == NULL) {
  1663. delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_manager_);
  1664. }
  1665. if (error_manager) {
  1666. ::google::protobuf::Arena* submessage_arena = NULL;
  1667. if (message_arena != submessage_arena) {
  1668. error_manager = ::google::protobuf::internal::GetOwnedMessage(
  1669. message_arena, error_manager, submessage_arena);
  1670. }
  1671. set_has_error_manager();
  1672. } else {
  1673. clear_has_error_manager();
  1674. }
  1675. error_manager_ = error_manager;
  1676. // @@protoc_insertion_point(field_set_allocated:message.Measure_response_msg.error_manager)
  1677. }
  1678. // -------------------------------------------------------------------
  1679. // Cloud_coordinate
  1680. // required float x = 1;
  1681. inline bool Cloud_coordinate::has_x() const {
  1682. return (_has_bits_[0] & 0x00000001u) != 0;
  1683. }
  1684. inline void Cloud_coordinate::set_has_x() {
  1685. _has_bits_[0] |= 0x00000001u;
  1686. }
  1687. inline void Cloud_coordinate::clear_has_x() {
  1688. _has_bits_[0] &= ~0x00000001u;
  1689. }
  1690. inline void Cloud_coordinate::clear_x() {
  1691. x_ = 0;
  1692. clear_has_x();
  1693. }
  1694. inline float Cloud_coordinate::x() const {
  1695. // @@protoc_insertion_point(field_get:message.Cloud_coordinate.x)
  1696. return x_;
  1697. }
  1698. inline void Cloud_coordinate::set_x(float value) {
  1699. set_has_x();
  1700. x_ = value;
  1701. // @@protoc_insertion_point(field_set:message.Cloud_coordinate.x)
  1702. }
  1703. // required float y = 2;
  1704. inline bool Cloud_coordinate::has_y() const {
  1705. return (_has_bits_[0] & 0x00000002u) != 0;
  1706. }
  1707. inline void Cloud_coordinate::set_has_y() {
  1708. _has_bits_[0] |= 0x00000002u;
  1709. }
  1710. inline void Cloud_coordinate::clear_has_y() {
  1711. _has_bits_[0] &= ~0x00000002u;
  1712. }
  1713. inline void Cloud_coordinate::clear_y() {
  1714. y_ = 0;
  1715. clear_has_y();
  1716. }
  1717. inline float Cloud_coordinate::y() const {
  1718. // @@protoc_insertion_point(field_get:message.Cloud_coordinate.y)
  1719. return y_;
  1720. }
  1721. inline void Cloud_coordinate::set_y(float value) {
  1722. set_has_y();
  1723. y_ = value;
  1724. // @@protoc_insertion_point(field_set:message.Cloud_coordinate.y)
  1725. }
  1726. // required float z = 3;
  1727. inline bool Cloud_coordinate::has_z() const {
  1728. return (_has_bits_[0] & 0x00000004u) != 0;
  1729. }
  1730. inline void Cloud_coordinate::set_has_z() {
  1731. _has_bits_[0] |= 0x00000004u;
  1732. }
  1733. inline void Cloud_coordinate::clear_has_z() {
  1734. _has_bits_[0] &= ~0x00000004u;
  1735. }
  1736. inline void Cloud_coordinate::clear_z() {
  1737. z_ = 0;
  1738. clear_has_z();
  1739. }
  1740. inline float Cloud_coordinate::z() const {
  1741. // @@protoc_insertion_point(field_get:message.Cloud_coordinate.z)
  1742. return z_;
  1743. }
  1744. inline void Cloud_coordinate::set_z(float value) {
  1745. set_has_z();
  1746. z_ = value;
  1747. // @@protoc_insertion_point(field_set:message.Cloud_coordinate.z)
  1748. }
  1749. // -------------------------------------------------------------------
  1750. // Cloud_type
  1751. // required int32 type = 1;
  1752. inline bool Cloud_type::has_type() const {
  1753. return (_has_bits_[0] & 0x00000001u) != 0;
  1754. }
  1755. inline void Cloud_type::set_has_type() {
  1756. _has_bits_[0] |= 0x00000001u;
  1757. }
  1758. inline void Cloud_type::clear_has_type() {
  1759. _has_bits_[0] &= ~0x00000001u;
  1760. }
  1761. inline void Cloud_type::clear_type() {
  1762. type_ = 0;
  1763. clear_has_type();
  1764. }
  1765. inline ::google::protobuf::int32 Cloud_type::type() const {
  1766. // @@protoc_insertion_point(field_get:message.Cloud_type.type)
  1767. return type_;
  1768. }
  1769. inline void Cloud_type::set_type(::google::protobuf::int32 value) {
  1770. set_has_type();
  1771. type_ = value;
  1772. // @@protoc_insertion_point(field_set:message.Cloud_type.type)
  1773. }
  1774. // -------------------------------------------------------------------
  1775. // Locate_sift_request_msg
  1776. // required .message.Base_info base_info = 1;
  1777. inline bool Locate_sift_request_msg::has_base_info() const {
  1778. return (_has_bits_[0] & 0x00000002u) != 0;
  1779. }
  1780. inline void Locate_sift_request_msg::set_has_base_info() {
  1781. _has_bits_[0] |= 0x00000002u;
  1782. }
  1783. inline void Locate_sift_request_msg::clear_has_base_info() {
  1784. _has_bits_[0] &= ~0x00000002u;
  1785. }
  1786. inline const ::message::Base_info& Locate_sift_request_msg::base_info() const {
  1787. const ::message::Base_info* p = base_info_;
  1788. // @@protoc_insertion_point(field_get:message.Locate_sift_request_msg.base_info)
  1789. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  1790. &::message::_Base_info_default_instance_);
  1791. }
  1792. inline ::message::Base_info* Locate_sift_request_msg::release_base_info() {
  1793. // @@protoc_insertion_point(field_release:message.Locate_sift_request_msg.base_info)
  1794. clear_has_base_info();
  1795. ::message::Base_info* temp = base_info_;
  1796. base_info_ = NULL;
  1797. return temp;
  1798. }
  1799. inline ::message::Base_info* Locate_sift_request_msg::mutable_base_info() {
  1800. set_has_base_info();
  1801. if (base_info_ == NULL) {
  1802. base_info_ = new ::message::Base_info;
  1803. }
  1804. // @@protoc_insertion_point(field_mutable:message.Locate_sift_request_msg.base_info)
  1805. return base_info_;
  1806. }
  1807. inline void Locate_sift_request_msg::set_allocated_base_info(::message::Base_info* base_info) {
  1808. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1809. if (message_arena == NULL) {
  1810. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  1811. }
  1812. if (base_info) {
  1813. ::google::protobuf::Arena* submessage_arena = NULL;
  1814. if (message_arena != submessage_arena) {
  1815. base_info = ::google::protobuf::internal::GetOwnedMessage(
  1816. message_arena, base_info, submessage_arena);
  1817. }
  1818. set_has_base_info();
  1819. } else {
  1820. clear_has_base_info();
  1821. }
  1822. base_info_ = base_info;
  1823. // @@protoc_insertion_point(field_set_allocated:message.Locate_sift_request_msg.base_info)
  1824. }
  1825. // required string command_key = 2;
  1826. inline bool Locate_sift_request_msg::has_command_key() const {
  1827. return (_has_bits_[0] & 0x00000001u) != 0;
  1828. }
  1829. inline void Locate_sift_request_msg::set_has_command_key() {
  1830. _has_bits_[0] |= 0x00000001u;
  1831. }
  1832. inline void Locate_sift_request_msg::clear_has_command_key() {
  1833. _has_bits_[0] &= ~0x00000001u;
  1834. }
  1835. inline void Locate_sift_request_msg::clear_command_key() {
  1836. command_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1837. clear_has_command_key();
  1838. }
  1839. inline const ::std::string& Locate_sift_request_msg::command_key() const {
  1840. // @@protoc_insertion_point(field_get:message.Locate_sift_request_msg.command_key)
  1841. return command_key_.GetNoArena();
  1842. }
  1843. inline void Locate_sift_request_msg::set_command_key(const ::std::string& value) {
  1844. set_has_command_key();
  1845. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1846. // @@protoc_insertion_point(field_set:message.Locate_sift_request_msg.command_key)
  1847. }
  1848. #if LANG_CXX11
  1849. inline void Locate_sift_request_msg::set_command_key(::std::string&& value) {
  1850. set_has_command_key();
  1851. command_key_.SetNoArena(
  1852. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1853. // @@protoc_insertion_point(field_set_rvalue:message.Locate_sift_request_msg.command_key)
  1854. }
  1855. #endif
  1856. inline void Locate_sift_request_msg::set_command_key(const char* value) {
  1857. GOOGLE_DCHECK(value != NULL);
  1858. set_has_command_key();
  1859. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1860. // @@protoc_insertion_point(field_set_char:message.Locate_sift_request_msg.command_key)
  1861. }
  1862. inline void Locate_sift_request_msg::set_command_key(const char* value, size_t size) {
  1863. set_has_command_key();
  1864. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1865. ::std::string(reinterpret_cast<const char*>(value), size));
  1866. // @@protoc_insertion_point(field_set_pointer:message.Locate_sift_request_msg.command_key)
  1867. }
  1868. inline ::std::string* Locate_sift_request_msg::mutable_command_key() {
  1869. set_has_command_key();
  1870. // @@protoc_insertion_point(field_mutable:message.Locate_sift_request_msg.command_key)
  1871. return command_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1872. }
  1873. inline ::std::string* Locate_sift_request_msg::release_command_key() {
  1874. // @@protoc_insertion_point(field_release:message.Locate_sift_request_msg.command_key)
  1875. clear_has_command_key();
  1876. return command_key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1877. }
  1878. inline void Locate_sift_request_msg::set_allocated_command_key(::std::string* command_key) {
  1879. if (command_key != NULL) {
  1880. set_has_command_key();
  1881. } else {
  1882. clear_has_command_key();
  1883. }
  1884. command_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), command_key);
  1885. // @@protoc_insertion_point(field_set_allocated:message.Locate_sift_request_msg.command_key)
  1886. }
  1887. // required int32 terminal_id = 3;
  1888. inline bool Locate_sift_request_msg::has_terminal_id() const {
  1889. return (_has_bits_[0] & 0x00000004u) != 0;
  1890. }
  1891. inline void Locate_sift_request_msg::set_has_terminal_id() {
  1892. _has_bits_[0] |= 0x00000004u;
  1893. }
  1894. inline void Locate_sift_request_msg::clear_has_terminal_id() {
  1895. _has_bits_[0] &= ~0x00000004u;
  1896. }
  1897. inline void Locate_sift_request_msg::clear_terminal_id() {
  1898. terminal_id_ = 0;
  1899. clear_has_terminal_id();
  1900. }
  1901. inline ::google::protobuf::int32 Locate_sift_request_msg::terminal_id() const {
  1902. // @@protoc_insertion_point(field_get:message.Locate_sift_request_msg.terminal_id)
  1903. return terminal_id_;
  1904. }
  1905. inline void Locate_sift_request_msg::set_terminal_id(::google::protobuf::int32 value) {
  1906. set_has_terminal_id();
  1907. terminal_id_ = value;
  1908. // @@protoc_insertion_point(field_set:message.Locate_sift_request_msg.terminal_id)
  1909. }
  1910. // repeated .message.Cloud_coordinate cloud_coordinates = 4;
  1911. inline int Locate_sift_request_msg::cloud_coordinates_size() const {
  1912. return cloud_coordinates_.size();
  1913. }
  1914. inline void Locate_sift_request_msg::clear_cloud_coordinates() {
  1915. cloud_coordinates_.Clear();
  1916. }
  1917. inline const ::message::Cloud_coordinate& Locate_sift_request_msg::cloud_coordinates(int index) const {
  1918. // @@protoc_insertion_point(field_get:message.Locate_sift_request_msg.cloud_coordinates)
  1919. return cloud_coordinates_.Get(index);
  1920. }
  1921. inline ::message::Cloud_coordinate* Locate_sift_request_msg::mutable_cloud_coordinates(int index) {
  1922. // @@protoc_insertion_point(field_mutable:message.Locate_sift_request_msg.cloud_coordinates)
  1923. return cloud_coordinates_.Mutable(index);
  1924. }
  1925. inline ::message::Cloud_coordinate* Locate_sift_request_msg::add_cloud_coordinates() {
  1926. // @@protoc_insertion_point(field_add:message.Locate_sift_request_msg.cloud_coordinates)
  1927. return cloud_coordinates_.Add();
  1928. }
  1929. inline ::google::protobuf::RepeatedPtrField< ::message::Cloud_coordinate >*
  1930. Locate_sift_request_msg::mutable_cloud_coordinates() {
  1931. // @@protoc_insertion_point(field_mutable_list:message.Locate_sift_request_msg.cloud_coordinates)
  1932. return &cloud_coordinates_;
  1933. }
  1934. inline const ::google::protobuf::RepeatedPtrField< ::message::Cloud_coordinate >&
  1935. Locate_sift_request_msg::cloud_coordinates() const {
  1936. // @@protoc_insertion_point(field_list:message.Locate_sift_request_msg.cloud_coordinates)
  1937. return cloud_coordinates_;
  1938. }
  1939. // -------------------------------------------------------------------
  1940. // Locate_sift_response_msg
  1941. // required .message.Base_info base_info = 1;
  1942. inline bool Locate_sift_response_msg::has_base_info() const {
  1943. return (_has_bits_[0] & 0x00000002u) != 0;
  1944. }
  1945. inline void Locate_sift_response_msg::set_has_base_info() {
  1946. _has_bits_[0] |= 0x00000002u;
  1947. }
  1948. inline void Locate_sift_response_msg::clear_has_base_info() {
  1949. _has_bits_[0] &= ~0x00000002u;
  1950. }
  1951. inline const ::message::Base_info& Locate_sift_response_msg::base_info() const {
  1952. const ::message::Base_info* p = base_info_;
  1953. // @@protoc_insertion_point(field_get:message.Locate_sift_response_msg.base_info)
  1954. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  1955. &::message::_Base_info_default_instance_);
  1956. }
  1957. inline ::message::Base_info* Locate_sift_response_msg::release_base_info() {
  1958. // @@protoc_insertion_point(field_release:message.Locate_sift_response_msg.base_info)
  1959. clear_has_base_info();
  1960. ::message::Base_info* temp = base_info_;
  1961. base_info_ = NULL;
  1962. return temp;
  1963. }
  1964. inline ::message::Base_info* Locate_sift_response_msg::mutable_base_info() {
  1965. set_has_base_info();
  1966. if (base_info_ == NULL) {
  1967. base_info_ = new ::message::Base_info;
  1968. }
  1969. // @@protoc_insertion_point(field_mutable:message.Locate_sift_response_msg.base_info)
  1970. return base_info_;
  1971. }
  1972. inline void Locate_sift_response_msg::set_allocated_base_info(::message::Base_info* base_info) {
  1973. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1974. if (message_arena == NULL) {
  1975. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  1976. }
  1977. if (base_info) {
  1978. ::google::protobuf::Arena* submessage_arena = NULL;
  1979. if (message_arena != submessage_arena) {
  1980. base_info = ::google::protobuf::internal::GetOwnedMessage(
  1981. message_arena, base_info, submessage_arena);
  1982. }
  1983. set_has_base_info();
  1984. } else {
  1985. clear_has_base_info();
  1986. }
  1987. base_info_ = base_info;
  1988. // @@protoc_insertion_point(field_set_allocated:message.Locate_sift_response_msg.base_info)
  1989. }
  1990. // required string command_key = 2;
  1991. inline bool Locate_sift_response_msg::has_command_key() const {
  1992. return (_has_bits_[0] & 0x00000001u) != 0;
  1993. }
  1994. inline void Locate_sift_response_msg::set_has_command_key() {
  1995. _has_bits_[0] |= 0x00000001u;
  1996. }
  1997. inline void Locate_sift_response_msg::clear_has_command_key() {
  1998. _has_bits_[0] &= ~0x00000001u;
  1999. }
  2000. inline void Locate_sift_response_msg::clear_command_key() {
  2001. command_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2002. clear_has_command_key();
  2003. }
  2004. inline const ::std::string& Locate_sift_response_msg::command_key() const {
  2005. // @@protoc_insertion_point(field_get:message.Locate_sift_response_msg.command_key)
  2006. return command_key_.GetNoArena();
  2007. }
  2008. inline void Locate_sift_response_msg::set_command_key(const ::std::string& value) {
  2009. set_has_command_key();
  2010. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  2011. // @@protoc_insertion_point(field_set:message.Locate_sift_response_msg.command_key)
  2012. }
  2013. #if LANG_CXX11
  2014. inline void Locate_sift_response_msg::set_command_key(::std::string&& value) {
  2015. set_has_command_key();
  2016. command_key_.SetNoArena(
  2017. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  2018. // @@protoc_insertion_point(field_set_rvalue:message.Locate_sift_response_msg.command_key)
  2019. }
  2020. #endif
  2021. inline void Locate_sift_response_msg::set_command_key(const char* value) {
  2022. GOOGLE_DCHECK(value != NULL);
  2023. set_has_command_key();
  2024. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  2025. // @@protoc_insertion_point(field_set_char:message.Locate_sift_response_msg.command_key)
  2026. }
  2027. inline void Locate_sift_response_msg::set_command_key(const char* value, size_t size) {
  2028. set_has_command_key();
  2029. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  2030. ::std::string(reinterpret_cast<const char*>(value), size));
  2031. // @@protoc_insertion_point(field_set_pointer:message.Locate_sift_response_msg.command_key)
  2032. }
  2033. inline ::std::string* Locate_sift_response_msg::mutable_command_key() {
  2034. set_has_command_key();
  2035. // @@protoc_insertion_point(field_mutable:message.Locate_sift_response_msg.command_key)
  2036. return command_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2037. }
  2038. inline ::std::string* Locate_sift_response_msg::release_command_key() {
  2039. // @@protoc_insertion_point(field_release:message.Locate_sift_response_msg.command_key)
  2040. clear_has_command_key();
  2041. return command_key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2042. }
  2043. inline void Locate_sift_response_msg::set_allocated_command_key(::std::string* command_key) {
  2044. if (command_key != NULL) {
  2045. set_has_command_key();
  2046. } else {
  2047. clear_has_command_key();
  2048. }
  2049. command_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), command_key);
  2050. // @@protoc_insertion_point(field_set_allocated:message.Locate_sift_response_msg.command_key)
  2051. }
  2052. // required int32 terminal_id = 3;
  2053. inline bool Locate_sift_response_msg::has_terminal_id() const {
  2054. return (_has_bits_[0] & 0x00000004u) != 0;
  2055. }
  2056. inline void Locate_sift_response_msg::set_has_terminal_id() {
  2057. _has_bits_[0] |= 0x00000004u;
  2058. }
  2059. inline void Locate_sift_response_msg::clear_has_terminal_id() {
  2060. _has_bits_[0] &= ~0x00000004u;
  2061. }
  2062. inline void Locate_sift_response_msg::clear_terminal_id() {
  2063. terminal_id_ = 0;
  2064. clear_has_terminal_id();
  2065. }
  2066. inline ::google::protobuf::int32 Locate_sift_response_msg::terminal_id() const {
  2067. // @@protoc_insertion_point(field_get:message.Locate_sift_response_msg.terminal_id)
  2068. return terminal_id_;
  2069. }
  2070. inline void Locate_sift_response_msg::set_terminal_id(::google::protobuf::int32 value) {
  2071. set_has_terminal_id();
  2072. terminal_id_ = value;
  2073. // @@protoc_insertion_point(field_set:message.Locate_sift_response_msg.terminal_id)
  2074. }
  2075. // repeated .message.Cloud_type cloud_type = 4;
  2076. inline int Locate_sift_response_msg::cloud_type_size() const {
  2077. return cloud_type_.size();
  2078. }
  2079. inline void Locate_sift_response_msg::clear_cloud_type() {
  2080. cloud_type_.Clear();
  2081. }
  2082. inline const ::message::Cloud_type& Locate_sift_response_msg::cloud_type(int index) const {
  2083. // @@protoc_insertion_point(field_get:message.Locate_sift_response_msg.cloud_type)
  2084. return cloud_type_.Get(index);
  2085. }
  2086. inline ::message::Cloud_type* Locate_sift_response_msg::mutable_cloud_type(int index) {
  2087. // @@protoc_insertion_point(field_mutable:message.Locate_sift_response_msg.cloud_type)
  2088. return cloud_type_.Mutable(index);
  2089. }
  2090. inline ::message::Cloud_type* Locate_sift_response_msg::add_cloud_type() {
  2091. // @@protoc_insertion_point(field_add:message.Locate_sift_response_msg.cloud_type)
  2092. return cloud_type_.Add();
  2093. }
  2094. inline ::google::protobuf::RepeatedPtrField< ::message::Cloud_type >*
  2095. Locate_sift_response_msg::mutable_cloud_type() {
  2096. // @@protoc_insertion_point(field_mutable_list:message.Locate_sift_response_msg.cloud_type)
  2097. return &cloud_type_;
  2098. }
  2099. inline const ::google::protobuf::RepeatedPtrField< ::message::Cloud_type >&
  2100. Locate_sift_response_msg::cloud_type() const {
  2101. // @@protoc_insertion_point(field_list:message.Locate_sift_response_msg.cloud_type)
  2102. return cloud_type_;
  2103. }
  2104. #ifdef __GNUC__
  2105. #pragma GCC diagnostic pop
  2106. #endif // __GNUC__
  2107. // -------------------------------------------------------------------
  2108. // -------------------------------------------------------------------
  2109. // -------------------------------------------------------------------
  2110. // -------------------------------------------------------------------
  2111. // -------------------------------------------------------------------
  2112. // -------------------------------------------------------------------
  2113. // @@protoc_insertion_point(namespace_scope)
  2114. } // namespace message
  2115. namespace google {
  2116. namespace protobuf {
  2117. template <> struct is_proto_enum< ::message::Laser_manager_status> : ::google::protobuf::internal::true_type {};
  2118. template <>
  2119. inline const EnumDescriptor* GetEnumDescriptor< ::message::Laser_manager_status>() {
  2120. return ::message::Laser_manager_status_descriptor();
  2121. }
  2122. template <> struct is_proto_enum< ::message::Laser_statu> : ::google::protobuf::internal::true_type {};
  2123. template <>
  2124. inline const EnumDescriptor* GetEnumDescriptor< ::message::Laser_statu>() {
  2125. return ::message::Laser_statu_descriptor();
  2126. }
  2127. template <> struct is_proto_enum< ::message::Locate_manager_status> : ::google::protobuf::internal::true_type {};
  2128. template <>
  2129. inline const EnumDescriptor* GetEnumDescriptor< ::message::Locate_manager_status>() {
  2130. return ::message::Locate_manager_status_descriptor();
  2131. }
  2132. } // namespace protobuf
  2133. } // namespace google
  2134. // @@protoc_insertion_point(global_scope)
  2135. #endif // PROTOBUF_measure_5fmessage_2eproto__INCLUDED