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

#ifndef GOOGLE_PROTOBUF_INCLUDED_sns_5fdpc_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_sns_5fdpc_2eproto

#include <limits>
#include <string>

#include <google/protobuf/port_def.inc>
#if PROTOBUF_VERSION < 3021000
#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 3021012 < 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/port_undef.inc>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/arena.h>
#include <google/protobuf/arenastring.h>
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/metadata_lite.h>
#include <google/protobuf/generated_message_reflection.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>
#include "nanopb.pb.h"
#include "sns_std_sensor.pb.h"
// @@protoc_insertion_point(includes)
#include <google/protobuf/port_def.inc>
#define PROTOBUF_INTERNAL_EXPORT_sns_5fdpc_2eproto
PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
}  // namespace internal
PROTOBUF_NAMESPACE_CLOSE

// Internal implementation detail -- do not use these members.
struct TableStruct_sns_5fdpc_2eproto {
  static const uint32_t offsets[];
};
extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_sns_5fdpc_2eproto;
class sns_dpc_event;
struct sns_dpc_eventDefaultTypeInternal;
extern sns_dpc_eventDefaultTypeInternal _sns_dpc_event_default_instance_;
class sns_dpc_event_config;
struct sns_dpc_event_configDefaultTypeInternal;
extern sns_dpc_event_configDefaultTypeInternal _sns_dpc_event_config_default_instance_;
PROTOBUF_NAMESPACE_OPEN
template<> ::sns_dpc_event* Arena::CreateMaybeMessage<::sns_dpc_event>(Arena*);
template<> ::sns_dpc_event_config* Arena::CreateMaybeMessage<::sns_dpc_event_config>(Arena*);
PROTOBUF_NAMESPACE_CLOSE

enum sns_dpc_msgid : int {
  SNS_DPC_MSGID_SNS_DPC_EVENT_CONFIG = 777,
  SNS_DPC_MSGID_SNS_DPC_EVENT = 1030
};
bool sns_dpc_msgid_IsValid(int value);
constexpr sns_dpc_msgid sns_dpc_msgid_MIN = SNS_DPC_MSGID_SNS_DPC_EVENT_CONFIG;
constexpr sns_dpc_msgid sns_dpc_msgid_MAX = SNS_DPC_MSGID_SNS_DPC_EVENT;
constexpr int sns_dpc_msgid_ARRAYSIZE = sns_dpc_msgid_MAX + 1;

const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* sns_dpc_msgid_descriptor();
template<typename T>
inline const std::string& sns_dpc_msgid_Name(T enum_t_value) {
  static_assert(::std::is_same<T, sns_dpc_msgid>::value ||
    ::std::is_integral<T>::value,
    "Incorrect type passed to function sns_dpc_msgid_Name.");
  return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
    sns_dpc_msgid_descriptor(), enum_t_value);
}
inline bool sns_dpc_msgid_Parse(
    ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, sns_dpc_msgid* value) {
  return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<sns_dpc_msgid>(
    sns_dpc_msgid_descriptor(), name, value);
}
enum sns_dpc_state : int {
  SNS_DPC_UNINITIALIZED = 0,
  SNS_DPC_UNKNOWN = 1,
  SNS_DPC_FLAT_STATIC = 2,
  SNS_DPC_HIDDEN = 3,
  SNS_DPC_IN_HAND = 4,
  SNS_DPC_FACING = 5
};
bool sns_dpc_state_IsValid(int value);
constexpr sns_dpc_state sns_dpc_state_MIN = SNS_DPC_UNINITIALIZED;
constexpr sns_dpc_state sns_dpc_state_MAX = SNS_DPC_FACING;
constexpr int sns_dpc_state_ARRAYSIZE = sns_dpc_state_MAX + 1;

const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* sns_dpc_state_descriptor();
template<typename T>
inline const std::string& sns_dpc_state_Name(T enum_t_value) {
  static_assert(::std::is_same<T, sns_dpc_state>::value ||
    ::std::is_integral<T>::value,
    "Incorrect type passed to function sns_dpc_state_Name.");
  return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
    sns_dpc_state_descriptor(), enum_t_value);
}
inline bool sns_dpc_state_Parse(
    ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, sns_dpc_state* value) {
  return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<sns_dpc_state>(
    sns_dpc_state_descriptor(), name, value);
}
// ===================================================================

