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

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

}  // namespace


void protobuf_AssignDesc_hq_2fdto_2fBasicQot_2eproto() GOOGLE_ATTRIBUTE_COLD;
void protobuf_AssignDesc_hq_2fdto_2fBasicQot_2eproto() {
  protobuf_AddDesc_hq_2fdto_2fBasicQot_2eproto();
  const ::google::protobuf::FileDescriptor* file =
    ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
      "hq/dto/BasicQot.proto");
  GOOGLE_CHECK(file != NULL);
  BasicQot_descriptor_ = file->message_type(0);
  static const int BasicQot_offsets_[17] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BasicQot, security_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BasicQot, issuspended_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BasicQot, openprice_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BasicQot, highprice_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BasicQot, lowprice_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BasicQot, lastprice_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BasicQot, lastcloseprice_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BasicQot, pricespread_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BasicQot, volume_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BasicQot, turnover_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BasicQot, turnoverrate_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BasicQot, amplitude_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BasicQot, secstatus_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BasicQot, listtime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BasicQot, lotsize_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BasicQot, futureexdata_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BasicQot, optionexdata_),
  };
  BasicQot_reflection_ =
    ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
      BasicQot_descriptor_,
      BasicQot::internal_default_instance(),
      BasicQot_offsets_,
      -1,
      -1,
      -1,
      sizeof(BasicQot),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BasicQot, _internal_metadata_));
}

namespace {

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

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

}  // namespace

void protobuf_ShutdownFile_hq_2fdto_2fBasicQot_2eproto() {
  BasicQot_default_instance_.Shutdown();
  delete BasicQot_reflection_;
}

void protobuf_InitDefaults_hq_2fdto_2fBasicQot_2eproto_impl() {
  GOOGLE_PROTOBUF_VERIFY_VERSION;

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

GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_InitDefaults_hq_2fdto_2fBasicQot_2eproto_once_);
void protobuf_InitDefaults_hq_2fdto_2fBasicQot_2eproto() {
  ::google::protobuf::GoogleOnceInit(&protobuf_InitDefaults_hq_2fdto_2fBasicQot_2eproto_once_,
                 &protobuf_InitDefaults_hq_2fdto_2fBasicQot_2eproto_impl);
}
void protobuf_AddDesc_hq_2fdto_2fBasicQot_2eproto_impl() {
  GOOGLE_PROTOBUF_VERIFY_VERSION;

  protobuf_InitDefaults_hq_2fdto_2fBasicQot_2eproto();
  ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
    "\n\025hq/dto/BasicQot.proto\032\025hq/dto/Security"
    ".proto\032!hq/dto/FutureBasicQotExData.prot"
    "o\032!hq/dto/OptionBasicQotExData.proto\"\217\003\n"
    "\010BasicQot\022\033\n\010security\030\001 \001(\0132\t.Security\022\023"
    "\n\013isSuspended\030\002 \001(\010\022\021\n\topenPrice\030\003 \001(\001\022\021"
    "\n\thighPrice\030\004 \001(\001\022\020\n\010lowPrice\030\005 \001(\001\022\021\n\tl"
    "astPrice\030\006 \001(\001\022\026\n\016lastClosePrice\030\007 \001(\001\022\023"
    "\n\013priceSpread\030\010 \001(\001\022\016\n\006volume\030\t \001(\003\022\020\n\010t"
    "urnover\030\n \001(\001\022\024\n\014turnoverRate\030\013 \001(\001\022\021\n\ta"
    "mplitude\030\014 \001(\001\022\021\n\tsecStatus\030\r \001(\005\022\020\n\010lis"
    "tTime\030\016 \001(\t\022\017\n\007lotSize\030\021 \001(\005\022+\n\014futureEx"
    "Data\030\017 \001(\0132\025.FutureBasicQotExData\022+\n\014opt"
    "ionExData\030\020 \001(\0132\025.OptionBasicQotExDataBC"
    "\n2com.huasheng.quant.open.sdk.protobuf.h"
    "q.common.dtoB\rBasicQotProtob\006proto3", 595);
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
    "hq/dto/BasicQot.proto", &protobuf_RegisterTypes);
  ::protobuf_AddDesc_hq_2fdto_2fSecurity_2eproto();
  ::protobuf_AddDesc_hq_2fdto_2fFutureBasicQotExData_2eproto();
  ::protobuf_AddDesc_hq_2fdto_2fOptionBasicQotExData_2eproto();
  ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_hq_2fdto_2fBasicQot_2eproto);
}

GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AddDesc_hq_2fdto_2fBasicQot_2eproto_once_);
void protobuf_AddDesc_hq_2fdto_2fBasicQot_2eproto() {
  ::google::protobuf::GoogleOnceInit(&protobuf_AddDesc_hq_2fdto_2fBasicQot_2eproto_once_,
                 &protobuf_AddDesc_hq_2fdto_2fBasicQot_2eproto_impl);
}
// Force AddDescriptors() to be called at static initialization time.
struct StaticDescriptorInitializer_hq_2fdto_2fBasicQot_2eproto {
  StaticDescriptorInitializer_hq_2fdto_2fBasicQot_2eproto() {
    protobuf_AddDesc_hq_2fdto_2fBasicQot_2eproto();
  }
} static_descriptor_initializer_hq_2fdto_2fBasicQot_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 BasicQot::kSecurityFieldNumber;
const int BasicQot::kIsSuspendedFieldNumber;
const int BasicQot::kOpenPriceFieldNumber;
const int BasicQot::kHighPriceFieldNumber;
const int BasicQot::kLowPriceFieldNumber;
const int BasicQot::kLastPriceFieldNumber;
const int BasicQot::kLastClosePriceFieldNumber;
const int BasicQot::kPriceSpreadFieldNumber;
const int BasicQot::kVolumeFieldNumber;
const int BasicQot::kTurnoverFieldNumber;
const int BasicQot::kTurnoverRateFieldNumber;
const int BasicQot::kAmplitudeFieldNumber;
const int BasicQot::kSecStatusFieldNumber;
const int BasicQot::kListTimeFieldNumber;
const int BasicQot::kLotSizeFieldNumber;
const int BasicQot::kFutureExDataFieldNumber;
const int BasicQot::kOptionExDataFieldNumber;
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900

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

void BasicQot::InitAsDefaultInstance() {
  security_ = const_cast< ::Security*>(
      ::Security::internal_default_instance());
  futureexdata_ = const_cast< ::FutureBasicQotExData*>(
      ::FutureBasicQotExData::internal_default_instance());
  optionexdata_ = const_cast< ::OptionBasicQotExData*>(
      ::OptionBasicQotExData::internal_default_instance());
}

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

void BasicQot::SharedCtor() {
  listtime_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  security_ = NULL;
  futureexdata_ = NULL;
  optionexdata_ = NULL;
  ::memset(&openprice_, 0, reinterpret_cast<char*>(&lotsize_) -
    reinterpret_cast<char*>(&openprice_) + sizeof(lotsize_));
  _cached_size_ = 0;
}

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

void BasicQot::SharedDtor() {
  listtime_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  if (this != &BasicQot_default_instance_.get()) {
    delete security_;
    delete futureexdata_;
    delete optionexdata_;
  }
}

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

const BasicQot& BasicQot::default_instance() {
  protobuf_InitDefaults_hq_2fdto_2fBasicQot_2eproto();
  return *internal_default_instance();
}

::google::protobuf::internal::ExplicitlyConstructed<BasicQot> BasicQot_default_instance_;

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

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

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

  ZR_(openprice_, issuspended_);
  if (GetArenaNoVirtual() == NULL && security_ != NULL) delete security_;
  security_ = NULL;
  pricespread_ = 0;
  ZR_(volume_, lotsize_);
  secstatus_ = 0;
  listtime_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  if (GetArenaNoVirtual() == NULL && futureexdata_ != NULL) delete futureexdata_;
  futureexdata_ = NULL;
  if (GetArenaNoVirtual() == NULL && optionexdata_ != NULL) delete optionexdata_;
  optionexdata_ = NULL;

#undef ZR_HELPER_
#undef ZR_

}

