// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: hq/dto/KLine.proto

#ifndef PROTOBUF_hq_2fdto_2fKLine_2eproto__INCLUDED
#define PROTOBUF_hq_2fdto_2fKLine_2eproto__INCLUDED

#include <string>

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

#if GOOGLE_PROTOBUF_VERSION < 3001000
#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 3001000 < 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/arena.h>
#include <google/protobuf/arenastring.h>
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/metadata.h>
#include <google/protobuf/message.h>
#include <google/protobuf/repeated_field.h>
#include <google/protobuf/extension_set.h>
#include <google/protobuf/unknown_field_set.h>
#include "hq/dto/Security.pb.h"
// @@protoc_insertion_point(includes)

// Internal implementation detail -- do not call these.
void protobuf_AddDesc_hq_2fdto_2fKLine_2eproto();
void protobuf_InitDefaults_hq_2fdto_2fKLine_2eproto();
void protobuf_AssignDesc_hq_2fdto_2fKLine_2eproto();
void protobuf_ShutdownFile_hq_2fdto_2fKLine_2eproto();

class KLine;

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

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

  KLine(const KLine& from);

  inline KLine& operator=(const KLine& from) {
    CopyFrom(from);
    return *this;
  }

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

  static const KLine* internal_default_instance();

  void Swap(KLine* other);

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

  inline KLine* New() const { return New(NULL); }

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

  size_t ByteSizeLong() const;
  bool MergePartialFromCodedStream(
      ::google::protobuf::io::CodedInputStream* input);
  void SerializeWithCachedSizes(
      ::google::protobuf::io::CodedOutputStream* output) const;
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
      bool deterministic, ::google::protobuf::uint8* output) const;
  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
    return InternalSerializeWithCachedSizesToArray(false, output);
  }
  int GetCachedSize() const { return _cached_size_; }
  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const;
  void InternalSwap(KLine* other);
  void UnsafeMergeFrom(const KLine& from);
  private:
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
    return _internal_metadata_.arena();
  }
  inline void* MaybeArenaPtr() const {
    return _internal_metadata_.raw_arena_ptr();
  }
  public:

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

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

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

  // optional string date = 1;
  void clear_date();
  static const int kDateFieldNumber = 1;
  const ::std::string& date() const;
  void set_date(const ::std::string& value);
  void set_date(const char* value);
  void set_date(const char* value, size_t size);
  ::std::string* mutable_date();
  ::std::string* release_date();
  void set_allocated_date(::std::string* date);

  // optional double highPrice = 2;
  void clear_highprice();
  static const int kHighPriceFieldNumber = 2;
  double highprice() const;
  void set_highprice(double value);

  // optional double openPrice = 3;
  void clear_openprice();
  static const int kOpenPriceFieldNumber = 3;
  double openprice() const;
  void set_openprice(double value);

  // optional double lowPrice = 4;
  void clear_lowprice();
  static const int kLowPriceFieldNumber = 4;
  double lowprice() const;
  void set_lowprice(double value);

  // optional double closePrice = 5;
  void clear_closeprice();
  static const int kClosePriceFieldNumber = 5;
  double closeprice() const;
  void set_closeprice(double value);

  // optional double lastClosePrice = 6;
  void clear_lastcloseprice();
  static const int kLastClosePriceFieldNumber = 6;
  double lastcloseprice() const;
  void set_lastcloseprice(double value);

  // optional int64 volume = 7;
  void clear_volume();
  static const int kVolumeFieldNumber = 7;
  ::google::protobuf::int64 volume() const;
  void set_volume(::google::protobuf::int64 value);

  // optional double turnover = 8;
  void clear_turnover();
  static const int kTurnoverFieldNumber = 8;
  double turnover() const;
  void set_turnover(double value);

  // optional int64 timestamp = 9;
  void clear_timestamp();
  static const int kTimestampFieldNumber = 9;
  ::google::protobuf::int64 timestamp() const;
  void set_timestamp(::google::protobuf::int64 value);

  // optional string time = 10;
  void clear_time();
  static const int kTimeFieldNumber = 10;
  const ::std::string& time() const;
  void set_time(const ::std::string& value);
  void set_time(const char* value);
  void set_time(const char* value, size_t size);
  ::std::string* mutable_time();
  ::std::string* release_time();
  void set_allocated_time(::std::string* time);

  // @@protoc_insertion_point(class_scope:KLine)
 private:

  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  ::google::protobuf::internal::ArenaStringPtr date_;
  ::google::protobuf::internal::ArenaStringPtr time_;
  double highprice_;
  double openprice_;
  double lowprice_;
  double closeprice_;
  double lastcloseprice_;
  ::google::protobuf::int64 volume_;
  double turnover_;
  ::google::protobuf::int64 timestamp_;
  mutable int _cached_size_;
  friend void  protobuf_InitDefaults_hq_2fdto_2fKLine_2eproto_impl();
  friend void  protobuf_AddDesc_hq_2fdto_2fKLine_2eproto_impl();
  friend void protobuf_AssignDesc_hq_2fdto_2fKLine_2eproto();
  friend void protobuf_ShutdownFile_hq_2fdto_2fKLine_2eproto();

  void InitAsDefaultInstance();
};
extern ::google::protobuf::internal::ExplicitlyConstructed<KLine> KLine_default_instance_;

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


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

#if !PROTOBUF_INLINE_NOT_IN_HEADERS
// KLine

