// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: laser_message.proto

#ifndef PROTOBUF_laser_5fmessage_2eproto__INCLUDED
#define PROTOBUF_laser_5fmessage_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/generated_enum_reflection.h>
#include <google/protobuf/unknown_field_set.h>
// @@protoc_insertion_point(includes)

namespace protobuf_laser_5fmessage_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[1];
  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 InitDefaultslaserMsgImpl();
void InitDefaultslaserMsg();
inline void InitDefaults() {
  InitDefaultslaserMsg();
}
}  // namespace protobuf_laser_5fmessage_2eproto
namespace laser_message {
class laserMsg;
class laserMsgDefaultTypeInternal;
extern laserMsgDefaultTypeInternal _laserMsg_default_instance_;
}  // namespace laser_message
namespace laser_message {

enum laserStatus {
  eLaserConnected = 0,
  eLaserDisconnected = 1,
  eLaserBusy = 2,
  eLaserUnknown = 3
};
bool laserStatus_IsValid(int value);
const laserStatus laserStatus_MIN = eLaserConnected;
const laserStatus laserStatus_MAX = eLaserUnknown;
const int laserStatus_ARRAYSIZE = laserStatus_MAX + 1;

const ::google::protobuf::EnumDescriptor* laserStatus_descriptor();
inline const ::std::string& laserStatus_Name(laserStatus value) {
  return ::google::protobuf::internal::NameOfEnum(
    laserStatus_descriptor(), value);
}
inline bool laserStatus_Parse(
    const ::std::string& name, laserStatus* value) {
  return ::google::protobuf::internal::ParseNamedEnum<laserStatus>(
    laserStatus_descriptor(), name, value);
}
// ===================================================================

class laserMsg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:laser_message.laserMsg) */ {
 public:
  laserMsg();
  virtual ~laserMsg();

  laserMsg(const laserMsg& from);

  inline laserMsg& operator=(const laserMsg& from) {
    CopyFrom(from);
    return *this;
  }
  #if LANG_CXX11
  laserMsg(laserMsg&& from) noexcept
    : laserMsg() {
    *this = ::std::move(from);
  }

