# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: cai/pb/im/msg/msg_head/msg_head.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()




DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%cai/pb/im/msg/msg_head/msg_head.proto\x12\x0fim.msg.msg_head\"\xd4\x01\n\x07\x43\x32\x43Head\x12\x0e\n\x06to_uin\x18\x01 \x01(\x04\x12\x10\n\x08\x66rom_uin\x18\x02 \x01(\x04\x12\x0f\n\x07\x63\x63_type\x18\x03 \x01(\r\x12\x0e\n\x06\x63\x63_cmd\x18\x04 \x01(\r\x12\x14\n\x0c\x61uth_pic_sig\x18\x05 \x01(\x0c\x12\x10\n\x08\x61uth_sig\x18\x06 \x01(\x0c\x12\x10\n\x08\x61uth_buf\x18\x07 \x01(\x0c\x12\x13\n\x0bserver_time\x18\x08 \x01(\r\x12\x13\n\x0b\x63lient_time\x18\t \x01(\r\x12\x0c\n\x04rand\x18\n \x01(\r\x12\x14\n\x0cphone_number\x18\x0b \x01(\t\"\xb7\x03\n\x06\x43SHead\x12\x0b\n\x03uin\x18\x01 \x01(\x04\x12\x0f\n\x07\x63ommand\x18\x02 \x01(\r\x12\x0b\n\x03seq\x18\x03 \x01(\r\x12\x0f\n\x07version\x18\x04 \x01(\r\x12\x13\n\x0bretry_times\x18\x05 \x01(\r\x12\x13\n\x0b\x63lient_type\x18\x06 \x01(\r\x12\r\n\x05pubno\x18\x07 \x01(\r\x12\x0f\n\x07localid\x18\x08 \x01(\r\x12\x10\n\x08timezone\x18\t \x01(\r\x12\x11\n\tclient_ip\x18\n \x01(\x07\x12\x13\n\x0b\x63lient_port\x18\x0b \x01(\r\x12\x0f\n\x07\x63onn_ip\x18\x0c \x01(\x07\x12\x11\n\tconn_port\x18\r \x01(\r\x12\x14\n\x0cinterface_ip\x18\x0e \x01(\x07\x12\x16\n\x0einterface_port\x18\x0f \x01(\r\x12\x11\n\tactual_ip\x18\x10 \x01(\x07\x12\x0c\n\x04\x66lag\x18\x11 \x01(\r\x12\x11\n\ttimestamp\x18\x12 \x01(\x07\x12\x0e\n\x06subcmd\x18\x13 \x01(\r\x12\x0e\n\x06result\x18\x14 \x01(\r\x12\x0e\n\x06\x61pp_id\x18\x15 \x01(\r\x12\x13\n\x0binstance_id\x18\x16 \x01(\r\x12\x12\n\nsession_id\x18\x17 \x01(\x04\x12\x0e\n\x06idc_id\x18\x18 \x01(\r\"\x85\x01\n\tDeltaHead\x12\x11\n\ttotal_len\x18\x01 \x01(\x04\x12\x0e\n\x06offset\x18\x02 \x01(\x04\x12\x12\n\nack_offset\x18\x03 \x01(\x04\x12\x0e\n\x06\x63ookie\x18\x04 \x01(\x0c\x12\x12\n\nack_cookie\x18\x05 \x01(\x0c\x12\x0e\n\x06result\x18\x06 \x01(\r\x12\r\n\x05\x66lags\x18\x07 \x01(\r\"\xa1\x03\n\x04Head\x12\x11\n\thead_type\x18\x01 \x01(\r\x12(\n\x07\x63s_head\x18\x02 \x01(\x0b\x32\x17.im.msg.msg_head.CSHead\x12*\n\x08s2c_head\x18\x03 \x01(\x0b\x32\x18.im.msg.msg_head.S2CHead\x12\x34\n\rhttpconn_head\x18\x04 \x01(\x0b\x32\x1d.im.msg.msg_head.HttpConnHead\x12\x12\n\npaint_flag\x18\x05 \x01(\r\x12,\n\tlogin_sig\x18\x06 \x01(\x0b\x32\x19.im.msg.msg_head.LoginSig\x12.\n\ndelta_head\x18\x07 \x01(\x0b\x32\x1a.im.msg.msg_head.DeltaHead\x12*\n\x08\x63\x32\x63_head\x18\x08 \x01(\x0b\x32\x18.im.msg.msg_head.C2CHead\x12.\n\nsconn_head\x18\t \x01(\x0b\x32\x1a.im.msg.msg_head.SConnHead\x12,\n\tinst_ctrl\x18\n \x01(\x0b\x32\x19.im.msg.msg_head.InstCtrl\"\x98\x04\n\x0cHttpConnHead\x12\x0b\n\x03uin\x18\x01 \x01(\x04\x12\x0f\n\x07\x63ommand\x18\x02 \x01(\r\x12\x13\n\x0bsub_command\x18\x03 \x01(\r\x12\x0b\n\x03seq\x18\x04 \x01(\r\x12\x0f\n\x07version\x18\x05 \x01(\r\x12\x13\n\x0bretry_times\x18\x06 \x01(\r\x12\x13\n\x0b\x63lient_type\x18\x07 \x01(\r\x12\x0e\n\x06pub_no\x18\x08 \x01(\r\x12\x10\n\x08local_id\x18\t \x01(\r\x12\x11\n\ttime_zone\x18\n \x01(\r\x12\x11\n\tclient_ip\x18\x0b \x01(\x07\x12\x13\n\x0b\x63lient_port\x18\x0c \x01(\r\x12\x11\n\tqzhttp_ip\x18\r \x01(\x07\x12\x13\n\x0bqzhttp_port\x18\x0e \x01(\r\x12\x0e\n\x06spp_ip\x18\x0f \x01(\x07\x12\x10\n\x08spp_port\x18\x10 \x01(\r\x12\x0c\n\x04\x66lag\x18\x11 \x01(\r\x12\x0b\n\x03key\x18\x12 \x01(\x0c\x12\x15\n\rcompress_type\x18\x13 \x01(\r\x12\x13\n\x0borigin_size\x18\x14 \x01(\r\x12\x12\n\nerror_code\x18\x15 \x01(\r\x12.\n\x08redirect\x18\x16 \x01(\x0b\x32\x1c.im.msg.msg_head.RedirectMsg\x12\x12\n\ncommand_id\x18\x17 \x01(\r\x12\x15\n\rservice_cmdid\x18\x18 \x01(\r\x12\x30\n\x08oidbhead\x18\x19 \x01(\x0b\x32\x1e.im.msg.msg_head.TransOidbHead\"\x9a\x01\n\x08InstCtrl\x12/\n\x0csend_to_inst\x18\x01 \x03(\x0b\x32\x19.im.msg.msg_head.InstInfo\x12/\n\x0c\x65xclude_inst\x18\x02 \x03(\x0b\x32\x19.im.msg.msg_head.InstInfo\x12,\n\tfrom_inst\x18\x03 \x01(\x0b\x32\x19.im.msg.msg_head.InstInfo\"V\n\x08InstInfo\x12\x0e\n\x06\x61pppid\x18\x01 \x01(\r\x12\x0e\n\x06instid\x18\x02 \x01(\r\x12\x10\n\x08platform\x18\x03 \x01(\r\x12\x18\n\x10\x65num_device_type\x18\n \x01(\r\"%\n\x08LoginSig\x12\x0c\n\x04type\x18\x01 \x01(\r\x12\x0b\n\x03sig\x18\x02 \x01(\x0c\"\x87\x01\n\x0bRedirectMsg\x12\x18\n\x10last_redirect_ip\x18\x01 \x01(\x07\x12\x1a\n\x12last_redirect_port\x18\x02 \x01(\r\x12\x13\n\x0bredirect_ip\x18\x03 \x01(\x07\x12\x15\n\rredirect_port\x18\x04 \x01(\r\x12\x16\n\x0eredirect_count\x18\x05 \x01(\r\"\x88\x01\n\x07S2CHead\x12\x13\n\x0bsub_msgtype\x18\x01 \x01(\r\x12\x10\n\x08msg_type\x18\x02 \x01(\r\x12\x10\n\x08\x66rom_uin\x18\x03 \x01(\x04\x12\x0e\n\x06msg_id\x18\x04 \x01(\r\x12\x10\n\x08relay_ip\x18\x05 \x01(\x07\x12\x12\n\nrelay_port\x18\x06 \x01(\r\x12\x0e\n\x06to_uin\x18\x07 \x01(\x04\"\x0b\n\tSConnHead\"Y\n\rTransOidbHead\x12\x0f\n\x07\x63ommand\x18\x01 \x01(\r\x12\x14\n\x0cservice_type\x18\x02 \x01(\r\x12\x0e\n\x06result\x18\x03 \x01(\r\x12\x11\n\terror_msg\x18\x04 \x01(\t')



