// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.33.0
// 	protoc        v3.21.5
// source: base.proto

package improto

import (
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	reflect "reflect"
	sync "sync"
)

const (
	// Verify that this generated code is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	// Verify that runtime/protoimpl is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)

type OUTLINE int32

const (
	OUTLINE_OT_NULL      OUTLINE = 0
	OUTLINE_OT_SAMELOGIN OUTLINE = 1 //同时登陆挤下线
	OUTLINE_OT_FORCEOUT  OUTLINE = 2 //强制下线
	OUTLINE_OT_DELDEV    OUTLINE = 3 //删除设备
)

// Enum value maps for OUTLINE.
var (
	OUTLINE_name = map[int32]string{
		0: "OT_NULL",
		1: "OT_SAMELOGIN",
		2: "OT_FORCEOUT",
		3: "OT_DELDEV",
	}
	OUTLINE_value = map[string]int32{
		"OT_NULL":      0,
		"OT_SAMELOGIN": 1,
		"OT_FORCEOUT":  2,
		"OT_DELDEV":    3,
	}
)

func (x OUTLINE) Enum() *OUTLINE {
	p := new(OUTLINE)
	*p = x
	return p
}

func (x OUTLINE) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (OUTLINE) Descriptor() protoreflect.EnumDescriptor {
	return file_base_proto_enumTypes[0].Descriptor()
}

func (OUTLINE) Type() protoreflect.EnumType {
	return &file_base_proto_enumTypes[0]
}

func (x OUTLINE) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use OUTLINE.Descriptor instead.
func (OUTLINE) EnumDescriptor() ([]byte, []int) {
	return file_base_proto_rawDescGZIP(), []int{0}
}

type P2P_CMD int32

const (
	P2P_CMD_CD_NORMAL           P2P_CMD = 0 //普通点对点消息
	P2P_CMD_CD_TYPING_DATA      P2P_CMD = 1 //点对点发送输入状态数据
	P2P_CMD_CD_GROUP_VOICE_DATA P2P_CMD = 2 //点对点发送群通话数据
)

// Enum value maps for P2P_CMD.
var (
	P2P_CMD_name = map[int32]string{
		0: "CD_NORMAL",
		1: "CD_TYPING_DATA",
		2: "CD_GROUP_VOICE_DATA",
	}
	P2P_CMD_value = map[string]int32{
		"CD_NORMAL":           0,
		"CD_TYPING_DATA":      1,
		"CD_GROUP_VOICE_DATA": 2,
	}
)

func (x P2P_CMD) Enum() *P2P_CMD {
	p := new(P2P_CMD)
	*p = x
	return p
}

func (x P2P_CMD) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (P2P_CMD) Descriptor() protoreflect.EnumDescriptor {
	return file_base_proto_enumTypes[1].Descriptor()
}

func (P2P_CMD) Type() protoreflect.EnumType {
	return &file_base_proto_enumTypes[1]
}

func (x P2P_CMD) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use P2P_CMD.Descriptor instead.
func (P2P_CMD) EnumDescriptor() ([]byte, []int) {
	return file_base_proto_rawDescGZIP(), []int{1}
}

type SYS_CODE int32

const (
	SYS_CODE_TIP_ONLY_ONE_MESSAGE_SEND SYS_CODE = 0 //陌生人最多只能发一条消息
)

// Enum value maps for SYS_CODE.
var (
	SYS_CODE_name = map[int32]string{
		0: "TIP_ONLY_ONE_MESSAGE_SEND",
	}
	SYS_CODE_value = map[string]int32{
		"TIP_ONLY_ONE_MESSAGE_SEND": 0,
	}
)

func (x SYS_CODE) Enum() *SYS_CODE {
	p := new(SYS_CODE)
	*p = x
	return p
}

func (x SYS_CODE) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (SYS_CODE) Descriptor() protoreflect.EnumDescriptor {
	return file_base_proto_enumTypes[2].Descriptor()
}

func (SYS_CODE) Type() protoreflect.EnumType {
	return &file_base_proto_enumTypes[2]
}

func (x SYS_CODE) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use SYS_CODE.Descriptor instead.
func (SYS_CODE) EnumDescriptor() ([]byte, []int) {
	return file_base_proto_rawDescGZIP(), []int{2}
}

type Resp struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	Code    int32     `protobuf:"varint,1,opt,name=Code,proto3" json:"Code,omitempty"`
	Msg     string    `protobuf:"bytes,2,opt,name=Msg,proto3" json:"Msg,omitempty"`
	Body    []byte    `protobuf:"bytes,3,opt,name=Body,proto3" json:"Body,omitempty"`
	SysCode *SYS_CODE `protobuf:"varint,4,opt,name=SysCode,proto3,enum=im_types.SYS_CODE,oneof" json:"SysCode,omitempty"` //系统提示码
}

