// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: trade/response/futures/FuturesQueryHistoryDeliverListResponse.proto

#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
#include "trade/response/futures/FuturesQueryHistoryDeliverListResponse.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* FuturesQueryHistoryDeliverListResponse_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  FuturesQueryHistoryDeliverListResponse_reflection_ = NULL;

}  // namespace


void protobuf_AssignDesc_trade_2fresponse_2ffutures_2fFuturesQueryHistoryDeliverListResponse_2eproto() GOOGLE_ATTRIBUTE_COLD;
void protobuf_AssignDesc_trade_2fresponse_2ffutures_2fFuturesQueryHistoryDeliverListResponse_2eproto() {
  protobuf_AddDesc_trade_2fresponse_2ffutures_2fFuturesQueryHistoryDeliverListResponse_2eproto();
  const ::google::protobuf::FileDescriptor* file =
    ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
      "trade/response/futures/FuturesQueryHistoryDeliverListResponse.proto");
  GOOGLE_CHECK(file != NULL);
  FuturesQueryHistoryDeliverListResponse_descriptor_ = file->message_type(0);
  static const int FuturesQueryHistoryDeliverListResponse_offsets_[5] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FuturesQueryHistoryDeliverListResponse, data_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FuturesQueryHistoryDeliverListResponse, curpageno_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FuturesQueryHistoryDeliverListResponse, curpagesize_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FuturesQueryHistoryDeliverListResponse, totalpageno_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FuturesQueryHistoryDeliverListResponse, lastpage_),
  };
  FuturesQueryHistoryDeliverListResponse_reflection_ =
    ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
      FuturesQueryHistoryDeliverListResponse_descriptor_,
      FuturesQueryHistoryDeliverListResponse::internal_default_instance(),
      FuturesQueryHistoryDeliverListResponse_offsets_,
      -1,
      -1,
      -1,
      sizeof(FuturesQueryHistoryDeliverListResponse),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FuturesQueryHistoryDeliverListResponse, _internal_metadata_));
}

namespace {

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

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

}  // namespace

void protobuf_ShutdownFile_trade_2fresponse_2ffutures_2fFuturesQueryHistoryDeliverListResponse_2eproto() {
  FuturesQueryHistoryDeliverListResponse_default_instance_.Shutdown();
  delete FuturesQueryHistoryDeliverListResponse_reflection_;
}

void protobuf_InitDefaults_trade_2fresponse_2ffutures_2fFuturesQueryHistoryDeliverListResponse_2eproto_impl() {
  GOOGLE_PROTOBUF_VERIFY_VERSION;

  ::protobuf_InitDefaults_trade_2fvo_2ffutures_2fFuturesOrderVo_2eproto();
  FuturesQueryHistoryDeliverListResponse_default_instance_.DefaultConstruct();
  FuturesQueryHistoryDeliverListResponse_default_instance_.get_mutable()->InitAsDefaultInstance();
}

GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_InitDefaults_trade_2fresponse_2ffutures_2fFuturesQueryHistoryDeliverListResponse_2eproto_once_);
void protobuf_InitDefaults_trade_2fresponse_2ffutures_2fFuturesQueryHistoryDeliverListResponse_2eproto() {
  ::google::protobuf::GoogleOnceInit(&protobuf_InitDefaults_trade_2fresponse_2ffutures_2fFuturesQueryHistoryDeliverListResponse_2eproto_once_,
                 &protobuf_InitDefaults_trade_2fresponse_2ffutures_2fFuturesQueryHistoryDeliverListResponse_2eproto_impl);
}
void protobuf_AddDesc_trade_2fresponse_2ffutures_2fFuturesQueryHistoryDeliverListResponse_2eproto_impl() {
  GOOGLE_PROTOBUF_VERIFY_VERSION;

  protobuf_InitDefaults_trade_2fresponse_2ffutures_2fFuturesQueryHistoryDeliverListResponse_2eproto();
  ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
    "\nCtrade/response/futures/FuturesQueryHis"
    "toryDeliverListResponse.proto\032%trade/vo/"
    "futures/FuturesOrderVo.proto\"\226\001\n&Futures"
    "QueryHistoryDeliverListResponse\022\035\n\004data\030"
    "\001 \003(\0132\017.FuturesOrderVo\022\021\n\tcurPageNo\030\002 \001("
    "\005\022\023\n\013curPageSize\030\003 \001(\005\022\023\n\013totalPageNo\030\004 "
    "\001(\005\022\020\n\010lastPage\030\005 \001(\005Bj\n;com.huasheng.qu"
    "ant.open.sdk.protobuf.trade.response.fut"
    "uresB+FuturesQueryHistoryDeliverListResp"
    "onseProtob\006proto3", 377);
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
    "trade/response/futures/FuturesQueryHistoryDeliverListResponse.proto", &protobuf_RegisterTypes);
  ::protobuf_AddDesc_trade_2fvo_2ffutures_2fFuturesOrderVo_2eproto();
  ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_trade_2fresponse_2ffutures_2fFuturesQueryHistoryDeliverListResponse_2eproto);
}

GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AddDesc_trade_2fresponse_2ffutures_2fFuturesQueryHistoryDeliverListResponse_2eproto_once_);
void protobuf_AddDesc_trade_2fresponse_2ffutures_2fFuturesQueryHistoryDeliverListResponse_2eproto() {
  ::google::protobuf::GoogleOnceInit(&protobuf_AddDesc_trade_2fresponse_2ffutures_2fFuturesQueryHistoryDeliverListResponse_2eproto_once_,
                 &protobuf_AddDesc_trade_2fresponse_2ffutures_2fFuturesQueryHistoryDeliverListResponse_2eproto_impl);
}
// Force AddDescriptors() to be called at static initialization time.
struct StaticDescriptorInitializer_trade_2fresponse_2ffutures_2fFuturesQueryHistoryDeliverListResponse_2eproto {
  StaticDescriptorInitializer_trade_2fresponse_2ffutures_2fFuturesQueryHistoryDeliverListResponse_2eproto() {
    protobuf_AddDesc_trade_2fresponse_2ffutures_2fFuturesQueryHistoryDeliverListResponse_2eproto();
  }
} static_descriptor_initializer_trade_2fresponse_2ffutures_2fFuturesQueryHistoryDeliverListResponse_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 FuturesQueryHistoryDeliverListResponse::kDataFieldNumber;
const int FuturesQueryHistoryDeliverListResponse::kCurPageNoFieldNumber;
const int FuturesQueryHistoryDeliverListResponse::kCurPageSizeFieldNumber;
const int FuturesQueryHistoryDeliverListResponse::kTotalPageNoFieldNumber;
const int FuturesQueryHistoryDeliverListResponse::kLastPageFieldNumber;
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900

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

void FuturesQueryHistoryDeliverListResponse::InitAsDefaultInstance() {
}

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

void FuturesQueryHistoryDeliverListResponse::SharedCtor() {
  ::memset(&curpageno_, 0, reinterpret_cast<char*>(&lastpage_) -
    reinterpret_cast<char*>(&curpageno_) + sizeof(lastpage_));
  _cached_size_ = 0;
}

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

void FuturesQueryHistoryDeliverListResponse::SharedDtor() {
}

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

const FuturesQueryHistoryDeliverListResponse& FuturesQueryHistoryDeliverListResponse::default_instance() {
  protobuf_InitDefaults_trade_2fresponse_2ffutures_2fFuturesQueryHistoryDeliverListResponse_2eproto();
  return *internal_default_instance();
}

::google::protobuf::internal::ExplicitlyConstructed<FuturesQueryHistoryDeliverListResponse> FuturesQueryHistoryDeliverListResponse_default_instance_;

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

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

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

  ZR_(curpageno_, lastpage_);

#undef ZR_HELPER_
#undef ZR_

  data_.Clear();
}

