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

#ifndef PROTOBUF_motor_5fmanager_2eproto__INCLUDED
#define PROTOBUF_motor_5fmanager_2eproto__INCLUDED

#include <string>

#include <google/protobuf/stubs/common.h>

#if GOOGLE_PROTOBUF_VERSION < 3005000
#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 3005000 < GOOGLE_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/io/coded_stream.h>
#include <google/protobuf/arena.h>
#include <google/protobuf/arenastring.h>
#include <google/protobuf/generated_message_table_driven.h>
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/metadata.h>
#include <google/protobuf/message.h>
#include <google/protobuf/repeated_field.h>  // IWYU pragma: export
#include <google/protobuf/extension_set.h>  // IWYU pragma: export
#include <google/protobuf/unknown_field_set.h>
// @@protoc_insertion_point(includes)

namespace protobuf_motor_5fmanager_2eproto {
// Internal implementation detail -- do not use these members.
struct TableStruct {
  static const ::google::protobuf::internal::ParseTableField entries[];
  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
  static const ::google::protobuf::internal::ParseTable schema[2];
  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
  static const ::google::protobuf::internal::SerializationTable serialization_table[];
  static const ::google::protobuf::uint32 offsets[];
};
void AddDescriptors();
void InitDefaultsMotor_manager_parameterImpl();
void InitDefaultsMotor_manager_parameter();
void InitDefaultsMotor_manager_parameter_allImpl();
void InitDefaultsMotor_manager_parameter_all();
inline void InitDefaults() {
  InitDefaultsMotor_manager_parameter();
  InitDefaultsMotor_manager_parameter_all();
}
}  // namespace protobuf_motor_5fmanager_2eproto
namespace Motor_manager_proto {
class Motor_manager_parameter;
class Motor_manager_parameterDefaultTypeInternal;
extern Motor_manager_parameterDefaultTypeInternal _Motor_manager_parameter_default_instance_;
class Motor_manager_parameter_all;
class Motor_manager_parameter_allDefaultTypeInternal;
extern Motor_manager_parameter_allDefaultTypeInternal _Motor_manager_parameter_all_default_instance_;
}  // namespace Motor_manager_proto
namespace Motor_manager_proto {

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

class Motor_manager_parameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Motor_manager_proto.Motor_manager_parameter) */ {
 public:
  Motor_manager_parameter();
  virtual ~Motor_manager_parameter();

  Motor_manager_parameter(const Motor_manager_parameter& from);

  inline Motor_manager_parameter& operator=(const Motor_manager_parameter& from) {
    CopyFrom(from);
    return *this;
  }
  #if LANG_CXX11
  Motor_manager_parameter(Motor_manager_parameter&& from) noexcept
    : Motor_manager_parameter() {
    *this = ::std::move(from);
  }

  inline Motor_manager_parameter& operator=(Motor_manager_parameter&& from) noexcept {
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
      if (this != &from) InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }
  #endif
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
    return _internal_metadata_.unknown_fields();
  }
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields();
  }

  static const ::google::protobuf::Descriptor* descriptor();
  static const Motor_manager_parameter& default_instance();

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

  void Swap(Motor_manager_parameter* other);
  friend void swap(Motor_manager_parameter& a, Motor_manager_parameter& b) {
    a.Swap(&b);
  }

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

  inline Motor_manager_parameter* New() const PROTOBUF_FINAL { return New(NULL); }

  Motor_manager_parameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  void CopyFrom(const Motor_manager_parameter& from);
  void MergeFrom(const Motor_manager_parameter& from);
  void Clear() PROTOBUF_FINAL;
  bool IsInitialized() const PROTOBUF_FINAL;

  size_t ByteSizeLong() const PROTOBUF_FINAL;
  bool MergePartialFromCodedStream(
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  void SerializeWithCachedSizes(
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const PROTOBUF_FINAL;
  void InternalSwap(Motor_manager_parameter* other);
  private:
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
    return NULL;
  }
  inline void* MaybeArenaPtr() const {
    return NULL;
  }
  public:

  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;

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

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

  // required int32 motor_device_id = 1;
  bool has_motor_device_id() const;
  void clear_motor_device_id();
  static const int kMotorDeviceIdFieldNumber = 1;
  ::google::protobuf::int32 motor_device_id() const;
  void set_motor_device_id(::google::protobuf::int32 value);

  // required int32 can_device_id = 2;
  bool has_can_device_id() const;
  void clear_can_device_id();
  static const int kCanDeviceIdFieldNumber = 2;
  ::google::protobuf::int32 can_device_id() const;
  void set_can_device_id(::google::protobuf::int32 value);

  // required int32 can_port_id = 3;
  bool has_can_port_id() const;
  void clear_can_port_id();
  static const int kCanPortIdFieldNumber = 3;
  ::google::protobuf::int32 can_port_id() const;
  void set_can_port_id(::google::protobuf::int32 value);

  // @@protoc_insertion_point(class_scope:Motor_manager_proto.Motor_manager_parameter)
 private:
  void set_has_motor_device_id();
  void clear_has_motor_device_id();
  void set_has_can_device_id();
  void clear_has_can_device_id();
  void set_has_can_port_id();
  void clear_has_can_port_id();

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

  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  ::google::protobuf::internal::HasBits<1> _has_bits_;
  mutable int _cached_size_;
  ::google::protobuf::int32 motor_device_id_;
  ::google::protobuf::int32 can_device_id_;
  ::google::protobuf::int32 can_port_id_;
  friend struct ::protobuf_motor_5fmanager_2eproto::TableStruct;
  friend void ::protobuf_motor_5fmanager_2eproto::InitDefaultsMotor_manager_parameterImpl();
};
// -------------------------------------------------------------------

