// Generated by the protocol buffer compiler.  DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: arch/tids990/tids990.proto
// Protobuf C++ Version: 7.36.0

#ifndef arch_2ftids990_2ftids990_2eproto_2epb_2eh
#define arch_2ftids990_2ftids990_2eproto_2epb_2eh

#include <limits>
#include <string>
#include <type_traits>
#include <utility>

// clang-format off
#include "google/protobuf/runtime_version.h"
#if PROTOBUF_VERSION != 7036000
#error "Protobuf C++ gencode is built with an incompatible version of"
#error "Protobuf C++ headers/runtime. See"
#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
#endif
#include "google/protobuf/io/coded_stream.h"
#include "google/protobuf/arena.h"
#include "google/protobuf/arenastring.h"
#include "google/protobuf/generated_message_bases.h"
#include "google/protobuf/generated_message_tctable_decl.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/message_lite.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 "lib/config/common.pb.h"
// @@protoc_insertion_point(includes)

// Must be included last.
#include "google/protobuf/port_def.inc"

#define PROTOBUF_INTERNAL_EXPORT_arch_2ftids990_2ftids990_2eproto

// Internal implementation detail -- do not use these members.
struct TableStruct_arch_2ftids990_2ftids990_2eproto {
  static const ::uint32_t offsets[];
};
extern "C" {
extern const ::google::protobuf::internal::DescriptorTable descriptor_table_arch_2ftids990_2ftids990_2eproto;
}  // extern "C"
class Tids990DecoderProto;
struct Tids990DecoderProtoGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern Tids990DecoderProtoGlobalsTypeInternal Tids990DecoderProto_globals_;
extern const ::google::protobuf::internal::ClassDataFull Tids990DecoderProto_class_data_;
#else
extern const Tids990DecoderProtoGlobalsTypeInternal Tids990DecoderProto_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class Tids990EncoderProto;
struct Tids990EncoderProtoGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern Tids990EncoderProtoGlobalsTypeInternal Tids990EncoderProto_globals_;
extern const ::google::protobuf::internal::ClassDataFull Tids990EncoderProto_class_data_;
#else
extern const Tids990EncoderProtoGlobalsTypeInternal Tids990EncoderProto_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
namespace google {
namespace protobuf {
}  // namespace protobuf
}  // namespace google


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


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