class sns_dpc_event final :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:sns_dpc_event) */ {
 public:
  inline sns_dpc_event() : sns_dpc_event(nullptr) {}
  ~sns_dpc_event() override;
  explicit PROTOBUF_CONSTEXPR sns_dpc_event(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

  sns_dpc_event(const sns_dpc_event& from);
  sns_dpc_event(sns_dpc_event&& from) noexcept
    : sns_dpc_event() {
    *this = ::std::move(from);
  }

  inline sns_dpc_event& operator=(const sns_dpc_event& from) {
    CopyFrom(from);
    return *this;
  }
  inline sns_dpc_event& operator=(sns_dpc_event&& from) noexcept {
    if (this == &from) return *this;
    if (GetOwningArena() == from.GetOwningArena()
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
        && GetOwningArena() != nullptr
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
    ) {
      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 default_instance().GetMetadata().descriptor;
  }
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
    return default_instance().GetMetadata().reflection;
  }
  static const sns_dpc_event& default_instance() {
    return *internal_default_instance();
  }
  static inline const sns_dpc_event* internal_default_instance() {
    return reinterpret_cast<const sns_dpc_event*>(
               &_sns_dpc_event_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    0;

  friend void swap(sns_dpc_event& a, sns_dpc_event& b) {
    a.Swap(&b);
  }
  inline void Swap(sns_dpc_event* other) {
    if (other == this) return;
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() != nullptr &&
        GetOwningArena() == other->GetOwningArena()) {
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() == other->GetOwningArena()) {
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
      InternalSwap(other);
    } else {
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(sns_dpc_event* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

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

  sns_dpc_event* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<sns_dpc_event>(arena);
  }
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  void CopyFrom(const sns_dpc_event& from);
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  void MergeFrom( const sns_dpc_event& from) {
    sns_dpc_event::MergeImpl(*this, from);
  }
  private:
  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  public:
  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;
  uint8_t* _InternalSerialize(
      uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _impl_._cached_size_.Get(); }

  private:
  void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(sns_dpc_event* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "sns_dpc_event";
  }
  protected:
  explicit sns_dpc_event(::PROTOBUF_NAMESPACE_ID::Arena* arena,
                       bool is_message_owned = false);
  public:

  static const ClassData _class_data_;
  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;

  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------

  enum : int {
    kDpcStateFieldNumber = 1,
  };
  // required .sns_dpc_state dpc_state = 1;
  bool has_dpc_state() const;
  private:
  bool _internal_has_dpc_state() const;
  public:
  void clear_dpc_state();
  ::sns_dpc_state dpc_state() const;
  void set_dpc_state(::sns_dpc_state value);
  private:
  ::sns_dpc_state _internal_dpc_state() const;
  void _internal_set_dpc_state(::sns_dpc_state value);
  public:

  // @@protoc_insertion_point(class_scope:sns_dpc_event)
 private:
  class _Internal;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  struct Impl_ {
    ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
    int dpc_state_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_sns_5fdpc_2eproto;
};
// -------------------------------------------------------------------

class sns_dpc_event_config final :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:sns_dpc_event_config) */ {
 public:
  inline sns_dpc_event_config() : sns_dpc_event_config(nullptr) {}
  ~sns_dpc_event_config() override;
  explicit PROTOBUF_CONSTEXPR sns_dpc_event_config(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

  sns_dpc_event_config(const sns_dpc_event_config& from);
  sns_dpc_event_config(sns_dpc_event_config&& from) noexcept
    : sns_dpc_event_config() {
    *this = ::std::move(from);
  }

  inline sns_dpc_event_config& operator=(const sns_dpc_event_config& from) {
    CopyFrom(from);
    return *this;
  }
  inline sns_dpc_event_config& operator=(sns_dpc_event_config&& from) noexcept {
    if (this == &from) return *this;
    if (GetOwningArena() == from.GetOwningArena()
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
        && GetOwningArena() != nullptr
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
    ) {
      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 default_instance().GetMetadata().descriptor;
  }
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
    return default_instance().GetMetadata().reflection;
  }
  static const sns_dpc_event_config& default_instance() {
    return *internal_default_instance();
  }
  static inline const sns_dpc_event_config* internal_default_instance() {
    return reinterpret_cast<const sns_dpc_event_config*>(
               &_sns_dpc_event_config_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    1;

  friend void swap(sns_dpc_event_config& a, sns_dpc_event_config& b) {
    a.Swap(&b);
  }
  inline void Swap(sns_dpc_event_config* other) {
    if (other == this) return;
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() != nullptr &&
        GetOwningArena() == other->GetOwningArena()) {
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() == other->GetOwningArena()) {
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
      InternalSwap(other);
    } else {
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(sns_dpc_event_config* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

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

  sns_dpc_event_config* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<sns_dpc_event_config>(arena);
  }
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  void CopyFrom(const sns_dpc_event_config& from);
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  void MergeFrom( const sns_dpc_event_config& from) {
    sns_dpc_event_config::MergeImpl(*this, from);
  }
  private:
  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  public:
  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;
  uint8_t* _InternalSerialize(
      uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _impl_._cached_size_.Get(); }

  private:
  void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(sns_dpc_event_config* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "sns_dpc_event_config";
  }
  protected:
  explicit sns_dpc_event_config(::PROTOBUF_NAMESPACE_ID::Arena* arena,
                       bool is_message_owned = false);
  public:

  static const ClassData _class_data_;
  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;

  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------

  enum : int {
    kDpcStateFieldNumber = 1,
  };
  // required .sns_dpc_state dpc_state = 1;
  bool has_dpc_state() const;
  private:
  bool _internal_has_dpc_state() const;
  public:
  void clear_dpc_state();
  ::sns_dpc_state dpc_state() const;
  void set_dpc_state(::sns_dpc_state value);
  private:
  ::sns_dpc_state _internal_dpc_state() const;
  void _internal_set_dpc_state(::sns_dpc_state value);
  public:

  // @@protoc_insertion_point(class_scope:sns_dpc_event_config)
 private:
  class _Internal;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  struct Impl_ {
    ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
    int dpc_state_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_sns_5fdpc_2eproto;
};
// ===================================================================


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

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

// required .sns_dpc_state dpc_state = 1;
inline bool sns_dpc_event::_internal_has_dpc_state() const {
  bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
  return value;
}
inline bool sns_dpc_event::has_dpc_state() const {
  return _internal_has_dpc_state();
}
inline void sns_dpc_event::clear_dpc_state() {
  _impl_.dpc_state_ = 0;
  _impl_._has_bits_[0] &= ~0x00000001u;
}
inline ::sns_dpc_state sns_dpc_event::_internal_dpc_state() const {
  return static_cast< ::sns_dpc_state >(_impl_.dpc_state_);
}
inline ::sns_dpc_state sns_dpc_event::dpc_state() const {
  // @@protoc_insertion_point(field_get:sns_dpc_event.dpc_state)
  return _internal_dpc_state();
}
inline void sns_dpc_event::_internal_set_dpc_state(::sns_dpc_state value) {
  assert(::sns_dpc_state_IsValid(value));
  _impl_._has_bits_[0] |= 0x00000001u;
  _impl_.dpc_state_ = value;
}
inline void sns_dpc_event::set_dpc_state(::sns_dpc_state value) {
  _internal_set_dpc_state(value);
  // @@protoc_insertion_point(field_set:sns_dpc_event.dpc_state)
}

// -------------------------------------------------------------------

// sns_dpc_event_config

// required .sns_dpc_state dpc_state = 1;
inline bool sns_dpc_event_config::_internal_has_dpc_state() const {
  bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
  return value;
}
inline bool sns_dpc_event_config::has_dpc_state() const {
  return _internal_has_dpc_state();
}
inline void sns_dpc_event_config::clear_dpc_state() {
  _impl_.dpc_state_ = 0;
  _impl_._has_bits_[0] &= ~0x00000001u;
}
inline ::sns_dpc_state sns_dpc_event_config::_internal_dpc_state() const {
  return static_cast< ::sns_dpc_state >(_impl_.dpc_state_);
}
inline ::sns_dpc_state sns_dpc_event_config::dpc_state() const {
  // @@protoc_insertion_point(field_get:sns_dpc_event_config.dpc_state)
  return _internal_dpc_state();
}
inline void sns_dpc_event_config::_internal_set_dpc_state(::sns_dpc_state value) {
  assert(::sns_dpc_state_IsValid(value));
  _impl_._has_bits_[0] |= 0x00000001u;
  _impl_.dpc_state_ = value;
}
inline void sns_dpc_event_config::set_dpc_state(::sns_dpc_state value) {
  _internal_set_dpc_state(value);
  // @@protoc_insertion_point(field_set:sns_dpc_event_config.dpc_state)
}

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


// @@protoc_insertion_point(namespace_scope)


PROTOBUF_NAMESPACE_OPEN

template <> struct is_proto_enum< ::sns_dpc_msgid> : ::std::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor< ::sns_dpc_msgid>() {
  return ::sns_dpc_msgid_descriptor();
}
template <> struct is_proto_enum< ::sns_dpc_state> : ::std::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor< ::sns_dpc_state>() {
  return ::sns_dpc_state_descriptor();
}

PROTOBUF_NAMESPACE_CLOSE

// @@protoc_insertion_point(global_scope)

#include <google/protobuf/port_undef.inc>
#endif  // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_sns_5fdpc_2eproto
