message_base.pb.h 43 KB

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