// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: ignition/msgs/imu_sensor.proto

#ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fimu_5fsensor_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fimu_5fsensor_2eproto

#include <limits>
#include <string>

#include <google/protobuf/port_def.inc>
#if PROTOBUF_VERSION < 3011000
#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 3011004 < 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_table_driven.h>
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/inlined_string_field.h>
#include <google/protobuf/metadata.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/unknown_field_set.h>
#include "ignition/msgs/sensor_noise.pb.h"
#include "ignition/msgs/header.pb.h"
#include "ignition/msgs/vector3d.pb.h"
#ifndef _MSC_VER
#pragma GCC system_header
#else
#pragma warning(push)
#pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
#endif
#ifdef __linux__
#include <sys/sysmacros.h>
#endif
#include <memory>
#include <ignition/msgs/Export.hh>
// @@protoc_insertion_point(includes)
#include <google/protobuf/port_def.inc>
#define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fimu_5fsensor_2eproto IGNITION_MSGS_VISIBLE
PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
}  // namespace internal
PROTOBUF_NAMESPACE_CLOSE

// Internal implementation detail -- do not use these members.
struct IGNITION_MSGS_VISIBLE TableStruct_ignition_2fmsgs_2fimu_5fsensor_2eproto {
  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
    PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
    PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[4]
    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 IGNITION_MSGS_VISIBLE const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fimu_5fsensor_2eproto;
namespace ignition {
namespace msgs {
class IMUSensor;
class IMUSensorDefaultTypeInternal;
IGNITION_MSGS_VISIBLE extern IMUSensorDefaultTypeInternal _IMUSensor_default_instance_;
class IMUSensor_AngularVelocity;
class IMUSensor_AngularVelocityDefaultTypeInternal;
IGNITION_MSGS_VISIBLE extern IMUSensor_AngularVelocityDefaultTypeInternal _IMUSensor_AngularVelocity_default_instance_;
class IMUSensor_LinearAcceleration;
class IMUSensor_LinearAccelerationDefaultTypeInternal;
IGNITION_MSGS_VISIBLE extern IMUSensor_LinearAccelerationDefaultTypeInternal _IMUSensor_LinearAcceleration_default_instance_;
class IMUSensor_OrientationReferenceFrame;
class IMUSensor_OrientationReferenceFrameDefaultTypeInternal;
IGNITION_MSGS_VISIBLE extern IMUSensor_OrientationReferenceFrameDefaultTypeInternal _IMUSensor_OrientationReferenceFrame_default_instance_;
}  // namespace msgs
}  // namespace ignition
PROTOBUF_NAMESPACE_OPEN
template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::IMUSensor* Arena::CreateMaybeMessage<::ignition::msgs::IMUSensor>(Arena*);
template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::IMUSensor_AngularVelocity* Arena::CreateMaybeMessage<::ignition::msgs::IMUSensor_AngularVelocity>(Arena*);
template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::IMUSensor_LinearAcceleration* Arena::CreateMaybeMessage<::ignition::msgs::IMUSensor_LinearAcceleration>(Arena*);
template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::IMUSensor_OrientationReferenceFrame* Arena::CreateMaybeMessage<::ignition::msgs::IMUSensor_OrientationReferenceFrame>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace ignition {
namespace msgs {

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

class IGNITION_MSGS_VISIBLE IMUSensor_AngularVelocity :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.IMUSensor.AngularVelocity) */ {
 public:
  IMUSensor_AngularVelocity();
  virtual ~IMUSensor_AngularVelocity();

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

  inline IMUSensor_AngularVelocity& operator=(const IMUSensor_AngularVelocity& from) {
    CopyFrom(from);
    return *this;
  }
  inline IMUSensor_AngularVelocity& operator=(IMUSensor_AngularVelocity&& from) noexcept {
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
      if (this != &from) InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  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 IMUSensor_AngularVelocity& default_instance();

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

  friend void swap(IMUSensor_AngularVelocity& a, IMUSensor_AngularVelocity& b) {
    a.Swap(&b);
  }
  inline void Swap(IMUSensor_AngularVelocity* other) {
    if (other == this) return;
    InternalSwap(other);
  }

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

  inline IMUSensor_AngularVelocity* New() const final {
    return CreateMaybeMessage<IMUSensor_AngularVelocity>(nullptr);
  }

  IMUSensor_AngularVelocity* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
    return CreateMaybeMessage<IMUSensor_AngularVelocity>(arena);
  }
  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void CopyFrom(const IMUSensor_AngularVelocity& from);
  void MergeFrom(const IMUSensor_AngularVelocity& 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(IMUSensor_AngularVelocity* other);
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "ignition.msgs.IMUSensor.AngularVelocity";
  }
  private:
  inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
    return nullptr;
  }
  inline void* MaybeArenaPtr() const {
    return nullptr;
  }
  public:

  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  private:
  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
    ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_ignition_2fmsgs_2fimu_5fsensor_2eproto);
    return ::descriptor_table_ignition_2fmsgs_2fimu_5fsensor_2eproto.file_level_metadata[kIndexInFileMessages];
  }

  public:

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

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

  enum : int {
    kXNoiseFieldNumber = 1,
    kYNoiseFieldNumber = 2,
    kZNoiseFieldNumber = 3,
  };
  // .ignition.msgs.SensorNoise x_noise = 1;
  bool has_x_noise() const;
  private:
  bool _internal_has_x_noise() const;
  public:
  void clear_x_noise();
  const ::ignition::msgs::SensorNoise& x_noise() const;
  ::ignition::msgs::SensorNoise* release_x_noise();
  ::ignition::msgs::SensorNoise* mutable_x_noise();
  void set_allocated_x_noise(::ignition::msgs::SensorNoise* x_noise);
  private:
  const ::ignition::msgs::SensorNoise& _internal_x_noise() const;
  ::ignition::msgs::SensorNoise* _internal_mutable_x_noise();
  public:

  // .ignition.msgs.SensorNoise y_noise = 2;
  bool has_y_noise() const;
  private:
  bool _internal_has_y_noise() const;
  public:
  void clear_y_noise();
  const ::ignition::msgs::SensorNoise& y_noise() const;
  ::ignition::msgs::SensorNoise* release_y_noise();
  ::ignition::msgs::SensorNoise* mutable_y_noise();
  void set_allocated_y_noise(::ignition::msgs::SensorNoise* y_noise);
  private:
  const ::ignition::msgs::SensorNoise& _internal_y_noise() const;
  ::ignition::msgs::SensorNoise* _internal_mutable_y_noise();
  public:

  // .ignition.msgs.SensorNoise z_noise = 3;
  bool has_z_noise() const;
  private:
  bool _internal_has_z_noise() const;
  public:
  void clear_z_noise();
  const ::ignition::msgs::SensorNoise& z_noise() const;
  ::ignition::msgs::SensorNoise* release_z_noise();
  ::ignition::msgs::SensorNoise* mutable_z_noise();
  void set_allocated_z_noise(::ignition::msgs::SensorNoise* z_noise);
  private:
  const ::ignition::msgs::SensorNoise& _internal_z_noise() const;
  ::ignition::msgs::SensorNoise* _internal_mutable_z_noise();
  public:

  // @@protoc_insertion_point(class_scope:ignition.msgs.IMUSensor.AngularVelocity)
 private:
  class _Internal;

  ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
  ::ignition::msgs::SensorNoise* x_noise_;
  ::ignition::msgs::SensorNoise* y_noise_;
  ::ignition::msgs::SensorNoise* z_noise_;
  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  friend struct ::TableStruct_ignition_2fmsgs_2fimu_5fsensor_2eproto;
};
// -------------------------------------------------------------------

class IGNITION_MSGS_VISIBLE IMUSensor_LinearAcceleration :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.IMUSensor.LinearAcceleration) */ {
 public:
  IMUSensor_LinearAcceleration();
  virtual ~IMUSensor_LinearAcceleration();

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

