cai.pb.im.msg.msg_head package

IM Message Protocol Buffer Model Category.

This module is used to store all im message protobuf files.

Generate all protobuf file using:

protoc cai/pb/**/*.proto --python_out=. --mypy_out=readable_stubs:.
Copyright

Copyright (C) 2021-2021 cscs181

License

AGPL-3.0 or later. See LICENSE for detail.

Submodules

cai.pb.im.msg.msg_head.msg_head_pb2 module

Generated protocol buffer code.

class cai.pb.im.msg.msg_head.msg_head_pb2.C2CHead

基类:google.protobuf.pyext._message.CMessage, google.protobuf.message.Message

DESCRIPTOR = <google.protobuf.pyext._message.MessageDescriptor object>

The google.protobuf.descriptor.Descriptor for this message type.

auth_buf

Field im.msg.msg_head.C2CHead.auth_buf

auth_pic_sig

Field im.msg.msg_head.C2CHead.auth_pic_sig

auth_sig

Field im.msg.msg_head.C2CHead.auth_sig

cc_cmd

Field im.msg.msg_head.C2CHead.cc_cmd

cc_type

Field im.msg.msg_head.C2CHead.cc_type

client_time

Field im.msg.msg_head.C2CHead.client_time

from_uin

Field im.msg.msg_head.C2CHead.from_uin

phone_number

Field im.msg.msg_head.C2CHead.phone_number

rand

Field im.msg.msg_head.C2CHead.rand

server_time

Field im.msg.msg_head.C2CHead.server_time

to_uin

Field im.msg.msg_head.C2CHead.to_uin

class cai.pb.im.msg.msg_head.msg_head_pb2.CSHead

基类:google.protobuf.pyext._message.CMessage, google.protobuf.message.Message

DESCRIPTOR = <google.protobuf.pyext._message.MessageDescriptor object>

The google.protobuf.descriptor.Descriptor for this message type.

actual_ip

Field im.msg.msg_head.CSHead.actual_ip

app_id

Field im.msg.msg_head.CSHead.app_id

client_ip

Field im.msg.msg_head.CSHead.client_ip

client_port

Field im.msg.msg_head.CSHead.client_port

client_type

Field im.msg.msg_head.CSHead.client_type

command

Field im.msg.msg_head.CSHead.command

conn_ip

Field im.msg.msg_head.CSHead.conn_ip

conn_port

Field im.msg.msg_head.CSHead.conn_port

flag

Field im.msg.msg_head.CSHead.flag

idc_id

Field im.msg.msg_head.CSHead.idc_id

instance_id

Field im.msg.msg_head.CSHead.instance_id

interface_ip

Field im.msg.msg_head.CSHead.interface_ip

interface_port

Field im.msg.msg_head.CSHead.interface_port

localid

Field im.msg.msg_head.CSHead.localid

pubno

Field im.msg.msg_head.CSHead.pubno

result

Field im.msg.msg_head.CSHead.result

retry_times

Field im.msg.msg_head.CSHead.retry_times

seq

Field im.msg.msg_head.CSHead.seq

session_id

Field im.msg.msg_head.CSHead.session_id

subcmd

Field im.msg.msg_head.CSHead.subcmd

timestamp

Field im.msg.msg_head.CSHead.timestamp

timezone

Field im.msg.msg_head.CSHead.timezone

uin

Field im.msg.msg_head.CSHead.uin

version

Field im.msg.msg_head.CSHead.version

class cai.pb.im.msg.msg_head.msg_head_pb2.DeltaHead

基类:google.protobuf.pyext._message.CMessage, google.protobuf.message.Message

DESCRIPTOR = <google.protobuf.pyext._message.MessageDescriptor object>

The google.protobuf.descriptor.Descriptor for this message type.

Field im.msg.msg_head.DeltaHead.ack_cookie

ack_offset

Field im.msg.msg_head.DeltaHead.ack_offset

cookie

Field im.msg.msg_head.DeltaHead.cookie

flags

Field im.msg.msg_head.DeltaHead.flags

offset

Field im.msg.msg_head.DeltaHead.offset

result

Field im.msg.msg_head.DeltaHead.result

total_len

Field im.msg.msg_head.DeltaHead.total_len

class cai.pb.im.msg.msg_head.msg_head_pb2.Head

基类:google.protobuf.pyext._message.CMessage, google.protobuf.message.Message

DESCRIPTOR = <google.protobuf.pyext._message.MessageDescriptor object>

The google.protobuf.descriptor.Descriptor for this message type.

c2c_head

Field im.msg.msg_head.Head.c2c_head

cs_head

Field im.msg.msg_head.Head.cs_head

delta_head

Field im.msg.msg_head.Head.delta_head

head_type

Field im.msg.msg_head.Head.head_type

httpconn_head

Field im.msg.msg_head.Head.httpconn_head

inst_ctrl

Field im.msg.msg_head.Head.inst_ctrl

login_sig

Field im.msg.msg_head.Head.login_sig

paint_flag

Field im.msg.msg_head.Head.paint_flag

s2c_head

Field im.msg.msg_head.Head.s2c_head

sconn_head

Field im.msg.msg_head.Head.sconn_head

class cai.pb.im.msg.msg_head.msg_head_pb2.HttpConnHead

基类:google.protobuf.pyext._message.CMessage, google.protobuf.message.Message

DESCRIPTOR = <google.protobuf.pyext._message.MessageDescriptor object>

The google.protobuf.descriptor.Descriptor for this message type.

client_ip

Field im.msg.msg_head.HttpConnHead.client_ip

client_port

Field im.msg.msg_head.HttpConnHead.client_port

client_type

