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

#ifndef GOOGLE_PROTOBUF_INCLUDED_UsbProConfigMessages_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_UsbProConfigMessages_2eproto

#include <limits>
#include <string>

#include <google/protobuf/port_def.inc>
#if PROTOBUF_VERSION < 3021000
#error This file was generated by a newer version of protoc which is
#error incompatible with your Protocol Buffer headers. Please update
#error your headers.
#endif
#if 3021012 < PROTOBUF_MIN_PROTOC_VERSION
#error This file was generated by an older version of protoc which is
#error incompatible with your Protocol Buffer headers. Please
#error regenerate this file with a newer version of protoc.
#endif

#include <google/protobuf/port_undef.inc>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/arena.h>
#include <google/protobuf/arenastring.h>
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/metadata_lite.h>
#include <google/protobuf/generated_message_reflection.h>
#include <google/protobuf/message.h>
#include <google/protobuf/repeated_field.h>  // IWYU pragma: export
#include <google/protobuf/extension_set.h>  // IWYU pragma: export
#include <google/protobuf/generated_enum_reflection.h>
#include <google/protobuf/unknown_field_set.h>
// @@protoc_insertion_point(includes)
#include <google/protobuf/port_def.inc>
#define PROTOBUF_INTERNAL_EXPORT_UsbProConfigMessages_2eproto
PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
}  // namespace internal
PROTOBUF_NAMESPACE_CLOSE