bool FuturesQueryHistoryDeliverListResponse::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:FuturesQueryHistoryDeliverListResponse)
  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)) {
      // repeated .FuturesOrderVo data = 1;
      case 1: {
        if (tag == 10) {
          DO_(input->IncrementRecursionDepth());
         parse_loop_data:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtualNoRecursionDepth(
                input, add_data()));
        } else {
          goto handle_unusual;
        }
        if (input->ExpectTag(10)) goto parse_loop_data;
        input->UnsafeDecrementRecursionDepth();
        if (input->ExpectTag(16)) goto parse_curPageNo;
        break;
      }

      // optional int32 curPageNo = 2;
      case 2: {
        if (tag == 16) {
         parse_curPageNo:

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

      // optional int32 curPageSize = 3;
      case 3: {
        if (tag == 24) {
         parse_curPageSize:

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

      // optional int32 totalPageNo = 4;
      case 4: {
        if (tag == 32) {
         parse_totalPageNo:

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

      // optional int32 lastPage = 5;
      case 5: {
        if (tag == 40) {
         parse_lastPage:

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

void FuturesQueryHistoryDeliverListResponse::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // @@protoc_insertion_point(serialize_start:FuturesQueryHistoryDeliverListResponse)
  // repeated .FuturesOrderVo data = 1;
  for (unsigned int i = 0, n = this->data_size(); i < n; i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      1, this->data(i), output);
  }

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

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

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

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

  // @@protoc_insertion_point(serialize_end:FuturesQueryHistoryDeliverListResponse)
}

::google::protobuf::uint8* FuturesQueryHistoryDeliverListResponse::InternalSerializeWithCachedSizesToArray(
    bool deterministic, ::google::protobuf::uint8* target) const {
  (void)deterministic; // Unused
  // @@protoc_insertion_point(serialize_to_array_start:FuturesQueryHistoryDeliverListResponse)
  // repeated .FuturesOrderVo data = 1;
  for (unsigned int i = 0, n = this->data_size(); i < n; i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      InternalWriteMessageNoVirtualToArray(
        1, this->data(i), false, target);
  }

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

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

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

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

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

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

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

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

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

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

  // repeated .FuturesOrderVo data = 1;
  {
    unsigned int count = this->data_size();
    total_size += 1UL * count;
    for (unsigned int i = 0; i < count; i++) {
      total_size +=
        ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
          this->data(i));
    }
  }

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

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

void FuturesQueryHistoryDeliverListResponse::UnsafeMergeFrom(const FuturesQueryHistoryDeliverListResponse& from) {
  GOOGLE_DCHECK(&from != this);
  data_.MergeFrom(from.data_);
  if (from.curpageno() != 0) {
    set_curpageno(from.curpageno());
  }
  if (from.curpagesize() != 0) {
    set_curpagesize(from.curpagesize());
  }
  if (from.totalpageno() != 0) {
    set_totalpageno(from.totalpageno());
  }
  if (from.lastpage() != 0) {
    set_lastpage(from.lastpage());
  }
}

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

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

bool FuturesQueryHistoryDeliverListResponse::IsInitialized() const {

  return true;
}

void FuturesQueryHistoryDeliverListResponse::Swap(FuturesQueryHistoryDeliverListResponse* other) {
  if (other == this) return;
  InternalSwap(other);
}
void FuturesQueryHistoryDeliverListResponse::InternalSwap(FuturesQueryHistoryDeliverListResponse* other) {
  data_.UnsafeArenaSwap(&other->data_);
  std::swap(curpageno_, other->curpageno_);
  std::swap(curpagesize_, other->curpagesize_);
  std::swap(totalpageno_, other->totalpageno_);
  std::swap(lastpage_, other->lastpage_);
  _internal_metadata_.Swap(&other->_internal_metadata_);
  std::swap(_cached_size_, other->_cached_size_);
}

::google::protobuf::Metadata FuturesQueryHistoryDeliverListResponse::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = FuturesQueryHistoryDeliverListResponse_descriptor_;
  metadata.reflection = FuturesQueryHistoryDeliverListResponse_reflection_;
  return metadata;
}

#if PROTOBUF_INLINE_NOT_IN_HEADERS
// FuturesQueryHistoryDeliverListResponse

// repeated .FuturesOrderVo data = 1;
int FuturesQueryHistoryDeliverListResponse::data_size() const {
  return data_.size();
}
void FuturesQueryHistoryDeliverListResponse::clear_data() {
  data_.Clear();
}
const ::FuturesOrderVo& FuturesQueryHistoryDeliverListResponse::data(int index) const {
  // @@protoc_insertion_point(field_get:FuturesQueryHistoryDeliverListResponse.data)
  return data_.Get(index);
}
::FuturesOrderVo* FuturesQueryHistoryDeliverListResponse::mutable_data(int index) {
  // @@protoc_insertion_point(field_mutable:FuturesQueryHistoryDeliverListResponse.data)
  return data_.Mutable(index);
}
::FuturesOrderVo* FuturesQueryHistoryDeliverListResponse::add_data() {
  // @@protoc_insertion_point(field_add:FuturesQueryHistoryDeliverListResponse.data)
  return data_.Add();
}
::google::protobuf::RepeatedPtrField< ::FuturesOrderVo >*
FuturesQueryHistoryDeliverListResponse::mutable_data() {
  // @@protoc_insertion_point(field_mutable_list:FuturesQueryHistoryDeliverListResponse.data)
  return &data_;
}
const ::google::protobuf::RepeatedPtrField< ::FuturesOrderVo >&
FuturesQueryHistoryDeliverListResponse::data() const {
  // @@protoc_insertion_point(field_list:FuturesQueryHistoryDeliverListResponse.data)
  return data_;
}

// optional int32 curPageNo = 2;
void FuturesQueryHistoryDeliverListResponse::clear_curpageno() {
  curpageno_ = 0;
}
::google::protobuf::int32 FuturesQueryHistoryDeliverListResponse::curpageno() const {
  // @@protoc_insertion_point(field_get:FuturesQueryHistoryDeliverListResponse.curPageNo)
  return curpageno_;
}
void FuturesQueryHistoryDeliverListResponse::set_curpageno(::google::protobuf::int32 value) {
  
  curpageno_ = value;
  // @@protoc_insertion_point(field_set:FuturesQueryHistoryDeliverListResponse.curPageNo)
}

// optional int32 curPageSize = 3;
void FuturesQueryHistoryDeliverListResponse::clear_curpagesize() {
  curpagesize_ = 0;
}
::google::protobuf::int32 FuturesQueryHistoryDeliverListResponse::curpagesize() const {
  // @@protoc_insertion_point(field_get:FuturesQueryHistoryDeliverListResponse.curPageSize)
  return curpagesize_;
}
void FuturesQueryHistoryDeliverListResponse::set_curpagesize(::google::protobuf::int32 value) {
  
  curpagesize_ = value;
  // @@protoc_insertion_point(field_set:FuturesQueryHistoryDeliverListResponse.curPageSize)
}

// optional int32 totalPageNo = 4;
void FuturesQueryHistoryDeliverListResponse::clear_totalpageno() {
  totalpageno_ = 0;
}
::google::protobuf::int32 FuturesQueryHistoryDeliverListResponse::totalpageno() const {
  // @@protoc_insertion_point(field_get:FuturesQueryHistoryDeliverListResponse.totalPageNo)
  return totalpageno_;
}
void FuturesQueryHistoryDeliverListResponse::set_totalpageno(::google::protobuf::int32 value) {
  
  totalpageno_ = value;
  // @@protoc_insertion_point(field_set:FuturesQueryHistoryDeliverListResponse.totalPageNo)
}

// optional int32 lastPage = 5;
void FuturesQueryHistoryDeliverListResponse::clear_lastpage() {
  lastpage_ = 0;
}
::google::protobuf::int32 FuturesQueryHistoryDeliverListResponse::lastpage() const {
  // @@protoc_insertion_point(field_get:FuturesQueryHistoryDeliverListResponse.lastPage)
  return lastpage_;
}
void FuturesQueryHistoryDeliverListResponse::set_lastpage(::google::protobuf::int32 value) {
  
  lastpage_ = value;
  // @@protoc_insertion_point(field_set:FuturesQueryHistoryDeliverListResponse.lastPage)
}

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

// @@protoc_insertion_point(namespace_scope)

// @@protoc_insertion_point(global_scope)