bool BasicQot::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:BasicQot)
  for (;;) {
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(16383);
    tag = p.first;
    if (!p.second) goto handle_unusual;
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional .Security security = 1;
      case 1: {
        if (tag == 10) {
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
               input, mutable_security()));
        } else {
          goto handle_unusual;
        }
        if (input->ExpectTag(16)) goto parse_isSuspended;
        break;
      }

      // optional bool isSuspended = 2;
      case 2: {
        if (tag == 16) {
         parse_isSuspended:

          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
                 input, &issuspended_)));
        } else {
          goto handle_unusual;
        }
        if (input->ExpectTag(25)) goto parse_openPrice;
        break;
      }

      // optional double openPrice = 3;
      case 3: {
        if (tag == 25) {
         parse_openPrice:

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

      // optional double highPrice = 4;
      case 4: {
        if (tag == 33) {
         parse_highPrice:

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

      // optional double lowPrice = 5;
      case 5: {
        if (tag == 41) {
         parse_lowPrice:

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

      // optional double lastPrice = 6;
      case 6: {
        if (tag == 49) {
         parse_lastPrice:

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

      // optional double lastClosePrice = 7;
      case 7: {
        if (tag == 57) {
         parse_lastClosePrice:

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

      // optional double priceSpread = 8;
      case 8: {
        if (tag == 65) {
         parse_priceSpread:

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

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

      // optional double turnover = 10;
      case 10: {
        if (tag == 81) {
         parse_turnover:

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

      // optional double turnoverRate = 11;
      case 11: {
        if (tag == 89) {
         parse_turnoverRate:

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

      // optional double amplitude = 12;
      case 12: {
        if (tag == 97) {
         parse_amplitude:

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

      // optional int32 secStatus = 13;
      case 13: {
        if (tag == 104) {
         parse_secStatus:

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

      // optional string listTime = 14;
      case 14: {
        if (tag == 114) {
         parse_listTime:
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
                input, this->mutable_listtime()));
          DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
            this->listtime().data(), this->listtime().length(),
            ::google::protobuf::internal::WireFormatLite::PARSE,
            "BasicQot.listTime"));
        } else {
          goto handle_unusual;
        }
        if (input->ExpectTag(122)) goto parse_futureExData;
        break;
      }

      // optional .FutureBasicQotExData futureExData = 15;
      case 15: {
        if (tag == 122) {
         parse_futureExData:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
               input, mutable_futureexdata()));
        } else {
          goto handle_unusual;
        }
        if (input->ExpectTag(130)) goto parse_optionExData;
        break;
      }

      // optional .OptionBasicQotExData optionExData = 16;
      case 16: {
        if (tag == 130) {
         parse_optionExData:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
               input, mutable_optionexdata()));
        } else {
          goto handle_unusual;
        }
        if (input->ExpectTag(136)) goto parse_lotSize;
        break;
      }

      // optional int32 lotSize = 17;
      case 17: {
        if (tag == 136) {
         parse_lotSize:

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

void BasicQot::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // @@protoc_insertion_point(serialize_start:BasicQot)
  // optional .Security security = 1;
  if (this->has_security()) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      1, *this->security_, output);
  }

  // optional bool isSuspended = 2;
  if (this->issuspended() != 0) {
    ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->issuspended(), output);
  }

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

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

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

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

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

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

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

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

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

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

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

  // optional string listTime = 14;
  if (this->listtime().size() > 0) {
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
      this->listtime().data(), this->listtime().length(),
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
      "BasicQot.listTime");
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
      14, this->listtime(), output);
  }

  // optional .FutureBasicQotExData futureExData = 15;
  if (this->has_futureexdata()) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      15, *this->futureexdata_, output);
  }

  // optional .OptionBasicQotExData optionExData = 16;
  if (this->has_optionexdata()) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      16, *this->optionexdata_, output);
  }

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

  // @@protoc_insertion_point(serialize_end:BasicQot)
}

::google::protobuf::uint8* BasicQot::InternalSerializeWithCachedSizesToArray(
    bool deterministic, ::google::protobuf::uint8* target) const {
  (void)deterministic; // Unused
  // @@protoc_insertion_point(serialize_to_array_start:BasicQot)
  // optional .Security security = 1;
  if (this->has_security()) {
    target = ::google::protobuf::internal::WireFormatLite::
      InternalWriteMessageNoVirtualToArray(
        1, *this->security_, false, target);
  }

  // optional bool isSuspended = 2;
  if (this->issuspended() != 0) {
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->issuspended(), target);
  }

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

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

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

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

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

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

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

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

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

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

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

  // optional string listTime = 14;
  if (this->listtime().size() > 0) {
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
      this->listtime().data(), this->listtime().length(),
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
      "BasicQot.listTime");
    target =
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
        14, this->listtime(), target);
  }

  // optional .FutureBasicQotExData futureExData = 15;
  if (this->has_futureexdata()) {
    target = ::google::protobuf::internal::WireFormatLite::
      InternalWriteMessageNoVirtualToArray(
        15, *this->futureexdata_, false, target);
  }

  // optional .OptionBasicQotExData optionExData = 16;
  if (this->has_optionexdata()) {
    target = ::google::protobuf::internal::WireFormatLite::
      InternalWriteMessageNoVirtualToArray(
        16, *this->optionexdata_, false, target);
  }

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

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

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

  // optional .Security security = 1;
  if (this->has_security()) {
    total_size += 1 +
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        *this->security_);
  }

  // optional bool isSuspended = 2;
  if (this->issuspended() != 0) {
    total_size += 1 + 1;
  }

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

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

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

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

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

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

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

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

  // optional double turnoverRate = 11;
  if (this->turnoverrate() != 0) {
    total_size += 1 + 8;
  }

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

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

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

  // optional int32 lotSize = 17;
  if (this->lotsize() != 0) {
    total_size += 2 +
      ::google::protobuf::internal::WireFormatLite::Int32Size(
        this->lotsize());
  }

  // optional .FutureBasicQotExData futureExData = 15;
  if (this->has_futureexdata()) {
    total_size += 1 +
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        *this->futureexdata_);
  }

  // optional .OptionBasicQotExData optionExData = 16;
  if (this->has_optionexdata()) {
    total_size += 2 +
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        *this->optionexdata_);
  }

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

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

