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

#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
#include "hq/dto/Ticker.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* Ticker_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  Ticker_reflection_ = NULL;

}  // namespace


void protobuf_AssignDesc_hq_2fdto_2fTicker_2eproto() GOOGLE_ATTRIBUTE_COLD;
void protobuf_AssignDesc_hq_2fdto_2fTicker_2eproto() {
  protobuf_AddDesc_hq_2fdto_2fTicker_2eproto();
  const ::google::protobuf::FileDescriptor* file =
    ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
      "hq/dto/Ticker.proto");
  GOOGLE_CHECK(file != NULL);
  Ticker_descriptor_ = file->message_type(0);
  static const int Ticker_offsets_[7] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Ticker, time_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Ticker, side_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Ticker, price_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Ticker, volume_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Ticker, turnover_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Ticker, type_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Ticker, timestamp_),
  };
  Ticker_reflection_ =
    ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
      Ticker_descriptor_,
      Ticker::internal_default_instance(),
      Ticker_offsets_,
      -1,
      -1,
      -1,
      sizeof(Ticker),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Ticker, _internal_metadata_));
}

namespace {

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

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

}  // namespace

void protobuf_ShutdownFile_hq_2fdto_2fTicker_2eproto() {
  Ticker_default_instance_.Shutdown();
  delete Ticker_reflection_;
}

void protobuf_InitDefaults_hq_2fdto_2fTicker_2eproto_impl() {
  GOOGLE_PROTOBUF_VERIFY_VERSION;

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

GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_InitDefaults_hq_2fdto_2fTicker_2eproto_once_);
void protobuf_InitDefaults_hq_2fdto_2fTicker_2eproto() {
  ::google::protobuf::GoogleOnceInit(&protobuf_InitDefaults_hq_2fdto_2fTicker_2eproto_once_,
                 &protobuf_InitDefaults_hq_2fdto_2fTicker_2eproto_impl);
}
void protobuf_AddDesc_hq_2fdto_2fTicker_2eproto_impl() {
  GOOGLE_PROTOBUF_VERIFY_VERSION;

  protobuf_InitDefaults_hq_2fdto_2fTicker_2eproto();
  ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
    "\n\023hq/dto/Ticker.proto\"v\n\006Ticker\022\014\n\004time\030"
    "\001 \001(\t\022\014\n\004side\030\002 \001(\005\022\r\n\005price\030\003 \001(\001\022\016\n\006vo"
    "lume\030\004 \001(\003\022\020\n\010turnover\030\005 \001(\001\022\014\n\004type\030\006 \001"
    "(\005\022\021\n\ttimestamp\030\007 \001(\003BA\n2com.huasheng.qu"
    "ant.open.sdk.protobuf.hq.common.dtoB\013Tic"
    "kerProtob\006proto3", 216);
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
    "hq/dto/Ticker.proto", &protobuf_RegisterTypes);
  ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_hq_2fdto_2fTicker_2eproto);
}

GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AddDesc_hq_2fdto_2fTicker_2eproto_once_);
void protobuf_AddDesc_hq_2fdto_2fTicker_2eproto() {
  ::google::protobuf::GoogleOnceInit(&protobuf_AddDesc_hq_2fdto_2fTicker_2eproto_once_,
                 &protobuf_AddDesc_hq_2fdto_2fTicker_2eproto_impl);
}
// Force AddDescriptors() to be called at static initialization time.
struct StaticDescriptorInitializer_hq_2fdto_2fTicker_2eproto {
  StaticDescriptorInitializer_hq_2fdto_2fTicker_2eproto() {
    protobuf_AddDesc_hq_2fdto_2fTicker_2eproto();
  }
} static_descriptor_initializer_hq_2fdto_2fTicker_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 Ticker::kTimeFieldNumber;
const int Ticker::kSideFieldNumber;
const int Ticker::kPriceFieldNumber;
const int Ticker::kVolumeFieldNumber;
const int Ticker::kTurnoverFieldNumber;
const int Ticker::kTypeFieldNumber;
const int Ticker::kTimestampFieldNumber;
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900

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

void Ticker::InitAsDefaultInstance() {
}

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

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

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

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

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

const Ticker& Ticker::default_instance() {
  protobuf_InitDefaults_hq_2fdto_2fTicker_2eproto();
  return *internal_default_instance();
}

::google::protobuf::internal::ExplicitlyConstructed<Ticker> Ticker_default_instance_;

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

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

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

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

#undef ZR_HELPER_
#undef ZR_

}