// optional string date = 1;
inline void KLine::clear_date() {
  date_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& KLine::date() const {
  // @@protoc_insertion_point(field_get:KLine.date)
  return date_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void KLine::set_date(const ::std::string& value) {
  
  date_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  // @@protoc_insertion_point(field_set:KLine.date)
}
inline void KLine::set_date(const char* value) {
  
  date_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:KLine.date)
}
inline void KLine::set_date(const char* value, size_t size) {
  
  date_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:KLine.date)
}
inline ::std::string* KLine::mutable_date() {
  
  // @@protoc_insertion_point(field_mutable:KLine.date)
  return date_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* KLine::release_date() {
  // @@protoc_insertion_point(field_release:KLine.date)
  
  return date_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void KLine::set_allocated_date(::std::string* date) {
  if (date != NULL) {
    
  } else {
    
  }
  date_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), date);
  // @@protoc_insertion_point(field_set_allocated:KLine.date)
}

// optional double highPrice = 2;
inline void KLine::clear_highprice() {
  highprice_ = 0;
}
inline double KLine::highprice() const {
  // @@protoc_insertion_point(field_get:KLine.highPrice)
  return highprice_;
}
inline void KLine::set_highprice(double value) {
  
  highprice_ = value;
  // @@protoc_insertion_point(field_set:KLine.highPrice)
}

// optional double openPrice = 3;
inline void KLine::clear_openprice() {
  openprice_ = 0;
}
inline double KLine::openprice() const {
  // @@protoc_insertion_point(field_get:KLine.openPrice)
  return openprice_;
}
inline void KLine::set_openprice(double value) {
  
  openprice_ = value;
  // @@protoc_insertion_point(field_set:KLine.openPrice)
}

// optional double lowPrice = 4;
inline void KLine::clear_lowprice() {
  lowprice_ = 0;
}
inline double KLine::lowprice() const {
  // @@protoc_insertion_point(field_get:KLine.lowPrice)
  return lowprice_;
}
inline void KLine::set_lowprice(double value) {
  
  lowprice_ = value;
  // @@protoc_insertion_point(field_set:KLine.lowPrice)
}

// optional double closePrice = 5;
inline void KLine::clear_closeprice() {
  closeprice_ = 0;
}
inline double KLine::closeprice() const {
  // @@protoc_insertion_point(field_get:KLine.closePrice)
  return closeprice_;
}
inline void KLine::set_closeprice(double value) {
  
  closeprice_ = value;
  // @@protoc_insertion_point(field_set:KLine.closePrice)
}

// optional double lastClosePrice = 6;
inline void KLine::clear_lastcloseprice() {
  lastcloseprice_ = 0;
}
inline double KLine::lastcloseprice() const {
  // @@protoc_insertion_point(field_get:KLine.lastClosePrice)
  return lastcloseprice_;
}
inline void KLine::set_lastcloseprice(double value) {
  
  lastcloseprice_ = value;
  // @@protoc_insertion_point(field_set:KLine.lastClosePrice)
}

// optional int64 volume = 7;
inline void KLine::clear_volume() {
  volume_ = GOOGLE_LONGLONG(0);
}
inline ::google::protobuf::int64 KLine::volume() const {
  // @@protoc_insertion_point(field_get:KLine.volume)
  return volume_;
}
inline void KLine::set_volume(::google::protobuf::int64 value) {
  
  volume_ = value;
  // @@protoc_insertion_point(field_set:KLine.volume)
}

// optional double turnover = 8;
inline void KLine::clear_turnover() {
  turnover_ = 0;
}
inline double KLine::turnover() const {
  // @@protoc_insertion_point(field_get:KLine.turnover)
  return turnover_;
}
inline void KLine::set_turnover(double value) {
  
  turnover_ = value;
  // @@protoc_insertion_point(field_set:KLine.turnover)
}

// optional int64 timestamp = 9;
inline void KLine::clear_timestamp() {
  timestamp_ = GOOGLE_LONGLONG(0);
}
inline ::google::protobuf::int64 KLine::timestamp() const {
  // @@protoc_insertion_point(field_get:KLine.timestamp)
  return timestamp_;
}
inline void KLine::set_timestamp(::google::protobuf::int64 value) {
  
  timestamp_ = value;
  // @@protoc_insertion_point(field_set:KLine.timestamp)
}

// optional string time = 10;
inline void KLine::clear_time() {
  time_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& KLine::time() const {
  // @@protoc_insertion_point(field_get:KLine.time)
  return time_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void KLine::set_time(const ::std::string& value) {
  
  time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  // @@protoc_insertion_point(field_set:KLine.time)
}
inline void KLine::set_time(const char* value) {
  
  time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:KLine.time)
}
inline void KLine::set_time(const char* value, size_t size) {
  
  time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:KLine.time)
}
inline ::std::string* KLine::mutable_time() {
  
  // @@protoc_insertion_point(field_mutable:KLine.time)
  return time_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* KLine::release_time() {
  // @@protoc_insertion_point(field_release:KLine.time)
  
  return time_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void KLine::set_allocated_time(::std::string* time) {
  if (time != NULL) {
    
  } else {
    
  }
  time_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), time);
  // @@protoc_insertion_point(field_set_allocated:KLine.time)
}

inline const KLine* KLine::internal_default_instance() {
  return &KLine_default_instance_.get();
}
#endif  // !PROTOBUF_INLINE_NOT_IN_HEADERS

// @@protoc_insertion_point(namespace_scope)

// @@protoc_insertion_point(global_scope)

#endif  // PROTOBUF_hq_2fdto_2fKLine_2eproto__INCLUDED