class  PROTOBUF_FUTURE_ADD_EARLY_WARN_UNUSED Tids990EncoderProto final : public ::google::protobuf::Message
/* @@protoc_insertion_point(class_definition:Tids990EncoderProto) */ {
  using Super_ = ::google::protobuf::Message;

 public:
  inline Tids990EncoderProto() : Tids990EncoderProto(nullptr) {}
  ~Tids990EncoderProto() PROTOBUF_FINAL;

#if defined(PROTOBUF_CUSTOM_VTABLE)
  void operator delete(Tids990EncoderProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
    SharedDtor(*msg);
    ::google::protobuf::internal::SizedDelete(msg, sizeof(Tids990EncoderProto));
  }
#endif

  template <typename = void>
  explicit constexpr Tids990EncoderProto(::google::protobuf::internal::ConstantInitialized,
                           const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
                               class_data);

  inline Tids990EncoderProto(const Tids990EncoderProto& from) : Tids990EncoderProto(nullptr, from) {}
  inline Tids990EncoderProto(Tids990EncoderProto&& from) noexcept : Tids990EncoderProto(nullptr, ::std::move(from)) {}
  inline Tids990EncoderProto& operator=(const Tids990EncoderProto& from) {
    CopyFrom(from);
    return *this;
  }
  inline Tids990EncoderProto& operator=(Tids990EncoderProto&& from) noexcept {
    if (this == &from) return *this;
    if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  [[nodiscard]] inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
  }
  [[nodiscard]] inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL
  mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
  }

  [[nodiscard]] static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
    return GetDescriptor();
  }
  [[nodiscard]] static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
  GetDescriptor() {
    return default_instance().GetMetadata().descriptor;
  }
  [[nodiscard]] static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
    return default_instance().GetMetadata().reflection;
  }
  [[nodiscard]] static const Tids990EncoderProto& default_instance() {
    return *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<Tids990EncoderProto>(&Tids990EncoderProto_globals_);
  }
  static constexpr int kIndexInFileMessages = 1;
  friend void swap(Tids990EncoderProto& a, Tids990EncoderProto& b) { a.Swap(&b); }
  inline void Swap(Tids990EncoderProto* PROTOBUF_NONNULL other) {
    if (other == this) return;
    if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
      InternalSwap(other);
    } else {
      ::google::protobuf::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(Tids990EncoderProto* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

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

  [[nodiscard]] Tids990EncoderProto* PROTOBUF_NONNULL
  New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
    return Super_::DefaultConstruct<Tids990EncoderProto>(arena);
  }
  using Super_::CopyFrom;
  void CopyFrom(const Tids990EncoderProto& from);
  using Super_::MergeFrom;
  void MergeFrom(const Tids990EncoderProto& from) { Tids990EncoderProto::MergeImpl(*this, from); }

  private:
  static void MergeImpl(::google::protobuf::MessageLite& to_msg,
                        const ::google::protobuf::MessageLite& from_msg);

  public:
  [[nodiscard]] bool IsInitialized() const {
    return true;
  }
  ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
  #if defined(PROTOBUF_CUSTOM_VTABLE)
  private:
  [[nodiscard]] static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
  [[nodiscard]] static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);

  public:
  [[nodiscard]] ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
  [[nodiscard]] ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
    return _InternalSerialize(*this, target, stream);
  }
  #else   // PROTOBUF_CUSTOM_VTABLE
  [[nodiscard]] ::size_t ByteSizeLong() const final;
  [[nodiscard]] ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
  #endif  // PROTOBUF_CUSTOM_VTABLE
  [[nodiscard]] int GetCachedSize() const {
    return _impl_._cached_size_.Get();
  }

  private:
  void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static void SharedDtor(MessageLite& self);
  void InternalSwap(Tids990EncoderProto* PROTOBUF_NONNULL other);
 private:
  static ::absl::string_view FullMessageName() { return "Tids990EncoderProto"; }

  explicit Tids990EncoderProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  Tids990EncoderProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Tids990EncoderProto& from);
  Tids990EncoderProto(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, Tids990EncoderProto&& from) noexcept
      : Tids990EncoderProto(arena) {
    *this = ::std::move(from);
  }
  const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
  static void* PROTOBUF_NONNULL PlacementNew_(
      const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static constexpr auto InternalNewImpl_();

 public:
  static constexpr auto InternalGenerateClassData_(
      const MessageLite& prototype,
      const ::google::protobuf::internal::TcParseTableBase* PROTOBUF_NULLABLE tc_table = nullptr);

  [[nodiscard]] ::google::protobuf::Metadata GetMetadata() const;
  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------
  enum : int {
    kRotationalPeriodMsFieldNumber = 1,
    kClockPeriodUsFieldNumber = 3,
    kSectorCountFieldNumber = 2,
    kAm1ByteFieldNumber = 4,
    kAm2ByteFieldNumber = 5,
    kGap1BytesFieldNumber = 6,
    kGap2BytesFieldNumber = 7,
    kGap3BytesFieldNumber = 8,
  };
  // optional double rotational_period_ms = 1 [default = 166, json_name = "rotationalPeriodMs", (.help) = "length of a track"];
  [[nodiscard]] bool has_rotational_period_ms() const;
  void clear_rotational_period_ms() ;
  [[nodiscard]] double rotational_period_ms() const;
  void set_rotational_period_ms(double value);

  private:
  double _internal_rotational_period_ms() const;
  void _internal_set_rotational_period_ms(double value);

  public:
  // optional double clock_period_us = 3 [default = 2, json_name = "clockPeriodUs", (.help) = "clock rate of data to write"];
  [[nodiscard]] bool has_clock_period_us() const;
  void clear_clock_period_us() ;
  [[nodiscard]] double clock_period_us() const;
  void set_clock_period_us(double value);

  private:
  double _internal_clock_period_us() const;
  void _internal_set_clock_period_us(double value);

  public:
  // optional int32 sector_count = 2 [default = 26, json_name = "sectorCount", (.help) = "number of sectors per track"];
  [[nodiscard]] bool has_sector_count() const;
  void clear_sector_count() ;
  [[nodiscard]] ::int32_t sector_count() const;
  void set_sector_count(::int32_t value);

  private:
  ::int32_t _internal_sector_count() const;
  void _internal_set_sector_count(::int32_t value);

  public:
  // optional int32 am1_byte = 4 [default = 8772, json_name = "am1Byte", (.help) = "16-bit RAW bit pattern to use for the AM1 ID byte"];
  [[nodiscard]] bool has_am1_byte() const;
  void clear_am1_byte() ;
  [[nodiscard]] ::int32_t am1_byte() const;
  void set_am1_byte(::int32_t value);

  private:
  ::int32_t _internal_am1_byte() const;
  void _internal_set_am1_byte(::int32_t value);

  public:
  // optional int32 am2_byte = 5 [default = 8773, json_name = "am2Byte", (.help) = "16-bit RAW bit pattern to use for the AM2 ID byte"];
  [[nodiscard]] bool has_am2_byte() const;
  void clear_am2_byte() ;
  [[nodiscard]] ::int32_t am2_byte() const;
  void set_am2_byte(::int32_t value);

  private:
  ::int32_t _internal_am2_byte() const;
  void _internal_set_am2_byte(::int32_t value);

  public:
  // optional int32 gap1_bytes = 6 [default = 80, json_name = "gap1Bytes", (.help) = "size of gap 1 (the post-index gap)"];
  [[nodiscard]] bool has_gap1_bytes() const;
  void clear_gap1_bytes() ;
  [[nodiscard]] ::int32_t gap1_bytes() const;
  void set_gap1_bytes(::int32_t value);

  private:
  ::int32_t _internal_gap1_bytes() const;
  void _internal_set_gap1_bytes(::int32_t value);

  public:
  // optional int32 gap2_bytes = 7 [default = 21, json_name = "gap2Bytes", (.help) = "size of gap 2 (the post-ID gap)"];
  [[nodiscard]] bool has_gap2_bytes() const;
  void clear_gap2_bytes() ;
  [[nodiscard]] ::int32_t gap2_bytes() const;
  void set_gap2_bytes(::int32_t value);

  private:
  ::int32_t _internal_gap2_bytes() const;
  void _internal_set_gap2_bytes(::int32_t value);

  public:
  // optional int32 gap3_bytes = 8 [default = 51, json_name = "gap3Bytes", (.help) = "size of gap 3 (the post-data or format gap)"];
  [[nodiscard]] bool has_gap3_bytes() const;
  void clear_gap3_bytes() ;
  [[nodiscard]] ::int32_t gap3_bytes() const;
  void set_gap3_bytes(::int32_t value);

  private:
  ::int32_t _internal_gap3_bytes() const;
  void _internal_set_gap3_bytes(::int32_t value);

  public:
  // @@protoc_insertion_point(class_scope:Tids990EncoderProto)
 private:
  class _Internal;
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<3, 8,
                          0, 0,
                          2>;
  static constexpr ParseTableT_ InternalGenerateParseTable_(
      const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data);
  friend class ::google::protobuf::internal::TcParser;
  #ifndef PROTOBUF_MESSAGE_GLOBALS
  static const ParseTableT_ _table_;
  #endif

  friend class ::google::protobuf::MessageLite;
  friend class ::google::protobuf::Arena;
  friend ::google::protobuf::internal::PrivateAccess;
  template <typename T>
  friend class ::google::protobuf::Arena::InternalHelper;
  using InternalArenaConstructable_ = void;
  using DestructorSkippable_ = void;
  struct Impl_ {
    inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility,
                                    ::google::protobuf::internal::ConstantInitialized) noexcept;
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
        const Tids990EncoderProto& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    double rotational_period_ms_;
    double clock_period_us_;
    ::int32_t sector_count_;
    ::int32_t am1_byte_;
    ::int32_t am2_byte_;
    ::int32_t gap1_bytes_;
    ::int32_t gap2_bytes_;
    ::int32_t gap3_bytes_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_arch_2ftids990_2ftids990_2eproto;
};
// -------------------------------------------------------------------

