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

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

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

#define PROTOBUF_INTERNAL_EXPORT_arch_2fbrother_2fbrother_2eproto

// Internal implementation detail -- do not use these members.
struct TableStruct_arch_2fbrother_2fbrother_2eproto {
  static const ::uint32_t offsets[];
};
extern "C" {
extern const ::google::protobuf::internal::DescriptorTable descriptor_table_arch_2fbrother_2fbrother_2eproto;
}  // extern "C"
enum BrotherFormat : int;
extern const uint32_t BrotherFormat_internal_data_[];
class BrotherDecoderProto;
struct BrotherDecoderProtoGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern BrotherDecoderProtoGlobalsTypeInternal BrotherDecoderProto_globals_;
extern const ::google::protobuf::internal::ClassDataFull BrotherDecoderProto_class_data_;
#else
extern const BrotherDecoderProtoGlobalsTypeInternal BrotherDecoderProto_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class BrotherEncoderProto;
struct BrotherEncoderProtoGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern BrotherEncoderProtoGlobalsTypeInternal BrotherEncoderProto_globals_;
extern const ::google::protobuf::internal::ClassDataFull BrotherEncoderProto_class_data_;
#else
extern const BrotherEncoderProtoGlobalsTypeInternal BrotherEncoderProto_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
namespace google {
namespace protobuf {
template <>
internal::EnumTraitsT<::BrotherFormat_internal_data_>
    internal::EnumTraitsImpl::value<::BrotherFormat>;
}  // namespace protobuf
}  // namespace google

enum BrotherFormat : int {
  BROTHER240 = 0,
  BROTHER120 = 1,
};

extern const uint32_t BrotherFormat_internal_data_[];
inline constexpr BrotherFormat BrotherFormat_MIN =
    static_cast<BrotherFormat>(0);
inline constexpr BrotherFormat BrotherFormat_MAX =
    static_cast<BrotherFormat>(1);