func (x *Resp) Reset() {
	*x = Resp{}
	if protoimpl.UnsafeEnabled {
		mi := &file_base_proto_msgTypes[0]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *Resp) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Resp) ProtoMessage() {}

func (x *Resp) ProtoReflect() protoreflect.Message {
	mi := &file_base_proto_msgTypes[0]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Resp.ProtoReflect.Descriptor instead.
func (*Resp) Descriptor() ([]byte, []int) {
	return file_base_proto_rawDescGZIP(), []int{0}
}

func (x *Resp) GetCode() int32 {
	if x != nil {
		return x.Code
	}
	return 0
}

func (x *Resp) GetMsg() string {
	if x != nil {
		return x.Msg
	}
	return ""
}

func (x *Resp) GetBody() []byte {
	if x != nil {
		return x.Body
	}
	return nil
}

func (x *Resp) GetSysCode() SYS_CODE {
	if x != nil && x.SysCode != nil {
		return *x.SysCode
	}
	return SYS_CODE_TIP_ONLY_ONE_MESSAGE_SEND
}

// 基础消息内容
type MessageBase struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	OpID       string `protobuf:"bytes,1,opt,name=OpID,proto3" json:"OpID,omitempty"`                                // 操作用户id,即用户地址
	OpKey      string `protobuf:"bytes,2,opt,name=OpKey,proto3" json:"OpKey,omitempty"`                              // 消息处理业务key，发单聊就是接收者的addr,发群聊就是群的addr,修改信息就是自己的
	HandlerId  MSGID  `protobuf:"varint,3,opt,name=HandlerId,proto3,enum=im_types.MSGID" json:"HandlerId,omitempty"` // 处理消息handlerId
	CreateTime int64  `protobuf:"varint,4,opt,name=CreateTime,proto3" json:"CreateTime,omitempty"`                   // 消息创建时间
	Body       []byte `protobuf:"bytes,5,opt,name=Body,proto3" json:"Body,omitempty"`                                // 处理消息handler数据体
	Sign       []byte `protobuf:"bytes,6,opt,name=Sign,proto3" json:"Sign,omitempty"`                                //签名内容，用于验签，底层统一处理
}

func (x *MessageBase) Reset() {
	*x = MessageBase{}
	if protoimpl.UnsafeEnabled {
		mi := &file_base_proto_msgTypes[1]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *MessageBase) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*MessageBase) ProtoMessage() {}

