wj_lidar_msg.pb.h 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: wj_lidar_msg.proto
  3. #ifndef PROTOBUF_wj_5flidar_5fmsg_2eproto__INCLUDED
  4. #define PROTOBUF_wj_5flidar_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_wj_5flidar_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 InitDefaultsTerminal_fence_statuImpl();
  40. void InitDefaultsTerminal_fence_statu();
  41. void InitDefaultsFence_statu_messageImpl();
  42. void InitDefaultsFence_statu_message();
  43. inline void InitDefaults() {
  44. InitDefaultsTerminal_fence_statu();
  45. InitDefaultsFence_statu_message();
  46. }
  47. } // namespace protobuf_wj_5flidar_5fmsg_2eproto
  48. namespace wj_lidar_message {
  49. class Fence_statu_message;
  50. class Fence_statu_messageDefaultTypeInternal;
  51. extern Fence_statu_messageDefaultTypeInternal _Fence_statu_message_default_instance_;
  52. class Terminal_fence_statu;
  53. class Terminal_fence_statuDefaultTypeInternal;
  54. extern Terminal_fence_statuDefaultTypeInternal _Terminal_fence_statu_default_instance_;
  55. } // namespace wj_lidar_message
  56. namespace wj_lidar_message {
  57. // ===================================================================
  58. class Terminal_fence_statu : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:wj_lidar_message.Terminal_fence_statu) */ {
  59. public:
  60. Terminal_fence_statu();
  61. virtual ~Terminal_fence_statu();
  62. Terminal_fence_statu(const Terminal_fence_statu& from);
  63. inline Terminal_fence_statu& operator=(const Terminal_fence_statu& from) {
  64. CopyFrom(from);
  65. return *this;
  66. }
  67. #if LANG_CXX11
  68. Terminal_fence_statu(Terminal_fence_statu&& from) noexcept
  69. : Terminal_fence_statu() {
  70. *this = ::std::move(from);
  71. }
  72. inline Terminal_fence_statu& operator=(Terminal_fence_statu&& 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 Terminal_fence_statu& default_instance();
  89. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  90. static inline const Terminal_fence_statu* internal_default_instance() {
  91. return reinterpret_cast<const Terminal_fence_statu*>(
  92. &_Terminal_fence_statu_default_instance_);
  93. }
  94. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  95. 0;
  96. void Swap(Terminal_fence_statu* other);
  97. friend void swap(Terminal_fence_statu& a, Terminal_fence_statu& b) {
  98. a.Swap(&b);
  99. }
  100. // implements Message ----------------------------------------------
  101. inline Terminal_fence_statu* New() const PROTOBUF_FINAL { return New(NULL); }
  102. Terminal_fence_statu* 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 Terminal_fence_statu& from);
  106. void MergeFrom(const Terminal_fence_statu& 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(Terminal_fence_statu* 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 int64 terminal_id = 1;
  134. bool has_terminal_id() const;
  135. void clear_terminal_id();
  136. static const int kTerminalIdFieldNumber = 1;
  137. ::google::protobuf::int64 terminal_id() const;
  138. void set_terminal_id(::google::protobuf::int64 value);
  139. // required int64 cloud_statu = 2;
  140. bool has_cloud_statu() const;
  141. void clear_cloud_statu();
  142. static const int kCloudStatuFieldNumber = 2;
  143. ::google::protobuf::int64 cloud_statu() const;
  144. void set_cloud_statu(::google::protobuf::int64 value);
  145. // required int64 position_statu = 3;
  146. bool has_position_statu() const;
  147. void clear_position_statu();
  148. static const int kPositionStatuFieldNumber = 3;
  149. ::google::protobuf::int64 position_statu() const;
  150. void set_position_statu(::google::protobuf::int64 value);
  151. // @@protoc_insertion_point(class_scope:wj_lidar_message.Terminal_fence_statu)
  152. private:
  153. void set_has_terminal_id();
  154. void clear_has_terminal_id();
  155. void set_has_cloud_statu();
  156. void clear_has_cloud_statu();
  157. void set_has_position_statu();
  158. void clear_has_position_statu();
  159. // helper for ByteSizeLong()
  160. size_t RequiredFieldsByteSizeFallback() const;
  161. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  162. ::google::protobuf::internal::HasBits<1> _has_bits_;
  163. mutable int _cached_size_;
  164. ::google::protobuf::int64 terminal_id_;
  165. ::google::protobuf::int64 cloud_statu_;
  166. ::google::protobuf::int64 position_statu_;
  167. friend struct ::protobuf_wj_5flidar_5fmsg_2eproto::TableStruct;
  168. friend void ::protobuf_wj_5flidar_5fmsg_2eproto::InitDefaultsTerminal_fence_statuImpl();
  169. };
  170. // -------------------------------------------------------------------
  171. class Fence_statu_message : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:wj_lidar_message.Fence_statu_message) */ {
  172. public:
  173. Fence_statu_message();
  174. virtual ~Fence_statu_message();
  175. Fence_statu_message(const Fence_statu_message& from);
  176. inline Fence_statu_message& operator=(const Fence_statu_message& from) {
  177. CopyFrom(from);
  178. return *this;
  179. }
  180. #if LANG_CXX11
  181. Fence_statu_message(Fence_statu_message&& from) noexcept
  182. : Fence_statu_message() {
  183. *this = ::std::move(from);
  184. }
  185. inline Fence_statu_message& operator=(Fence_statu_message&& from) noexcept {
  186. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  187. if (this != &from) InternalSwap(&from);
  188. } else {
  189. CopyFrom(from);
  190. }
  191. return *this;
  192. }
  193. #endif
  194. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  195. return _internal_metadata_.unknown_fields();
  196. }
  197. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  198. return _internal_metadata_.mutable_unknown_fields();
  199. }
  200. static const ::google::protobuf::Descriptor* descriptor();
  201. static const Fence_statu_message& default_instance();
  202. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  203. static inline const Fence_statu_message* internal_default_instance() {
  204. return reinterpret_cast<const Fence_statu_message*>(
  205. &_Fence_statu_message_default_instance_);
  206. }
  207. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  208. 1;
  209. void Swap(Fence_statu_message* other);
  210. friend void swap(Fence_statu_message& a, Fence_statu_message& b) {
  211. a.Swap(&b);
  212. }
  213. // implements Message ----------------------------------------------
  214. inline Fence_statu_message* New() const PROTOBUF_FINAL { return New(NULL); }
  215. Fence_statu_message* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  216. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  217. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  218. void CopyFrom(const Fence_statu_message& from);
  219. void MergeFrom(const Fence_statu_message& from);
  220. void Clear() PROTOBUF_FINAL;
  221. bool IsInitialized() const PROTOBUF_FINAL;
  222. size_t ByteSizeLong() const PROTOBUF_FINAL;
  223. bool MergePartialFromCodedStream(
  224. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  225. void SerializeWithCachedSizes(
  226. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  227. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  228. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  229. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  230. private:
  231. void SharedCtor();
  232. void SharedDtor();
  233. void SetCachedSize(int size) const PROTOBUF_FINAL;
  234. void InternalSwap(Fence_statu_message* other);
  235. private:
  236. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  237. return NULL;
  238. }
  239. inline void* MaybeArenaPtr() const {
  240. return NULL;
  241. }
  242. public:
  243. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  244. // nested types ----------------------------------------------------
  245. // accessors -------------------------------------------------------
  246. // repeated .wj_lidar_message.Terminal_fence_statu fence_statu = 1;
  247. int fence_statu_size() const;
  248. void clear_fence_statu();
  249. static const int kFenceStatuFieldNumber = 1;
  250. const ::wj_lidar_message::Terminal_fence_statu& fence_statu(int index) const;
  251. ::wj_lidar_message::Terminal_fence_statu* mutable_fence_statu(int index);
  252. ::wj_lidar_message::Terminal_fence_statu* add_fence_statu();
  253. ::google::protobuf::RepeatedPtrField< ::wj_lidar_message::Terminal_fence_statu >*
  254. mutable_fence_statu();
  255. const ::google::protobuf::RepeatedPtrField< ::wj_lidar_message::Terminal_fence_statu >&
  256. fence_statu() const;
  257. // @@protoc_insertion_point(class_scope:wj_lidar_message.Fence_statu_message)
  258. private:
  259. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  260. ::google::protobuf::internal::HasBits<1> _has_bits_;
  261. mutable int _cached_size_;
  262. ::google::protobuf::RepeatedPtrField< ::wj_lidar_message::Terminal_fence_statu > fence_statu_;
  263. friend struct ::protobuf_wj_5flidar_5fmsg_2eproto::TableStruct;
  264. friend void ::protobuf_wj_5flidar_5fmsg_2eproto::InitDefaultsFence_statu_messageImpl();
  265. };
  266. // ===================================================================
  267. // ===================================================================
  268. #ifdef __GNUC__
  269. #pragma GCC diagnostic push
  270. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  271. #endif // __GNUC__
  272. // Terminal_fence_statu
  273. // required int64 terminal_id = 1;
  274. inline bool Terminal_fence_statu::has_terminal_id() const {
  275. return (_has_bits_[0] & 0x00000001u) != 0;
  276. }
  277. inline void Terminal_fence_statu::set_has_terminal_id() {
  278. _has_bits_[0] |= 0x00000001u;
  279. }
  280. inline void Terminal_fence_statu::clear_has_terminal_id() {
  281. _has_bits_[0] &= ~0x00000001u;
  282. }
  283. inline void Terminal_fence_statu::clear_terminal_id() {
  284. terminal_id_ = GOOGLE_LONGLONG(0);
  285. clear_has_terminal_id();
  286. }
  287. inline ::google::protobuf::int64 Terminal_fence_statu::terminal_id() const {
  288. // @@protoc_insertion_point(field_get:wj_lidar_message.Terminal_fence_statu.terminal_id)
  289. return terminal_id_;
  290. }
  291. inline void Terminal_fence_statu::set_terminal_id(::google::protobuf::int64 value) {
  292. set_has_terminal_id();
  293. terminal_id_ = value;
  294. // @@protoc_insertion_point(field_set:wj_lidar_message.Terminal_fence_statu.terminal_id)
  295. }
  296. // required int64 cloud_statu = 2;
  297. inline bool Terminal_fence_statu::has_cloud_statu() const {
  298. return (_has_bits_[0] & 0x00000002u) != 0;
  299. }
  300. inline void Terminal_fence_statu::set_has_cloud_statu() {
  301. _has_bits_[0] |= 0x00000002u;
  302. }
  303. inline void Terminal_fence_statu::clear_has_cloud_statu() {
  304. _has_bits_[0] &= ~0x00000002u;
  305. }
  306. inline void Terminal_fence_statu::clear_cloud_statu() {
  307. cloud_statu_ = GOOGLE_LONGLONG(0);
  308. clear_has_cloud_statu();
  309. }
  310. inline ::google::protobuf::int64 Terminal_fence_statu::cloud_statu() const {
  311. // @@protoc_insertion_point(field_get:wj_lidar_message.Terminal_fence_statu.cloud_statu)
  312. return cloud_statu_;
  313. }
  314. inline void Terminal_fence_statu::set_cloud_statu(::google::protobuf::int64 value) {
  315. set_has_cloud_statu();
  316. cloud_statu_ = value;
  317. // @@protoc_insertion_point(field_set:wj_lidar_message.Terminal_fence_statu.cloud_statu)
  318. }
  319. // required int64 position_statu = 3;
  320. inline bool Terminal_fence_statu::has_position_statu() const {
  321. return (_has_bits_[0] & 0x00000004u) != 0;
  322. }
  323. inline void Terminal_fence_statu::set_has_position_statu() {
  324. _has_bits_[0] |= 0x00000004u;
  325. }
  326. inline void Terminal_fence_statu::clear_has_position_statu() {
  327. _has_bits_[0] &= ~0x00000004u;
  328. }
  329. inline void Terminal_fence_statu::clear_position_statu() {
  330. position_statu_ = GOOGLE_LONGLONG(0);
  331. clear_has_position_statu();
  332. }
  333. inline ::google::protobuf::int64 Terminal_fence_statu::position_statu() const {
  334. // @@protoc_insertion_point(field_get:wj_lidar_message.Terminal_fence_statu.position_statu)
  335. return position_statu_;
  336. }
  337. inline void Terminal_fence_statu::set_position_statu(::google::protobuf::int64 value) {
  338. set_has_position_statu();
  339. position_statu_ = value;
  340. // @@protoc_insertion_point(field_set:wj_lidar_message.Terminal_fence_statu.position_statu)
  341. }
  342. // -------------------------------------------------------------------
  343. // Fence_statu_message
  344. // repeated .wj_lidar_message.Terminal_fence_statu fence_statu = 1;
  345. inline int Fence_statu_message::fence_statu_size() const {
  346. return fence_statu_.size();
  347. }
  348. inline void Fence_statu_message::clear_fence_statu() {
  349. fence_statu_.Clear();
  350. }
  351. inline const ::wj_lidar_message::Terminal_fence_statu& Fence_statu_message::fence_statu(int index) const {
  352. // @@protoc_insertion_point(field_get:wj_lidar_message.Fence_statu_message.fence_statu)
  353. return fence_statu_.Get(index);
  354. }
  355. inline ::wj_lidar_message::Terminal_fence_statu* Fence_statu_message::mutable_fence_statu(int index) {
  356. // @@protoc_insertion_point(field_mutable:wj_lidar_message.Fence_statu_message.fence_statu)
  357. return fence_statu_.Mutable(index);
  358. }
  359. inline ::wj_lidar_message::Terminal_fence_statu* Fence_statu_message::add_fence_statu() {
  360. // @@protoc_insertion_point(field_add:wj_lidar_message.Fence_statu_message.fence_statu)
  361. return fence_statu_.Add();
  362. }
  363. inline ::google::protobuf::RepeatedPtrField< ::wj_lidar_message::Terminal_fence_statu >*
  364. Fence_statu_message::mutable_fence_statu() {
  365. // @@protoc_insertion_point(field_mutable_list:wj_lidar_message.Fence_statu_message.fence_statu)
  366. return &fence_statu_;
  367. }
  368. inline const ::google::protobuf::RepeatedPtrField< ::wj_lidar_message::Terminal_fence_statu >&
  369. Fence_statu_message::fence_statu() const {
  370. // @@protoc_insertion_point(field_list:wj_lidar_message.Fence_statu_message.fence_statu)
  371. return fence_statu_;
  372. }
  373. #ifdef __GNUC__
  374. #pragma GCC diagnostic pop
  375. #endif // __GNUC__
  376. // -------------------------------------------------------------------
  377. // @@protoc_insertion_point(namespace_scope)
  378. } // namespace wj_lidar_message
  379. // @@protoc_insertion_point(global_scope)
  380. #endif // PROTOBUF_wj_5flidar_5fmsg_2eproto__INCLUDED