[[nodiscard]] inline bool BrotherFormat_IsValid(int value) {
  return 0 <= value && value <= 1;
}
inline constexpr int BrotherFormat_ARRAYSIZE = 1 + 1;
[[nodiscard]] const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL
BrotherFormat_descriptor();
[[nodiscard]] inline auto ProtobufInternalGetEnumDescriptor(BrotherFormat) {
  return BrotherFormat_descriptor();
}
template <typename T>
[[nodiscard]] const ::std::string& BrotherFormat_Name(T value) {
  static_assert(::std::is_same<T, BrotherFormat>::value ||
                    ::std::is_integral<T>::value,
                "Incorrect type passed to BrotherFormat_Name().");
  return BrotherFormat_Name(static_cast<BrotherFormat>(value));
}
template <>
[[nodiscard]] inline const ::std::string& BrotherFormat_Name(BrotherFormat value) {
  return ::google::protobuf::internal::NameOfDenseEnum<BrotherFormat_descriptor, 0, 1>(
      static_cast<int>(value));
}
[[nodiscard]] inline bool BrotherFormat_Parse(
    ::absl::string_view name, BrotherFormat* PROTOBUF_NONNULL value) {
  return ::google::protobuf::internal::ParseNamedEnum<BrotherFormat>(BrotherFormat_descriptor(), name,
                                           value);
}
using ::google::protobuf::internal::generated_enum::AbslParseFlag;
using ::google::protobuf::internal::generated_enum::AbslUnparseFlag;

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


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

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

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

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

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

  inline BrotherEncoderProto(const BrotherEncoderProto& from) : BrotherEncoderProto(nullptr, from) {}
  inline BrotherEncoderProto(BrotherEncoderProto&& from) noexcept : BrotherEncoderProto(nullptr, ::std::move(from)) {}
  inline BrotherEncoderProto& operator=(const BrotherEncoderProto& from) {
    CopyFrom(from);
    return *this;
  }
  inline BrotherEncoderProto& operator=(BrotherEncoderProto&& 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 BrotherEncoderProto& default_instance() {
    return *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<BrotherEncoderProto>(&BrotherEncoderProto_globals_);
  }
  static constexpr int kIndexInFileMessages = 1;
  friend void swap(BrotherEncoderProto& a, BrotherEncoderProto& b) { a.Swap(&b); }
  inline void Swap(BrotherEncoderProto* 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(BrotherEncoderProto* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

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

  [[nodiscard]] BrotherEncoderProto* PROTOBUF_NONNULL
  New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
    return Super_::DefaultConstruct<BrotherEncoderProto>(arena);
  }
  using Super_::CopyFrom;
  void CopyFrom(const BrotherEncoderProto& from);
  using Super_::MergeFrom;
  void MergeFrom(const BrotherEncoderProto& from) { BrotherEncoderProto::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(BrotherEncoderProto* PROTOBUF_NONNULL other);
 private:
  static ::absl::string_view FullMessageName() { return "BrotherEncoderProto"; }

  explicit BrotherEncoderProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  BrotherEncoderProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const BrotherEncoderProto& from);
  BrotherEncoderProto(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, BrotherEncoderProto&& from) noexcept
      : BrotherEncoderProto(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 {
    kFormatFieldNumber = 6,
    kClockRateUsFieldNumber = 1,
    kPostIndexGapMsFieldNumber = 2,
    kSectorSpacingMsFieldNumber = 3,
    kPostHeaderSpacingMsFieldNumber = 4,
  };
  // optional .BrotherFormat format = 6 [default = BROTHER240, json_name = "format"];
  [[nodiscard]] bool has_format() const;
  void clear_format() ;
  [[nodiscard]] ::BrotherFormat format() const;
  void set_format(::BrotherFormat value);

  private:
  ::BrotherFormat _internal_format() const;
  void _internal_set_format(::BrotherFormat value);

  public:
  // optional double clock_rate_us = 1 [default = 3.83, json_name = "clockRateUs"];
  [[nodiscard]] bool has_clock_rate_us() const;
  void clear_clock_rate_us() ;
  [[nodiscard]] double clock_rate_us() const;
  void set_clock_rate_us(double value);

  private:
  double _internal_clock_rate_us() const;
  void _internal_set_clock_rate_us(double value);

  public:
  // optional double post_index_gap_ms = 2 [default = 1, json_name = "postIndexGapMs"];
  [[nodiscard]] bool has_post_index_gap_ms() const;
  void clear_post_index_gap_ms() ;
  [[nodiscard]] double post_index_gap_ms() const;
  void set_post_index_gap_ms(double value);

  private:
  double _internal_post_index_gap_ms() const;
  void _internal_set_post_index_gap_ms(double value);

  public:
  // optional double sector_spacing_ms = 3 [default = 16.2, json_name = "sectorSpacingMs"];
  [[nodiscard]] bool has_sector_spacing_ms() const;
  void clear_sector_spacing_ms() ;
  [[nodiscard]] double sector_spacing_ms() const;
  void set_sector_spacing_ms(double value);

  private:
  double _internal_sector_spacing_ms() const;
  void _internal_set_sector_spacing_ms(double value);

  public:
  // optional double post_header_spacing_ms = 4 [default = 0.69, json_name = "postHeaderSpacingMs"];
  [[nodiscard]] bool has_post_header_spacing_ms() const;
  void clear_post_header_spacing_ms() ;
  [[nodiscard]] double post_header_spacing_ms() const;
  void set_post_header_spacing_ms(double value);

  private:
  double _internal_post_header_spacing_ms() const;
  void _internal_set_post_header_spacing_ms(double value);

  public:
  // @@protoc_insertion_point(class_scope:BrotherEncoderProto)
 private:
  class _Internal;
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<3, 5,
                          1, 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 BrotherEncoderProto& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    int format_;
    double clock_rate_us_;
    double post_index_gap_ms_;
    double sector_spacing_ms_;
    double post_header_spacing_ms_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_arch_2fbrother_2fbrother_2eproto;
};
// -------------------------------------------------------------------

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

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

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

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

  inline BrotherDecoderProto(const BrotherDecoderProto& from) : BrotherDecoderProto(nullptr, from) {}
  inline BrotherDecoderProto(BrotherDecoderProto&& from) noexcept : BrotherDecoderProto(nullptr, ::std::move(from)) {}
  inline BrotherDecoderProto& operator=(const BrotherDecoderProto& from) {
    CopyFrom(from);
    return *this;
  }
  inline BrotherDecoderProto& operator=(BrotherDecoderProto&& 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 BrotherDecoderProto& default_instance() {
    return *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<BrotherDecoderProto>(&BrotherDecoderProto_globals_);
  }
  static constexpr int kIndexInFileMessages = 0;
  friend void swap(BrotherDecoderProto& a, BrotherDecoderProto& b) { a.Swap(&b); }
  inline void Swap(BrotherDecoderProto* 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(BrotherDecoderProto* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

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

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

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

  explicit BrotherDecoderProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  BrotherDecoderProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const BrotherDecoderProto& from);
  BrotherDecoderProto(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, BrotherDecoderProto&& from) noexcept
      : BrotherDecoderProto(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:BrotherDecoderProto)
 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_2fbrother_2fbrother_2eproto;
};

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




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


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

// BrotherDecoderProto

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

// BrotherEncoderProto

// optional double clock_rate_us = 1 [default = 3.83, json_name = "clockRateUs"];
inline bool BrotherEncoderProto::has_clock_rate_us() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
  return value;
}
inline void BrotherEncoderProto::clear_clock_rate_us() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.clock_rate_us_ = 3.83;
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
inline double BrotherEncoderProto::clock_rate_us() const {
  // @@protoc_insertion_point(field_get:BrotherEncoderProto.clock_rate_us)
  return _internal_clock_rate_us();
}
inline void BrotherEncoderProto::set_clock_rate_us(double value) {
  _internal_set_clock_rate_us(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  // @@protoc_insertion_point(field_set:BrotherEncoderProto.clock_rate_us)
}
inline double BrotherEncoderProto::_internal_clock_rate_us() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.clock_rate_us_;
}
inline void BrotherEncoderProto::_internal_set_clock_rate_us(double value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.clock_rate_us_ = value;
}

// optional double post_index_gap_ms = 2 [default = 1, json_name = "postIndexGapMs"];
inline bool BrotherEncoderProto::has_post_index_gap_ms() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
  return value;
}
inline void BrotherEncoderProto::clear_post_index_gap_ms() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.post_index_gap_ms_ = 1;
  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
}
inline double BrotherEncoderProto::post_index_gap_ms() const {
  // @@protoc_insertion_point(field_get:BrotherEncoderProto.post_index_gap_ms)
  return _internal_post_index_gap_ms();
}
inline void BrotherEncoderProto::set_post_index_gap_ms(double value) {
  _internal_set_post_index_gap_ms(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  // @@protoc_insertion_point(field_set:BrotherEncoderProto.post_index_gap_ms)
}
inline double BrotherEncoderProto::_internal_post_index_gap_ms() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.post_index_gap_ms_;
}
inline void BrotherEncoderProto::_internal_set_post_index_gap_ms(double value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.post_index_gap_ms_ = value;
}