// Internal implementation detail -- do not use these members.
struct TableStruct_UsbProConfigMessages_2eproto {
  static const uint32_t offsets[];
};
extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_UsbProConfigMessages_2eproto;
namespace ola {
namespace plugin {
namespace usbpro {
class ParameterReply;
struct ParameterReplyDefaultTypeInternal;
extern ParameterReplyDefaultTypeInternal _ParameterReply_default_instance_;
class ParameterRequest;
struct ParameterRequestDefaultTypeInternal;
extern ParameterRequestDefaultTypeInternal _ParameterRequest_default_instance_;
class PortAssignmentReply;
struct PortAssignmentReplyDefaultTypeInternal;
extern PortAssignmentReplyDefaultTypeInternal _PortAssignmentReply_default_instance_;
class Reply;
struct ReplyDefaultTypeInternal;
extern ReplyDefaultTypeInternal _Reply_default_instance_;
class Request;
struct RequestDefaultTypeInternal;
extern RequestDefaultTypeInternal _Request_default_instance_;
class SerialNumberReply;
struct SerialNumberReplyDefaultTypeInternal;
extern SerialNumberReplyDefaultTypeInternal _SerialNumberReply_default_instance_;
}  // namespace usbpro
}  // namespace plugin
}  // namespace ola
PROTOBUF_NAMESPACE_OPEN
template<> ::ola::plugin::usbpro::ParameterReply* Arena::CreateMaybeMessage<::ola::plugin::usbpro::ParameterReply>(Arena*);
template<> ::ola::plugin::usbpro::ParameterRequest* Arena::CreateMaybeMessage<::ola::plugin::usbpro::ParameterRequest>(Arena*);
template<> ::ola::plugin::usbpro::PortAssignmentReply* Arena::CreateMaybeMessage<::ola::plugin::usbpro::PortAssignmentReply>(Arena*);
template<> ::ola::plugin::usbpro::Reply* Arena::CreateMaybeMessage<::ola::plugin::usbpro::Reply>(Arena*);
template<> ::ola::plugin::usbpro::Request* Arena::CreateMaybeMessage<::ola::plugin::usbpro::Request>(Arena*);
template<> ::ola::plugin::usbpro::SerialNumberReply* Arena::CreateMaybeMessage<::ola::plugin::usbpro::SerialNumberReply>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace ola {
namespace plugin {
namespace usbpro {

enum Request_RequestType : int {
  Request_RequestType_USBPRO_PARAMETER_REQUEST = 1,
  Request_RequestType_USBPRO_SERIAL_REQUEST = 2,
  Request_RequestType_USBPRO_PORT_ASSIGNMENT_REQUEST = 3
};
bool Request_RequestType_IsValid(int value);
constexpr Request_RequestType Request_RequestType_RequestType_MIN = Request_RequestType_USBPRO_PARAMETER_REQUEST;
constexpr Request_RequestType Request_RequestType_RequestType_MAX = Request_RequestType_USBPRO_PORT_ASSIGNMENT_REQUEST;
constexpr int Request_RequestType_RequestType_ARRAYSIZE = Request_RequestType_RequestType_MAX + 1;

const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Request_RequestType_descriptor();
template<typename T>
inline const std::string& Request_RequestType_Name(T enum_t_value) {
  static_assert(::std::is_same<T, Request_RequestType>::value ||
    ::std::is_integral<T>::value,
    "Incorrect type passed to function Request_RequestType_Name.");
  return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
    Request_RequestType_descriptor(), enum_t_value);
}
inline bool Request_RequestType_Parse(
    ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Request_RequestType* value) {
  return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Request_RequestType>(
    Request_RequestType_descriptor(), name, value);
}
enum Reply_ReplyType : int {
  Reply_ReplyType_USBPRO_PARAMETER_REPLY = 1,
  Reply_ReplyType_USBPRO_SERIAL_REPLY = 2,
  Reply_ReplyType_USBPRO_PORT_ASSIGNMENT_REPLY = 3
};
bool Reply_ReplyType_IsValid(int value);
constexpr Reply_ReplyType Reply_ReplyType_ReplyType_MIN = Reply_ReplyType_USBPRO_PARAMETER_REPLY;
constexpr Reply_ReplyType Reply_ReplyType_ReplyType_MAX = Reply_ReplyType_USBPRO_PORT_ASSIGNMENT_REPLY;
constexpr int Reply_ReplyType_ReplyType_ARRAYSIZE = Reply_ReplyType_ReplyType_MAX + 1;

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

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

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

  inline ParameterReply& operator=(const ParameterReply& from) {
    CopyFrom(from);
    return *this;
  }
  inline ParameterReply& operator=(ParameterReply&& from) noexcept {
    if (this == &from) return *this;
    if (GetOwningArena() == from.GetOwningArena()
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
        && GetOwningArena() != nullptr
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
    ) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
    return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  }
  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  }

  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
    return GetDescriptor();
  }
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
    return default_instance().GetMetadata().descriptor;
  }
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
    return default_instance().GetMetadata().reflection;
  }
  static const ParameterReply& default_instance() {
    return *internal_default_instance();
  }
  static inline const ParameterReply* internal_default_instance() {
    return reinterpret_cast<const ParameterReply*>(
               &_ParameterReply_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    0;

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

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

  ParameterReply* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<ParameterReply>(arena);
  }
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  void CopyFrom(const ParameterReply& from);
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  void MergeFrom( const ParameterReply& from) {
    ParameterReply::MergeImpl(*this, from);
  }
  private:
  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  public:
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

  size_t ByteSizeLong() const final;
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  uint8_t* _InternalSerialize(
      uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _impl_._cached_size_.Get(); }

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

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

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

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

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

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

  enum : int {
    kFirmwareHighFieldNumber = 1,
    kFirmwareFieldNumber = 2,
    kBreakTimeFieldNumber = 3,
    kMabTimeFieldNumber = 4,
    kRateFieldNumber = 5,
  };
  // required uint32 firmware_high = 1;
  bool has_firmware_high() const;
  private:
  bool _internal_has_firmware_high() const;
  public:
  void clear_firmware_high();
  uint32_t firmware_high() const;
  void set_firmware_high(uint32_t value);
  private:
  uint32_t _internal_firmware_high() const;
  void _internal_set_firmware_high(uint32_t value);
  public:

  // required uint32 firmware = 2;
  bool has_firmware() const;
  private:
  bool _internal_has_firmware() const;
  public:
  void clear_firmware();
  uint32_t firmware() const;
  void set_firmware(uint32_t value);
  private:
  uint32_t _internal_firmware() const;
  void _internal_set_firmware(uint32_t value);
  public:

  // required uint32 break_time = 3;
  bool has_break_time() const;
  private:
  bool _internal_has_break_time() const;
  public:
  void clear_break_time();
  uint32_t break_time() const;
  void set_break_time(uint32_t value);
  private:
  uint32_t _internal_break_time() const;
  void _internal_set_break_time(uint32_t value);
  public:

  // required uint32 mab_time = 4;
  bool has_mab_time() const;
  private:
  bool _internal_has_mab_time() const;
  public:
  void clear_mab_time();
  uint32_t mab_time() const;
  void set_mab_time(uint32_t value);
  private:
  uint32_t _internal_mab_time() const;
  void _internal_set_mab_time(uint32_t value);
  public:

  // required uint32 rate = 5;
  bool has_rate() const;
  private:
  bool _internal_has_rate() const;
  public:
  void clear_rate();
  uint32_t rate() const;
  void set_rate(uint32_t value);
  private:
  uint32_t _internal_rate() const;
  void _internal_set_rate(uint32_t value);
  public:

  // @@protoc_insertion_point(class_scope:ola.plugin.usbpro.ParameterReply)
 private:
  class _Internal;

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

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  struct Impl_ {
    ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
    uint32_t firmware_high_;
    uint32_t firmware_;
    uint32_t break_time_;
    uint32_t mab_time_;
    uint32_t rate_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_UsbProConfigMessages_2eproto;
};
// -------------------------------------------------------------------

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

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

  inline ParameterRequest& operator=(const ParameterRequest& from) {
    CopyFrom(from);
    return *this;
  }
  inline ParameterRequest& operator=(ParameterRequest&& from) noexcept {
    if (this == &from) return *this;
    if (GetOwningArena() == from.GetOwningArena()
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
        && GetOwningArena() != nullptr
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
    ) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
    return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  }
  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  }

  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
    return GetDescriptor();
  }
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
    return default_instance().GetMetadata().descriptor;
  }
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
    return default_instance().GetMetadata().reflection;
  }
  static const ParameterRequest& default_instance() {
    return *internal_default_instance();
  }
  static inline const ParameterRequest* internal_default_instance() {
    return reinterpret_cast<const ParameterRequest*>(
               &_ParameterRequest_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    1;

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

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

  ParameterRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<ParameterRequest>(arena);
  }
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  void CopyFrom(const ParameterRequest& from);
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  void MergeFrom( const ParameterRequest& from) {
    ParameterRequest::MergeImpl(*this, from);
  }
  private:
  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  public:
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

  size_t ByteSizeLong() const final;
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  uint8_t* _InternalSerialize(
      uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _impl_._cached_size_.Get(); }

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

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

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

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

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

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

  enum : int {
    kBreakTimeFieldNumber = 1,
    kMabTimeFieldNumber = 2,
    kRateFieldNumber = 3,
    kPortIdFieldNumber = 4,
  };
  // optional uint32 break_time = 1;
  bool has_break_time() const;
  private:
  bool _internal_has_break_time() const;
  public:
  void clear_break_time();
  uint32_t break_time() const;
  void set_break_time(uint32_t value);
  private:
  uint32_t _internal_break_time() const;
  void _internal_set_break_time(uint32_t value);
  public:

  // optional uint32 mab_time = 2;
  bool has_mab_time() const;
  private:
  bool _internal_has_mab_time() const;
  public:
  void clear_mab_time();
  uint32_t mab_time() const;
  void set_mab_time(uint32_t value);
  private:
  uint32_t _internal_mab_time() const;
  void _internal_set_mab_time(uint32_t value);
  public:

  // optional uint32 rate = 3;
  bool has_rate() const;
  private:
  bool _internal_has_rate() const;
  public:
  void clear_rate();
  uint32_t rate() const;
  void set_rate(uint32_t value);
  private:
  uint32_t _internal_rate() const;
  void _internal_set_rate(uint32_t value);
  public:

  // required uint32 port_id = 4;
  bool has_port_id() const;
  private:
  bool _internal_has_port_id() const;
  public:
  void clear_port_id();
  uint32_t port_id() const;
  void set_port_id(uint32_t value);
  private:
  uint32_t _internal_port_id() const;
  void _internal_set_port_id(uint32_t value);
  public:

  // @@protoc_insertion_point(class_scope:ola.plugin.usbpro.ParameterRequest)
 private:
  class _Internal;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  struct Impl_ {
    ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
    uint32_t break_time_;
    uint32_t mab_time_;
    uint32_t rate_;
    uint32_t port_id_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_UsbProConfigMessages_2eproto;
};
// -------------------------------------------------------------------

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

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

  inline SerialNumberReply& operator=(const SerialNumberReply& from) {
    CopyFrom(from);
    return *this;
  }
  inline SerialNumberReply& operator=(SerialNumberReply&& from) noexcept {
    if (this == &from) return *this;
    if (GetOwningArena() == from.GetOwningArena()
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
        && GetOwningArena() != nullptr
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
    ) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
    return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  }
  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  }

  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
    return GetDescriptor();
  }
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
    return default_instance().GetMetadata().descriptor;
  }
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
    return default_instance().GetMetadata().reflection;
  }
  static const SerialNumberReply& default_instance() {
    return *internal_default_instance();
  }
  static inline const SerialNumberReply* internal_default_instance() {
    return reinterpret_cast<const SerialNumberReply*>(
               &_SerialNumberReply_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    2;

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

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

  SerialNumberReply* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<SerialNumberReply>(arena);
  }
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  void CopyFrom(const SerialNumberReply& from);
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  void MergeFrom( const SerialNumberReply& from) {
    SerialNumberReply::MergeImpl(*this, from);
  }
  private:
  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  public:
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

  size_t ByteSizeLong() const final;
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  uint8_t* _InternalSerialize(
      uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _impl_._cached_size_.Get(); }

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

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

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

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

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

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

  enum : int {
    kSerialFieldNumber = 1,
  };
  // required string serial = 1;
  bool has_serial() const;
  private:
  bool _internal_has_serial() const;
  public:
  void clear_serial();
  const std::string& serial() const;
  template <typename ArgT0 = const std::string&, typename... ArgT>
  void set_serial(ArgT0&& arg0, ArgT... args);
  std::string* mutable_serial();
  PROTOBUF_NODISCARD std::string* release_serial();
  void set_allocated_serial(std::string* serial);
  private:
  const std::string& _internal_serial() const;
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_serial(const std::string& value);
  std::string* _internal_mutable_serial();
  public:

  // @@protoc_insertion_point(class_scope:ola.plugin.usbpro.SerialNumberReply)
 private:
  class _Internal;

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

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

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

  inline PortAssignmentReply& operator=(const PortAssignmentReply& from) {
    CopyFrom(from);
    return *this;
  }
  inline PortAssignmentReply& operator=(PortAssignmentReply&& from) noexcept {
    if (this == &from) return *this;
    if (GetOwningArena() == from.GetOwningArena()
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
        && GetOwningArena() != nullptr
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
    ) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
    return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  }
  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  }

  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
    return GetDescriptor();
  }
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
    return default_instance().GetMetadata().descriptor;
  }
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
    return default_instance().GetMetadata().reflection;
  }
  static const PortAssignmentReply& default_instance() {
    return *internal_default_instance();
  }
  static inline const PortAssignmentReply* internal_default_instance() {
    return reinterpret_cast<const PortAssignmentReply*>(
               &_PortAssignmentReply_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    3;

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

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

  PortAssignmentReply* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<PortAssignmentReply>(arena);
  }
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  void CopyFrom(const PortAssignmentReply& from);
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  void MergeFrom( const PortAssignmentReply& from) {
    PortAssignmentReply::MergeImpl(*this, from);
  }
  private:
  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  public:
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

  size_t ByteSizeLong() const final;
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  uint8_t* _InternalSerialize(
      uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _impl_._cached_size_.Get(); }

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

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

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

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

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

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

  enum : int {
    kPortAssignment1FieldNumber = 1,
    kPortAssignment2FieldNumber = 2,
  };
  // required uint32 port_assignment1 = 1;
  bool has_port_assignment1() const;
  private:
  bool _internal_has_port_assignment1() const;
  public:
  void clear_port_assignment1();
  uint32_t port_assignment1() const;
  void set_port_assignment1(uint32_t value);
  private:
  uint32_t _internal_port_assignment1() const;
  void _internal_set_port_assignment1(uint32_t value);
  public:

  // required uint32 port_assignment2 = 2;
  bool has_port_assignment2() const;
  private:
  bool _internal_has_port_assignment2() const;
  public:
  void clear_port_assignment2();
  uint32_t port_assignment2() const;
  void set_port_assignment2(uint32_t value);
  private:
  uint32_t _internal_port_assignment2() const;
  void _internal_set_port_assignment2(uint32_t value);
  public:

  // @@protoc_insertion_point(class_scope:ola.plugin.usbpro.PortAssignmentReply)
 private:
  class _Internal;

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

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

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

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

  inline Request& operator=(const Request& from) {
    CopyFrom(from);
    return *this;
  }
  inline Request& operator=(Request&& from) noexcept {
    if (this == &from) return *this;
    if (GetOwningArena() == from.GetOwningArena()
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
        && GetOwningArena() != nullptr
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
    ) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
    return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  }
  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  }

  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
    return GetDescriptor();
  }
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
    return default_instance().GetMetadata().descriptor;
  }
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
    return default_instance().GetMetadata().reflection;
  }
  static const Request& default_instance() {
    return *internal_default_instance();
  }
  static inline const Request* internal_default_instance() {
    return reinterpret_cast<const Request*>(
               &_Request_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    4;

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

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

  Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<Request>(arena);
  }
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  void CopyFrom(const Request& from);
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  void MergeFrom( const Request& from) {
    Request::MergeImpl(*this, from);
  }
  private:
  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  public:
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

  size_t ByteSizeLong() const final;
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  uint8_t* _InternalSerialize(
      uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _impl_._cached_size_.Get(); }

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

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

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

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

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

  typedef Request_RequestType RequestType;
  static constexpr RequestType USBPRO_PARAMETER_REQUEST =
    Request_RequestType_USBPRO_PARAMETER_REQUEST;
  static constexpr RequestType USBPRO_SERIAL_REQUEST =
    Request_RequestType_USBPRO_SERIAL_REQUEST;
  static constexpr RequestType USBPRO_PORT_ASSIGNMENT_REQUEST =
    Request_RequestType_USBPRO_PORT_ASSIGNMENT_REQUEST;
  static inline bool RequestType_IsValid(int value) {
    return Request_RequestType_IsValid(value);
  }
  static constexpr RequestType RequestType_MIN =
    Request_RequestType_RequestType_MIN;
  static constexpr RequestType RequestType_MAX =
    Request_RequestType_RequestType_MAX;
  static constexpr int RequestType_ARRAYSIZE =
    Request_RequestType_RequestType_ARRAYSIZE;
  static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
  RequestType_descriptor() {
    return Request_RequestType_descriptor();
  }
  template<typename T>
  static inline const std::string& RequestType_Name(T enum_t_value) {
    static_assert(::std::is_same<T, RequestType>::value ||
      ::std::is_integral<T>::value,
      "Incorrect type passed to function RequestType_Name.");
    return Request_RequestType_Name(enum_t_value);
  }
  static inline bool RequestType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
      RequestType* value) {
    return Request_RequestType_Parse(name, value);
  }

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

  enum : int {
    kParametersFieldNumber = 2,
    kTypeFieldNumber = 1,
  };
  // optional .ola.plugin.usbpro.ParameterRequest parameters = 2;
  bool has_parameters() const;
  private:
  bool _internal_has_parameters() const;
  public:
  void clear_parameters();
  const ::ola::plugin::usbpro::ParameterRequest& parameters() const;
  PROTOBUF_NODISCARD ::ola::plugin::usbpro::ParameterRequest* release_parameters();
  ::ola::plugin::usbpro::ParameterRequest* mutable_parameters();
  void set_allocated_parameters(::ola::plugin::usbpro::ParameterRequest* parameters);
  private:
  const ::ola::plugin::usbpro::ParameterRequest& _internal_parameters() const;
  ::ola::plugin::usbpro::ParameterRequest* _internal_mutable_parameters();
  public:
  void unsafe_arena_set_allocated_parameters(
      ::ola::plugin::usbpro::ParameterRequest* parameters);
  ::ola::plugin::usbpro::ParameterRequest* unsafe_arena_release_parameters();

  // required .ola.plugin.usbpro.Request.RequestType type = 1;
  bool has_type() const;
  private:
  bool _internal_has_type() const;
  public:
  void clear_type();
  ::ola::plugin::usbpro::Request_RequestType type() const;
  void set_type(::ola::plugin::usbpro::Request_RequestType value);
  private:
  ::ola::plugin::usbpro::Request_RequestType _internal_type() const;
  void _internal_set_type(::ola::plugin::usbpro::Request_RequestType value);
  public:

  // @@protoc_insertion_point(class_scope:ola.plugin.usbpro.Request)
 private:
  class _Internal;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  struct Impl_ {
    ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
    ::ola::plugin::usbpro::ParameterRequest* parameters_;
    int type_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_UsbProConfigMessages_2eproto;
};
// -------------------------------------------------------------------

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

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

  inline Reply& operator=(const Reply& from) {
    CopyFrom(from);
    return *this;
  }
  inline Reply& operator=(Reply&& from) noexcept {
    if (this == &from) return *this;
    if (GetOwningArena() == from.GetOwningArena()
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
        && GetOwningArena() != nullptr
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
    ) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
    return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  }
  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  }

  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
    return GetDescriptor();
  }
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
    return default_instance().GetMetadata().descriptor;
  }
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
    return default_instance().GetMetadata().reflection;
  }
  static const Reply& default_instance() {
    return *internal_default_instance();
  }
  static inline const Reply* internal_default_instance() {
    return reinterpret_cast<const Reply*>(
               &_Reply_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    5;

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

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

  Reply* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<Reply>(arena);
  }
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  void CopyFrom(const Reply& from);
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  void MergeFrom( const Reply& from) {
    Reply::MergeImpl(*this, from);
  }
  private:
  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  public:
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

  size_t ByteSizeLong() const final;
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  uint8_t* _InternalSerialize(
      uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _impl_._cached_size_.Get(); }

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

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

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

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

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

  typedef Reply_ReplyType ReplyType;
  static constexpr ReplyType USBPRO_PARAMETER_REPLY =
    Reply_ReplyType_USBPRO_PARAMETER_REPLY;
  static constexpr ReplyType USBPRO_SERIAL_REPLY =
    Reply_ReplyType_USBPRO_SERIAL_REPLY;
  static constexpr ReplyType USBPRO_PORT_ASSIGNMENT_REPLY =
    Reply_ReplyType_USBPRO_PORT_ASSIGNMENT_REPLY;
  static inline bool ReplyType_IsValid(int value) {
    return Reply_ReplyType_IsValid(value);
  }
  static constexpr ReplyType ReplyType_MIN =
    Reply_ReplyType_ReplyType_MIN;
  static constexpr ReplyType ReplyType_MAX =
    Reply_ReplyType_ReplyType_MAX;
  static constexpr int ReplyType_ARRAYSIZE =
    Reply_ReplyType_ReplyType_ARRAYSIZE;
  static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
  ReplyType_descriptor() {
    return Reply_ReplyType_descriptor();
  }
  template<typename T>
  static inline const std::string& ReplyType_Name(T enum_t_value) {
    static_assert(::std::is_same<T, ReplyType>::value ||
      ::std::is_integral<T>::value,
      "Incorrect type passed to function ReplyType_Name.");
    return Reply_ReplyType_Name(enum_t_value);
  }
  static inline bool ReplyType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
      ReplyType* value) {
    return Reply_ReplyType_Parse(name, value);
  }

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

  enum : int {
    kParametersFieldNumber = 2,
    kSerialNumberFieldNumber = 3,
    kPortAssignmentFieldNumber = 4,
    kTypeFieldNumber = 1,
  };
  // optional .ola.plugin.usbpro.ParameterReply parameters = 2;
  bool has_parameters() const;
  private:
  bool _internal_has_parameters() const;
  public:
  void clear_parameters();
  const ::ola::plugin::usbpro::ParameterReply& parameters() const;
  PROTOBUF_NODISCARD ::ola::plugin::usbpro::ParameterReply* release_parameters();
  ::ola::plugin::usbpro::ParameterReply* mutable_parameters();
  void set_allocated_parameters(::ola::plugin::usbpro::ParameterReply* parameters);
  private:
  const ::ola::plugin::usbpro::ParameterReply& _internal_parameters() const;
  ::ola::plugin::usbpro::ParameterReply* _internal_mutable_parameters();
  public:
  void unsafe_arena_set_allocated_parameters(
      ::ola::plugin::usbpro::ParameterReply* parameters);
  ::ola::plugin::usbpro::ParameterReply* unsafe_arena_release_parameters();

  // optional .ola.plugin.usbpro.SerialNumberReply serial_number = 3;
  bool has_serial_number() const;
  private:
  bool _internal_has_serial_number() const;
  public:
  void clear_serial_number();
  const ::ola::plugin::usbpro::SerialNumberReply& serial_number() const;
  PROTOBUF_NODISCARD ::ola::plugin::usbpro::SerialNumberReply* release_serial_number();
  ::ola::plugin::usbpro::SerialNumberReply* mutable_serial_number();
  void set_allocated_serial_number(::ola::plugin::usbpro::SerialNumberReply* serial_number);
  private:
  const ::ola::plugin::usbpro::SerialNumberReply& _internal_serial_number() const;
  ::ola::plugin::usbpro::SerialNumberReply* _internal_mutable_serial_number();
  public:
  void unsafe_arena_set_allocated_serial_number(
      ::ola::plugin::usbpro::SerialNumberReply* serial_number);
  ::ola::plugin::usbpro::SerialNumberReply* unsafe_arena_release_serial_number();

  // optional .ola.plugin.usbpro.PortAssignmentReply port_assignment = 4;
  bool has_port_assignment() const;
  private:
  bool _internal_has_port_assignment() const;
  public:
  void clear_port_assignment();
  const ::ola::plugin::usbpro::PortAssignmentReply& port_assignment() const;
  PROTOBUF_NODISCARD ::ola::plugin::usbpro::PortAssignmentReply* release_port_assignment();
  ::ola::plugin::usbpro::PortAssignmentReply* mutable_port_assignment();
  void set_allocated_port_assignment(::ola::plugin::usbpro::PortAssignmentReply* port_assignment);
  private:
  const ::ola::plugin::usbpro::PortAssignmentReply& _internal_port_assignment() const;
  ::ola::plugin::usbpro::PortAssignmentReply* _internal_mutable_port_assignment();
  public:
  void unsafe_arena_set_allocated_port_assignment(
      ::ola::plugin::usbpro::PortAssignmentReply* port_assignment);
  ::ola::plugin::usbpro::PortAssignmentReply* unsafe_arena_release_port_assignment();

  // required .ola.plugin.usbpro.Reply.ReplyType type = 1;
  bool has_type() const;
  private:
  bool _internal_has_type() const;
  public:
  void clear_type();
  ::ola::plugin::usbpro::Reply_ReplyType type() const;
  void set_type(::ola::plugin::usbpro::Reply_ReplyType value);
  private:
  ::ola::plugin::usbpro::Reply_ReplyType _internal_type() const;
  void _internal_set_type(::ola::plugin::usbpro::Reply_ReplyType value);
  public:

  // @@protoc_insertion_point(class_scope:ola.plugin.usbpro.Reply)
 private:
  class _Internal;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  struct Impl_ {
    ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
    ::ola::plugin::usbpro::ParameterReply* parameters_;
    ::ola::plugin::usbpro::SerialNumberReply* serial_number_;
    ::ola::plugin::usbpro::PortAssignmentReply* port_assignment_;
    int type_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_UsbProConfigMessages_2eproto;
};
// ===================================================================


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

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

