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

#ifndef GOOGLE_PROTOBUF_INCLUDED_sns_5fdelta_5fangle_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_sns_5fdelta_5fangle_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_5fdelta_5fangle_2eproto
PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
}  // namespace internal
PROTOBUF_NAMESPACE_CLOSE

// Internal implementation detail -- do not use these members.
struct TableStruct_sns_5fdelta_5fangle_2eproto {
  static const uint32_t offsets[];
};
extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_sns_5fdelta_5fangle_2eproto;
class sns_delta_angle_config;
struct sns_delta_angle_configDefaultTypeInternal;
extern sns_delta_angle_configDefaultTypeInternal _sns_delta_angle_config_default_instance_;
class sns_delta_angle_event;
struct sns_delta_angle_eventDefaultTypeInternal;
extern sns_delta_angle_eventDefaultTypeInternal _sns_delta_angle_event_default_instance_;
class sns_delta_angle_quat_history;
struct sns_delta_angle_quat_historyDefaultTypeInternal;
extern sns_delta_angle_quat_historyDefaultTypeInternal _sns_delta_angle_quat_history_default_instance_;
PROTOBUF_NAMESPACE_OPEN
template<> ::sns_delta_angle_config* Arena::CreateMaybeMessage<::sns_delta_angle_config>(Arena*);
template<> ::sns_delta_angle_event* Arena::CreateMaybeMessage<::sns_delta_angle_event>(Arena*);
template<> ::sns_delta_angle_quat_history* Arena::CreateMaybeMessage<::sns_delta_angle_quat_history>(Arena*);
PROTOBUF_NAMESPACE_CLOSE

enum sns_delta_angle_msgid : int {
  SNS_DELTA_ANGLE_MSGID_SNS_DELTA_ANGLE_CONFIG = 520,
  SNS_DELTA_ANGLE_MSGID_SNS_DELTA_ANGLE_EVENT = 772
};
bool sns_delta_angle_msgid_IsValid(int value);
constexpr sns_delta_angle_msgid sns_delta_angle_msgid_MIN = SNS_DELTA_ANGLE_MSGID_SNS_DELTA_ANGLE_CONFIG;
constexpr sns_delta_angle_msgid sns_delta_angle_msgid_MAX = SNS_DELTA_ANGLE_MSGID_SNS_DELTA_ANGLE_EVENT;
constexpr int sns_delta_angle_msgid_ARRAYSIZE = sns_delta_angle_msgid_MAX + 1;