_C2CHEAD = DESCRIPTOR.message_types_by_name['C2CHead']
_CSHEAD = DESCRIPTOR.message_types_by_name['CSHead']
_DELTAHEAD = DESCRIPTOR.message_types_by_name['DeltaHead']
_HEAD = DESCRIPTOR.message_types_by_name['Head']
_HTTPCONNHEAD = DESCRIPTOR.message_types_by_name['HttpConnHead']
_INSTCTRL = DESCRIPTOR.message_types_by_name['InstCtrl']
_INSTINFO = DESCRIPTOR.message_types_by_name['InstInfo']
_LOGINSIG = DESCRIPTOR.message_types_by_name['LoginSig']
_REDIRECTMSG = DESCRIPTOR.message_types_by_name['RedirectMsg']
_S2CHEAD = DESCRIPTOR.message_types_by_name['S2CHead']
_SCONNHEAD = DESCRIPTOR.message_types_by_name['SConnHead']
_TRANSOIDBHEAD = DESCRIPTOR.message_types_by_name['TransOidbHead']
C2CHead = _reflection.GeneratedProtocolMessageType('C2CHead', (_message.Message,), {
  'DESCRIPTOR' : _C2CHEAD,
  '__module__' : 'cai.pb.im.msg.msg_head.msg_head_pb2'
  # @@protoc_insertion_point(class_scope:im.msg.msg_head.C2CHead)
  })