class  PROTOBUF_FUTURE_ADD_EARLY_WARN_UNUSED Tids990DecoderProto final : public ::google::protobuf::internal::ZeroFieldsBase
/* @@protoc_insertion_point(class_definition:Tids990DecoderProto) */ {
  using Super_ = ::google::protobuf::internal::ZeroFieldsBase;

 public:
  inline Tids990DecoderProto() : Tids990DecoderProto(nullptr) {}

#if defined(PROTOBUF_CUSTOM_VTABLE)
  void operator delete(Tids990DecoderProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
    SharedDtor(*msg);
    ::google::protobuf::internal::SizedDelete(msg, sizeof(Tids990DecoderProto));
  }
#endif

  template <typename = void>
  explicit constexpr Tids990DecoderProto(::google::protobuf::internal::ConstantInitialized,
                           const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
                               class_data);

  inline Tids990DecoderProto(const Tids990DecoderProto& from) : Tids990DecoderProto(nullptr, from) {}
  inline Tids990DecoderProto(Tids990DecoderProto&& from) noexcept : Tids990DecoderProto(nullptr, ::std::move(from)) {}
  inline Tids990DecoderProto& operator=(const Tids990DecoderProto& from) {
    CopyFrom(from);
    return *this;
  }
  inline Tids990DecoderProto& operator=(Tids990DecoderProto&& from) noexcept {
    if (this == &from) return *this;
    if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  [[nodiscard]] inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
  }
  [[nodiscard]] inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL
  mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
  }

  [[nodiscard]] static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
    return GetDescriptor();
  }
  [[nodiscard]] static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
  GetDescriptor() {
    return default_instance().GetMetadata().descriptor;
  }
  [[nodiscard]] static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
    return default_instance().GetMetadata().reflection;
  }
  [[nodiscard]] static const Tids990DecoderProto& default_instance() {
    return *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<Tids990DecoderProto>(&Tids990DecoderProto_globals_);
  }
  static constexpr int kIndexInFileMessages = 0;
  friend void swap(Tids990DecoderProto& a, Tids990DecoderProto& b) { a.Swap(&b); }
  inline void Swap(Tids990DecoderProto* PROTOBUF_NONNULL other) {
    if (other == this) return;
    if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
      InternalSwap(other);
    } else {
      ::google::protobuf::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(Tids990DecoderProto* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

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

  [[nodiscard]] Tids990DecoderProto* PROTOBUF_NONNULL
  New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
    return Super_::DefaultConstruct<Tids990DecoderProto>(arena);
  }
  using Super_::CopyFrom;
  inline void CopyFrom(const Tids990DecoderProto& from) { Super_::CopyImpl(*this, from); }
  using Super_::MergeFrom;
  void MergeFrom(const Tids990DecoderProto& from) { Super_::MergeImpl(*this, from); }

  public:
  [[nodiscard]] bool IsInitialized() const {
    return true;
  }
 private:
  static ::absl::string_view FullMessageName() { return "Tids990DecoderProto"; }

  explicit Tids990DecoderProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  Tids990DecoderProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Tids990DecoderProto& from);
  Tids990DecoderProto(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, Tids990DecoderProto&& from) noexcept
      : Tids990DecoderProto(arena) {
    *this = ::std::move(from);
  }
  const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
  static void* PROTOBUF_NONNULL PlacementNew_(
      const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static constexpr auto InternalNewImpl_();

 public:
  static constexpr auto InternalGenerateClassData_(
      const MessageLite& prototype,
      const ::google::protobuf::internal::TcParseTableBase* PROTOBUF_NULLABLE tc_table = nullptr);

  [[nodiscard]] ::google::protobuf::Metadata GetMetadata() const;
  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------
  // @@protoc_insertion_point(class_scope:Tids990DecoderProto)
 private:
  class _Internal;
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<0, 0,
                          0, 0,
                          2>;
  static constexpr ParseTableT_ InternalGenerateParseTable_(
      const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data);
  friend class ::google::protobuf::internal::TcParser;
  #ifndef PROTOBUF_MESSAGE_GLOBALS
  static const ParseTableT_ _table_;
  #endif

  friend class ::google::protobuf::MessageLite;
  friend class ::google::protobuf::Arena;
  friend ::google::protobuf::internal::PrivateAccess;
  template <typename T>
  friend class ::google::protobuf::Arena::InternalHelper;
  using InternalArenaConstructable_ = void;
  using DestructorSkippable_ = void;
  friend struct ::TableStruct_arch_2ftids990_2ftids990_2eproto;
};

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




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


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

