// Code generated by protoc-gen-go. DO NOT EDIT.
// source: im_protobuf.proto

package protobuf

import (
	context "context"
	fmt "fmt"
	proto "github.com/golang/protobuf/proto"
	grpc "google.golang.org/grpc"
	codes "google.golang.org/grpc/codes"
	status "google.golang.org/grpc/status"
	math "math"
)

// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package

// 查询用户是否在线
type QueryUsersOnlineReq struct {
	AppId                uint32   `protobuf:"varint,1,opt,name=appId,proto3" json:"appId,omitempty"`
	UserId               string   `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *QueryUsersOnlineReq) Reset()         { *m = QueryUsersOnlineReq{} }
func (m *QueryUsersOnlineReq) String() string { return proto.CompactTextString(m) }
func (*QueryUsersOnlineReq) ProtoMessage()    {}
func (*QueryUsersOnlineReq) Descriptor() ([]byte, []int) {
	return fileDescriptor_62691ff0994625a6, []int{0}
}

func (m *QueryUsersOnlineReq) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_QueryUsersOnlineReq.Unmarshal(m, b)
}
func (m *QueryUsersOnlineReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_QueryUsersOnlineReq.Marshal(b, m, deterministic)
}
func (m *QueryUsersOnlineReq) XXX_Merge(src proto.Message) {
	xxx_messageInfo_QueryUsersOnlineReq.Merge(m, src)
}
func (m *QueryUsersOnlineReq) XXX_Size() int {
	return xxx_messageInfo_QueryUsersOnlineReq.Size(m)
}
func (m *QueryUsersOnlineReq) XXX_DiscardUnknown() {
	xxx_messageInfo_QueryUsersOnlineReq.DiscardUnknown(m)
}

var xxx_messageInfo_QueryUsersOnlineReq proto.InternalMessageInfo

func (m *QueryUsersOnlineReq) GetAppId() uint32 {
	if m != nil {
		return m.AppId
	}
	return 0
}

func (m *QueryUsersOnlineReq) GetUserId() string {
	if m != nil {
		return m.UserId
	}
	return ""
}

type QueryUsersOnlineRsp struct {
	RetCode              uint32   `protobuf:"varint,1,opt,name=retCode,proto3" json:"retCode,omitempty"`
	ErrMsg               string   `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	Online               bool     `protobuf:"varint,3,opt,name=online,proto3" json:"online,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *QueryUsersOnlineRsp) Reset()         { *m = QueryUsersOnlineRsp{} }
func (m *QueryUsersOnlineRsp) String() string { return proto.CompactTextString(m) }
func (*QueryUsersOnlineRsp) ProtoMessage()    {}
func (*QueryUsersOnlineRsp) Descriptor() ([]byte, []int) {
	return fileDescriptor_62691ff0994625a6, []int{1}
}

func (m *QueryUsersOnlineRsp) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_QueryUsersOnlineRsp.Unmarshal(m, b)
}
func (m *QueryUsersOnlineRsp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_QueryUsersOnlineRsp.Marshal(b, m, deterministic)
}
func (m *QueryUsersOnlineRsp) XXX_Merge(src proto.Message) {
	xxx_messageInfo_QueryUsersOnlineRsp.Merge(m, src)
}
func (m *QueryUsersOnlineRsp) XXX_Size() int {
	return xxx_messageInfo_QueryUsersOnlineRsp.Size(m)
}
func (m *QueryUsersOnlineRsp) XXX_DiscardUnknown() {
	xxx_messageInfo_QueryUsersOnlineRsp.DiscardUnknown(m)
}

var xxx_messageInfo_QueryUsersOnlineRsp proto.InternalMessageInfo

func (m *QueryUsersOnlineRsp) GetRetCode() uint32 {
	if m != nil {
		return m.RetCode
	}
	return 0
}

func (m *QueryUsersOnlineRsp) GetErrMsg() string {
	if m != nil {
		return m.ErrMsg
	}
	return ""
}

func (m *QueryUsersOnlineRsp) GetOnline() bool {
	if m != nil {
		return m.Online
	}
	return false
}

// 发送消息
type SendMsgReq struct {
	Seq                  string   `protobuf:"bytes,1,opt,name=seq,proto3" json:"seq,omitempty"`
	AppId                uint32   `protobuf:"varint,2,opt,name=appId,proto3" json:"appId,omitempty"`
	UserId               string   `protobuf:"bytes,3,opt,name=userId,proto3" json:"userId,omitempty"`
	Cms                  string   `protobuf:"bytes,4,opt,name=cms,proto3" json:"cms,omitempty"`
	Type                 string   `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"`
	Msg                  string   `protobuf:"bytes,6,opt,name=msg,proto3" json:"msg,omitempty"`
	IsLocal              bool     `protobuf:"varint,7,opt,name=isLocal,proto3" json:"isLocal,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *SendMsgReq) Reset()         { *m = SendMsgReq{} }
func (m *SendMsgReq) String() string { return proto.CompactTextString(m) }
func (*SendMsgReq) ProtoMessage()    {}
func (*SendMsgReq) Descriptor() ([]byte, []int) {
	return fileDescriptor_62691ff0994625a6, []int{2}
}

func (m *SendMsgReq) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_SendMsgReq.Unmarshal(m, b)
}
func (m *SendMsgReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_SendMsgReq.Marshal(b, m, deterministic)
}
func (m *SendMsgReq) XXX_Merge(src proto.Message) {
	xxx_messageInfo_SendMsgReq.Merge(m, src)
}
func (m *SendMsgReq) XXX_Size() int {
	return xxx_messageInfo_SendMsgReq.Size(m)
}
func (m *SendMsgReq) XXX_DiscardUnknown() {
	xxx_messageInfo_SendMsgReq.DiscardUnknown(m)
}

var xxx_messageInfo_SendMsgReq proto.InternalMessageInfo

func (m *SendMsgReq) GetSeq() string {
	if m != nil {
		return m.Seq
	}
	return ""
}

func (m *SendMsgReq) GetAppId() uint32 {
	if m != nil {
		return m.AppId
	}
	return 0
}

func (m *SendMsgReq) GetUserId() string {
	if m != nil {
		return m.UserId
	}
	return ""
}

func (m *SendMsgReq) GetCms() string {
	if m != nil {
		return m.Cms
	}
	return ""
}

func (m *SendMsgReq) GetType() string {
	if m != nil {
		return m.Type
	}
	return ""
}

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

func (m *SendMsgReq) GetIsLocal() bool {
	if m != nil {
		return m.IsLocal
	}
	return false
}

type SendMsgRsp struct {
	RetCode              uint32   `protobuf:"varint,1,opt,name=retCode,proto3" json:"retCode,omitempty"`
	ErrMsg               string   `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	SendMsgId            string   `protobuf:"bytes,3,opt,name=sendMsgId,proto3" json:"sendMsgId,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *SendMsgRsp) Reset()         { *m = SendMsgRsp{} }
func (m *SendMsgRsp) String() string { return proto.CompactTextString(m) }
func (*SendMsgRsp) ProtoMessage()    {}
func (*SendMsgRsp) Descriptor() ([]byte, []int) {
	return fileDescriptor_62691ff0994625a6, []int{3}
}

func (m *SendMsgRsp) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_SendMsgRsp.Unmarshal(m, b)
}
func (m *SendMsgRsp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_SendMsgRsp.Marshal(b, m, deterministic)
}
func (m *SendMsgRsp) XXX_Merge(src proto.Message) {
	xxx_messageInfo_SendMsgRsp.Merge(m, src)
}
func (m *SendMsgRsp) XXX_Size() int {
	return xxx_messageInfo_SendMsgRsp.Size(m)
}
func (m *SendMsgRsp) XXX_DiscardUnknown() {
	xxx_messageInfo_SendMsgRsp.DiscardUnknown(m)
}

var xxx_messageInfo_SendMsgRsp proto.InternalMessageInfo

func (m *SendMsgRsp) GetRetCode() uint32 {
	if m != nil {
		return m.RetCode
	}
	return 0
}

func (m *SendMsgRsp) GetErrMsg() string {
	if m != nil {
		return m.ErrMsg
	}
	return ""
}

func (m *SendMsgRsp) GetSendMsgId() string {
	if m != nil {
		return m.SendMsgId
	}
	return ""
}

// 发送消息
type SendMsgAllReq struct {
	Seq                  string   `protobuf:"bytes,1,opt,name=seq,proto3" json:"seq,omitempty"`
	AppId                uint32   `protobuf:"varint,2,opt,name=appId,proto3" json:"appId,omitempty"`
	UserId               string   `protobuf:"bytes,3,opt,name=userId,proto3" json:"userId,omitempty"`
	Cms                  string   `protobuf:"bytes,4,opt,name=cms,proto3" json:"cms,omitempty"`
	Type                 string   `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"`
	Msg                  string   `protobuf:"bytes,6,opt,name=msg,proto3" json:"msg,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *SendMsgAllReq) Reset()         { *m = SendMsgAllReq{} }
func (m *SendMsgAllReq) String() string { return proto.CompactTextString(m) }
func (*SendMsgAllReq) ProtoMessage()    {}
func (*SendMsgAllReq) Descriptor() ([]byte, []int) {
	return fileDescriptor_62691ff0994625a6, []int{4}
}

func (m *SendMsgAllReq) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_SendMsgAllReq.Unmarshal(m, b)
}
func (m *SendMsgAllReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_SendMsgAllReq.Marshal(b, m, deterministic)
}
func (m *SendMsgAllReq) XXX_Merge(src proto.Message) {
	xxx_messageInfo_SendMsgAllReq.Merge(m, src)
}
func (m *SendMsgAllReq) XXX_Size() int {
	return xxx_messageInfo_SendMsgAllReq.Size(m)
}
func (m *SendMsgAllReq) XXX_DiscardUnknown() {
	xxx_messageInfo_SendMsgAllReq.DiscardUnknown(m)
}

var xxx_messageInfo_SendMsgAllReq proto.InternalMessageInfo

func (m *SendMsgAllReq) GetSeq() string {
	if m != nil {
		return m.Seq
	}
	return ""
}

func (m *SendMsgAllReq) GetAppId() uint32 {
	if m != nil {
		return m.AppId
	}
	return 0
}

func (m *SendMsgAllReq) GetUserId() string {
	if m != nil {
		return m.UserId
	}
	return ""
}

func (m *SendMsgAllReq) GetCms() string {
	if m != nil {
		return m.Cms
	}
	return ""
}

func (m *SendMsgAllReq) GetType() string {
	if m != nil {
		return m.Type
	}
	return ""
}

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

type SendMsgAllRsp struct {
	RetCode              uint32   `protobuf:"varint,1,opt,name=retCode,proto3" json:"retCode,omitempty"`
	ErrMsg               string   `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	SendMsgId            string   `protobuf:"bytes,3,opt,name=sendMsgId,proto3" json:"sendMsgId,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *SendMsgAllRsp) Reset()         { *m = SendMsgAllRsp{} }
func (m *SendMsgAllRsp) String() string { return proto.CompactTextString(m) }
func (*SendMsgAllRsp) ProtoMessage()    {}
func (*SendMsgAllRsp) Descriptor() ([]byte, []int) {
	return fileDescriptor_62691ff0994625a6, []int{5}
}

func (m *SendMsgAllRsp) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_SendMsgAllRsp.Unmarshal(m, b)
}
func (m *SendMsgAllRsp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_SendMsgAllRsp.Marshal(b, m, deterministic)
}
func (m *SendMsgAllRsp) XXX_Merge(src proto.Message) {
	xxx_messageInfo_SendMsgAllRsp.Merge(m, src)
}
func (m *SendMsgAllRsp) XXX_Size() int {
	return xxx_messageInfo_SendMsgAllRsp.Size(m)
}
func (m *SendMsgAllRsp) XXX_DiscardUnknown() {
	xxx_messageInfo_SendMsgAllRsp.DiscardUnknown(m)
}

var xxx_messageInfo_SendMsgAllRsp proto.InternalMessageInfo

func (m *SendMsgAllRsp) GetRetCode() uint32 {
	if m != nil {
		return m.RetCode
	}
	return 0
}

func (m *SendMsgAllRsp) GetErrMsg() string {
	if m != nil {
		return m.ErrMsg
	}
	return ""
}

func (m *SendMsgAllRsp) GetSendMsgId() string {
	if m != nil {
		return m.SendMsgId
	}
	return ""
}

// 获取用户列表
type GetUserListReq struct {
	AppId                uint32   `protobuf:"varint,1,opt,name=appId,proto3" json:"appId,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *GetUserListReq) Reset()         { *m = GetUserListReq{} }
func (m *GetUserListReq) String() string { return proto.CompactTextString(m) }
func (*GetUserListReq) ProtoMessage()    {}
func (*GetUserListReq) Descriptor() ([]byte, []int) {
	return fileDescriptor_62691ff0994625a6, []int{6}
}

func (m *GetUserListReq) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetUserListReq.Unmarshal(m, b)
}
func (m *GetUserListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetUserListReq.Marshal(b, m, deterministic)
}
func (m *GetUserListReq) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetUserListReq.Merge(m, src)
}
func (m *GetUserListReq) XXX_Size() int {
	return xxx_messageInfo_GetUserListReq.Size(m)
}
func (m *GetUserListReq) XXX_DiscardUnknown() {
	xxx_messageInfo_GetUserListReq.DiscardUnknown(m)
}