bool Ticker::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:Ticker)
  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,
            "Ticker.time"));
        } else {
          goto handle_unusual;
        }
        if (input->ExpectTag(16)) goto parse_side;
        break;
      }

      // optional int32 side = 2;
      case 2: {
        if (tag == 16) {
         parse_side:

          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &side_)));
        } else {
          goto handle_unusual;
        }
        if (input->ExpectTag(25)) goto parse_price;
        break;
      }

      // optional double price = 3;
      case 3: {
        if (tag == 25) {
         parse_price:

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

      // optional int64 volume = 4;
      case 4: {
        if (tag == 32) {
         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(41)) goto parse_turnover;
        break;
      }

      // optional double turnover = 5;
      case 5: {
        if (tag == 41) {
         parse_turnover:

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

      // optional int32 type = 6;
      case 6: {
        if (tag == 48) {
         parse_type:

          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &type_)));
        } else {
          goto handle_unusual;
        }
        if (input->ExpectTag(56)) goto parse_timestamp;
        break;
      }

      // optional int64 timestamp = 7;
      case 7: {
        if (tag == 56) {
         parse_timestamp:

          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
                 input, &timestamp_)));
        } 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:Ticker)
  return true;
failure:
  // @@protoc_insertion_point(parse_failure:Ticker)
  return false;
#undef DO_
}

void Ticker::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // @@protoc_insertion_point(serialize_start:Ticker)
  // 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,
      "Ticker.time");
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
      1, this->time(), output);
  }

  // optional int32 side = 2;
  if (this->side() != 0) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->side(), output);
  }

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

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

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

  // optional int32 type = 6;
  if (this->type() != 0) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->type(), output);
  }

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

  // @@protoc_insertion_point(serialize_end:Ticker)
}

::google::protobuf::uint8* Ticker::InternalSerializeWithCachedSizesToArray(
    bool deterministic, ::google::protobuf::uint8* target) const {
  (void)deterministic; // Unused
  // @@protoc_insertion_point(serialize_to_array_start:Ticker)
  // 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,
      "Ticker.time");
    target =
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
        1, this->time(), target);
  }

  // optional int32 side = 2;
  if (this->side() != 0) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->side(), target);
  }

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

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

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

  // optional int32 type = 6;
  if (this->type() != 0) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->type(), target);
  }

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

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

size_t Ticker::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:Ticker)
  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 int32 side = 2;
  if (this->side() != 0) {
    total_size += 1 +
      ::google::protobuf::internal::WireFormatLite::Int32Size(
        this->side());
  }

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

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

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

  // optional int32 type = 6;
  if (this->type() != 0) {
    total_size += 1 +
      ::google::protobuf::internal::WireFormatLite::Int32Size(
        this->type());
  }

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

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

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

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

    time_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.time_);
  }
  if (from.side() != 0) {
    set_side(from.side());
  }
  if (from.price() != 0) {
    set_price(from.price());
  }
  if (from.volume() != 0) {
    set_volume(from.volume());
  }
  if (from.turnover() != 0) {
    set_turnover(from.turnover());
  }
  if (from.type() != 0) {
    set_type(from.type());
  }
  if (from.timestamp() != 0) {
    set_timestamp(from.timestamp());
  }
}

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

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

bool Ticker::IsInitialized() const {

  return true;
}

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

::google::protobuf::Metadata Ticker::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = Ticker_descriptor_;
  metadata.reflection = Ticker_reflection_;
  return metadata;
}

#if PROTOBUF_INLINE_NOT_IN_HEADERS
// Ticker

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

// optional int32 side = 2;
void Ticker::clear_side() {
  side_ = 0;
}
::google::protobuf::int32 Ticker::side() const {
  // @@protoc_insertion_point(field_get:Ticker.side)
  return side_;
}
void Ticker::set_side(::google::protobuf::int32 value) {
  
  side_ = value;
  // @@protoc_insertion_point(field_set:Ticker.side)
}

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

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

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

// optional int32 type = 6;
void Ticker::clear_type() {
  type_ = 0;
}
::google::protobuf::int32 Ticker::type() const {
  // @@protoc_insertion_point(field_get:Ticker.type)
  return type_;
}
void Ticker::set_type(::google::protobuf::int32 value) {
  
  type_ = value;
  // @@protoc_insertion_point(field_set:Ticker.type)
}

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

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

// @@protoc_insertion_point(namespace_scope)

// @@protoc_insertion_point(global_scope)
