// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: client2world_mail.proto

#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
#include "client2world_mail.pb.h"

#include <algorithm>

#include <google/protobuf/stubs/common.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 client2world_protocols {

namespace {

const ::google::protobuf::Descriptor* packetc2w_get_mails_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_get_mails_reflection_ = NULL;
const ::google::protobuf::Descriptor* mail_info_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  mail_info_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_get_mails_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_get_mails_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_recv_mail_gifts_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_recv_mail_gifts_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_recv_mail_gifts_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_recv_mail_gifts_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_remove_mail_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_remove_mail_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_remove_mail_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_remove_mail_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_accept_gift_notify_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_accept_gift_notify_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_req_send_mail_log_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_req_send_mail_log_reflection_ = NULL;
const ::google::protobuf::Descriptor* SendMailLogInfo_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  SendMailLogInfo_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_req_send_mail_log_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_req_send_mail_log_result_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetc2w_remove_mail_log_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetc2w_remove_mail_log_reflection_ = NULL;
const ::google::protobuf::Descriptor* packetw2c_remove_mail_log_result_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  packetw2c_remove_mail_log_result_reflection_ = NULL;

}  // namespace


void protobuf_AssignDesc_client2world_5fmail_2eproto() {
  protobuf_AddDesc_client2world_5fmail_2eproto();
  const ::google::protobuf::FileDescriptor* file =
    ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
      "client2world_mail.proto");
  GOOGLE_CHECK(file != NULL);
  packetc2w_get_mails_descriptor_ = file->message_type(0);
  static const int packetc2w_get_mails_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_mails, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_mails, lasttime_),
  };
  packetc2w_get_mails_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_get_mails_descriptor_,
      packetc2w_get_mails::default_instance_,
      packetc2w_get_mails_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_mails, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_mails, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_get_mails));
  mail_info_descriptor_ = file->message_type(1);
  static const int mail_info_offsets_[8] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(mail_info, mailid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(mail_info, time_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(mail_info, title_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(mail_info, sender_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(mail_info, content_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(mail_info, isrecvive_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(mail_info, gifts_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(mail_info, senderid_),
  };
  mail_info_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      mail_info_descriptor_,
      mail_info::default_instance_,
      mail_info_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(mail_info, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(mail_info, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(mail_info));
  packetw2c_get_mails_result_descriptor_ = file->message_type(2);
  static const int packetw2c_get_mails_result_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_mails_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_mails_result, lasttime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_mails_result, mails_),
  };
  packetw2c_get_mails_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_get_mails_result_descriptor_,
      packetw2c_get_mails_result::default_instance_,
      packetw2c_get_mails_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_mails_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_mails_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_get_mails_result));
  packetc2w_recv_mail_gifts_descriptor_ = file->message_type(3);
  static const int packetc2w_recv_mail_gifts_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_mail_gifts, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_mail_gifts, mailid_),
  };
  packetc2w_recv_mail_gifts_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_recv_mail_gifts_descriptor_,
      packetc2w_recv_mail_gifts::default_instance_,
      packetc2w_recv_mail_gifts_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_mail_gifts, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_mail_gifts, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_recv_mail_gifts));
  packetw2c_recv_mail_gifts_result_descriptor_ = file->message_type(4);
  static const int packetw2c_recv_mail_gifts_result_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_mail_gifts_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_mail_gifts_result, mailid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_mail_gifts_result, result_),
  };
  packetw2c_recv_mail_gifts_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_recv_mail_gifts_result_descriptor_,
      packetw2c_recv_mail_gifts_result::default_instance_,
      packetw2c_recv_mail_gifts_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_mail_gifts_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_mail_gifts_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_recv_mail_gifts_result));
  packetc2w_remove_mail_descriptor_ = file->message_type(5);
  static const int packetc2w_remove_mail_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_remove_mail, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_remove_mail, mailid_),
  };
  packetc2w_remove_mail_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_remove_mail_descriptor_,
      packetc2w_remove_mail::default_instance_,
      packetc2w_remove_mail_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_remove_mail, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_remove_mail, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_remove_mail));
  packetw2c_remove_mail_result_descriptor_ = file->message_type(6);
  static const int packetw2c_remove_mail_result_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_remove_mail_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_remove_mail_result, mailid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_remove_mail_result, result_),
  };
  packetw2c_remove_mail_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_remove_mail_result_descriptor_,
      packetw2c_remove_mail_result::default_instance_,
      packetw2c_remove_mail_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_remove_mail_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_remove_mail_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_remove_mail_result));
  packetw2c_accept_gift_notify_descriptor_ = file->message_type(7);
  static const int packetw2c_accept_gift_notify_offsets_[1] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_accept_gift_notify, packet_id_),
  };
  packetw2c_accept_gift_notify_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_accept_gift_notify_descriptor_,
      packetw2c_accept_gift_notify::default_instance_,
      packetw2c_accept_gift_notify_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_accept_gift_notify, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_accept_gift_notify, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_accept_gift_notify));
  packetc2w_req_send_mail_log_descriptor_ = file->message_type(8);
  static const int packetc2w_req_send_mail_log_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_req_send_mail_log, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_req_send_mail_log, lasttime_),
  };
  packetc2w_req_send_mail_log_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_req_send_mail_log_descriptor_,
      packetc2w_req_send_mail_log::default_instance_,
      packetc2w_req_send_mail_log_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_req_send_mail_log, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_req_send_mail_log, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_req_send_mail_log));
  SendMailLogInfo_descriptor_ = file->message_type(9);
  static const int SendMailLogInfo_offsets_[6] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendMailLogInfo, sendtime_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendMailLogInfo, firendid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendMailLogInfo, content_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendMailLogInfo, mailid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendMailLogInfo, title_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendMailLogInfo, friendnickname_),
  };
  SendMailLogInfo_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      SendMailLogInfo_descriptor_,
      SendMailLogInfo::default_instance_,
      SendMailLogInfo_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendMailLogInfo, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendMailLogInfo, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(SendMailLogInfo));
  packetw2c_req_send_mail_log_result_descriptor_ = file->message_type(10);
  static const int packetw2c_req_send_mail_log_result_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_req_send_mail_log_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_req_send_mail_log_result, loglist_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_req_send_mail_log_result, lasttime_),
  };
  packetw2c_req_send_mail_log_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_req_send_mail_log_result_descriptor_,
      packetw2c_req_send_mail_log_result::default_instance_,
      packetw2c_req_send_mail_log_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_req_send_mail_log_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_req_send_mail_log_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_req_send_mail_log_result));
  packetc2w_remove_mail_log_descriptor_ = file->message_type(11);
  static const int packetc2w_remove_mail_log_offsets_[2] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_remove_mail_log, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_remove_mail_log, mailid_),
  };
  packetc2w_remove_mail_log_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetc2w_remove_mail_log_descriptor_,
      packetc2w_remove_mail_log::default_instance_,
      packetc2w_remove_mail_log_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_remove_mail_log, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_remove_mail_log, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetc2w_remove_mail_log));
  packetw2c_remove_mail_log_result_descriptor_ = file->message_type(12);
  static const int packetw2c_remove_mail_log_result_offsets_[3] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_remove_mail_log_result, packet_id_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_remove_mail_log_result, mailid_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_remove_mail_log_result, result_),
  };
  packetw2c_remove_mail_log_result_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      packetw2c_remove_mail_log_result_descriptor_,
      packetw2c_remove_mail_log_result::default_instance_,
      packetw2c_remove_mail_log_result_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_remove_mail_log_result, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_remove_mail_log_result, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(packetw2c_remove_mail_log_result));
}

namespace {

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

void protobuf_RegisterTypes(const ::std::string&) {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_get_mails_descriptor_, &packetc2w_get_mails::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    mail_info_descriptor_, &mail_info::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_get_mails_result_descriptor_, &packetw2c_get_mails_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_recv_mail_gifts_descriptor_, &packetc2w_recv_mail_gifts::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_recv_mail_gifts_result_descriptor_, &packetw2c_recv_mail_gifts_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_remove_mail_descriptor_, &packetc2w_remove_mail::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_remove_mail_result_descriptor_, &packetw2c_remove_mail_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_accept_gift_notify_descriptor_, &packetw2c_accept_gift_notify::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_req_send_mail_log_descriptor_, &packetc2w_req_send_mail_log::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    SendMailLogInfo_descriptor_, &SendMailLogInfo::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_req_send_mail_log_result_descriptor_, &packetw2c_req_send_mail_log_result::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetc2w_remove_mail_log_descriptor_, &packetc2w_remove_mail_log::default_instance());
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    packetw2c_remove_mail_log_result_descriptor_, &packetw2c_remove_mail_log_result::default_instance());
}

}  // namespace

void protobuf_ShutdownFile_client2world_5fmail_2eproto() {
  delete packetc2w_get_mails::default_instance_;
  delete packetc2w_get_mails_reflection_;
  delete mail_info::default_instance_;
  delete mail_info_reflection_;
  delete packetw2c_get_mails_result::default_instance_;
  delete packetw2c_get_mails_result_reflection_;
  delete packetc2w_recv_mail_gifts::default_instance_;
  delete packetc2w_recv_mail_gifts_reflection_;
  delete packetw2c_recv_mail_gifts_result::default_instance_;
  delete packetw2c_recv_mail_gifts_result_reflection_;
  delete packetc2w_remove_mail::default_instance_;
  delete packetc2w_remove_mail_reflection_;
  delete packetw2c_remove_mail_result::default_instance_;
  delete packetw2c_remove_mail_result_reflection_;
  delete packetw2c_accept_gift_notify::default_instance_;
  delete packetw2c_accept_gift_notify_reflection_;
  delete packetc2w_req_send_mail_log::default_instance_;
  delete packetc2w_req_send_mail_log_reflection_;
  delete SendMailLogInfo::default_instance_;
  delete SendMailLogInfo_reflection_;
  delete packetw2c_req_send_mail_log_result::default_instance_;
  delete packetw2c_req_send_mail_log_result_reflection_;
  delete packetc2w_remove_mail_log::default_instance_;
  delete packetc2w_remove_mail_log_reflection_;
  delete packetw2c_remove_mail_log_result::default_instance_;
  delete packetw2c_remove_mail_log_result_reflection_;
}