void BasicQot::UnsafeMergeFrom(const BasicQot& from) {
  GOOGLE_DCHECK(&from != this);
  if (from.has_security()) {
    mutable_security()->::Security::MergeFrom(from.security());
  }
  if (from.issuspended() != 0) {
    set_issuspended(from.issuspended());
  }
  if (from.openprice() != 0) {
    set_openprice(from.openprice());
  }
  if (from.highprice() != 0) {
    set_highprice(from.highprice());
  }
  if (from.lowprice() != 0) {
    set_lowprice(from.lowprice());
  }
  if (from.lastprice() != 0) {
    set_lastprice(from.lastprice());
  }
  if (from.lastcloseprice() != 0) {
    set_lastcloseprice(from.lastcloseprice());
  }
  if (from.pricespread() != 0) {
    set_pricespread(from.pricespread());
  }
  if (from.volume() != 0) {
    set_volume(from.volume());
  }
  if (from.turnover() != 0) {
    set_turnover(from.turnover());
  }
  if (from.turnoverrate() != 0) {
    set_turnoverrate(from.turnoverrate());
  }
  if (from.amplitude() != 0) {
    set_amplitude(from.amplitude());
  }
  if (from.secstatus() != 0) {
    set_secstatus(from.secstatus());
  }
  if (from.listtime().size() > 0) {

    listtime_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.listtime_);
  }
  if (from.lotsize() != 0) {
    set_lotsize(from.lotsize());
  }
  if (from.has_futureexdata()) {
    mutable_futureexdata()->::FutureBasicQotExData::MergeFrom(from.futureexdata());
  }
  if (from.has_optionexdata()) {
    mutable_optionexdata()->::OptionBasicQotExData::MergeFrom(from.optionexdata());
  }
}

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

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

bool BasicQot::IsInitialized() const {

  return true;
}

void BasicQot::Swap(BasicQot* other) {
  if (other == this) return;
  InternalSwap(other);
}
void BasicQot::InternalSwap(BasicQot* other) {
  std::swap(security_, other->security_);
  std::swap(issuspended_, other->issuspended_);
  std::swap(openprice_, other->openprice_);
  std::swap(highprice_, other->highprice_);
  std::swap(lowprice_, other->lowprice_);
  std::swap(lastprice_, other->lastprice_);
  std::swap(lastcloseprice_, other->lastcloseprice_);
  std::swap(pricespread_, other->pricespread_);
  std::swap(volume_, other->volume_);
  std::swap(turnover_, other->turnover_);
  std::swap(turnoverrate_, other->turnoverrate_);
  std::swap(amplitude_, other->amplitude_);
  std::swap(secstatus_, other->secstatus_);
  listtime_.Swap(&other->listtime_);
  std::swap(lotsize_, other->lotsize_);
  std::swap(futureexdata_, other->futureexdata_);
  std::swap(optionexdata_, other->optionexdata_);
  _internal_metadata_.Swap(&other->_internal_metadata_);
  std::swap(_cached_size_, other->_cached_size_);
}

::google::protobuf::Metadata BasicQot::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = BasicQot_descriptor_;
  metadata.reflection = BasicQot_reflection_;
  return metadata;
}

#if PROTOBUF_INLINE_NOT_IN_HEADERS
// BasicQot