const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* sns_delta_angle_msgid_descriptor();
template<typename T>
inline const std::string& sns_delta_angle_msgid_Name(T enum_t_value) {
  static_assert(::std::is_same<T, sns_delta_angle_msgid>::value ||
    ::std::is_integral<T>::value,
    "Incorrect type passed to function sns_delta_angle_msgid_Name.");
  return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
    sns_delta_angle_msgid_descriptor(), enum_t_value);
}
inline bool sns_delta_angle_msgid_Parse(
    ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, sns_delta_angle_msgid* value) {
  return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<sns_delta_angle_msgid>(
    sns_delta_angle_msgid_descriptor(), name, value);
}
enum sns_delta_angle_ori_type : int {
  SNS_DELTA_ANGLE_ORIENTATION_PITCH = 1,
  SNS_DELTA_ANGLE_ORIENTATION_ROLL = 2,
  SNS_DELTA_ANGLE_ORIENTATION_HEADING = 3,
  SNS_DELTA_ANGLE_ORIENTATION_TOTAL = 4
};
bool sns_delta_angle_ori_type_IsValid(int value);
constexpr sns_delta_angle_ori_type sns_delta_angle_ori_type_MIN = SNS_DELTA_ANGLE_ORIENTATION_PITCH;
constexpr sns_delta_angle_ori_type sns_delta_angle_ori_type_MAX = SNS_DELTA_ANGLE_ORIENTATION_TOTAL;
constexpr int sns_delta_angle_ori_type_ARRAYSIZE = sns_delta_angle_ori_type_MAX + 1;

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

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

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

  inline sns_delta_angle_quat_history& operator=(const sns_delta_angle_quat_history& from) {
    CopyFrom(from);
    return *this;
  }
  inline sns_delta_angle_quat_history& operator=(sns_delta_angle_quat_history&& 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_delta_angle_quat_history& default_instance() {
    return *internal_default_instance();
  }
  static inline const sns_delta_angle_quat_history* internal_default_instance() {
    return reinterpret_cast<const sns_delta_angle_quat_history*>(
               &_sns_delta_angle_quat_history_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    0;

  friend void swap(sns_delta_angle_quat_history& a, sns_delta_angle_quat_history& b) {
    a.Swap(&b);
  }
  inline void Swap(sns_delta_angle_quat_history* 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_delta_angle_quat_history* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

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

  sns_delta_angle_quat_history* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<sns_delta_angle_quat_history>(arena);
  }
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  void CopyFrom(const sns_delta_angle_quat_history& from);
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  void MergeFrom( const sns_delta_angle_quat_history& from) {
    sns_delta_angle_quat_history::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_delta_angle_quat_history* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "sns_delta_angle_quat_history";
  }
  protected:
  explicit sns_delta_angle_quat_history(::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 {
    kQuatFieldNumber = 2,
    kQuatTsFieldNumber = 1,
  };
  // repeated float quat = 2 [(.nanopb) = {
  int quat_size() const;
  private:
  int _internal_quat_size() const;
  public:
  void clear_quat();
  private:
  float _internal_quat(int index) const;
  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
      _internal_quat() const;
  void _internal_add_quat(float value);
  ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
      _internal_mutable_quat();
  public:
  float quat(int index) const;
  void set_quat(int index, float value);
  void add_quat(float value);
  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
      quat() const;
  ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
      mutable_quat();

  // required uint64 quat_ts = 1;
  bool has_quat_ts() const;
  private:
  bool _internal_has_quat_ts() const;
  public:
  void clear_quat_ts();
  uint64_t quat_ts() const;
  void set_quat_ts(uint64_t value);
  private:
  uint64_t _internal_quat_ts() const;
  void _internal_set_quat_ts(uint64_t value);
  public:

  // @@protoc_insertion_point(class_scope:sns_delta_angle_quat_history)
 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_;
    ::PROTOBUF_NAMESPACE_ID::RepeatedField< float > quat_;
    uint64_t quat_ts_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_sns_5fdelta_5fangle_2eproto;
};
// -------------------------------------------------------------------

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

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

  inline sns_delta_angle_config& operator=(const sns_delta_angle_config& from) {
    CopyFrom(from);
    return *this;
  }
  inline sns_delta_angle_config& operator=(sns_delta_angle_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_delta_angle_config& default_instance() {
    return *internal_default_instance();
  }
  static inline const sns_delta_angle_config* internal_default_instance() {
    return reinterpret_cast<const sns_delta_angle_config*>(
               &_sns_delta_angle_config_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    1;

  friend void swap(sns_delta_angle_config& a, sns_delta_angle_config& b) {
    a.Swap(&b);
  }
  inline void Swap(sns_delta_angle_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_delta_angle_config* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

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

  sns_delta_angle_config* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<sns_delta_angle_config>(arena);
  }
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  void CopyFrom(const sns_delta_angle_config& from);
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  void MergeFrom( const sns_delta_angle_config& from) {
    sns_delta_angle_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_delta_angle_config* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "sns_delta_angle_config";
  }
  protected:
  explicit sns_delta_angle_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 {
    kRadiansFieldNumber = 2,
    kLatencyUsFieldNumber = 3,
    kQuatOutputEnableFieldNumber = 4,
    kQuatHistoryEnableFieldNumber = 5,
    kOriTypeFieldNumber = 1,
  };
  // required float radians = 2;
  bool has_radians() const;
  private:
  bool _internal_has_radians() const;
  public:
  void clear_radians();
  float radians() const;
  void set_radians(float value);
  private:
  float _internal_radians() const;
  void _internal_set_radians(float value);
  public:

  // required uint32 latency_us = 3;
  bool has_latency_us() const;
  private:
  bool _internal_has_latency_us() const;
  public:
  void clear_latency_us();
  uint32_t latency_us() const;
  void set_latency_us(uint32_t value);
  private:
  uint32_t _internal_latency_us() const;
  void _internal_set_latency_us(uint32_t value);
  public:

  // optional bool quat_output_enable = 4;
  bool has_quat_output_enable() const;
  private:
  bool _internal_has_quat_output_enable() const;
  public:
  void clear_quat_output_enable();
  bool quat_output_enable() const;
  void set_quat_output_enable(bool value);
  private:
  bool _internal_quat_output_enable() const;
  void _internal_set_quat_output_enable(bool value);
  public:

  // optional bool quat_history_enable = 5;
  bool has_quat_history_enable() const;
  private:
  bool _internal_has_quat_history_enable() const;
  public:
  void clear_quat_history_enable();
  bool quat_history_enable() const;
  void set_quat_history_enable(bool value);
  private:
  bool _internal_quat_history_enable() const;
  void _internal_set_quat_history_enable(bool value);
  public:

  // required .sns_delta_angle_ori_type ori_type = 1;
  bool has_ori_type() const;
  private:
  bool _internal_has_ori_type() const;
  public:
  void clear_ori_type();
  ::sns_delta_angle_ori_type ori_type() const;
  void set_ori_type(::sns_delta_angle_ori_type value);
  private:
  ::sns_delta_angle_ori_type _internal_ori_type() const;
  void _internal_set_ori_type(::sns_delta_angle_ori_type value);
  public:

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

  // helper for ByteSizeLong()
  size_t RequiredFieldsByteSizeFallback() const;

  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_;
    float radians_;
    uint32_t latency_us_;
    bool quat_output_enable_;
    bool quat_history_enable_;
    int ori_type_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_sns_5fdelta_5fangle_2eproto;
};
// -------------------------------------------------------------------

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

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

  inline sns_delta_angle_event& operator=(const sns_delta_angle_event& from) {
    CopyFrom(from);
    return *this;
  }
  inline sns_delta_angle_event& operator=(sns_delta_angle_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_delta_angle_event& default_instance() {
    return *internal_default_instance();
  }
  static inline const sns_delta_angle_event* internal_default_instance() {
    return reinterpret_cast<const sns_delta_angle_event*>(
               &_sns_delta_angle_event_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    2;

  friend void swap(sns_delta_angle_event& a, sns_delta_angle_event& b) {
    a.Swap(&b);
  }
  inline void Swap(sns_delta_angle_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_delta_angle_event* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

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

  sns_delta_angle_event* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<sns_delta_angle_event>(arena);
  }
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  void CopyFrom(const sns_delta_angle_event& from);
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  void MergeFrom( const sns_delta_angle_event& from) {
    sns_delta_angle_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_delta_angle_event* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "sns_delta_angle_event";
  }
  protected:
  explicit sns_delta_angle_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 {
    kQuatFieldNumber = 1,
    kHistoryFieldNumber = 2,
    kInitQuatFieldNumber = 3,
  };
  // repeated float quat = 1 [(.nanopb) = {
  int quat_size() const;
  private:
  int _internal_quat_size() const;
  public:
  void clear_quat();
  private:
  float _internal_quat(int index) const;
  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
      _internal_quat() const;
  void _internal_add_quat(float value);
  ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
      _internal_mutable_quat();
  public:
  float quat(int index) const;
  void set_quat(int index, float value);
  void add_quat(float value);
  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
      quat() const;
  ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
      mutable_quat();

  // repeated .sns_delta_angle_quat_history history = 2 [(.nanopb) = {
  int history_size() const;
  private:
  int _internal_history_size() const;
  public:
  void clear_history();
  ::sns_delta_angle_quat_history* mutable_history(int index);
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::sns_delta_angle_quat_history >*
      mutable_history();
  private:
  const ::sns_delta_angle_quat_history& _internal_history(int index) const;
  ::sns_delta_angle_quat_history* _internal_add_history();
  public:
  const ::sns_delta_angle_quat_history& history(int index) const;
  ::sns_delta_angle_quat_history* add_history();
  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::sns_delta_angle_quat_history >&
      history() const;

  // repeated float init_quat = 3 [(.nanopb) = {
  int init_quat_size() const;
  private:
  int _internal_init_quat_size() const;
  public:
  void clear_init_quat();
  private:
  float _internal_init_quat(int index) const;
  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
      _internal_init_quat() const;
  void _internal_add_init_quat(float value);
  ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
      _internal_mutable_init_quat();
  public:
  float init_quat(int index) const;
  void set_init_quat(int index, float value);
  void add_init_quat(float value);
  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
      init_quat() const;
  ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
      mutable_init_quat();

  // @@protoc_insertion_point(class_scope:sns_delta_angle_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::RepeatedField< float > quat_;
    ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::sns_delta_angle_quat_history > history_;
    ::PROTOBUF_NAMESPACE_ID::RepeatedField< float > init_quat_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_sns_5fdelta_5fangle_2eproto;
};
// ===================================================================


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

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

// required uint64 quat_ts = 1;
inline bool sns_delta_angle_quat_history::_internal_has_quat_ts() const {
  bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
  return value;
}
inline bool sns_delta_angle_quat_history::has_quat_ts() const {
  return _internal_has_quat_ts();
}
inline void sns_delta_angle_quat_history::clear_quat_ts() {
  _impl_.quat_ts_ = uint64_t{0u};
  _impl_._has_bits_[0] &= ~0x00000001u;
}
inline uint64_t sns_delta_angle_quat_history::_internal_quat_ts() const {
  return _impl_.quat_ts_;
}
inline uint64_t sns_delta_angle_quat_history::quat_ts() const {
  // @@protoc_insertion_point(field_get:sns_delta_angle_quat_history.quat_ts)
  return _internal_quat_ts();
}
inline void sns_delta_angle_quat_history::_internal_set_quat_ts(uint64_t value) {
  _impl_._has_bits_[0] |= 0x00000001u;
  _impl_.quat_ts_ = value;
}
inline void sns_delta_angle_quat_history::set_quat_ts(uint64_t value) {
  _internal_set_quat_ts(value);
  // @@protoc_insertion_point(field_set:sns_delta_angle_quat_history.quat_ts)
}

// repeated float quat = 2 [(.nanopb) = {
inline int sns_delta_angle_quat_history::_internal_quat_size() const {
  return _impl_.quat_.size();
}
inline int sns_delta_angle_quat_history::quat_size() const {
  return _internal_quat_size();
}
inline void sns_delta_angle_quat_history::clear_quat() {
  _impl_.quat_.Clear();
}
inline float sns_delta_angle_quat_history::_internal_quat(int index) const {
  return _impl_.quat_.Get(index);
}
inline float sns_delta_angle_quat_history::quat(int index) const {
  // @@protoc_insertion_point(field_get:sns_delta_angle_quat_history.quat)
  return _internal_quat(index);
}
inline void sns_delta_angle_quat_history::set_quat(int index, float value) {
  _impl_.quat_.Set(index, value);
  // @@protoc_insertion_point(field_set:sns_delta_angle_quat_history.quat)
}
inline void sns_delta_angle_quat_history::_internal_add_quat(float value) {
  _impl_.quat_.Add(value);
}
inline void sns_delta_angle_quat_history::add_quat(float value) {
  _internal_add_quat(value);
  // @@protoc_insertion_point(field_add:sns_delta_angle_quat_history.quat)
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
sns_delta_angle_quat_history::_internal_quat() const {
  return _impl_.quat_;
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
sns_delta_angle_quat_history::quat() const {
  // @@protoc_insertion_point(field_list:sns_delta_angle_quat_history.quat)
  return _internal_quat();
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
sns_delta_angle_quat_history::_internal_mutable_quat() {
  return &_impl_.quat_;
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
sns_delta_angle_quat_history::mutable_quat() {
  // @@protoc_insertion_point(field_mutable_list:sns_delta_angle_quat_history.quat)
  return _internal_mutable_quat();
}

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

// sns_delta_angle_config

// required .sns_delta_angle_ori_type ori_type = 1;
inline bool sns_delta_angle_config::_internal_has_ori_type() const {
  bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
  return value;
}
inline bool sns_delta_angle_config::has_ori_type() const {
  return _internal_has_ori_type();
}
inline void sns_delta_angle_config::clear_ori_type() {
  _impl_.ori_type_ = 1;
  _impl_._has_bits_[0] &= ~0x00000010u;
}
inline ::sns_delta_angle_ori_type sns_delta_angle_config::_internal_ori_type() const {
  return static_cast< ::sns_delta_angle_ori_type >(_impl_.ori_type_);
}
inline ::sns_delta_angle_ori_type sns_delta_angle_config::ori_type() const {
  // @@protoc_insertion_point(field_get:sns_delta_angle_config.ori_type)
  return _internal_ori_type();
}
inline void sns_delta_angle_config::_internal_set_ori_type(::sns_delta_angle_ori_type value) {
  assert(::sns_delta_angle_ori_type_IsValid(value));
  _impl_._has_bits_[0] |= 0x00000010u;
  _impl_.ori_type_ = value;
}
inline void sns_delta_angle_config::set_ori_type(::sns_delta_angle_ori_type value) {
  _internal_set_ori_type(value);
  // @@protoc_insertion_point(field_set:sns_delta_angle_config.ori_type)
}

// required float radians = 2;
inline bool sns_delta_angle_config::_internal_has_radians() const {
  bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
  return value;
}
inline bool sns_delta_angle_config::has_radians() const {
  return _internal_has_radians();
}
inline void sns_delta_angle_config::clear_radians() {
  _impl_.radians_ = 0;
  _impl_._has_bits_[0] &= ~0x00000001u;
}
inline float sns_delta_angle_config::_internal_radians() const {
  return _impl_.radians_;
}
inline float sns_delta_angle_config::radians() const {
  // @@protoc_insertion_point(field_get:sns_delta_angle_config.radians)
  return _internal_radians();
}
inline void sns_delta_angle_config::_internal_set_radians(float value) {
  _impl_._has_bits_[0] |= 0x00000001u;
  _impl_.radians_ = value;
}
inline void sns_delta_angle_config::set_radians(float value) {
  _internal_set_radians(value);
  // @@protoc_insertion_point(field_set:sns_delta_angle_config.radians)
}

// required uint32 latency_us = 3;
inline bool sns_delta_angle_config::_internal_has_latency_us() const {
  bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
  return value;
}
inline bool sns_delta_angle_config::has_latency_us() const {
  return _internal_has_latency_us();
}
inline void sns_delta_angle_config::clear_latency_us() {
  _impl_.latency_us_ = 0u;
  _impl_._has_bits_[0] &= ~0x00000002u;
}
inline uint32_t sns_delta_angle_config::_internal_latency_us() const {
  return _impl_.latency_us_;
}
inline uint32_t sns_delta_angle_config::latency_us() const {
  // @@protoc_insertion_point(field_get:sns_delta_angle_config.latency_us)
  return _internal_latency_us();
}
inline void sns_delta_angle_config::_internal_set_latency_us(uint32_t value) {
  _impl_._has_bits_[0] |= 0x00000002u;
  _impl_.latency_us_ = value;
}
inline void sns_delta_angle_config::set_latency_us(uint32_t value) {
  _internal_set_latency_us(value);
  // @@protoc_insertion_point(field_set:sns_delta_angle_config.latency_us)
}

// optional bool quat_output_enable = 4;
inline bool sns_delta_angle_config::_internal_has_quat_output_enable() const {
  bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
  return value;
}
inline bool sns_delta_angle_config::has_quat_output_enable() const {
  return _internal_has_quat_output_enable();
}
inline void sns_delta_angle_config::clear_quat_output_enable() {
  _impl_.quat_output_enable_ = false;
  _impl_._has_bits_[0] &= ~0x00000004u;
}
inline bool sns_delta_angle_config::_internal_quat_output_enable() const {
  return _impl_.quat_output_enable_;
}
inline bool sns_delta_angle_config::quat_output_enable() const {
  // @@protoc_insertion_point(field_get:sns_delta_angle_config.quat_output_enable)
  return _internal_quat_output_enable();
}
inline void sns_delta_angle_config::_internal_set_quat_output_enable(bool value) {
  _impl_._has_bits_[0] |= 0x00000004u;
  _impl_.quat_output_enable_ = value;
}
inline void sns_delta_angle_config::set_quat_output_enable(bool value) {
  _internal_set_quat_output_enable(value);
  // @@protoc_insertion_point(field_set:sns_delta_angle_config.quat_output_enable)
}

// optional bool quat_history_enable = 5;
inline bool sns_delta_angle_config::_internal_has_quat_history_enable() const {
  bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
  return value;
}
inline bool sns_delta_angle_config::has_quat_history_enable() const {
  return _internal_has_quat_history_enable();
}
inline void sns_delta_angle_config::clear_quat_history_enable() {
  _impl_.quat_history_enable_ = false;
  _impl_._has_bits_[0] &= ~0x00000008u;
}
inline bool sns_delta_angle_config::_internal_quat_history_enable() const {
  return _impl_.quat_history_enable_;
}
inline bool sns_delta_angle_config::quat_history_enable() const {
  // @@protoc_insertion_point(field_get:sns_delta_angle_config.quat_history_enable)
  return _internal_quat_history_enable();
}
inline void sns_delta_angle_config::_internal_set_quat_history_enable(bool value) {
  _impl_._has_bits_[0] |= 0x00000008u;
  _impl_.quat_history_enable_ = value;
}
inline void sns_delta_angle_config::set_quat_history_enable(bool value) {
  _internal_set_quat_history_enable(value);
  // @@protoc_insertion_point(field_set:sns_delta_angle_config.quat_history_enable)
}

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

// sns_delta_angle_event

// repeated float quat = 1 [(.nanopb) = {
inline int sns_delta_angle_event::_internal_quat_size() const {
  return _impl_.quat_.size();
}
inline int sns_delta_angle_event::quat_size() const {
  return _internal_quat_size();
}
inline void sns_delta_angle_event::clear_quat() {
  _impl_.quat_.Clear();
}
inline float sns_delta_angle_event::_internal_quat(int index) const {
  return _impl_.quat_.Get(index);
}
inline float sns_delta_angle_event::quat(int index) const {
  // @@protoc_insertion_point(field_get:sns_delta_angle_event.quat)
  return _internal_quat(index);
}
inline void sns_delta_angle_event::set_quat(int index, float value) {
  _impl_.quat_.Set(index, value);
  // @@protoc_insertion_point(field_set:sns_delta_angle_event.quat)
}
inline void sns_delta_angle_event::_internal_add_quat(float value) {
  _impl_.quat_.Add(value);
}
inline void sns_delta_angle_event::add_quat(float value) {
  _internal_add_quat(value);
  // @@protoc_insertion_point(field_add:sns_delta_angle_event.quat)
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
sns_delta_angle_event::_internal_quat() const {
  return _impl_.quat_;
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
sns_delta_angle_event::quat() const {
  // @@protoc_insertion_point(field_list:sns_delta_angle_event.quat)
  return _internal_quat();
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
sns_delta_angle_event::_internal_mutable_quat() {
  return &_impl_.quat_;
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
sns_delta_angle_event::mutable_quat() {
  // @@protoc_insertion_point(field_mutable_list:sns_delta_angle_event.quat)
  return _internal_mutable_quat();
}

// repeated .sns_delta_angle_quat_history history = 2 [(.nanopb) = {
inline int sns_delta_angle_event::_internal_history_size() const {
  return _impl_.history_.size();
}
inline int sns_delta_angle_event::history_size() const {
  return _internal_history_size();
}
inline void sns_delta_angle_event::clear_history() {
  _impl_.history_.Clear();
}
inline ::sns_delta_angle_quat_history* sns_delta_angle_event::mutable_history(int index) {
  // @@protoc_insertion_point(field_mutable:sns_delta_angle_event.history)
  return _impl_.history_.Mutable(index);
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::sns_delta_angle_quat_history >*
sns_delta_angle_event::mutable_history() {
  // @@protoc_insertion_point(field_mutable_list:sns_delta_angle_event.history)
  return &_impl_.history_;
}
inline const ::sns_delta_angle_quat_history& sns_delta_angle_event::_internal_history(int index) const {
  return _impl_.history_.Get(index);
}
inline const ::sns_delta_angle_quat_history& sns_delta_angle_event::history(int index) const {
  // @@protoc_insertion_point(field_get:sns_delta_angle_event.history)
  return _internal_history(index);
}
inline ::sns_delta_angle_quat_history* sns_delta_angle_event::_internal_add_history() {
  return _impl_.history_.Add();
}
inline ::sns_delta_angle_quat_history* sns_delta_angle_event::add_history() {
  ::sns_delta_angle_quat_history* _add = _internal_add_history();
  // @@protoc_insertion_point(field_add:sns_delta_angle_event.history)
  return _add;
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::sns_delta_angle_quat_history >&
sns_delta_angle_event::history() const {
  // @@protoc_insertion_point(field_list:sns_delta_angle_event.history)
  return _impl_.history_;
}

// repeated float init_quat = 3 [(.nanopb) = {
inline int sns_delta_angle_event::_internal_init_quat_size() const {
  return _impl_.init_quat_.size();
}
inline int sns_delta_angle_event::init_quat_size() const {
  return _internal_init_quat_size();
}
inline void sns_delta_angle_event::clear_init_quat() {
  _impl_.init_quat_.Clear();
}
inline float sns_delta_angle_event::_internal_init_quat(int index) const {
  return _impl_.init_quat_.Get(index);
}
inline float sns_delta_angle_event::init_quat(int index) const {
  // @@protoc_insertion_point(field_get:sns_delta_angle_event.init_quat)
  return _internal_init_quat(index);
}
inline void sns_delta_angle_event::set_init_quat(int index, float value) {
  _impl_.init_quat_.Set(index, value);
  // @@protoc_insertion_point(field_set:sns_delta_angle_event.init_quat)
}
inline void sns_delta_angle_event::_internal_add_init_quat(float value) {
  _impl_.init_quat_.Add(value);
}
inline void sns_delta_angle_event::add_init_quat(float value) {
  _internal_add_init_quat(value);
  // @@protoc_insertion_point(field_add:sns_delta_angle_event.init_quat)
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
sns_delta_angle_event::_internal_init_quat() const {
  return _impl_.init_quat_;
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
sns_delta_angle_event::init_quat() const {
  // @@protoc_insertion_point(field_list:sns_delta_angle_event.init_quat)
  return _internal_init_quat();
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
sns_delta_angle_event::_internal_mutable_init_quat() {
  return &_impl_.init_quat_;
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
sns_delta_angle_event::mutable_init_quat() {
  // @@protoc_insertion_point(field_mutable_list:sns_delta_angle_event.init_quat)
  return _internal_mutable_init_quat();
}

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

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


// @@protoc_insertion_point(namespace_scope)


PROTOBUF_NAMESPACE_OPEN

template <> struct is_proto_enum< ::sns_delta_angle_msgid> : ::std::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor< ::sns_delta_angle_msgid>() {
  return ::sns_delta_angle_msgid_descriptor();
}
template <> struct is_proto_enum< ::sns_delta_angle_ori_type> : ::std::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor< ::sns_delta_angle_ori_type>() {
  return ::sns_delta_angle_ori_type_descriptor();
}

PROTOBUF_NAMESPACE_CLOSE

// @@protoc_insertion_point(global_scope)

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