func (x *MessageBase) ProtoReflect() protoreflect.Message {
	mi := &file_base_proto_msgTypes[1]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use MessageBase.ProtoReflect.Descriptor instead.
func (*MessageBase) Descriptor() ([]byte, []int) {
	return file_base_proto_rawDescGZIP(), []int{1}
}

func (x *MessageBase) GetOpID() string {
	if x != nil {
		return x.OpID
	}
	return ""
}

func (x *MessageBase) GetOpKey() string {
	if x != nil {
		return x.OpKey
	}
	return ""
}

func (x *MessageBase) GetHandlerId() MSGID {
	if x != nil {
		return x.HandlerId
	}
	return MSGID_NULL
}

func (x *MessageBase) GetCreateTime() int64 {
	if x != nil {
		return x.CreateTime
	}
	return 0
}

func (x *MessageBase) GetBody() []byte {
	if x != nil {
		return x.Body
	}
	return nil
}

func (x *MessageBase) GetSign() []byte {
	if x != nil {
		return x.Sign
	}
	return nil
}

// 服务端转发消息结构体
type ForwardMsg struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	Key        string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`                // 数据处理key
	Message    []byte `protobuf:"bytes,2,opt,name=Message,proto3" json:"Message,omitempty"`        // 消息原始内容
	CreateTime int64  `protobuf:"varint,3,opt,name=CreateTime,proto3" json:"CreateTime,omitempty"` // 消息创建时间
}

func (x *ForwardMsg) Reset() {
	*x = ForwardMsg{}
	if protoimpl.UnsafeEnabled {
		mi := &file_base_proto_msgTypes[2]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *ForwardMsg) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ForwardMsg) ProtoMessage() {}

func (x *ForwardMsg) ProtoReflect() protoreflect.Message {
	mi := &file_base_proto_msgTypes[2]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ForwardMsg.ProtoReflect.Descriptor instead.
func (*ForwardMsg) Descriptor() ([]byte, []int) {
	return file_base_proto_rawDescGZIP(), []int{2}
}

func (x *ForwardMsg) GetKey() string {
	if x != nil {
		return x.Key
	}
	return ""
}

func (x *ForwardMsg) GetMessage() []byte {
	if x != nil {
		return x.Message
	}
	return nil
}

func (x *ForwardMsg) GetCreateTime() int64 {
	if x != nil {
		return x.CreateTime
	}
	return 0
}

// 设备下线
type OutlineRes struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	Type   OUTLINE `protobuf:"varint,1,opt,name=type,proto3,enum=im_types.OUTLINE" json:"type,omitempty"` //下线类型
	OpTime int64   `protobuf:"varint,2,opt,name=opTime,proto3" json:"opTime,omitempty"`                   //操作时间
}

func (x *OutlineRes) Reset() {
	*x = OutlineRes{}
	if protoimpl.UnsafeEnabled {
		mi := &file_base_proto_msgTypes[3]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *OutlineRes) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*OutlineRes) ProtoMessage() {}

func (x *OutlineRes) ProtoReflect() protoreflect.Message {
	mi := &file_base_proto_msgTypes[3]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use OutlineRes.ProtoReflect.Descriptor instead.
func (*OutlineRes) Descriptor() ([]byte, []int) {
	return file_base_proto_rawDescGZIP(), []int{3}
}

func (x *OutlineRes) GetType() OUTLINE {
	if x != nil {
		return x.Type
	}
	return OUTLINE_OT_NULL
}

func (x *OutlineRes) GetOpTime() int64 {
	if x != nil {
		return x.OpTime
	}
	return 0
}

// 推送数据
type NewPushMsg struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	NoticeAddr []string         `protobuf:"bytes,1,rep,name=noticeAddr,proto3" json:"noticeAddr,omitempty"` //需要通知的用户
	Count      int32            `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`          //推送消息条数 目前只有消息条数
	MsgType    *EnumMessageType `protobuf:"varint,3,opt,name=msg_type,json=msgType,proto3,enum=improto.EnumMessageType,oneof" json:"msg_type,omitempty"`
	Hash       uint32           `protobuf:"varint,4,opt,name=hash,proto3" json:"hash,omitempty"`
	Content    string           `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"`
	GroupId    string           `protobuf:"bytes,6,opt,name=groupId,proto3" json:"groupId,omitempty"` //群id,群语音需要传，否则不填
}

func (x *NewPushMsg) Reset() {
	*x = NewPushMsg{}
	if protoimpl.UnsafeEnabled {
		mi := &file_base_proto_msgTypes[4]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *NewPushMsg) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*NewPushMsg) ProtoMessage() {}

