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

#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
#include "hq/dto/TimeShare.pb.h"

#include <algorithm>

#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/port.h>
#include <google/protobuf/stubs/once.h>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/wire_format_lite_inl.h>
#include <google/protobuf/descriptor.h>
#include <google/protobuf/generated_message_reflection.h>
#include <google/protobuf/reflection_ops.h>
#include <google/protobuf/wire_format.h>
// @@protoc_insertion_point(includes)

namespace {

const ::google::protobuf::Descriptor* TimeShare_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  TimeShare_reflection_ = NULL;

}  // namespace


void protobuf_AssignDesc_hq_2fdto_2fTimeShare_2eproto() GOOGLE_ATTRIBUTE_COLD;
void protobuf_AssignDesc_hq_2fdto_2fTimeShare_2eproto() {
  protobuf_AddDesc_hq_2fdto_2fTimeShare_2eproto();
  const ::google::protobuf::FileDescriptor* file =
    ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
      "hq/dto/TimeShare.proto");
  GOOGLE_CHECK(file != NULL);
  TimeShare_descriptor_ = file->message_type(0);
  static const int TimeShare_offsets_[6] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TimeShare, time_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TimeShare, price_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TimeShare, lastcloseprice_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TimeShare, avgprice_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TimeShare, volume_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TimeShare, turnover_),
  };
  TimeShare_reflection_ =
    ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
      TimeShare_descriptor_,
      TimeShare::internal_default_instance(),
      TimeShare_offsets_,
      -1,
      -1,
      -1,
      sizeof(TimeShare),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TimeShare, _internal_metadata_));
}

namespace {

GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_);
void protobuf_AssignDescriptorsOnce() {
  ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_,
                 &protobuf_AssignDesc_hq_2fdto_2fTimeShare_2eproto);
}

void protobuf_RegisterTypes(const ::std::string&) GOOGLE_ATTRIBUTE_COLD;
void protobuf_RegisterTypes(const ::std::string&) {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
      TimeShare_descriptor_, TimeShare::internal_default_instance());
}

}  // namespace

void protobuf_ShutdownFile_hq_2fdto_2fTimeShare_2eproto() {
  TimeShare_default_instance_.Shutdown();
  delete TimeShare_reflection_;
}

void protobuf_InitDefaults_hq_2fdto_2fTimeShare_2eproto_impl() {
  GOOGLE_PROTOBUF_VERIFY_VERSION;

  ::protobuf_InitDefaults_hq_2fdto_2fSecurity_2eproto();
  ::google::protobuf::internal::GetEmptyString();
  TimeShare_default_instance_.DefaultConstruct();
  TimeShare_default_instance_.get_mutable()->InitAsDefaultInstance();
}

GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_InitDefaults_hq_2fdto_2fTimeShare_2eproto_once_);
void protobuf_InitDefaults_hq_2fdto_2fTimeShare_2eproto() {
  ::google::protobuf::GoogleOnceInit(&protobuf_InitDefaults_hq_2fdto_2fTimeShare_2eproto_once_,
                 &protobuf_InitDefaults_hq_2fdto_2fTimeShare_2eproto_impl);
}
void protobuf_AddDesc_hq_2fdto_2fTimeShare_2eproto_impl() {
  GOOGLE_PROTOBUF_VERIFY_VERSION;

  protobuf_InitDefaults_hq_2fdto_2fTimeShare_2eproto();
  ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
    "\n\026hq/dto/TimeShare.proto\032\025hq/dto/Securit"
    "y.proto\"t\n\tTimeShare\022\014\n\004time\030\001 \001(\t\022\r\n\005pr"
    "ice\030\002 \001(\001\022\026\n\016lastClosePrice\030\003 \001(\001\022\020\n\010avg"
    "Price\030\004 \001(\001\022\016\n\006volume\030\005 \001(\003\022\020\n\010turnover\030"
    "\006 \001(\001BD\n2com.huasheng.quant.open.sdk.pro"
    "tobuf.hq.common.dtoB\016TimeShareProtob\006pro"
    "to3", 243);
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
    "hq/dto/TimeShare.proto", &protobuf_RegisterTypes);
  ::protobuf_AddDesc_hq_2fdto_2fSecurity_2eproto();
  ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_hq_2fdto_2fTimeShare_2eproto);
}

GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AddDesc_hq_2fdto_2fTimeShare_2eproto_once_);
void protobuf_AddDesc_hq_2fdto_2fTimeShare_2eproto() {
  ::google::protobuf::GoogleOnceInit(&protobuf_AddDesc_hq_2fdto_2fTimeShare_2eproto_once_,
                 &protobuf_AddDesc_hq_2fdto_2fTimeShare_2eproto_impl);
}
// Force AddDescriptors() to be called at static initialization time.
struct StaticDescriptorInitializer_hq_2fdto_2fTimeShare_2eproto {
  StaticDescriptorInitializer_hq_2fdto_2fTimeShare_2eproto() {
    protobuf_AddDesc_hq_2fdto_2fTimeShare_2eproto();
  }
} static_descriptor_initializer_hq_2fdto_2fTimeShare_2eproto_;

namespace {

static void MergeFromFail(int line) GOOGLE_ATTRIBUTE_COLD GOOGLE_ATTRIBUTE_NORETURN;
static void MergeFromFail(int line) {
  ::google::protobuf::internal::MergeFromFail(__FILE__, line);
}

}  // namespace


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

#if !defined(_MSC_VER) || _MSC_VER >= 1900
const int TimeShare::kTimeFieldNumber;
const int TimeShare::kPriceFieldNumber;
const int TimeShare::kLastClosePriceFieldNumber;
const int TimeShare::kAvgPriceFieldNumber;
const int TimeShare::kVolumeFieldNumber;
const int TimeShare::kTurnoverFieldNumber;
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900

TimeShare::TimeShare()
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  if (this != internal_default_instance()) protobuf_InitDefaults_hq_2fdto_2fTimeShare_2eproto();
  SharedCtor();
  // @@protoc_insertion_point(constructor:TimeShare)
}

void TimeShare::InitAsDefaultInstance() {
}

TimeShare::TimeShare(const TimeShare& from)
  : ::google::protobuf::Message(),
    _internal_metadata_(NULL) {
  SharedCtor();
  UnsafeMergeFrom(from);
  // @@protoc_insertion_point(copy_constructor:TimeShare)
}

void TimeShare::SharedCtor() {
  time_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  ::memset(&price_, 0, reinterpret_cast<char*>(&turnover_) -
    reinterpret_cast<char*>(&price_) + sizeof(turnover_));
  _cached_size_ = 0;
}

TimeShare::~TimeShare() {
  // @@protoc_insertion_point(destructor:TimeShare)
  SharedDtor();
}

void TimeShare::SharedDtor() {
  time_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}

void TimeShare::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* TimeShare::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return TimeShare_descriptor_;
}

const TimeShare& TimeShare::default_instance() {
  protobuf_InitDefaults_hq_2fdto_2fTimeShare_2eproto();
  return *internal_default_instance();
}

::google::protobuf::internal::ExplicitlyConstructed<TimeShare> TimeShare_default_instance_;

TimeShare* TimeShare::New(::google::protobuf::Arena* arena) const {
  TimeShare* n = new TimeShare;
  if (arena != NULL) {
    arena->Own(n);
  }
  return n;
}

void TimeShare::Clear() {
// @@protoc_insertion_point(message_clear_start:TimeShare)
#if defined(__clang__)
#define ZR_HELPER_(f) \
  _Pragma("clang diagnostic push") \
  _Pragma("clang diagnostic ignored \"-Winvalid-offsetof\"") \
  __builtin_offsetof(TimeShare, f) \
  _Pragma("clang diagnostic pop")
#else
#define ZR_HELPER_(f) reinterpret_cast<char*>(\
  &reinterpret_cast<TimeShare*>(16)->f)
#endif

#define ZR_(first, last) do {\
  ::memset(&(first), 0,\
           ZR_HELPER_(last) - ZR_HELPER_(first) + sizeof(last));\
} while (0)

  ZR_(price_, turnover_);
  time_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());

#undef ZR_HELPER_
#undef ZR_

}