// required uint32 firmware_high = 1;
inline bool ParameterReply::_internal_has_firmware_high() const {
  bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
  return value;
}
inline bool ParameterReply::has_firmware_high() const {
  return _internal_has_firmware_high();
}
inline void ParameterReply::clear_firmware_high() {
  _impl_.firmware_high_ = 0u;
  _impl_._has_bits_[0] &= ~0x00000001u;
}
inline uint32_t ParameterReply::_internal_firmware_high() const {
  return _impl_.firmware_high_;
}
inline uint32_t ParameterReply::firmware_high() const {
  // @@protoc_insertion_point(field_get:ola.plugin.usbpro.ParameterReply.firmware_high)
  return _internal_firmware_high();
}
inline void ParameterReply::_internal_set_firmware_high(uint32_t value) {
  _impl_._has_bits_[0] |= 0x00000001u;
  _impl_.firmware_high_ = value;
}
inline void ParameterReply::set_firmware_high(uint32_t value) {
  _internal_set_firmware_high(value);
  // @@protoc_insertion_point(field_set:ola.plugin.usbpro.ParameterReply.firmware_high)
}

// required uint32 firmware = 2;
inline bool ParameterReply::_internal_has_firmware() const {
  bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
  return value;
}
inline bool ParameterReply::has_firmware() const {
  return _internal_has_firmware();
}
inline void ParameterReply::clear_firmware() {
  _impl_.firmware_ = 0u;
  _impl_._has_bits_[0] &= ~0x00000002u;
}
inline uint32_t ParameterReply::_internal_firmware() const {
  return _impl_.firmware_;
}
inline uint32_t ParameterReply::firmware() const {
  // @@protoc_insertion_point(field_get:ola.plugin.usbpro.ParameterReply.firmware)
  return _internal_firmware();
}
inline void ParameterReply::_internal_set_firmware(uint32_t value) {
  _impl_._has_bits_[0] |= 0x00000002u;
  _impl_.firmware_ = value;
}
inline void ParameterReply::set_firmware(uint32_t value) {
  _internal_set_firmware(value);
  // @@protoc_insertion_point(field_set:ola.plugin.usbpro.ParameterReply.firmware)
}