func (x *NewPushMsg) ProtoReflect() protoreflect.Message {
	mi := &file_base_proto_msgTypes[4]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use NewPushMsg.ProtoReflect.Descriptor instead.
func (*NewPushMsg) Descriptor() ([]byte, []int) {
	return file_base_proto_rawDescGZIP(), []int{4}
}

func (x *NewPushMsg) GetNoticeAddr() []string {
	if x != nil {
		return x.NoticeAddr
	}
	return nil
}

func (x *NewPushMsg) GetCount() int32 {
	if x != nil {
		return x.Count
	}
	return 0
}

func (x *NewPushMsg) GetMsgType() EnumMessageType {
	if x != nil && x.MsgType != nil {
		return *x.MsgType
	}
	return EnumMessageType_MESSAGE_TYPE_NULL
}

func (x *NewPushMsg) GetHash() uint32 {
	if x != nil {
		return x.Hash
	}
	return 0
}

func (x *NewPushMsg) GetContent() string {
	if x != nil {
		return x.Content
	}
	return ""
}

func (x *NewPushMsg) GetGroupId() string {
	if x != nil {
		return x.GroupId
	}
	return ""
}

type AddrMid struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	ToAddr string `protobuf:"bytes,1,opt,name=ToAddr,proto3" json:"ToAddr,omitempty"` // 接收的地址
	ToMid  string `protobuf:"bytes,2,opt,name=ToMid,proto3" json:"ToMid,omitempty"`   // 接收者的Mid
}

func (x *AddrMid) Reset() {
	*x = AddrMid{}
	if protoimpl.UnsafeEnabled {
		mi := &file_base_proto_msgTypes[5]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *AddrMid) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*AddrMid) ProtoMessage() {}

func (x *AddrMid) ProtoReflect() protoreflect.Message {
	mi := &file_base_proto_msgTypes[5]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use AddrMid.ProtoReflect.Descriptor instead.
func (*AddrMid) Descriptor() ([]byte, []int) {
	return file_base_proto_rawDescGZIP(), []int{5}
}

func (x *AddrMid) GetToAddr() string {
	if x != nil {
		return x.ToAddr
	}
	return ""
}

func (x *AddrMid) GetToMid() string {
	if x != nil {
		return x.ToMid
	}
	return ""
}

// 客户端发点对点送消息
type P2PMsgData struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	AddrMids   []*AddrMid  `protobuf:"bytes,1,rep,name=addrMids,proto3" json:"addrMids,omitempty"`              //接收者信息
	Data       []byte      `protobuf:"bytes,2,opt,name=Data,proto3" json:"Data,omitempty"`                      // 发送数据
	NewPushMsg *NewPushMsg `protobuf:"bytes,3,opt,name=newPushMsg,proto3" json:"newPushMsg,omitempty"`          //需要推送的数据，前端如果发送的点对点消息需要推送，填充这个字段
	Cmd        P2P_CMD     `protobuf:"varint,4,opt,name=cmd,proto3,enum=im_types.P2P_CMD" json:"cmd,omitempty"` //点对点消息操作类型，用于区分具体操作
}

func (x *P2PMsgData) Reset() {
	*x = P2PMsgData{}
	if protoimpl.UnsafeEnabled {
		mi := &file_base_proto_msgTypes[6]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *P2PMsgData) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*P2PMsgData) ProtoMessage() {}

