651 lines
19 KiB
Go
651 lines
19 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.28.0
|
|
// protoc v3.20.0
|
|
// source: chat/chat_msg.proto
|
|
|
|
package pb
|
|
|
|
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 ChatMessagePush struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Chats []*DBChat `protobuf:"bytes,1,rep,name=Chats,proto3" json:"Chats"`
|
|
}
|
|
|
|
func (x *ChatMessagePush) Reset() {
|
|
*x = ChatMessagePush{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_chat_msg_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ChatMessagePush) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ChatMessagePush) ProtoMessage() {}
|
|
|
|
func (x *ChatMessagePush) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_chat_msg_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 ChatMessagePush.ProtoReflect.Descriptor instead.
|
|
func (*ChatMessagePush) Descriptor() ([]byte, []int) {
|
|
return file_chat_chat_msg_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *ChatMessagePush) GetChats() []*DBChat {
|
|
if x != nil {
|
|
return x.Chats
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//申请跨服频道号
|
|
type ChatCrossChannelReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *ChatCrossChannelReq) Reset() {
|
|
*x = ChatCrossChannelReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_chat_msg_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ChatCrossChannelReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ChatCrossChannelReq) ProtoMessage() {}
|
|
|
|
func (x *ChatCrossChannelReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_chat_msg_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 ChatCrossChannelReq.ProtoReflect.Descriptor instead.
|
|
func (*ChatCrossChannelReq) Descriptor() ([]byte, []int) {
|
|
return file_chat_chat_msg_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
//申请跨服频道号 回应
|
|
type ChatCrossChannelResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ChannelId int32 `protobuf:"varint,1,opt,name=ChannelId,proto3" json:"ChannelId"`
|
|
}
|
|
|
|
func (x *ChatCrossChannelResp) Reset() {
|
|
*x = ChatCrossChannelResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_chat_msg_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ChatCrossChannelResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ChatCrossChannelResp) ProtoMessage() {}
|
|
|
|
func (x *ChatCrossChannelResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_chat_msg_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 ChatCrossChannelResp.ProtoReflect.Descriptor instead.
|
|
func (*ChatCrossChannelResp) Descriptor() ([]byte, []int) {
|
|
return file_chat_chat_msg_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *ChatCrossChannelResp) GetChannelId() int32 {
|
|
if x != nil {
|
|
return x.ChannelId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
//请求未读消息
|
|
type ChatGetListReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *ChatGetListReq) Reset() {
|
|
*x = ChatGetListReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_chat_msg_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ChatGetListReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ChatGetListReq) ProtoMessage() {}
|
|
|
|
func (x *ChatGetListReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_chat_msg_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 ChatGetListReq.ProtoReflect.Descriptor instead.
|
|
func (*ChatGetListReq) Descriptor() ([]byte, []int) {
|
|
return file_chat_chat_msg_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
type ChatGetListResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Chats []*DBChat `protobuf:"bytes,1,rep,name=Chats,proto3" json:"Chats"`
|
|
}
|
|
|
|
func (x *ChatGetListResp) Reset() {
|
|
*x = ChatGetListResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_chat_msg_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ChatGetListResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ChatGetListResp) ProtoMessage() {}
|
|
|
|
func (x *ChatGetListResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_chat_msg_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 ChatGetListResp.ProtoReflect.Descriptor instead.
|
|
func (*ChatGetListResp) Descriptor() ([]byte, []int) {
|
|
return file_chat_chat_msg_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *ChatGetListResp) GetChats() []*DBChat {
|
|
if x != nil {
|
|
return x.Chats
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//消息发送请求
|
|
type ChatSendReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Channel ChatChannel `protobuf:"varint,1,opt,name=channel,proto3,enum=ChatChannel" json:"channel"` //频道
|
|
TargetId string `protobuf:"bytes,2,opt,name=targetId,proto3" json:"targetId"` //目标用户id
|
|
Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content"` //内容
|
|
}
|
|
|
|
func (x *ChatSendReq) Reset() {
|
|
*x = ChatSendReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_chat_msg_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ChatSendReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ChatSendReq) ProtoMessage() {}
|
|
|
|
func (x *ChatSendReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_chat_msg_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 ChatSendReq.ProtoReflect.Descriptor instead.
|
|
func (*ChatSendReq) Descriptor() ([]byte, []int) {
|
|
return file_chat_chat_msg_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *ChatSendReq) GetChannel() ChatChannel {
|
|
if x != nil {
|
|
return x.Channel
|
|
}
|
|
return ChatChannel_World
|
|
}
|
|
|
|
func (x *ChatSendReq) GetTargetId() string {
|
|
if x != nil {
|
|
return x.TargetId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ChatSendReq) GetContent() string {
|
|
if x != nil {
|
|
return x.Content
|
|
}
|
|
return ""
|
|
}
|
|
|
|
//消息发送请求 回应
|
|
type ChatSendResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *ChatSendResp) Reset() {
|
|
*x = ChatSendResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_chat_msg_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ChatSendResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ChatSendResp) ProtoMessage() {}
|
|
|
|
func (x *ChatSendResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_chat_msg_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 ChatSendResp.ProtoReflect.Descriptor instead.
|
|
func (*ChatSendResp) Descriptor() ([]byte, []int) {
|
|
return file_chat_chat_msg_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
//跨服消息发送请求
|
|
type ChatSpanSendReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Channel ChatChannel `protobuf:"varint,1,opt,name=channel,proto3,enum=ChatChannel" json:"channel"` //频道
|
|
Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content"` //内容
|
|
}
|
|
|
|
func (x *ChatSpanSendReq) Reset() {
|
|
*x = ChatSpanSendReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_chat_msg_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ChatSpanSendReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ChatSpanSendReq) ProtoMessage() {}
|
|
|
|
func (x *ChatSpanSendReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_chat_msg_proto_msgTypes[7]
|
|
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 ChatSpanSendReq.ProtoReflect.Descriptor instead.
|
|
func (*ChatSpanSendReq) Descriptor() ([]byte, []int) {
|
|
return file_chat_chat_msg_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *ChatSpanSendReq) GetChannel() ChatChannel {
|
|
if x != nil {
|
|
return x.Channel
|
|
}
|
|
return ChatChannel_World
|
|
}
|
|
|
|
func (x *ChatSpanSendReq) GetContent() string {
|
|
if x != nil {
|
|
return x.Content
|
|
}
|
|
return ""
|
|
}
|
|
|
|
//跨服消息发送请求 回应
|
|
type ChatSpanSendResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *ChatSpanSendResp) Reset() {
|
|
*x = ChatSpanSendResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_chat_msg_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ChatSpanSendResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ChatSpanSendResp) ProtoMessage() {}
|
|
|
|
func (x *ChatSpanSendResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_chat_msg_proto_msgTypes[8]
|
|
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 ChatSpanSendResp.ProtoReflect.Descriptor instead.
|
|
func (*ChatSpanSendResp) Descriptor() ([]byte, []int) {
|
|
return file_chat_chat_msg_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
var File_chat_chat_msg_proto protoreflect.FileDescriptor
|
|
|
|
var file_chat_chat_msg_proto_rawDesc = []byte{
|
|
0x0a, 0x13, 0x63, 0x68, 0x61, 0x74, 0x2f, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x6d, 0x73, 0x67, 0x2e,
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x63, 0x68, 0x61, 0x74, 0x2f, 0x63, 0x68, 0x61, 0x74,
|
|
0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x30, 0x0a, 0x0f, 0x43, 0x68, 0x61,
|
|
0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x50, 0x75, 0x73, 0x68, 0x12, 0x1d, 0x0a, 0x05,
|
|
0x43, 0x68, 0x61, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x44, 0x42,
|
|
0x43, 0x68, 0x61, 0x74, 0x52, 0x05, 0x43, 0x68, 0x61, 0x74, 0x73, 0x22, 0x15, 0x0a, 0x13, 0x43,
|
|
0x68, 0x61, 0x74, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52,
|
|
0x65, 0x71, 0x22, 0x34, 0x0a, 0x14, 0x43, 0x68, 0x61, 0x74, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x43,
|
|
0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1c, 0x0a, 0x09, 0x43, 0x68,
|
|
0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x43,
|
|
0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x22, 0x10, 0x0a, 0x0e, 0x43, 0x68, 0x61, 0x74,
|
|
0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x22, 0x30, 0x0a, 0x0f, 0x43, 0x68,
|
|
0x61, 0x74, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a,
|
|
0x05, 0x43, 0x68, 0x61, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x44,
|
|
0x42, 0x43, 0x68, 0x61, 0x74, 0x52, 0x05, 0x43, 0x68, 0x61, 0x74, 0x73, 0x22, 0x6b, 0x0a, 0x0b,
|
|
0x43, 0x68, 0x61, 0x74, 0x53, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x12, 0x26, 0x0a, 0x07, 0x63,
|
|
0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0c, 0x2e, 0x43,
|
|
0x68, 0x61, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x07, 0x63, 0x68, 0x61, 0x6e,
|
|
0x6e, 0x65, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x49, 0x64, 0x18,
|
|
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x49, 0x64, 0x12,
|
|
0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, 0x0e, 0x0a, 0x0c, 0x43, 0x68, 0x61,
|
|
0x74, 0x53, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x70, 0x22, 0x53, 0x0a, 0x0f, 0x43, 0x68, 0x61,
|
|
0x74, 0x53, 0x70, 0x61, 0x6e, 0x53, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x12, 0x26, 0x0a, 0x07,
|
|
0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0c, 0x2e,
|
|
0x43, 0x68, 0x61, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x07, 0x63, 0x68, 0x61,
|
|
0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18,
|
|
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, 0x12,
|
|
0x0a, 0x10, 0x43, 0x68, 0x61, 0x74, 0x53, 0x70, 0x61, 0x6e, 0x53, 0x65, 0x6e, 0x64, 0x52, 0x65,
|
|
0x73, 0x70, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
|
|
0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_chat_chat_msg_proto_rawDescOnce sync.Once
|
|
file_chat_chat_msg_proto_rawDescData = file_chat_chat_msg_proto_rawDesc
|
|
)
|
|
|
|
func file_chat_chat_msg_proto_rawDescGZIP() []byte {
|
|
file_chat_chat_msg_proto_rawDescOnce.Do(func() {
|
|
file_chat_chat_msg_proto_rawDescData = protoimpl.X.CompressGZIP(file_chat_chat_msg_proto_rawDescData)
|
|
})
|
|
return file_chat_chat_msg_proto_rawDescData
|
|
}
|
|
|
|
var file_chat_chat_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
|
|
var file_chat_chat_msg_proto_goTypes = []interface{}{
|
|
(*ChatMessagePush)(nil), // 0: ChatMessagePush
|
|
(*ChatCrossChannelReq)(nil), // 1: ChatCrossChannelReq
|
|
(*ChatCrossChannelResp)(nil), // 2: ChatCrossChannelResp
|
|
(*ChatGetListReq)(nil), // 3: ChatGetListReq
|
|
(*ChatGetListResp)(nil), // 4: ChatGetListResp
|
|
(*ChatSendReq)(nil), // 5: ChatSendReq
|
|
(*ChatSendResp)(nil), // 6: ChatSendResp
|
|
(*ChatSpanSendReq)(nil), // 7: ChatSpanSendReq
|
|
(*ChatSpanSendResp)(nil), // 8: ChatSpanSendResp
|
|
(*DBChat)(nil), // 9: DBChat
|
|
(ChatChannel)(0), // 10: ChatChannel
|
|
}
|
|
var file_chat_chat_msg_proto_depIdxs = []int32{
|
|
9, // 0: ChatMessagePush.Chats:type_name -> DBChat
|
|
9, // 1: ChatGetListResp.Chats:type_name -> DBChat
|
|
10, // 2: ChatSendReq.channel:type_name -> ChatChannel
|
|
10, // 3: ChatSpanSendReq.channel:type_name -> ChatChannel
|
|
4, // [4:4] is the sub-list for method output_type
|
|
4, // [4:4] is the sub-list for method input_type
|
|
4, // [4:4] is the sub-list for extension type_name
|
|
4, // [4:4] is the sub-list for extension extendee
|
|
0, // [0:4] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_chat_chat_msg_proto_init() }
|
|
func file_chat_chat_msg_proto_init() {
|
|
if File_chat_chat_msg_proto != nil {
|
|
return
|
|
}
|
|
file_chat_chat_db_proto_init()
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_chat_chat_msg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ChatMessagePush); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_chat_msg_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ChatCrossChannelReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_chat_msg_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ChatCrossChannelResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_chat_msg_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ChatGetListReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_chat_msg_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ChatGetListResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_chat_msg_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ChatSendReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_chat_msg_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ChatSendResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_chat_msg_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ChatSpanSendReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_chat_msg_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ChatSpanSendResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_chat_chat_msg_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumMessages: 9,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_chat_chat_msg_proto_goTypes,
|
|
DependencyIndexes: file_chat_chat_msg_proto_depIdxs,
|
|
MessageInfos: file_chat_chat_msg_proto_msgTypes,
|
|
}.Build()
|
|
File_chat_chat_msg_proto = out.File
|
|
file_chat_chat_msg_proto_rawDesc = nil
|
|
file_chat_chat_msg_proto_goTypes = nil
|
|
file_chat_chat_msg_proto_depIdxs = nil
|
|
}
|