_sym_db.RegisterMessage(C2CHead)

CSHead = _reflection.GeneratedProtocolMessageType('CSHead', (_message.Message,), {
  'DESCRIPTOR' : _CSHEAD,
  '__module__' : 'cai.pb.im.msg.msg_head.msg_head_pb2'
  # @@protoc_insertion_point(class_scope:im.msg.msg_head.CSHead)
  })
_sym_db.RegisterMessage(CSHead)

DeltaHead = _reflection.GeneratedProtocolMessageType('DeltaHead', (_message.Message,), {
  'DESCRIPTOR' : _DELTAHEAD,
  '__module__' : 'cai.pb.im.msg.msg_head.msg_head_pb2'
  # @@protoc_insertion_point(class_scope:im.msg.msg_head.DeltaHead)
  })
_sym_db.RegisterMessage(DeltaHead)

Head = _reflection.GeneratedProtocolMessageType('Head', (_message.Message,), {
  'DESCRIPTOR' : _HEAD,
  '__module__' : 'cai.pb.im.msg.msg_head.msg_head_pb2'
  # @@protoc_insertion_point(class_scope:im.msg.msg_head.Head)
  })
_sym_db.RegisterMessage(Head)

HttpConnHead = _reflection.GeneratedProtocolMessageType('HttpConnHead', (_message.Message,), {
  'DESCRIPTOR' : _HTTPCONNHEAD,
  '__module__' : 'cai.pb.im.msg.msg_head.msg_head_pb2'
  # @@protoc_insertion_point(class_scope:im.msg.msg_head.HttpConnHead)
  })
_sym_db.RegisterMessage(HttpConnHead)