// Tids990DecoderProto

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

// Tids990EncoderProto

// optional double rotational_period_ms = 1 [default = 166, json_name = "rotationalPeriodMs", (.help) = "length of a track"];
inline bool Tids990EncoderProto::has_rotational_period_ms() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
  return value;
}
inline void Tids990EncoderProto::clear_rotational_period_ms() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.rotational_period_ms_ = 166;
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline double Tids990EncoderProto::rotational_period_ms() const {
  // @@protoc_insertion_point(field_get:Tids990EncoderProto.rotational_period_ms)
  return _internal_rotational_period_ms();
}
inline void Tids990EncoderProto::set_rotational_period_ms(double value) {
  _internal_set_rotational_period_ms(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_set:Tids990EncoderProto.rotational_period_ms)
}
inline double Tids990EncoderProto::_internal_rotational_period_ms() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.rotational_period_ms_;
}
inline void Tids990EncoderProto::_internal_set_rotational_period_ms(double value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.rotational_period_ms_ = value;
}

// optional int32 sector_count = 2 [default = 26, json_name = "sectorCount", (.help) = "number of sectors per track"];
inline bool Tids990EncoderProto::has_sector_count() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
  return value;
}
inline void Tids990EncoderProto::clear_sector_count() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.sector_count_ = 26;
  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
}
inline ::int32_t Tids990EncoderProto::sector_count() const {
  // @@protoc_insertion_point(field_get:Tids990EncoderProto.sector_count)
  return _internal_sector_count();
}
inline void Tids990EncoderProto::set_sector_count(::int32_t value) {
  _internal_set_sector_count(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  // @@protoc_insertion_point(field_set:Tids990EncoderProto.sector_count)
}
inline ::int32_t Tids990EncoderProto::_internal_sector_count() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.sector_count_;
}
inline void Tids990EncoderProto::_internal_set_sector_count(::int32_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.sector_count_ = value;
}