void protobuf_AddDesc_client2world_5fmail_2eproto() {
  static bool already_here = false;
  if (already_here) return;
  already_here = true;
  GOOGLE_PROTOBUF_VERIFY_VERSION;

  ::client2world_protocols::protobuf_AddDesc_client2world_5fmsg_5ftype_2eproto();
  ::msg_type_def::protobuf_AddDesc_msg_5ftype_5fdef_2eproto();
  ::msg_info_def::protobuf_AddDesc_msg_5finfo_5fdef_2eproto();
  ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
    "\n\027client2world_mail.proto\022\026client2world_"
    "protocols\032\033client2world_msg_type.proto\032\022"
    "msg_type_def.proto\032\022msg_info_def.proto\"z"
    "\n\023packetc2w_get_mails\022Q\n\tpacket_id\030\001 \001(\016"
    "2).client2world_protocols.e_server_msg_t"
    "ype:\023e_mst_c2w_get_mails\022\020\n\010lastTime\030\002 \001"
    "(\005\"\245\001\n\tmail_info\022\016\n\006mailId\030\001 \001(\t\022\014\n\004time"
    "\030\002 \001(\005\022\r\n\005title\030\003 \001(\t\022\016\n\006sender\030\004 \001(\t\022\017\n"
    "\007content\030\005 \001(\t\022\021\n\tisRecvive\030\006 \001(\010\022%\n\005gif"
    "ts\030\007 \003(\0132\026.msg_info_def.msg_gift\022\020\n\010send"
    "erId\030\010 \001(\005\"\272\001\n\032packetw2c_get_mails_resul"
    "t\022X\n\tpacket_id\030\001 \001(\0162).client2world_prot"
    "ocols.e_server_msg_type:\032e_mst_w2c_get_m"
    "ails_result\022\020\n\010lastTime\030\002 \001(\005\0220\n\005mails\030\003"
    " \003(\0132!.client2world_protocols.mail_info\""
    "\204\001\n\031packetc2w_recv_mail_gifts\022W\n\tpacket_"
    "id\030\001 \001(\0162).client2world_protocols.e_serv"
    "er_msg_type:\031e_mst_c2w_recv_mail_gifts\022\016"
    "\n\006mailId\030\002 \001(\t\"\242\001\n packetw2c_recv_mail_g"
    "ifts_result\022^\n\tpacket_id\030\001 \001(\0162).client2"
    "world_protocols.e_server_msg_type: e_mst"
    "_w2c_recv_mail_gifts_result\022\016\n\006mailId\030\002 "
    "\001(\t\022\016\n\006result\030\003 \001(\005\"|\n\025packetc2w_remove_"
    "mail\022S\n\tpacket_id\030\001 \001(\0162).client2world_p"
    "rotocols.e_server_msg_type:\025e_mst_c2w_re"
    "move_mail\022\016\n\006mailId\030\002 \001(\t\"\232\001\n\034packetw2c_"
    "remove_mail_result\022Z\n\tpacket_id\030\001 \001(\0162)."
    "client2world_protocols.e_server_msg_type"
    ":\034e_mst_w2c_remove_mail_result\022\016\n\006mailId"
    "\030\002 \001(\t\022\016\n\006result\030\003 \001(\005\"z\n\034packetw2c_acce"
    "pt_gift_notify\022Z\n\tpacket_id\030\001 \001(\0162).clie"
    "nt2world_protocols.e_server_msg_type:\034e_"
    "mst_w2c_accept_gift_notify\"\212\001\n\033packetc2w"
    "_req_send_mail_log\022Y\n\tpacket_id\030\001 \001(\0162)."
    "client2world_protocols.e_server_msg_type"
    ":\033e_mst_c2w_req_send_mail_log\022\020\n\010lastTim"
    "e\030\002 \001(\005\"}\n\017SendMailLogInfo\022\020\n\010sendTime\030\001"
    " \001(\005\022\020\n\010firendId\030\002 \001(\005\022\017\n\007content\030\003 \001(\t\022"
    "\016\n\006mailId\030\004 \001(\t\022\r\n\005title\030\005 \001(\t\022\026\n\016friend"
    "NickName\030\006 \001(\t\"\322\001\n\"packetw2c_req_send_ma"
    "il_log_result\022`\n\tpacket_id\030\001 \001(\0162).clien"
    "t2world_protocols.e_server_msg_type:\"e_m"
    "st_w2c_req_send_mail_log_result\0228\n\007logLi"
    "st\030\002 \003(\0132\'.client2world_protocols.SendMa"
    "ilLogInfo\022\020\n\010lastTime\030\003 \001(\005\"\204\001\n\031packetc2"
    "w_remove_mail_log\022W\n\tpacket_id\030\001 \001(\0162).c"
    "lient2world_protocols.e_server_msg_type:"
    "\031e_mst_c2w_remove_mail_log\022\016\n\006mailId\030\002 \001"
    "(\t\"\242\001\n packetw2c_remove_mail_log_result\022"
    "^\n\tpacket_id\030\001 \001(\0162).client2world_protoc"
    "ols.e_server_msg_type: e_mst_w2c_remove_"
    "mail_log_result\022\016\n\006mailId\030\002 \001(\t\022\016\n\006resul"
    "t\030\003 \001(\005", 2087);
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
    "client2world_mail.proto", &protobuf_RegisterTypes);
  packetc2w_get_mails::default_instance_ = new packetc2w_get_mails();
  mail_info::default_instance_ = new mail_info();
  packetw2c_get_mails_result::default_instance_ = new packetw2c_get_mails_result();
  packetc2w_recv_mail_gifts::default_instance_ = new packetc2w_recv_mail_gifts();
  packetw2c_recv_mail_gifts_result::default_instance_ = new packetw2c_recv_mail_gifts_result();
  packetc2w_remove_mail::default_instance_ = new packetc2w_remove_mail();
  packetw2c_remove_mail_result::default_instance_ = new packetw2c_remove_mail_result();
  packetw2c_accept_gift_notify::default_instance_ = new packetw2c_accept_gift_notify();
  packetc2w_req_send_mail_log::default_instance_ = new packetc2w_req_send_mail_log();
  SendMailLogInfo::default_instance_ = new SendMailLogInfo();
  packetw2c_req_send_mail_log_result::default_instance_ = new packetw2c_req_send_mail_log_result();
  packetc2w_remove_mail_log::default_instance_ = new packetc2w_remove_mail_log();
  packetw2c_remove_mail_log_result::default_instance_ = new packetw2c_remove_mail_log_result();
  packetc2w_get_mails::default_instance_->InitAsDefaultInstance();
  mail_info::default_instance_->InitAsDefaultInstance();
  packetw2c_get_mails_result::default_instance_->InitAsDefaultInstance();
  packetc2w_recv_mail_gifts::default_instance_->InitAsDefaultInstance();
  packetw2c_recv_mail_gifts_result::default_instance_->InitAsDefaultInstance();
  packetc2w_remove_mail::default_instance_->InitAsDefaultInstance();
  packetw2c_remove_mail_result::default_instance_->InitAsDefaultInstance();
  packetw2c_accept_gift_notify::default_instance_->InitAsDefaultInstance();
  packetc2w_req_send_mail_log::default_instance_->InitAsDefaultInstance();
  SendMailLogInfo::default_instance_->InitAsDefaultInstance();
  packetw2c_req_send_mail_log_result::default_instance_->InitAsDefaultInstance();
  packetc2w_remove_mail_log::default_instance_->InitAsDefaultInstance();
  packetw2c_remove_mail_log_result::default_instance_->InitAsDefaultInstance();
  ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_client2world_5fmail_2eproto);
}

// Force AddDescriptors() to be called at static initialization time.
struct StaticDescriptorInitializer_client2world_5fmail_2eproto {
  StaticDescriptorInitializer_client2world_5fmail_2eproto() {
    protobuf_AddDesc_client2world_5fmail_2eproto();
  }
} static_descriptor_initializer_client2world_5fmail_2eproto_;

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

#ifndef _MSC_VER
const int packetc2w_get_mails::kPacketIdFieldNumber;
const int packetc2w_get_mails::kLastTimeFieldNumber;
#endif  // !_MSC_VER

packetc2w_get_mails::packetc2w_get_mails()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_get_mails::InitAsDefaultInstance() {
}

packetc2w_get_mails::packetc2w_get_mails(const packetc2w_get_mails& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_get_mails::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5014;
  lasttime_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_get_mails::~packetc2w_get_mails() {
  SharedDtor();
}

void packetc2w_get_mails::SharedDtor() {
  if (this != default_instance_) {
  }
}

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

const packetc2w_get_mails& packetc2w_get_mails::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fmail_2eproto();
  return *default_instance_;
}

packetc2w_get_mails* packetc2w_get_mails::default_instance_ = NULL;

packetc2w_get_mails* packetc2w_get_mails::New() const {
  return new packetc2w_get_mails;
}

void packetc2w_get_mails::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5014;
    lasttime_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_get_mails::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  ::google::protobuf::uint32 tag;
  while ((tag = input->ReadTag()) != 0) {
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_mails];
      case 1: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
          int value;
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
                 input, &value)));
          if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
          } else {
            mutable_unknown_fields()->AddVarint(1, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_lastTime;
        break;
      }

      // optional int32 lastTime = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_lastTime:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &lasttime_)));
          set_has_lasttime();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectAtEnd()) return true;
        break;
      }

      default: {
      handle_uninterpreted:
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
          return true;
        }
        DO_(::google::protobuf::internal::WireFormat::SkipField(
              input, tag, mutable_unknown_fields()));
        break;
      }
    }
  }
  return true;
#undef DO_
}

