message_base.pb.h 43 KB

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