123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439 |
- // 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 <string>
- #include <google/protobuf/stubs/common.h>
- #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 <google/protobuf/io/coded_stream.h>
- #include <google/protobuf/arena.h>
- #include <google/protobuf/arenastring.h>
- #include <google/protobuf/generated_message_table_driven.h>
- #include <google/protobuf/generated_message_util.h>
- #include <google/protobuf/metadata.h>
- #include <google/protobuf/message.h>
- #include <google/protobuf/repeated_field.h> // IWYU pragma: export
- #include <google/protobuf/extension_set.h> // IWYU pragma: export
- #include <google/protobuf/unknown_field_set.h>
- // @@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<const Terminal_fence_statu*>(
- &_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<const Fence_statu_message*>(
- &_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
|