  inline IMUSensor_LinearAcceleration& operator=(const IMUSensor_LinearAcceleration& from) {
    CopyFrom(from);
    return *this;
  }
  inline IMUSensor_LinearAcceleration& operator=(IMUSensor_LinearAcceleration&& from) noexcept {
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
      if (this != &from) InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  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 IMUSensor_LinearAcceleration& default_instance();

  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
  static inline const IMUSensor_LinearAcceleration* internal_default_instance() {
    return reinterpret_cast<const IMUSensor_LinearAcceleration*>(
               &_IMUSensor_LinearAcceleration_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    1;

  friend void swap(IMUSensor_LinearAcceleration& a, IMUSensor_LinearAcceleration& b) {
    a.Swap(&b);
  }
  inline void Swap(IMUSensor_LinearAcceleration* other) {
    if (other == this) return;
    InternalSwap(other);
  }

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

  inline IMUSensor_LinearAcceleration* New() const final {
    return CreateMaybeMessage<IMUSensor_LinearAcceleration>(nullptr);
  }

  IMUSensor_LinearAcceleration* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
    return CreateMaybeMessage<IMUSensor_LinearAcceleration>(arena);
  }
  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void CopyFrom(const IMUSensor_LinearAcceleration& from);
  void MergeFrom(const IMUSensor_LinearAcceleration& 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(IMUSensor_LinearAcceleration* other);
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "ignition.msgs.IMUSensor.LinearAcceleration";
  }
  private:
  inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
    return nullptr;
  }
  inline void* MaybeArenaPtr() const {
    return nullptr;
  }
  public:

  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  private:
  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
    ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_ignition_2fmsgs_2fimu_5fsensor_2eproto);
    return ::descriptor_table_ignition_2fmsgs_2fimu_5fsensor_2eproto.file_level_metadata[kIndexInFileMessages];
  }

  public:

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

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

  enum : int {
    kXNoiseFieldNumber = 1,
    kYNoiseFieldNumber = 2,
    kZNoiseFieldNumber = 3,
  };
  // .ignition.msgs.SensorNoise x_noise = 1;
  bool has_x_noise() const;
  private:
  bool _internal_has_x_noise() const;
  public:
  void clear_x_noise();
  const ::ignition::msgs::SensorNoise& x_noise() const;
  ::ignition::msgs::SensorNoise* release_x_noise();
  ::ignition::msgs::SensorNoise* mutable_x_noise();
  void set_allocated_x_noise(::ignition::msgs::SensorNoise* x_noise);
  private:
  const ::ignition::msgs::SensorNoise& _internal_x_noise() const;
  ::ignition::msgs::SensorNoise* _internal_mutable_x_noise();
  public:

  // .ignition.msgs.SensorNoise y_noise = 2;
  bool has_y_noise() const;
  private:
  bool _internal_has_y_noise() const;
  public:
  void clear_y_noise();
  const ::ignition::msgs::SensorNoise& y_noise() const;
  ::ignition::msgs::SensorNoise* release_y_noise();
  ::ignition::msgs::SensorNoise* mutable_y_noise();
  void set_allocated_y_noise(::ignition::msgs::SensorNoise* y_noise);
  private:
  const ::ignition::msgs::SensorNoise& _internal_y_noise() const;
  ::ignition::msgs::SensorNoise* _internal_mutable_y_noise();
  public:

  // .ignition.msgs.SensorNoise z_noise = 3;
  bool has_z_noise() const;
  private:
  bool _internal_has_z_noise() const;
  public:
  void clear_z_noise();
  const ::ignition::msgs::SensorNoise& z_noise() const;
  ::ignition::msgs::SensorNoise* release_z_noise();
  ::ignition::msgs::SensorNoise* mutable_z_noise();
  void set_allocated_z_noise(::ignition::msgs::SensorNoise* z_noise);
  private:
  const ::ignition::msgs::SensorNoise& _internal_z_noise() const;
  ::ignition::msgs::SensorNoise* _internal_mutable_z_noise();
  public:

  // @@protoc_insertion_point(class_scope:ignition.msgs.IMUSensor.LinearAcceleration)
 private:
  class _Internal;

  ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
  ::ignition::msgs::SensorNoise* x_noise_;
  ::ignition::msgs::SensorNoise* y_noise_;
  ::ignition::msgs::SensorNoise* z_noise_;
  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  friend struct ::TableStruct_ignition_2fmsgs_2fimu_5fsensor_2eproto;
};
// -------------------------------------------------------------------

class IGNITION_MSGS_VISIBLE IMUSensor_OrientationReferenceFrame :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.IMUSensor.OrientationReferenceFrame) */ {
 public:
  IMUSensor_OrientationReferenceFrame();
  virtual ~IMUSensor_OrientationReferenceFrame();

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