var xxx_messageInfo_GetUserListReq proto.InternalMessageInfo

func (m *GetUserListReq) GetAppId() uint32 {
	if m != nil {
		return m.AppId
	}
	return 0
}

type GetUserListRsp struct {
	RetCode              uint32   `protobuf:"varint,1,opt,name=retCode,proto3" json:"retCode,omitempty"`
	ErrMsg               string   `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	UserId               []string `protobuf:"bytes,3,rep,name=userId,proto3" json:"userId,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *GetUserListRsp) Reset()         { *m = GetUserListRsp{} }
func (m *GetUserListRsp) String() string { return proto.CompactTextString(m) }
func (*GetUserListRsp) ProtoMessage()    {}
func (*GetUserListRsp) Descriptor() ([]byte, []int) {
	return fileDescriptor_62691ff0994625a6, []int{7}
}

func (m *GetUserListRsp) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetUserListRsp.Unmarshal(m, b)
}
func (m *GetUserListRsp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetUserListRsp.Marshal(b, m, deterministic)
}
func (m *GetUserListRsp) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetUserListRsp.Merge(m, src)
}
func (m *GetUserListRsp) XXX_Size() int {
	return xxx_messageInfo_GetUserListRsp.Size(m)
}
func (m *GetUserListRsp) XXX_DiscardUnknown() {
	xxx_messageInfo_GetUserListRsp.DiscardUnknown(m)
}