void packetc2w_get_mails::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_mails];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 lastTime = 2;
  if (has_lasttime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->lasttime(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetc2w_get_mails::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_mails];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 lastTime = 2;
  if (has_lasttime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->lasttime(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetc2w_get_mails::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_mails];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 lastTime = 2;
    if (has_lasttime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->lasttime());
    }

  }
  if (!unknown_fields().empty()) {
    total_size +=
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
        unknown_fields());
  }
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = total_size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  return total_size;
}

void packetc2w_get_mails::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_get_mails* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_get_mails*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_get_mails::MergeFrom(const packetc2w_get_mails& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_lasttime()) {
      set_lasttime(from.lasttime());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_get_mails::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_get_mails::CopyFrom(const packetc2w_get_mails& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_get_mails::IsInitialized() const {

  return true;
}

void packetc2w_get_mails::Swap(packetc2w_get_mails* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(lasttime_, other->lasttime_);
    std::swap(_has_bits_[0], other->_has_bits_[0]);
    _unknown_fields_.Swap(&other->_unknown_fields_);
    std::swap(_cached_size_, other->_cached_size_);
  }
}

::google::protobuf::Metadata packetc2w_get_mails::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_get_mails_descriptor_;
  metadata.reflection = packetc2w_get_mails_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int mail_info::kMailIdFieldNumber;
const int mail_info::kTimeFieldNumber;
const int mail_info::kTitleFieldNumber;
const int mail_info::kSenderFieldNumber;
const int mail_info::kContentFieldNumber;
const int mail_info::kIsRecviveFieldNumber;
const int mail_info::kGiftsFieldNumber;
const int mail_info::kSenderIdFieldNumber;
#endif  // !_MSC_VER

mail_info::mail_info()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void mail_info::InitAsDefaultInstance() {
}

mail_info::mail_info(const mail_info& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void mail_info::SharedCtor() {
  _cached_size_ = 0;
  mailid_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  time_ = 0;
  title_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  sender_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  content_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  isrecvive_ = false;
  senderid_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

mail_info::~mail_info() {
  SharedDtor();
}

void mail_info::SharedDtor() {
  if (mailid_ != &::google::protobuf::internal::kEmptyString) {
    delete mailid_;
  }
  if (title_ != &::google::protobuf::internal::kEmptyString) {
    delete title_;
  }
  if (sender_ != &::google::protobuf::internal::kEmptyString) {
    delete sender_;
  }
  if (content_ != &::google::protobuf::internal::kEmptyString) {
    delete content_;
  }
  if (this != default_instance_) {
  }
}

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

const mail_info& mail_info::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fmail_2eproto();
  return *default_instance_;
}

mail_info* mail_info::default_instance_ = NULL;

mail_info* mail_info::New() const {
  return new mail_info;
}

void mail_info::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (has_mailid()) {
      if (mailid_ != &::google::protobuf::internal::kEmptyString) {
        mailid_->clear();
      }
    }
    time_ = 0;
    if (has_title()) {
      if (title_ != &::google::protobuf::internal::kEmptyString) {
        title_->clear();
      }
    }
    if (has_sender()) {
      if (sender_ != &::google::protobuf::internal::kEmptyString) {
        sender_->clear();
      }
    }
    if (has_content()) {
      if (content_ != &::google::protobuf::internal::kEmptyString) {
        content_->clear();
      }
    }
    isrecvive_ = false;
    senderid_ = 0;
  }
  gifts_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool mail_info::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  ::google::protobuf::uint32 tag;
  while ((tag = input->ReadTag()) != 0) {
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional string mailId = 1;
      case 1: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
                input, this->mutable_mailid()));
          ::google::protobuf::internal::WireFormat::VerifyUTF8String(
            this->mailid().data(), this->mailid().length(),
            ::google::protobuf::internal::WireFormat::PARSE);
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_time;
        break;
      }

      // optional int32 time = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_time:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &time_)));
          set_has_time();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(26)) goto parse_title;
        break;
      }

      // optional string title = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_title:
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
                input, this->mutable_title()));
          ::google::protobuf::internal::WireFormat::VerifyUTF8String(
            this->title().data(), this->title().length(),
            ::google::protobuf::internal::WireFormat::PARSE);
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(34)) goto parse_sender;
        break;
      }

      // optional string sender = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_sender:
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
                input, this->mutable_sender()));
          ::google::protobuf::internal::WireFormat::VerifyUTF8String(
            this->sender().data(), this->sender().length(),
            ::google::protobuf::internal::WireFormat::PARSE);
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(42)) goto parse_content;
        break;
      }

      // optional string content = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_content:
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
                input, this->mutable_content()));
          ::google::protobuf::internal::WireFormat::VerifyUTF8String(
            this->content().data(), this->content().length(),
            ::google::protobuf::internal::WireFormat::PARSE);
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(48)) goto parse_isRecvive;
        break;
      }

      // optional bool isRecvive = 6;
      case 6: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_isRecvive:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
                 input, &isrecvive_)));
          set_has_isrecvive();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(58)) goto parse_gifts;
        break;
      }

      // repeated .msg_info_def.msg_gift gifts = 7;
      case 7: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_gifts:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_gifts()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(58)) goto parse_gifts;
        if (input->ExpectTag(64)) goto parse_senderId;
        break;
      }

      // optional int32 senderId = 8;
      case 8: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_senderId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &senderid_)));
          set_has_senderid();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectAtEnd()) return true;
        break;
      }

      default: {
      handle_uninterpreted:
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
          return true;
        }
        DO_(::google::protobuf::internal::WireFormat::SkipField(
              input, tag, mutable_unknown_fields()));
        break;
      }
    }
  }
  return true;
#undef DO_
}

void mail_info::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional string mailId = 1;
  if (has_mailid()) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8String(
      this->mailid().data(), this->mailid().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE);
    ::google::protobuf::internal::WireFormatLite::WriteString(
      1, this->mailid(), output);
  }

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

  // optional string title = 3;
  if (has_title()) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8String(
      this->title().data(), this->title().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE);
    ::google::protobuf::internal::WireFormatLite::WriteString(
      3, this->title(), output);
  }

  // optional string sender = 4;
  if (has_sender()) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8String(
      this->sender().data(), this->sender().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE);
    ::google::protobuf::internal::WireFormatLite::WriteString(
      4, this->sender(), output);
  }

  // optional string content = 5;
  if (has_content()) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8String(
      this->content().data(), this->content().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE);
    ::google::protobuf::internal::WireFormatLite::WriteString(
      5, this->content(), output);
  }

  // optional bool isRecvive = 6;
  if (has_isrecvive()) {
    ::google::protobuf::internal::WireFormatLite::WriteBool(6, this->isrecvive(), output);
  }

  // repeated .msg_info_def.msg_gift gifts = 7;
  for (int i = 0; i < this->gifts_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      7, this->gifts(i), output);
  }

  // optional int32 senderId = 8;
  if (has_senderid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->senderid(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* mail_info::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional string mailId = 1;
  if (has_mailid()) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8String(
      this->mailid().data(), this->mailid().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE);
    target =
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
        1, this->mailid(), target);
  }

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

  // optional string title = 3;
  if (has_title()) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8String(
      this->title().data(), this->title().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE);
    target =
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
        3, this->title(), target);
  }

  // optional string sender = 4;
  if (has_sender()) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8String(
      this->sender().data(), this->sender().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE);
    target =
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
        4, this->sender(), target);
  }

  // optional string content = 5;
  if (has_content()) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8String(
      this->content().data(), this->content().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE);
    target =
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
        5, this->content(), target);
  }

  // optional bool isRecvive = 6;
  if (has_isrecvive()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(6, this->isrecvive(), target);
  }

  // repeated .msg_info_def.msg_gift gifts = 7;
  for (int i = 0; i < this->gifts_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        7, this->gifts(i), target);
  }

  // optional int32 senderId = 8;
  if (has_senderid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->senderid(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int mail_info::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional string mailId = 1;
    if (has_mailid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::StringSize(
          this->mailid());
    }

    // optional int32 time = 2;
    if (has_time()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->time());
    }

    // optional string title = 3;
    if (has_title()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::StringSize(
          this->title());
    }

    // optional string sender = 4;
    if (has_sender()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::StringSize(
          this->sender());
    }

    // optional string content = 5;
    if (has_content()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::StringSize(
          this->content());
    }

    // optional bool isRecvive = 6;
    if (has_isrecvive()) {
      total_size += 1 + 1;
    }

    // optional int32 senderId = 8;
    if (has_senderid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->senderid());
    }

  }
  // repeated .msg_info_def.msg_gift gifts = 7;
  total_size += 1 * this->gifts_size();
  for (int i = 0; i < this->gifts_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->gifts(i));
  }

  if (!unknown_fields().empty()) {
    total_size +=
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
        unknown_fields());
  }
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = total_size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  return total_size;
}