  inline IMUSensor_OrientationReferenceFrame& operator=(const IMUSensor_OrientationReferenceFrame& from) {
    CopyFrom(from);
    return *this;
  }
  inline IMUSensor_OrientationReferenceFrame& operator=(IMUSensor_OrientationReferenceFrame&& from) noexcept {
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
      if (this != &from) InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  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 IMUSensor_OrientationReferenceFrame& default_instance();

  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
  static inline const IMUSensor_OrientationReferenceFrame* internal_default_instance() {
    return reinterpret_cast<const IMUSensor_OrientationReferenceFrame*>(
               &_IMUSensor_OrientationReferenceFrame_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    2;

  friend void swap(IMUSensor_OrientationReferenceFrame& a, IMUSensor_OrientationReferenceFrame& b) {
    a.Swap(&b);
  }
  inline void Swap(IMUSensor_OrientationReferenceFrame* other) {
    if (other == this) return;
    InternalSwap(other);
  }

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

  inline IMUSensor_OrientationReferenceFrame* New() const final {
    return CreateMaybeMessage<IMUSensor_OrientationReferenceFrame>(nullptr);
  }

  IMUSensor_OrientationReferenceFrame* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
    return CreateMaybeMessage<IMUSensor_OrientationReferenceFrame>(arena);
  }
  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void CopyFrom(const IMUSensor_OrientationReferenceFrame& from);
  void MergeFrom(const IMUSensor_OrientationReferenceFrame& 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(IMUSensor_OrientationReferenceFrame* other);
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "ignition.msgs.IMUSensor.OrientationReferenceFrame";
  }
  private:
  inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
    return nullptr;
  }
  inline void* MaybeArenaPtr() const {
    return nullptr;
  }
  public:

  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  private:
  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
    ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_ignition_2fmsgs_2fimu_5fsensor_2eproto);
    return ::descriptor_table_ignition_2fmsgs_2fimu_5fsensor_2eproto.file_level_metadata[kIndexInFileMessages];
  }

  public:

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

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

  enum : int {
    kLocalizationFieldNumber = 1,
    kCustomRpyParentFrameFieldNumber = 3,
    kGravityDirXParentFrameFieldNumber = 5,
    kCustomRpyFieldNumber = 2,
    kGravityDirXFieldNumber = 4,
  };
  // string localization = 1;
  void clear_localization();
  const std::string& localization() const;
  void set_localization(const std::string& value);
  void set_localization(std::string&& value);
  void set_localization(const char* value);
  void set_localization(const char* value, size_t size);
  std::string* mutable_localization();
  std::string* release_localization();
  void set_allocated_localization(std::string* localization);
  private:
  const std::string& _internal_localization() const;
  void _internal_set_localization(const std::string& value);
  std::string* _internal_mutable_localization();
  public:

  // string custom_rpy_parent_frame = 3;
  void clear_custom_rpy_parent_frame();
  const std::string& custom_rpy_parent_frame() const;
  void set_custom_rpy_parent_frame(const std::string& value);
  void set_custom_rpy_parent_frame(std::string&& value);
  void set_custom_rpy_parent_frame(const char* value);
  void set_custom_rpy_parent_frame(const char* value, size_t size);
  std::string* mutable_custom_rpy_parent_frame();
  std::string* release_custom_rpy_parent_frame();
  void set_allocated_custom_rpy_parent_frame(std::string* custom_rpy_parent_frame);
  private:
  const std::string& _internal_custom_rpy_parent_frame() const;
  void _internal_set_custom_rpy_parent_frame(const std::string& value);
  std::string* _internal_mutable_custom_rpy_parent_frame();
  public:

  // string gravity_dir_x_parent_frame = 5;
  void clear_gravity_dir_x_parent_frame();
  const std::string& gravity_dir_x_parent_frame() const;
  void set_gravity_dir_x_parent_frame(const std::string& value);
  void set_gravity_dir_x_parent_frame(std::string&& value);
  void set_gravity_dir_x_parent_frame(const char* value);
  void set_gravity_dir_x_parent_frame(const char* value, size_t size);
  std::string* mutable_gravity_dir_x_parent_frame();
  std::string* release_gravity_dir_x_parent_frame();
  void set_allocated_gravity_dir_x_parent_frame(std::string* gravity_dir_x_parent_frame);
  private:
  const std::string& _internal_gravity_dir_x_parent_frame() const;
  void _internal_set_gravity_dir_x_parent_frame(const std::string& value);
  std::string* _internal_mutable_gravity_dir_x_parent_frame();
  public:

  // .ignition.msgs.Vector3d custom_rpy = 2;
  bool has_custom_rpy() const;
  private:
  bool _internal_has_custom_rpy() const;
  public:
  void clear_custom_rpy();
  const ::ignition::msgs::Vector3d& custom_rpy() const;
  ::ignition::msgs::Vector3d* release_custom_rpy();
  ::ignition::msgs::Vector3d* mutable_custom_rpy();
  void set_allocated_custom_rpy(::ignition::msgs::Vector3d* custom_rpy);
  private:
  const ::ignition::msgs::Vector3d& _internal_custom_rpy() const;
  ::ignition::msgs::Vector3d* _internal_mutable_custom_rpy();
  public:

  // .ignition.msgs.Vector3d gravity_dir_x = 4;
  bool has_gravity_dir_x() const;
  private:
  bool _internal_has_gravity_dir_x() const;
  public:
  void clear_gravity_dir_x();
  const ::ignition::msgs::Vector3d& gravity_dir_x() const;
  ::ignition::msgs::Vector3d* release_gravity_dir_x();
  ::ignition::msgs::Vector3d* mutable_gravity_dir_x();
  void set_allocated_gravity_dir_x(::ignition::msgs::Vector3d* gravity_dir_x);
  private:
  const ::ignition::msgs::Vector3d& _internal_gravity_dir_x() const;
  ::ignition::msgs::Vector3d* _internal_mutable_gravity_dir_x();
  public:

  // @@protoc_insertion_point(class_scope:ignition.msgs.IMUSensor.OrientationReferenceFrame)
 private:
  class _Internal;

  ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr localization_;
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr custom_rpy_parent_frame_;
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr gravity_dir_x_parent_frame_;
  ::ignition::msgs::Vector3d* custom_rpy_;
  ::ignition::msgs::Vector3d* gravity_dir_x_;
  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  friend struct ::TableStruct_ignition_2fmsgs_2fimu_5fsensor_2eproto;
};
// -------------------------------------------------------------------

class IGNITION_MSGS_VISIBLE IMUSensor :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.IMUSensor) */ {
 public:
  IMUSensor();
  virtual ~IMUSensor();

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

  inline IMUSensor& operator=(const IMUSensor& from) {
    CopyFrom(from);
    return *this;
  }
  inline IMUSensor& operator=(IMUSensor&& from) noexcept {
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
      if (this != &from) InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  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 IMUSensor& default_instance();

  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
  static inline const IMUSensor* internal_default_instance() {
    return reinterpret_cast<const IMUSensor*>(
               &_IMUSensor_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    3;

  friend void swap(IMUSensor& a, IMUSensor& b) {
    a.Swap(&b);
  }
  inline void Swap(IMUSensor* other) {
    if (other == this) return;
    InternalSwap(other);
  }

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

  inline IMUSensor* New() const final {
    return CreateMaybeMessage<IMUSensor>(nullptr);
  }

  IMUSensor* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
    return CreateMaybeMessage<IMUSensor>(arena);
  }
  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void CopyFrom(const IMUSensor& from);
  void MergeFrom(const IMUSensor& 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(IMUSensor* other);
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "ignition.msgs.IMUSensor";
  }
  private:
  inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
    return nullptr;
  }
  inline void* MaybeArenaPtr() const {
    return nullptr;
  }
  public:

  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  private:
  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
    ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_ignition_2fmsgs_2fimu_5fsensor_2eproto);
    return ::descriptor_table_ignition_2fmsgs_2fimu_5fsensor_2eproto.file_level_metadata[kIndexInFileMessages];
  }

  public:

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

  typedef IMUSensor_AngularVelocity AngularVelocity;
  typedef IMUSensor_LinearAcceleration LinearAcceleration;
  typedef IMUSensor_OrientationReferenceFrame OrientationReferenceFrame;

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

  enum : int {
    kHeaderFieldNumber = 1,
    kAngularVelocityFieldNumber = 2,
    kLinearAccelerationFieldNumber = 3,
    kOrientationRefFrameFieldNumber = 4,
  };
  // .ignition.msgs.Header header = 1;
  bool has_header() const;
  private:
  bool _internal_has_header() const;
  public:
  void clear_header();
  const ::ignition::msgs::Header& header() const;
  ::ignition::msgs::Header* release_header();
  ::ignition::msgs::Header* mutable_header();
  void set_allocated_header(::ignition::msgs::Header* header);
  private:
  const ::ignition::msgs::Header& _internal_header() const;
  ::ignition::msgs::Header* _internal_mutable_header();
  public:

  // .ignition.msgs.IMUSensor.AngularVelocity angular_velocity = 2;
  bool has_angular_velocity() const;
  private:
  bool _internal_has_angular_velocity() const;
  public:
  void clear_angular_velocity();
  const ::ignition::msgs::IMUSensor_AngularVelocity& angular_velocity() const;
  ::ignition::msgs::IMUSensor_AngularVelocity* release_angular_velocity();
  ::ignition::msgs::IMUSensor_AngularVelocity* mutable_angular_velocity();
  void set_allocated_angular_velocity(::ignition::msgs::IMUSensor_AngularVelocity* angular_velocity);
  private:
  const ::ignition::msgs::IMUSensor_AngularVelocity& _internal_angular_velocity() const;
  ::ignition::msgs::IMUSensor_AngularVelocity* _internal_mutable_angular_velocity();
  public:

  // .ignition.msgs.IMUSensor.LinearAcceleration linear_acceleration = 3;
  bool has_linear_acceleration() const;
  private:
  bool _internal_has_linear_acceleration() const;
  public:
  void clear_linear_acceleration();
  const ::ignition::msgs::IMUSensor_LinearAcceleration& linear_acceleration() const;
  ::ignition::msgs::IMUSensor_LinearAcceleration* release_linear_acceleration();
  ::ignition::msgs::IMUSensor_LinearAcceleration* mutable_linear_acceleration();
  void set_allocated_linear_acceleration(::ignition::msgs::IMUSensor_LinearAcceleration* linear_acceleration);
  private:
  const ::ignition::msgs::IMUSensor_LinearAcceleration& _internal_linear_acceleration() const;
  ::ignition::msgs::IMUSensor_LinearAcceleration* _internal_mutable_linear_acceleration();
  public:

  // .ignition.msgs.IMUSensor.OrientationReferenceFrame orientation_ref_frame = 4;
  bool has_orientation_ref_frame() const;
  private:
  bool _internal_has_orientation_ref_frame() const;
  public:
  void clear_orientation_ref_frame();
  const ::ignition::msgs::IMUSensor_OrientationReferenceFrame& orientation_ref_frame() const;
  ::ignition::msgs::IMUSensor_OrientationReferenceFrame* release_orientation_ref_frame();
  ::ignition::msgs::IMUSensor_OrientationReferenceFrame* mutable_orientation_ref_frame();
  void set_allocated_orientation_ref_frame(::ignition::msgs::IMUSensor_OrientationReferenceFrame* orientation_ref_frame);
  private:
  const ::ignition::msgs::IMUSensor_OrientationReferenceFrame& _internal_orientation_ref_frame() const;
  ::ignition::msgs::IMUSensor_OrientationReferenceFrame* _internal_mutable_orientation_ref_frame();
  public:

  // @@protoc_insertion_point(class_scope:ignition.msgs.IMUSensor)
 private:
  class _Internal;

  ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
  ::ignition::msgs::Header* header_;
  ::ignition::msgs::IMUSensor_AngularVelocity* angular_velocity_;
  ::ignition::msgs::IMUSensor_LinearAcceleration* linear_acceleration_;
  ::ignition::msgs::IMUSensor_OrientationReferenceFrame* orientation_ref_frame_;
  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  friend struct ::TableStruct_ignition_2fmsgs_2fimu_5fsensor_2eproto;
};
// ===================================================================


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

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