bool TimeShare::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
  ::google::protobuf::uint32 tag;
  // @@protoc_insertion_point(parse_start:TimeShare)
  for (;;) {
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
    tag = p.first;
    if (!p.second) goto handle_unusual;
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional string time = 1;
      case 1: {
        if (tag == 10) {
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
                input, this->mutable_time()));
          DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
            this->time().data(), this->time().length(),
            ::google::protobuf::internal::WireFormatLite::PARSE,
            "TimeShare.time"));
        } else {
          goto handle_unusual;
        }
        if (input->ExpectTag(17)) goto parse_price;
        break;
      }

      // optional double price = 2;
      case 2: {
        if (tag == 17) {
         parse_price:

          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
                 input, &price_)));
        } else {
          goto handle_unusual;
        }
        if (input->ExpectTag(25)) goto parse_lastClosePrice;
        break;
      }

      // optional double lastClosePrice = 3;
      case 3: {
        if (tag == 25) {
         parse_lastClosePrice:

          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
                 input, &lastcloseprice_)));
        } else {
          goto handle_unusual;
        }
        if (input->ExpectTag(33)) goto parse_avgPrice;
        break;
      }

      // optional double avgPrice = 4;
      case 4: {
        if (tag == 33) {
         parse_avgPrice:

          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
                 input, &avgprice_)));
        } else {
          goto handle_unusual;
        }
        if (input->ExpectTag(40)) goto parse_volume;
        break;
      }

      // optional int64 volume = 5;
      case 5: {
        if (tag == 40) {
         parse_volume:

          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
                 input, &volume_)));
        } else {
          goto handle_unusual;
        }
        if (input->ExpectTag(49)) goto parse_turnover;
        break;
      }

      // optional double turnover = 6;
      case 6: {
        if (tag == 49) {
         parse_turnover:

          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
                 input, &turnover_)));
        } else {
          goto handle_unusual;
        }
        if (input->ExpectAtEnd()) goto success;
        break;
      }

      default: {
      handle_unusual:
        if (tag == 0 ||
            ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
          goto success;
        }
        DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
        break;
      }
    }
  }
success:
  // @@protoc_insertion_point(parse_success:TimeShare)
  return true;
failure:
  // @@protoc_insertion_point(parse_failure:TimeShare)
  return false;
#undef DO_
}

void TimeShare::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // @@protoc_insertion_point(serialize_start:TimeShare)
  // optional string time = 1;
  if (this->time().size() > 0) {
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
      this->time().data(), this->time().length(),
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
      "TimeShare.time");
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
      1, this->time(), output);
  }

  // optional double price = 2;
  if (this->price() != 0) {
    ::google::protobuf::internal::WireFormatLite::WriteDouble(2, this->price(), output);
  }

  // optional double lastClosePrice = 3;
  if (this->lastcloseprice() != 0) {
    ::google::protobuf::internal::WireFormatLite::WriteDouble(3, this->lastcloseprice(), output);
  }

  // optional double avgPrice = 4;
  if (this->avgprice() != 0) {
    ::google::protobuf::internal::WireFormatLite::WriteDouble(4, this->avgprice(), output);
  }

  // optional int64 volume = 5;
  if (this->volume() != 0) {
    ::google::protobuf::internal::WireFormatLite::WriteInt64(5, this->volume(), output);
  }

  // optional double turnover = 6;
  if (this->turnover() != 0) {
    ::google::protobuf::internal::WireFormatLite::WriteDouble(6, this->turnover(), output);
  }

  // @@protoc_insertion_point(serialize_end:TimeShare)
}

::google::protobuf::uint8* TimeShare::InternalSerializeWithCachedSizesToArray(
    bool deterministic, ::google::protobuf::uint8* target) const {
  (void)deterministic; // Unused
  // @@protoc_insertion_point(serialize_to_array_start:TimeShare)
  // optional string time = 1;
  if (this->time().size() > 0) {
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
      this->time().data(), this->time().length(),
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
      "TimeShare.time");
    target =
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
        1, this->time(), target);
  }

  // optional double price = 2;
  if (this->price() != 0) {
    target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(2, this->price(), target);
  }

  // optional double lastClosePrice = 3;
  if (this->lastcloseprice() != 0) {
    target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(3, this->lastcloseprice(), target);
  }

  // optional double avgPrice = 4;
  if (this->avgprice() != 0) {
    target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(4, this->avgprice(), target);
  }

  // optional int64 volume = 5;
  if (this->volume() != 0) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(5, this->volume(), target);
  }

  // optional double turnover = 6;
  if (this->turnover() != 0) {
    target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(6, this->turnover(), target);
  }

  // @@protoc_insertion_point(serialize_to_array_end:TimeShare)
  return target;
}

size_t TimeShare::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:TimeShare)
  size_t total_size = 0;

  // optional string time = 1;
  if (this->time().size() > 0) {
    total_size += 1 +
      ::google::protobuf::internal::WireFormatLite::StringSize(
        this->time());
  }

  // optional double price = 2;
  if (this->price() != 0) {
    total_size += 1 + 8;
  }

  // optional double lastClosePrice = 3;
  if (this->lastcloseprice() != 0) {
    total_size += 1 + 8;
  }

  // optional double avgPrice = 4;
  if (this->avgprice() != 0) {
    total_size += 1 + 8;
  }

  // optional int64 volume = 5;
  if (this->volume() != 0) {
    total_size += 1 +
      ::google::protobuf::internal::WireFormatLite::Int64Size(
        this->volume());
  }

  // optional double turnover = 6;
  if (this->turnover() != 0) {
    total_size += 1 + 8;
  }

  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = cached_size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  return total_size;
}

