terminor_msg.pb.h 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: terminor_msg.proto
  3. #ifndef GOOGLE_PROTOBUF_INCLUDED_terminor_5fmsg_2eproto
  4. #define GOOGLE_PROTOBUF_INCLUDED_terminor_5fmsg_2eproto
  5. #include <limits>
  6. #include <string>
  7. #include <google/protobuf/port_def.inc>
  8. #if PROTOBUF_VERSION < 3013000
  9. #error This file was generated by a newer version of protoc which is
  10. #error incompatible with your Protocol Buffer headers. Please update
  11. #error your headers.
  12. #endif
  13. #if 3013000 < PROTOBUF_MIN_PROTOC_VERSION
  14. #error This file was generated by an older version of protoc which is
  15. #error incompatible with your Protocol Buffer headers. Please
  16. #error regenerate this file with a newer version of protoc.
  17. #endif
  18. #include <google/protobuf/port_undef.inc>
  19. #include <google/protobuf/io/coded_stream.h>
  20. #include <google/protobuf/arena.h>
  21. #include <google/protobuf/arenastring.h>
  22. #include <google/protobuf/generated_message_table_driven.h>
  23. #include <google/protobuf/generated_message_util.h>
  24. #include <google/protobuf/inlined_string_field.h>
  25. #include <google/protobuf/metadata_lite.h>
  26. #include <google/protobuf/generated_message_reflection.h>
  27. #include <google/protobuf/message.h>
  28. #include <google/protobuf/repeated_field.h> // IWYU pragma: export
  29. #include <google/protobuf/extension_set.h> // IWYU pragma: export
  30. #include <google/protobuf/unknown_field_set.h>
  31. // @@protoc_insertion_point(includes)
  32. #include <google/protobuf/port_def.inc>
  33. #define PROTOBUF_INTERNAL_EXPORT_terminor_5fmsg_2eproto
  34. PROTOBUF_NAMESPACE_OPEN
  35. namespace internal {
  36. class AnyMetadata;
  37. } // namespace internal
  38. PROTOBUF_NAMESPACE_CLOSE
  39. // Internal implementation detail -- do not use these members.
  40. struct TableStruct_terminor_5fmsg_2eproto {
  41. static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
  42. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  43. static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
  44. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  45. static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2]
  46. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  47. static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
  48. static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
  49. static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
  50. };
  51. extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_terminor_5fmsg_2eproto;
  52. namespace Terminal {
  53. class Terminal_message;
  54. class Terminal_messageDefaultTypeInternal;
  55. extern Terminal_messageDefaultTypeInternal _Terminal_message_default_instance_;
  56. class wj_locate_information;
  57. class wj_locate_informationDefaultTypeInternal;
  58. extern wj_locate_informationDefaultTypeInternal _wj_locate_information_default_instance_;
  59. } // namespace Terminal
  60. PROTOBUF_NAMESPACE_OPEN
  61. template<> ::Terminal::Terminal_message* Arena::CreateMaybeMessage<::Terminal::Terminal_message>(Arena*);
  62. template<> ::Terminal::wj_locate_information* Arena::CreateMaybeMessage<::Terminal::wj_locate_information>(Arena*);
  63. PROTOBUF_NAMESPACE_CLOSE
  64. namespace Terminal {
  65. // ===================================================================
  66. class wj_locate_information PROTOBUF_FINAL :
  67. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:Terminal.wj_locate_information) */ {
  68. public:
  69. inline wj_locate_information() : wj_locate_information(nullptr) {}
  70. virtual ~wj_locate_information();
  71. wj_locate_information(const wj_locate_information& from);
  72. wj_locate_information(wj_locate_information&& from) noexcept
  73. : wj_locate_information() {
  74. *this = ::std::move(from);
  75. }
  76. inline wj_locate_information& operator=(const wj_locate_information& from) {
  77. CopyFrom(from);
  78. return *this;
  79. }
  80. inline wj_locate_information& operator=(wj_locate_information&& from) noexcept {
  81. if (GetArena() == from.GetArena()) {
  82. if (this != &from) InternalSwap(&from);
  83. } else {
  84. CopyFrom(from);
  85. }
  86. return *this;
  87. }
  88. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  89. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  90. }
  91. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  92. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  93. }
  94. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  95. return GetDescriptor();
  96. }
  97. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  98. return GetMetadataStatic().descriptor;
  99. }
  100. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  101. return GetMetadataStatic().reflection;
  102. }
  103. static const wj_locate_information& default_instance();
  104. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  105. static inline const wj_locate_information* internal_default_instance() {
  106. return reinterpret_cast<const wj_locate_information*>(
  107. &_wj_locate_information_default_instance_);
  108. }
  109. static constexpr int kIndexInFileMessages =
  110. 0;
  111. friend void swap(wj_locate_information& a, wj_locate_information& b) {
  112. a.Swap(&b);
  113. }
  114. inline void Swap(wj_locate_information* other) {
  115. if (other == this) return;
  116. if (GetArena() == other->GetArena()) {
  117. InternalSwap(other);
  118. } else {
  119. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  120. }
  121. }
  122. void UnsafeArenaSwap(wj_locate_information* other) {
  123. if (other == this) return;
  124. GOOGLE_DCHECK(GetArena() == other->GetArena());
  125. InternalSwap(other);
  126. }
  127. // implements Message ----------------------------------------------
  128. inline wj_locate_information* New() const final {
  129. return CreateMaybeMessage<wj_locate_information>(nullptr);
  130. }
  131. wj_locate_information* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  132. return CreateMaybeMessage<wj_locate_information>(arena);
  133. }
  134. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  135. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  136. void CopyFrom(const wj_locate_information& from);
  137. void MergeFrom(const wj_locate_information& from);
  138. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  139. bool IsInitialized() const final;
  140. size_t ByteSizeLong() const final;
  141. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  142. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  143. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  144. int GetCachedSize() const final { return _cached_size_.Get(); }
  145. private:
  146. inline void SharedCtor();
  147. inline void SharedDtor();
  148. void SetCachedSize(int size) const final;
  149. void InternalSwap(wj_locate_information* other);
  150. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  151. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  152. return "Terminal.wj_locate_information";
  153. }
  154. protected:
  155. explicit wj_locate_information(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  156. private:
  157. static void ArenaDtor(void* object);
  158. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  159. public:
  160. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  161. private:
  162. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  163. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_terminor_5fmsg_2eproto);
  164. return ::descriptor_table_terminor_5fmsg_2eproto.file_level_metadata[kIndexInFileMessages];
  165. }
  166. public:
  167. // nested types ----------------------------------------------------
  168. // accessors -------------------------------------------------------
  169. enum : int {
  170. kTimeFieldNumber = 1,
  171. kErrorFieldNumber = 12,
  172. kCorrectnessFieldNumber = 2,
  173. kParkSpaceIdFieldNumber = 3,
  174. kXFieldNumber = 5,
  175. kYFieldNumber = 6,
  176. kCFieldNumber = 7,
  177. kWheelBaseFieldNumber = 8,
  178. kLengthFieldNumber = 9,
  179. kWidthFieldNumber = 10,
  180. kHeightFieldNumber = 11,
  181. kLaserIdsFieldNumber = 4,
  182. };
  183. // required string time = 1 [default = ""];
  184. bool has_time() const;
  185. private:
  186. bool _internal_has_time() const;
  187. public:
  188. void clear_time();
  189. const std::string& time() const;
  190. void set_time(const std::string& value);
  191. void set_time(std::string&& value);
  192. void set_time(const char* value);
  193. void set_time(const char* value, size_t size);
  194. std::string* mutable_time();
  195. std::string* release_time();
  196. void set_allocated_time(std::string* time);
  197. private:
  198. const std::string& _internal_time() const;
  199. void _internal_set_time(const std::string& value);
  200. std::string* _internal_mutable_time();
  201. public:
  202. // optional string error = 12 [default = ""];
  203. bool has_error() const;
  204. private:
  205. bool _internal_has_error() const;
  206. public:
  207. void clear_error();
  208. const std::string& error() const;
  209. void set_error(const std::string& value);
  210. void set_error(std::string&& value);
  211. void set_error(const char* value);
  212. void set_error(const char* value, size_t size);
  213. std::string* mutable_error();
  214. std::string* release_error();
  215. void set_allocated_error(std::string* error);
  216. private:
  217. const std::string& _internal_error() const;
  218. void _internal_set_error(const std::string& value);
  219. std::string* _internal_mutable_error();
  220. public:
  221. // required bool correctness = 2;
  222. bool has_correctness() const;
  223. private:
  224. bool _internal_has_correctness() const;
  225. public:
  226. void clear_correctness();
  227. bool correctness() const;
  228. void set_correctness(bool value);
  229. private:
  230. bool _internal_correctness() const;
  231. void _internal_set_correctness(bool value);
  232. public:
  233. // optional int32 park_space_id = 3;
  234. bool has_park_space_id() const;
  235. private:
  236. bool _internal_has_park_space_id() const;
  237. public:
  238. void clear_park_space_id();
  239. ::PROTOBUF_NAMESPACE_ID::int32 park_space_id() const;
  240. void set_park_space_id(::PROTOBUF_NAMESPACE_ID::int32 value);
  241. private:
  242. ::PROTOBUF_NAMESPACE_ID::int32 _internal_park_space_id() const;
  243. void _internal_set_park_space_id(::PROTOBUF_NAMESPACE_ID::int32 value);
  244. public:
  245. // optional double x = 5;
  246. bool has_x() const;
  247. private:
  248. bool _internal_has_x() const;
  249. public:
  250. void clear_x();
  251. double x() const;
  252. void set_x(double value);
  253. private:
  254. double _internal_x() const;
  255. void _internal_set_x(double value);
  256. public:
  257. // optional double y = 6;
  258. bool has_y() const;
  259. private:
  260. bool _internal_has_y() const;
  261. public:
  262. void clear_y();
  263. double y() const;
  264. void set_y(double value);
  265. private:
  266. double _internal_y() const;
  267. void _internal_set_y(double value);
  268. public:
  269. // optional double c = 7;
  270. bool has_c() const;
  271. private:
  272. bool _internal_has_c() const;
  273. public:
  274. void clear_c();
  275. double c() const;
  276. void set_c(double value);
  277. private:
  278. double _internal_c() const;
  279. void _internal_set_c(double value);
  280. public:
  281. // optional double wheel_base = 8;
  282. bool has_wheel_base() const;
  283. private:
  284. bool _internal_has_wheel_base() const;
  285. public:
  286. void clear_wheel_base();
  287. double wheel_base() const;
  288. void set_wheel_base(double value);
  289. private:
  290. double _internal_wheel_base() const;
  291. void _internal_set_wheel_base(double value);
  292. public:
  293. // optional double length = 9;
  294. bool has_length() const;
  295. private:
  296. bool _internal_has_length() const;
  297. public:
  298. void clear_length();
  299. double length() const;
  300. void set_length(double value);
  301. private:
  302. double _internal_length() const;
  303. void _internal_set_length(double value);
  304. public:
  305. // optional double width = 10;
  306. bool has_width() const;
  307. private:
  308. bool _internal_has_width() const;
  309. public:
  310. void clear_width();
  311. double width() const;
  312. void set_width(double value);
  313. private:
  314. double _internal_width() const;
  315. void _internal_set_width(double value);
  316. public:
  317. // optional double height = 11;
  318. bool has_height() const;
  319. private:
  320. bool _internal_has_height() const;
  321. public:
  322. void clear_height();
  323. double height() const;
  324. void set_height(double value);
  325. private:
  326. double _internal_height() const;
  327. void _internal_set_height(double value);
  328. public:
  329. // optional int32 laser_ids = 4;
  330. bool has_laser_ids() const;
  331. private:
  332. bool _internal_has_laser_ids() const;
  333. public:
  334. void clear_laser_ids();
  335. ::PROTOBUF_NAMESPACE_ID::int32 laser_ids() const;
  336. void set_laser_ids(::PROTOBUF_NAMESPACE_ID::int32 value);
  337. private:
  338. ::PROTOBUF_NAMESPACE_ID::int32 _internal_laser_ids() const;
  339. void _internal_set_laser_ids(::PROTOBUF_NAMESPACE_ID::int32 value);
  340. public:
  341. // @@protoc_insertion_point(class_scope:Terminal.wj_locate_information)
  342. private:
  343. class _Internal;
  344. // helper for ByteSizeLong()
  345. size_t RequiredFieldsByteSizeFallback() const;
  346. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  347. typedef void InternalArenaConstructable_;
  348. typedef void DestructorSkippable_;
  349. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  350. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  351. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr time_;
  352. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr error_;
  353. bool correctness_;
  354. ::PROTOBUF_NAMESPACE_ID::int32 park_space_id_;
  355. double x_;
  356. double y_;
  357. double c_;
  358. double wheel_base_;
  359. double length_;
  360. double width_;
  361. double height_;
  362. ::PROTOBUF_NAMESPACE_ID::int32 laser_ids_;
  363. friend struct ::TableStruct_terminor_5fmsg_2eproto;
  364. };
  365. // -------------------------------------------------------------------
  366. class Terminal_message PROTOBUF_FINAL :
  367. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:Terminal.Terminal_message) */ {
  368. public:
  369. inline Terminal_message() : Terminal_message(nullptr) {}
  370. virtual ~Terminal_message();
  371. Terminal_message(const Terminal_message& from);
  372. Terminal_message(Terminal_message&& from) noexcept
  373. : Terminal_message() {
  374. *this = ::std::move(from);
  375. }
  376. inline Terminal_message& operator=(const Terminal_message& from) {
  377. CopyFrom(from);
  378. return *this;
  379. }
  380. inline Terminal_message& operator=(Terminal_message&& from) noexcept {
  381. if (GetArena() == from.GetArena()) {
  382. if (this != &from) InternalSwap(&from);
  383. } else {
  384. CopyFrom(from);
  385. }
  386. return *this;
  387. }
  388. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  389. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  390. }
  391. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  392. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  393. }
  394. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  395. return GetDescriptor();
  396. }
  397. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  398. return GetMetadataStatic().descriptor;
  399. }
  400. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  401. return GetMetadataStatic().reflection;
  402. }
  403. static const Terminal_message& default_instance();
  404. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  405. static inline const Terminal_message* internal_default_instance() {
  406. return reinterpret_cast<const Terminal_message*>(
  407. &_Terminal_message_default_instance_);
  408. }
  409. static constexpr int kIndexInFileMessages =
  410. 1;
  411. friend void swap(Terminal_message& a, Terminal_message& b) {
  412. a.Swap(&b);
  413. }
  414. inline void Swap(Terminal_message* other) {
  415. if (other == this) return;
  416. if (GetArena() == other->GetArena()) {
  417. InternalSwap(other);
  418. } else {
  419. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  420. }
  421. }
  422. void UnsafeArenaSwap(Terminal_message* other) {
  423. if (other == this) return;
  424. GOOGLE_DCHECK(GetArena() == other->GetArena());
  425. InternalSwap(other);
  426. }
  427. // implements Message ----------------------------------------------
  428. inline Terminal_message* New() const final {
  429. return CreateMaybeMessage<Terminal_message>(nullptr);
  430. }
  431. Terminal_message* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  432. return CreateMaybeMessage<Terminal_message>(arena);
  433. }
  434. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  435. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  436. void CopyFrom(const Terminal_message& from);
  437. void MergeFrom(const Terminal_message& from);
  438. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  439. bool IsInitialized() const final;
  440. size_t ByteSizeLong() const final;
  441. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  442. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  443. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  444. int GetCachedSize() const final { return _cached_size_.Get(); }
  445. private:
  446. inline void SharedCtor();
  447. inline void SharedDtor();
  448. void SetCachedSize(int size) const final;
  449. void InternalSwap(Terminal_message* other);
  450. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  451. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  452. return "Terminal.Terminal_message";
  453. }
  454. protected:
  455. explicit Terminal_message(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  456. private:
  457. static void ArenaDtor(void* object);
  458. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  459. public:
  460. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  461. private:
  462. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  463. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_terminor_5fmsg_2eproto);
  464. return ::descriptor_table_terminor_5fmsg_2eproto.file_level_metadata[kIndexInFileMessages];
  465. }
  466. public:
  467. // nested types ----------------------------------------------------
  468. // accessors -------------------------------------------------------
  469. // @@protoc_insertion_point(class_scope:Terminal.Terminal_message)
  470. private:
  471. class _Internal;
  472. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  473. typedef void InternalArenaConstructable_;
  474. typedef void DestructorSkippable_;
  475. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  476. friend struct ::TableStruct_terminor_5fmsg_2eproto;
  477. };
  478. // ===================================================================
  479. // ===================================================================
  480. #ifdef __GNUC__
  481. #pragma GCC diagnostic push
  482. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  483. #endif // __GNUC__
  484. // wj_locate_information
  485. // required string time = 1 [default = ""];
  486. inline bool wj_locate_information::_internal_has_time() const {
  487. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  488. return value;
  489. }
  490. inline bool wj_locate_information::has_time() const {
  491. return _internal_has_time();
  492. }
  493. inline void wj_locate_information::clear_time() {
  494. time_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  495. _has_bits_[0] &= ~0x00000001u;
  496. }
  497. inline const std::string& wj_locate_information::time() const {
  498. // @@protoc_insertion_point(field_get:Terminal.wj_locate_information.time)
  499. return _internal_time();
  500. }
  501. inline void wj_locate_information::set_time(const std::string& value) {
  502. _internal_set_time(value);
  503. // @@protoc_insertion_point(field_set:Terminal.wj_locate_information.time)
  504. }
  505. inline std::string* wj_locate_information::mutable_time() {
  506. // @@protoc_insertion_point(field_mutable:Terminal.wj_locate_information.time)
  507. return _internal_mutable_time();
  508. }
  509. inline const std::string& wj_locate_information::_internal_time() const {
  510. return time_.Get();
  511. }
  512. inline void wj_locate_information::_internal_set_time(const std::string& value) {
  513. _has_bits_[0] |= 0x00000001u;
  514. time_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
  515. }
  516. inline void wj_locate_information::set_time(std::string&& value) {
  517. _has_bits_[0] |= 0x00000001u;
  518. time_.Set(
  519. &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
  520. // @@protoc_insertion_point(field_set_rvalue:Terminal.wj_locate_information.time)
  521. }
  522. inline void wj_locate_information::set_time(const char* value) {
  523. GOOGLE_DCHECK(value != nullptr);
  524. _has_bits_[0] |= 0x00000001u;
  525. time_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
  526. GetArena());
  527. // @@protoc_insertion_point(field_set_char:Terminal.wj_locate_information.time)
  528. }
  529. inline void wj_locate_information::set_time(const char* value,
  530. size_t size) {
  531. _has_bits_[0] |= 0x00000001u;
  532. time_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
  533. reinterpret_cast<const char*>(value), size), GetArena());
  534. // @@protoc_insertion_point(field_set_pointer:Terminal.wj_locate_information.time)
  535. }
  536. inline std::string* wj_locate_information::_internal_mutable_time() {
  537. _has_bits_[0] |= 0x00000001u;
  538. return time_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  539. }
  540. inline std::string* wj_locate_information::release_time() {
  541. // @@protoc_insertion_point(field_release:Terminal.wj_locate_information.time)
  542. if (!_internal_has_time()) {
  543. return nullptr;
  544. }
  545. _has_bits_[0] &= ~0x00000001u;
  546. return time_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  547. }
  548. inline void wj_locate_information::set_allocated_time(std::string* time) {
  549. if (time != nullptr) {
  550. _has_bits_[0] |= 0x00000001u;
  551. } else {
  552. _has_bits_[0] &= ~0x00000001u;
  553. }
  554. time_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), time,
  555. GetArena());
  556. // @@protoc_insertion_point(field_set_allocated:Terminal.wj_locate_information.time)
  557. }
  558. // required bool correctness = 2;
  559. inline bool wj_locate_information::_internal_has_correctness() const {
  560. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  561. return value;
  562. }
  563. inline bool wj_locate_information::has_correctness() const {
  564. return _internal_has_correctness();
  565. }
  566. inline void wj_locate_information::clear_correctness() {
  567. correctness_ = false;
  568. _has_bits_[0] &= ~0x00000004u;
  569. }
  570. inline bool wj_locate_information::_internal_correctness() const {
  571. return correctness_;
  572. }
  573. inline bool wj_locate_information::correctness() const {
  574. // @@protoc_insertion_point(field_get:Terminal.wj_locate_information.correctness)
  575. return _internal_correctness();
  576. }
  577. inline void wj_locate_information::_internal_set_correctness(bool value) {
  578. _has_bits_[0] |= 0x00000004u;
  579. correctness_ = value;
  580. }
  581. inline void wj_locate_information::set_correctness(bool value) {
  582. _internal_set_correctness(value);
  583. // @@protoc_insertion_point(field_set:Terminal.wj_locate_information.correctness)
  584. }
  585. // optional int32 park_space_id = 3;
  586. inline bool wj_locate_information::_internal_has_park_space_id() const {
  587. bool value = (_has_bits_[0] & 0x00000008u) != 0;
  588. return value;
  589. }
  590. inline bool wj_locate_information::has_park_space_id() const {
  591. return _internal_has_park_space_id();
  592. }
  593. inline void wj_locate_information::clear_park_space_id() {
  594. park_space_id_ = 0;
  595. _has_bits_[0] &= ~0x00000008u;
  596. }
  597. inline ::PROTOBUF_NAMESPACE_ID::int32 wj_locate_information::_internal_park_space_id() const {
  598. return park_space_id_;
  599. }
  600. inline ::PROTOBUF_NAMESPACE_ID::int32 wj_locate_information::park_space_id() const {
  601. // @@protoc_insertion_point(field_get:Terminal.wj_locate_information.park_space_id)
  602. return _internal_park_space_id();
  603. }
  604. inline void wj_locate_information::_internal_set_park_space_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
  605. _has_bits_[0] |= 0x00000008u;
  606. park_space_id_ = value;
  607. }
  608. inline void wj_locate_information::set_park_space_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
  609. _internal_set_park_space_id(value);
  610. // @@protoc_insertion_point(field_set:Terminal.wj_locate_information.park_space_id)
  611. }
  612. // optional int32 laser_ids = 4;
  613. inline bool wj_locate_information::_internal_has_laser_ids() const {
  614. bool value = (_has_bits_[0] & 0x00000800u) != 0;
  615. return value;
  616. }
  617. inline bool wj_locate_information::has_laser_ids() const {
  618. return _internal_has_laser_ids();
  619. }
  620. inline void wj_locate_information::clear_laser_ids() {
  621. laser_ids_ = 0;
  622. _has_bits_[0] &= ~0x00000800u;
  623. }
  624. inline ::PROTOBUF_NAMESPACE_ID::int32 wj_locate_information::_internal_laser_ids() const {
  625. return laser_ids_;
  626. }
  627. inline ::PROTOBUF_NAMESPACE_ID::int32 wj_locate_information::laser_ids() const {
  628. // @@protoc_insertion_point(field_get:Terminal.wj_locate_information.laser_ids)
  629. return _internal_laser_ids();
  630. }
  631. inline void wj_locate_information::_internal_set_laser_ids(::PROTOBUF_NAMESPACE_ID::int32 value) {
  632. _has_bits_[0] |= 0x00000800u;
  633. laser_ids_ = value;
  634. }
  635. inline void wj_locate_information::set_laser_ids(::PROTOBUF_NAMESPACE_ID::int32 value) {
  636. _internal_set_laser_ids(value);
  637. // @@protoc_insertion_point(field_set:Terminal.wj_locate_information.laser_ids)
  638. }
  639. // optional double x = 5;
  640. inline bool wj_locate_information::_internal_has_x() const {
  641. bool value = (_has_bits_[0] & 0x00000010u) != 0;
  642. return value;
  643. }
  644. inline bool wj_locate_information::has_x() const {
  645. return _internal_has_x();
  646. }
  647. inline void wj_locate_information::clear_x() {
  648. x_ = 0;
  649. _has_bits_[0] &= ~0x00000010u;
  650. }
  651. inline double wj_locate_information::_internal_x() const {
  652. return x_;
  653. }
  654. inline double wj_locate_information::x() const {
  655. // @@protoc_insertion_point(field_get:Terminal.wj_locate_information.x)
  656. return _internal_x();
  657. }
  658. inline void wj_locate_information::_internal_set_x(double value) {
  659. _has_bits_[0] |= 0x00000010u;
  660. x_ = value;
  661. }
  662. inline void wj_locate_information::set_x(double value) {
  663. _internal_set_x(value);
  664. // @@protoc_insertion_point(field_set:Terminal.wj_locate_information.x)
  665. }
  666. // optional double y = 6;
  667. inline bool wj_locate_information::_internal_has_y() const {
  668. bool value = (_has_bits_[0] & 0x00000020u) != 0;
  669. return value;
  670. }
  671. inline bool wj_locate_information::has_y() const {
  672. return _internal_has_y();
  673. }
  674. inline void wj_locate_information::clear_y() {
  675. y_ = 0;
  676. _has_bits_[0] &= ~0x00000020u;
  677. }
  678. inline double wj_locate_information::_internal_y() const {
  679. return y_;
  680. }
  681. inline double wj_locate_information::y() const {
  682. // @@protoc_insertion_point(field_get:Terminal.wj_locate_information.y)
  683. return _internal_y();
  684. }
  685. inline void wj_locate_information::_internal_set_y(double value) {
  686. _has_bits_[0] |= 0x00000020u;
  687. y_ = value;
  688. }
  689. inline void wj_locate_information::set_y(double value) {
  690. _internal_set_y(value);
  691. // @@protoc_insertion_point(field_set:Terminal.wj_locate_information.y)
  692. }
  693. // optional double c = 7;
  694. inline bool wj_locate_information::_internal_has_c() const {
  695. bool value = (_has_bits_[0] & 0x00000040u) != 0;
  696. return value;
  697. }
  698. inline bool wj_locate_information::has_c() const {
  699. return _internal_has_c();
  700. }
  701. inline void wj_locate_information::clear_c() {
  702. c_ = 0;
  703. _has_bits_[0] &= ~0x00000040u;
  704. }
  705. inline double wj_locate_information::_internal_c() const {
  706. return c_;
  707. }
  708. inline double wj_locate_information::c() const {
  709. // @@protoc_insertion_point(field_get:Terminal.wj_locate_information.c)
  710. return _internal_c();
  711. }
  712. inline void wj_locate_information::_internal_set_c(double value) {
  713. _has_bits_[0] |= 0x00000040u;
  714. c_ = value;
  715. }
  716. inline void wj_locate_information::set_c(double value) {
  717. _internal_set_c(value);
  718. // @@protoc_insertion_point(field_set:Terminal.wj_locate_information.c)
  719. }
  720. // optional double wheel_base = 8;
  721. inline bool wj_locate_information::_internal_has_wheel_base() const {
  722. bool value = (_has_bits_[0] & 0x00000080u) != 0;
  723. return value;
  724. }
  725. inline bool wj_locate_information::has_wheel_base() const {
  726. return _internal_has_wheel_base();
  727. }
  728. inline void wj_locate_information::clear_wheel_base() {
  729. wheel_base_ = 0;
  730. _has_bits_[0] &= ~0x00000080u;
  731. }
  732. inline double wj_locate_information::_internal_wheel_base() const {
  733. return wheel_base_;
  734. }
  735. inline double wj_locate_information::wheel_base() const {
  736. // @@protoc_insertion_point(field_get:Terminal.wj_locate_information.wheel_base)
  737. return _internal_wheel_base();
  738. }
  739. inline void wj_locate_information::_internal_set_wheel_base(double value) {
  740. _has_bits_[0] |= 0x00000080u;
  741. wheel_base_ = value;
  742. }
  743. inline void wj_locate_information::set_wheel_base(double value) {
  744. _internal_set_wheel_base(value);
  745. // @@protoc_insertion_point(field_set:Terminal.wj_locate_information.wheel_base)
  746. }
  747. // optional double length = 9;
  748. inline bool wj_locate_information::_internal_has_length() const {
  749. bool value = (_has_bits_[0] & 0x00000100u) != 0;
  750. return value;
  751. }
  752. inline bool wj_locate_information::has_length() const {
  753. return _internal_has_length();
  754. }
  755. inline void wj_locate_information::clear_length() {
  756. length_ = 0;
  757. _has_bits_[0] &= ~0x00000100u;
  758. }
  759. inline double wj_locate_information::_internal_length() const {
  760. return length_;
  761. }
  762. inline double wj_locate_information::length() const {
  763. // @@protoc_insertion_point(field_get:Terminal.wj_locate_information.length)
  764. return _internal_length();
  765. }
  766. inline void wj_locate_information::_internal_set_length(double value) {
  767. _has_bits_[0] |= 0x00000100u;
  768. length_ = value;
  769. }
  770. inline void wj_locate_information::set_length(double value) {
  771. _internal_set_length(value);
  772. // @@protoc_insertion_point(field_set:Terminal.wj_locate_information.length)
  773. }
  774. // optional double width = 10;
  775. inline bool wj_locate_information::_internal_has_width() const {
  776. bool value = (_has_bits_[0] & 0x00000200u) != 0;
  777. return value;
  778. }
  779. inline bool wj_locate_information::has_width() const {
  780. return _internal_has_width();
  781. }
  782. inline void wj_locate_information::clear_width() {
  783. width_ = 0;
  784. _has_bits_[0] &= ~0x00000200u;
  785. }
  786. inline double wj_locate_information::_internal_width() const {
  787. return width_;
  788. }
  789. inline double wj_locate_information::width() const {
  790. // @@protoc_insertion_point(field_get:Terminal.wj_locate_information.width)
  791. return _internal_width();
  792. }
  793. inline void wj_locate_information::_internal_set_width(double value) {
  794. _has_bits_[0] |= 0x00000200u;
  795. width_ = value;
  796. }
  797. inline void wj_locate_information::set_width(double value) {
  798. _internal_set_width(value);
  799. // @@protoc_insertion_point(field_set:Terminal.wj_locate_information.width)
  800. }
  801. // optional double height = 11;
  802. inline bool wj_locate_information::_internal_has_height() const {
  803. bool value = (_has_bits_[0] & 0x00000400u) != 0;
  804. return value;
  805. }
  806. inline bool wj_locate_information::has_height() const {
  807. return _internal_has_height();
  808. }
  809. inline void wj_locate_information::clear_height() {
  810. height_ = 0;
  811. _has_bits_[0] &= ~0x00000400u;
  812. }
  813. inline double wj_locate_information::_internal_height() const {
  814. return height_;
  815. }
  816. inline double wj_locate_information::height() const {
  817. // @@protoc_insertion_point(field_get:Terminal.wj_locate_information.height)
  818. return _internal_height();
  819. }
  820. inline void wj_locate_information::_internal_set_height(double value) {
  821. _has_bits_[0] |= 0x00000400u;
  822. height_ = value;
  823. }
  824. inline void wj_locate_information::set_height(double value) {
  825. _internal_set_height(value);
  826. // @@protoc_insertion_point(field_set:Terminal.wj_locate_information.height)
  827. }
  828. // optional string error = 12 [default = ""];
  829. inline bool wj_locate_information::_internal_has_error() const {
  830. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  831. return value;
  832. }
  833. inline bool wj_locate_information::has_error() const {
  834. return _internal_has_error();
  835. }
  836. inline void wj_locate_information::clear_error() {
  837. error_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  838. _has_bits_[0] &= ~0x00000002u;
  839. }
  840. inline const std::string& wj_locate_information::error() const {
  841. // @@protoc_insertion_point(field_get:Terminal.wj_locate_information.error)
  842. return _internal_error();
  843. }
  844. inline void wj_locate_information::set_error(const std::string& value) {
  845. _internal_set_error(value);
  846. // @@protoc_insertion_point(field_set:Terminal.wj_locate_information.error)
  847. }
  848. inline std::string* wj_locate_information::mutable_error() {
  849. // @@protoc_insertion_point(field_mutable:Terminal.wj_locate_information.error)
  850. return _internal_mutable_error();
  851. }
  852. inline const std::string& wj_locate_information::_internal_error() const {
  853. return error_.Get();
  854. }
  855. inline void wj_locate_information::_internal_set_error(const std::string& value) {
  856. _has_bits_[0] |= 0x00000002u;
  857. error_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
  858. }
  859. inline void wj_locate_information::set_error(std::string&& value) {
  860. _has_bits_[0] |= 0x00000002u;
  861. error_.Set(
  862. &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
  863. // @@protoc_insertion_point(field_set_rvalue:Terminal.wj_locate_information.error)
  864. }
  865. inline void wj_locate_information::set_error(const char* value) {
  866. GOOGLE_DCHECK(value != nullptr);
  867. _has_bits_[0] |= 0x00000002u;
  868. error_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
  869. GetArena());
  870. // @@protoc_insertion_point(field_set_char:Terminal.wj_locate_information.error)
  871. }
  872. inline void wj_locate_information::set_error(const char* value,
  873. size_t size) {
  874. _has_bits_[0] |= 0x00000002u;
  875. error_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
  876. reinterpret_cast<const char*>(value), size), GetArena());
  877. // @@protoc_insertion_point(field_set_pointer:Terminal.wj_locate_information.error)
  878. }
  879. inline std::string* wj_locate_information::_internal_mutable_error() {
  880. _has_bits_[0] |= 0x00000002u;
  881. return error_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  882. }
  883. inline std::string* wj_locate_information::release_error() {
  884. // @@protoc_insertion_point(field_release:Terminal.wj_locate_information.error)
  885. if (!_internal_has_error()) {
  886. return nullptr;
  887. }
  888. _has_bits_[0] &= ~0x00000002u;
  889. return error_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  890. }
  891. inline void wj_locate_information::set_allocated_error(std::string* error) {
  892. if (error != nullptr) {
  893. _has_bits_[0] |= 0x00000002u;
  894. } else {
  895. _has_bits_[0] &= ~0x00000002u;
  896. }
  897. error_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), error,
  898. GetArena());
  899. // @@protoc_insertion_point(field_set_allocated:Terminal.wj_locate_information.error)
  900. }
  901. // -------------------------------------------------------------------
  902. // Terminal_message
  903. #ifdef __GNUC__
  904. #pragma GCC diagnostic pop
  905. #endif // __GNUC__
  906. // -------------------------------------------------------------------
  907. // @@protoc_insertion_point(namespace_scope)
  908. } // namespace Terminal
  909. // @@protoc_insertion_point(global_scope)
  910. #include <google/protobuf/port_undef.inc>
  911. #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_terminor_5fmsg_2eproto