// required uint32 break_time = 3;
inline bool ParameterReply::_internal_has_break_time() const {
  bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
  return value;
}
inline bool ParameterReply::has_break_time() const {
  return _internal_has_break_time();
}
inline void ParameterReply::clear_break_time() {
  _impl_.break_time_ = 0u;
  _impl_._has_bits_[0] &= ~0x00000004u;
}
inline uint32_t ParameterReply::_internal_break_time() const {
  return _impl_.break_time_;
}
inline uint32_t ParameterReply::break_time() const {
  // @@protoc_insertion_point(field_get:ola.plugin.usbpro.ParameterReply.break_time)
  return _internal_break_time();
}
inline void ParameterReply::_internal_set_break_time(uint32_t value) {
  _impl_._has_bits_[0] |= 0x00000004u;
  _impl_.break_time_ = value;
}
inline void ParameterReply::set_break_time(uint32_t value) {
  _internal_set_break_time(value);
  // @@protoc_insertion_point(field_set:ola.plugin.usbpro.ParameterReply.break_time)
}

// required uint32 mab_time = 4;
inline bool ParameterReply::_internal_has_mab_time() const {
  bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
  return value;
}
inline bool ParameterReply::has_mab_time() const {
  return _internal_has_mab_time();
}
inline void ParameterReply::clear_mab_time() {
  _impl_.mab_time_ = 0u;
  _impl_._has_bits_[0] &= ~0x00000008u;
}
inline uint32_t ParameterReply::_internal_mab_time() const {
  return _impl_.mab_time_;
}
inline uint32_t ParameterReply::mab_time() const {
  // @@protoc_insertion_point(field_get:ola.plugin.usbpro.ParameterReply.mab_time)
  return _internal_mab_time();
}
inline void ParameterReply::_internal_set_mab_time(uint32_t value) {
  _impl_._has_bits_[0] |= 0x00000008u;
  _impl_.mab_time_ = value;
}
inline void ParameterReply::set_mab_time(uint32_t value) {
  _internal_set_mab_time(value);
  // @@protoc_insertion_point(field_set:ola.plugin.usbpro.ParameterReply.mab_time)
}

