// Generated by the protocol buffer compiler. DO NOT EDIT! // source: wj_lidar_msg.proto #ifndef PROTOBUF_wj_5flidar_5fmsg_2eproto__INCLUDED #define PROTOBUF_wj_5flidar_5fmsg_2eproto__INCLUDED #include #include #if GOOGLE_PROTOBUF_VERSION < 3005000 #error This file was generated by a newer version of protoc which is #error incompatible with your Protocol Buffer headers. Please update #error your headers. #endif #if 3005000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION #error This file was generated by an older version of protoc which is #error incompatible with your Protocol Buffer headers. Please #error regenerate this file with a newer version of protoc. #endif #include #include #include #include #include #include #include #include // IWYU pragma: export #include // IWYU pragma: export #include // @@protoc_insertion_point(includes) namespace protobuf_wj_5flidar_5fmsg_2eproto { // Internal implementation detail -- do not use these members. struct TableStruct { static const ::google::protobuf::internal::ParseTableField entries[]; static const ::google::protobuf::internal::AuxillaryParseTableField aux[]; static const ::google::protobuf::internal::ParseTable schema[2]; static const ::google::protobuf::internal::FieldMetadata field_metadata[]; static const ::google::protobuf::internal::SerializationTable serialization_table[]; static const ::google::protobuf::uint32 offsets[]; }; void AddDescriptors(); void InitDefaultsTerminal_fence_statuImpl(); void InitDefaultsTerminal_fence_statu(); void InitDefaultsFence_statu_messageImpl(); void InitDefaultsFence_statu_message(); inline void InitDefaults() { InitDefaultsTerminal_fence_statu(); InitDefaultsFence_statu_message(); } } // namespace protobuf_wj_5flidar_5fmsg_2eproto namespace wj_lidar_message { class Fence_statu_message; class Fence_statu_messageDefaultTypeInternal; extern Fence_statu_messageDefaultTypeInternal _Fence_statu_message_default_instance_; class Terminal_fence_statu; class Terminal_fence_statuDefaultTypeInternal; extern Terminal_fence_statuDefaultTypeInternal _Terminal_fence_statu_default_instance_; } // namespace wj_lidar_message namespace wj_lidar_message { // =================================================================== class Terminal_fence_statu : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:wj_lidar_message.Terminal_fence_statu) */ { public: Terminal_fence_statu(); virtual ~Terminal_fence_statu(); Terminal_fence_statu(const Terminal_fence_statu& from); inline Terminal_fence_statu& operator=(const Terminal_fence_statu& from) { CopyFrom(from); return *this; } #if LANG_CXX11 Terminal_fence_statu(Terminal_fence_statu&& from) noexcept : Terminal_fence_statu() { *this = ::std::move(from); } inline Terminal_fence_statu& operator=(Terminal_fence_statu&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } #endif inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ::google::protobuf::Descriptor* descriptor(); static const Terminal_fence_statu& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const Terminal_fence_statu* internal_default_instance() { return reinterpret_cast( &_Terminal_fence_statu_default_instance_); } static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = 0; void Swap(Terminal_fence_statu* other); friend void swap(Terminal_fence_statu& a, Terminal_fence_statu& b) { a.Swap(&b); } // implements Message ---------------------------------------------- inline Terminal_fence_statu* New() const PROTOBUF_FINAL { return New(NULL); } Terminal_fence_statu* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; void CopyFrom(const Terminal_fence_statu& from); void MergeFrom(const Terminal_fence_statu& from); void Clear() PROTOBUF_FINAL; bool IsInitialized() const PROTOBUF_FINAL; size_t ByteSizeLong() const PROTOBUF_FINAL; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const PROTOBUF_FINAL; void InternalSwap(Terminal_fence_statu* other); private: inline ::google::protobuf::Arena* GetArenaNoVirtual() const { return NULL; } inline void* MaybeArenaPtr() const { return NULL; } public: ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // required int64 terminal_id = 1; bool has_terminal_id() const; void clear_terminal_id(); static const int kTerminalIdFieldNumber = 1; ::google::protobuf::int64 terminal_id() const; void set_terminal_id(::google::protobuf::int64 value); // required int64 cloud_statu = 2; bool has_cloud_statu() const; void clear_cloud_statu(); static const int kCloudStatuFieldNumber = 2; ::google::protobuf::int64 cloud_statu() const; void set_cloud_statu(::google::protobuf::int64 value); // required int64 position_statu = 3; bool has_position_statu() const; void clear_position_statu(); static const int kPositionStatuFieldNumber = 3; ::google::protobuf::int64 position_statu() const; void set_position_statu(::google::protobuf::int64 value); // @@protoc_insertion_point(class_scope:wj_lidar_message.Terminal_fence_statu) private: void set_has_terminal_id(); void clear_has_terminal_id(); void set_has_cloud_statu(); void clear_has_cloud_statu(); void set_has_position_statu(); void clear_has_position_statu(); // helper for ByteSizeLong() size_t RequiredFieldsByteSizeFallback() const; ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; ::google::protobuf::internal::HasBits<1> _has_bits_; mutable int _cached_size_; ::google::protobuf::int64 terminal_id_; ::google::protobuf::int64 cloud_statu_; ::google::protobuf::int64 position_statu_; friend struct ::protobuf_wj_5flidar_5fmsg_2eproto::TableStruct; friend void ::protobuf_wj_5flidar_5fmsg_2eproto::InitDefaultsTerminal_fence_statuImpl(); }; // ------------------------------------------------------------------- class Fence_statu_message : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:wj_lidar_message.Fence_statu_message) */ { public: Fence_statu_message(); virtual ~Fence_statu_message(); Fence_statu_message(const Fence_statu_message& from); inline Fence_statu_message& operator=(const Fence_statu_message& from) { CopyFrom(from); return *this; } #if LANG_CXX11 Fence_statu_message(Fence_statu_message&& from) noexcept : Fence_statu_message() { *this = ::std::move(from); } inline Fence_statu_message& operator=(Fence_statu_message&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } #endif inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ::google::protobuf::Descriptor* descriptor(); static const Fence_statu_message& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const Fence_statu_message* internal_default_instance() { return reinterpret_cast( &_Fence_statu_message_default_instance_); } static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = 1; void Swap(Fence_statu_message* other); friend void swap(Fence_statu_message& a, Fence_statu_message& b) { a.Swap(&b); } // implements Message ---------------------------------------------- inline Fence_statu_message* New() const PROTOBUF_FINAL { return New(NULL); } Fence_statu_message* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; void CopyFrom(const Fence_statu_message& from); void MergeFrom(const Fence_statu_message& from); void Clear() PROTOBUF_FINAL; bool IsInitialized() const PROTOBUF_FINAL; size_t ByteSizeLong() const PROTOBUF_FINAL; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const PROTOBUF_FINAL; void InternalSwap(Fence_statu_message* other); private: inline ::google::protobuf::Arena* GetArenaNoVirtual() const { return NULL; } inline void* MaybeArenaPtr() const { return NULL; } public: ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // repeated .wj_lidar_message.Terminal_fence_statu fence_statu = 1; int fence_statu_size() const; void clear_fence_statu(); static const int kFenceStatuFieldNumber = 1; const ::wj_lidar_message::Terminal_fence_statu& fence_statu(int index) const; ::wj_lidar_message::Terminal_fence_statu* mutable_fence_statu(int index); ::wj_lidar_message::Terminal_fence_statu* add_fence_statu(); ::google::protobuf::RepeatedPtrField< ::wj_lidar_message::Terminal_fence_statu >* mutable_fence_statu(); const ::google::protobuf::RepeatedPtrField< ::wj_lidar_message::Terminal_fence_statu >& fence_statu() const; // @@protoc_insertion_point(class_scope:wj_lidar_message.Fence_statu_message) private: ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; ::google::protobuf::internal::HasBits<1> _has_bits_; mutable int _cached_size_; ::google::protobuf::RepeatedPtrField< ::wj_lidar_message::Terminal_fence_statu > fence_statu_; friend struct ::protobuf_wj_5flidar_5fmsg_2eproto::TableStruct; friend void ::protobuf_wj_5flidar_5fmsg_2eproto::InitDefaultsFence_statu_messageImpl(); }; // =================================================================== // =================================================================== #ifdef __GNUC__ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wstrict-aliasing" #endif // __GNUC__ // Terminal_fence_statu // required int64 terminal_id = 1; inline bool Terminal_fence_statu::has_terminal_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void Terminal_fence_statu::set_has_terminal_id() { _has_bits_[0] |= 0x00000001u; } inline void Terminal_fence_statu::clear_has_terminal_id() { _has_bits_[0] &= ~0x00000001u; } inline void Terminal_fence_statu::clear_terminal_id() { terminal_id_ = GOOGLE_LONGLONG(0); clear_has_terminal_id(); } inline ::google::protobuf::int64 Terminal_fence_statu::terminal_id() const { // @@protoc_insertion_point(field_get:wj_lidar_message.Terminal_fence_statu.terminal_id) return terminal_id_; } inline void Terminal_fence_statu::set_terminal_id(::google::protobuf::int64 value) { set_has_terminal_id(); terminal_id_ = value; // @@protoc_insertion_point(field_set:wj_lidar_message.Terminal_fence_statu.terminal_id) } // required int64 cloud_statu = 2; inline bool Terminal_fence_statu::has_cloud_statu() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void Terminal_fence_statu::set_has_cloud_statu() { _has_bits_[0] |= 0x00000002u; } inline void Terminal_fence_statu::clear_has_cloud_statu() { _has_bits_[0] &= ~0x00000002u; } inline void Terminal_fence_statu::clear_cloud_statu() { cloud_statu_ = GOOGLE_LONGLONG(0); clear_has_cloud_statu(); } inline ::google::protobuf::int64 Terminal_fence_statu::cloud_statu() const { // @@protoc_insertion_point(field_get:wj_lidar_message.Terminal_fence_statu.cloud_statu) return cloud_statu_; } inline void Terminal_fence_statu::set_cloud_statu(::google::protobuf::int64 value) { set_has_cloud_statu(); cloud_statu_ = value; // @@protoc_insertion_point(field_set:wj_lidar_message.Terminal_fence_statu.cloud_statu) } // required int64 position_statu = 3; inline bool Terminal_fence_statu::has_position_statu() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void Terminal_fence_statu::set_has_position_statu() { _has_bits_[0] |= 0x00000004u; } inline void Terminal_fence_statu::clear_has_position_statu() { _has_bits_[0] &= ~0x00000004u; } inline void Terminal_fence_statu::clear_position_statu() { position_statu_ = GOOGLE_LONGLONG(0); clear_has_position_statu(); } inline ::google::protobuf::int64 Terminal_fence_statu::position_statu() const { // @@protoc_insertion_point(field_get:wj_lidar_message.Terminal_fence_statu.position_statu) return position_statu_; } inline void Terminal_fence_statu::set_position_statu(::google::protobuf::int64 value) { set_has_position_statu(); position_statu_ = value; // @@protoc_insertion_point(field_set:wj_lidar_message.Terminal_fence_statu.position_statu) } // ------------------------------------------------------------------- // Fence_statu_message // repeated .wj_lidar_message.Terminal_fence_statu fence_statu = 1; inline int Fence_statu_message::fence_statu_size() const { return fence_statu_.size(); } inline void Fence_statu_message::clear_fence_statu() { fence_statu_.Clear(); } inline const ::wj_lidar_message::Terminal_fence_statu& Fence_statu_message::fence_statu(int index) const { // @@protoc_insertion_point(field_get:wj_lidar_message.Fence_statu_message.fence_statu) return fence_statu_.Get(index); } inline ::wj_lidar_message::Terminal_fence_statu* Fence_statu_message::mutable_fence_statu(int index) { // @@protoc_insertion_point(field_mutable:wj_lidar_message.Fence_statu_message.fence_statu) return fence_statu_.Mutable(index); } inline ::wj_lidar_message::Terminal_fence_statu* Fence_statu_message::add_fence_statu() { // @@protoc_insertion_point(field_add:wj_lidar_message.Fence_statu_message.fence_statu) return fence_statu_.Add(); } inline ::google::protobuf::RepeatedPtrField< ::wj_lidar_message::Terminal_fence_statu >* Fence_statu_message::mutable_fence_statu() { // @@protoc_insertion_point(field_mutable_list:wj_lidar_message.Fence_statu_message.fence_statu) return &fence_statu_; } inline const ::google::protobuf::RepeatedPtrField< ::wj_lidar_message::Terminal_fence_statu >& Fence_statu_message::fence_statu() const { // @@protoc_insertion_point(field_list:wj_lidar_message.Fence_statu_message.fence_statu) return fence_statu_; } #ifdef __GNUC__ #pragma GCC diagnostic pop #endif // __GNUC__ // ------------------------------------------------------------------- // @@protoc_insertion_point(namespace_scope) } // namespace wj_lidar_message // @@protoc_insertion_point(global_scope) #endif // PROTOBUF_wj_5flidar_5fmsg_2eproto__INCLUDED