wj_lidar_msg.pb.h 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: wj_lidar_msg.proto
  3. #ifndef GOOGLE_PROTOBUF_INCLUDED_wj_5flidar_5fmsg_2eproto
  4. #define GOOGLE_PROTOBUF_INCLUDED_wj_5flidar_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_wj_5flidar_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_wj_5flidar_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_wj_5flidar_5fmsg_2eproto;
  52. namespace wj_lidar_message {
  53. class Fence_statu_message;
  54. class Fence_statu_messageDefaultTypeInternal;
  55. extern Fence_statu_messageDefaultTypeInternal _Fence_statu_message_default_instance_;
  56. class Terminal_fence_statu;
  57. class Terminal_fence_statuDefaultTypeInternal;
  58. extern Terminal_fence_statuDefaultTypeInternal _Terminal_fence_statu_default_instance_;
  59. } // namespace wj_lidar_message
  60. PROTOBUF_NAMESPACE_OPEN
  61. template<> ::wj_lidar_message::Fence_statu_message* Arena::CreateMaybeMessage<::wj_lidar_message::Fence_statu_message>(Arena*);
  62. template<> ::wj_lidar_message::Terminal_fence_statu* Arena::CreateMaybeMessage<::wj_lidar_message::Terminal_fence_statu>(Arena*);
  63. PROTOBUF_NAMESPACE_CLOSE
  64. namespace wj_lidar_message {
  65. // ===================================================================
  66. class Terminal_fence_statu PROTOBUF_FINAL :
  67. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:wj_lidar_message.Terminal_fence_statu) */ {
  68. public:
  69. inline Terminal_fence_statu() : Terminal_fence_statu(nullptr) {}
  70. virtual ~Terminal_fence_statu();
  71. Terminal_fence_statu(const Terminal_fence_statu& from);
  72. Terminal_fence_statu(Terminal_fence_statu&& from) noexcept
  73. : Terminal_fence_statu() {
  74. *this = ::std::move(from);
  75. }
  76. inline Terminal_fence_statu& operator=(const Terminal_fence_statu& from) {
  77. CopyFrom(from);
  78. return *this;
  79. }
  80. inline Terminal_fence_statu& operator=(Terminal_fence_statu&& 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 Terminal_fence_statu& default_instance();
  104. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  105. static inline const Terminal_fence_statu* internal_default_instance() {
  106. return reinterpret_cast<const Terminal_fence_statu*>(
  107. &_Terminal_fence_statu_default_instance_);
  108. }
  109. static constexpr int kIndexInFileMessages =
  110. 0;
  111. friend void swap(Terminal_fence_statu& a, Terminal_fence_statu& b) {
  112. a.Swap(&b);
  113. }
  114. inline void Swap(Terminal_fence_statu* 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(Terminal_fence_statu* other) {
  123. if (other == this) return;
  124. GOOGLE_DCHECK(GetArena() == other->GetArena());
  125. InternalSwap(other);
  126. }
  127. // implements Message ----------------------------------------------
  128. inline Terminal_fence_statu* New() const final {
  129. return CreateMaybeMessage<Terminal_fence_statu>(nullptr);
  130. }
  131. Terminal_fence_statu* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  132. return CreateMaybeMessage<Terminal_fence_statu>(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 Terminal_fence_statu& from);
  137. void MergeFrom(const Terminal_fence_statu& 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(Terminal_fence_statu* other);
  150. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  151. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  152. return "wj_lidar_message.Terminal_fence_statu";
  153. }
  154. protected:
  155. explicit Terminal_fence_statu(::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_wj_5flidar_5fmsg_2eproto);
  164. return ::descriptor_table_wj_5flidar_5fmsg_2eproto.file_level_metadata[kIndexInFileMessages];
  165. }
  166. public:
  167. // nested types ----------------------------------------------------
  168. // accessors -------------------------------------------------------
  169. enum : int {
  170. kTerminalIdFieldNumber = 1,
  171. kCloudStatuFieldNumber = 2,
  172. kPositionStatuFieldNumber = 3,
  173. };
  174. // required int64 terminal_id = 1;
  175. bool has_terminal_id() const;
  176. private:
  177. bool _internal_has_terminal_id() const;
  178. public:
  179. void clear_terminal_id();
  180. ::PROTOBUF_NAMESPACE_ID::int64 terminal_id() const;
  181. void set_terminal_id(::PROTOBUF_NAMESPACE_ID::int64 value);
  182. private:
  183. ::PROTOBUF_NAMESPACE_ID::int64 _internal_terminal_id() const;
  184. void _internal_set_terminal_id(::PROTOBUF_NAMESPACE_ID::int64 value);
  185. public:
  186. // required int64 cloud_statu = 2;
  187. bool has_cloud_statu() const;
  188. private:
  189. bool _internal_has_cloud_statu() const;
  190. public:
  191. void clear_cloud_statu();
  192. ::PROTOBUF_NAMESPACE_ID::int64 cloud_statu() const;
  193. void set_cloud_statu(::PROTOBUF_NAMESPACE_ID::int64 value);
  194. private:
  195. ::PROTOBUF_NAMESPACE_ID::int64 _internal_cloud_statu() const;
  196. void _internal_set_cloud_statu(::PROTOBUF_NAMESPACE_ID::int64 value);
  197. public:
  198. // required int64 position_statu = 3;
  199. bool has_position_statu() const;
  200. private:
  201. bool _internal_has_position_statu() const;
  202. public:
  203. void clear_position_statu();
  204. ::PROTOBUF_NAMESPACE_ID::int64 position_statu() const;
  205. void set_position_statu(::PROTOBUF_NAMESPACE_ID::int64 value);
  206. private:
  207. ::PROTOBUF_NAMESPACE_ID::int64 _internal_position_statu() const;
  208. void _internal_set_position_statu(::PROTOBUF_NAMESPACE_ID::int64 value);
  209. public:
  210. // @@protoc_insertion_point(class_scope:wj_lidar_message.Terminal_fence_statu)
  211. private:
  212. class _Internal;
  213. // helper for ByteSizeLong()
  214. size_t RequiredFieldsByteSizeFallback() const;
  215. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  216. typedef void InternalArenaConstructable_;
  217. typedef void DestructorSkippable_;
  218. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  219. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  220. ::PROTOBUF_NAMESPACE_ID::int64 terminal_id_;
  221. ::PROTOBUF_NAMESPACE_ID::int64 cloud_statu_;
  222. ::PROTOBUF_NAMESPACE_ID::int64 position_statu_;
  223. friend struct ::TableStruct_wj_5flidar_5fmsg_2eproto;
  224. };
  225. // -------------------------------------------------------------------
  226. class Fence_statu_message PROTOBUF_FINAL :
  227. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:wj_lidar_message.Fence_statu_message) */ {
  228. public:
  229. inline Fence_statu_message() : Fence_statu_message(nullptr) {}
  230. virtual ~Fence_statu_message();
  231. Fence_statu_message(const Fence_statu_message& from);
  232. Fence_statu_message(Fence_statu_message&& from) noexcept
  233. : Fence_statu_message() {
  234. *this = ::std::move(from);
  235. }
  236. inline Fence_statu_message& operator=(const Fence_statu_message& from) {
  237. CopyFrom(from);
  238. return *this;
  239. }
  240. inline Fence_statu_message& operator=(Fence_statu_message&& from) noexcept {
  241. if (GetArena() == from.GetArena()) {
  242. if (this != &from) InternalSwap(&from);
  243. } else {
  244. CopyFrom(from);
  245. }
  246. return *this;
  247. }
  248. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  249. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  250. }
  251. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  252. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  253. }
  254. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  255. return GetDescriptor();
  256. }
  257. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  258. return GetMetadataStatic().descriptor;
  259. }
  260. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  261. return GetMetadataStatic().reflection;
  262. }
  263. static const Fence_statu_message& default_instance();
  264. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  265. static inline const Fence_statu_message* internal_default_instance() {
  266. return reinterpret_cast<const Fence_statu_message*>(
  267. &_Fence_statu_message_default_instance_);
  268. }
  269. static constexpr int kIndexInFileMessages =
  270. 1;
  271. friend void swap(Fence_statu_message& a, Fence_statu_message& b) {
  272. a.Swap(&b);
  273. }
  274. inline void Swap(Fence_statu_message* other) {
  275. if (other == this) return;
  276. if (GetArena() == other->GetArena()) {
  277. InternalSwap(other);
  278. } else {
  279. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  280. }
  281. }
  282. void UnsafeArenaSwap(Fence_statu_message* other) {
  283. if (other == this) return;
  284. GOOGLE_DCHECK(GetArena() == other->GetArena());
  285. InternalSwap(other);
  286. }
  287. // implements Message ----------------------------------------------
  288. inline Fence_statu_message* New() const final {
  289. return CreateMaybeMessage<Fence_statu_message>(nullptr);
  290. }
  291. Fence_statu_message* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  292. return CreateMaybeMessage<Fence_statu_message>(arena);
  293. }
  294. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  295. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  296. void CopyFrom(const Fence_statu_message& from);
  297. void MergeFrom(const Fence_statu_message& from);
  298. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  299. bool IsInitialized() const final;
  300. size_t ByteSizeLong() const final;
  301. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  302. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  303. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  304. int GetCachedSize() const final { return _cached_size_.Get(); }
  305. private:
  306. inline void SharedCtor();
  307. inline void SharedDtor();
  308. void SetCachedSize(int size) const final;
  309. void InternalSwap(Fence_statu_message* other);
  310. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  311. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  312. return "wj_lidar_message.Fence_statu_message";
  313. }
  314. protected:
  315. explicit Fence_statu_message(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  316. private:
  317. static void ArenaDtor(void* object);
  318. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  319. public:
  320. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  321. private:
  322. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  323. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_wj_5flidar_5fmsg_2eproto);
  324. return ::descriptor_table_wj_5flidar_5fmsg_2eproto.file_level_metadata[kIndexInFileMessages];
  325. }
  326. public:
  327. // nested types ----------------------------------------------------
  328. // accessors -------------------------------------------------------
  329. enum : int {
  330. kFenceStatuFieldNumber = 1,
  331. };
  332. // repeated .wj_lidar_message.Terminal_fence_statu fence_statu = 1;
  333. int fence_statu_size() const;
  334. private:
  335. int _internal_fence_statu_size() const;
  336. public:
  337. void clear_fence_statu();
  338. ::wj_lidar_message::Terminal_fence_statu* mutable_fence_statu(int index);
  339. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::wj_lidar_message::Terminal_fence_statu >*
  340. mutable_fence_statu();
  341. private:
  342. const ::wj_lidar_message::Terminal_fence_statu& _internal_fence_statu(int index) const;
  343. ::wj_lidar_message::Terminal_fence_statu* _internal_add_fence_statu();
  344. public:
  345. const ::wj_lidar_message::Terminal_fence_statu& fence_statu(int index) const;
  346. ::wj_lidar_message::Terminal_fence_statu* add_fence_statu();
  347. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::wj_lidar_message::Terminal_fence_statu >&
  348. fence_statu() const;
  349. // @@protoc_insertion_point(class_scope:wj_lidar_message.Fence_statu_message)
  350. private:
  351. class _Internal;
  352. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  353. typedef void InternalArenaConstructable_;
  354. typedef void DestructorSkippable_;
  355. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::wj_lidar_message::Terminal_fence_statu > fence_statu_;
  356. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  357. friend struct ::TableStruct_wj_5flidar_5fmsg_2eproto;
  358. };
  359. // ===================================================================
  360. // ===================================================================
  361. #ifdef __GNUC__
  362. #pragma GCC diagnostic push
  363. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  364. #endif // __GNUC__
  365. // Terminal_fence_statu
  366. // required int64 terminal_id = 1;
  367. inline bool Terminal_fence_statu::_internal_has_terminal_id() const {
  368. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  369. return value;
  370. }
  371. inline bool Terminal_fence_statu::has_terminal_id() const {
  372. return _internal_has_terminal_id();
  373. }
  374. inline void Terminal_fence_statu::clear_terminal_id() {
  375. terminal_id_ = PROTOBUF_LONGLONG(0);
  376. _has_bits_[0] &= ~0x00000001u;
  377. }
  378. inline ::PROTOBUF_NAMESPACE_ID::int64 Terminal_fence_statu::_internal_terminal_id() const {
  379. return terminal_id_;
  380. }
  381. inline ::PROTOBUF_NAMESPACE_ID::int64 Terminal_fence_statu::terminal_id() const {
  382. // @@protoc_insertion_point(field_get:wj_lidar_message.Terminal_fence_statu.terminal_id)
  383. return _internal_terminal_id();
  384. }
  385. inline void Terminal_fence_statu::_internal_set_terminal_id(::PROTOBUF_NAMESPACE_ID::int64 value) {
  386. _has_bits_[0] |= 0x00000001u;
  387. terminal_id_ = value;
  388. }
  389. inline void Terminal_fence_statu::set_terminal_id(::PROTOBUF_NAMESPACE_ID::int64 value) {
  390. _internal_set_terminal_id(value);
  391. // @@protoc_insertion_point(field_set:wj_lidar_message.Terminal_fence_statu.terminal_id)
  392. }
  393. // required int64 cloud_statu = 2;
  394. inline bool Terminal_fence_statu::_internal_has_cloud_statu() const {
  395. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  396. return value;
  397. }
  398. inline bool Terminal_fence_statu::has_cloud_statu() const {
  399. return _internal_has_cloud_statu();
  400. }
  401. inline void Terminal_fence_statu::clear_cloud_statu() {
  402. cloud_statu_ = PROTOBUF_LONGLONG(0);
  403. _has_bits_[0] &= ~0x00000002u;
  404. }
  405. inline ::PROTOBUF_NAMESPACE_ID::int64 Terminal_fence_statu::_internal_cloud_statu() const {
  406. return cloud_statu_;
  407. }
  408. inline ::PROTOBUF_NAMESPACE_ID::int64 Terminal_fence_statu::cloud_statu() const {
  409. // @@protoc_insertion_point(field_get:wj_lidar_message.Terminal_fence_statu.cloud_statu)
  410. return _internal_cloud_statu();
  411. }
  412. inline void Terminal_fence_statu::_internal_set_cloud_statu(::PROTOBUF_NAMESPACE_ID::int64 value) {
  413. _has_bits_[0] |= 0x00000002u;
  414. cloud_statu_ = value;
  415. }
  416. inline void Terminal_fence_statu::set_cloud_statu(::PROTOBUF_NAMESPACE_ID::int64 value) {
  417. _internal_set_cloud_statu(value);
  418. // @@protoc_insertion_point(field_set:wj_lidar_message.Terminal_fence_statu.cloud_statu)
  419. }
  420. // required int64 position_statu = 3;
  421. inline bool Terminal_fence_statu::_internal_has_position_statu() const {
  422. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  423. return value;
  424. }
  425. inline bool Terminal_fence_statu::has_position_statu() const {
  426. return _internal_has_position_statu();
  427. }
  428. inline void Terminal_fence_statu::clear_position_statu() {
  429. position_statu_ = PROTOBUF_LONGLONG(0);
  430. _has_bits_[0] &= ~0x00000004u;
  431. }
  432. inline ::PROTOBUF_NAMESPACE_ID::int64 Terminal_fence_statu::_internal_position_statu() const {
  433. return position_statu_;
  434. }
  435. inline ::PROTOBUF_NAMESPACE_ID::int64 Terminal_fence_statu::position_statu() const {
  436. // @@protoc_insertion_point(field_get:wj_lidar_message.Terminal_fence_statu.position_statu)
  437. return _internal_position_statu();
  438. }
  439. inline void Terminal_fence_statu::_internal_set_position_statu(::PROTOBUF_NAMESPACE_ID::int64 value) {
  440. _has_bits_[0] |= 0x00000004u;
  441. position_statu_ = value;
  442. }
  443. inline void Terminal_fence_statu::set_position_statu(::PROTOBUF_NAMESPACE_ID::int64 value) {
  444. _internal_set_position_statu(value);
  445. // @@protoc_insertion_point(field_set:wj_lidar_message.Terminal_fence_statu.position_statu)
  446. }
  447. // -------------------------------------------------------------------
  448. // Fence_statu_message
  449. // repeated .wj_lidar_message.Terminal_fence_statu fence_statu = 1;
  450. inline int Fence_statu_message::_internal_fence_statu_size() const {
  451. return fence_statu_.size();
  452. }
  453. inline int Fence_statu_message::fence_statu_size() const {
  454. return _internal_fence_statu_size();
  455. }
  456. inline void Fence_statu_message::clear_fence_statu() {
  457. fence_statu_.Clear();
  458. }
  459. inline ::wj_lidar_message::Terminal_fence_statu* Fence_statu_message::mutable_fence_statu(int index) {
  460. // @@protoc_insertion_point(field_mutable:wj_lidar_message.Fence_statu_message.fence_statu)
  461. return fence_statu_.Mutable(index);
  462. }
  463. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::wj_lidar_message::Terminal_fence_statu >*
  464. Fence_statu_message::mutable_fence_statu() {
  465. // @@protoc_insertion_point(field_mutable_list:wj_lidar_message.Fence_statu_message.fence_statu)
  466. return &fence_statu_;
  467. }
  468. inline const ::wj_lidar_message::Terminal_fence_statu& Fence_statu_message::_internal_fence_statu(int index) const {
  469. return fence_statu_.Get(index);
  470. }
  471. inline const ::wj_lidar_message::Terminal_fence_statu& Fence_statu_message::fence_statu(int index) const {
  472. // @@protoc_insertion_point(field_get:wj_lidar_message.Fence_statu_message.fence_statu)
  473. return _internal_fence_statu(index);
  474. }
  475. inline ::wj_lidar_message::Terminal_fence_statu* Fence_statu_message::_internal_add_fence_statu() {
  476. return fence_statu_.Add();
  477. }
  478. inline ::wj_lidar_message::Terminal_fence_statu* Fence_statu_message::add_fence_statu() {
  479. // @@protoc_insertion_point(field_add:wj_lidar_message.Fence_statu_message.fence_statu)
  480. return _internal_add_fence_statu();
  481. }
  482. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::wj_lidar_message::Terminal_fence_statu >&
  483. Fence_statu_message::fence_statu() const {
  484. // @@protoc_insertion_point(field_list:wj_lidar_message.Fence_statu_message.fence_statu)
  485. return fence_statu_;
  486. }
  487. #ifdef __GNUC__
  488. #pragma GCC diagnostic pop
  489. #endif // __GNUC__
  490. // -------------------------------------------------------------------
  491. // @@protoc_insertion_point(namespace_scope)
  492. } // namespace wj_lidar_message
  493. // @@protoc_insertion_point(global_scope)
  494. #include <google/protobuf/port_undef.inc>
  495. #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_wj_5flidar_5fmsg_2eproto