message.pb.h 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: message.proto
  3. #ifndef GOOGLE_PROTOBUF_INCLUDED_message_2eproto
  4. #define GOOGLE_PROTOBUF_INCLUDED_message_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_message_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_message_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_message_2eproto;
  52. class AGVStatu;
  53. class AGVStatuDefaultTypeInternal;
  54. extern AGVStatuDefaultTypeInternal _AGVStatu_default_instance_;
  55. class ChangeSpeedCmd;
  56. class ChangeSpeedCmdDefaultTypeInternal;
  57. extern ChangeSpeedCmdDefaultTypeInternal _ChangeSpeedCmd_default_instance_;
  58. PROTOBUF_NAMESPACE_OPEN
  59. template<> ::AGVStatu* Arena::CreateMaybeMessage<::AGVStatu>(Arena*);
  60. template<> ::ChangeSpeedCmd* Arena::CreateMaybeMessage<::ChangeSpeedCmd>(Arena*);
  61. PROTOBUF_NAMESPACE_CLOSE
  62. // ===================================================================
  63. class AGVStatu PROTOBUF_FINAL :
  64. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:AGVStatu) */ {
  65. public:
  66. inline AGVStatu() : AGVStatu(nullptr) {}
  67. virtual ~AGVStatu();
  68. AGVStatu(const AGVStatu& from);
  69. AGVStatu(AGVStatu&& from) noexcept
  70. : AGVStatu() {
  71. *this = ::std::move(from);
  72. }
  73. inline AGVStatu& operator=(const AGVStatu& from) {
  74. CopyFrom(from);
  75. return *this;
  76. }
  77. inline AGVStatu& operator=(AGVStatu&& from) noexcept {
  78. if (GetArena() == from.GetArena()) {
  79. if (this != &from) InternalSwap(&from);
  80. } else {
  81. CopyFrom(from);
  82. }
  83. return *this;
  84. }
  85. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  86. return GetDescriptor();
  87. }
  88. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  89. return GetMetadataStatic().descriptor;
  90. }
  91. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  92. return GetMetadataStatic().reflection;
  93. }
  94. static const AGVStatu& default_instance();
  95. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  96. static inline const AGVStatu* internal_default_instance() {
  97. return reinterpret_cast<const AGVStatu*>(
  98. &_AGVStatu_default_instance_);
  99. }
  100. static constexpr int kIndexInFileMessages =
  101. 0;
  102. friend void swap(AGVStatu& a, AGVStatu& b) {
  103. a.Swap(&b);
  104. }
  105. inline void Swap(AGVStatu* other) {
  106. if (other == this) return;
  107. if (GetArena() == other->GetArena()) {
  108. InternalSwap(other);
  109. } else {
  110. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  111. }
  112. }
  113. void UnsafeArenaSwap(AGVStatu* other) {
  114. if (other == this) return;
  115. GOOGLE_DCHECK(GetArena() == other->GetArena());
  116. InternalSwap(other);
  117. }
  118. // implements Message ----------------------------------------------
  119. inline AGVStatu* New() const final {
  120. return CreateMaybeMessage<AGVStatu>(nullptr);
  121. }
  122. AGVStatu* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  123. return CreateMaybeMessage<AGVStatu>(arena);
  124. }
  125. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  126. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  127. void CopyFrom(const AGVStatu& from);
  128. void MergeFrom(const AGVStatu& from);
  129. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  130. bool IsInitialized() const final;
  131. size_t ByteSizeLong() const final;
  132. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  133. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  134. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  135. int GetCachedSize() const final { return _cached_size_.Get(); }
  136. private:
  137. inline void SharedCtor();
  138. inline void SharedDtor();
  139. void SetCachedSize(int size) const final;
  140. void InternalSwap(AGVStatu* other);
  141. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  142. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  143. return "AGVStatu";
  144. }
  145. protected:
  146. explicit AGVStatu(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  147. private:
  148. static void ArenaDtor(void* object);
  149. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  150. public:
  151. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  152. private:
  153. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  154. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_message_2eproto);
  155. return ::descriptor_table_message_2eproto.file_level_metadata[kIndexInFileMessages];
  156. }
  157. public:
  158. // nested types ----------------------------------------------------
  159. // accessors -------------------------------------------------------
  160. enum : int {
  161. kXFieldNumber = 1,
  162. kYFieldNumber = 2,
  163. kThetaFieldNumber = 3,
  164. kVFieldNumber = 4,
  165. kVthFieldNumber = 5,
  166. };
  167. // float x = 1;
  168. void clear_x();
  169. float x() const;
  170. void set_x(float value);
  171. private:
  172. float _internal_x() const;
  173. void _internal_set_x(float value);
  174. public:
  175. // float y = 2;
  176. void clear_y();
  177. float y() const;
  178. void set_y(float value);
  179. private:
  180. float _internal_y() const;
  181. void _internal_set_y(float value);
  182. public:
  183. // float theta = 3;
  184. void clear_theta();
  185. float theta() const;
  186. void set_theta(float value);
  187. private:
  188. float _internal_theta() const;
  189. void _internal_set_theta(float value);
  190. public:
  191. // float v = 4;
  192. void clear_v();
  193. float v() const;
  194. void set_v(float value);
  195. private:
  196. float _internal_v() const;
  197. void _internal_set_v(float value);
  198. public:
  199. // float vth = 5;
  200. void clear_vth();
  201. float vth() const;
  202. void set_vth(float value);
  203. private:
  204. float _internal_vth() const;
  205. void _internal_set_vth(float value);
  206. public:
  207. // @@protoc_insertion_point(class_scope:AGVStatu)
  208. private:
  209. class _Internal;
  210. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  211. typedef void InternalArenaConstructable_;
  212. typedef void DestructorSkippable_;
  213. float x_;
  214. float y_;
  215. float theta_;
  216. float v_;
  217. float vth_;
  218. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  219. friend struct ::TableStruct_message_2eproto;
  220. };
  221. // -------------------------------------------------------------------
  222. class ChangeSpeedCmd PROTOBUF_FINAL :
  223. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ChangeSpeedCmd) */ {
  224. public:
  225. inline ChangeSpeedCmd() : ChangeSpeedCmd(nullptr) {}
  226. virtual ~ChangeSpeedCmd();
  227. ChangeSpeedCmd(const ChangeSpeedCmd& from);
  228. ChangeSpeedCmd(ChangeSpeedCmd&& from) noexcept
  229. : ChangeSpeedCmd() {
  230. *this = ::std::move(from);
  231. }
  232. inline ChangeSpeedCmd& operator=(const ChangeSpeedCmd& from) {
  233. CopyFrom(from);
  234. return *this;
  235. }
  236. inline ChangeSpeedCmd& operator=(ChangeSpeedCmd&& from) noexcept {
  237. if (GetArena() == from.GetArena()) {
  238. if (this != &from) InternalSwap(&from);
  239. } else {
  240. CopyFrom(from);
  241. }
  242. return *this;
  243. }
  244. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  245. return GetDescriptor();
  246. }
  247. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  248. return GetMetadataStatic().descriptor;
  249. }
  250. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  251. return GetMetadataStatic().reflection;
  252. }
  253. static const ChangeSpeedCmd& default_instance();
  254. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  255. static inline const ChangeSpeedCmd* internal_default_instance() {
  256. return reinterpret_cast<const ChangeSpeedCmd*>(
  257. &_ChangeSpeedCmd_default_instance_);
  258. }
  259. static constexpr int kIndexInFileMessages =
  260. 1;
  261. friend void swap(ChangeSpeedCmd& a, ChangeSpeedCmd& b) {
  262. a.Swap(&b);
  263. }
  264. inline void Swap(ChangeSpeedCmd* other) {
  265. if (other == this) return;
  266. if (GetArena() == other->GetArena()) {
  267. InternalSwap(other);
  268. } else {
  269. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  270. }
  271. }
  272. void UnsafeArenaSwap(ChangeSpeedCmd* other) {
  273. if (other == this) return;
  274. GOOGLE_DCHECK(GetArena() == other->GetArena());
  275. InternalSwap(other);
  276. }
  277. // implements Message ----------------------------------------------
  278. inline ChangeSpeedCmd* New() const final {
  279. return CreateMaybeMessage<ChangeSpeedCmd>(nullptr);
  280. }
  281. ChangeSpeedCmd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  282. return CreateMaybeMessage<ChangeSpeedCmd>(arena);
  283. }
  284. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  285. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  286. void CopyFrom(const ChangeSpeedCmd& from);
  287. void MergeFrom(const ChangeSpeedCmd& from);
  288. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  289. bool IsInitialized() const final;
  290. size_t ByteSizeLong() const final;
  291. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  292. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  293. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  294. int GetCachedSize() const final { return _cached_size_.Get(); }
  295. private:
  296. inline void SharedCtor();
  297. inline void SharedDtor();
  298. void SetCachedSize(int size) const final;
  299. void InternalSwap(ChangeSpeedCmd* other);
  300. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  301. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  302. return "ChangeSpeedCmd";
  303. }
  304. protected:
  305. explicit ChangeSpeedCmd(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  306. private:
  307. static void ArenaDtor(void* object);
  308. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  309. public:
  310. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  311. private:
  312. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  313. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_message_2eproto);
  314. return ::descriptor_table_message_2eproto.file_level_metadata[kIndexInFileMessages];
  315. }
  316. public:
  317. // nested types ----------------------------------------------------
  318. // accessors -------------------------------------------------------
  319. enum : int {
  320. kVFieldNumber = 1,
  321. kVthFieldNumber = 2,
  322. };
  323. // float v = 1;
  324. void clear_v();
  325. float v() const;
  326. void set_v(float value);
  327. private:
  328. float _internal_v() const;
  329. void _internal_set_v(float value);
  330. public:
  331. // float vth = 2;
  332. void clear_vth();
  333. float vth() const;
  334. void set_vth(float value);
  335. private:
  336. float _internal_vth() const;
  337. void _internal_set_vth(float value);
  338. public:
  339. // @@protoc_insertion_point(class_scope:ChangeSpeedCmd)
  340. private:
  341. class _Internal;
  342. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  343. typedef void InternalArenaConstructable_;
  344. typedef void DestructorSkippable_;
  345. float v_;
  346. float vth_;
  347. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  348. friend struct ::TableStruct_message_2eproto;
  349. };
  350. // ===================================================================
  351. // ===================================================================
  352. #ifdef __GNUC__
  353. #pragma GCC diagnostic push
  354. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  355. #endif // __GNUC__
  356. // AGVStatu
  357. // float x = 1;
  358. inline void AGVStatu::clear_x() {
  359. x_ = 0;
  360. }
  361. inline float AGVStatu::_internal_x() const {
  362. return x_;
  363. }
  364. inline float AGVStatu::x() const {
  365. // @@protoc_insertion_point(field_get:AGVStatu.x)
  366. return _internal_x();
  367. }
  368. inline void AGVStatu::_internal_set_x(float value) {
  369. x_ = value;
  370. }
  371. inline void AGVStatu::set_x(float value) {
  372. _internal_set_x(value);
  373. // @@protoc_insertion_point(field_set:AGVStatu.x)
  374. }
  375. // float y = 2;
  376. inline void AGVStatu::clear_y() {
  377. y_ = 0;
  378. }
  379. inline float AGVStatu::_internal_y() const {
  380. return y_;
  381. }
  382. inline float AGVStatu::y() const {
  383. // @@protoc_insertion_point(field_get:AGVStatu.y)
  384. return _internal_y();
  385. }
  386. inline void AGVStatu::_internal_set_y(float value) {
  387. y_ = value;
  388. }
  389. inline void AGVStatu::set_y(float value) {
  390. _internal_set_y(value);
  391. // @@protoc_insertion_point(field_set:AGVStatu.y)
  392. }
  393. // float theta = 3;
  394. inline void AGVStatu::clear_theta() {
  395. theta_ = 0;
  396. }
  397. inline float AGVStatu::_internal_theta() const {
  398. return theta_;
  399. }
  400. inline float AGVStatu::theta() const {
  401. // @@protoc_insertion_point(field_get:AGVStatu.theta)
  402. return _internal_theta();
  403. }
  404. inline void AGVStatu::_internal_set_theta(float value) {
  405. theta_ = value;
  406. }
  407. inline void AGVStatu::set_theta(float value) {
  408. _internal_set_theta(value);
  409. // @@protoc_insertion_point(field_set:AGVStatu.theta)
  410. }
  411. // float v = 4;
  412. inline void AGVStatu::clear_v() {
  413. v_ = 0;
  414. }
  415. inline float AGVStatu::_internal_v() const {
  416. return v_;
  417. }
  418. inline float AGVStatu::v() const {
  419. // @@protoc_insertion_point(field_get:AGVStatu.v)
  420. return _internal_v();
  421. }
  422. inline void AGVStatu::_internal_set_v(float value) {
  423. v_ = value;
  424. }
  425. inline void AGVStatu::set_v(float value) {
  426. _internal_set_v(value);
  427. // @@protoc_insertion_point(field_set:AGVStatu.v)
  428. }
  429. // float vth = 5;
  430. inline void AGVStatu::clear_vth() {
  431. vth_ = 0;
  432. }
  433. inline float AGVStatu::_internal_vth() const {
  434. return vth_;
  435. }
  436. inline float AGVStatu::vth() const {
  437. // @@protoc_insertion_point(field_get:AGVStatu.vth)
  438. return _internal_vth();
  439. }
  440. inline void AGVStatu::_internal_set_vth(float value) {
  441. vth_ = value;
  442. }
  443. inline void AGVStatu::set_vth(float value) {
  444. _internal_set_vth(value);
  445. // @@protoc_insertion_point(field_set:AGVStatu.vth)
  446. }
  447. // -------------------------------------------------------------------
  448. // ChangeSpeedCmd
  449. // float v = 1;
  450. inline void ChangeSpeedCmd::clear_v() {
  451. v_ = 0;
  452. }
  453. inline float ChangeSpeedCmd::_internal_v() const {
  454. return v_;
  455. }
  456. inline float ChangeSpeedCmd::v() const {
  457. // @@protoc_insertion_point(field_get:ChangeSpeedCmd.v)
  458. return _internal_v();
  459. }
  460. inline void ChangeSpeedCmd::_internal_set_v(float value) {
  461. v_ = value;
  462. }
  463. inline void ChangeSpeedCmd::set_v(float value) {
  464. _internal_set_v(value);
  465. // @@protoc_insertion_point(field_set:ChangeSpeedCmd.v)
  466. }
  467. // float vth = 2;
  468. inline void ChangeSpeedCmd::clear_vth() {
  469. vth_ = 0;
  470. }
  471. inline float ChangeSpeedCmd::_internal_vth() const {
  472. return vth_;
  473. }
  474. inline float ChangeSpeedCmd::vth() const {
  475. // @@protoc_insertion_point(field_get:ChangeSpeedCmd.vth)
  476. return _internal_vth();
  477. }
  478. inline void ChangeSpeedCmd::_internal_set_vth(float value) {
  479. vth_ = value;
  480. }
  481. inline void ChangeSpeedCmd::set_vth(float value) {
  482. _internal_set_vth(value);
  483. // @@protoc_insertion_point(field_set:ChangeSpeedCmd.vth)
  484. }
  485. #ifdef __GNUC__
  486. #pragma GCC diagnostic pop
  487. #endif // __GNUC__
  488. // -------------------------------------------------------------------
  489. // @@protoc_insertion_point(namespace_scope)
  490. // @@protoc_insertion_point(global_scope)
  491. #include <google/protobuf/port_undef.inc>
  492. #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_message_2eproto