void mail_info::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const mail_info* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const mail_info*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void mail_info::MergeFrom(const mail_info& from) {
  GOOGLE_CHECK_NE(&from, this);
  gifts_.MergeFrom(from.gifts_);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_mailid()) {
      set_mailid(from.mailid());
    }
    if (from.has_time()) {
      set_time(from.time());
    }
    if (from.has_title()) {
      set_title(from.title());
    }
    if (from.has_sender()) {
      set_sender(from.sender());
    }
    if (from.has_content()) {
      set_content(from.content());
    }
    if (from.has_isrecvive()) {
      set_isrecvive(from.isrecvive());
    }
    if (from.has_senderid()) {
      set_senderid(from.senderid());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void mail_info::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void mail_info::CopyFrom(const mail_info& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool mail_info::IsInitialized() const {

  return true;
}

void mail_info::Swap(mail_info* other) {
  if (other != this) {
    std::swap(mailid_, other->mailid_);
    std::swap(time_, other->time_);
    std::swap(title_, other->title_);
    std::swap(sender_, other->sender_);
    std::swap(content_, other->content_);
    std::swap(isrecvive_, other->isrecvive_);
    gifts_.Swap(&other->gifts_);
    std::swap(senderid_, other->senderid_);
    std::swap(_has_bits_[0], other->_has_bits_[0]);
    _unknown_fields_.Swap(&other->_unknown_fields_);
    std::swap(_cached_size_, other->_cached_size_);
  }
}

::google::protobuf::Metadata mail_info::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = mail_info_descriptor_;
  metadata.reflection = mail_info_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetw2c_get_mails_result::kPacketIdFieldNumber;
const int packetw2c_get_mails_result::kLastTimeFieldNumber;
const int packetw2c_get_mails_result::kMailsFieldNumber;
#endif  // !_MSC_VER

packetw2c_get_mails_result::packetw2c_get_mails_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_get_mails_result::InitAsDefaultInstance() {
}

packetw2c_get_mails_result::packetw2c_get_mails_result(const packetw2c_get_mails_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_get_mails_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7513;
  lasttime_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_get_mails_result::~packetw2c_get_mails_result() {
  SharedDtor();
}

void packetw2c_get_mails_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

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

const packetw2c_get_mails_result& packetw2c_get_mails_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fmail_2eproto();
  return *default_instance_;
}

packetw2c_get_mails_result* packetw2c_get_mails_result::default_instance_ = NULL;

packetw2c_get_mails_result* packetw2c_get_mails_result::New() const {
  return new packetw2c_get_mails_result;
}

void packetw2c_get_mails_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7513;
    lasttime_ = 0;
  }
  mails_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_get_mails_result::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  ::google::protobuf::uint32 tag;
  while ((tag = input->ReadTag()) != 0) {
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_mails_result];
      case 1: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
          int value;
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
                 input, &value)));
          if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
          } else {
            mutable_unknown_fields()->AddVarint(1, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_lastTime;
        break;
      }

      // optional int32 lastTime = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_lastTime:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &lasttime_)));
          set_has_lasttime();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(26)) goto parse_mails;
        break;
      }

      // repeated .client2world_protocols.mail_info mails = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_mails:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_mails()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(26)) goto parse_mails;
        if (input->ExpectAtEnd()) return true;
        break;
      }

      default: {
      handle_uninterpreted:
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
          return true;
        }
        DO_(::google::protobuf::internal::WireFormat::SkipField(
              input, tag, mutable_unknown_fields()));
        break;
      }
    }
  }
  return true;
#undef DO_
}

void packetw2c_get_mails_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_mails_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 lastTime = 2;
  if (has_lasttime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->lasttime(), output);
  }

  // repeated .client2world_protocols.mail_info mails = 3;
  for (int i = 0; i < this->mails_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      3, this->mails(i), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_get_mails_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_mails_result];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 lastTime = 2;
  if (has_lasttime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->lasttime(), target);
  }

  // repeated .client2world_protocols.mail_info mails = 3;
  for (int i = 0; i < this->mails_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        3, this->mails(i), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_get_mails_result::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_mails_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 lastTime = 2;
    if (has_lasttime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->lasttime());
    }

  }
  // repeated .client2world_protocols.mail_info mails = 3;
  total_size += 1 * this->mails_size();
  for (int i = 0; i < this->mails_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->mails(i));
  }

  if (!unknown_fields().empty()) {
    total_size +=
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
        unknown_fields());
  }
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = total_size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  return total_size;
}

void packetw2c_get_mails_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_get_mails_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_get_mails_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_get_mails_result::MergeFrom(const packetw2c_get_mails_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  mails_.MergeFrom(from.mails_);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_lasttime()) {
      set_lasttime(from.lasttime());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_get_mails_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_get_mails_result::CopyFrom(const packetw2c_get_mails_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_get_mails_result::IsInitialized() const {

  return true;
}

void packetw2c_get_mails_result::Swap(packetw2c_get_mails_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(lasttime_, other->lasttime_);
    mails_.Swap(&other->mails_);
    std::swap(_has_bits_[0], other->_has_bits_[0]);
    _unknown_fields_.Swap(&other->_unknown_fields_);
    std::swap(_cached_size_, other->_cached_size_);
  }
}

::google::protobuf::Metadata packetw2c_get_mails_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_get_mails_result_descriptor_;
  metadata.reflection = packetw2c_get_mails_result_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetc2w_recv_mail_gifts::kPacketIdFieldNumber;
const int packetc2w_recv_mail_gifts::kMailIdFieldNumber;
#endif  // !_MSC_VER

packetc2w_recv_mail_gifts::packetc2w_recv_mail_gifts()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_recv_mail_gifts::InitAsDefaultInstance() {
}

packetc2w_recv_mail_gifts::packetc2w_recv_mail_gifts(const packetc2w_recv_mail_gifts& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_recv_mail_gifts::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5015;
  mailid_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_recv_mail_gifts::~packetc2w_recv_mail_gifts() {
  SharedDtor();
}

void packetc2w_recv_mail_gifts::SharedDtor() {
  if (mailid_ != &::google::protobuf::internal::kEmptyString) {
    delete mailid_;
  }
  if (this != default_instance_) {
  }
}

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

const packetc2w_recv_mail_gifts& packetc2w_recv_mail_gifts::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fmail_2eproto();
  return *default_instance_;
}

packetc2w_recv_mail_gifts* packetc2w_recv_mail_gifts::default_instance_ = NULL;

packetc2w_recv_mail_gifts* packetc2w_recv_mail_gifts::New() const {
  return new packetc2w_recv_mail_gifts;
}

void packetc2w_recv_mail_gifts::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5015;
    if (has_mailid()) {
      if (mailid_ != &::google::protobuf::internal::kEmptyString) {
        mailid_->clear();
      }
    }
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_recv_mail_gifts::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  ::google::protobuf::uint32 tag;
  while ((tag = input->ReadTag()) != 0) {
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_mail_gifts];
      case 1: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
          int value;
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
                 input, &value)));
          if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
          } else {
            mutable_unknown_fields()->AddVarint(1, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(18)) goto parse_mailId;
        break;
      }

      // optional string mailId = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_mailId:
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
                input, this->mutable_mailid()));
          ::google::protobuf::internal::WireFormat::VerifyUTF8String(
            this->mailid().data(), this->mailid().length(),
            ::google::protobuf::internal::WireFormat::PARSE);
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectAtEnd()) return true;
        break;
      }

      default: {
      handle_uninterpreted:
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
          return true;
        }
        DO_(::google::protobuf::internal::WireFormat::SkipField(
              input, tag, mutable_unknown_fields()));
        break;
      }
    }
  }
  return true;
#undef DO_
}

void packetc2w_recv_mail_gifts::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_mail_gifts];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional string mailId = 2;
  if (has_mailid()) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8String(
      this->mailid().data(), this->mailid().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE);
    ::google::protobuf::internal::WireFormatLite::WriteString(
      2, this->mailid(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetc2w_recv_mail_gifts::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_mail_gifts];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional string mailId = 2;
  if (has_mailid()) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8String(
      this->mailid().data(), this->mailid().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE);
    target =
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
        2, this->mailid(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetc2w_recv_mail_gifts::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_mail_gifts];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional string mailId = 2;
    if (has_mailid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::StringSize(
          this->mailid());
    }

  }
  if (!unknown_fields().empty()) {
    total_size +=
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
        unknown_fields());
  }
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = total_size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  return total_size;
}

void packetc2w_recv_mail_gifts::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_recv_mail_gifts* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_mail_gifts*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_recv_mail_gifts::MergeFrom(const packetc2w_recv_mail_gifts& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_mailid()) {
      set_mailid(from.mailid());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_recv_mail_gifts::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_recv_mail_gifts::CopyFrom(const packetc2w_recv_mail_gifts& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_recv_mail_gifts::IsInitialized() const {

  return true;
}

void packetc2w_recv_mail_gifts::Swap(packetc2w_recv_mail_gifts* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(mailid_, other->mailid_);
    std::swap(_has_bits_[0], other->_has_bits_[0]);
    _unknown_fields_.Swap(&other->_unknown_fields_);
    std::swap(_cached_size_, other->_cached_size_);
  }
}

::google::protobuf::Metadata packetc2w_recv_mail_gifts::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_recv_mail_gifts_descriptor_;
  metadata.reflection = packetc2w_recv_mail_gifts_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetw2c_recv_mail_gifts_result::kPacketIdFieldNumber;
const int packetw2c_recv_mail_gifts_result::kMailIdFieldNumber;
const int packetw2c_recv_mail_gifts_result::kResultFieldNumber;
#endif  // !_MSC_VER

packetw2c_recv_mail_gifts_result::packetw2c_recv_mail_gifts_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_recv_mail_gifts_result::InitAsDefaultInstance() {
}

packetw2c_recv_mail_gifts_result::packetw2c_recv_mail_gifts_result(const packetw2c_recv_mail_gifts_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_recv_mail_gifts_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7514;
  mailid_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  result_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_recv_mail_gifts_result::~packetw2c_recv_mail_gifts_result() {
  SharedDtor();
}

void packetw2c_recv_mail_gifts_result::SharedDtor() {
  if (mailid_ != &::google::protobuf::internal::kEmptyString) {
    delete mailid_;
  }
  if (this != default_instance_) {
  }
}

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

const packetw2c_recv_mail_gifts_result& packetw2c_recv_mail_gifts_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fmail_2eproto();
  return *default_instance_;
}

packetw2c_recv_mail_gifts_result* packetw2c_recv_mail_gifts_result::default_instance_ = NULL;

packetw2c_recv_mail_gifts_result* packetw2c_recv_mail_gifts_result::New() const {
  return new packetw2c_recv_mail_gifts_result;
}

void packetw2c_recv_mail_gifts_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7514;
    if (has_mailid()) {
      if (mailid_ != &::google::protobuf::internal::kEmptyString) {
        mailid_->clear();
      }
    }
    result_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_recv_mail_gifts_result::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  ::google::protobuf::uint32 tag;
  while ((tag = input->ReadTag()) != 0) {
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_mail_gifts_result];
      case 1: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
          int value;
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
                 input, &value)));
          if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
          } else {
            mutable_unknown_fields()->AddVarint(1, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(18)) goto parse_mailId;
        break;
      }

      // optional string mailId = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_mailId:
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
                input, this->mutable_mailid()));
          ::google::protobuf::internal::WireFormat::VerifyUTF8String(
            this->mailid().data(), this->mailid().length(),
            ::google::protobuf::internal::WireFormat::PARSE);
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_result;
        break;
      }

      // optional int32 result = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_result:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &result_)));
          set_has_result();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectAtEnd()) return true;
        break;
      }

      default: {
      handle_uninterpreted:
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
          return true;
        }
        DO_(::google::protobuf::internal::WireFormat::SkipField(
              input, tag, mutable_unknown_fields()));
        break;
      }
    }
  }
  return true;
