// Generated by the protocol buffer compiler. DO NOT EDIT! // source: wj_lidar_msg.proto #ifndef GOOGLE_PROTOBUF_INCLUDED_wj_5flidar_5fmsg_2eproto #define GOOGLE_PROTOBUF_INCLUDED_wj_5flidar_5fmsg_2eproto #include #include #include #if PROTOBUF_VERSION < 3013000 #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 3013000 < 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 #include #include #include // IWYU pragma: export #include // IWYU pragma: export #include // @@protoc_insertion_point(includes) #include #define PROTOBUF_INTERNAL_EXPORT_wj_5flidar_5fmsg_2eproto PROTOBUF_NAMESPACE_OPEN namespace internal { class AnyMetadata; } // namespace internal PROTOBUF_NAMESPACE_CLOSE // Internal implementation detail -- do not use these members. struct TableStruct_wj_5flidar_5fmsg_2eproto { static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]; static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]; }; extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_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 PROTOBUF_NAMESPACE_OPEN template<> ::wj_lidar_message::Fence_statu_message* Arena::CreateMaybeMessage<::wj_lidar_message::Fence_statu_message>(Arena*); template<> ::wj_lidar_message::Terminal_fence_statu* Arena::CreateMaybeMessage<::wj_lidar_message::Terminal_fence_statu>(Arena*); PROTOBUF_NAMESPACE_CLOSE namespace wj_lidar_message { // =================================================================== class Terminal_fence_statu PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:wj_lidar_message.Terminal_fence_statu) */ { public: inline Terminal_fence_statu() : Terminal_fence_statu(nullptr) {} virtual ~Terminal_fence_statu(); Terminal_fence_statu(const Terminal_fence_statu& from); Terminal_fence_statu(Terminal_fence_statu&& from) noexcept : Terminal_fence_statu() { *this = ::std::move(from); } inline Terminal_fence_statu& operator=(const Terminal_fence_statu& from) { CopyFrom(from); return *this; } inline Terminal_fence_statu& operator=(Terminal_fence_statu&& from) noexcept { if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); } inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { return GetDescriptor(); } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { return GetMetadataStatic().descriptor; } static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } 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 constexpr int kIndexInFileMessages = 0; friend void swap(Terminal_fence_statu& a, Terminal_fence_statu& b) { a.Swap(&b); } inline void Swap(Terminal_fence_statu* other) { if (other == this) return; if (GetArena() == other->GetArena()) { InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(Terminal_fence_statu* other) { if (other == this) return; GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- inline Terminal_fence_statu* New() const final { return CreateMaybeMessage(nullptr); } Terminal_fence_statu* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void CopyFrom(const Terminal_fence_statu& from); void MergeFrom(const Terminal_fence_statu& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(Terminal_fence_statu* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "wj_lidar_message.Terminal_fence_statu"; } protected: explicit Terminal_fence_statu(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_wj_5flidar_5fmsg_2eproto); return ::descriptor_table_wj_5flidar_5fmsg_2eproto.file_level_metadata[kIndexInFileMessages]; } public: // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kTerminalIdFieldNumber = 1, kCloudStatuFieldNumber = 2, kPositionStatuFieldNumber = 3, }; // required int64 terminal_id = 1; bool has_terminal_id() const; private: bool _internal_has_terminal_id() const; public: void clear_terminal_id(); ::PROTOBUF_NAMESPACE_ID::int64 terminal_id() const; void set_terminal_id(::PROTOBUF_NAMESPACE_ID::int64 value); private: ::PROTOBUF_NAMESPACE_ID::int64 _internal_terminal_id() const; void _internal_set_terminal_id(::PROTOBUF_NAMESPACE_ID::int64 value); public: // required int64 cloud_statu = 2; bool has_cloud_statu() const; private: bool _internal_has_cloud_statu() const; public: void clear_cloud_statu(); ::PROTOBUF_NAMESPACE_ID::int64 cloud_statu() const; void set_cloud_statu(::PROTOBUF_NAMESPACE_ID::int64 value); private: ::PROTOBUF_NAMESPACE_ID::int64 _internal_cloud_statu() const; void _internal_set_cloud_statu(::PROTOBUF_NAMESPACE_ID::int64 value); public: // required int64 position_statu = 3; bool has_position_statu() const; private: bool _internal_has_position_statu() const; public: void clear_position_statu(); ::PROTOBUF_NAMESPACE_ID::int64 position_statu() const; void set_position_statu(::PROTOBUF_NAMESPACE_ID::int64 value); private: ::PROTOBUF_NAMESPACE_ID::int64 _internal_position_statu() const; void _internal_set_position_statu(::PROTOBUF_NAMESPACE_ID::int64 value); public: // @@protoc_insertion_point(class_scope:wj_lidar_message.Terminal_fence_statu) private: class _Internal; // helper for ByteSizeLong() size_t RequiredFieldsByteSizeFallback() const; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::int64 terminal_id_; ::PROTOBUF_NAMESPACE_ID::int64 cloud_statu_; ::PROTOBUF_NAMESPACE_ID::int64 position_statu_; friend struct ::TableStruct_wj_5flidar_5fmsg_2eproto; }; // ------------------------------------------------------------------- class Fence_statu_message PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:wj_lidar_message.Fence_statu_message) */ { public: inline Fence_statu_message() : Fence_statu_message(nullptr) {} virtual ~Fence_statu_message(); Fence_statu_message(const Fence_statu_message& from); Fence_statu_message(Fence_statu_message&& from) noexcept : Fence_statu_message() { *this = ::std::move(from); } inline Fence_statu_message& operator=(const Fence_statu_message& from) { CopyFrom(from); return *this; } inline Fence_statu_message& operator=(Fence_statu_message&& from) noexcept { if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); } inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { return GetDescriptor(); } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { return GetMetadataStatic().descriptor; } static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } 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 constexpr int kIndexInFileMessages = 1; friend void swap(Fence_statu_message& a, Fence_statu_message& b) { a.Swap(&b); } inline void Swap(Fence_statu_message* other) { if (other == this) return; if (GetArena() == other->GetArena()) { InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(Fence_statu_message* other) { if (other == this) return; GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- inline Fence_statu_message* New() const final { return CreateMaybeMessage(nullptr); } Fence_statu_message* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void CopyFrom(const Fence_statu_message& from); void MergeFrom(const Fence_statu_message& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(Fence_statu_message* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "wj_lidar_message.Fence_statu_message"; } protected: explicit Fence_statu_message(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_wj_5flidar_5fmsg_2eproto); return ::descriptor_table_wj_5flidar_5fmsg_2eproto.file_level_metadata[kIndexInFileMessages]; } public: // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kFenceStatuFieldNumber = 1, }; // repeated .wj_lidar_message.Terminal_fence_statu fence_statu = 1; int fence_statu_size() const; private: int _internal_fence_statu_size() const; public: void clear_fence_statu(); ::wj_lidar_message::Terminal_fence_statu* mutable_fence_statu(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::wj_lidar_message::Terminal_fence_statu >* mutable_fence_statu(); private: const ::wj_lidar_message::Terminal_fence_statu& _internal_fence_statu(int index) const; ::wj_lidar_message::Terminal_fence_statu* _internal_add_fence_statu(); public: const ::wj_lidar_message::Terminal_fence_statu& fence_statu(int index) const; ::wj_lidar_message::Terminal_fence_statu* add_fence_statu(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::wj_lidar_message::Terminal_fence_statu >& fence_statu() const; // @@protoc_insertion_point(class_scope:wj_lidar_message.Fence_statu_message) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::wj_lidar_message::Terminal_fence_statu > fence_statu_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_wj_5flidar_5fmsg_2eproto; }; // =================================================================== // =================================================================== #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::_internal_has_terminal_id() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool Terminal_fence_statu::has_terminal_id() const { return _internal_has_terminal_id(); } inline void Terminal_fence_statu::clear_terminal_id() { terminal_id_ = PROTOBUF_LONGLONG(0); _has_bits_[0] &= ~0x00000001u; } inline ::PROTOBUF_NAMESPACE_ID::int64 Terminal_fence_statu::_internal_terminal_id() const { return terminal_id_; } inline ::PROTOBUF_NAMESPACE_ID::int64 Terminal_fence_statu::terminal_id() const { // @@protoc_insertion_point(field_get:wj_lidar_message.Terminal_fence_statu.terminal_id) return _internal_terminal_id(); } inline void Terminal_fence_statu::_internal_set_terminal_id(::PROTOBUF_NAMESPACE_ID::int64 value) { _has_bits_[0] |= 0x00000001u; terminal_id_ = value; } inline void Terminal_fence_statu::set_terminal_id(::PROTOBUF_NAMESPACE_ID::int64 value) { _internal_set_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::_internal_has_cloud_statu() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; return value; } inline bool Terminal_fence_statu::has_cloud_statu() const { return _internal_has_cloud_statu(); } inline void Terminal_fence_statu::clear_cloud_statu() { cloud_statu_ = PROTOBUF_LONGLONG(0); _has_bits_[0] &= ~0x00000002u; } inline ::PROTOBUF_NAMESPACE_ID::int64 Terminal_fence_statu::_internal_cloud_statu() const { return cloud_statu_; } inline ::PROTOBUF_NAMESPACE_ID::int64 Terminal_fence_statu::cloud_statu() const { // @@protoc_insertion_point(field_get:wj_lidar_message.Terminal_fence_statu.cloud_statu) return _internal_cloud_statu(); } inline void Terminal_fence_statu::_internal_set_cloud_statu(::PROTOBUF_NAMESPACE_ID::int64 value) { _has_bits_[0] |= 0x00000002u; cloud_statu_ = value; } inline void Terminal_fence_statu::set_cloud_statu(::PROTOBUF_NAMESPACE_ID::int64 value) { _internal_set_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::_internal_has_position_statu() const { bool value = (_has_bits_[0] & 0x00000004u) != 0; return value; } inline bool Terminal_fence_statu::has_position_statu() const { return _internal_has_position_statu(); } inline void Terminal_fence_statu::clear_position_statu() { position_statu_ = PROTOBUF_LONGLONG(0); _has_bits_[0] &= ~0x00000004u; } inline ::PROTOBUF_NAMESPACE_ID::int64 Terminal_fence_statu::_internal_position_statu() const { return position_statu_; } inline ::PROTOBUF_NAMESPACE_ID::int64 Terminal_fence_statu::position_statu() const { // @@protoc_insertion_point(field_get:wj_lidar_message.Terminal_fence_statu.position_statu) return _internal_position_statu(); } inline void Terminal_fence_statu::_internal_set_position_statu(::PROTOBUF_NAMESPACE_ID::int64 value) { _has_bits_[0] |= 0x00000004u; position_statu_ = value; } inline void Terminal_fence_statu::set_position_statu(::PROTOBUF_NAMESPACE_ID::int64 value) { _internal_set_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::_internal_fence_statu_size() const { return fence_statu_.size(); } inline int Fence_statu_message::fence_statu_size() const { return _internal_fence_statu_size(); } inline void Fence_statu_message::clear_fence_statu() { fence_statu_.Clear(); } 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 ::PROTOBUF_NAMESPACE_ID::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 ::wj_lidar_message::Terminal_fence_statu& Fence_statu_message::_internal_fence_statu(int index) const { return fence_statu_.Get(index); } 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 _internal_fence_statu(index); } inline ::wj_lidar_message::Terminal_fence_statu* Fence_statu_message::_internal_add_fence_statu() { return fence_statu_.Add(); } 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 _internal_add_fence_statu(); } inline const ::PROTOBUF_NAMESPACE_ID::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) #include #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_wj_5flidar_5fmsg_2eproto