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

#ifndef PROTOBUF_INCLUDED_ShogunVersion_2eproto
#define PROTOBUF_INCLUDED_ShogunVersion_2eproto

#include <string>

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

#if GOOGLE_PROTOBUF_VERSION < 3006001
#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 3006001 < 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/inlined_string_field.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/generated_enum_reflection.h>
#include <google/protobuf/unknown_field_set.h>
// @@protoc_insertion_point(includes)
#define PROTOBUF_INTERNAL_EXPORT_protobuf_ShogunVersion_2eproto 

namespace protobuf_ShogunVersion_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[1];
  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
  static const ::google::protobuf::internal::SerializationTable serialization_table[];
  static const ::google::protobuf::uint32 offsets[];
};
void AddDescriptors();
}  // namespace protobuf_ShogunVersion_2eproto
namespace shogun {
class ShogunVersion;
class ShogunVersionDefaultTypeInternal;
extern ShogunVersionDefaultTypeInternal _ShogunVersion_default_instance_;
}  // namespace shogun
namespace google {
namespace protobuf {
template<> ::shogun::ShogunVersion* Arena::CreateMaybeMessage<::shogun::ShogunVersion>(Arena*);
}  // namespace protobuf
}  // namespace google
namespace shogun {

enum ShogunVersion_SGDataType {
  ShogunVersion_SGDataType_VECTOR = 1,
  ShogunVersion_SGDataType_MATRIX = 2,
  ShogunVersion_SGDataType_SPARSE_VECTOR = 3,
  ShogunVersion_SGDataType_SPARSE_MATRIX = 4,
  ShogunVersion_SGDataType_STRING_LIST = 5
};
bool ShogunVersion_SGDataType_IsValid(int value);
const ShogunVersion_SGDataType ShogunVersion_SGDataType_SGDataType_MIN = ShogunVersion_SGDataType_VECTOR;
const ShogunVersion_SGDataType ShogunVersion_SGDataType_SGDataType_MAX = ShogunVersion_SGDataType_STRING_LIST;
const int ShogunVersion_SGDataType_SGDataType_ARRAYSIZE = ShogunVersion_SGDataType_SGDataType_MAX + 1;

const ::google::protobuf::EnumDescriptor* ShogunVersion_SGDataType_descriptor();
inline const ::std::string& ShogunVersion_SGDataType_Name(ShogunVersion_SGDataType value) {
  return ::google::protobuf::internal::NameOfEnum(
    ShogunVersion_SGDataType_descriptor(), value);
}
inline bool ShogunVersion_SGDataType_Parse(
    const ::std::string& name, ShogunVersion_SGDataType* value) {
  return ::google::protobuf::internal::ParseNamedEnum<ShogunVersion_SGDataType>(
    ShogunVersion_SGDataType_descriptor(), name, value);
}
// ===================================================================

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

  ShogunVersion(const ShogunVersion& from);

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