// .ignition.msgs.SensorNoise x_noise = 1;
inline bool IMUSensor_AngularVelocity::_internal_has_x_noise() const {
  return this != internal_default_instance() && x_noise_ != nullptr;
}
inline bool IMUSensor_AngularVelocity::has_x_noise() const {
  return _internal_has_x_noise();
}
inline const ::ignition::msgs::SensorNoise& IMUSensor_AngularVelocity::_internal_x_noise() const {
  const ::ignition::msgs::SensorNoise* p = x_noise_;
  return p != nullptr ? *p : *reinterpret_cast<const ::ignition::msgs::SensorNoise*>(
      &::ignition::msgs::_SensorNoise_default_instance_);
}
inline const ::ignition::msgs::SensorNoise& IMUSensor_AngularVelocity::x_noise() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.IMUSensor.AngularVelocity.x_noise)
  return _internal_x_noise();
}
inline ::ignition::msgs::SensorNoise* IMUSensor_AngularVelocity::release_x_noise() {
  // @@protoc_insertion_point(field_release:ignition.msgs.IMUSensor.AngularVelocity.x_noise)
  
  ::ignition::msgs::SensorNoise* temp = x_noise_;
  x_noise_ = nullptr;
  return temp;
}
inline ::ignition::msgs::SensorNoise* IMUSensor_AngularVelocity::_internal_mutable_x_noise() {
  
  if (x_noise_ == nullptr) {
    auto* p = CreateMaybeMessage<::ignition::msgs::SensorNoise>(GetArenaNoVirtual());
    x_noise_ = p;
  }
  return x_noise_;
}
inline ::ignition::msgs::SensorNoise* IMUSensor_AngularVelocity::mutable_x_noise() {
  // @@protoc_insertion_point(field_mutable:ignition.msgs.IMUSensor.AngularVelocity.x_noise)
  return _internal_mutable_x_noise();
}
inline void IMUSensor_AngularVelocity::set_allocated_x_noise(::ignition::msgs::SensorNoise* x_noise) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(x_noise_);
  }
  if (x_noise) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
    if (message_arena != submessage_arena) {
      x_noise = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, x_noise, submessage_arena);
    }
    
  } else {
    
  }
  x_noise_ = x_noise;
  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.IMUSensor.AngularVelocity.x_noise)
}

// .ignition.msgs.SensorNoise y_noise = 2;
inline bool IMUSensor_AngularVelocity::_internal_has_y_noise() const {
  return this != internal_default_instance() && y_noise_ != nullptr;
}
inline bool IMUSensor_AngularVelocity::has_y_noise() const {
  return _internal_has_y_noise();
}
inline const ::ignition::msgs::SensorNoise& IMUSensor_AngularVelocity::_internal_y_noise() const {
  const ::ignition::msgs::SensorNoise* p = y_noise_;
  return p != nullptr ? *p : *reinterpret_cast<const ::ignition::msgs::SensorNoise*>(
      &::ignition::msgs::_SensorNoise_default_instance_);
}
inline const ::ignition::msgs::SensorNoise& IMUSensor_AngularVelocity::y_noise() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.IMUSensor.AngularVelocity.y_noise)
  return _internal_y_noise();
}
inline ::ignition::msgs::SensorNoise* IMUSensor_AngularVelocity::release_y_noise() {
  // @@protoc_insertion_point(field_release:ignition.msgs.IMUSensor.AngularVelocity.y_noise)
  
  ::ignition::msgs::SensorNoise* temp = y_noise_;
  y_noise_ = nullptr;
  return temp;
}
inline ::ignition::msgs::SensorNoise* IMUSensor_AngularVelocity::_internal_mutable_y_noise() {
  
  if (y_noise_ == nullptr) {
    auto* p = CreateMaybeMessage<::ignition::msgs::SensorNoise>(GetArenaNoVirtual());
    y_noise_ = p;
  }
  return y_noise_;
}
inline ::ignition::msgs::SensorNoise* IMUSensor_AngularVelocity::mutable_y_noise() {
  // @@protoc_insertion_point(field_mutable:ignition.msgs.IMUSensor.AngularVelocity.y_noise)
  return _internal_mutable_y_noise();
}
inline void IMUSensor_AngularVelocity::set_allocated_y_noise(::ignition::msgs::SensorNoise* y_noise) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(y_noise_);
  }
  if (y_noise) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
    if (message_arena != submessage_arena) {
      y_noise = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, y_noise, submessage_arena);
    }
    
  } else {
    
  }
  y_noise_ = y_noise;
  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.IMUSensor.AngularVelocity.y_noise)
}

// .ignition.msgs.SensorNoise z_noise = 3;
inline bool IMUSensor_AngularVelocity::_internal_has_z_noise() const {
  return this != internal_default_instance() && z_noise_ != nullptr;
}
inline bool IMUSensor_AngularVelocity::has_z_noise() const {
  return _internal_has_z_noise();
}
inline const ::ignition::msgs::SensorNoise& IMUSensor_AngularVelocity::_internal_z_noise() const {
  const ::ignition::msgs::SensorNoise* p = z_noise_;
  return p != nullptr ? *p : *reinterpret_cast<const ::ignition::msgs::SensorNoise*>(
      &::ignition::msgs::_SensorNoise_default_instance_);
}
inline const ::ignition::msgs::SensorNoise& IMUSensor_AngularVelocity::z_noise() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.IMUSensor.AngularVelocity.z_noise)
  return _internal_z_noise();
}
inline ::ignition::msgs::SensorNoise* IMUSensor_AngularVelocity::release_z_noise() {
  // @@protoc_insertion_point(field_release:ignition.msgs.IMUSensor.AngularVelocity.z_noise)
  
  ::ignition::msgs::SensorNoise* temp = z_noise_;
  z_noise_ = nullptr;
  return temp;
}
inline ::ignition::msgs::SensorNoise* IMUSensor_AngularVelocity::_internal_mutable_z_noise() {
  
  if (z_noise_ == nullptr) {
    auto* p = CreateMaybeMessage<::ignition::msgs::SensorNoise>(GetArenaNoVirtual());
    z_noise_ = p;
  }
  return z_noise_;
}
inline ::ignition::msgs::SensorNoise* IMUSensor_AngularVelocity::mutable_z_noise() {
  // @@protoc_insertion_point(field_mutable:ignition.msgs.IMUSensor.AngularVelocity.z_noise)
  return _internal_mutable_z_noise();
}
inline void IMUSensor_AngularVelocity::set_allocated_z_noise(::ignition::msgs::SensorNoise* z_noise) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(z_noise_);
  }
  if (z_noise) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
    if (message_arena != submessage_arena) {
      z_noise = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, z_noise, submessage_arena);
    }
    
  } else {
    
  }
  z_noise_ = z_noise;
  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.IMUSensor.AngularVelocity.z_noise)
}

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

