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

#ifndef GOOGLE_PROTOBUF_INCLUDED_Scaler_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_Scaler_2eproto

#include <limits>
#include <string>

#include <google/protobuf/port_def.inc>
#if PROTOBUF_VERSION < 3019000
#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 3019000 < 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_table_driven.h>
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/metadata_lite.h>
#include <google/protobuf/message_lite.h>
#include <google/protobuf/repeated_field.h>  // IWYU pragma: export
#include <google/protobuf/extension_set.h>  // IWYU pragma: export
// @@protoc_insertion_point(includes)
#include <google/protobuf/port_def.inc>
#define PROTOBUF_INTERNAL_EXPORT_Scaler_2eproto
PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
}  // namespace internal
PROTOBUF_NAMESPACE_CLOSE

// Internal implementation detail -- do not use these members.
struct TableStruct_Scaler_2eproto {
  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
    PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
    PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
    PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
  static const uint32_t offsets[];
};
namespace CoreML {
namespace Specification {
class Scaler;
struct ScalerDefaultTypeInternal;
extern ScalerDefaultTypeInternal _Scaler_default_instance_;
}  // namespace Specification
}  // namespace CoreML
PROTOBUF_NAMESPACE_OPEN
template<> ::CoreML::Specification::Scaler* Arena::CreateMaybeMessage<::CoreML::Specification::Scaler>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace CoreML {
namespace Specification {

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

class Scaler final :
    public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:CoreML.Specification.Scaler) */ {
 public:
  inline Scaler() : Scaler(nullptr) {}
  ~Scaler() override;
  explicit constexpr Scaler(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

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

  inline Scaler& operator=(const Scaler& from) {
    CopyFrom(from);
    return *this;
  }
  inline Scaler& operator=(Scaler&& 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;
  }

  static const Scaler& default_instance() {
    return *internal_default_instance();
  }
  static inline const Scaler* internal_default_instance() {
    return reinterpret_cast<const Scaler*>(
               &_Scaler_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    0;

  friend void swap(Scaler& a, Scaler& b) {
    a.Swap(&b);
  }
  inline void Swap(Scaler* 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(Scaler* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

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

  Scaler* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<Scaler>(arena);
  }
  void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
  void CopyFrom(const Scaler& from);
  void MergeFrom(const Scaler& from);
  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 _cached_size_.Get(); }

  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const;
  void InternalSwap(Scaler* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "CoreML.Specification.Scaler";
  }
  protected:
  explicit Scaler(::PROTOBUF_NAMESPACE_ID::Arena* arena,
                       bool is_message_owned = false);
  private:
  static void ArenaDtor(void* object);
  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  public:

  std::string GetTypeName() const final;

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

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

  enum : int {
    kShiftValueFieldNumber = 1,
    kScaleValueFieldNumber = 2,
  };
  // repeated double shiftValue = 1;
  int shiftvalue_size() const;
  private:
  int _internal_shiftvalue_size() const;
  public:
  void clear_shiftvalue();
  private:
  double _internal_shiftvalue(int index) const;
  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
      _internal_shiftvalue() const;
  void _internal_add_shiftvalue(double value);
  ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
      _internal_mutable_shiftvalue();
  public:
  double shiftvalue(int index) const;
  void set_shiftvalue(int index, double value);
  void add_shiftvalue(double value);
  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
      shiftvalue() const;
  ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
      mutable_shiftvalue();

  // repeated double scaleValue = 2;
  int scalevalue_size() const;
  private:
  int _internal_scalevalue_size() const;
  public:
  void clear_scalevalue();
  private:
  double _internal_scalevalue(int index) const;
  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
      _internal_scalevalue() const;
  void _internal_add_scalevalue(double value);
  ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
      _internal_mutable_scalevalue();
  public:
  double scalevalue(int index) const;
  void set_scalevalue(int index, double value);
  void add_scalevalue(double value);
  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
      scalevalue() const;
  ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
      mutable_scalevalue();

  // @@protoc_insertion_point(class_scope:CoreML.Specification.Scaler)
 private:
  class _Internal;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  ::PROTOBUF_NAMESPACE_ID::RepeatedField< double > shiftvalue_;
  ::PROTOBUF_NAMESPACE_ID::RepeatedField< double > scalevalue_;
  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  friend struct ::TableStruct_Scaler_2eproto;
};
// ===================================================================


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

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

// repeated double shiftValue = 1;
inline int Scaler::_internal_shiftvalue_size() const {
  return shiftvalue_.size();
}
inline int Scaler::shiftvalue_size() const {
  return _internal_shiftvalue_size();
}
inline void Scaler::clear_shiftvalue() {
  shiftvalue_.Clear();
}
inline double Scaler::_internal_shiftvalue(int index) const {
  return shiftvalue_.Get(index);
}
inline double Scaler::shiftvalue(int index) const {
  // @@protoc_insertion_point(field_get:CoreML.Specification.Scaler.shiftValue)
  return _internal_shiftvalue(index);
}
inline void Scaler::set_shiftvalue(int index, double value) {
  shiftvalue_.Set(index, value);
  // @@protoc_insertion_point(field_set:CoreML.Specification.Scaler.shiftValue)
}
inline void Scaler::_internal_add_shiftvalue(double value) {
  shiftvalue_.Add(value);
}
inline void Scaler::add_shiftvalue(double value) {
  _internal_add_shiftvalue(value);
  // @@protoc_insertion_point(field_add:CoreML.Specification.Scaler.shiftValue)
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
Scaler::_internal_shiftvalue() const {
  return shiftvalue_;
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
Scaler::shiftvalue() const {
  // @@protoc_insertion_point(field_list:CoreML.Specification.Scaler.shiftValue)
  return _internal_shiftvalue();
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
Scaler::_internal_mutable_shiftvalue() {
  return &shiftvalue_;
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
Scaler::mutable_shiftvalue() {
  // @@protoc_insertion_point(field_mutable_list:CoreML.Specification.Scaler.shiftValue)
  return _internal_mutable_shiftvalue();
}

// repeated double scaleValue = 2;
inline int Scaler::_internal_scalevalue_size() const {
  return scalevalue_.size();
}
inline int Scaler::scalevalue_size() const {
  return _internal_scalevalue_size();
}
inline void Scaler::clear_scalevalue() {
  scalevalue_.Clear();
}
inline double Scaler::_internal_scalevalue(int index) const {
  return scalevalue_.Get(index);
}
inline double Scaler::scalevalue(int index) const {
  // @@protoc_insertion_point(field_get:CoreML.Specification.Scaler.scaleValue)
  return _internal_scalevalue(index);
}
inline void Scaler::set_scalevalue(int index, double value) {
  scalevalue_.Set(index, value);
  // @@protoc_insertion_point(field_set:CoreML.Specification.Scaler.scaleValue)
}
inline void Scaler::_internal_add_scalevalue(double value) {
  scalevalue_.Add(value);
}
inline void Scaler::add_scalevalue(double value) {
  _internal_add_scalevalue(value);
  // @@protoc_insertion_point(field_add:CoreML.Specification.Scaler.scaleValue)
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
Scaler::_internal_scalevalue() const {
  return scalevalue_;
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
Scaler::scalevalue() const {
  // @@protoc_insertion_point(field_list:CoreML.Specification.Scaler.scaleValue)
  return _internal_scalevalue();
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
Scaler::_internal_mutable_scalevalue() {
  return &scalevalue_;
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
Scaler::mutable_scalevalue() {
  // @@protoc_insertion_point(field_mutable_list:CoreML.Specification.Scaler.scaleValue)
  return _internal_mutable_scalevalue();
}

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

// @@protoc_insertion_point(namespace_scope)

}  // namespace Specification
}  // namespace CoreML

// @@protoc_insertion_point(global_scope)

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