// optional double clock_period_us = 3 [default = 2, json_name = "clockPeriodUs", (.help) = "clock rate of data to write"];
inline bool Tids990EncoderProto::has_clock_period_us() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
  return value;
}
inline void Tids990EncoderProto::clear_clock_period_us() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.clock_period_us_ = 2;
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
inline double Tids990EncoderProto::clock_period_us() const {
  // @@protoc_insertion_point(field_get:Tids990EncoderProto.clock_period_us)
  return _internal_clock_period_us();
}
inline void Tids990EncoderProto::set_clock_period_us(double value) {
  _internal_set_clock_period_us(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  // @@protoc_insertion_point(field_set:Tids990EncoderProto.clock_period_us)
}
inline double Tids990EncoderProto::_internal_clock_period_us() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.clock_period_us_;
}
inline void Tids990EncoderProto::_internal_set_clock_period_us(double value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.clock_period_us_ = value;
}

// optional int32 am1_byte = 4 [default = 8772, json_name = "am1Byte", (.help) = "16-bit RAW bit pattern to use for the AM1 ID byte"];
inline bool Tids990EncoderProto::has_am1_byte() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
  return value;
}
inline void Tids990EncoderProto::clear_am1_byte() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.am1_byte_ = 8772;
  ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
}
inline ::int32_t Tids990EncoderProto::am1_byte() const {
  // @@protoc_insertion_point(field_get:Tids990EncoderProto.am1_byte)
  return _internal_am1_byte();
}
inline void Tids990EncoderProto::set_am1_byte(::int32_t value) {
  _internal_set_am1_byte(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000008U);
  // @@protoc_insertion_point(field_set:Tids990EncoderProto.am1_byte)
}
inline ::int32_t Tids990EncoderProto::_internal_am1_byte() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.am1_byte_;
}
inline void Tids990EncoderProto::_internal_set_am1_byte(::int32_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.am1_byte_ = value;
}