Field im.msg.msg_head.HttpConnHead.client_type

command

Field im.msg.msg_head.HttpConnHead.command

command_id

Field im.msg.msg_head.HttpConnHead.command_id

compress_type

Field im.msg.msg_head.HttpConnHead.compress_type

error_code

Field im.msg.msg_head.HttpConnHead.error_code

flag

Field im.msg.msg_head.HttpConnHead.flag

key

Field im.msg.msg_head.HttpConnHead.key

local_id

Field im.msg.msg_head.HttpConnHead.local_id

oidbhead

Field im.msg.msg_head.HttpConnHead.oidbhead

origin_size

Field im.msg.msg_head.HttpConnHead.origin_size

pub_no

Field im.msg.msg_head.HttpConnHead.pub_no

qzhttp_ip

Field im.msg.msg_head.HttpConnHead.qzhttp_ip

qzhttp_port

Field im.msg.msg_head.HttpConnHead.qzhttp_port

redirect

Field im.msg.msg_head.HttpConnHead.redirect

retry_times

Field im.msg.msg_head.HttpConnHead.retry_times

seq

Field im.msg.msg_head.HttpConnHead.seq

service_cmdid

Field im.msg.msg_head.HttpConnHead.service_cmdid

spp_ip

Field im.msg.msg_head.HttpConnHead.spp_ip

spp_port

Field im.msg.msg_head.HttpConnHead.spp_port

sub_command

Field im.msg.msg_head.HttpConnHead.sub_command

time_zone

Field im.msg.msg_head.HttpConnHead.time_zone

uin

Field im.msg.msg_head.HttpConnHead.uin

version

Field im.msg.msg_head.HttpConnHead.version

class cai.pb.im.msg.msg_head.msg_head_pb2.InstCtrl

基类:google.protobuf.pyext._message.CMessage, google.protobuf.message.Message

DESCRIPTOR = <google.protobuf.pyext._message.MessageDescriptor object>

The google.protobuf.descriptor.Descriptor for this message type.

exclude_inst

Field im.msg.msg_head.InstCtrl.exclude_inst

from_inst

Field im.msg.msg_head.InstCtrl.from_inst

send_to_inst

Field im.msg.msg_head.InstCtrl.send_to_inst

class cai.pb.im.msg.msg_head.msg_head_pb2.InstInfo

基类:google.protobuf.pyext._message.CMessage, google.protobuf.message.Message

DESCRIPTOR = <google.protobuf.pyext._message.MessageDescriptor object>

The google.protobuf.descriptor.Descriptor for this message type.

apppid

Field im.msg.msg_head.InstInfo.apppid

enum_device_type

Field im.msg.msg_head.InstInfo.enum_device_type

instid

Field im.msg.msg_head.InstInfo.instid

platform

Field im.msg.msg_head.InstInfo.platform

class cai.pb.im.msg.msg_head.msg_head_pb2.LoginSig

基类:google.protobuf.pyext._message.CMessage, google.protobuf.message.Message

DESCRIPTOR = <google.protobuf.pyext._message.MessageDescriptor object>

The google.protobuf.descriptor.Descriptor for this message type.

sig

Field im.msg.msg_head.LoginSig.sig

type

Field im.msg.msg_head.LoginSig.type

class cai.pb.im.msg.msg_head.msg_head_pb2.RedirectMsg

基类:google.protobuf.pyext._message.CMessage, google.protobuf.message.Message

DESCRIPTOR = <google.protobuf.pyext._message.MessageDescriptor object>

The google.protobuf.descriptor.Descriptor for this message type.

last_redirect_ip

Field im.msg.msg_head.RedirectMsg.last_redirect_ip

last_redirect_port

Field im.msg.msg_head.RedirectMsg.last_redirect_port

redirect_count

Field im.msg.msg_head.RedirectMsg.redirect_count

redirect_ip

Field im.msg.msg_head.RedirectMsg.redirect_ip

redirect_port

Field im.msg.msg_head.RedirectMsg.redirect_port

class cai.pb.im.msg.msg_head.msg_head_pb2.S2CHead

基类:google.protobuf.pyext._message.CMessage, google.protobuf.message.Message

DESCRIPTOR = <google.protobuf.pyext._message.MessageDescriptor object>

The google.protobuf.descriptor.Descriptor for this message type.

from_uin

Field im.msg.msg_head.S2CHead.from_uin

msg_id

Field im.msg.msg_head.S2CHead.msg_id

msg_type

Field im.msg.msg_head.S2CHead.msg_type

relay_ip

Field im.msg.msg_head.S2CHead.relay_ip

relay_port

Field im.msg.msg_head.S2CHead.relay_port

sub_msgtype

Field im.msg.msg_head.S2CHead.sub_msgtype

to_uin

Field im.msg.msg_head.S2CHead.to_uin

class cai.pb.im.msg.msg_head.msg_head_pb2.SConnHead

基类:google.protobuf.pyext._message.CMessage, google.protobuf.message.Message

DESCRIPTOR = <google.protobuf.pyext._message.MessageDescriptor object>

The google.protobuf.descriptor.Descriptor for this message type.

class cai.pb.im.msg.msg_head.msg_head_pb2.TransOidbHead

基类:google.protobuf.pyext._message.CMessage, google.protobuf.message.Message

DESCRIPTOR = <google.protobuf.pyext._message.MessageDescriptor object>

The google.protobuf.descriptor.Descriptor for this message type.

command

Field im.msg.msg_head.TransOidbHead.command

error_msg

Field im.msg.msg_head.TransOidbHead.error_msg

result

Field im.msg.msg_head.TransOidbHead.result

service_type

Field im.msg.msg_head.TransOidbHead.service_type