// required uint32 rate = 5;
inline bool ParameterReply::_internal_has_rate() const {
  bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
  return value;
}
inline bool ParameterReply::has_rate() const {
  return _internal_has_rate();
}
inline void ParameterReply::clear_rate() {
  _impl_.rate_ = 0u;
  _impl_._has_bits_[0] &= ~0x00000010u;
}
inline uint32_t ParameterReply::_internal_rate() const {
  return _impl_.rate_;
}
inline uint32_t ParameterReply::rate() const {
  // @@protoc_insertion_point(field_get:ola.plugin.usbpro.ParameterReply.rate)
  return _internal_rate();
}
inline void ParameterReply::_internal_set_rate(uint32_t value) {
  _impl_._has_bits_[0] |= 0x00000010u;
  _impl_.rate_ = value;
}
inline void ParameterReply::set_rate(uint32_t value) {
  _internal_set_rate(value);
  // @@protoc_insertion_point(field_set:ola.plugin.usbpro.ParameterReply.rate)
}

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

// ParameterRequest

// required uint32 port_id = 4;
inline bool ParameterRequest::_internal_has_port_id() const {
  bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
  return value;
}
inline bool ParameterRequest::has_port_id() const {
  return _internal_has_port_id();
}
inline void ParameterRequest::clear_port_id() {
  _impl_.port_id_ = 0u;
  _impl_._has_bits_[0] &= ~0x00000008u;
}
inline uint32_t ParameterRequest::_internal_port_id() const {
  return _impl_.port_id_;
}
inline uint32_t ParameterRequest::port_id() const {
  // @@protoc_insertion_point(field_get:ola.plugin.usbpro.ParameterRequest.port_id)
  return _internal_port_id();
}
inline void ParameterRequest::_internal_set_port_id(uint32_t value) {
  _impl_._has_bits_[0] |= 0x00000008u;
  _impl_.port_id_ = value;
}
inline void ParameterRequest::set_port_id(uint32_t value) {
  _internal_set_port_id(value);
  // @@protoc_insertion_point(field_set:ola.plugin.usbpro.ParameterRequest.port_id)
}

// optional uint32 break_time = 1;
inline bool ParameterRequest::_internal_has_break_time() const {
  bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
  return value;
}
inline bool ParameterRequest::has_break_time() const {
  return _internal_has_break_time();
}
inline void ParameterRequest::clear_break_time() {
  _impl_.break_time_ = 0u;
  _impl_._has_bits_[0] &= ~0x00000001u;
}
inline uint32_t ParameterRequest::_internal_break_time() const {
  return _impl_.break_time_;
}
inline uint32_t ParameterRequest::break_time() const {
  // @@protoc_insertion_point(field_get:ola.plugin.usbpro.ParameterRequest.break_time)
  return _internal_break_time();
}
inline void ParameterRequest::_internal_set_break_time(uint32_t value) {
  _impl_._has_bits_[0] |= 0x00000001u;
  _impl_.break_time_ = value;
}
inline void ParameterRequest::set_break_time(uint32_t value) {
  _internal_set_break_time(value);
  // @@protoc_insertion_point(field_set:ola.plugin.usbpro.ParameterRequest.break_time)
}

// optional uint32 mab_time = 2;
inline bool ParameterRequest::_internal_has_mab_time() const {
  bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
  return value;
}
inline bool ParameterRequest::has_mab_time() const {
  return _internal_has_mab_time();
}
inline void ParameterRequest::clear_mab_time() {
  _impl_.mab_time_ = 0u;
  _impl_._has_bits_[0] &= ~0x00000002u;
}
inline uint32_t ParameterRequest::_internal_mab_time() const {
  return _impl_.mab_time_;
}
inline uint32_t ParameterRequest::mab_time() const {
  // @@protoc_insertion_point(field_get:ola.plugin.usbpro.ParameterRequest.mab_time)
  return _internal_mab_time();
}
inline void ParameterRequest::_internal_set_mab_time(uint32_t value) {
  _impl_._has_bits_[0] |= 0x00000002u;
  _impl_.mab_time_ = value;
}
inline void ParameterRequest::set_mab_time(uint32_t value) {
  _internal_set_mab_time(value);
  // @@protoc_insertion_point(field_set:ola.plugin.usbpro.ParameterRequest.mab_time)
}

// optional uint32 rate = 3;
inline bool ParameterRequest::_internal_has_rate() const {
  bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
  return value;
}
inline bool ParameterRequest::has_rate() const {
  return _internal_has_rate();
}
inline void ParameterRequest::clear_rate() {
  _impl_.rate_ = 0u;
  _impl_._has_bits_[0] &= ~0x00000004u;
}
inline uint32_t ParameterRequest::_internal_rate() const {
  return _impl_.rate_;
}
inline uint32_t ParameterRequest::rate() const {
  // @@protoc_insertion_point(field_get:ola.plugin.usbpro.ParameterRequest.rate)
  return _internal_rate();
}
inline void ParameterRequest::_internal_set_rate(uint32_t value) {
  _impl_._has_bits_[0] |= 0x00000004u;
  _impl_.rate_ = value;
}
inline void ParameterRequest::set_rate(uint32_t value) {
  _internal_set_rate(value);
  // @@protoc_insertion_point(field_set:ola.plugin.usbpro.ParameterRequest.rate)
}

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

// SerialNumberReply