// IMUSensor_LinearAcceleration

// .ignition.msgs.SensorNoise x_noise = 1;
inline bool IMUSensor_LinearAcceleration::_internal_has_x_noise() const {
  return this != internal_default_instance() && x_noise_ != nullptr;
}
inline bool IMUSensor_LinearAcceleration::has_x_noise() const {
  return _internal_has_x_noise();
}
inline const ::ignition::msgs::SensorNoise& IMUSensor_LinearAcceleration::_internal_x_noise() const {
  const ::ignition::msgs::SensorNoise* p = x_noise_;
  return p != nullptr ? *p : *reinterpret_cast<const ::ignition::msgs::SensorNoise*>(
      &::ignition::msgs::_SensorNoise_default_instance_);
}
inline const ::ignition::msgs::SensorNoise& IMUSensor_LinearAcceleration::x_noise() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.IMUSensor.LinearAcceleration.x_noise)
  return _internal_x_noise();
}
inline ::ignition::msgs::SensorNoise* IMUSensor_LinearAcceleration::release_x_noise() {
  // @@protoc_insertion_point(field_release:ignition.msgs.IMUSensor.LinearAcceleration.x_noise)
  
  ::ignition::msgs::SensorNoise* temp = x_noise_;
  x_noise_ = nullptr;
  return temp;
}
inline ::ignition::msgs::SensorNoise* IMUSensor_LinearAcceleration::_internal_mutable_x_noise() {
  
  if (x_noise_ == nullptr) {
    auto* p = CreateMaybeMessage<::ignition::msgs::SensorNoise>(GetArenaNoVirtual());
    x_noise_ = p;
  }
  return x_noise_;
}
inline ::ignition::msgs::SensorNoise* IMUSensor_LinearAcceleration::mutable_x_noise() {
  // @@protoc_insertion_point(field_mutable:ignition.msgs.IMUSensor.LinearAcceleration.x_noise)
  return _internal_mutable_x_noise();
}
inline void IMUSensor_LinearAcceleration::set_allocated_x_noise(::ignition::msgs::SensorNoise* x_noise) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(x_noise_);
  }
  if (x_noise) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
    if (message_arena != submessage_arena) {
      x_noise = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, x_noise, submessage_arena);
    }
    
  } else {
    
  }
  x_noise_ = x_noise;
  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.IMUSensor.LinearAcceleration.x_noise)
}

// .ignition.msgs.SensorNoise y_noise = 2;
inline bool IMUSensor_LinearAcceleration::_internal_has_y_noise() const {
  return this != internal_default_instance() && y_noise_ != nullptr;
}
inline bool IMUSensor_LinearAcceleration::has_y_noise() const {
  return _internal_has_y_noise();
}
inline const ::ignition::msgs::SensorNoise& IMUSensor_LinearAcceleration::_internal_y_noise() const {
  const ::ignition::msgs::SensorNoise* p = y_noise_;
  return p != nullptr ? *p : *reinterpret_cast<const ::ignition::msgs::SensorNoise*>(
      &::ignition::msgs::_SensorNoise_default_instance_);
}
inline const ::ignition::msgs::SensorNoise& IMUSensor_LinearAcceleration::y_noise() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.IMUSensor.LinearAcceleration.y_noise)
  return _internal_y_noise();
}
inline ::ignition::msgs::SensorNoise* IMUSensor_LinearAcceleration::release_y_noise() {
  // @@protoc_insertion_point(field_release:ignition.msgs.IMUSensor.LinearAcceleration.y_noise)
  
  ::ignition::msgs::SensorNoise* temp = y_noise_;
  y_noise_ = nullptr;
  return temp;
}
inline ::ignition::msgs::SensorNoise* IMUSensor_LinearAcceleration::_internal_mutable_y_noise() {
  
  if (y_noise_ == nullptr) {
    auto* p = CreateMaybeMessage<::ignition::msgs::SensorNoise>(GetArenaNoVirtual());
    y_noise_ = p;
  }
  return y_noise_;
}
inline ::ignition::msgs::SensorNoise* IMUSensor_LinearAcceleration::mutable_y_noise() {
  // @@protoc_insertion_point(field_mutable:ignition.msgs.IMUSensor.LinearAcceleration.y_noise)
  return _internal_mutable_y_noise();
}
inline void IMUSensor_LinearAcceleration::set_allocated_y_noise(::ignition::msgs::SensorNoise* y_noise) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(y_noise_);
  }
  if (y_noise) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
    if (message_arena != submessage_arena) {
      y_noise = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, y_noise, submessage_arena);
    }
    
  } else {
    
  }
  y_noise_ = y_noise;
  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.IMUSensor.LinearAcceleration.y_noise)
}

// .ignition.msgs.SensorNoise z_noise = 3;
inline bool IMUSensor_LinearAcceleration::_internal_has_z_noise() const {
  return this != internal_default_instance() && z_noise_ != nullptr;
}
inline bool IMUSensor_LinearAcceleration::has_z_noise() const {
  return _internal_has_z_noise();
}
inline const ::ignition::msgs::SensorNoise& IMUSensor_LinearAcceleration::_internal_z_noise() const {
  const ::ignition::msgs::SensorNoise* p = z_noise_;
  return p != nullptr ? *p : *reinterpret_cast<const ::ignition::msgs::SensorNoise*>(
      &::ignition::msgs::_SensorNoise_default_instance_);
}
inline const ::ignition::msgs::SensorNoise& IMUSensor_LinearAcceleration::z_noise() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.IMUSensor.LinearAcceleration.z_noise)
  return _internal_z_noise();
}
inline ::ignition::msgs::SensorNoise* IMUSensor_LinearAcceleration::release_z_noise() {
  // @@protoc_insertion_point(field_release:ignition.msgs.IMUSensor.LinearAcceleration.z_noise)
  
  ::ignition::msgs::SensorNoise* temp = z_noise_;
  z_noise_ = nullptr;
  return temp;
}
inline ::ignition::msgs::SensorNoise* IMUSensor_LinearAcceleration::_internal_mutable_z_noise() {
  
  if (z_noise_ == nullptr) {
    auto* p = CreateMaybeMessage<::ignition::msgs::SensorNoise>(GetArenaNoVirtual());
    z_noise_ = p;
  }
  return z_noise_;
}
inline ::ignition::msgs::SensorNoise* IMUSensor_LinearAcceleration::mutable_z_noise() {
  // @@protoc_insertion_point(field_mutable:ignition.msgs.IMUSensor.LinearAcceleration.z_noise)
  return _internal_mutable_z_noise();
}
inline void IMUSensor_LinearAcceleration::set_allocated_z_noise(::ignition::msgs::SensorNoise* z_noise) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(z_noise_);
  }
  if (z_noise) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
    if (message_arena != submessage_arena) {
      z_noise = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, z_noise, submessage_arena);
    }
    
  } else {
    
  }
  z_noise_ = z_noise;
  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.IMUSensor.LinearAcceleration.z_noise)
}

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

// IMUSensor_OrientationReferenceFrame

