message_base.pb.h 43 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: message_base.proto
  3. #ifndef PROTOBUF_message_5fbase_2eproto__INCLUDED
  4. #define PROTOBUF_message_5fbase_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. // @@protoc_insertion_point(includes)
  29. namespace protobuf_message_5fbase_2eproto {
  30. // Internal implementation detail -- do not use these members.
  31. struct TableStruct {
  32. static const ::google::protobuf::internal::ParseTableField entries[];
  33. static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
  34. static const ::google::protobuf::internal::ParseTable schema[4];
  35. static const ::google::protobuf::internal::FieldMetadata field_metadata[];
  36. static const ::google::protobuf::internal::SerializationTable serialization_table[];
  37. static const ::google::protobuf::uint32 offsets[];
  38. };
  39. void AddDescriptors();
  40. void InitDefaultsBase_infoImpl();
  41. void InitDefaultsBase_info();
  42. void InitDefaultsBase_msgImpl();
  43. void InitDefaultsBase_msg();
  44. void InitDefaultsError_managerImpl();
  45. void InitDefaultsError_manager();
  46. void InitDefaultsLocate_informationImpl();
  47. void InitDefaultsLocate_information();
  48. inline void InitDefaults() {
  49. InitDefaultsBase_info();
  50. InitDefaultsBase_msg();
  51. InitDefaultsError_manager();
  52. InitDefaultsLocate_information();
  53. }
  54. } // namespace protobuf_message_5fbase_2eproto
  55. namespace message {
  56. class Base_info;
  57. class Base_infoDefaultTypeInternal;
  58. extern Base_infoDefaultTypeInternal _Base_info_default_instance_;
  59. class Base_msg;
  60. class Base_msgDefaultTypeInternal;
  61. extern Base_msgDefaultTypeInternal _Base_msg_default_instance_;
  62. class Error_manager;
  63. class Error_managerDefaultTypeInternal;
  64. extern Error_managerDefaultTypeInternal _Error_manager_default_instance_;
  65. class Locate_information;
  66. class Locate_informationDefaultTypeInternal;
  67. extern Locate_informationDefaultTypeInternal _Locate_information_default_instance_;
  68. } // namespace message
  69. namespace message {
  70. enum Message_type {
  71. eBase_msg = 0,
  72. eCommand_msg = 1,
  73. eLocate_status_msg = 17,
  74. eLocate_request_msg = 18,
  75. eLocate_response_msg = 19,
  76. eHarware_statu_msg = 33,
  77. eExecute_request_msg = 34,
  78. eExecute_response_msg = 35
  79. };
  80. bool Message_type_IsValid(int value);
  81. const Message_type Message_type_MIN = eBase_msg;
  82. const Message_type Message_type_MAX = eExecute_response_msg;
  83. const int Message_type_ARRAYSIZE = Message_type_MAX + 1;
  84. const ::google::protobuf::EnumDescriptor* Message_type_descriptor();
  85. inline const ::std::string& Message_type_Name(Message_type value) {
  86. return ::google::protobuf::internal::NameOfEnum(
  87. Message_type_descriptor(), value);
  88. }
  89. inline bool Message_type_Parse(
  90. const ::std::string& name, Message_type* value) {
  91. return ::google::protobuf::internal::ParseNamedEnum<Message_type>(
  92. Message_type_descriptor(), name, value);
  93. }
  94. enum Communicator {
  95. eEmpty = 0,
  96. eMain = 1,
  97. eTerminor = 256,
  98. eTable = 512,
  99. eMeasurer = 768,
  100. eProcess = 1024
  101. };
  102. bool Communicator_IsValid(int value);
  103. const Communicator Communicator_MIN = eEmpty;
  104. const Communicator Communicator_MAX = eProcess;
  105. const int Communicator_ARRAYSIZE = Communicator_MAX + 1;
  106. const ::google::protobuf::EnumDescriptor* Communicator_descriptor();
  107. inline const ::std::string& Communicator_Name(Communicator value) {
  108. return ::google::protobuf::internal::NameOfEnum(
  109. Communicator_descriptor(), value);
  110. }
  111. inline bool Communicator_Parse(
  112. const ::std::string& name, Communicator* value) {
  113. return ::google::protobuf::internal::ParseNamedEnum<Communicator>(
  114. Communicator_descriptor(), name, value);
  115. }
  116. enum Error_level {
  117. NORMAL = 0,
  118. NEGLIGIBLE_ERROR = 1,
  119. MINOR_ERROR = 2,
  120. MAJOR_ERROR = 3,
  121. CRITICAL_ERROR = 4
  122. };
  123. bool Error_level_IsValid(int value);
  124. const Error_level Error_level_MIN = NORMAL;
  125. const Error_level Error_level_MAX = CRITICAL_ERROR;
  126. const int Error_level_ARRAYSIZE = Error_level_MAX + 1;
  127. const ::google::protobuf::EnumDescriptor* Error_level_descriptor();
  128. inline const ::std::string& Error_level_Name(Error_level value) {
  129. return ::google::protobuf::internal::NameOfEnum(
  130. Error_level_descriptor(), value);
  131. }
  132. inline bool Error_level_Parse(
  133. const ::std::string& name, Error_level* value) {
  134. return ::google::protobuf::internal::ParseNamedEnum<Error_level>(
  135. Error_level_descriptor(), name, value);
  136. }
  137. // ===================================================================
  138. class Base_info : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Base_info) */ {
  139. public:
  140. Base_info();
  141. virtual ~Base_info();
  142. Base_info(const Base_info& from);
  143. inline Base_info& operator=(const Base_info& from) {
  144. CopyFrom(from);
  145. return *this;
  146. }
  147. #if LANG_CXX11
  148. Base_info(Base_info&& from) noexcept
  149. : Base_info() {
  150. *this = ::std::move(from);
  151. }
  152. inline Base_info& operator=(Base_info&& from) noexcept {
  153. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  154. if (this != &from) InternalSwap(&from);
  155. } else {
  156. CopyFrom(from);
  157. }
  158. return *this;
  159. }
  160. #endif
  161. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  162. return _internal_metadata_.unknown_fields();
  163. }
  164. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  165. return _internal_metadata_.mutable_unknown_fields();
  166. }
  167. static const ::google::protobuf::Descriptor* descriptor();
  168. static const Base_info& default_instance();
  169. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  170. static inline const Base_info* internal_default_instance() {
  171. return reinterpret_cast<const Base_info*>(
  172. &_Base_info_default_instance_);
  173. }
  174. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  175. 0;
  176. void Swap(Base_info* other);
  177. friend void swap(Base_info& a, Base_info& b) {
  178. a.Swap(&b);
  179. }
  180. // implements Message ----------------------------------------------
  181. inline Base_info* New() const PROTOBUF_FINAL { return New(NULL); }
  182. Base_info* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  183. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  184. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  185. void CopyFrom(const Base_info& from);
  186. void MergeFrom(const Base_info& from);
  187. void Clear() PROTOBUF_FINAL;
  188. bool IsInitialized() const PROTOBUF_FINAL;
  189. size_t ByteSizeLong() const PROTOBUF_FINAL;
  190. bool MergePartialFromCodedStream(
  191. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  192. void SerializeWithCachedSizes(
  193. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  194. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  195. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  196. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  197. private:
  198. void SharedCtor();
  199. void SharedDtor();
  200. void SetCachedSize(int size) const PROTOBUF_FINAL;
  201. void InternalSwap(Base_info* other);
  202. private:
  203. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  204. return NULL;
  205. }
  206. inline void* MaybeArenaPtr() const {
  207. return NULL;
  208. }
  209. public:
  210. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  211. // nested types ----------------------------------------------------
  212. // accessors -------------------------------------------------------
  213. // required .message.Message_type msg_type = 1;
  214. bool has_msg_type() const;
  215. void clear_msg_type();
  216. static const int kMsgTypeFieldNumber = 1;
  217. ::message::Message_type msg_type() const;
  218. void set_msg_type(::message::Message_type value);
  219. // optional int32 timeout_ms = 2;
  220. bool has_timeout_ms() const;
  221. void clear_timeout_ms();
  222. static const int kTimeoutMsFieldNumber = 2;
  223. ::google::protobuf::int32 timeout_ms() const;
  224. void set_timeout_ms(::google::protobuf::int32 value);
  225. // required .message.Communicator sender = 3;
  226. bool has_sender() const;
  227. void clear_sender();
  228. static const int kSenderFieldNumber = 3;
  229. ::message::Communicator sender() const;
  230. void set_sender(::message::Communicator value);
  231. // required .message.Communicator receiver = 4;
  232. bool has_receiver() const;
  233. void clear_receiver();
  234. static const int kReceiverFieldNumber = 4;
  235. ::message::Communicator receiver() const;
  236. void set_receiver(::message::Communicator value);
  237. // @@protoc_insertion_point(class_scope:message.Base_info)
  238. private:
  239. void set_has_msg_type();
  240. void clear_has_msg_type();
  241. void set_has_timeout_ms();
  242. void clear_has_timeout_ms();
  243. void set_has_sender();
  244. void clear_has_sender();
  245. void set_has_receiver();
  246. void clear_has_receiver();
  247. // helper for ByteSizeLong()
  248. size_t RequiredFieldsByteSizeFallback() const;
  249. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  250. ::google::protobuf::internal::HasBits<1> _has_bits_;
  251. mutable int _cached_size_;
  252. int msg_type_;
  253. ::google::protobuf::int32 timeout_ms_;
  254. int sender_;
  255. int receiver_;
  256. friend struct ::protobuf_message_5fbase_2eproto::TableStruct;
  257. friend void ::protobuf_message_5fbase_2eproto::InitDefaultsBase_infoImpl();
  258. };
  259. // -------------------------------------------------------------------
  260. class Base_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Base_msg) */ {
  261. public:
  262. Base_msg();
  263. virtual ~Base_msg();
  264. Base_msg(const Base_msg& from);
  265. inline Base_msg& operator=(const Base_msg& from) {
  266. CopyFrom(from);
  267. return *this;
  268. }
  269. #if LANG_CXX11
  270. Base_msg(Base_msg&& from) noexcept
  271. : Base_msg() {
  272. *this = ::std::move(from);
  273. }
  274. inline Base_msg& operator=(Base_msg&& from) noexcept {
  275. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  276. if (this != &from) InternalSwap(&from);
  277. } else {
  278. CopyFrom(from);
  279. }
  280. return *this;
  281. }
  282. #endif
  283. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  284. return _internal_metadata_.unknown_fields();
  285. }
  286. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  287. return _internal_metadata_.mutable_unknown_fields();
  288. }
  289. static const ::google::protobuf::Descriptor* descriptor();
  290. static const Base_msg& default_instance();
  291. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  292. static inline const Base_msg* internal_default_instance() {
  293. return reinterpret_cast<const Base_msg*>(
  294. &_Base_msg_default_instance_);
  295. }
  296. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  297. 1;
  298. void Swap(Base_msg* other);
  299. friend void swap(Base_msg& a, Base_msg& b) {
  300. a.Swap(&b);
  301. }
  302. // implements Message ----------------------------------------------
  303. inline Base_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  304. Base_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  305. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  306. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  307. void CopyFrom(const Base_msg& from);
  308. void MergeFrom(const Base_msg& from);
  309. void Clear() PROTOBUF_FINAL;
  310. bool IsInitialized() const PROTOBUF_FINAL;
  311. size_t ByteSizeLong() const PROTOBUF_FINAL;
  312. bool MergePartialFromCodedStream(
  313. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  314. void SerializeWithCachedSizes(
  315. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  316. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  317. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  318. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  319. private:
  320. void SharedCtor();
  321. void SharedDtor();
  322. void SetCachedSize(int size) const PROTOBUF_FINAL;
  323. void InternalSwap(Base_msg* other);
  324. private:
  325. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  326. return NULL;
  327. }
  328. inline void* MaybeArenaPtr() const {
  329. return NULL;
  330. }
  331. public:
  332. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  333. // nested types ----------------------------------------------------
  334. // accessors -------------------------------------------------------
  335. // required .message.Base_info base_info = 1;
  336. bool has_base_info() const;
  337. void clear_base_info();
  338. static const int kBaseInfoFieldNumber = 1;
  339. const ::message::Base_info& base_info() const;
  340. ::message::Base_info* release_base_info();
  341. ::message::Base_info* mutable_base_info();
  342. void set_allocated_base_info(::message::Base_info* base_info);
  343. // @@protoc_insertion_point(class_scope:message.Base_msg)
  344. private:
  345. void set_has_base_info();
  346. void clear_has_base_info();
  347. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  348. ::google::protobuf::internal::HasBits<1> _has_bits_;
  349. mutable int _cached_size_;
  350. ::message::Base_info* base_info_;
  351. friend struct ::protobuf_message_5fbase_2eproto::TableStruct;
  352. friend void ::protobuf_message_5fbase_2eproto::InitDefaultsBase_msgImpl();
  353. };
  354. // -------------------------------------------------------------------
  355. class Error_manager : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Error_manager) */ {
  356. public:
  357. Error_manager();
  358. virtual ~Error_manager();
  359. Error_manager(const Error_manager& from);
  360. inline Error_manager& operator=(const Error_manager& from) {
  361. CopyFrom(from);
  362. return *this;
  363. }
  364. #if LANG_CXX11
  365. Error_manager(Error_manager&& from) noexcept
  366. : Error_manager() {
  367. *this = ::std::move(from);
  368. }
  369. inline Error_manager& operator=(Error_manager&& from) noexcept {
  370. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  371. if (this != &from) InternalSwap(&from);
  372. } else {
  373. CopyFrom(from);
  374. }
  375. return *this;
  376. }
  377. #endif
  378. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  379. return _internal_metadata_.unknown_fields();
  380. }
  381. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  382. return _internal_metadata_.mutable_unknown_fields();
  383. }
  384. static const ::google::protobuf::Descriptor* descriptor();
  385. static const Error_manager& default_instance();
  386. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  387. static inline const Error_manager* internal_default_instance() {
  388. return reinterpret_cast<const Error_manager*>(
  389. &_Error_manager_default_instance_);
  390. }
  391. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  392. 2;
  393. void Swap(Error_manager* other);
  394. friend void swap(Error_manager& a, Error_manager& b) {
  395. a.Swap(&b);
  396. }
  397. // implements Message ----------------------------------------------
  398. inline Error_manager* New() const PROTOBUF_FINAL { return New(NULL); }
  399. Error_manager* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  400. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  401. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  402. void CopyFrom(const Error_manager& from);
  403. void MergeFrom(const Error_manager& from);
  404. void Clear() PROTOBUF_FINAL;
  405. bool IsInitialized() const PROTOBUF_FINAL;
  406. size_t ByteSizeLong() const PROTOBUF_FINAL;
  407. bool MergePartialFromCodedStream(
  408. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  409. void SerializeWithCachedSizes(
  410. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  411. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  412. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  413. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  414. private:
  415. void SharedCtor();
  416. void SharedDtor();
  417. void SetCachedSize(int size) const PROTOBUF_FINAL;
  418. void InternalSwap(Error_manager* other);
  419. private:
  420. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  421. return NULL;
  422. }
  423. inline void* MaybeArenaPtr() const {
  424. return NULL;
  425. }
  426. public:
  427. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  428. // nested types ----------------------------------------------------
  429. // accessors -------------------------------------------------------
  430. // optional string error_description = 3;
  431. bool has_error_description() const;
  432. void clear_error_description();
  433. static const int kErrorDescriptionFieldNumber = 3;
  434. const ::std::string& error_description() const;
  435. void set_error_description(const ::std::string& value);
  436. #if LANG_CXX11
  437. void set_error_description(::std::string&& value);
  438. #endif
  439. void set_error_description(const char* value);
  440. void set_error_description(const char* value, size_t size);
  441. ::std::string* mutable_error_description();
  442. ::std::string* release_error_description();
  443. void set_allocated_error_description(::std::string* error_description);
  444. // required int32 error_code = 1;
  445. bool has_error_code() const;
  446. void clear_error_code();
  447. static const int kErrorCodeFieldNumber = 1;
  448. ::google::protobuf::int32 error_code() const;
  449. void set_error_code(::google::protobuf::int32 value);
  450. // optional .message.Error_level error_level = 2;
  451. bool has_error_level() const;
  452. void clear_error_level();
  453. static const int kErrorLevelFieldNumber = 2;
  454. ::message::Error_level error_level() const;
  455. void set_error_level(::message::Error_level value);
  456. // @@protoc_insertion_point(class_scope:message.Error_manager)
  457. private:
  458. void set_has_error_code();
  459. void clear_has_error_code();
  460. void set_has_error_level();
  461. void clear_has_error_level();
  462. void set_has_error_description();
  463. void clear_has_error_description();
  464. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  465. ::google::protobuf::internal::HasBits<1> _has_bits_;
  466. mutable int _cached_size_;
  467. ::google::protobuf::internal::ArenaStringPtr error_description_;
  468. ::google::protobuf::int32 error_code_;
  469. int error_level_;
  470. friend struct ::protobuf_message_5fbase_2eproto::TableStruct;
  471. friend void ::protobuf_message_5fbase_2eproto::InitDefaultsError_managerImpl();
  472. };
  473. // -------------------------------------------------------------------
  474. class Locate_information : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Locate_information) */ {
  475. public:
  476. Locate_information();
  477. virtual ~Locate_information();
  478. Locate_information(const Locate_information& from);
  479. inline Locate_information& operator=(const Locate_information& from) {
  480. CopyFrom(from);
  481. return *this;
  482. }
  483. #if LANG_CXX11
  484. Locate_information(Locate_information&& from) noexcept
  485. : Locate_information() {
  486. *this = ::std::move(from);
  487. }
  488. inline Locate_information& operator=(Locate_information&& from) noexcept {
  489. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  490. if (this != &from) InternalSwap(&from);
  491. } else {
  492. CopyFrom(from);
  493. }
  494. return *this;
  495. }
  496. #endif
  497. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  498. return _internal_metadata_.unknown_fields();
  499. }
  500. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  501. return _internal_metadata_.mutable_unknown_fields();
  502. }
  503. static const ::google::protobuf::Descriptor* descriptor();
  504. static const Locate_information& default_instance();
  505. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  506. static inline const Locate_information* internal_default_instance() {
  507. return reinterpret_cast<const Locate_information*>(
  508. &_Locate_information_default_instance_);
  509. }
  510. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  511. 3;
  512. void Swap(Locate_information* other);
  513. friend void swap(Locate_information& a, Locate_information& b) {
  514. a.Swap(&b);
  515. }
  516. // implements Message ----------------------------------------------
  517. inline Locate_information* New() const PROTOBUF_FINAL { return New(NULL); }
  518. Locate_information* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  519. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  520. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  521. void CopyFrom(const Locate_information& from);
  522. void MergeFrom(const Locate_information& from);
  523. void Clear() PROTOBUF_FINAL;
  524. bool IsInitialized() const PROTOBUF_FINAL;
  525. size_t ByteSizeLong() const PROTOBUF_FINAL;
  526. bool MergePartialFromCodedStream(
  527. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  528. void SerializeWithCachedSizes(
  529. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  530. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  531. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  532. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  533. private:
  534. void SharedCtor();
  535. void SharedDtor();
  536. void SetCachedSize(int size) const PROTOBUF_FINAL;
  537. void InternalSwap(Locate_information* other);
  538. private:
  539. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  540. return NULL;
  541. }
  542. inline void* MaybeArenaPtr() const {
  543. return NULL;
  544. }
  545. public:
  546. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  547. // nested types ----------------------------------------------------
  548. // accessors -------------------------------------------------------
  549. // optional float locate_x = 1;
  550. bool has_locate_x() const;
  551. void clear_locate_x();
  552. static const int kLocateXFieldNumber = 1;
  553. float locate_x() const;
  554. void set_locate_x(float value);
  555. // optional float locate_y = 2;
  556. bool has_locate_y() const;
  557. void clear_locate_y();
  558. static const int kLocateYFieldNumber = 2;
  559. float locate_y() const;
  560. void set_locate_y(float value);
  561. // optional float locate_angle = 3;
  562. bool has_locate_angle() const;
  563. void clear_locate_angle();
  564. static const int kLocateAngleFieldNumber = 3;
  565. float locate_angle() const;
  566. void set_locate_angle(float value);
  567. // optional float locate_length = 4;
  568. bool has_locate_length() const;
  569. void clear_locate_length();
  570. static const int kLocateLengthFieldNumber = 4;
  571. float locate_length() const;
  572. void set_locate_length(float value);
  573. // optional float locate_width = 5;
  574. bool has_locate_width() const;
  575. void clear_locate_width();
  576. static const int kLocateWidthFieldNumber = 5;
  577. float locate_width() const;
  578. void set_locate_width(float value);
  579. // optional float locate_height = 6;
  580. bool has_locate_height() const;
  581. void clear_locate_height();
  582. static const int kLocateHeightFieldNumber = 6;
  583. float locate_height() const;
  584. void set_locate_height(float value);
  585. // optional float locate_wheel_base = 7;
  586. bool has_locate_wheel_base() const;
  587. void clear_locate_wheel_base();
  588. static const int kLocateWheelBaseFieldNumber = 7;
  589. float locate_wheel_base() const;
  590. void set_locate_wheel_base(float value);
  591. // optional float locate_wheel_width = 8;
  592. bool has_locate_wheel_width() const;
  593. void clear_locate_wheel_width();
  594. static const int kLocateWheelWidthFieldNumber = 8;
  595. float locate_wheel_width() const;
  596. void set_locate_wheel_width(float value);
  597. // optional bool locate_correct = 9;
  598. bool has_locate_correct() const;
  599. void clear_locate_correct();
  600. static const int kLocateCorrectFieldNumber = 9;
  601. bool locate_correct() const;
  602. void set_locate_correct(bool value);
  603. // @@protoc_insertion_point(class_scope:message.Locate_information)
  604. private:
  605. void set_has_locate_x();
  606. void clear_has_locate_x();
  607. void set_has_locate_y();
  608. void clear_has_locate_y();
  609. void set_has_locate_angle();
  610. void clear_has_locate_angle();
  611. void set_has_locate_length();
  612. void clear_has_locate_length();
  613. void set_has_locate_width();
  614. void clear_has_locate_width();
  615. void set_has_locate_height();
  616. void clear_has_locate_height();
  617. void set_has_locate_wheel_base();
  618. void clear_has_locate_wheel_base();
  619. void set_has_locate_wheel_width();
  620. void clear_has_locate_wheel_width();
  621. void set_has_locate_correct();
  622. void clear_has_locate_correct();
  623. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  624. ::google::protobuf::internal::HasBits<1> _has_bits_;
  625. mutable int _cached_size_;
  626. float locate_x_;
  627. float locate_y_;
  628. float locate_angle_;
  629. float locate_length_;
  630. float locate_width_;
  631. float locate_height_;
  632. float locate_wheel_base_;
  633. float locate_wheel_width_;
  634. bool locate_correct_;
  635. friend struct ::protobuf_message_5fbase_2eproto::TableStruct;
  636. friend void ::protobuf_message_5fbase_2eproto::InitDefaultsLocate_informationImpl();
  637. };
  638. // ===================================================================
  639. // ===================================================================
  640. #ifdef __GNUC__
  641. #pragma GCC diagnostic push
  642. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  643. #endif // __GNUC__
  644. // Base_info
  645. // required .message.Message_type msg_type = 1;
  646. inline bool Base_info::has_msg_type() const {
  647. return (_has_bits_[0] & 0x00000001u) != 0;
  648. }
  649. inline void Base_info::set_has_msg_type() {
  650. _has_bits_[0] |= 0x00000001u;
  651. }
  652. inline void Base_info::clear_has_msg_type() {
  653. _has_bits_[0] &= ~0x00000001u;
  654. }
  655. inline void Base_info::clear_msg_type() {
  656. msg_type_ = 0;
  657. clear_has_msg_type();
  658. }
  659. inline ::message::Message_type Base_info::msg_type() const {
  660. // @@protoc_insertion_point(field_get:message.Base_info.msg_type)
  661. return static_cast< ::message::Message_type >(msg_type_);
  662. }
  663. inline void Base_info::set_msg_type(::message::Message_type value) {
  664. assert(::message::Message_type_IsValid(value));
  665. set_has_msg_type();
  666. msg_type_ = value;
  667. // @@protoc_insertion_point(field_set:message.Base_info.msg_type)
  668. }
  669. // optional int32 timeout_ms = 2;
  670. inline bool Base_info::has_timeout_ms() const {
  671. return (_has_bits_[0] & 0x00000002u) != 0;
  672. }
  673. inline void Base_info::set_has_timeout_ms() {
  674. _has_bits_[0] |= 0x00000002u;
  675. }
  676. inline void Base_info::clear_has_timeout_ms() {
  677. _has_bits_[0] &= ~0x00000002u;
  678. }
  679. inline void Base_info::clear_timeout_ms() {
  680. timeout_ms_ = 0;
  681. clear_has_timeout_ms();
  682. }
  683. inline ::google::protobuf::int32 Base_info::timeout_ms() const {
  684. // @@protoc_insertion_point(field_get:message.Base_info.timeout_ms)
  685. return timeout_ms_;
  686. }
  687. inline void Base_info::set_timeout_ms(::google::protobuf::int32 value) {
  688. set_has_timeout_ms();
  689. timeout_ms_ = value;
  690. // @@protoc_insertion_point(field_set:message.Base_info.timeout_ms)
  691. }
  692. // required .message.Communicator sender = 3;
  693. inline bool Base_info::has_sender() const {
  694. return (_has_bits_[0] & 0x00000004u) != 0;
  695. }
  696. inline void Base_info::set_has_sender() {
  697. _has_bits_[0] |= 0x00000004u;
  698. }
  699. inline void Base_info::clear_has_sender() {
  700. _has_bits_[0] &= ~0x00000004u;
  701. }
  702. inline void Base_info::clear_sender() {
  703. sender_ = 0;
  704. clear_has_sender();
  705. }
  706. inline ::message::Communicator Base_info::sender() const {
  707. // @@protoc_insertion_point(field_get:message.Base_info.sender)
  708. return static_cast< ::message::Communicator >(sender_);
  709. }
  710. inline void Base_info::set_sender(::message::Communicator value) {
  711. assert(::message::Communicator_IsValid(value));
  712. set_has_sender();
  713. sender_ = value;
  714. // @@protoc_insertion_point(field_set:message.Base_info.sender)
  715. }
  716. // required .message.Communicator receiver = 4;
  717. inline bool Base_info::has_receiver() const {
  718. return (_has_bits_[0] & 0x00000008u) != 0;
  719. }
  720. inline void Base_info::set_has_receiver() {
  721. _has_bits_[0] |= 0x00000008u;
  722. }
  723. inline void Base_info::clear_has_receiver() {
  724. _has_bits_[0] &= ~0x00000008u;
  725. }
  726. inline void Base_info::clear_receiver() {
  727. receiver_ = 0;
  728. clear_has_receiver();
  729. }
  730. inline ::message::Communicator Base_info::receiver() const {
  731. // @@protoc_insertion_point(field_get:message.Base_info.receiver)
  732. return static_cast< ::message::Communicator >(receiver_);
  733. }
  734. inline void Base_info::set_receiver(::message::Communicator value) {
  735. assert(::message::Communicator_IsValid(value));
  736. set_has_receiver();
  737. receiver_ = value;
  738. // @@protoc_insertion_point(field_set:message.Base_info.receiver)
  739. }
  740. // -------------------------------------------------------------------
  741. // Base_msg
  742. // required .message.Base_info base_info = 1;
  743. inline bool Base_msg::has_base_info() const {
  744. return (_has_bits_[0] & 0x00000001u) != 0;
  745. }
  746. inline void Base_msg::set_has_base_info() {
  747. _has_bits_[0] |= 0x00000001u;
  748. }
  749. inline void Base_msg::clear_has_base_info() {
  750. _has_bits_[0] &= ~0x00000001u;
  751. }
  752. inline void Base_msg::clear_base_info() {
  753. if (base_info_ != NULL) base_info_->Clear();
  754. clear_has_base_info();
  755. }
  756. inline const ::message::Base_info& Base_msg::base_info() const {
  757. const ::message::Base_info* p = base_info_;
  758. // @@protoc_insertion_point(field_get:message.Base_msg.base_info)
  759. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  760. &::message::_Base_info_default_instance_);
  761. }
  762. inline ::message::Base_info* Base_msg::release_base_info() {
  763. // @@protoc_insertion_point(field_release:message.Base_msg.base_info)
  764. clear_has_base_info();
  765. ::message::Base_info* temp = base_info_;
  766. base_info_ = NULL;
  767. return temp;
  768. }
  769. inline ::message::Base_info* Base_msg::mutable_base_info() {
  770. set_has_base_info();
  771. if (base_info_ == NULL) {
  772. base_info_ = new ::message::Base_info;
  773. }
  774. // @@protoc_insertion_point(field_mutable:message.Base_msg.base_info)
  775. return base_info_;
  776. }
  777. inline void Base_msg::set_allocated_base_info(::message::Base_info* base_info) {
  778. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  779. if (message_arena == NULL) {
  780. delete base_info_;
  781. }
  782. if (base_info) {
  783. ::google::protobuf::Arena* submessage_arena = NULL;
  784. if (message_arena != submessage_arena) {
  785. base_info = ::google::protobuf::internal::GetOwnedMessage(
  786. message_arena, base_info, submessage_arena);
  787. }
  788. set_has_base_info();
  789. } else {
  790. clear_has_base_info();
  791. }
  792. base_info_ = base_info;
  793. // @@protoc_insertion_point(field_set_allocated:message.Base_msg.base_info)
  794. }
  795. // -------------------------------------------------------------------
  796. // Error_manager
  797. // required int32 error_code = 1;
  798. inline bool Error_manager::has_error_code() const {
  799. return (_has_bits_[0] & 0x00000002u) != 0;
  800. }
  801. inline void Error_manager::set_has_error_code() {
  802. _has_bits_[0] |= 0x00000002u;
  803. }
  804. inline void Error_manager::clear_has_error_code() {
  805. _has_bits_[0] &= ~0x00000002u;
  806. }
  807. inline void Error_manager::clear_error_code() {
  808. error_code_ = 0;
  809. clear_has_error_code();
  810. }
  811. inline ::google::protobuf::int32 Error_manager::error_code() const {
  812. // @@protoc_insertion_point(field_get:message.Error_manager.error_code)
  813. return error_code_;
  814. }
  815. inline void Error_manager::set_error_code(::google::protobuf::int32 value) {
  816. set_has_error_code();
  817. error_code_ = value;
  818. // @@protoc_insertion_point(field_set:message.Error_manager.error_code)
  819. }
  820. // optional .message.Error_level error_level = 2;
  821. inline bool Error_manager::has_error_level() const {
  822. return (_has_bits_[0] & 0x00000004u) != 0;
  823. }
  824. inline void Error_manager::set_has_error_level() {
  825. _has_bits_[0] |= 0x00000004u;
  826. }
  827. inline void Error_manager::clear_has_error_level() {
  828. _has_bits_[0] &= ~0x00000004u;
  829. }
  830. inline void Error_manager::clear_error_level() {
  831. error_level_ = 0;
  832. clear_has_error_level();
  833. }
  834. inline ::message::Error_level Error_manager::error_level() const {
  835. // @@protoc_insertion_point(field_get:message.Error_manager.error_level)
  836. return static_cast< ::message::Error_level >(error_level_);
  837. }
  838. inline void Error_manager::set_error_level(::message::Error_level value) {
  839. assert(::message::Error_level_IsValid(value));
  840. set_has_error_level();
  841. error_level_ = value;
  842. // @@protoc_insertion_point(field_set:message.Error_manager.error_level)
  843. }
  844. // optional string error_description = 3;
  845. inline bool Error_manager::has_error_description() const {
  846. return (_has_bits_[0] & 0x00000001u) != 0;
  847. }
  848. inline void Error_manager::set_has_error_description() {
  849. _has_bits_[0] |= 0x00000001u;
  850. }
  851. inline void Error_manager::clear_has_error_description() {
  852. _has_bits_[0] &= ~0x00000001u;
  853. }
  854. inline void Error_manager::clear_error_description() {
  855. error_description_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  856. clear_has_error_description();
  857. }
  858. inline const ::std::string& Error_manager::error_description() const {
  859. // @@protoc_insertion_point(field_get:message.Error_manager.error_description)
  860. return error_description_.GetNoArena();
  861. }
  862. inline void Error_manager::set_error_description(const ::std::string& value) {
  863. set_has_error_description();
  864. error_description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  865. // @@protoc_insertion_point(field_set:message.Error_manager.error_description)
  866. }
  867. #if LANG_CXX11
  868. inline void Error_manager::set_error_description(::std::string&& value) {
  869. set_has_error_description();
  870. error_description_.SetNoArena(
  871. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  872. // @@protoc_insertion_point(field_set_rvalue:message.Error_manager.error_description)
  873. }
  874. #endif
  875. inline void Error_manager::set_error_description(const char* value) {
  876. GOOGLE_DCHECK(value != NULL);
  877. set_has_error_description();
  878. error_description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  879. // @@protoc_insertion_point(field_set_char:message.Error_manager.error_description)
  880. }
  881. inline void Error_manager::set_error_description(const char* value, size_t size) {
  882. set_has_error_description();
  883. error_description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  884. ::std::string(reinterpret_cast<const char*>(value), size));
  885. // @@protoc_insertion_point(field_set_pointer:message.Error_manager.error_description)
  886. }
  887. inline ::std::string* Error_manager::mutable_error_description() {
  888. set_has_error_description();
  889. // @@protoc_insertion_point(field_mutable:message.Error_manager.error_description)
  890. return error_description_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  891. }
  892. inline ::std::string* Error_manager::release_error_description() {
  893. // @@protoc_insertion_point(field_release:message.Error_manager.error_description)
  894. clear_has_error_description();
  895. return error_description_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  896. }
  897. inline void Error_manager::set_allocated_error_description(::std::string* error_description) {
  898. if (error_description != NULL) {
  899. set_has_error_description();
  900. } else {
  901. clear_has_error_description();
  902. }
  903. error_description_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), error_description);
  904. // @@protoc_insertion_point(field_set_allocated:message.Error_manager.error_description)
  905. }
  906. // -------------------------------------------------------------------
  907. // Locate_information
  908. // optional float locate_x = 1;
  909. inline bool Locate_information::has_locate_x() const {
  910. return (_has_bits_[0] & 0x00000001u) != 0;
  911. }
  912. inline void Locate_information::set_has_locate_x() {
  913. _has_bits_[0] |= 0x00000001u;
  914. }
  915. inline void Locate_information::clear_has_locate_x() {
  916. _has_bits_[0] &= ~0x00000001u;
  917. }
  918. inline void Locate_information::clear_locate_x() {
  919. locate_x_ = 0;
  920. clear_has_locate_x();
  921. }
  922. inline float Locate_information::locate_x() const {
  923. // @@protoc_insertion_point(field_get:message.Locate_information.locate_x)
  924. return locate_x_;
  925. }
  926. inline void Locate_information::set_locate_x(float value) {
  927. set_has_locate_x();
  928. locate_x_ = value;
  929. // @@protoc_insertion_point(field_set:message.Locate_information.locate_x)
  930. }
  931. // optional float locate_y = 2;
  932. inline bool Locate_information::has_locate_y() const {
  933. return (_has_bits_[0] & 0x00000002u) != 0;
  934. }
  935. inline void Locate_information::set_has_locate_y() {
  936. _has_bits_[0] |= 0x00000002u;
  937. }
  938. inline void Locate_information::clear_has_locate_y() {
  939. _has_bits_[0] &= ~0x00000002u;
  940. }
  941. inline void Locate_information::clear_locate_y() {
  942. locate_y_ = 0;
  943. clear_has_locate_y();
  944. }
  945. inline float Locate_information::locate_y() const {
  946. // @@protoc_insertion_point(field_get:message.Locate_information.locate_y)
  947. return locate_y_;
  948. }
  949. inline void Locate_information::set_locate_y(float value) {
  950. set_has_locate_y();
  951. locate_y_ = value;
  952. // @@protoc_insertion_point(field_set:message.Locate_information.locate_y)
  953. }
  954. // optional float locate_angle = 3;
  955. inline bool Locate_information::has_locate_angle() const {
  956. return (_has_bits_[0] & 0x00000004u) != 0;
  957. }
  958. inline void Locate_information::set_has_locate_angle() {
  959. _has_bits_[0] |= 0x00000004u;
  960. }
  961. inline void Locate_information::clear_has_locate_angle() {
  962. _has_bits_[0] &= ~0x00000004u;
  963. }
  964. inline void Locate_information::clear_locate_angle() {
  965. locate_angle_ = 0;
  966. clear_has_locate_angle();
  967. }
  968. inline float Locate_information::locate_angle() const {
  969. // @@protoc_insertion_point(field_get:message.Locate_information.locate_angle)
  970. return locate_angle_;
  971. }
  972. inline void Locate_information::set_locate_angle(float value) {
  973. set_has_locate_angle();
  974. locate_angle_ = value;
  975. // @@protoc_insertion_point(field_set:message.Locate_information.locate_angle)
  976. }
  977. // optional float locate_length = 4;
  978. inline bool Locate_information::has_locate_length() const {
  979. return (_has_bits_[0] & 0x00000008u) != 0;
  980. }
  981. inline void Locate_information::set_has_locate_length() {
  982. _has_bits_[0] |= 0x00000008u;
  983. }
  984. inline void Locate_information::clear_has_locate_length() {
  985. _has_bits_[0] &= ~0x00000008u;
  986. }
  987. inline void Locate_information::clear_locate_length() {
  988. locate_length_ = 0;
  989. clear_has_locate_length();
  990. }
  991. inline float Locate_information::locate_length() const {
  992. // @@protoc_insertion_point(field_get:message.Locate_information.locate_length)
  993. return locate_length_;
  994. }
  995. inline void Locate_information::set_locate_length(float value) {
  996. set_has_locate_length();
  997. locate_length_ = value;
  998. // @@protoc_insertion_point(field_set:message.Locate_information.locate_length)
  999. }
  1000. // optional float locate_width = 5;
  1001. inline bool Locate_information::has_locate_width() const {
  1002. return (_has_bits_[0] & 0x00000010u) != 0;
  1003. }
  1004. inline void Locate_information::set_has_locate_width() {
  1005. _has_bits_[0] |= 0x00000010u;
  1006. }
  1007. inline void Locate_information::clear_has_locate_width() {
  1008. _has_bits_[0] &= ~0x00000010u;
  1009. }
  1010. inline void Locate_information::clear_locate_width() {
  1011. locate_width_ = 0;
  1012. clear_has_locate_width();
  1013. }
  1014. inline float Locate_information::locate_width() const {
  1015. // @@protoc_insertion_point(field_get:message.Locate_information.locate_width)
  1016. return locate_width_;
  1017. }
  1018. inline void Locate_information::set_locate_width(float value) {
  1019. set_has_locate_width();
  1020. locate_width_ = value;
  1021. // @@protoc_insertion_point(field_set:message.Locate_information.locate_width)
  1022. }
  1023. // optional float locate_height = 6;
  1024. inline bool Locate_information::has_locate_height() const {
  1025. return (_has_bits_[0] & 0x00000020u) != 0;
  1026. }
  1027. inline void Locate_information::set_has_locate_height() {
  1028. _has_bits_[0] |= 0x00000020u;
  1029. }
  1030. inline void Locate_information::clear_has_locate_height() {
  1031. _has_bits_[0] &= ~0x00000020u;
  1032. }
  1033. inline void Locate_information::clear_locate_height() {
  1034. locate_height_ = 0;
  1035. clear_has_locate_height();
  1036. }
  1037. inline float Locate_information::locate_height() const {
  1038. // @@protoc_insertion_point(field_get:message.Locate_information.locate_height)
  1039. return locate_height_;
  1040. }
  1041. inline void Locate_information::set_locate_height(float value) {
  1042. set_has_locate_height();
  1043. locate_height_ = value;
  1044. // @@protoc_insertion_point(field_set:message.Locate_information.locate_height)
  1045. }
  1046. // optional float locate_wheel_base = 7;
  1047. inline bool Locate_information::has_locate_wheel_base() const {
  1048. return (_has_bits_[0] & 0x00000040u) != 0;
  1049. }
  1050. inline void Locate_information::set_has_locate_wheel_base() {
  1051. _has_bits_[0] |= 0x00000040u;
  1052. }
  1053. inline void Locate_information::clear_has_locate_wheel_base() {
  1054. _has_bits_[0] &= ~0x00000040u;
  1055. }
  1056. inline void Locate_information::clear_locate_wheel_base() {
  1057. locate_wheel_base_ = 0;
  1058. clear_has_locate_wheel_base();
  1059. }
  1060. inline float Locate_information::locate_wheel_base() const {
  1061. // @@protoc_insertion_point(field_get:message.Locate_information.locate_wheel_base)
  1062. return locate_wheel_base_;
  1063. }
  1064. inline void Locate_information::set_locate_wheel_base(float value) {
  1065. set_has_locate_wheel_base();
  1066. locate_wheel_base_ = value;
  1067. // @@protoc_insertion_point(field_set:message.Locate_information.locate_wheel_base)
  1068. }
  1069. // optional float locate_wheel_width = 8;
  1070. inline bool Locate_information::has_locate_wheel_width() const {
  1071. return (_has_bits_[0] & 0x00000080u) != 0;
  1072. }
  1073. inline void Locate_information::set_has_locate_wheel_width() {
  1074. _has_bits_[0] |= 0x00000080u;
  1075. }
  1076. inline void Locate_information::clear_has_locate_wheel_width() {
  1077. _has_bits_[0] &= ~0x00000080u;
  1078. }
  1079. inline void Locate_information::clear_locate_wheel_width() {
  1080. locate_wheel_width_ = 0;
  1081. clear_has_locate_wheel_width();
  1082. }
  1083. inline float Locate_information::locate_wheel_width() const {
  1084. // @@protoc_insertion_point(field_get:message.Locate_information.locate_wheel_width)
  1085. return locate_wheel_width_;
  1086. }
  1087. inline void Locate_information::set_locate_wheel_width(float value) {
  1088. set_has_locate_wheel_width();
  1089. locate_wheel_width_ = value;
  1090. // @@protoc_insertion_point(field_set:message.Locate_information.locate_wheel_width)
  1091. }
  1092. // optional bool locate_correct = 9;
  1093. inline bool Locate_information::has_locate_correct() const {
  1094. return (_has_bits_[0] & 0x00000100u) != 0;
  1095. }
  1096. inline void Locate_information::set_has_locate_correct() {
  1097. _has_bits_[0] |= 0x00000100u;
  1098. }
  1099. inline void Locate_information::clear_has_locate_correct() {
  1100. _has_bits_[0] &= ~0x00000100u;
  1101. }
  1102. inline void Locate_information::clear_locate_correct() {
  1103. locate_correct_ = false;
  1104. clear_has_locate_correct();
  1105. }
  1106. inline bool Locate_information::locate_correct() const {
  1107. // @@protoc_insertion_point(field_get:message.Locate_information.locate_correct)
  1108. return locate_correct_;
  1109. }
  1110. inline void Locate_information::set_locate_correct(bool value) {
  1111. set_has_locate_correct();
  1112. locate_correct_ = value;
  1113. // @@protoc_insertion_point(field_set:message.Locate_information.locate_correct)
  1114. }
  1115. #ifdef __GNUC__
  1116. #pragma GCC diagnostic pop
  1117. #endif // __GNUC__
  1118. // -------------------------------------------------------------------
  1119. // -------------------------------------------------------------------
  1120. // -------------------------------------------------------------------
  1121. // @@protoc_insertion_point(namespace_scope)
  1122. } // namespace message
  1123. namespace google {
  1124. namespace protobuf {
  1125. template <> struct is_proto_enum< ::message::Message_type> : ::google::protobuf::internal::true_type {};
  1126. template <>
  1127. inline const EnumDescriptor* GetEnumDescriptor< ::message::Message_type>() {
  1128. return ::message::Message_type_descriptor();
  1129. }
  1130. template <> struct is_proto_enum< ::message::Communicator> : ::google::protobuf::internal::true_type {};
  1131. template <>
  1132. inline const EnumDescriptor* GetEnumDescriptor< ::message::Communicator>() {
  1133. return ::message::Communicator_descriptor();
  1134. }
  1135. template <> struct is_proto_enum< ::message::Error_level> : ::google::protobuf::internal::true_type {};
  1136. template <>
  1137. inline const EnumDescriptor* GetEnumDescriptor< ::message::Error_level>() {
  1138. return ::message::Error_level_descriptor();
  1139. }
  1140. } // namespace protobuf
  1141. } // namespace google
  1142. // @@protoc_insertion_point(global_scope)
  1143. #endif // PROTOBUF_message_5fbase_2eproto__INCLUDED