terminor_msg.pb.h 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: terminor_msg.proto
  3. #ifndef PROTOBUF_terminor_5fmsg_2eproto__INCLUDED
  4. #define PROTOBUF_terminor_5fmsg_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/unknown_field_set.h>
  27. // @@protoc_insertion_point(includes)
  28. namespace protobuf_terminor_5fmsg_2eproto {
  29. // Internal implementation detail -- do not use these members.
  30. struct TableStruct {
  31. static const ::google::protobuf::internal::ParseTableField entries[];
  32. static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
  33. static const ::google::protobuf::internal::ParseTable schema[2];
  34. static const ::google::protobuf::internal::FieldMetadata field_metadata[];
  35. static const ::google::protobuf::internal::SerializationTable serialization_table[];
  36. static const ::google::protobuf::uint32 offsets[];
  37. };
  38. void AddDescriptors();
  39. void InitDefaultswj_locate_informationImpl();
  40. void InitDefaultswj_locate_information();
  41. void InitDefaultsTerminal_messageImpl();
  42. void InitDefaultsTerminal_message();
  43. inline void InitDefaults() {
  44. InitDefaultswj_locate_information();
  45. InitDefaultsTerminal_message();
  46. }
  47. } // namespace protobuf_terminor_5fmsg_2eproto
  48. namespace Terminal {
  49. class Terminal_message;
  50. class Terminal_messageDefaultTypeInternal;
  51. extern Terminal_messageDefaultTypeInternal _Terminal_message_default_instance_;
  52. class wj_locate_information;
  53. class wj_locate_informationDefaultTypeInternal;
  54. extern wj_locate_informationDefaultTypeInternal _wj_locate_information_default_instance_;
  55. } // namespace Terminal
  56. namespace Terminal {
  57. // ===================================================================
  58. class wj_locate_information : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Terminal.wj_locate_information) */ {
  59. public:
  60. wj_locate_information();
  61. virtual ~wj_locate_information();
  62. wj_locate_information(const wj_locate_information& from);
  63. inline wj_locate_information& operator=(const wj_locate_information& from) {
  64. CopyFrom(from);
  65. return *this;
  66. }
  67. #if LANG_CXX11
  68. wj_locate_information(wj_locate_information&& from) noexcept
  69. : wj_locate_information() {
  70. *this = ::std::move(from);
  71. }
  72. inline wj_locate_information& operator=(wj_locate_information&& from) noexcept {
  73. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  74. if (this != &from) InternalSwap(&from);
  75. } else {
  76. CopyFrom(from);
  77. }
  78. return *this;
  79. }
  80. #endif
  81. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  82. return _internal_metadata_.unknown_fields();
  83. }
  84. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  85. return _internal_metadata_.mutable_unknown_fields();
  86. }
  87. static const ::google::protobuf::Descriptor* descriptor();
  88. static const wj_locate_information& default_instance();
  89. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  90. static inline const wj_locate_information* internal_default_instance() {
  91. return reinterpret_cast<const wj_locate_information*>(
  92. &_wj_locate_information_default_instance_);
  93. }
  94. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  95. 0;
  96. void Swap(wj_locate_information* other);
  97. friend void swap(wj_locate_information& a, wj_locate_information& b) {
  98. a.Swap(&b);
  99. }
  100. // implements Message ----------------------------------------------
  101. inline wj_locate_information* New() const PROTOBUF_FINAL { return New(NULL); }
  102. wj_locate_information* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  103. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  104. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  105. void CopyFrom(const wj_locate_information& from);
  106. void MergeFrom(const wj_locate_information& from);
  107. void Clear() PROTOBUF_FINAL;
  108. bool IsInitialized() const PROTOBUF_FINAL;
  109. size_t ByteSizeLong() const PROTOBUF_FINAL;
  110. bool MergePartialFromCodedStream(
  111. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  112. void SerializeWithCachedSizes(
  113. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  114. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  115. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  116. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  117. private:
  118. void SharedCtor();
  119. void SharedDtor();
  120. void SetCachedSize(int size) const PROTOBUF_FINAL;
  121. void InternalSwap(wj_locate_information* other);
  122. private:
  123. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  124. return NULL;
  125. }
  126. inline void* MaybeArenaPtr() const {
  127. return NULL;
  128. }
  129. public:
  130. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  131. // nested types ----------------------------------------------------
  132. // accessors -------------------------------------------------------
  133. // required string time = 1 [default = ""];
  134. bool has_time() const;
  135. void clear_time();
  136. static const int kTimeFieldNumber = 1;
  137. const ::std::string& time() const;
  138. void set_time(const ::std::string& value);
  139. #if LANG_CXX11
  140. void set_time(::std::string&& value);
  141. #endif
  142. void set_time(const char* value);
  143. void set_time(const char* value, size_t size);
  144. ::std::string* mutable_time();
  145. ::std::string* release_time();
  146. void set_allocated_time(::std::string* time);
  147. // optional string error = 12 [default = ""];
  148. bool has_error() const;
  149. void clear_error();
  150. static const int kErrorFieldNumber = 12;
  151. const ::std::string& error() const;
  152. void set_error(const ::std::string& value);
  153. #if LANG_CXX11
  154. void set_error(::std::string&& value);
  155. #endif
  156. void set_error(const char* value);
  157. void set_error(const char* value, size_t size);
  158. ::std::string* mutable_error();
  159. ::std::string* release_error();
  160. void set_allocated_error(::std::string* error);
  161. // required bool correctness = 2;
  162. bool has_correctness() const;
  163. void clear_correctness();
  164. static const int kCorrectnessFieldNumber = 2;
  165. bool correctness() const;
  166. void set_correctness(bool value);
  167. // optional int32 park_space_id = 3;
  168. bool has_park_space_id() const;
  169. void clear_park_space_id();
  170. static const int kParkSpaceIdFieldNumber = 3;
  171. ::google::protobuf::int32 park_space_id() const;
  172. void set_park_space_id(::google::protobuf::int32 value);
  173. // optional double x = 5;
  174. bool has_x() const;
  175. void clear_x();
  176. static const int kXFieldNumber = 5;
  177. double x() const;
  178. void set_x(double value);
  179. // optional double y = 6;
  180. bool has_y() const;
  181. void clear_y();
  182. static const int kYFieldNumber = 6;
  183. double y() const;
  184. void set_y(double value);
  185. // optional double c = 7;
  186. bool has_c() const;
  187. void clear_c();
  188. static const int kCFieldNumber = 7;
  189. double c() const;
  190. void set_c(double value);
  191. // optional double wheel_base = 8;
  192. bool has_wheel_base() const;
  193. void clear_wheel_base();
  194. static const int kWheelBaseFieldNumber = 8;
  195. double wheel_base() const;
  196. void set_wheel_base(double value);
  197. // optional double length = 9;
  198. bool has_length() const;
  199. void clear_length();
  200. static const int kLengthFieldNumber = 9;
  201. double length() const;
  202. void set_length(double value);
  203. // optional double width = 10;
  204. bool has_width() const;
  205. void clear_width();
  206. static const int kWidthFieldNumber = 10;
  207. double width() const;
  208. void set_width(double value);
  209. // optional double height = 11;
  210. bool has_height() const;
  211. void clear_height();
  212. static const int kHeightFieldNumber = 11;
  213. double height() const;
  214. void set_height(double value);
  215. // optional int32 laser_ids = 4;
  216. bool has_laser_ids() const;
  217. void clear_laser_ids();
  218. static const int kLaserIdsFieldNumber = 4;
  219. ::google::protobuf::int32 laser_ids() const;
  220. void set_laser_ids(::google::protobuf::int32 value);
  221. // @@protoc_insertion_point(class_scope:Terminal.wj_locate_information)
  222. private:
  223. void set_has_time();
  224. void clear_has_time();
  225. void set_has_correctness();
  226. void clear_has_correctness();
  227. void set_has_park_space_id();
  228. void clear_has_park_space_id();
  229. void set_has_laser_ids();
  230. void clear_has_laser_ids();
  231. void set_has_x();
  232. void clear_has_x();
  233. void set_has_y();
  234. void clear_has_y();
  235. void set_has_c();
  236. void clear_has_c();
  237. void set_has_wheel_base();
  238. void clear_has_wheel_base();
  239. void set_has_length();
  240. void clear_has_length();
  241. void set_has_width();
  242. void clear_has_width();
  243. void set_has_height();
  244. void clear_has_height();
  245. void set_has_error();
  246. void clear_has_error();
  247. // helper for ByteSizeLong()
  248. size_t RequiredFieldsByteSizeFallback() const;
  249. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  250. ::google::protobuf::internal::HasBits<1> _has_bits_;
  251. mutable int _cached_size_;
  252. ::google::protobuf::internal::ArenaStringPtr time_;
  253. ::google::protobuf::internal::ArenaStringPtr error_;
  254. bool correctness_;
  255. ::google::protobuf::int32 park_space_id_;
  256. double x_;
  257. double y_;
  258. double c_;
  259. double wheel_base_;
  260. double length_;
  261. double width_;
  262. double height_;
  263. ::google::protobuf::int32 laser_ids_;
  264. friend struct ::protobuf_terminor_5fmsg_2eproto::TableStruct;
  265. friend void ::protobuf_terminor_5fmsg_2eproto::InitDefaultswj_locate_informationImpl();
  266. };
  267. // -------------------------------------------------------------------
  268. class Terminal_message : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Terminal.Terminal_message) */ {
  269. public:
  270. Terminal_message();
  271. virtual ~Terminal_message();
  272. Terminal_message(const Terminal_message& from);
  273. inline Terminal_message& operator=(const Terminal_message& from) {
  274. CopyFrom(from);
  275. return *this;
  276. }
  277. #if LANG_CXX11
  278. Terminal_message(Terminal_message&& from) noexcept
  279. : Terminal_message() {
  280. *this = ::std::move(from);
  281. }
  282. inline Terminal_message& operator=(Terminal_message&& from) noexcept {
  283. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  284. if (this != &from) InternalSwap(&from);
  285. } else {
  286. CopyFrom(from);
  287. }
  288. return *this;
  289. }
  290. #endif
  291. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  292. return _internal_metadata_.unknown_fields();
  293. }
  294. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  295. return _internal_metadata_.mutable_unknown_fields();
  296. }
  297. static const ::google::protobuf::Descriptor* descriptor();
  298. static const Terminal_message& default_instance();
  299. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  300. static inline const Terminal_message* internal_default_instance() {
  301. return reinterpret_cast<const Terminal_message*>(
  302. &_Terminal_message_default_instance_);
  303. }
  304. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  305. 1;
  306. void Swap(Terminal_message* other);
  307. friend void swap(Terminal_message& a, Terminal_message& b) {
  308. a.Swap(&b);
  309. }
  310. // implements Message ----------------------------------------------
  311. inline Terminal_message* New() const PROTOBUF_FINAL { return New(NULL); }
  312. Terminal_message* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  313. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  314. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  315. void CopyFrom(const Terminal_message& from);
  316. void MergeFrom(const Terminal_message& from);
  317. void Clear() PROTOBUF_FINAL;
  318. bool IsInitialized() const PROTOBUF_FINAL;
  319. size_t ByteSizeLong() const PROTOBUF_FINAL;
  320. bool MergePartialFromCodedStream(
  321. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  322. void SerializeWithCachedSizes(
  323. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  324. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  325. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  326. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  327. private:
  328. void SharedCtor();
  329. void SharedDtor();
  330. void SetCachedSize(int size) const PROTOBUF_FINAL;
  331. void InternalSwap(Terminal_message* other);
  332. private:
  333. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  334. return NULL;
  335. }
  336. inline void* MaybeArenaPtr() const {
  337. return NULL;
  338. }
  339. public:
  340. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  341. // nested types ----------------------------------------------------
  342. // accessors -------------------------------------------------------
  343. // @@protoc_insertion_point(class_scope:Terminal.Terminal_message)
  344. private:
  345. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  346. ::google::protobuf::internal::HasBits<1> _has_bits_;
  347. mutable int _cached_size_;
  348. friend struct ::protobuf_terminor_5fmsg_2eproto::TableStruct;
  349. friend void ::protobuf_terminor_5fmsg_2eproto::InitDefaultsTerminal_messageImpl();
  350. };
  351. // ===================================================================
  352. // ===================================================================
  353. #ifdef __GNUC__
  354. #pragma GCC diagnostic push
  355. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  356. #endif // __GNUC__
  357. // wj_locate_information
  358. // required string time = 1 [default = ""];
  359. inline bool wj_locate_information::has_time() const {
  360. return (_has_bits_[0] & 0x00000001u) != 0;
  361. }
  362. inline void wj_locate_information::set_has_time() {
  363. _has_bits_[0] |= 0x00000001u;
  364. }
  365. inline void wj_locate_information::clear_has_time() {
  366. _has_bits_[0] &= ~0x00000001u;
  367. }
  368. inline void wj_locate_information::clear_time() {
  369. time_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  370. clear_has_time();
  371. }
  372. inline const ::std::string& wj_locate_information::time() const {
  373. // @@protoc_insertion_point(field_get:Terminal.wj_locate_information.time)
  374. return time_.GetNoArena();
  375. }
  376. inline void wj_locate_information::set_time(const ::std::string& value) {
  377. set_has_time();
  378. time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  379. // @@protoc_insertion_point(field_set:Terminal.wj_locate_information.time)
  380. }
  381. #if LANG_CXX11
  382. inline void wj_locate_information::set_time(::std::string&& value) {
  383. set_has_time();
  384. time_.SetNoArena(
  385. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  386. // @@protoc_insertion_point(field_set_rvalue:Terminal.wj_locate_information.time)
  387. }
  388. #endif
  389. inline void wj_locate_information::set_time(const char* value) {
  390. GOOGLE_DCHECK(value != NULL);
  391. set_has_time();
  392. time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  393. // @@protoc_insertion_point(field_set_char:Terminal.wj_locate_information.time)
  394. }
  395. inline void wj_locate_information::set_time(const char* value, size_t size) {
  396. set_has_time();
  397. time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  398. ::std::string(reinterpret_cast<const char*>(value), size));
  399. // @@protoc_insertion_point(field_set_pointer:Terminal.wj_locate_information.time)
  400. }
  401. inline ::std::string* wj_locate_information::mutable_time() {
  402. set_has_time();
  403. // @@protoc_insertion_point(field_mutable:Terminal.wj_locate_information.time)
  404. return time_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  405. }
  406. inline ::std::string* wj_locate_information::release_time() {
  407. // @@protoc_insertion_point(field_release:Terminal.wj_locate_information.time)
  408. clear_has_time();
  409. return time_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  410. }
  411. inline void wj_locate_information::set_allocated_time(::std::string* time) {
  412. if (time != NULL) {
  413. set_has_time();
  414. } else {
  415. clear_has_time();
  416. }
  417. time_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), time);
  418. // @@protoc_insertion_point(field_set_allocated:Terminal.wj_locate_information.time)
  419. }
  420. // required bool correctness = 2;
  421. inline bool wj_locate_information::has_correctness() const {
  422. return (_has_bits_[0] & 0x00000004u) != 0;
  423. }
  424. inline void wj_locate_information::set_has_correctness() {
  425. _has_bits_[0] |= 0x00000004u;
  426. }
  427. inline void wj_locate_information::clear_has_correctness() {
  428. _has_bits_[0] &= ~0x00000004u;
  429. }
  430. inline void wj_locate_information::clear_correctness() {
  431. correctness_ = false;
  432. clear_has_correctness();
  433. }
  434. inline bool wj_locate_information::correctness() const {
  435. // @@protoc_insertion_point(field_get:Terminal.wj_locate_information.correctness)
  436. return correctness_;
  437. }
  438. inline void wj_locate_information::set_correctness(bool value) {
  439. set_has_correctness();
  440. correctness_ = value;
  441. // @@protoc_insertion_point(field_set:Terminal.wj_locate_information.correctness)
  442. }
  443. // optional int32 park_space_id = 3;
  444. inline bool wj_locate_information::has_park_space_id() const {
  445. return (_has_bits_[0] & 0x00000008u) != 0;
  446. }
  447. inline void wj_locate_information::set_has_park_space_id() {
  448. _has_bits_[0] |= 0x00000008u;
  449. }
  450. inline void wj_locate_information::clear_has_park_space_id() {
  451. _has_bits_[0] &= ~0x00000008u;
  452. }
  453. inline void wj_locate_information::clear_park_space_id() {
  454. park_space_id_ = 0;
  455. clear_has_park_space_id();
  456. }
  457. inline ::google::protobuf::int32 wj_locate_information::park_space_id() const {
  458. // @@protoc_insertion_point(field_get:Terminal.wj_locate_information.park_space_id)
  459. return park_space_id_;
  460. }
  461. inline void wj_locate_information::set_park_space_id(::google::protobuf::int32 value) {
  462. set_has_park_space_id();
  463. park_space_id_ = value;
  464. // @@protoc_insertion_point(field_set:Terminal.wj_locate_information.park_space_id)
  465. }
  466. // optional int32 laser_ids = 4;
  467. inline bool wj_locate_information::has_laser_ids() const {
  468. return (_has_bits_[0] & 0x00000800u) != 0;
  469. }
  470. inline void wj_locate_information::set_has_laser_ids() {
  471. _has_bits_[0] |= 0x00000800u;
  472. }
  473. inline void wj_locate_information::clear_has_laser_ids() {
  474. _has_bits_[0] &= ~0x00000800u;
  475. }
  476. inline void wj_locate_information::clear_laser_ids() {
  477. laser_ids_ = 0;
  478. clear_has_laser_ids();
  479. }
  480. inline ::google::protobuf::int32 wj_locate_information::laser_ids() const {
  481. // @@protoc_insertion_point(field_get:Terminal.wj_locate_information.laser_ids)
  482. return laser_ids_;
  483. }
  484. inline void wj_locate_information::set_laser_ids(::google::protobuf::int32 value) {
  485. set_has_laser_ids();
  486. laser_ids_ = value;
  487. // @@protoc_insertion_point(field_set:Terminal.wj_locate_information.laser_ids)
  488. }
  489. // optional double x = 5;
  490. inline bool wj_locate_information::has_x() const {
  491. return (_has_bits_[0] & 0x00000010u) != 0;
  492. }
  493. inline void wj_locate_information::set_has_x() {
  494. _has_bits_[0] |= 0x00000010u;
  495. }
  496. inline void wj_locate_information::clear_has_x() {
  497. _has_bits_[0] &= ~0x00000010u;
  498. }
  499. inline void wj_locate_information::clear_x() {
  500. x_ = 0;
  501. clear_has_x();
  502. }
  503. inline double wj_locate_information::x() const {
  504. // @@protoc_insertion_point(field_get:Terminal.wj_locate_information.x)
  505. return x_;
  506. }
  507. inline void wj_locate_information::set_x(double value) {
  508. set_has_x();
  509. x_ = value;
  510. // @@protoc_insertion_point(field_set:Terminal.wj_locate_information.x)
  511. }
  512. // optional double y = 6;
  513. inline bool wj_locate_information::has_y() const {
  514. return (_has_bits_[0] & 0x00000020u) != 0;
  515. }
  516. inline void wj_locate_information::set_has_y() {
  517. _has_bits_[0] |= 0x00000020u;
  518. }
  519. inline void wj_locate_information::clear_has_y() {
  520. _has_bits_[0] &= ~0x00000020u;
  521. }
  522. inline void wj_locate_information::clear_y() {
  523. y_ = 0;
  524. clear_has_y();
  525. }
  526. inline double wj_locate_information::y() const {
  527. // @@protoc_insertion_point(field_get:Terminal.wj_locate_information.y)
  528. return y_;
  529. }
  530. inline void wj_locate_information::set_y(double value) {
  531. set_has_y();
  532. y_ = value;
  533. // @@protoc_insertion_point(field_set:Terminal.wj_locate_information.y)
  534. }
  535. // optional double c = 7;
  536. inline bool wj_locate_information::has_c() const {
  537. return (_has_bits_[0] & 0x00000040u) != 0;
  538. }
  539. inline void wj_locate_information::set_has_c() {
  540. _has_bits_[0] |= 0x00000040u;
  541. }
  542. inline void wj_locate_information::clear_has_c() {
  543. _has_bits_[0] &= ~0x00000040u;
  544. }
  545. inline void wj_locate_information::clear_c() {
  546. c_ = 0;
  547. clear_has_c();
  548. }
  549. inline double wj_locate_information::c() const {
  550. // @@protoc_insertion_point(field_get:Terminal.wj_locate_information.c)
  551. return c_;
  552. }
  553. inline void wj_locate_information::set_c(double value) {
  554. set_has_c();
  555. c_ = value;
  556. // @@protoc_insertion_point(field_set:Terminal.wj_locate_information.c)
  557. }
  558. // optional double wheel_base = 8;
  559. inline bool wj_locate_information::has_wheel_base() const {
  560. return (_has_bits_[0] & 0x00000080u) != 0;
  561. }
  562. inline void wj_locate_information::set_has_wheel_base() {
  563. _has_bits_[0] |= 0x00000080u;
  564. }
  565. inline void wj_locate_information::clear_has_wheel_base() {
  566. _has_bits_[0] &= ~0x00000080u;
  567. }
  568. inline void wj_locate_information::clear_wheel_base() {
  569. wheel_base_ = 0;
  570. clear_has_wheel_base();
  571. }
  572. inline double wj_locate_information::wheel_base() const {
  573. // @@protoc_insertion_point(field_get:Terminal.wj_locate_information.wheel_base)
  574. return wheel_base_;
  575. }
  576. inline void wj_locate_information::set_wheel_base(double value) {
  577. set_has_wheel_base();
  578. wheel_base_ = value;
  579. // @@protoc_insertion_point(field_set:Terminal.wj_locate_information.wheel_base)
  580. }
  581. // optional double length = 9;
  582. inline bool wj_locate_information::has_length() const {
  583. return (_has_bits_[0] & 0x00000100u) != 0;
  584. }
  585. inline void wj_locate_information::set_has_length() {
  586. _has_bits_[0] |= 0x00000100u;
  587. }
  588. inline void wj_locate_information::clear_has_length() {
  589. _has_bits_[0] &= ~0x00000100u;
  590. }
  591. inline void wj_locate_information::clear_length() {
  592. length_ = 0;
  593. clear_has_length();
  594. }
  595. inline double wj_locate_information::length() const {
  596. // @@protoc_insertion_point(field_get:Terminal.wj_locate_information.length)
  597. return length_;
  598. }
  599. inline void wj_locate_information::set_length(double value) {
  600. set_has_length();
  601. length_ = value;
  602. // @@protoc_insertion_point(field_set:Terminal.wj_locate_information.length)
  603. }
  604. // optional double width = 10;
  605. inline bool wj_locate_information::has_width() const {
  606. return (_has_bits_[0] & 0x00000200u) != 0;
  607. }
  608. inline void wj_locate_information::set_has_width() {
  609. _has_bits_[0] |= 0x00000200u;
  610. }
  611. inline void wj_locate_information::clear_has_width() {
  612. _has_bits_[0] &= ~0x00000200u;
  613. }
  614. inline void wj_locate_information::clear_width() {
  615. width_ = 0;
  616. clear_has_width();
  617. }
  618. inline double wj_locate_information::width() const {
  619. // @@protoc_insertion_point(field_get:Terminal.wj_locate_information.width)
  620. return width_;
  621. }
  622. inline void wj_locate_information::set_width(double value) {
  623. set_has_width();
  624. width_ = value;
  625. // @@protoc_insertion_point(field_set:Terminal.wj_locate_information.width)
  626. }
  627. // optional double height = 11;
  628. inline bool wj_locate_information::has_height() const {
  629. return (_has_bits_[0] & 0x00000400u) != 0;
  630. }
  631. inline void wj_locate_information::set_has_height() {
  632. _has_bits_[0] |= 0x00000400u;
  633. }
  634. inline void wj_locate_information::clear_has_height() {
  635. _has_bits_[0] &= ~0x00000400u;
  636. }
  637. inline void wj_locate_information::clear_height() {
  638. height_ = 0;
  639. clear_has_height();
  640. }
  641. inline double wj_locate_information::height() const {
  642. // @@protoc_insertion_point(field_get:Terminal.wj_locate_information.height)
  643. return height_;
  644. }
  645. inline void wj_locate_information::set_height(double value) {
  646. set_has_height();
  647. height_ = value;
  648. // @@protoc_insertion_point(field_set:Terminal.wj_locate_information.height)
  649. }
  650. // optional string error = 12 [default = ""];
  651. inline bool wj_locate_information::has_error() const {
  652. return (_has_bits_[0] & 0x00000002u) != 0;
  653. }
  654. inline void wj_locate_information::set_has_error() {
  655. _has_bits_[0] |= 0x00000002u;
  656. }
  657. inline void wj_locate_information::clear_has_error() {
  658. _has_bits_[0] &= ~0x00000002u;
  659. }
  660. inline void wj_locate_information::clear_error() {
  661. error_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  662. clear_has_error();
  663. }
  664. inline const ::std::string& wj_locate_information::error() const {
  665. // @@protoc_insertion_point(field_get:Terminal.wj_locate_information.error)
  666. return error_.GetNoArena();
  667. }
  668. inline void wj_locate_information::set_error(const ::std::string& value) {
  669. set_has_error();
  670. error_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  671. // @@protoc_insertion_point(field_set:Terminal.wj_locate_information.error)
  672. }
  673. #if LANG_CXX11
  674. inline void wj_locate_information::set_error(::std::string&& value) {
  675. set_has_error();
  676. error_.SetNoArena(
  677. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  678. // @@protoc_insertion_point(field_set_rvalue:Terminal.wj_locate_information.error)
  679. }
  680. #endif
  681. inline void wj_locate_information::set_error(const char* value) {
  682. GOOGLE_DCHECK(value != NULL);
  683. set_has_error();
  684. error_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  685. // @@protoc_insertion_point(field_set_char:Terminal.wj_locate_information.error)
  686. }
  687. inline void wj_locate_information::set_error(const char* value, size_t size) {
  688. set_has_error();
  689. error_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  690. ::std::string(reinterpret_cast<const char*>(value), size));
  691. // @@protoc_insertion_point(field_set_pointer:Terminal.wj_locate_information.error)
  692. }
  693. inline ::std::string* wj_locate_information::mutable_error() {
  694. set_has_error();
  695. // @@protoc_insertion_point(field_mutable:Terminal.wj_locate_information.error)
  696. return error_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  697. }
  698. inline ::std::string* wj_locate_information::release_error() {
  699. // @@protoc_insertion_point(field_release:Terminal.wj_locate_information.error)
  700. clear_has_error();
  701. return error_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  702. }
  703. inline void wj_locate_information::set_allocated_error(::std::string* error) {
  704. if (error != NULL) {
  705. set_has_error();
  706. } else {
  707. clear_has_error();
  708. }
  709. error_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), error);
  710. // @@protoc_insertion_point(field_set_allocated:Terminal.wj_locate_information.error)
  711. }
  712. // -------------------------------------------------------------------
  713. // Terminal_message
  714. #ifdef __GNUC__
  715. #pragma GCC diagnostic pop
  716. #endif // __GNUC__
  717. // -------------------------------------------------------------------
  718. // @@protoc_insertion_point(namespace_scope)
  719. } // namespace Terminal
  720. // @@protoc_insertion_point(global_scope)
  721. #endif // PROTOBUF_terminor_5fmsg_2eproto__INCLUDED