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

#ifndef PROTOBUF_hq_2fdto_2fBasicQot_2eproto__INCLUDED
#define PROTOBUF_hq_2fdto_2fBasicQot_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"
#include "hq/dto/FutureBasicQotExData.pb.h"
#include "hq/dto/OptionBasicQotExData.pb.h"
// @@protoc_insertion_point(includes)

// Internal implementation detail -- do not call these.
void protobuf_AddDesc_hq_2fdto_2fBasicQot_2eproto();
void protobuf_InitDefaults_hq_2fdto_2fBasicQot_2eproto();
void protobuf_AssignDesc_hq_2fdto_2fBasicQot_2eproto();
void protobuf_ShutdownFile_hq_2fdto_2fBasicQot_2eproto();

class BasicQot;

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

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

  BasicQot(const BasicQot& from);

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

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

  static const BasicQot* internal_default_instance();

  void Swap(BasicQot* other);

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

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

  BasicQot* New(::google::protobuf::Arena* arena) const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const BasicQot& from);
  void MergeFrom(const BasicQot& 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(BasicQot* other);
  void UnsafeMergeFrom(const BasicQot& 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 .Security security = 1;
  bool has_security() const;
  void clear_security();
  static const int kSecurityFieldNumber = 1;
  const ::Security& security() const;
  ::Security* mutable_security();
  ::Security* release_security();
  void set_allocated_security(::Security* security);

  // optional bool isSuspended = 2;
  void clear_issuspended();
  static const int kIsSuspendedFieldNumber = 2;
  bool issuspended() const;
  void set_issuspended(bool value);

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

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

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

  // optional double lastPrice = 6;
  void clear_lastprice();
  static const int kLastPriceFieldNumber = 6;
  double lastprice() const;
  void set_lastprice(double value);

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

  // optional double priceSpread = 8;
  void clear_pricespread();
  static const int kPriceSpreadFieldNumber = 8;
  double pricespread() const;
  void set_pricespread(double value);

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

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

  // optional double turnoverRate = 11;
  void clear_turnoverrate();
  static const int kTurnoverRateFieldNumber = 11;
  double turnoverrate() const;
  void set_turnoverrate(double value);

  // optional double amplitude = 12;
  void clear_amplitude();
  static const int kAmplitudeFieldNumber = 12;
  double amplitude() const;
  void set_amplitude(double value);

  // optional int32 secStatus = 13;
  void clear_secstatus();
  static const int kSecStatusFieldNumber = 13;
  ::google::protobuf::int32 secstatus() const;
  void set_secstatus(::google::protobuf::int32 value);

  // optional string listTime = 14;
  void clear_listtime();
  static const int kListTimeFieldNumber = 14;
  const ::std::string& listtime() const;
  void set_listtime(const ::std::string& value);
  void set_listtime(const char* value);
  void set_listtime(const char* value, size_t size);
  ::std::string* mutable_listtime();
  ::std::string* release_listtime();
  void set_allocated_listtime(::std::string* listtime);

  // optional int32 lotSize = 17;
  void clear_lotsize();
  static const int kLotSizeFieldNumber = 17;
  ::google::protobuf::int32 lotsize() const;
  void set_lotsize(::google::protobuf::int32 value);

  // optional .FutureBasicQotExData futureExData = 15;
  bool has_futureexdata() const;
  void clear_futureexdata();
  static const int kFutureExDataFieldNumber = 15;
  const ::FutureBasicQotExData& futureexdata() const;
  ::FutureBasicQotExData* mutable_futureexdata();
  ::FutureBasicQotExData* release_futureexdata();
  void set_allocated_futureexdata(::FutureBasicQotExData* futureexdata);

  // optional .OptionBasicQotExData optionExData = 16;
  bool has_optionexdata() const;
  void clear_optionexdata();
  static const int kOptionExDataFieldNumber = 16;
  const ::OptionBasicQotExData& optionexdata() const;
  ::OptionBasicQotExData* mutable_optionexdata();
  ::OptionBasicQotExData* release_optionexdata();
  void set_allocated_optionexdata(::OptionBasicQotExData* optionexdata);

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

  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  ::google::protobuf::internal::ArenaStringPtr listtime_;
  ::Security* security_;
  ::FutureBasicQotExData* futureexdata_;
  ::OptionBasicQotExData* optionexdata_;
  double openprice_;
  double highprice_;
  double lowprice_;
  double lastprice_;
  double lastcloseprice_;
  bool issuspended_;
  ::google::protobuf::int32 secstatus_;
  double pricespread_;
  ::google::protobuf::int64 volume_;
  double turnover_;
  double turnoverrate_;
  double amplitude_;
  ::google::protobuf::int32 lotsize_;
  mutable int _cached_size_;
  friend void  protobuf_InitDefaults_hq_2fdto_2fBasicQot_2eproto_impl();
  friend void  protobuf_AddDesc_hq_2fdto_2fBasicQot_2eproto_impl();
  friend void protobuf_AssignDesc_hq_2fdto_2fBasicQot_2eproto();
  friend void protobuf_ShutdownFile_hq_2fdto_2fBasicQot_2eproto();

  void InitAsDefaultInstance();
};
extern ::google::protobuf::internal::ExplicitlyConstructed<BasicQot> BasicQot_default_instance_;

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


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

#if !PROTOBUF_INLINE_NOT_IN_HEADERS
// BasicQot

// optional .Security security = 1;
inline bool BasicQot::has_security() const {
  return this != internal_default_instance() && security_ != NULL;
}
inline void BasicQot::clear_security() {
  if (GetArenaNoVirtual() == NULL && security_ != NULL) delete security_;
  security_ = NULL;
}
inline const ::Security& BasicQot::security() const {
  // @@protoc_insertion_point(field_get:BasicQot.security)
  return security_ != NULL ? *security_
                         : *::Security::internal_default_instance();
}
inline ::Security* BasicQot::mutable_security() {
  
  if (security_ == NULL) {
    security_ = new ::Security;
  }
  // @@protoc_insertion_point(field_mutable:BasicQot.security)
  return security_;
}
inline ::Security* BasicQot::release_security() {
  // @@protoc_insertion_point(field_release:BasicQot.security)
  
  ::Security* temp = security_;
  security_ = NULL;
  return temp;
}
inline void BasicQot::set_allocated_security(::Security* security) {
  delete security_;
  security_ = security;
  if (security) {
    
  } else {
    
  }
  // @@protoc_insertion_point(field_set_allocated:BasicQot.security)
}

// optional bool isSuspended = 2;
inline void BasicQot::clear_issuspended() {
  issuspended_ = false;
}
inline bool BasicQot::issuspended() const {
  // @@protoc_insertion_point(field_get:BasicQot.isSuspended)
  return issuspended_;
}
inline void BasicQot::set_issuspended(bool value) {
  
  issuspended_ = value;
  // @@protoc_insertion_point(field_set:BasicQot.isSuspended)
}

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

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

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

// optional double lastPrice = 6;
inline void BasicQot::clear_lastprice() {
  lastprice_ = 0;
}
inline double BasicQot::lastprice() const {
  // @@protoc_insertion_point(field_get:BasicQot.lastPrice)
  return lastprice_;
}
inline void BasicQot::set_lastprice(double value) {
  
  lastprice_ = value;
  // @@protoc_insertion_point(field_set:BasicQot.lastPrice)
}

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

// optional double priceSpread = 8;
inline void BasicQot::clear_pricespread() {
  pricespread_ = 0;
}
inline double BasicQot::pricespread() const {
  // @@protoc_insertion_point(field_get:BasicQot.priceSpread)
  return pricespread_;
}
inline void BasicQot::set_pricespread(double value) {
  
  pricespread_ = value;
  // @@protoc_insertion_point(field_set:BasicQot.priceSpread)
}

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

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

// optional double turnoverRate = 11;
inline void BasicQot::clear_turnoverrate() {
  turnoverrate_ = 0;
}
inline double BasicQot::turnoverrate() const {
  // @@protoc_insertion_point(field_get:BasicQot.turnoverRate)
  return turnoverrate_;
}
inline void BasicQot::set_turnoverrate(double value) {
  
  turnoverrate_ = value;
  // @@protoc_insertion_point(field_set:BasicQot.turnoverRate)
}

// optional double amplitude = 12;
inline void BasicQot::clear_amplitude() {
  amplitude_ = 0;
}
inline double BasicQot::amplitude() const {
  // @@protoc_insertion_point(field_get:BasicQot.amplitude)
  return amplitude_;
}
inline void BasicQot::set_amplitude(double value) {
  
  amplitude_ = value;
  // @@protoc_insertion_point(field_set:BasicQot.amplitude)
}

// optional int32 secStatus = 13;
inline void BasicQot::clear_secstatus() {
  secstatus_ = 0;
}
inline ::google::protobuf::int32 BasicQot::secstatus() const {
  // @@protoc_insertion_point(field_get:BasicQot.secStatus)
  return secstatus_;
}
inline void BasicQot::set_secstatus(::google::protobuf::int32 value) {
  
  secstatus_ = value;
  // @@protoc_insertion_point(field_set:BasicQot.secStatus)
}

// optional string listTime = 14;
inline void BasicQot::clear_listtime() {
  listtime_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& BasicQot::listtime() const {
  // @@protoc_insertion_point(field_get:BasicQot.listTime)
  return listtime_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void BasicQot::set_listtime(const ::std::string& value) {
  
  listtime_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  // @@protoc_insertion_point(field_set:BasicQot.listTime)
}
inline void BasicQot::set_listtime(const char* value) {
  
  listtime_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:BasicQot.listTime)
}
inline void BasicQot::set_listtime(const char* value, size_t size) {
  
  listtime_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:BasicQot.listTime)
}
inline ::std::string* BasicQot::mutable_listtime() {
  
  // @@protoc_insertion_point(field_mutable:BasicQot.listTime)
  return listtime_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* BasicQot::release_listtime() {
  // @@protoc_insertion_point(field_release:BasicQot.listTime)
  
  return listtime_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void BasicQot::set_allocated_listtime(::std::string* listtime) {
  if (listtime != NULL) {
    
  } else {
    
  }
  listtime_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), listtime);
  // @@protoc_insertion_point(field_set_allocated:BasicQot.listTime)
}

// optional int32 lotSize = 17;
inline void BasicQot::clear_lotsize() {
  lotsize_ = 0;
}
inline ::google::protobuf::int32 BasicQot::lotsize() const {
  // @@protoc_insertion_point(field_get:BasicQot.lotSize)
  return lotsize_;
}
inline void BasicQot::set_lotsize(::google::protobuf::int32 value) {
  
  lotsize_ = value;
  // @@protoc_insertion_point(field_set:BasicQot.lotSize)
}

// optional .FutureBasicQotExData futureExData = 15;
inline bool BasicQot::has_futureexdata() const {
  return this != internal_default_instance() && futureexdata_ != NULL;
}
inline void BasicQot::clear_futureexdata() {
  if (GetArenaNoVirtual() == NULL && futureexdata_ != NULL) delete futureexdata_;
  futureexdata_ = NULL;
}
inline const ::FutureBasicQotExData& BasicQot::futureexdata() const {
  // @@protoc_insertion_point(field_get:BasicQot.futureExData)
  return futureexdata_ != NULL ? *futureexdata_
                         : *::FutureBasicQotExData::internal_default_instance();
}
inline ::FutureBasicQotExData* BasicQot::mutable_futureexdata() {
  
  if (futureexdata_ == NULL) {
    futureexdata_ = new ::FutureBasicQotExData;
  }
  // @@protoc_insertion_point(field_mutable:BasicQot.futureExData)
  return futureexdata_;
}
inline ::FutureBasicQotExData* BasicQot::release_futureexdata() {
  // @@protoc_insertion_point(field_release:BasicQot.futureExData)
  
  ::FutureBasicQotExData* temp = futureexdata_;
  futureexdata_ = NULL;
  return temp;
}
inline void BasicQot::set_allocated_futureexdata(::FutureBasicQotExData* futureexdata) {
  delete futureexdata_;
  futureexdata_ = futureexdata;
  if (futureexdata) {
    
  } else {
    
  }
  // @@protoc_insertion_point(field_set_allocated:BasicQot.futureExData)
}

// optional .OptionBasicQotExData optionExData = 16;
inline bool BasicQot::has_optionexdata() const {
  return this != internal_default_instance() && optionexdata_ != NULL;
}
inline void BasicQot::clear_optionexdata() {
  if (GetArenaNoVirtual() == NULL && optionexdata_ != NULL) delete optionexdata_;
  optionexdata_ = NULL;
}
inline const ::OptionBasicQotExData& BasicQot::optionexdata() const {
  // @@protoc_insertion_point(field_get:BasicQot.optionExData)
  return optionexdata_ != NULL ? *optionexdata_
                         : *::OptionBasicQotExData::internal_default_instance();
}
inline ::OptionBasicQotExData* BasicQot::mutable_optionexdata() {
  
  if (optionexdata_ == NULL) {
    optionexdata_ = new ::OptionBasicQotExData;
  }
  // @@protoc_insertion_point(field_mutable:BasicQot.optionExData)
  return optionexdata_;
}
inline ::OptionBasicQotExData* BasicQot::release_optionexdata() {
  // @@protoc_insertion_point(field_release:BasicQot.optionExData)
  
  ::OptionBasicQotExData* temp = optionexdata_;
  optionexdata_ = NULL;
  return temp;
}
inline void BasicQot::set_allocated_optionexdata(::OptionBasicQotExData* optionexdata) {
  delete optionexdata_;
  optionexdata_ = optionexdata;
  if (optionexdata) {
    
  } else {
    
  }
  // @@protoc_insertion_point(field_set_allocated:BasicQot.optionExData)
}

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

// @@protoc_insertion_point(namespace_scope)

// @@protoc_insertion_point(global_scope)

#endif  // PROTOBUF_hq_2fdto_2fBasicQot_2eproto__INCLUDED