  inline ShogunVersion& operator=(ShogunVersion&& 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 ShogunVersion& default_instance();

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

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

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

  inline ShogunVersion* New() const final {
    return CreateMaybeMessage<ShogunVersion>(NULL);
  }

  ShogunVersion* New(::google::protobuf::Arena* arena) const final {
    return CreateMaybeMessage<ShogunVersion>(arena);
  }
  void CopyFrom(const ::google::protobuf::Message& from) final;
  void MergeFrom(const ::google::protobuf::Message& from) final;
  void CopyFrom(const ShogunVersion& from);
  void MergeFrom(const ShogunVersion& from);
  void Clear() final;
  bool IsInitialized() const final;

  size_t ByteSizeLong() const final;
  bool MergePartialFromCodedStream(
      ::google::protobuf::io::CodedInputStream* input) final;
  void SerializeWithCachedSizes(
      ::google::protobuf::io::CodedOutputStream* output) const final;
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
      bool deterministic, ::google::protobuf::uint8* target) const final;
  int GetCachedSize() const final { return _cached_size_.Get(); }

  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(ShogunVersion* other);
  private:
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
    return NULL;
  }
  inline void* MaybeArenaPtr() const {
    return NULL;
  }
  public:

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

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

  typedef ShogunVersion_SGDataType SGDataType;
  static const SGDataType VECTOR =
    ShogunVersion_SGDataType_VECTOR;
  static const SGDataType MATRIX =
    ShogunVersion_SGDataType_MATRIX;
  static const SGDataType SPARSE_VECTOR =
    ShogunVersion_SGDataType_SPARSE_VECTOR;
  static const SGDataType SPARSE_MATRIX =
    ShogunVersion_SGDataType_SPARSE_MATRIX;
  static const SGDataType STRING_LIST =
    ShogunVersion_SGDataType_STRING_LIST;
  static inline bool SGDataType_IsValid(int value) {
    return ShogunVersion_SGDataType_IsValid(value);
  }
  static const SGDataType SGDataType_MIN =
    ShogunVersion_SGDataType_SGDataType_MIN;
  static const SGDataType SGDataType_MAX =
    ShogunVersion_SGDataType_SGDataType_MAX;
  static const int SGDataType_ARRAYSIZE =
    ShogunVersion_SGDataType_SGDataType_ARRAYSIZE;
  static inline const ::google::protobuf::EnumDescriptor*
  SGDataType_descriptor() {
    return ShogunVersion_SGDataType_descriptor();
  }
  static inline const ::std::string& SGDataType_Name(SGDataType value) {
    return ShogunVersion_SGDataType_Name(value);
  }
  static inline bool SGDataType_Parse(const ::std::string& name,
      SGDataType* value) {
    return ShogunVersion_SGDataType_Parse(name, value);
  }

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

  // required int32 version = 1;
  bool has_version() const;
  void clear_version();
  static const int kVersionFieldNumber = 1;
  ::google::protobuf::int32 version() const;
  void set_version(::google::protobuf::int32 value);

  // required .shogun.ShogunVersion.SGDataType data_type = 2;
  bool has_data_type() const;
  void clear_data_type();
  static const int kDataTypeFieldNumber = 2;
  ::shogun::ShogunVersion_SGDataType data_type() const;
  void set_data_type(::shogun::ShogunVersion_SGDataType value);

  // @@protoc_insertion_point(class_scope:shogun.ShogunVersion)
 private:
  void set_has_version();
  void clear_has_version();
  void set_has_data_type();
  void clear_has_data_type();

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

  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  ::google::protobuf::internal::HasBits<1> _has_bits_;
  mutable ::google::protobuf::internal::CachedSize _cached_size_;
  ::google::protobuf::int32 version_;
  int data_type_;
  friend struct ::protobuf_ShogunVersion_2eproto::TableStruct;
};
// ===================================================================


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

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

// required int32 version = 1;
inline bool ShogunVersion::has_version() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void ShogunVersion::set_has_version() {
  _has_bits_[0] |= 0x00000001u;
}
inline void ShogunVersion::clear_has_version() {
  _has_bits_[0] &= ~0x00000001u;
}
inline void ShogunVersion::clear_version() {
  version_ = 0;
  clear_has_version();
}
inline ::google::protobuf::int32 ShogunVersion::version() const {
  // @@protoc_insertion_point(field_get:shogun.ShogunVersion.version)
  return version_;
}
inline void ShogunVersion::set_version(::google::protobuf::int32 value) {
  set_has_version();
  version_ = value;
  // @@protoc_insertion_point(field_set:shogun.ShogunVersion.version)
}

// required .shogun.ShogunVersion.SGDataType data_type = 2;
inline bool ShogunVersion::has_data_type() const {
  return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void ShogunVersion::set_has_data_type() {
  _has_bits_[0] |= 0x00000002u;
}
inline void ShogunVersion::clear_has_data_type() {
  _has_bits_[0] &= ~0x00000002u;
}
inline void ShogunVersion::clear_data_type() {
  data_type_ = 1;
  clear_has_data_type();
}
inline ::shogun::ShogunVersion_SGDataType ShogunVersion::data_type() const {
  // @@protoc_insertion_point(field_get:shogun.ShogunVersion.data_type)
  return static_cast< ::shogun::ShogunVersion_SGDataType >(data_type_);
}
inline void ShogunVersion::set_data_type(::shogun::ShogunVersion_SGDataType value) {
  assert(::shogun::ShogunVersion_SGDataType_IsValid(value));
  set_has_data_type();
  data_type_ = value;
  // @@protoc_insertion_point(field_set:shogun.ShogunVersion.data_type)
}

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

// @@protoc_insertion_point(namespace_scope)

}  // namespace shogun

namespace google {
namespace protobuf {

template <> struct is_proto_enum< ::shogun::ShogunVersion_SGDataType> : ::std::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor< ::shogun::ShogunVersion_SGDataType>() {
  return ::shogun::ShogunVersion_SGDataType_descriptor();
}

}  // namespace protobuf
}  // namespace google

// @@protoc_insertion_point(global_scope)

#endif  // PROTOBUF_INCLUDED_ShogunVersion_2eproto