var xxx_messageInfo_GetUserListRsp proto.InternalMessageInfo

func (m *GetUserListRsp) GetRetCode() uint32 {
	if m != nil {
		return m.RetCode
	}
	return 0
}

func (m *GetUserListRsp) GetErrMsg() string {
	if m != nil {
		return m.ErrMsg
	}
	return ""
}

func (m *GetUserListRsp) GetUserId() []string {
	if m != nil {
		return m.UserId
	}
	return nil
}

func init() {
	proto.RegisterType((*QueryUsersOnlineReq)(nil), "protobuf.QueryUsersOnlineReq")
	proto.RegisterType((*QueryUsersOnlineRsp)(nil), "protobuf.QueryUsersOnlineRsp")
	proto.RegisterType((*SendMsgReq)(nil), "protobuf.SendMsgReq")
	proto.RegisterType((*SendMsgRsp)(nil), "protobuf.SendMsgRsp")
	proto.RegisterType((*SendMsgAllReq)(nil), "protobuf.SendMsgAllReq")
	proto.RegisterType((*SendMsgAllRsp)(nil), "protobuf.SendMsgAllRsp")
	proto.RegisterType((*GetUserListReq)(nil), "protobuf.GetUserListReq")
	proto.RegisterType((*GetUserListRsp)(nil), "protobuf.GetUserListRsp")
}