class Motor_manager_parameter_all : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Motor_manager_proto.Motor_manager_parameter_all) */ {
 public:
  Motor_manager_parameter_all();
  virtual ~Motor_manager_parameter_all();

  Motor_manager_parameter_all(const Motor_manager_parameter_all& from);

  inline Motor_manager_parameter_all& operator=(const Motor_manager_parameter_all& from) {
    CopyFrom(from);
    return *this;
  }
  #if LANG_CXX11
  Motor_manager_parameter_all(Motor_manager_parameter_all&& from) noexcept
    : Motor_manager_parameter_all() {
    *this = ::std::move(from);
  }

  inline Motor_manager_parameter_all& operator=(Motor_manager_parameter_all&& from) noexcept {
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
      if (this != &from) InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }
  #endif
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
    return _internal_metadata_.unknown_fields();
  }
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields();
  }

  static const ::google::protobuf::Descriptor* descriptor();
  static const Motor_manager_parameter_all& default_instance();

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

  void Swap(Motor_manager_parameter_all* other);
  friend void swap(Motor_manager_parameter_all& a, Motor_manager_parameter_all& b) {
    a.Swap(&b);
  }

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

  inline Motor_manager_parameter_all* New() const PROTOBUF_FINAL { return New(NULL); }

  Motor_manager_parameter_all* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  void CopyFrom(const Motor_manager_parameter_all& from);
  void MergeFrom(const Motor_manager_parameter_all& from);
  void Clear() PROTOBUF_FINAL;
  bool IsInitialized() const PROTOBUF_FINAL;

  size_t ByteSizeLong() const PROTOBUF_FINAL;
  bool MergePartialFromCodedStream(
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  void SerializeWithCachedSizes(
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const PROTOBUF_FINAL;
  void InternalSwap(Motor_manager_parameter_all* other);
  private:
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
    return NULL;
  }
  inline void* MaybeArenaPtr() const {
    return NULL;
  }
  public:

  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;

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

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

  // repeated .Motor_manager_proto.Motor_manager_parameter motor_manager_parameters = 1;
  int motor_manager_parameters_size() const;
  void clear_motor_manager_parameters();
  static const int kMotorManagerParametersFieldNumber = 1;
  const ::Motor_manager_proto::Motor_manager_parameter& motor_manager_parameters(int index) const;
  ::Motor_manager_proto::Motor_manager_parameter* mutable_motor_manager_parameters(int index);
  ::Motor_manager_proto::Motor_manager_parameter* add_motor_manager_parameters();
  ::google::protobuf::RepeatedPtrField< ::Motor_manager_proto::Motor_manager_parameter >*
      mutable_motor_manager_parameters();
  const ::google::protobuf::RepeatedPtrField< ::Motor_manager_proto::Motor_manager_parameter >&
      motor_manager_parameters() const;

  // @@protoc_insertion_point(class_scope:Motor_manager_proto.Motor_manager_parameter_all)
 private:

  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  ::google::protobuf::internal::HasBits<1> _has_bits_;
  mutable int _cached_size_;
  ::google::protobuf::RepeatedPtrField< ::Motor_manager_proto::Motor_manager_parameter > motor_manager_parameters_;
  friend struct ::protobuf_motor_5fmanager_2eproto::TableStruct;
  friend void ::protobuf_motor_5fmanager_2eproto::InitDefaultsMotor_manager_parameter_allImpl();
};
// ===================================================================


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

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

// required int32 motor_device_id = 1;
inline bool Motor_manager_parameter::has_motor_device_id() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void Motor_manager_parameter::set_has_motor_device_id() {
  _has_bits_[0] |= 0x00000001u;
}
inline void Motor_manager_parameter::clear_has_motor_device_id() {
  _has_bits_[0] &= ~0x00000001u;
}
inline void Motor_manager_parameter::clear_motor_device_id() {
  motor_device_id_ = 0;
  clear_has_motor_device_id();
}
inline ::google::protobuf::int32 Motor_manager_parameter::motor_device_id() const {
  // @@protoc_insertion_point(field_get:Motor_manager_proto.Motor_manager_parameter.motor_device_id)
  return motor_device_id_;
}
inline void Motor_manager_parameter::set_motor_device_id(::google::protobuf::int32 value) {
  set_has_motor_device_id();
  motor_device_id_ = value;
  // @@protoc_insertion_point(field_set:Motor_manager_proto.Motor_manager_parameter.motor_device_id)
}