// string localization = 1;
inline void IMUSensor_OrientationReferenceFrame::clear_localization() {
  localization_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline const std::string& IMUSensor_OrientationReferenceFrame::localization() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.IMUSensor.OrientationReferenceFrame.localization)
  return _internal_localization();
}
inline void IMUSensor_OrientationReferenceFrame::set_localization(const std::string& value) {
  _internal_set_localization(value);
  // @@protoc_insertion_point(field_set:ignition.msgs.IMUSensor.OrientationReferenceFrame.localization)
}
inline std::string* IMUSensor_OrientationReferenceFrame::mutable_localization() {
  // @@protoc_insertion_point(field_mutable:ignition.msgs.IMUSensor.OrientationReferenceFrame.localization)
  return _internal_mutable_localization();
}
inline const std::string& IMUSensor_OrientationReferenceFrame::_internal_localization() const {
  return localization_.GetNoArena();
}
inline void IMUSensor_OrientationReferenceFrame::_internal_set_localization(const std::string& value) {
  
  localization_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
}
inline void IMUSensor_OrientationReferenceFrame::set_localization(std::string&& value) {
  
  localization_.SetNoArena(
    &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.IMUSensor.OrientationReferenceFrame.localization)
}
inline void IMUSensor_OrientationReferenceFrame::set_localization(const char* value) {
  GOOGLE_DCHECK(value != nullptr);
  
  localization_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:ignition.msgs.IMUSensor.OrientationReferenceFrame.localization)
}
inline void IMUSensor_OrientationReferenceFrame::set_localization(const char* value, size_t size) {
  
  localization_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.IMUSensor.OrientationReferenceFrame.localization)
}
inline std::string* IMUSensor_OrientationReferenceFrame::_internal_mutable_localization() {
  
  return localization_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline std::string* IMUSensor_OrientationReferenceFrame::release_localization() {
  // @@protoc_insertion_point(field_release:ignition.msgs.IMUSensor.OrientationReferenceFrame.localization)
  
  return localization_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline void IMUSensor_OrientationReferenceFrame::set_allocated_localization(std::string* localization) {
  if (localization != nullptr) {
    
  } else {
    
  }
  localization_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), localization);
  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.IMUSensor.OrientationReferenceFrame.localization)
}

// .ignition.msgs.Vector3d custom_rpy = 2;
inline bool IMUSensor_OrientationReferenceFrame::_internal_has_custom_rpy() const {
  return this != internal_default_instance() && custom_rpy_ != nullptr;
}
inline bool IMUSensor_OrientationReferenceFrame::has_custom_rpy() const {
  return _internal_has_custom_rpy();
}
inline const ::ignition::msgs::Vector3d& IMUSensor_OrientationReferenceFrame::_internal_custom_rpy() const {
  const ::ignition::msgs::Vector3d* p = custom_rpy_;
  return p != nullptr ? *p : *reinterpret_cast<const ::ignition::msgs::Vector3d*>(
      &::ignition::msgs::_Vector3d_default_instance_);
}
inline const ::ignition::msgs::Vector3d& IMUSensor_OrientationReferenceFrame::custom_rpy() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.IMUSensor.OrientationReferenceFrame.custom_rpy)
  return _internal_custom_rpy();
}
inline ::ignition::msgs::Vector3d* IMUSensor_OrientationReferenceFrame::release_custom_rpy() {
  // @@protoc_insertion_point(field_release:ignition.msgs.IMUSensor.OrientationReferenceFrame.custom_rpy)
  
  ::ignition::msgs::Vector3d* temp = custom_rpy_;
  custom_rpy_ = nullptr;
  return temp;
}
inline ::ignition::msgs::Vector3d* IMUSensor_OrientationReferenceFrame::_internal_mutable_custom_rpy() {
  
  if (custom_rpy_ == nullptr) {
    auto* p = CreateMaybeMessage<::ignition::msgs::Vector3d>(GetArenaNoVirtual());
    custom_rpy_ = p;
  }
  return custom_rpy_;
}
inline ::ignition::msgs::Vector3d* IMUSensor_OrientationReferenceFrame::mutable_custom_rpy() {
  // @@protoc_insertion_point(field_mutable:ignition.msgs.IMUSensor.OrientationReferenceFrame.custom_rpy)
  return _internal_mutable_custom_rpy();
}
inline void IMUSensor_OrientationReferenceFrame::set_allocated_custom_rpy(::ignition::msgs::Vector3d* custom_rpy) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(custom_rpy_);
  }
  if (custom_rpy) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
    if (message_arena != submessage_arena) {
      custom_rpy = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, custom_rpy, submessage_arena);
    }
    
  } else {
    
  }
  custom_rpy_ = custom_rpy;
  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.IMUSensor.OrientationReferenceFrame.custom_rpy)
}

// string custom_rpy_parent_frame = 3;
inline void IMUSensor_OrientationReferenceFrame::clear_custom_rpy_parent_frame() {
  custom_rpy_parent_frame_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline const std::string& IMUSensor_OrientationReferenceFrame::custom_rpy_parent_frame() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.IMUSensor.OrientationReferenceFrame.custom_rpy_parent_frame)
  return _internal_custom_rpy_parent_frame();
}
inline void IMUSensor_OrientationReferenceFrame::set_custom_rpy_parent_frame(const std::string& value) {
  _internal_set_custom_rpy_parent_frame(value);
  // @@protoc_insertion_point(field_set:ignition.msgs.IMUSensor.OrientationReferenceFrame.custom_rpy_parent_frame)
}
inline std::string* IMUSensor_OrientationReferenceFrame::mutable_custom_rpy_parent_frame() {
  // @@protoc_insertion_point(field_mutable:ignition.msgs.IMUSensor.OrientationReferenceFrame.custom_rpy_parent_frame)
  return _internal_mutable_custom_rpy_parent_frame();
}
inline const std::string& IMUSensor_OrientationReferenceFrame::_internal_custom_rpy_parent_frame() const {
  return custom_rpy_parent_frame_.GetNoArena();
}
inline void IMUSensor_OrientationReferenceFrame::_internal_set_custom_rpy_parent_frame(const std::string& value) {
  
  custom_rpy_parent_frame_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
}
inline void IMUSensor_OrientationReferenceFrame::set_custom_rpy_parent_frame(std::string&& value) {
  
  custom_rpy_parent_frame_.SetNoArena(
    &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.IMUSensor.OrientationReferenceFrame.custom_rpy_parent_frame)
}
inline void IMUSensor_OrientationReferenceFrame::set_custom_rpy_parent_frame(const char* value) {
  GOOGLE_DCHECK(value != nullptr);
  
  custom_rpy_parent_frame_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:ignition.msgs.IMUSensor.OrientationReferenceFrame.custom_rpy_parent_frame)
}
inline void IMUSensor_OrientationReferenceFrame::set_custom_rpy_parent_frame(const char* value, size_t size) {
  
  custom_rpy_parent_frame_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.IMUSensor.OrientationReferenceFrame.custom_rpy_parent_frame)
}
inline std::string* IMUSensor_OrientationReferenceFrame::_internal_mutable_custom_rpy_parent_frame() {
  
  return custom_rpy_parent_frame_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline std::string* IMUSensor_OrientationReferenceFrame::release_custom_rpy_parent_frame() {
  // @@protoc_insertion_point(field_release:ignition.msgs.IMUSensor.OrientationReferenceFrame.custom_rpy_parent_frame)
  
  return custom_rpy_parent_frame_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline void IMUSensor_OrientationReferenceFrame::set_allocated_custom_rpy_parent_frame(std::string* custom_rpy_parent_frame) {
  if (custom_rpy_parent_frame != nullptr) {
    
  } else {
    
  }
  custom_rpy_parent_frame_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), custom_rpy_parent_frame);
  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.IMUSensor.OrientationReferenceFrame.custom_rpy_parent_frame)
}