#undef DO_
}

void packetw2c_recv_mail_gifts_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_mail_gifts_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional string mailId = 2;
  if (has_mailid()) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8String(
      this->mailid().data(), this->mailid().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE);
    ::google::protobuf::internal::WireFormatLite::WriteString(
      2, this->mailid(), output);
  }

  // optional int32 result = 3;
  if (has_result()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->result(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_recv_mail_gifts_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_mail_gifts_result];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional string mailId = 2;
  if (has_mailid()) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8String(
      this->mailid().data(), this->mailid().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE);
    target =
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
        2, this->mailid(), target);
  }

  // optional int32 result = 3;
  if (has_result()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->result(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_recv_mail_gifts_result::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_mail_gifts_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional string mailId = 2;
    if (has_mailid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::StringSize(
          this->mailid());
    }

    // optional int32 result = 3;
    if (has_result()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->result());
    }

  }
  if (!unknown_fields().empty()) {
    total_size +=
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
        unknown_fields());
  }
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = total_size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  return total_size;
}

void packetw2c_recv_mail_gifts_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_recv_mail_gifts_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_mail_gifts_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_recv_mail_gifts_result::MergeFrom(const packetw2c_recv_mail_gifts_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_mailid()) {
      set_mailid(from.mailid());
    }
    if (from.has_result()) {
      set_result(from.result());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_recv_mail_gifts_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_recv_mail_gifts_result::CopyFrom(const packetw2c_recv_mail_gifts_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_recv_mail_gifts_result::IsInitialized() const {

  return true;
}

void packetw2c_recv_mail_gifts_result::Swap(packetw2c_recv_mail_gifts_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(mailid_, other->mailid_);
    std::swap(result_, other->result_);
    std::swap(_has_bits_[0], other->_has_bits_[0]);
    _unknown_fields_.Swap(&other->_unknown_fields_);
    std::swap(_cached_size_, other->_cached_size_);
  }
}

::google::protobuf::Metadata packetw2c_recv_mail_gifts_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_recv_mail_gifts_result_descriptor_;
  metadata.reflection = packetw2c_recv_mail_gifts_result_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetc2w_remove_mail::kPacketIdFieldNumber;
const int packetc2w_remove_mail::kMailIdFieldNumber;
#endif  // !_MSC_VER

packetc2w_remove_mail::packetc2w_remove_mail()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_remove_mail::InitAsDefaultInstance() {
}

packetc2w_remove_mail::packetc2w_remove_mail(const packetc2w_remove_mail& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_remove_mail::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5017;
  mailid_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_remove_mail::~packetc2w_remove_mail() {
  SharedDtor();
}

void packetc2w_remove_mail::SharedDtor() {
  if (mailid_ != &::google::protobuf::internal::kEmptyString) {
    delete mailid_;
  }
  if (this != default_instance_) {
  }
}

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

const packetc2w_remove_mail& packetc2w_remove_mail::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fmail_2eproto();
  return *default_instance_;
}

packetc2w_remove_mail* packetc2w_remove_mail::default_instance_ = NULL;

packetc2w_remove_mail* packetc2w_remove_mail::New() const {
  return new packetc2w_remove_mail;
}

void packetc2w_remove_mail::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5017;
    if (has_mailid()) {
      if (mailid_ != &::google::protobuf::internal::kEmptyString) {
        mailid_->clear();
      }
    }
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_remove_mail::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  ::google::protobuf::uint32 tag;
  while ((tag = input->ReadTag()) != 0) {
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_remove_mail];
      case 1: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
          int value;
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
                 input, &value)));
          if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
          } else {
            mutable_unknown_fields()->AddVarint(1, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(18)) goto parse_mailId;
        break;
      }

      // optional string mailId = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_mailId:
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
                input, this->mutable_mailid()));
          ::google::protobuf::internal::WireFormat::VerifyUTF8String(
            this->mailid().data(), this->mailid().length(),
            ::google::protobuf::internal::WireFormat::PARSE);
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectAtEnd()) return true;
        break;
      }

      default: {
      handle_uninterpreted:
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
          return true;
        }
        DO_(::google::protobuf::internal::WireFormat::SkipField(
              input, tag, mutable_unknown_fields()));
        break;
      }
    }
  }
  return true;
#undef DO_
}

void packetc2w_remove_mail::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_remove_mail];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional string mailId = 2;
  if (has_mailid()) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8String(
      this->mailid().data(), this->mailid().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE);
    ::google::protobuf::internal::WireFormatLite::WriteString(
      2, this->mailid(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetc2w_remove_mail::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_remove_mail];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional string mailId = 2;
  if (has_mailid()) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8String(
      this->mailid().data(), this->mailid().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE);
    target =
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
        2, this->mailid(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetc2w_remove_mail::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_remove_mail];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional string mailId = 2;
    if (has_mailid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::StringSize(
          this->mailid());
    }

  }
  if (!unknown_fields().empty()) {
    total_size +=
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
        unknown_fields());
  }
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = total_size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  return total_size;
}

void packetc2w_remove_mail::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_remove_mail* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_remove_mail*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_remove_mail::MergeFrom(const packetc2w_remove_mail& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_mailid()) {
      set_mailid(from.mailid());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_remove_mail::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_remove_mail::CopyFrom(const packetc2w_remove_mail& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_remove_mail::IsInitialized() const {

  return true;
}

void packetc2w_remove_mail::Swap(packetc2w_remove_mail* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(mailid_, other->mailid_);
    std::swap(_has_bits_[0], other->_has_bits_[0]);
    _unknown_fields_.Swap(&other->_unknown_fields_);
    std::swap(_cached_size_, other->_cached_size_);
  }
}

::google::protobuf::Metadata packetc2w_remove_mail::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_remove_mail_descriptor_;
  metadata.reflection = packetc2w_remove_mail_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetw2c_remove_mail_result::kPacketIdFieldNumber;
const int packetw2c_remove_mail_result::kMailIdFieldNumber;
const int packetw2c_remove_mail_result::kResultFieldNumber;
#endif  // !_MSC_VER

packetw2c_remove_mail_result::packetw2c_remove_mail_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_remove_mail_result::InitAsDefaultInstance() {
}

packetw2c_remove_mail_result::packetw2c_remove_mail_result(const packetw2c_remove_mail_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_remove_mail_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7516;
  mailid_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  result_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_remove_mail_result::~packetw2c_remove_mail_result() {
  SharedDtor();
}

void packetw2c_remove_mail_result::SharedDtor() {
  if (mailid_ != &::google::protobuf::internal::kEmptyString) {
    delete mailid_;
  }
  if (this != default_instance_) {
  }
}

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

const packetw2c_remove_mail_result& packetw2c_remove_mail_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fmail_2eproto();
  return *default_instance_;
}

packetw2c_remove_mail_result* packetw2c_remove_mail_result::default_instance_ = NULL;

packetw2c_remove_mail_result* packetw2c_remove_mail_result::New() const {
  return new packetw2c_remove_mail_result;
}

void packetw2c_remove_mail_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7516;
    if (has_mailid()) {
      if (mailid_ != &::google::protobuf::internal::kEmptyString) {
        mailid_->clear();
      }
    }
    result_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_remove_mail_result::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  ::google::protobuf::uint32 tag;
  while ((tag = input->ReadTag()) != 0) {
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_remove_mail_result];
      case 1: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
          int value;
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
                 input, &value)));
          if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
          } else {
            mutable_unknown_fields()->AddVarint(1, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(18)) goto parse_mailId;
        break;
      }

      // optional string mailId = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_mailId:
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
                input, this->mutable_mailid()));
          ::google::protobuf::internal::WireFormat::VerifyUTF8String(
            this->mailid().data(), this->mailid().length(),
            ::google::protobuf::internal::WireFormat::PARSE);
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_result;
        break;
      }

      // optional int32 result = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_result:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &result_)));
          set_has_result();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectAtEnd()) return true;
        break;
      }

      default: {
      handle_uninterpreted:
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
          return true;
        }
        DO_(::google::protobuf::internal::WireFormat::SkipField(
              input, tag, mutable_unknown_fields()));
        break;
      }
    }
  }
  return true;
#undef DO_
}

void packetw2c_remove_mail_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_remove_mail_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional string mailId = 2;
  if (has_mailid()) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8String(
      this->mailid().data(), this->mailid().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE);
    ::google::protobuf::internal::WireFormatLite::WriteString(
      2, this->mailid(), output);
  }

  // optional int32 result = 3;
  if (has_result()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->result(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_remove_mail_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_remove_mail_result];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional string mailId = 2;
  if (has_mailid()) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8String(
      this->mailid().data(), this->mailid().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE);
    target =
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
        2, this->mailid(), target);
  }

  // optional int32 result = 3;
  if (has_result()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->result(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_remove_mail_result::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_remove_mail_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional string mailId = 2;
    if (has_mailid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::StringSize(
          this->mailid());
    }

    // optional int32 result = 3;
    if (has_result()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->result());
    }

  }
  if (!unknown_fields().empty()) {
    total_size +=
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
        unknown_fields());
  }
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = total_size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  return total_size;
}