func (x *P2PMsgData) ProtoReflect() protoreflect.Message {
	mi := &file_base_proto_msgTypes[6]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use P2PMsgData.ProtoReflect.Descriptor instead.
func (*P2PMsgData) Descriptor() ([]byte, []int) {
	return file_base_proto_rawDescGZIP(), []int{6}
}

func (x *P2PMsgData) GetAddrMids() []*AddrMid {
	if x != nil {
		return x.AddrMids
	}
	return nil
}

func (x *P2PMsgData) GetData() []byte {
	if x != nil {
		return x.Data
	}
	return nil
}

func (x *P2PMsgData) GetNewPushMsg() *NewPushMsg {
	if x != nil {
		return x.NewPushMsg
	}
	return nil
}

func (x *P2PMsgData) GetCmd() P2P_CMD {
	if x != nil {
		return x.Cmd
	}
	return P2P_CMD_CD_NORMAL
}

var File_base_proto protoreflect.FileDescriptor

var file_base_proto_rawDesc = []byte{
	0x0a, 0x0a, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x69, 0x6d,
	0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x1a, 0x0c, 0x6d, 0x73, 0x67, 0x5f, 0x69, 0x64, 0x2e, 0x70,
	0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x2e,
	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7f, 0x0a, 0x04, 0x52, 0x65, 0x73, 0x70, 0x12, 0x12, 0x0a,
	0x04, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x43, 0x6f, 0x64,
	0x65, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
	0x4d, 0x73, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x42, 0x6f, 0x64, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28,
	0x0c, 0x52, 0x04, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x31, 0x0a, 0x07, 0x53, 0x79, 0x73, 0x43, 0x6f,
	0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x12, 0x2e, 0x69, 0x6d, 0x5f, 0x74, 0x79,
	0x70, 0x65, 0x73, 0x2e, 0x53, 0x59, 0x53, 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x48, 0x00, 0x52, 0x07,
	0x53, 0x79, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x88, 0x01, 0x01, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x53,
	0x79, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x22, 0xae, 0x01, 0x0a, 0x0b, 0x4d, 0x65, 0x73, 0x73, 0x61,
	0x67, 0x65, 0x42, 0x61, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x4f, 0x70, 0x49, 0x44, 0x18, 0x01,
	0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x4f, 0x70, 0x49, 0x44, 0x12, 0x14, 0x0a, 0x05, 0x4f, 0x70,
	0x4b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x4f, 0x70, 0x4b, 0x65, 0x79,
	0x12, 0x2d, 0x0a, 0x09, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20,
	0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e, 0x69, 0x6d, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4d,
	0x53, 0x47, 0x49, 0x44, 0x52, 0x09, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12,
	0x1e, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20,
	0x01, 0x28, 0x03, 0x52, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12,
	0x12, 0x0a, 0x04, 0x42, 0x6f, 0x64, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x42,
	0x6f, 0x64, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x53, 0x69, 0x67, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28,
	0x0c, 0x52, 0x04, 0x53, 0x69, 0x67, 0x6e, 0x22, 0x58, 0x0a, 0x0a, 0x46, 0x6f, 0x72, 0x77, 0x61,
	0x72, 0x64, 0x4d, 0x73, 0x67, 0x12, 0x10, 0x0a, 0x03, 0x4b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
	0x28, 0x09, 0x52, 0x03, 0x4b, 0x65, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x4d, 0x65, 0x73, 0x73, 0x61,
	0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
	0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18,
	0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d,
	0x65, 0x22, 0x4b, 0x0a, 0x0a, 0x4f, 0x75, 0x74, 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x73, 0x12,
	0x25, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e,
	0x69, 0x6d, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4f, 0x55, 0x54, 0x4c, 0x49, 0x4e, 0x45,
	0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x70, 0x54, 0x69, 0x6d, 0x65,
	0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x70, 0x54, 0x69, 0x6d, 0x65, 0x22, 0xd1,
	0x01, 0x0a, 0x0a, 0x4e, 0x65, 0x77, 0x50, 0x75, 0x73, 0x68, 0x4d, 0x73, 0x67, 0x12, 0x1e, 0x0a,
	0x0a, 0x6e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x41, 0x64, 0x64, 0x72, 0x18, 0x01, 0x20, 0x03, 0x28,
	0x09, 0x52, 0x0a, 0x6e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x41, 0x64, 0x64, 0x72, 0x12, 0x14, 0x0a,
	0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f,
	0x75, 0x6e, 0x74, 0x12, 0x38, 0x0a, 0x08, 0x6d, 0x73, 0x67, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18,
	0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x69, 0x6d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
	0x45, 0x6e, 0x75, 0x6d, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x48,
	0x00, 0x52, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x88, 0x01, 0x01, 0x12, 0x12, 0x0a,
	0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x68, 0x61, 0x73,
	0x68, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01,
	0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x67,
	0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x72,
	0x6f, 0x75, 0x70, 0x49, 0x64, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x6d, 0x73, 0x67, 0x5f, 0x74, 0x79,
	0x70, 0x65, 0x22, 0x37, 0x0a, 0x07, 0x41, 0x64, 0x64, 0x72, 0x4d, 0x69, 0x64, 0x12, 0x16, 0x0a,
	0x06, 0x54, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x54,
	0x6f, 0x41, 0x64, 0x64, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x54, 0x6f, 0x4d, 0x69, 0x64, 0x18, 0x02,
	0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x54, 0x6f, 0x4d, 0x69, 0x64, 0x22, 0xaa, 0x01, 0x0a, 0x0a,
	0x50, 0x32, 0x70, 0x4d, 0x73, 0x67, 0x44, 0x61, 0x74, 0x61, 0x12, 0x2d, 0x0a, 0x08, 0x61, 0x64,
	0x64, 0x72, 0x4d, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x69,
	0x6d, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x4d, 0x69, 0x64, 0x52,
	0x08, 0x61, 0x64, 0x64, 0x72, 0x4d, 0x69, 0x64, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x44, 0x61, 0x74,
	0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x44, 0x61, 0x74, 0x61, 0x12, 0x34, 0x0a,
	0x0a, 0x6e, 0x65, 0x77, 0x50, 0x75, 0x73, 0x68, 0x4d, 0x73, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28,
	0x0b, 0x32, 0x14, 0x2e, 0x69, 0x6d, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4e, 0x65, 0x77,
	0x50, 0x75, 0x73, 0x68, 0x4d, 0x73, 0x67, 0x52, 0x0a, 0x6e, 0x65, 0x77, 0x50, 0x75, 0x73, 0x68,
	0x4d, 0x73, 0x67, 0x12, 0x23, 0x0a, 0x03, 0x63, 0x6d, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e,
	0x32, 0x11, 0x2e, 0x69, 0x6d, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x50, 0x32, 0x50, 0x5f,
	0x43, 0x4d, 0x44, 0x52, 0x03, 0x63, 0x6d, 0x64, 0x2a, 0x48, 0x0a, 0x07, 0x4f, 0x55, 0x54, 0x4c,
	0x49, 0x4e, 0x45, 0x12, 0x0b, 0x0a, 0x07, 0x4f, 0x54, 0x5f, 0x4e, 0x55, 0x4c, 0x4c, 0x10, 0x00,
	0x12, 0x10, 0x0a, 0x0c, 0x4f, 0x54, 0x5f, 0x53, 0x41, 0x4d, 0x45, 0x4c, 0x4f, 0x47, 0x49, 0x4e,
	0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x4f, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x43, 0x45, 0x4f, 0x55,
	0x54, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x4f, 0x54, 0x5f, 0x44, 0x45, 0x4c, 0x44, 0x45, 0x56,
	0x10, 0x03, 0x2a, 0x45, 0x0a, 0x07, 0x50, 0x32, 0x50, 0x5f, 0x43, 0x4d, 0x44, 0x12, 0x0d, 0x0a,
	0x09, 0x43, 0x44, 0x5f, 0x4e, 0x4f, 0x52, 0x4d, 0x41, 0x4c, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e,
	0x43, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x49, 0x4e, 0x47, 0x5f, 0x44, 0x41, 0x54, 0x41, 0x10, 0x01,
	0x12, 0x17, 0x0a, 0x13, 0x43, 0x44, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x56, 0x4f, 0x49,
	0x43, 0x45, 0x5f, 0x44, 0x41, 0x54, 0x41, 0x10, 0x02, 0x2a, 0x29, 0x0a, 0x08, 0x53, 0x59, 0x53,
	0x5f, 0x43, 0x4f, 0x44, 0x45, 0x12, 0x1d, 0x0a, 0x19, 0x54, 0x49, 0x50, 0x5f, 0x4f, 0x4e, 0x4c,
	0x59, 0x5f, 0x4f, 0x4e, 0x45, 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 0x53, 0x45,
	0x4e, 0x44, 0x10, 0x00, 0x42, 0x0b, 0x5a, 0x09, 0x2e, 0x2f, 0x69, 0x6d, 0x70, 0x72, 0x6f, 0x74,
	0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}

var (
	file_base_proto_rawDescOnce sync.Once
	file_base_proto_rawDescData = file_base_proto_rawDesc
)

func file_base_proto_rawDescGZIP() []byte {
	file_base_proto_rawDescOnce.Do(func() {
		file_base_proto_rawDescData = protoimpl.X.CompressGZIP(file_base_proto_rawDescData)
	})
	return file_base_proto_rawDescData
}

var file_base_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
var file_base_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
var file_base_proto_goTypes = []interface{}{
	(OUTLINE)(0),         // 0: im_types.OUTLINE
	(P2P_CMD)(0),         // 1: im_types.P2P_CMD
	(SYS_CODE)(0),        // 2: im_types.SYS_CODE
	(*Resp)(nil),         // 3: im_types.Resp
	(*MessageBase)(nil),  // 4: im_types.MessageBase
	(*ForwardMsg)(nil),   // 5: im_types.ForwardMsg
	(*OutlineRes)(nil),   // 6: im_types.OutlineRes
	(*NewPushMsg)(nil),   // 7: im_types.NewPushMsg
	(*AddrMid)(nil),      // 8: im_types.AddrMid
	(*P2PMsgData)(nil),   // 9: im_types.P2pMsgData
	(MSGID)(0),           // 10: im_types.MSGID
	(EnumMessageType)(0), // 11: improto.EnumMessageType
}
var file_base_proto_depIdxs = []int32{
	2,  // 0: im_types.Resp.SysCode:type_name -> im_types.SYS_CODE
	10, // 1: im_types.MessageBase.HandlerId:type_name -> im_types.MSGID
	0,  // 2: im_types.OutlineRes.type:type_name -> im_types.OUTLINE
	11, // 3: im_types.NewPushMsg.msg_type:type_name -> improto.EnumMessageType
	8,  // 4: im_types.P2pMsgData.addrMids:type_name -> im_types.AddrMid
	7,  // 5: im_types.P2pMsgData.newPushMsg:type_name -> im_types.NewPushMsg
	1,  // 6: im_types.P2pMsgData.cmd:type_name -> im_types.P2P_CMD
	7,  // [7:7] is the sub-list for method output_type
	7,  // [7:7] is the sub-list for method input_type
	7,  // [7:7] is the sub-list for extension type_name
	7,  // [7:7] is the sub-list for extension extendee
	0,  // [0:7] is the sub-list for field type_name
}

func init() { file_base_proto_init() }
func file_base_proto_init() {
	if File_base_proto != nil {
		return
	}
	file_msg_id_proto_init()
	file_data_type_proto_init()
	if !protoimpl.UnsafeEnabled {
		file_base_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*Resp); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_base_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*MessageBase); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_base_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*ForwardMsg); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_base_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*OutlineRes); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_base_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*NewPushMsg); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_base_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*AddrMid); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_base_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*P2PMsgData); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
	}
	file_base_proto_msgTypes[0].OneofWrappers = []interface{}{}
	file_base_proto_msgTypes[4].OneofWrappers = []interface{}{}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: file_base_proto_rawDesc,
			NumEnums:      3,
			NumMessages:   7,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_base_proto_goTypes,
		DependencyIndexes: file_base_proto_depIdxs,
		EnumInfos:         file_base_proto_enumTypes,
		MessageInfos:      file_base_proto_msgTypes,
	}.Build()
	File_base_proto = out.File
	file_base_proto_rawDesc = nil
	file_base_proto_goTypes = nil
	file_base_proto_depIdxs = nil
}
