message_base.pb.h 43 KB

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