InstCtrl = _reflection.GeneratedProtocolMessageType('InstCtrl', (_message.Message,), {
  'DESCRIPTOR' : _INSTCTRL,
  '__module__' : 'cai.pb.im.msg.msg_head.msg_head_pb2'
  # @@protoc_insertion_point(class_scope:im.msg.msg_head.InstCtrl)
  })
_sym_db.RegisterMessage(InstCtrl)

InstInfo = _reflection.GeneratedProtocolMessageType('InstInfo', (_message.Message,), {
  'DESCRIPTOR' : _INSTINFO,
  '__module__' : 'cai.pb.im.msg.msg_head.msg_head_pb2'
  # @@protoc_insertion_point(class_scope:im.msg.msg_head.InstInfo)
  })
_sym_db.RegisterMessage(InstInfo)

LoginSig = _reflection.GeneratedProtocolMessageType('LoginSig', (_message.Message,), {
  'DESCRIPTOR' : _LOGINSIG,
  '__module__' : 'cai.pb.im.msg.msg_head.msg_head_pb2'
  # @@protoc_insertion_point(class_scope:im.msg.msg_head.LoginSig)
  })
_sym_db.RegisterMessage(LoginSig)

RedirectMsg = _reflection.GeneratedProtocolMessageType('RedirectMsg', (_message.Message,), {
  'DESCRIPTOR' : _REDIRECTMSG,
  '__module__' : 'cai.pb.im.msg.msg_head.msg_head_pb2'
  # @@protoc_insertion_point(class_scope:im.msg.msg_head.RedirectMsg)
  })
_sym_db.RegisterMessage(RedirectMsg)

S2CHead = _reflection.GeneratedProtocolMessageType('S2CHead', (_message.Message,), {
  'DESCRIPTOR' : _S2CHEAD,
  '__module__' : 'cai.pb.im.msg.msg_head.msg_head_pb2'
  # @@protoc_insertion_point(class_scope:im.msg.msg_head.S2CHead)
  })
_sym_db.RegisterMessage(S2CHead)

SConnHead = _reflection.GeneratedProtocolMessageType('SConnHead', (_message.Message,), {
  'DESCRIPTOR' : _SCONNHEAD,
  '__module__' : 'cai.pb.im.msg.msg_head.msg_head_pb2'
  # @@protoc_insertion_point(class_scope:im.msg.msg_head.SConnHead)
  })
_sym_db.RegisterMessage(SConnHead)

TransOidbHead = _reflection.GeneratedProtocolMessageType('TransOidbHead', (_message.Message,), {
  'DESCRIPTOR' : _TRANSOIDBHEAD,
  '__module__' : 'cai.pb.im.msg.msg_head.msg_head_pb2'
  # @@protoc_insertion_point(class_scope:im.msg.msg_head.TransOidbHead)
  })
_sym_db.RegisterMessage(TransOidbHead)

if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  _C2CHEAD._serialized_start=59
  _C2CHEAD._serialized_end=271
  _CSHEAD._serialized_start=274
  _CSHEAD._serialized_end=713
  _DELTAHEAD._serialized_start=716
  _DELTAHEAD._serialized_end=849
  _HEAD._serialized_start=852
  _HEAD._serialized_end=1269
  _HTTPCONNHEAD._serialized_start=1272
  _HTTPCONNHEAD._serialized_end=1808
  _INSTCTRL._serialized_start=1811
  _INSTCTRL._serialized_end=1965
  _INSTINFO._serialized_start=1967
  _INSTINFO._serialized_end=2053
  _LOGINSIG._serialized_start=2055
  _LOGINSIG._serialized_end=2092
  _REDIRECTMSG._serialized_start=2095
  _REDIRECTMSG._serialized_end=2230
  _S2CHEAD._serialized_start=2233
  _S2CHEAD._serialized_end=2369
  _SCONNHEAD._serialized_start=2371
  _SCONNHEAD._serialized_end=2382
  _TRANSOIDBHEAD._serialized_start=2384
  _TRANSOIDBHEAD._serialized_end=2473
# @@protoc_insertion_point(module_scope)
