message_base.pb.h 43 KB

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