// optional .Security security = 1;
bool BasicQot::has_security() const {
  return this != internal_default_instance() && security_ != NULL;
}
void BasicQot::clear_security() {
  if (GetArenaNoVirtual() == NULL && security_ != NULL) delete security_;
  security_ = NULL;
}
const ::Security& BasicQot::security() const {
  // @@protoc_insertion_point(field_get:BasicQot.security)
  return security_ != NULL ? *security_
                         : *::Security::internal_default_instance();
}
::Security* BasicQot::mutable_security() {
  
  if (security_ == NULL) {
    security_ = new ::Security;
  }
  // @@protoc_insertion_point(field_mutable:BasicQot.security)
  return security_;
}
::Security* BasicQot::release_security() {
  // @@protoc_insertion_point(field_release:BasicQot.security)
  
  ::Security* temp = security_;
  security_ = NULL;
  return temp;
}
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;
void BasicQot::clear_issuspended() {
  issuspended_ = false;
}
bool BasicQot::issuspended() const {
  // @@protoc_insertion_point(field_get:BasicQot.isSuspended)
  return issuspended_;
}
void BasicQot::set_issuspended(bool value) {
  
  issuspended_ = value;
  // @@protoc_insertion_point(field_set:BasicQot.isSuspended)
}

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

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

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

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

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

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

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

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

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

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

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

// optional string listTime = 14;
void BasicQot::clear_listtime() {
  listtime_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
const ::std::string& BasicQot::listtime() const {
  // @@protoc_insertion_point(field_get:BasicQot.listTime)
  return listtime_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
void BasicQot::set_listtime(const ::std::string& value) {
  
  listtime_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  // @@protoc_insertion_point(field_set:BasicQot.listTime)
}
void BasicQot::set_listtime(const char* value) {
  
  listtime_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:BasicQot.listTime)
}
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)
}
::std::string* BasicQot::mutable_listtime() {
  
  // @@protoc_insertion_point(field_mutable:BasicQot.listTime)
  return listtime_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
::std::string* BasicQot::release_listtime() {
  // @@protoc_insertion_point(field_release:BasicQot.listTime)
  
  return listtime_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
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;
void BasicQot::clear_lotsize() {
  lotsize_ = 0;
}
::google::protobuf::int32 BasicQot::lotsize() const {
  // @@protoc_insertion_point(field_get:BasicQot.lotSize)
  return lotsize_;
}
void BasicQot::set_lotsize(::google::protobuf::int32 value) {
  
  lotsize_ = value;
  // @@protoc_insertion_point(field_set:BasicQot.lotSize)
}

// optional .FutureBasicQotExData futureExData = 15;
bool BasicQot::has_futureexdata() const {
  return this != internal_default_instance() && futureexdata_ != NULL;
}
void BasicQot::clear_futureexdata() {
  if (GetArenaNoVirtual() == NULL && futureexdata_ != NULL) delete futureexdata_;
  futureexdata_ = NULL;
}
const ::FutureBasicQotExData& BasicQot::futureexdata() const {
  // @@protoc_insertion_point(field_get:BasicQot.futureExData)
  return futureexdata_ != NULL ? *futureexdata_
                         : *::FutureBasicQotExData::internal_default_instance();
}
::FutureBasicQotExData* BasicQot::mutable_futureexdata() {
  
  if (futureexdata_ == NULL) {
    futureexdata_ = new ::FutureBasicQotExData;
  }
  // @@protoc_insertion_point(field_mutable:BasicQot.futureExData)
  return futureexdata_;
}
::FutureBasicQotExData* BasicQot::release_futureexdata() {
  // @@protoc_insertion_point(field_release:BasicQot.futureExData)
  
  ::FutureBasicQotExData* temp = futureexdata_;
  futureexdata_ = NULL;
  return temp;
}
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;
bool BasicQot::has_optionexdata() const {
  return this != internal_default_instance() && optionexdata_ != NULL;
}
void BasicQot::clear_optionexdata() {
  if (GetArenaNoVirtual() == NULL && optionexdata_ != NULL) delete optionexdata_;
  optionexdata_ = NULL;
}
const ::OptionBasicQotExData& BasicQot::optionexdata() const {
  // @@protoc_insertion_point(field_get:BasicQot.optionExData)
  return optionexdata_ != NULL ? *optionexdata_
                         : *::OptionBasicQotExData::internal_default_instance();
}
::OptionBasicQotExData* BasicQot::mutable_optionexdata() {
  
  if (optionexdata_ == NULL) {
    optionexdata_ = new ::OptionBasicQotExData;
  }
  // @@protoc_insertion_point(field_mutable:BasicQot.optionExData)
  return optionexdata_;
}
::OptionBasicQotExData* BasicQot::release_optionexdata() {
  // @@protoc_insertion_point(field_release:BasicQot.optionExData)
  
  ::OptionBasicQotExData* temp = optionexdata_;
  optionexdata_ = NULL;
  return temp;
}
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)