void TimeShare::MergeFrom(const ::google::protobuf::Message& from) {
// @@protoc_insertion_point(generalized_merge_from_start:TimeShare)
  if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  const TimeShare* source =
      ::google::protobuf::internal::DynamicCastToGenerated<const TimeShare>(
          &from);
  if (source == NULL) {
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:TimeShare)
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
  // @@protoc_insertion_point(generalized_merge_from_cast_success:TimeShare)
    UnsafeMergeFrom(*source);
  }
}

void TimeShare::MergeFrom(const TimeShare& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:TimeShare)
  if (GOOGLE_PREDICT_TRUE(&from != this)) {
    UnsafeMergeFrom(from);
  } else {
    MergeFromFail(__LINE__);
  }
}

void TimeShare::UnsafeMergeFrom(const TimeShare& from) {
  GOOGLE_DCHECK(&from != this);
  if (from.time().size() > 0) {

    time_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.time_);
  }
  if (from.price() != 0) {
    set_price(from.price());
  }
  if (from.lastcloseprice() != 0) {
    set_lastcloseprice(from.lastcloseprice());
  }
  if (from.avgprice() != 0) {
    set_avgprice(from.avgprice());
  }
  if (from.volume() != 0) {
    set_volume(from.volume());
  }
  if (from.turnover() != 0) {
    set_turnover(from.turnover());
  }
}

void TimeShare::CopyFrom(const ::google::protobuf::Message& from) {
// @@protoc_insertion_point(generalized_copy_from_start:TimeShare)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void TimeShare::CopyFrom(const TimeShare& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:TimeShare)
  if (&from == this) return;
  Clear();
  UnsafeMergeFrom(from);
}

bool TimeShare::IsInitialized() const {

  return true;
}

void TimeShare::Swap(TimeShare* other) {
  if (other == this) return;
  InternalSwap(other);
}
void TimeShare::InternalSwap(TimeShare* other) {
  time_.Swap(&other->time_);
  std::swap(price_, other->price_);
  std::swap(lastcloseprice_, other->lastcloseprice_);
  std::swap(avgprice_, other->avgprice_);
  std::swap(volume_, other->volume_);
  std::swap(turnover_, other->turnover_);
  _internal_metadata_.Swap(&other->_internal_metadata_);
  std::swap(_cached_size_, other->_cached_size_);
}

::google::protobuf::Metadata TimeShare::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = TimeShare_descriptor_;
  metadata.reflection = TimeShare_reflection_;
  return metadata;
}

#if PROTOBUF_INLINE_NOT_IN_HEADERS
// TimeShare

// optional string time = 1;
void TimeShare::clear_time() {
  time_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
const ::std::string& TimeShare::time() const {
  // @@protoc_insertion_point(field_get:TimeShare.time)
  return time_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
void TimeShare::set_time(const ::std::string& value) {
  
  time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  // @@protoc_insertion_point(field_set:TimeShare.time)
}
void TimeShare::set_time(const char* value) {
  
  time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:TimeShare.time)
}
void TimeShare::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:TimeShare.time)
}
::std::string* TimeShare::mutable_time() {
  
  // @@protoc_insertion_point(field_mutable:TimeShare.time)
  return time_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
::std::string* TimeShare::release_time() {
  // @@protoc_insertion_point(field_release:TimeShare.time)
  
  return time_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
void TimeShare::set_allocated_time(::std::string* time) {
  if (time != NULL) {
    
  } else {
    
  }
  time_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), time);
  // @@protoc_insertion_point(field_set_allocated:TimeShare.time)
}

// optional double price = 2;
void TimeShare::clear_price() {
  price_ = 0;
}
double TimeShare::price() const {
  // @@protoc_insertion_point(field_get:TimeShare.price)
  return price_;
}
void TimeShare::set_price(double value) {
  
  price_ = value;
  // @@protoc_insertion_point(field_set:TimeShare.price)
}

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

// optional double avgPrice = 4;
void TimeShare::clear_avgprice() {
  avgprice_ = 0;
}
double TimeShare::avgprice() const {
  // @@protoc_insertion_point(field_get:TimeShare.avgPrice)
  return avgprice_;
}
void TimeShare::set_avgprice(double value) {
  
  avgprice_ = value;
  // @@protoc_insertion_point(field_set:TimeShare.avgPrice)
}

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

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

inline const TimeShare* TimeShare::internal_default_instance() {
  return &TimeShare_default_instance_.get();
}
#endif  // PROTOBUF_INLINE_NOT_IN_HEADERS

// @@protoc_insertion_point(namespace_scope)

// @@protoc_insertion_point(global_scope)