  inline laserMsg& operator=(laserMsg&& 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 laserMsg& default_instance();

  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
  static inline const laserMsg* internal_default_instance() {
    return reinterpret_cast<const laserMsg*>(
               &_laserMsg_default_instance_);
  }
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
    0;

  void Swap(laserMsg* other);
  friend void swap(laserMsg& a, laserMsg& b) {
    a.Swap(&b);
  }

  // implements Message ----------------------------------------------

  inline laserMsg* New() const PROTOBUF_FINAL { return New(NULL); }

  laserMsg* 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 laserMsg& from);
  void MergeFrom(const laserMsg& 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(laserMsg* 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 -------------------------------------------------------

  // optional .laser_message.laserStatus laser_status = 1;
  bool has_laser_status() const;
  void clear_laser_status();
  static const int kLaserStatusFieldNumber = 1;
  ::laser_message::laserStatus laser_status() const;
  void set_laser_status(::laser_message::laserStatus value);

  // optional int32 queue_data_count = 2;
  bool has_queue_data_count() const;
  void clear_queue_data_count();
  static const int kQueueDataCountFieldNumber = 2;
  ::google::protobuf::int32 queue_data_count() const;
  void set_queue_data_count(::google::protobuf::int32 value);

  // optional int32 cloud_count = 3;
  bool has_cloud_count() const;
  void clear_cloud_count();
  static const int kCloudCountFieldNumber = 3;
  ::google::protobuf::int32 cloud_count() const;
  void set_cloud_count(::google::protobuf::int32 value);

  // required int32 id = 4;
  bool has_id() const;
  void clear_id();
  static const int kIdFieldNumber = 4;
  ::google::protobuf::int32 id() const;
  void set_id(::google::protobuf::int32 value);

  // @@protoc_insertion_point(class_scope:laser_message.laserMsg)
 private:
  void set_has_laser_status();
  void clear_has_laser_status();
  void set_has_queue_data_count();
  void clear_has_queue_data_count();
  void set_has_cloud_count();
  void clear_has_cloud_count();
  void set_has_id();
  void clear_has_id();

  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  ::google::protobuf::internal::HasBits<1> _has_bits_;
  mutable int _cached_size_;
  int laser_status_;
  ::google::protobuf::int32 queue_data_count_;
  ::google::protobuf::int32 cloud_count_;
  ::google::protobuf::int32 id_;
  friend struct ::protobuf_laser_5fmessage_2eproto::TableStruct;
  friend void ::protobuf_laser_5fmessage_2eproto::InitDefaultslaserMsgImpl();
};
// ===================================================================


// ===================================================================

#ifdef __GNUC__
  #pragma GCC diagnostic push
  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif  // __GNUC__
// laserMsg

// optional .laser_message.laserStatus laser_status = 1;
inline bool laserMsg::has_laser_status() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void laserMsg::set_has_laser_status() {
  _has_bits_[0] |= 0x00000001u;
}
inline void laserMsg::clear_has_laser_status() {
  _has_bits_[0] &= ~0x00000001u;
}
inline void laserMsg::clear_laser_status() {
  laser_status_ = 0;
  clear_has_laser_status();
}
inline ::laser_message::laserStatus laserMsg::laser_status() const {
  // @@protoc_insertion_point(field_get:laser_message.laserMsg.laser_status)
  return static_cast< ::laser_message::laserStatus >(laser_status_);
}
inline void laserMsg::set_laser_status(::laser_message::laserStatus value) {
  assert(::laser_message::laserStatus_IsValid(value));
  set_has_laser_status();
  laser_status_ = value;
  // @@protoc_insertion_point(field_set:laser_message.laserMsg.laser_status)
}

// optional int32 queue_data_count = 2;
inline bool laserMsg::has_queue_data_count() const {
  return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void laserMsg::set_has_queue_data_count() {
  _has_bits_[0] |= 0x00000002u;
}
inline void laserMsg::clear_has_queue_data_count() {
  _has_bits_[0] &= ~0x00000002u;
}
inline void laserMsg::clear_queue_data_count() {
  queue_data_count_ = 0;
  clear_has_queue_data_count();
}
inline ::google::protobuf::int32 laserMsg::queue_data_count() const {
  // @@protoc_insertion_point(field_get:laser_message.laserMsg.queue_data_count)
  return queue_data_count_;
}
inline void laserMsg::set_queue_data_count(::google::protobuf::int32 value) {
  set_has_queue_data_count();
  queue_data_count_ = value;
  // @@protoc_insertion_point(field_set:laser_message.laserMsg.queue_data_count)
}

// optional int32 cloud_count = 3;
inline bool laserMsg::has_cloud_count() const {
  return (_has_bits_[0] & 0x00000004u) != 0;
}
inline void laserMsg::set_has_cloud_count() {
  _has_bits_[0] |= 0x00000004u;
}
inline void laserMsg::clear_has_cloud_count() {
  _has_bits_[0] &= ~0x00000004u;
}
inline void laserMsg::clear_cloud_count() {
  cloud_count_ = 0;
  clear_has_cloud_count();
}
inline ::google::protobuf::int32 laserMsg::cloud_count() const {
  // @@protoc_insertion_point(field_get:laser_message.laserMsg.cloud_count)
  return cloud_count_;
}
inline void laserMsg::set_cloud_count(::google::protobuf::int32 value) {
  set_has_cloud_count();
  cloud_count_ = value;
  // @@protoc_insertion_point(field_set:laser_message.laserMsg.cloud_count)
}

// required int32 id = 4;
inline bool laserMsg::has_id() const {
  return (_has_bits_[0] & 0x00000008u) != 0;
}
inline void laserMsg::set_has_id() {
  _has_bits_[0] |= 0x00000008u;
}
inline void laserMsg::clear_has_id() {
  _has_bits_[0] &= ~0x00000008u;
}
inline void laserMsg::clear_id() {
  id_ = 0;
  clear_has_id();
}
inline ::google::protobuf::int32 laserMsg::id() const {
  // @@protoc_insertion_point(field_get:laser_message.laserMsg.id)
  return id_;
}
inline void laserMsg::set_id(::google::protobuf::int32 value) {
  set_has_id();
  id_ = value;
  // @@protoc_insertion_point(field_set:laser_message.laserMsg.id)
}

#ifdef __GNUC__
  #pragma GCC diagnostic pop
#endif  // __GNUC__

// @@protoc_insertion_point(namespace_scope)

}  // namespace laser_message

namespace google {
namespace protobuf {

template <> struct is_proto_enum< ::laser_message::laserStatus> : ::google::protobuf::internal::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor< ::laser_message::laserStatus>() {
  return ::laser_message::laserStatus_descriptor();
}

}  // namespace protobuf
}  // namespace google

// @@protoc_insertion_point(global_scope)

#endif  // PROTOBUF_laser_5fmessage_2eproto__INCLUDED