// required string serial = 1;
inline bool SerialNumberReply::_internal_has_serial() const {
  bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
  return value;
}
inline bool SerialNumberReply::has_serial() const {
  return _internal_has_serial();
}
inline void SerialNumberReply::clear_serial() {
  _impl_.serial_.ClearToEmpty();
  _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& SerialNumberReply::serial() const {
  // @@protoc_insertion_point(field_get:ola.plugin.usbpro.SerialNumberReply.serial)
  return _internal_serial();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void SerialNumberReply::set_serial(ArgT0&& arg0, ArgT... args) {
 _impl_._has_bits_[0] |= 0x00000001u;
 _impl_.serial_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:ola.plugin.usbpro.SerialNumberReply.serial)
}
inline std::string* SerialNumberReply::mutable_serial() {
  std::string* _s = _internal_mutable_serial();
  // @@protoc_insertion_point(field_mutable:ola.plugin.usbpro.SerialNumberReply.serial)
  return _s;
}
inline const std::string& SerialNumberReply::_internal_serial() const {
  return _impl_.serial_.Get();
}
inline void SerialNumberReply::_internal_set_serial(const std::string& value) {
  _impl_._has_bits_[0] |= 0x00000001u;
  _impl_.serial_.Set(value, GetArenaForAllocation());
}
inline std::string* SerialNumberReply::_internal_mutable_serial() {
  _impl_._has_bits_[0] |= 0x00000001u;
  return _impl_.serial_.Mutable(GetArenaForAllocation());
}
inline std::string* SerialNumberReply::release_serial() {
  // @@protoc_insertion_point(field_release:ola.plugin.usbpro.SerialNumberReply.serial)
  if (!_internal_has_serial()) {
    return nullptr;
  }
  _impl_._has_bits_[0] &= ~0x00000001u;
  auto* p = _impl_.serial_.Release();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  if (_impl_.serial_.IsDefault()) {
    _impl_.serial_.Set("", GetArenaForAllocation());
  }
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  return p;
}
inline void SerialNumberReply::set_allocated_serial(std::string* serial) {
  if (serial != nullptr) {
    _impl_._has_bits_[0] |= 0x00000001u;
  } else {
    _impl_._has_bits_[0] &= ~0x00000001u;
  }
  _impl_.serial_.SetAllocated(serial, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  if (_impl_.serial_.IsDefault()) {
    _impl_.serial_.Set("", GetArenaForAllocation());
  }
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  // @@protoc_insertion_point(field_set_allocated:ola.plugin.usbpro.SerialNumberReply.serial)
}

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

// PortAssignmentReply

// required uint32 port_assignment1 = 1;
inline bool PortAssignmentReply::_internal_has_port_assignment1() const {
  bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
  return value;
}
inline bool PortAssignmentReply::has_port_assignment1() const {
  return _internal_has_port_assignment1();
}
inline void PortAssignmentReply::clear_port_assignment1() {
  _impl_.port_assignment1_ = 0u;
  _impl_._has_bits_[0] &= ~0x00000001u;
}
inline uint32_t PortAssignmentReply::_internal_port_assignment1() const {
  return _impl_.port_assignment1_;
}
inline uint32_t PortAssignmentReply::port_assignment1() const {
  // @@protoc_insertion_point(field_get:ola.plugin.usbpro.PortAssignmentReply.port_assignment1)
  return _internal_port_assignment1();
}
inline void PortAssignmentReply::_internal_set_port_assignment1(uint32_t value) {
  _impl_._has_bits_[0] |= 0x00000001u;
  _impl_.port_assignment1_ = value;
}
inline void PortAssignmentReply::set_port_assignment1(uint32_t value) {
  _internal_set_port_assignment1(value);
  // @@protoc_insertion_point(field_set:ola.plugin.usbpro.PortAssignmentReply.port_assignment1)
}

// required uint32 port_assignment2 = 2;
inline bool PortAssignmentReply::_internal_has_port_assignment2() const {
  bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
  return value;
}
inline bool PortAssignmentReply::has_port_assignment2() const {
  return _internal_has_port_assignment2();
}
inline void PortAssignmentReply::clear_port_assignment2() {
  _impl_.port_assignment2_ = 0u;
  _impl_._has_bits_[0] &= ~0x00000002u;
}
inline uint32_t PortAssignmentReply::_internal_port_assignment2() const {
  return _impl_.port_assignment2_;
}
inline uint32_t PortAssignmentReply::port_assignment2() const {
  // @@protoc_insertion_point(field_get:ola.plugin.usbpro.PortAssignmentReply.port_assignment2)
  return _internal_port_assignment2();
}
inline void PortAssignmentReply::_internal_set_port_assignment2(uint32_t value) {
  _impl_._has_bits_[0] |= 0x00000002u;
  _impl_.port_assignment2_ = value;
}
inline void PortAssignmentReply::set_port_assignment2(uint32_t value) {
  _internal_set_port_assignment2(value);
  // @@protoc_insertion_point(field_set:ola.plugin.usbpro.PortAssignmentReply.port_assignment2)
}

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

// Request

// required .ola.plugin.usbpro.Request.RequestType type = 1;
inline bool Request::_internal_has_type() const {
  bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
  return value;
}
inline bool Request::has_type() const {
  return _internal_has_type();
}
inline void Request::clear_type() {
  _impl_.type_ = 1;
  _impl_._has_bits_[0] &= ~0x00000002u;
}
inline ::ola::plugin::usbpro::Request_RequestType Request::_internal_type() const {
  return static_cast< ::ola::plugin::usbpro::Request_RequestType >(_impl_.type_);
}
inline ::ola::plugin::usbpro::Request_RequestType Request::type() const {
  // @@protoc_insertion_point(field_get:ola.plugin.usbpro.Request.type)
  return _internal_type();
}
inline void Request::_internal_set_type(::ola::plugin::usbpro::Request_RequestType value) {
  assert(::ola::plugin::usbpro::Request_RequestType_IsValid(value));
  _impl_._has_bits_[0] |= 0x00000002u;
  _impl_.type_ = value;
}
inline void Request::set_type(::ola::plugin::usbpro::Request_RequestType value) {
  _internal_set_type(value);
  // @@protoc_insertion_point(field_set:ola.plugin.usbpro.Request.type)
}

// optional .ola.plugin.usbpro.ParameterRequest parameters = 2;
inline bool Request::_internal_has_parameters() const {
  bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
  PROTOBUF_ASSUME(!value || _impl_.parameters_ != nullptr);
  return value;
}
inline bool Request::has_parameters() const {
  return _internal_has_parameters();
}
inline void Request::clear_parameters() {
  if (_impl_.parameters_ != nullptr) _impl_.parameters_->Clear();
  _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const ::ola::plugin::usbpro::ParameterRequest& Request::_internal_parameters() const {
  const ::ola::plugin::usbpro::ParameterRequest* p = _impl_.parameters_;
  return p != nullptr ? *p : reinterpret_cast<const ::ola::plugin::usbpro::ParameterRequest&>(
      ::ola::plugin::usbpro::_ParameterRequest_default_instance_);
}
inline const ::ola::plugin::usbpro::ParameterRequest& Request::parameters() const {
  // @@protoc_insertion_point(field_get:ola.plugin.usbpro.Request.parameters)
  return _internal_parameters();
}
inline void Request::unsafe_arena_set_allocated_parameters(
    ::ola::plugin::usbpro::ParameterRequest* parameters) {
  if (GetArenaForAllocation() == nullptr) {
    delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.parameters_);
  }
  _impl_.parameters_ = parameters;
  if (parameters) {
    _impl_._has_bits_[0] |= 0x00000001u;
  } else {
    _impl_._has_bits_[0] &= ~0x00000001u;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ola.plugin.usbpro.Request.parameters)
}
inline ::ola::plugin::usbpro::ParameterRequest* Request::release_parameters() {
  _impl_._has_bits_[0] &= ~0x00000001u;
  ::ola::plugin::usbpro::ParameterRequest* temp = _impl_.parameters_;
  _impl_.parameters_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  if (GetArenaForAllocation() == nullptr) { delete old; }
#else  // PROTOBUF_FORCE_COPY_IN_RELEASE
  if (GetArenaForAllocation() != nullptr) {
    temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  }
#endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
  return temp;
}
inline ::ola::plugin::usbpro::ParameterRequest* Request::unsafe_arena_release_parameters() {
  // @@protoc_insertion_point(field_release:ola.plugin.usbpro.Request.parameters)
  _impl_._has_bits_[0] &= ~0x00000001u;
  ::ola::plugin::usbpro::ParameterRequest* temp = _impl_.parameters_;
  _impl_.parameters_ = nullptr;
  return temp;
}
inline ::ola::plugin::usbpro::ParameterRequest* Request::_internal_mutable_parameters() {
  _impl_._has_bits_[0] |= 0x00000001u;
  if (_impl_.parameters_ == nullptr) {
    auto* p = CreateMaybeMessage<::ola::plugin::usbpro::ParameterRequest>(GetArenaForAllocation());
    _impl_.parameters_ = p;
  }
  return _impl_.parameters_;
}
inline ::ola::plugin::usbpro::ParameterRequest* Request::mutable_parameters() {
  ::ola::plugin::usbpro::ParameterRequest* _msg = _internal_mutable_parameters();
  // @@protoc_insertion_point(field_mutable:ola.plugin.usbpro.Request.parameters)
  return _msg;
}
inline void Request::set_allocated_parameters(::ola::plugin::usbpro::ParameterRequest* parameters) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  if (message_arena == nullptr) {
    delete _impl_.parameters_;
  }
  if (parameters) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
        ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(parameters);
    if (message_arena != submessage_arena) {
      parameters = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, parameters, submessage_arena);
    }
    _impl_._has_bits_[0] |= 0x00000001u;
  } else {
    _impl_._has_bits_[0] &= ~0x00000001u;
  }
  _impl_.parameters_ = parameters;
  // @@protoc_insertion_point(field_set_allocated:ola.plugin.usbpro.Request.parameters)
}

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