void packetw2c_remove_mail_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_remove_mail_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_remove_mail_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_remove_mail_result::MergeFrom(const packetw2c_remove_mail_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_mailid()) {
      set_mailid(from.mailid());
    }
    if (from.has_result()) {
      set_result(from.result());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_remove_mail_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_remove_mail_result::CopyFrom(const packetw2c_remove_mail_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_remove_mail_result::IsInitialized() const {

  return true;
}

void packetw2c_remove_mail_result::Swap(packetw2c_remove_mail_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(mailid_, other->mailid_);
    std::swap(result_, other->result_);
    std::swap(_has_bits_[0], other->_has_bits_[0]);
    _unknown_fields_.Swap(&other->_unknown_fields_);
    std::swap(_cached_size_, other->_cached_size_);
  }
}

::google::protobuf::Metadata packetw2c_remove_mail_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_remove_mail_result_descriptor_;
  metadata.reflection = packetw2c_remove_mail_result_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetw2c_accept_gift_notify::kPacketIdFieldNumber;
#endif  // !_MSC_VER

packetw2c_accept_gift_notify::packetw2c_accept_gift_notify()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_accept_gift_notify::InitAsDefaultInstance() {
}

packetw2c_accept_gift_notify::packetw2c_accept_gift_notify(const packetw2c_accept_gift_notify& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_accept_gift_notify::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7546;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_accept_gift_notify::~packetw2c_accept_gift_notify() {
  SharedDtor();
}

void packetw2c_accept_gift_notify::SharedDtor() {
  if (this != default_instance_) {
  }
}

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

const packetw2c_accept_gift_notify& packetw2c_accept_gift_notify::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fmail_2eproto();
  return *default_instance_;
}

packetw2c_accept_gift_notify* packetw2c_accept_gift_notify::default_instance_ = NULL;

packetw2c_accept_gift_notify* packetw2c_accept_gift_notify::New() const {
  return new packetw2c_accept_gift_notify;
}

void packetw2c_accept_gift_notify::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7546;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_accept_gift_notify::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  ::google::protobuf::uint32 tag;
  while ((tag = input->ReadTag()) != 0) {
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_accept_gift_notify];
      case 1: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
          int value;
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
                 input, &value)));
          if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
          } else {
            mutable_unknown_fields()->AddVarint(1, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectAtEnd()) return true;
        break;
      }

      default: {
      handle_uninterpreted:
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
          return true;
        }
        DO_(::google::protobuf::internal::WireFormat::SkipField(
              input, tag, mutable_unknown_fields()));
        break;
      }
    }
  }
  return true;
#undef DO_
}

void packetw2c_accept_gift_notify::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_accept_gift_notify];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_accept_gift_notify::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_accept_gift_notify];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_accept_gift_notify::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_accept_gift_notify];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

  }
  if (!unknown_fields().empty()) {
    total_size +=
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
        unknown_fields());
  }
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = total_size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  return total_size;
}

void packetw2c_accept_gift_notify::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_accept_gift_notify* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_accept_gift_notify*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_accept_gift_notify::MergeFrom(const packetw2c_accept_gift_notify& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_accept_gift_notify::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_accept_gift_notify::CopyFrom(const packetw2c_accept_gift_notify& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_accept_gift_notify::IsInitialized() const {

  return true;
}

void packetw2c_accept_gift_notify::Swap(packetw2c_accept_gift_notify* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(_has_bits_[0], other->_has_bits_[0]);
    _unknown_fields_.Swap(&other->_unknown_fields_);
    std::swap(_cached_size_, other->_cached_size_);
  }
}

::google::protobuf::Metadata packetw2c_accept_gift_notify::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_accept_gift_notify_descriptor_;
  metadata.reflection = packetw2c_accept_gift_notify_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetc2w_req_send_mail_log::kPacketIdFieldNumber;
const int packetc2w_req_send_mail_log::kLastTimeFieldNumber;
#endif  // !_MSC_VER

packetc2w_req_send_mail_log::packetc2w_req_send_mail_log()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_req_send_mail_log::InitAsDefaultInstance() {
}

packetc2w_req_send_mail_log::packetc2w_req_send_mail_log(const packetc2w_req_send_mail_log& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_req_send_mail_log::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5045;
  lasttime_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_req_send_mail_log::~packetc2w_req_send_mail_log() {
  SharedDtor();
}

void packetc2w_req_send_mail_log::SharedDtor() {
  if (this != default_instance_) {
  }
}

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

const packetc2w_req_send_mail_log& packetc2w_req_send_mail_log::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fmail_2eproto();
  return *default_instance_;
}

packetc2w_req_send_mail_log* packetc2w_req_send_mail_log::default_instance_ = NULL;

packetc2w_req_send_mail_log* packetc2w_req_send_mail_log::New() const {
  return new packetc2w_req_send_mail_log;
}

void packetc2w_req_send_mail_log::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5045;
    lasttime_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_req_send_mail_log::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  ::google::protobuf::uint32 tag;
  while ((tag = input->ReadTag()) != 0) {
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_send_mail_log];
      case 1: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
          int value;
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
                 input, &value)));
          if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
          } else {
            mutable_unknown_fields()->AddVarint(1, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_lastTime;
        break;
      }

      // optional int32 lastTime = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_lastTime:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &lasttime_)));
          set_has_lasttime();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectAtEnd()) return true;
        break;
      }

      default: {
      handle_uninterpreted:
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
          return true;
        }
        DO_(::google::protobuf::internal::WireFormat::SkipField(
              input, tag, mutable_unknown_fields()));
        break;
      }
    }
  }
  return true;
#undef DO_
}

void packetc2w_req_send_mail_log::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_send_mail_log];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional int32 lastTime = 2;
  if (has_lasttime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->lasttime(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetc2w_req_send_mail_log::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_send_mail_log];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional int32 lastTime = 2;
  if (has_lasttime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->lasttime(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetc2w_req_send_mail_log::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_send_mail_log];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 lastTime = 2;
    if (has_lasttime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->lasttime());
    }

  }
  if (!unknown_fields().empty()) {
    total_size +=
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
        unknown_fields());
  }
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = total_size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  return total_size;
}

void packetc2w_req_send_mail_log::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_req_send_mail_log* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_req_send_mail_log*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_req_send_mail_log::MergeFrom(const packetc2w_req_send_mail_log& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_lasttime()) {
      set_lasttime(from.lasttime());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_req_send_mail_log::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_req_send_mail_log::CopyFrom(const packetc2w_req_send_mail_log& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_req_send_mail_log::IsInitialized() const {

  return true;
}

void packetc2w_req_send_mail_log::Swap(packetc2w_req_send_mail_log* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(lasttime_, other->lasttime_);
    std::swap(_has_bits_[0], other->_has_bits_[0]);
    _unknown_fields_.Swap(&other->_unknown_fields_);
    std::swap(_cached_size_, other->_cached_size_);
  }
}

::google::protobuf::Metadata packetc2w_req_send_mail_log::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_req_send_mail_log_descriptor_;
  metadata.reflection = packetc2w_req_send_mail_log_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int SendMailLogInfo::kSendTimeFieldNumber;
const int SendMailLogInfo::kFirendIdFieldNumber;
const int SendMailLogInfo::kContentFieldNumber;
const int SendMailLogInfo::kMailIdFieldNumber;
const int SendMailLogInfo::kTitleFieldNumber;
const int SendMailLogInfo::kFriendNickNameFieldNumber;
#endif  // !_MSC_VER

SendMailLogInfo::SendMailLogInfo()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void SendMailLogInfo::InitAsDefaultInstance() {
}

SendMailLogInfo::SendMailLogInfo(const SendMailLogInfo& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void SendMailLogInfo::SharedCtor() {
  _cached_size_ = 0;
  sendtime_ = 0;
  firendid_ = 0;
  content_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  mailid_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  title_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  friendnickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

SendMailLogInfo::~SendMailLogInfo() {
  SharedDtor();
}

void SendMailLogInfo::SharedDtor() {
  if (content_ != &::google::protobuf::internal::kEmptyString) {
    delete content_;
  }
  if (mailid_ != &::google::protobuf::internal::kEmptyString) {
    delete mailid_;
  }
  if (title_ != &::google::protobuf::internal::kEmptyString) {
    delete title_;
  }
  if (friendnickname_ != &::google::protobuf::internal::kEmptyString) {
    delete friendnickname_;
  }
  if (this != default_instance_) {
  }
}

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

const SendMailLogInfo& SendMailLogInfo::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fmail_2eproto();
  return *default_instance_;
}

SendMailLogInfo* SendMailLogInfo::default_instance_ = NULL;

SendMailLogInfo* SendMailLogInfo::New() const {
  return new SendMailLogInfo;
}

void SendMailLogInfo::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    sendtime_ = 0;
    firendid_ = 0;
    if (has_content()) {
      if (content_ != &::google::protobuf::internal::kEmptyString) {
        content_->clear();
      }
    }
    if (has_mailid()) {
      if (mailid_ != &::google::protobuf::internal::kEmptyString) {
        mailid_->clear();
      }
    }
    if (has_title()) {
      if (title_ != &::google::protobuf::internal::kEmptyString) {
        title_->clear();
      }
    }
    if (has_friendnickname()) {
      if (friendnickname_ != &::google::protobuf::internal::kEmptyString) {
        friendnickname_->clear();
      }
    }
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool SendMailLogInfo::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  ::google::protobuf::uint32 tag;
  while ((tag = input->ReadTag()) != 0) {
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional int32 sendTime = 1;
      case 1: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &sendtime_)));
          set_has_sendtime();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(16)) goto parse_firendId;
        break;
      }

      // optional int32 firendId = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_firendId:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &firendid_)));
          set_has_firendid();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(26)) goto parse_content;
        break;
      }

      // optional string content = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_content:
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
                input, this->mutable_content()));
          ::google::protobuf::internal::WireFormat::VerifyUTF8String(
            this->content().data(), this->content().length(),
            ::google::protobuf::internal::WireFormat::PARSE);
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(34)) goto parse_mailId;
        break;
      }

      // optional string mailId = 4;
      case 4: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_mailId:
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
                input, this->mutable_mailid()));
          ::google::protobuf::internal::WireFormat::VerifyUTF8String(
            this->mailid().data(), this->mailid().length(),
            ::google::protobuf::internal::WireFormat::PARSE);
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(42)) goto parse_title;
        break;
      }

      // optional string title = 5;
      case 5: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_title:
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
                input, this->mutable_title()));
          ::google::protobuf::internal::WireFormat::VerifyUTF8String(
            this->title().data(), this->title().length(),
            ::google::protobuf::internal::WireFormat::PARSE);
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(50)) goto parse_friendNickName;
        break;
      }

      // optional string friendNickName = 6;
      case 6: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_friendNickName:
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
                input, this->mutable_friendnickname()));
          ::google::protobuf::internal::WireFormat::VerifyUTF8String(
            this->friendnickname().data(), this->friendnickname().length(),
            ::google::protobuf::internal::WireFormat::PARSE);
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectAtEnd()) return true;
        break;
      }

      default: {
      handle_uninterpreted:
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
          return true;
        }
        DO_(::google::protobuf::internal::WireFormat::SkipField(
              input, tag, mutable_unknown_fields()));
        break;
      }
    }
  }
  return true;