// optional int32 am2_byte = 5 [default = 8773, json_name = "am2Byte", (.help) = "16-bit RAW bit pattern to use for the AM2 ID byte"];
inline bool Tids990EncoderProto::has_am2_byte() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
  return value;
}
inline void Tids990EncoderProto::clear_am2_byte() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.am2_byte_ = 8773;
  ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
}
inline ::int32_t Tids990EncoderProto::am2_byte() const {
  // @@protoc_insertion_point(field_get:Tids990EncoderProto.am2_byte)
  return _internal_am2_byte();
}
inline void Tids990EncoderProto::set_am2_byte(::int32_t value) {
  _internal_set_am2_byte(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000010U);
  // @@protoc_insertion_point(field_set:Tids990EncoderProto.am2_byte)
}
inline ::int32_t Tids990EncoderProto::_internal_am2_byte() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.am2_byte_;
}
inline void Tids990EncoderProto::_internal_set_am2_byte(::int32_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.am2_byte_ = value;
}

// optional int32 gap1_bytes = 6 [default = 80, json_name = "gap1Bytes", (.help) = "size of gap 1 (the post-index gap)"];
inline bool Tids990EncoderProto::has_gap1_bytes() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000020U);
  return value;
}
inline void Tids990EncoderProto::clear_gap1_bytes() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.gap1_bytes_ = 80;
  ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
}
inline ::int32_t Tids990EncoderProto::gap1_bytes() const {
  // @@protoc_insertion_point(field_get:Tids990EncoderProto.gap1_bytes)
  return _internal_gap1_bytes();
}
inline void Tids990EncoderProto::set_gap1_bytes(::int32_t value) {
  _internal_set_gap1_bytes(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000020U);
  // @@protoc_insertion_point(field_set:Tids990EncoderProto.gap1_bytes)
}
inline ::int32_t Tids990EncoderProto::_internal_gap1_bytes() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.gap1_bytes_;
}
inline void Tids990EncoderProto::_internal_set_gap1_bytes(::int32_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.gap1_bytes_ = value;
}

// optional int32 gap2_bytes = 7 [default = 21, json_name = "gap2Bytes", (.help) = "size of gap 2 (the post-ID gap)"];
inline bool Tids990EncoderProto::has_gap2_bytes() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000040U);
  return value;
}
inline void Tids990EncoderProto::clear_gap2_bytes() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.gap2_bytes_ = 21;
  ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
}
inline ::int32_t Tids990EncoderProto::gap2_bytes() const {
  // @@protoc_insertion_point(field_get:Tids990EncoderProto.gap2_bytes)
  return _internal_gap2_bytes();
}
inline void Tids990EncoderProto::set_gap2_bytes(::int32_t value) {
  _internal_set_gap2_bytes(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000040U);
  // @@protoc_insertion_point(field_set:Tids990EncoderProto.gap2_bytes)
}
inline ::int32_t Tids990EncoderProto::_internal_gap2_bytes() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.gap2_bytes_;
}
inline void Tids990EncoderProto::_internal_set_gap2_bytes(::int32_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.gap2_bytes_ = value;
}

// optional int32 gap3_bytes = 8 [default = 51, json_name = "gap3Bytes", (.help) = "size of gap 3 (the post-data or format gap)"];
inline bool Tids990EncoderProto::has_gap3_bytes() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000080U);
  return value;
}
inline void Tids990EncoderProto::clear_gap3_bytes() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.gap3_bytes_ = 51;
  ClearHasBit(_impl_._has_bits_[0], 0x00000080U);
}
inline ::int32_t Tids990EncoderProto::gap3_bytes() const {
  // @@protoc_insertion_point(field_get:Tids990EncoderProto.gap3_bytes)
  return _internal_gap3_bytes();
}
inline void Tids990EncoderProto::set_gap3_bytes(::int32_t value) {
  _internal_set_gap3_bytes(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000080U);
  // @@protoc_insertion_point(field_set:Tids990EncoderProto.gap3_bytes)
}
inline ::int32_t Tids990EncoderProto::_internal_gap3_bytes() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.gap3_bytes_;
}
inline void Tids990EncoderProto::_internal_set_gap3_bytes(::int32_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.gap3_bytes_ = value;
}

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

// @@protoc_insertion_point(namespace_scope)


// @@protoc_insertion_point(global_scope)

#include "google/protobuf/port_undef.inc"
// clang-format on

#endif  // arch_2ftids990_2ftids990_2eproto_2epb_2eh