// .ignition.msgs.Vector3d gravity_dir_x = 4;
inline bool IMUSensor_OrientationReferenceFrame::_internal_has_gravity_dir_x() const {
  return this != internal_default_instance() && gravity_dir_x_ != nullptr;
}
inline bool IMUSensor_OrientationReferenceFrame::has_gravity_dir_x() const {
  return _internal_has_gravity_dir_x();
}
inline const ::ignition::msgs::Vector3d& IMUSensor_OrientationReferenceFrame::_internal_gravity_dir_x() const {
  const ::ignition::msgs::Vector3d* p = gravity_dir_x_;
  return p != nullptr ? *p : *reinterpret_cast<const ::ignition::msgs::Vector3d*>(
      &::ignition::msgs::_Vector3d_default_instance_);
}
inline const ::ignition::msgs::Vector3d& IMUSensor_OrientationReferenceFrame::gravity_dir_x() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.IMUSensor.OrientationReferenceFrame.gravity_dir_x)
  return _internal_gravity_dir_x();
}
inline ::ignition::msgs::Vector3d* IMUSensor_OrientationReferenceFrame::release_gravity_dir_x() {
  // @@protoc_insertion_point(field_release:ignition.msgs.IMUSensor.OrientationReferenceFrame.gravity_dir_x)
  
  ::ignition::msgs::Vector3d* temp = gravity_dir_x_;
  gravity_dir_x_ = nullptr;
  return temp;
}
inline ::ignition::msgs::Vector3d* IMUSensor_OrientationReferenceFrame::_internal_mutable_gravity_dir_x() {
  
  if (gravity_dir_x_ == nullptr) {
    auto* p = CreateMaybeMessage<::ignition::msgs::Vector3d>(GetArenaNoVirtual());
    gravity_dir_x_ = p;
  }
  return gravity_dir_x_;
}
inline ::ignition::msgs::Vector3d* IMUSensor_OrientationReferenceFrame::mutable_gravity_dir_x() {
  // @@protoc_insertion_point(field_mutable:ignition.msgs.IMUSensor.OrientationReferenceFrame.gravity_dir_x)
  return _internal_mutable_gravity_dir_x();
}
inline void IMUSensor_OrientationReferenceFrame::set_allocated_gravity_dir_x(::ignition::msgs::Vector3d* gravity_dir_x) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(gravity_dir_x_);
  }
  if (gravity_dir_x) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
    if (message_arena != submessage_arena) {
      gravity_dir_x = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, gravity_dir_x, submessage_arena);
    }
    
  } else {
    
  }
  gravity_dir_x_ = gravity_dir_x;
  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.IMUSensor.OrientationReferenceFrame.gravity_dir_x)
}

// string gravity_dir_x_parent_frame = 5;
inline void IMUSensor_OrientationReferenceFrame::clear_gravity_dir_x_parent_frame() {
  gravity_dir_x_parent_frame_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline const std::string& IMUSensor_OrientationReferenceFrame::gravity_dir_x_parent_frame() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.IMUSensor.OrientationReferenceFrame.gravity_dir_x_parent_frame)
  return _internal_gravity_dir_x_parent_frame();
}
inline void IMUSensor_OrientationReferenceFrame::set_gravity_dir_x_parent_frame(const std::string& value) {
  _internal_set_gravity_dir_x_parent_frame(value);
  // @@protoc_insertion_point(field_set:ignition.msgs.IMUSensor.OrientationReferenceFrame.gravity_dir_x_parent_frame)
}
inline std::string* IMUSensor_OrientationReferenceFrame::mutable_gravity_dir_x_parent_frame() {
  // @@protoc_insertion_point(field_mutable:ignition.msgs.IMUSensor.OrientationReferenceFrame.gravity_dir_x_parent_frame)
  return _internal_mutable_gravity_dir_x_parent_frame();
}
inline const std::string& IMUSensor_OrientationReferenceFrame::_internal_gravity_dir_x_parent_frame() const {
  return gravity_dir_x_parent_frame_.GetNoArena();
}
inline void IMUSensor_OrientationReferenceFrame::_internal_set_gravity_dir_x_parent_frame(const std::string& value) {
  
  gravity_dir_x_parent_frame_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
}
inline void IMUSensor_OrientationReferenceFrame::set_gravity_dir_x_parent_frame(std::string&& value) {
  
  gravity_dir_x_parent_frame_.SetNoArena(
    &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.IMUSensor.OrientationReferenceFrame.gravity_dir_x_parent_frame)
}
inline void IMUSensor_OrientationReferenceFrame::set_gravity_dir_x_parent_frame(const char* value) {
  GOOGLE_DCHECK(value != nullptr);
  
  gravity_dir_x_parent_frame_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:ignition.msgs.IMUSensor.OrientationReferenceFrame.gravity_dir_x_parent_frame)
}
inline void IMUSensor_OrientationReferenceFrame::set_gravity_dir_x_parent_frame(const char* value, size_t size) {
  
  gravity_dir_x_parent_frame_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.IMUSensor.OrientationReferenceFrame.gravity_dir_x_parent_frame)
}
inline std::string* IMUSensor_OrientationReferenceFrame::_internal_mutable_gravity_dir_x_parent_frame() {
  
  return gravity_dir_x_parent_frame_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline std::string* IMUSensor_OrientationReferenceFrame::release_gravity_dir_x_parent_frame() {
  // @@protoc_insertion_point(field_release:ignition.msgs.IMUSensor.OrientationReferenceFrame.gravity_dir_x_parent_frame)
  
  return gravity_dir_x_parent_frame_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline void IMUSensor_OrientationReferenceFrame::set_allocated_gravity_dir_x_parent_frame(std::string* gravity_dir_x_parent_frame) {
  if (gravity_dir_x_parent_frame != nullptr) {
    
  } else {
    
  }
  gravity_dir_x_parent_frame_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), gravity_dir_x_parent_frame);
  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.IMUSensor.OrientationReferenceFrame.gravity_dir_x_parent_frame)
}

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

// IMUSensor

// .ignition.msgs.Header header = 1;
inline bool IMUSensor::_internal_has_header() const {
  return this != internal_default_instance() && header_ != nullptr;
}
inline bool IMUSensor::has_header() const {
  return _internal_has_header();
}
inline const ::ignition::msgs::Header& IMUSensor::_internal_header() const {
  const ::ignition::msgs::Header* p = header_;
  return p != nullptr ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
      &::ignition::msgs::_Header_default_instance_);
}
inline const ::ignition::msgs::Header& IMUSensor::header() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.IMUSensor.header)
  return _internal_header();
}
inline ::ignition::msgs::Header* IMUSensor::release_header() {
  // @@protoc_insertion_point(field_release:ignition.msgs.IMUSensor.header)
  
  ::ignition::msgs::Header* temp = header_;
  header_ = nullptr;
  return temp;
}
inline ::ignition::msgs::Header* IMUSensor::_internal_mutable_header() {
  
  if (header_ == nullptr) {
    auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
    header_ = p;
  }
  return header_;
}
inline ::ignition::msgs::Header* IMUSensor::mutable_header() {
  // @@protoc_insertion_point(field_mutable:ignition.msgs.IMUSensor.header)
  return _internal_mutable_header();
}
inline void IMUSensor::set_allocated_header(::ignition::msgs::Header* header) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
  }
  if (header) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
    if (message_arena != submessage_arena) {
      header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, header, submessage_arena);
    }
    
  } else {
    
  }
  header_ = header;
  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.IMUSensor.header)
}