#undef DO_
}

void SendMailLogInfo::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional int32 sendTime = 1;
  if (has_sendtime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->sendtime(), output);
  }

  // optional int32 firendId = 2;
  if (has_firendid()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->firendid(), output);
  }

  // optional string content = 3;
  if (has_content()) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8String(
      this->content().data(), this->content().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE);
    ::google::protobuf::internal::WireFormatLite::WriteString(
      3, this->content(), output);
  }

  // optional string mailId = 4;
  if (has_mailid()) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8String(
      this->mailid().data(), this->mailid().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE);
    ::google::protobuf::internal::WireFormatLite::WriteString(
      4, this->mailid(), output);
  }

  // optional string title = 5;
  if (has_title()) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8String(
      this->title().data(), this->title().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE);
    ::google::protobuf::internal::WireFormatLite::WriteString(
      5, this->title(), output);
  }

  // optional string friendNickName = 6;
  if (has_friendnickname()) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8String(
      this->friendnickname().data(), this->friendnickname().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE);
    ::google::protobuf::internal::WireFormatLite::WriteString(
      6, this->friendnickname(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* SendMailLogInfo::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional int32 sendTime = 1;
  if (has_sendtime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->sendtime(), target);
  }

  // optional int32 firendId = 2;
  if (has_firendid()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->firendid(), target);
  }

  // optional string content = 3;
  if (has_content()) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8String(
      this->content().data(), this->content().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE);
    target =
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
        3, this->content(), target);
  }

  // optional string mailId = 4;
  if (has_mailid()) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8String(
      this->mailid().data(), this->mailid().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE);
    target =
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
        4, this->mailid(), target);
  }

  // optional string title = 5;
  if (has_title()) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8String(
      this->title().data(), this->title().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE);
    target =
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
        5, this->title(), target);
  }

  // optional string friendNickName = 6;
  if (has_friendnickname()) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8String(
      this->friendnickname().data(), this->friendnickname().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE);
    target =
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
        6, this->friendnickname(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int SendMailLogInfo::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional int32 sendTime = 1;
    if (has_sendtime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->sendtime());
    }

    // optional int32 firendId = 2;
    if (has_firendid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->firendid());
    }

    // optional string content = 3;
    if (has_content()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::StringSize(
          this->content());
    }

    // optional string mailId = 4;
    if (has_mailid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::StringSize(
          this->mailid());
    }

    // optional string title = 5;
    if (has_title()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::StringSize(
          this->title());
    }

    // optional string friendNickName = 6;
    if (has_friendnickname()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::StringSize(
          this->friendnickname());
    }

  }
  if (!unknown_fields().empty()) {
    total_size +=
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
        unknown_fields());
  }
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = total_size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  return total_size;
}

void SendMailLogInfo::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const SendMailLogInfo* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const SendMailLogInfo*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void SendMailLogInfo::MergeFrom(const SendMailLogInfo& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_sendtime()) {
      set_sendtime(from.sendtime());
    }
    if (from.has_firendid()) {
      set_firendid(from.firendid());
    }
    if (from.has_content()) {
      set_content(from.content());
    }
    if (from.has_mailid()) {
      set_mailid(from.mailid());
    }
    if (from.has_title()) {
      set_title(from.title());
    }
    if (from.has_friendnickname()) {
      set_friendnickname(from.friendnickname());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void SendMailLogInfo::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void SendMailLogInfo::CopyFrom(const SendMailLogInfo& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool SendMailLogInfo::IsInitialized() const {

  return true;
}

void SendMailLogInfo::Swap(SendMailLogInfo* other) {
  if (other != this) {
    std::swap(sendtime_, other->sendtime_);
    std::swap(firendid_, other->firendid_);
    std::swap(content_, other->content_);
    std::swap(mailid_, other->mailid_);
    std::swap(title_, other->title_);
    std::swap(friendnickname_, other->friendnickname_);
    std::swap(_has_bits_[0], other->_has_bits_[0]);
    _unknown_fields_.Swap(&other->_unknown_fields_);
    std::swap(_cached_size_, other->_cached_size_);
  }
}

::google::protobuf::Metadata SendMailLogInfo::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = SendMailLogInfo_descriptor_;
  metadata.reflection = SendMailLogInfo_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetw2c_req_send_mail_log_result::kPacketIdFieldNumber;
const int packetw2c_req_send_mail_log_result::kLogListFieldNumber;
const int packetw2c_req_send_mail_log_result::kLastTimeFieldNumber;
#endif  // !_MSC_VER

packetw2c_req_send_mail_log_result::packetw2c_req_send_mail_log_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_req_send_mail_log_result::InitAsDefaultInstance() {
}

packetw2c_req_send_mail_log_result::packetw2c_req_send_mail_log_result(const packetw2c_req_send_mail_log_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_req_send_mail_log_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7549;
  lasttime_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_req_send_mail_log_result::~packetw2c_req_send_mail_log_result() {
  SharedDtor();
}

void packetw2c_req_send_mail_log_result::SharedDtor() {
  if (this != default_instance_) {
  }
}

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

const packetw2c_req_send_mail_log_result& packetw2c_req_send_mail_log_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fmail_2eproto();
  return *default_instance_;
}

packetw2c_req_send_mail_log_result* packetw2c_req_send_mail_log_result::default_instance_ = NULL;

packetw2c_req_send_mail_log_result* packetw2c_req_send_mail_log_result::New() const {
  return new packetw2c_req_send_mail_log_result;
}

void packetw2c_req_send_mail_log_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7549;
    lasttime_ = 0;
  }
  loglist_.Clear();
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_req_send_mail_log_result::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  ::google::protobuf::uint32 tag;
  while ((tag = input->ReadTag()) != 0) {
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_send_mail_log_result];
      case 1: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
          int value;
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
                 input, &value)));
          if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
          } else {
            mutable_unknown_fields()->AddVarint(1, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(18)) goto parse_logList;
        break;
      }

      // repeated .client2world_protocols.SendMailLogInfo logList = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_logList:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
                input, add_loglist()));
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(18)) goto parse_logList;
        if (input->ExpectTag(24)) goto parse_lastTime;
        break;
      }

      // optional int32 lastTime = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_lastTime:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &lasttime_)));
          set_has_lasttime();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectAtEnd()) return true;
        break;
      }

      default: {
      handle_uninterpreted:
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
          return true;
        }
        DO_(::google::protobuf::internal::WireFormat::SkipField(
              input, tag, mutable_unknown_fields()));
        break;
      }
    }
  }
  return true;
#undef DO_
}

void packetw2c_req_send_mail_log_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_send_mail_log_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // repeated .client2world_protocols.SendMailLogInfo logList = 2;
  for (int i = 0; i < this->loglist_size(); i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      2, this->loglist(i), output);
  }

  // optional int32 lastTime = 3;
  if (has_lasttime()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->lasttime(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_req_send_mail_log_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_send_mail_log_result];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // repeated .client2world_protocols.SendMailLogInfo logList = 2;
  for (int i = 0; i < this->loglist_size(); i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      WriteMessageNoVirtualToArray(
        2, this->loglist(i), target);
  }

  // optional int32 lastTime = 3;
  if (has_lasttime()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->lasttime(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_req_send_mail_log_result::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_send_mail_log_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional int32 lastTime = 3;
    if (has_lasttime()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->lasttime());
    }

  }
  // repeated .client2world_protocols.SendMailLogInfo logList = 2;
  total_size += 1 * this->loglist_size();
  for (int i = 0; i < this->loglist_size(); i++) {
    total_size +=
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        this->loglist(i));
  }

  if (!unknown_fields().empty()) {
    total_size +=
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
        unknown_fields());
  }
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = total_size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  return total_size;
}