func init() { proto.RegisterFile("im_protobuf.proto", fileDescriptor_62691ff0994625a6) }

var fileDescriptor_62691ff0994625a6 = []byte{
	// 413 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x53, 0x4d, 0xab, 0xd3, 0x40,
	0x14, 0x35, 0xcd, 0x7b, 0xed, 0xcb, 0x95, 0xca, 0x73, 0x7c, 0xe8, 0x18, 0x14, 0xca, 0x2c, 0xa4,
	0x0b, 0xc9, 0x42, 0x17, 0x6e, 0x6d, 0xbb, 0x90, 0x42, 0x8b, 0x35, 0xc5, 0x8d, 0x08, 0xa5, 0x4d,
	0xae, 0x21, 0x90, 0x34, 0xd3, 0xb9, 0xa9, 0xd8, 0x5f, 0xe0, 0xbf, 0xd0, 0xbf, 0x2a, 0x33, 0xf9,
	0x6a, 0x35, 0x75, 0x51, 0x10, 0x57, 0xb9, 0xe7, 0xde, 0x73, 0x0f, 0x67, 0x2e, 0x27, 0xf0, 0x30,
	0x4e, 0x57, 0x52, 0x65, 0x79, 0xb6, 0xd9, 0x7f, 0xf1, 0x4c, 0xc1, 0x6e, 0x2a, 0x2c, 0x26, 0xf0,
	0xe8, 0xc3, 0x1e, 0xd5, 0xe1, 0x23, 0xa1, 0xa2, 0xf7, 0xdb, 0x24, 0xde, 0xa2, 0x8f, 0x3b, 0x76,
	0x07, 0xd7, 0x6b, 0x29, 0xa7, 0x21, 0xb7, 0x06, 0xd6, 0xb0, 0xef, 0x17, 0x80, 0x3d, 0x86, 0xee,
	0x9e, 0x50, 0x4d, 0x43, 0xde, 0x19, 0x58, 0x43, 0xc7, 0x2f, 0x91, 0x58, 0xb5, 0x88, 0x90, 0x64,
	0x1c, 0x7a, 0x0a, 0xf3, 0x49, 0x16, 0x62, 0x29, 0x53, 0x41, 0x2d, 0x84, 0x4a, 0xcd, 0x29, 0xaa,
	0x84, 0x0a, 0xa4, 0xfb, 0x99, 0x59, 0xe7, 0xf6, 0xc0, 0x1a, 0xde, 0xf8, 0x25, 0x12, 0x3f, 0x2c,
	0x80, 0x25, 0x6e, 0xc3, 0x39, 0x45, 0xda, 0xdd, 0x2d, 0xd8, 0x84, 0x3b, 0x23, 0xea, 0xf8, 0xba,
	0x6c, 0xfc, 0x76, 0xda, 0xfd, 0xda, 0xc7, 0x7e, 0xf5, 0x7e, 0x90, 0x12, 0xbf, 0x2a, 0xf6, 0x83,
	0x94, 0x18, 0x83, 0xab, 0xfc, 0x20, 0x91, 0x5f, 0x9b, 0x96, 0xa9, 0x35, 0x2b, 0xa5, 0x88, 0x77,
	0x0b, 0x56, 0x4a, 0x91, 0x7e, 0x50, 0x4c, 0xb3, 0x2c, 0x58, 0x27, 0xbc, 0x67, 0xfc, 0x55, 0x50,
	0x7c, 0x6e, 0xfc, 0x5d, 0xf4, 0xf0, 0x67, 0xe0, 0x50, 0xb1, 0x5f, 0x9b, 0x6d, 0x1a, 0xe2, 0xbb,
	0x05, 0xfd, 0x52, 0x7e, 0x94, 0x24, 0xff, 0xf1, 0x02, 0x62, 0x75, 0x62, 0xe4, 0x1f, 0x3c, 0xf5,
	0x05, 0x3c, 0x78, 0x87, 0xb9, 0x0e, 0xd2, 0x2c, 0xa6, 0xfc, 0x6c, 0x14, 0xc5, 0xa7, 0x53, 0xde,
	0xa5, 0x69, 0xab, 0x8f, 0x63, 0x37, 0xc7, 0x79, 0xf5, 0xb3, 0x03, 0xce, 0x28, 0x08, 0x96, 0xa8,
	0xbe, 0xa2, 0x62, 0x3e, 0xdc, 0xfe, 0x1e, 0x6e, 0xf6, 0xdc, 0xab, 0x7f, 0xa8, 0x96, 0xbf, 0xc7,
	0xfd, 0xdb, 0x98, 0xa4, 0xb8, 0xc7, 0xde, 0x40, 0xaf, 0x3c, 0x23, 0xbb, 0x6b, 0xb8, 0x4d, 0xc2,
	0xdd, 0x96, 0xae, 0x59, 0x7c, 0x5b, 0xe7, 0x6c, 0x94, 0x24, 0xec, 0xc9, 0x1f, 0xac, 0x22, 0x1e,
	0x6e, 0xfb, 0xc0, 0x28, 0x4c, 0xe0, 0xfe, 0xd1, 0xe1, 0x18, 0x6f, 0x98, 0xa7, 0x77, 0x77, 0xcf,
	0x4c, 0xb4, 0xc8, 0xf8, 0x25, 0x3c, 0x8d, 0x33, 0x2f, 0x52, 0x32, 0xf0, 0xf0, 0xdb, 0x3a, 0x95,
	0x09, 0x52, 0xcd, 0x1e, 0xf7, 0x17, 0x65, 0x65, 0xbe, 0x0b, 0x6b, 0xd3, 0x35, 0xa3, 0xd7, 0xbf,
	0x02, 0x00, 0x00, 0xff, 0xff, 0x53, 0x3e, 0x6a, 0x5a, 0x89, 0x04, 0x00, 0x00,
}

// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn

// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion4

// AccServerClient is the client API for AccServer service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type AccServerClient interface {
	// 查询用户是否在线
	QueryUsersOnline(ctx context.Context, in *QueryUsersOnlineReq, opts ...grpc.CallOption) (*QueryUsersOnlineRsp, error)
	// 发送消息
	SendMsg(ctx context.Context, in *SendMsgReq, opts ...grpc.CallOption) (*SendMsgRsp, error)
	// 发送消息
	SendMsgAll(ctx context.Context, in *SendMsgAllReq, opts ...grpc.CallOption) (*SendMsgAllRsp, error)
	// 获取用户列表
	GetUserList(ctx context.Context, in *GetUserListReq, opts ...grpc.CallOption) (*GetUserListRsp, error)
}

type accServerClient struct {
	cc *grpc.ClientConn
}

func NewAccServerClient(cc *grpc.ClientConn) AccServerClient {
	return &accServerClient{cc}
}

func (c *accServerClient) QueryUsersOnline(ctx context.Context, in *QueryUsersOnlineReq, opts ...grpc.CallOption) (*QueryUsersOnlineRsp, error) {
	out := new(QueryUsersOnlineRsp)
	err := c.cc.Invoke(ctx, "/protobuf.AccServer/QueryUsersOnline", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *accServerClient) SendMsg(ctx context.Context, in *SendMsgReq, opts ...grpc.CallOption) (*SendMsgRsp, error) {
	out := new(SendMsgRsp)
	err := c.cc.Invoke(ctx, "/protobuf.AccServer/SendMsg", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *accServerClient) SendMsgAll(ctx context.Context, in *SendMsgAllReq, opts ...grpc.CallOption) (*SendMsgAllRsp, error) {
	out := new(SendMsgAllRsp)
	err := c.cc.Invoke(ctx, "/protobuf.AccServer/SendMsgAll", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *accServerClient) GetUserList(ctx context.Context, in *GetUserListReq, opts ...grpc.CallOption) (*GetUserListRsp, error) {
	out := new(GetUserListRsp)
	err := c.cc.Invoke(ctx, "/protobuf.AccServer/GetUserList", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// AccServerServer is the server API for AccServer service.
type AccServerServer interface {
	// 查询用户是否在线
	QueryUsersOnline(context.Context, *QueryUsersOnlineReq) (*QueryUsersOnlineRsp, error)
	// 发送消息
	SendMsg(context.Context, *SendMsgReq) (*SendMsgRsp, error)
	// 发送消息
	SendMsgAll(context.Context, *SendMsgAllReq) (*SendMsgAllRsp, error)
	// 获取用户列表
	GetUserList(context.Context, *GetUserListReq) (*GetUserListRsp, error)
}

// UnimplementedAccServerServer can be embedded to have forward compatible implementations.
type UnimplementedAccServerServer struct {
}

func (*UnimplementedAccServerServer) QueryUsersOnline(ctx context.Context, req *QueryUsersOnlineReq) (*QueryUsersOnlineRsp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method QueryUsersOnline not implemented")
}
func (*UnimplementedAccServerServer) SendMsg(ctx context.Context, req *SendMsgReq) (*SendMsgRsp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method SendMsg not implemented")
}
func (*UnimplementedAccServerServer) SendMsgAll(ctx context.Context, req *SendMsgAllReq) (*SendMsgAllRsp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method SendMsgAll not implemented")
}
func (*UnimplementedAccServerServer) GetUserList(ctx context.Context, req *GetUserListReq) (*GetUserListRsp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetUserList not implemented")
}

func RegisterAccServerServer(s *grpc.Server, srv AccServerServer) {
	s.RegisterService(&_AccServer_serviceDesc, srv)
}

func _AccServer_QueryUsersOnline_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(QueryUsersOnlineReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(AccServerServer).QueryUsersOnline(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/protobuf.AccServer/QueryUsersOnline",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(AccServerServer).QueryUsersOnline(ctx, req.(*QueryUsersOnlineReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _AccServer_SendMsg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(SendMsgReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(AccServerServer).SendMsg(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/protobuf.AccServer/SendMsg",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(AccServerServer).SendMsg(ctx, req.(*SendMsgReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _AccServer_SendMsgAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(SendMsgAllReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(AccServerServer).SendMsgAll(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/protobuf.AccServer/SendMsgAll",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(AccServerServer).SendMsgAll(ctx, req.(*SendMsgAllReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _AccServer_GetUserList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetUserListReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(AccServerServer).GetUserList(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/protobuf.AccServer/GetUserList",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(AccServerServer).GetUserList(ctx, req.(*GetUserListReq))
	}
	return interceptor(ctx, in, info, handler)
}

var _AccServer_serviceDesc = grpc.ServiceDesc{
	ServiceName: "protobuf.AccServer",
	HandlerType: (*AccServerServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "QueryUsersOnline",
			Handler:    _AccServer_QueryUsersOnline_Handler,
		},
		{
			MethodName: "SendMsg",
			Handler:    _AccServer_SendMsg_Handler,
		},
		{
			MethodName: "SendMsgAll",
			Handler:    _AccServer_SendMsgAll_Handler,
		},
		{
			MethodName: "GetUserList",
			Handler:    _AccServer_GetUserList_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "im_protobuf.proto",
}