// Reply

// required .ola.plugin.usbpro.Reply.ReplyType type = 1;
inline bool Reply::_internal_has_type() const {
  bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
  return value;
}
inline bool Reply::has_type() const {
  return _internal_has_type();
}
inline void Reply::clear_type() {
  _impl_.type_ = 1;
  _impl_._has_bits_[0] &= ~0x00000008u;
}
inline ::ola::plugin::usbpro::Reply_ReplyType Reply::_internal_type() const {
  return static_cast< ::ola::plugin::usbpro::Reply_ReplyType >(_impl_.type_);
}
inline ::ola::plugin::usbpro::Reply_ReplyType Reply::type() const {
  // @@protoc_insertion_point(field_get:ola.plugin.usbpro.Reply.type)
  return _internal_type();
}
inline void Reply::_internal_set_type(::ola::plugin::usbpro::Reply_ReplyType value) {
  assert(::ola::plugin::usbpro::Reply_ReplyType_IsValid(value));
  _impl_._has_bits_[0] |= 0x00000008u;
  _impl_.type_ = value;
}
inline void Reply::set_type(::ola::plugin::usbpro::Reply_ReplyType value) {
  _internal_set_type(value);
  // @@protoc_insertion_point(field_set:ola.plugin.usbpro.Reply.type)
}

// optional .ola.plugin.usbpro.ParameterReply parameters = 2;
inline bool Reply::_internal_has_parameters() const {
  bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
  PROTOBUF_ASSUME(!value || _impl_.parameters_ != nullptr);
  return value;
}
inline bool Reply::has_parameters() const {
  return _internal_has_parameters();
}
inline void Reply::clear_parameters() {
  if (_impl_.parameters_ != nullptr) _impl_.parameters_->Clear();
  _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const ::ola::plugin::usbpro::ParameterReply& Reply::_internal_parameters() const {
  const ::ola::plugin::usbpro::ParameterReply* p = _impl_.parameters_;
  return p != nullptr ? *p : reinterpret_cast<const ::ola::plugin::usbpro::ParameterReply&>(
      ::ola::plugin::usbpro::_ParameterReply_default_instance_);
}
inline const ::ola::plugin::usbpro::ParameterReply& Reply::parameters() const {
  // @@protoc_insertion_point(field_get:ola.plugin.usbpro.Reply.parameters)
  return _internal_parameters();
}
inline void Reply::unsafe_arena_set_allocated_parameters(
    ::ola::plugin::usbpro::ParameterReply* parameters) {
  if (GetArenaForAllocation() == nullptr) {
    delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.parameters_);
  }
  _impl_.parameters_ = parameters;
  if (parameters) {
    _impl_._has_bits_[0] |= 0x00000001u;
  } else {
    _impl_._has_bits_[0] &= ~0x00000001u;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ola.plugin.usbpro.Reply.parameters)
}
inline ::ola::plugin::usbpro::ParameterReply* Reply::release_parameters() {
  _impl_._has_bits_[0] &= ~0x00000001u;
  ::ola::plugin::usbpro::ParameterReply* temp = _impl_.parameters_;
  _impl_.parameters_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  if (GetArenaForAllocation() == nullptr) { delete old; }
#else  // PROTOBUF_FORCE_COPY_IN_RELEASE
  if (GetArenaForAllocation() != nullptr) {
    temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  }
#endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
  return temp;
}
inline ::ola::plugin::usbpro::ParameterReply* Reply::unsafe_arena_release_parameters() {
  // @@protoc_insertion_point(field_release:ola.plugin.usbpro.Reply.parameters)
  _impl_._has_bits_[0] &= ~0x00000001u;
  ::ola::plugin::usbpro::ParameterReply* temp = _impl_.parameters_;
  _impl_.parameters_ = nullptr;
  return temp;
}
inline ::ola::plugin::usbpro::ParameterReply* Reply::_internal_mutable_parameters() {
  _impl_._has_bits_[0] |= 0x00000001u;
  if (_impl_.parameters_ == nullptr) {
    auto* p = CreateMaybeMessage<::ola::plugin::usbpro::ParameterReply>(GetArenaForAllocation());
    _impl_.parameters_ = p;
  }
  return _impl_.parameters_;
}
inline ::ola::plugin::usbpro::ParameterReply* Reply::mutable_parameters() {
  ::ola::plugin::usbpro::ParameterReply* _msg = _internal_mutable_parameters();
  // @@protoc_insertion_point(field_mutable:ola.plugin.usbpro.Reply.parameters)
  return _msg;
}
inline void Reply::set_allocated_parameters(::ola::plugin::usbpro::ParameterReply* parameters) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  if (message_arena == nullptr) {
    delete _impl_.parameters_;
  }
  if (parameters) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
        ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(parameters);
    if (message_arena != submessage_arena) {
      parameters = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, parameters, submessage_arena);
    }
    _impl_._has_bits_[0] |= 0x00000001u;
  } else {
    _impl_._has_bits_[0] &= ~0x00000001u;
  }
  _impl_.parameters_ = parameters;
  // @@protoc_insertion_point(field_set_allocated:ola.plugin.usbpro.Reply.parameters)
}