void packetw2c_req_send_mail_log_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_req_send_mail_log_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_req_send_mail_log_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_req_send_mail_log_result::MergeFrom(const packetw2c_req_send_mail_log_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  loglist_.MergeFrom(from.loglist_);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_lasttime()) {
      set_lasttime(from.lasttime());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_req_send_mail_log_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_req_send_mail_log_result::CopyFrom(const packetw2c_req_send_mail_log_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_req_send_mail_log_result::IsInitialized() const {

  return true;
}

void packetw2c_req_send_mail_log_result::Swap(packetw2c_req_send_mail_log_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    loglist_.Swap(&other->loglist_);
    std::swap(lasttime_, other->lasttime_);
    std::swap(_has_bits_[0], other->_has_bits_[0]);
    _unknown_fields_.Swap(&other->_unknown_fields_);
    std::swap(_cached_size_, other->_cached_size_);
  }
}

::google::protobuf::Metadata packetw2c_req_send_mail_log_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_req_send_mail_log_result_descriptor_;
  metadata.reflection = packetw2c_req_send_mail_log_result_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetc2w_remove_mail_log::kPacketIdFieldNumber;
const int packetc2w_remove_mail_log::kMailIdFieldNumber;
#endif  // !_MSC_VER

packetc2w_remove_mail_log::packetc2w_remove_mail_log()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetc2w_remove_mail_log::InitAsDefaultInstance() {
}

packetc2w_remove_mail_log::packetc2w_remove_mail_log(const packetc2w_remove_mail_log& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetc2w_remove_mail_log::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 5046;
  mailid_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetc2w_remove_mail_log::~packetc2w_remove_mail_log() {
  SharedDtor();
}

void packetc2w_remove_mail_log::SharedDtor() {
  if (mailid_ != &::google::protobuf::internal::kEmptyString) {
    delete mailid_;
  }
  if (this != default_instance_) {
  }
}

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

const packetc2w_remove_mail_log& packetc2w_remove_mail_log::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fmail_2eproto();
  return *default_instance_;
}

packetc2w_remove_mail_log* packetc2w_remove_mail_log::default_instance_ = NULL;

packetc2w_remove_mail_log* packetc2w_remove_mail_log::New() const {
  return new packetc2w_remove_mail_log;
}

void packetc2w_remove_mail_log::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 5046;
    if (has_mailid()) {
      if (mailid_ != &::google::protobuf::internal::kEmptyString) {
        mailid_->clear();
      }
    }
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetc2w_remove_mail_log::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  ::google::protobuf::uint32 tag;
  while ((tag = input->ReadTag()) != 0) {
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_remove_mail_log];
      case 1: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
          int value;
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
                 input, &value)));
          if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
          } else {
            mutable_unknown_fields()->AddVarint(1, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(18)) goto parse_mailId;
        break;
      }

      // optional string mailId = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_mailId:
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
                input, this->mutable_mailid()));
          ::google::protobuf::internal::WireFormat::VerifyUTF8String(
            this->mailid().data(), this->mailid().length(),
            ::google::protobuf::internal::WireFormat::PARSE);
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectAtEnd()) return true;
        break;
      }

      default: {
      handle_uninterpreted:
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
          return true;
        }
        DO_(::google::protobuf::internal::WireFormat::SkipField(
              input, tag, mutable_unknown_fields()));
        break;
      }
    }
  }
  return true;
#undef DO_
}

void packetc2w_remove_mail_log::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_remove_mail_log];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional string mailId = 2;
  if (has_mailid()) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8String(
      this->mailid().data(), this->mailid().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE);
    ::google::protobuf::internal::WireFormatLite::WriteString(
      2, this->mailid(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetc2w_remove_mail_log::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_remove_mail_log];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional string mailId = 2;
  if (has_mailid()) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8String(
      this->mailid().data(), this->mailid().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE);
    target =
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
        2, this->mailid(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetc2w_remove_mail_log::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_remove_mail_log];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional string mailId = 2;
    if (has_mailid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::StringSize(
          this->mailid());
    }

  }
  if (!unknown_fields().empty()) {
    total_size +=
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
        unknown_fields());
  }
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = total_size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  return total_size;
}

void packetc2w_remove_mail_log::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetc2w_remove_mail_log* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_remove_mail_log*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetc2w_remove_mail_log::MergeFrom(const packetc2w_remove_mail_log& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_mailid()) {
      set_mailid(from.mailid());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetc2w_remove_mail_log::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetc2w_remove_mail_log::CopyFrom(const packetc2w_remove_mail_log& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetc2w_remove_mail_log::IsInitialized() const {

  return true;
}

void packetc2w_remove_mail_log::Swap(packetc2w_remove_mail_log* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(mailid_, other->mailid_);
    std::swap(_has_bits_[0], other->_has_bits_[0]);
    _unknown_fields_.Swap(&other->_unknown_fields_);
    std::swap(_cached_size_, other->_cached_size_);
  }
}

::google::protobuf::Metadata packetc2w_remove_mail_log::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetc2w_remove_mail_log_descriptor_;
  metadata.reflection = packetc2w_remove_mail_log_reflection_;
  return metadata;
}


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

#ifndef _MSC_VER
const int packetw2c_remove_mail_log_result::kPacketIdFieldNumber;
const int packetw2c_remove_mail_log_result::kMailIdFieldNumber;
const int packetw2c_remove_mail_log_result::kResultFieldNumber;
#endif  // !_MSC_VER

packetw2c_remove_mail_log_result::packetw2c_remove_mail_log_result()
  : ::google::protobuf::Message() {
  SharedCtor();
}

void packetw2c_remove_mail_log_result::InitAsDefaultInstance() {
}

packetw2c_remove_mail_log_result::packetw2c_remove_mail_log_result(const packetw2c_remove_mail_log_result& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
}

void packetw2c_remove_mail_log_result::SharedCtor() {
  _cached_size_ = 0;
  packet_id_ = 7550;
  mailid_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  result_ = 0;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

packetw2c_remove_mail_log_result::~packetw2c_remove_mail_log_result() {
  SharedDtor();
}

void packetw2c_remove_mail_log_result::SharedDtor() {
  if (mailid_ != &::google::protobuf::internal::kEmptyString) {
    delete mailid_;
  }
  if (this != default_instance_) {
  }
}

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

const packetw2c_remove_mail_log_result& packetw2c_remove_mail_log_result::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fmail_2eproto();
  return *default_instance_;
}

packetw2c_remove_mail_log_result* packetw2c_remove_mail_log_result::default_instance_ = NULL;

packetw2c_remove_mail_log_result* packetw2c_remove_mail_log_result::New() const {
  return new packetw2c_remove_mail_log_result;
}

void packetw2c_remove_mail_log_result::Clear() {
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    packet_id_ = 7550;
    if (has_mailid()) {
      if (mailid_ != &::google::protobuf::internal::kEmptyString) {
        mailid_->clear();
      }
    }
    result_ = 0;
  }
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  mutable_unknown_fields()->Clear();
}

bool packetw2c_remove_mail_log_result::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  ::google::protobuf::uint32 tag;
  while ((tag = input->ReadTag()) != 0) {
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_remove_mail_log_result];
      case 1: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
          int value;
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
                 input, &value)));
          if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
            set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
          } else {
            mutable_unknown_fields()->AddVarint(1, value);
          }
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(18)) goto parse_mailId;
        break;
      }

      // optional string mailId = 2;
      case 2: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
         parse_mailId:
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
                input, this->mutable_mailid()));
          ::google::protobuf::internal::WireFormat::VerifyUTF8String(
            this->mailid().data(), this->mailid().length(),
            ::google::protobuf::internal::WireFormat::PARSE);
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectTag(24)) goto parse_result;
        break;
      }

      // optional int32 result = 3;
      case 3: {
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
         parse_result:
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &result_)));
          set_has_result();
        } else {
          goto handle_uninterpreted;
        }
        if (input->ExpectAtEnd()) return true;
        break;
      }

      default: {
      handle_uninterpreted:
        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
          return true;
        }
        DO_(::google::protobuf::internal::WireFormat::SkipField(
              input, tag, mutable_unknown_fields()));
        break;
      }
    }
  }
  return true;
#undef DO_
}

void packetw2c_remove_mail_log_result::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_remove_mail_log_result];
  if (has_packet_id()) {
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
      1, this->packet_id(), output);
  }

  // optional string mailId = 2;
  if (has_mailid()) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8String(
      this->mailid().data(), this->mailid().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE);
    ::google::protobuf::internal::WireFormatLite::WriteString(
      2, this->mailid(), output);
  }

  // optional int32 result = 3;
  if (has_result()) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->result(), output);
  }

  if (!unknown_fields().empty()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
}

::google::protobuf::uint8* packetw2c_remove_mail_log_result::SerializeWithCachedSizesToArray(
    ::google::protobuf::uint8* target) const {
  // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_remove_mail_log_result];
  if (has_packet_id()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
      1, this->packet_id(), target);
  }

  // optional string mailId = 2;
  if (has_mailid()) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8String(
      this->mailid().data(), this->mailid().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE);
    target =
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
        2, this->mailid(), target);
  }

  // optional int32 result = 3;
  if (has_result()) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->result(), target);
  }

  if (!unknown_fields().empty()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  return target;
}

int packetw2c_remove_mail_log_result::ByteSize() const {
  int total_size = 0;

  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_remove_mail_log_result];
    if (has_packet_id()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
    }

    // optional string mailId = 2;
    if (has_mailid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::StringSize(
          this->mailid());
    }

    // optional int32 result = 3;
    if (has_result()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->result());
    }

  }
  if (!unknown_fields().empty()) {
    total_size +=
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
        unknown_fields());
  }
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = total_size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  return total_size;
}

void packetw2c_remove_mail_log_result::MergeFrom(const ::google::protobuf::Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  const packetw2c_remove_mail_log_result* source =
    ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_remove_mail_log_result*>(
      &from);
  if (source == NULL) {
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
    MergeFrom(*source);
  }
}

void packetw2c_remove_mail_log_result::MergeFrom(const packetw2c_remove_mail_log_result& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_packet_id()) {
      set_packet_id(from.packet_id());
    }
    if (from.has_mailid()) {
      set_mailid(from.mailid());
    }
    if (from.has_result()) {
      set_result(from.result());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}

void packetw2c_remove_mail_log_result::CopyFrom(const ::google::protobuf::Message& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void packetw2c_remove_mail_log_result::CopyFrom(const packetw2c_remove_mail_log_result& from) {
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool packetw2c_remove_mail_log_result::IsInitialized() const {

  return true;
}

void packetw2c_remove_mail_log_result::Swap(packetw2c_remove_mail_log_result* other) {
  if (other != this) {
    std::swap(packet_id_, other->packet_id_);
    std::swap(mailid_, other->mailid_);
    std::swap(result_, other->result_);
    std::swap(_has_bits_[0], other->_has_bits_[0]);
    _unknown_fields_.Swap(&other->_unknown_fields_);
    std::swap(_cached_size_, other->_cached_size_);
  }
}

::google::protobuf::Metadata packetw2c_remove_mail_log_result::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = packetw2c_remove_mail_log_result_descriptor_;
  metadata.reflection = packetw2c_remove_mail_log_result_reflection_;
  return metadata;
}


// @@protoc_insertion_point(namespace_scope)

}  // namespace client2world_protocols

// @@protoc_insertion_point(global_scope)