// .ignition.msgs.IMUSensor.AngularVelocity angular_velocity = 2;
inline bool IMUSensor::_internal_has_angular_velocity() const {
  return this != internal_default_instance() && angular_velocity_ != nullptr;
}
inline bool IMUSensor::has_angular_velocity() const {
  return _internal_has_angular_velocity();
}
inline void IMUSensor::clear_angular_velocity() {
  if (GetArenaNoVirtual() == nullptr && angular_velocity_ != nullptr) {
    delete angular_velocity_;
  }
  angular_velocity_ = nullptr;
}
inline const ::ignition::msgs::IMUSensor_AngularVelocity& IMUSensor::_internal_angular_velocity() const {
  const ::ignition::msgs::IMUSensor_AngularVelocity* p = angular_velocity_;
  return p != nullptr ? *p : *reinterpret_cast<const ::ignition::msgs::IMUSensor_AngularVelocity*>(
      &::ignition::msgs::_IMUSensor_AngularVelocity_default_instance_);
}
inline const ::ignition::msgs::IMUSensor_AngularVelocity& IMUSensor::angular_velocity() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.IMUSensor.angular_velocity)
  return _internal_angular_velocity();
}
inline ::ignition::msgs::IMUSensor_AngularVelocity* IMUSensor::release_angular_velocity() {
  // @@protoc_insertion_point(field_release:ignition.msgs.IMUSensor.angular_velocity)
  
  ::ignition::msgs::IMUSensor_AngularVelocity* temp = angular_velocity_;
  angular_velocity_ = nullptr;
  return temp;
}
inline ::ignition::msgs::IMUSensor_AngularVelocity* IMUSensor::_internal_mutable_angular_velocity() {
  
  if (angular_velocity_ == nullptr) {
    auto* p = CreateMaybeMessage<::ignition::msgs::IMUSensor_AngularVelocity>(GetArenaNoVirtual());
    angular_velocity_ = p;
  }
  return angular_velocity_;
}
inline ::ignition::msgs::IMUSensor_AngularVelocity* IMUSensor::mutable_angular_velocity() {
  // @@protoc_insertion_point(field_mutable:ignition.msgs.IMUSensor.angular_velocity)
  return _internal_mutable_angular_velocity();
}
inline void IMUSensor::set_allocated_angular_velocity(::ignition::msgs::IMUSensor_AngularVelocity* angular_velocity) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
  if (message_arena == nullptr) {
    delete angular_velocity_;
  }
  if (angular_velocity) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
    if (message_arena != submessage_arena) {
      angular_velocity = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, angular_velocity, submessage_arena);
    }
    
  } else {
    
  }
  angular_velocity_ = angular_velocity;
  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.IMUSensor.angular_velocity)
}

// .ignition.msgs.IMUSensor.LinearAcceleration linear_acceleration = 3;
inline bool IMUSensor::_internal_has_linear_acceleration() const {
  return this != internal_default_instance() && linear_acceleration_ != nullptr;
}
inline bool IMUSensor::has_linear_acceleration() const {
  return _internal_has_linear_acceleration();
}
inline void IMUSensor::clear_linear_acceleration() {
  if (GetArenaNoVirtual() == nullptr && linear_acceleration_ != nullptr) {
    delete linear_acceleration_;
  }
  linear_acceleration_ = nullptr;
}
inline const ::ignition::msgs::IMUSensor_LinearAcceleration& IMUSensor::_internal_linear_acceleration() const {
  const ::ignition::msgs::IMUSensor_LinearAcceleration* p = linear_acceleration_;
  return p != nullptr ? *p : *reinterpret_cast<const ::ignition::msgs::IMUSensor_LinearAcceleration*>(
      &::ignition::msgs::_IMUSensor_LinearAcceleration_default_instance_);
}
inline const ::ignition::msgs::IMUSensor_LinearAcceleration& IMUSensor::linear_acceleration() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.IMUSensor.linear_acceleration)
  return _internal_linear_acceleration();
}
inline ::ignition::msgs::IMUSensor_LinearAcceleration* IMUSensor::release_linear_acceleration() {
  // @@protoc_insertion_point(field_release:ignition.msgs.IMUSensor.linear_acceleration)
  
  ::ignition::msgs::IMUSensor_LinearAcceleration* temp = linear_acceleration_;
  linear_acceleration_ = nullptr;
  return temp;
}
inline ::ignition::msgs::IMUSensor_LinearAcceleration* IMUSensor::_internal_mutable_linear_acceleration() {
  
  if (linear_acceleration_ == nullptr) {
    auto* p = CreateMaybeMessage<::ignition::msgs::IMUSensor_LinearAcceleration>(GetArenaNoVirtual());
    linear_acceleration_ = p;
  }
  return linear_acceleration_;
}
inline ::ignition::msgs::IMUSensor_LinearAcceleration* IMUSensor::mutable_linear_acceleration() {
  // @@protoc_insertion_point(field_mutable:ignition.msgs.IMUSensor.linear_acceleration)
  return _internal_mutable_linear_acceleration();
}
inline void IMUSensor::set_allocated_linear_acceleration(::ignition::msgs::IMUSensor_LinearAcceleration* linear_acceleration) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
  if (message_arena == nullptr) {
    delete linear_acceleration_;
  }
  if (linear_acceleration) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
    if (message_arena != submessage_arena) {
      linear_acceleration = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, linear_acceleration, submessage_arena);
    }
    
  } else {
    
  }
  linear_acceleration_ = linear_acceleration;
  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.IMUSensor.linear_acceleration)
}

// .ignition.msgs.IMUSensor.OrientationReferenceFrame orientation_ref_frame = 4;
inline bool IMUSensor::_internal_has_orientation_ref_frame() const {
  return this != internal_default_instance() && orientation_ref_frame_ != nullptr;
}
inline bool IMUSensor::has_orientation_ref_frame() const {
  return _internal_has_orientation_ref_frame();
}
inline void IMUSensor::clear_orientation_ref_frame() {
  if (GetArenaNoVirtual() == nullptr && orientation_ref_frame_ != nullptr) {
    delete orientation_ref_frame_;
  }
  orientation_ref_frame_ = nullptr;
}
inline const ::ignition::msgs::IMUSensor_OrientationReferenceFrame& IMUSensor::_internal_orientation_ref_frame() const {
  const ::ignition::msgs::IMUSensor_OrientationReferenceFrame* p = orientation_ref_frame_;
  return p != nullptr ? *p : *reinterpret_cast<const ::ignition::msgs::IMUSensor_OrientationReferenceFrame*>(
      &::ignition::msgs::_IMUSensor_OrientationReferenceFrame_default_instance_);
}
inline const ::ignition::msgs::IMUSensor_OrientationReferenceFrame& IMUSensor::orientation_ref_frame() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.IMUSensor.orientation_ref_frame)
  return _internal_orientation_ref_frame();
}
inline ::ignition::msgs::IMUSensor_OrientationReferenceFrame* IMUSensor::release_orientation_ref_frame() {
  // @@protoc_insertion_point(field_release:ignition.msgs.IMUSensor.orientation_ref_frame)
  
  ::ignition::msgs::IMUSensor_OrientationReferenceFrame* temp = orientation_ref_frame_;
  orientation_ref_frame_ = nullptr;
  return temp;
}
inline ::ignition::msgs::IMUSensor_OrientationReferenceFrame* IMUSensor::_internal_mutable_orientation_ref_frame() {
  
  if (orientation_ref_frame_ == nullptr) {
    auto* p = CreateMaybeMessage<::ignition::msgs::IMUSensor_OrientationReferenceFrame>(GetArenaNoVirtual());
    orientation_ref_frame_ = p;
  }
  return orientation_ref_frame_;
}
inline ::ignition::msgs::IMUSensor_OrientationReferenceFrame* IMUSensor::mutable_orientation_ref_frame() {
  // @@protoc_insertion_point(field_mutable:ignition.msgs.IMUSensor.orientation_ref_frame)
  return _internal_mutable_orientation_ref_frame();
}
inline void IMUSensor::set_allocated_orientation_ref_frame(::ignition::msgs::IMUSensor_OrientationReferenceFrame* orientation_ref_frame) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
  if (message_arena == nullptr) {
    delete orientation_ref_frame_;
  }
  if (orientation_ref_frame) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
    if (message_arena != submessage_arena) {
      orientation_ref_frame = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, orientation_ref_frame, submessage_arena);
    }
    
  } else {
    
  }
  orientation_ref_frame_ = orientation_ref_frame;
  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.IMUSensor.orientation_ref_frame)
}

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

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

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


typedef std::unique_ptr<IMUSensor> IMUSensorUniquePtr;
typedef std::unique_ptr<const IMUSensor> ConstIMUSensorUniquePtr;
typedef std::shared_ptr<IMUSensor> IMUSensorSharedPtr;
typedef std::shared_ptr<const IMUSensor> ConstIMUSensorSharedPtr;
// @@protoc_insertion_point(namespace_scope)

}  // namespace msgs
}  // namespace ignition

#ifdef _MSC_VER
#pragma warning(pop)
#endif
// @@protoc_insertion_point(global_scope)

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