// optional double sector_spacing_ms = 3 [default = 16.2, json_name = "sectorSpacingMs"];
inline bool BrotherEncoderProto::has_sector_spacing_ms() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
  return value;
}
inline void BrotherEncoderProto::clear_sector_spacing_ms() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.sector_spacing_ms_ = 16.2;
  ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
}
inline double BrotherEncoderProto::sector_spacing_ms() const {
  // @@protoc_insertion_point(field_get:BrotherEncoderProto.sector_spacing_ms)
  return _internal_sector_spacing_ms();
}
inline void BrotherEncoderProto::set_sector_spacing_ms(double value) {
  _internal_set_sector_spacing_ms(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000008U);
  // @@protoc_insertion_point(field_set:BrotherEncoderProto.sector_spacing_ms)
}
inline double BrotherEncoderProto::_internal_sector_spacing_ms() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.sector_spacing_ms_;
}
inline void BrotherEncoderProto::_internal_set_sector_spacing_ms(double value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.sector_spacing_ms_ = value;
}

// optional double post_header_spacing_ms = 4 [default = 0.69, json_name = "postHeaderSpacingMs"];
inline bool BrotherEncoderProto::has_post_header_spacing_ms() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
  return value;
}
inline void BrotherEncoderProto::clear_post_header_spacing_ms() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.post_header_spacing_ms_ = 0.69;
  ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
}
inline double BrotherEncoderProto::post_header_spacing_ms() const {
  // @@protoc_insertion_point(field_get:BrotherEncoderProto.post_header_spacing_ms)
  return _internal_post_header_spacing_ms();
}
inline void BrotherEncoderProto::set_post_header_spacing_ms(double value) {
  _internal_set_post_header_spacing_ms(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000010U);
  // @@protoc_insertion_point(field_set:BrotherEncoderProto.post_header_spacing_ms)
}
inline double BrotherEncoderProto::_internal_post_header_spacing_ms() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.post_header_spacing_ms_;
}
inline void BrotherEncoderProto::_internal_set_post_header_spacing_ms(double value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.post_header_spacing_ms_ = value;
}

// optional .BrotherFormat format = 6 [default = BROTHER240, json_name = "format"];
inline bool BrotherEncoderProto::has_format() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
  return value;
}
inline void BrotherEncoderProto::clear_format() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.format_ = 0;
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline ::BrotherFormat BrotherEncoderProto::format() const {
  // @@protoc_insertion_point(field_get:BrotherEncoderProto.format)
  return _internal_format();
}
inline void BrotherEncoderProto::set_format(::BrotherFormat value) {
  _internal_set_format(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_set:BrotherEncoderProto.format)
}
inline ::BrotherFormat BrotherEncoderProto::_internal_format() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return static_cast<::BrotherFormat>(_impl_.format_);
}
inline void BrotherEncoderProto::_internal_set_format(::BrotherFormat value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);

                                          assert(::google::protobuf::internal::ValidateEnum(
                                              value, ::BrotherFormat_internal_data_));
                                          _impl_.format_ = value;
}

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

// @@protoc_insertion_point(namespace_scope)


namespace google {
namespace protobuf {

template <>
struct is_proto_enum<::BrotherFormat> : std::true_type {};
template <>
inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::BrotherFormat>() {
  return ::BrotherFormat_descriptor();
}

}  // namespace protobuf
}  // namespace google

// @@protoc_insertion_point(global_scope)

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

#endif  // arch_2fbrother_2fbrother_2eproto_2epb_2eh