// optional .ola.plugin.usbpro.SerialNumberReply serial_number = 3;
inline bool Reply::_internal_has_serial_number() const {
  bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
  PROTOBUF_ASSUME(!value || _impl_.serial_number_ != nullptr);
  return value;
}
inline bool Reply::has_serial_number() const {
  return _internal_has_serial_number();
}
inline void Reply::clear_serial_number() {
  if (_impl_.serial_number_ != nullptr) _impl_.serial_number_->Clear();
  _impl_._has_bits_[0] &= ~0x00000002u;
}
inline const ::ola::plugin::usbpro::SerialNumberReply& Reply::_internal_serial_number() const {
  const ::ola::plugin::usbpro::SerialNumberReply* p = _impl_.serial_number_;
  return p != nullptr ? *p : reinterpret_cast<const ::ola::plugin::usbpro::SerialNumberReply&>(
      ::ola::plugin::usbpro::_SerialNumberReply_default_instance_);
}
inline const ::ola::plugin::usbpro::SerialNumberReply& Reply::serial_number() const {
  // @@protoc_insertion_point(field_get:ola.plugin.usbpro.Reply.serial_number)
  return _internal_serial_number();
}
inline void Reply::unsafe_arena_set_allocated_serial_number(
    ::ola::plugin::usbpro::SerialNumberReply* serial_number) {
  if (GetArenaForAllocation() == nullptr) {
    delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.serial_number_);
  }
  _impl_.serial_number_ = serial_number;
  if (serial_number) {
    _impl_._has_bits_[0] |= 0x00000002u;
  } else {
    _impl_._has_bits_[0] &= ~0x00000002u;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ola.plugin.usbpro.Reply.serial_number)
}
inline ::ola::plugin::usbpro::SerialNumberReply* Reply::release_serial_number() {
  _impl_._has_bits_[0] &= ~0x00000002u;
  ::ola::plugin::usbpro::SerialNumberReply* temp = _impl_.serial_number_;
  _impl_.serial_number_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  if (GetArenaForAllocation() == nullptr) { delete old; }
#else  // PROTOBUF_FORCE_COPY_IN_RELEASE
  if (GetArenaForAllocation() != nullptr) {
    temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  }
#endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
  return temp;
}
inline ::ola::plugin::usbpro::SerialNumberReply* Reply::unsafe_arena_release_serial_number() {
  // @@protoc_insertion_point(field_release:ola.plugin.usbpro.Reply.serial_number)
  _impl_._has_bits_[0] &= ~0x00000002u;
  ::ola::plugin::usbpro::SerialNumberReply* temp = _impl_.serial_number_;
  _impl_.serial_number_ = nullptr;
  return temp;
}
inline ::ola::plugin::usbpro::SerialNumberReply* Reply::_internal_mutable_serial_number() {
  _impl_._has_bits_[0] |= 0x00000002u;
  if (_impl_.serial_number_ == nullptr) {
    auto* p = CreateMaybeMessage<::ola::plugin::usbpro::SerialNumberReply>(GetArenaForAllocation());
    _impl_.serial_number_ = p;
  }
  return _impl_.serial_number_;
}
inline ::ola::plugin::usbpro::SerialNumberReply* Reply::mutable_serial_number() {
  ::ola::plugin::usbpro::SerialNumberReply* _msg = _internal_mutable_serial_number();
  // @@protoc_insertion_point(field_mutable:ola.plugin.usbpro.Reply.serial_number)
  return _msg;
}
inline void Reply::set_allocated_serial_number(::ola::plugin::usbpro::SerialNumberReply* serial_number) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  if (message_arena == nullptr) {
    delete _impl_.serial_number_;
  }
  if (serial_number) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
        ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(serial_number);
    if (message_arena != submessage_arena) {
      serial_number = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, serial_number, submessage_arena);
    }
    _impl_._has_bits_[0] |= 0x00000002u;
  } else {
    _impl_._has_bits_[0] &= ~0x00000002u;
  }
  _impl_.serial_number_ = serial_number;
  // @@protoc_insertion_point(field_set_allocated:ola.plugin.usbpro.Reply.serial_number)
}

// optional .ola.plugin.usbpro.PortAssignmentReply port_assignment = 4;
inline bool Reply::_internal_has_port_assignment() const {
  bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
  PROTOBUF_ASSUME(!value || _impl_.port_assignment_ != nullptr);
  return value;
}
inline bool Reply::has_port_assignment() const {
  return _internal_has_port_assignment();
}
inline void Reply::clear_port_assignment() {
  if (_impl_.port_assignment_ != nullptr) _impl_.port_assignment_->Clear();
  _impl_._has_bits_[0] &= ~0x00000004u;
}
inline const ::ola::plugin::usbpro::PortAssignmentReply& Reply::_internal_port_assignment() const {
  const ::ola::plugin::usbpro::PortAssignmentReply* p = _impl_.port_assignment_;
  return p != nullptr ? *p : reinterpret_cast<const ::ola::plugin::usbpro::PortAssignmentReply&>(
      ::ola::plugin::usbpro::_PortAssignmentReply_default_instance_);
}
inline const ::ola::plugin::usbpro::PortAssignmentReply& Reply::port_assignment() const {
  // @@protoc_insertion_point(field_get:ola.plugin.usbpro.Reply.port_assignment)
  return _internal_port_assignment();
}
inline void Reply::unsafe_arena_set_allocated_port_assignment(
    ::ola::plugin::usbpro::PortAssignmentReply* port_assignment) {
  if (GetArenaForAllocation() == nullptr) {
    delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.port_assignment_);
  }
  _impl_.port_assignment_ = port_assignment;
  if (port_assignment) {
    _impl_._has_bits_[0] |= 0x00000004u;
  } else {
    _impl_._has_bits_[0] &= ~0x00000004u;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ola.plugin.usbpro.Reply.port_assignment)
}
inline ::ola::plugin::usbpro::PortAssignmentReply* Reply::release_port_assignment() {
  _impl_._has_bits_[0] &= ~0x00000004u;
  ::ola::plugin::usbpro::PortAssignmentReply* temp = _impl_.port_assignment_;
  _impl_.port_assignment_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  if (GetArenaForAllocation() == nullptr) { delete old; }
#else  // PROTOBUF_FORCE_COPY_IN_RELEASE
  if (GetArenaForAllocation() != nullptr) {
    temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  }
#endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
  return temp;
}
inline ::ola::plugin::usbpro::PortAssignmentReply* Reply::unsafe_arena_release_port_assignment() {
  // @@protoc_insertion_point(field_release:ola.plugin.usbpro.Reply.port_assignment)
  _impl_._has_bits_[0] &= ~0x00000004u;
  ::ola::plugin::usbpro::PortAssignmentReply* temp = _impl_.port_assignment_;
  _impl_.port_assignment_ = nullptr;
  return temp;
}
inline ::ola::plugin::usbpro::PortAssignmentReply* Reply::_internal_mutable_port_assignment() {
  _impl_._has_bits_[0] |= 0x00000004u;
  if (_impl_.port_assignment_ == nullptr) {
    auto* p = CreateMaybeMessage<::ola::plugin::usbpro::PortAssignmentReply>(GetArenaForAllocation());
    _impl_.port_assignment_ = p;
  }
  return _impl_.port_assignment_;
}
inline ::ola::plugin::usbpro::PortAssignmentReply* Reply::mutable_port_assignment() {
  ::ola::plugin::usbpro::PortAssignmentReply* _msg = _internal_mutable_port_assignment();
  // @@protoc_insertion_point(field_mutable:ola.plugin.usbpro.Reply.port_assignment)
  return _msg;
}
inline void Reply::set_allocated_port_assignment(::ola::plugin::usbpro::PortAssignmentReply* port_assignment) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  if (message_arena == nullptr) {
    delete _impl_.port_assignment_;
  }
  if (port_assignment) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
        ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(port_assignment);
    if (message_arena != submessage_arena) {
      port_assignment = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, port_assignment, submessage_arena);
    }
    _impl_._has_bits_[0] |= 0x00000004u;
  } else {
    _impl_._has_bits_[0] &= ~0x00000004u;
  }
  _impl_.port_assignment_ = port_assignment;
  // @@protoc_insertion_point(field_set_allocated:ola.plugin.usbpro.Reply.port_assignment)
}

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

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

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

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

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


// @@protoc_insertion_point(namespace_scope)

}  // namespace usbpro
}  // namespace plugin
}  // namespace ola

PROTOBUF_NAMESPACE_OPEN

template <> struct is_proto_enum< ::ola::plugin::usbpro::Request_RequestType> : ::std::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor< ::ola::plugin::usbpro::Request_RequestType>() {
  return ::ola::plugin::usbpro::Request_RequestType_descriptor();
}
template <> struct is_proto_enum< ::ola::plugin::usbpro::Reply_ReplyType> : ::std::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor< ::ola::plugin::usbpro::Reply_ReplyType>() {
  return ::ola::plugin::usbpro::Reply_ReplyType_descriptor();
}

PROTOBUF_NAMESPACE_CLOSE

// @@protoc_insertion_point(global_scope)

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