// required int32 can_device_id = 2;
inline bool Motor_manager_parameter::has_can_device_id() const {
  return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void Motor_manager_parameter::set_has_can_device_id() {
  _has_bits_[0] |= 0x00000002u;
}
inline void Motor_manager_parameter::clear_has_can_device_id() {
  _has_bits_[0] &= ~0x00000002u;
}
inline void Motor_manager_parameter::clear_can_device_id() {
  can_device_id_ = 0;
  clear_has_can_device_id();
}
inline ::google::protobuf::int32 Motor_manager_parameter::can_device_id() const {
  // @@protoc_insertion_point(field_get:Motor_manager_proto.Motor_manager_parameter.can_device_id)
  return can_device_id_;
}
inline void Motor_manager_parameter::set_can_device_id(::google::protobuf::int32 value) {
  set_has_can_device_id();
  can_device_id_ = value;
  // @@protoc_insertion_point(field_set:Motor_manager_proto.Motor_manager_parameter.can_device_id)
}

// required int32 can_port_id = 3;
inline bool Motor_manager_parameter::has_can_port_id() const {
  return (_has_bits_[0] & 0x00000004u) != 0;
}
inline void Motor_manager_parameter::set_has_can_port_id() {
  _has_bits_[0] |= 0x00000004u;
}
inline void Motor_manager_parameter::clear_has_can_port_id() {
  _has_bits_[0] &= ~0x00000004u;
}
inline void Motor_manager_parameter::clear_can_port_id() {
  can_port_id_ = 0;
  clear_has_can_port_id();
}
inline ::google::protobuf::int32 Motor_manager_parameter::can_port_id() const {
  // @@protoc_insertion_point(field_get:Motor_manager_proto.Motor_manager_parameter.can_port_id)
  return can_port_id_;
}
inline void Motor_manager_parameter::set_can_port_id(::google::protobuf::int32 value) {
  set_has_can_port_id();
  can_port_id_ = value;
  // @@protoc_insertion_point(field_set:Motor_manager_proto.Motor_manager_parameter.can_port_id)
}

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

// Motor_manager_parameter_all

// repeated .Motor_manager_proto.Motor_manager_parameter motor_manager_parameters = 1;
inline int Motor_manager_parameter_all::motor_manager_parameters_size() const {
  return motor_manager_parameters_.size();
}
inline void Motor_manager_parameter_all::clear_motor_manager_parameters() {
  motor_manager_parameters_.Clear();
}
inline const ::Motor_manager_proto::Motor_manager_parameter& Motor_manager_parameter_all::motor_manager_parameters(int index) const {
  // @@protoc_insertion_point(field_get:Motor_manager_proto.Motor_manager_parameter_all.motor_manager_parameters)
  return motor_manager_parameters_.Get(index);
}
inline ::Motor_manager_proto::Motor_manager_parameter* Motor_manager_parameter_all::mutable_motor_manager_parameters(int index) {
  // @@protoc_insertion_point(field_mutable:Motor_manager_proto.Motor_manager_parameter_all.motor_manager_parameters)
  return motor_manager_parameters_.Mutable(index);
}
inline ::Motor_manager_proto::Motor_manager_parameter* Motor_manager_parameter_all::add_motor_manager_parameters() {
  // @@protoc_insertion_point(field_add:Motor_manager_proto.Motor_manager_parameter_all.motor_manager_parameters)
  return motor_manager_parameters_.Add();
}
inline ::google::protobuf::RepeatedPtrField< ::Motor_manager_proto::Motor_manager_parameter >*
Motor_manager_parameter_all::mutable_motor_manager_parameters() {
  // @@protoc_insertion_point(field_mutable_list:Motor_manager_proto.Motor_manager_parameter_all.motor_manager_parameters)
  return &motor_manager_parameters_;
}
inline const ::google::protobuf::RepeatedPtrField< ::Motor_manager_proto::Motor_manager_parameter >&
Motor_manager_parameter_all::motor_manager_parameters() const {
  // @@protoc_insertion_point(field_list:Motor_manager_proto.Motor_manager_parameter_all.motor_manager_parameters)
  return motor_manager_parameters_;
}

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


// @@protoc_insertion_point(namespace_scope)

}  // namespace Motor_manager_proto

// @@protoc_insertion_point(global_scope)

#endif  // PROTOBUF_motor_5fmanager_2eproto__INCLUDED
