mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 11:07:40 +08:00
822 lines
26 KiB
Go
822 lines
26 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.27.1
|
|
// protoc v3.14.0
|
|
// source: pb/channel/MsgResponsesSvr.proto
|
|
|
|
package channel
|
|
|
|
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 BatchGetMsgRspCountReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
GuildMsgList []*GuildMsg `protobuf:"bytes,1,rep,name=guildMsgList" json:"guildMsgList,omitempty"`
|
|
}
|
|
|
|
func (x *BatchGetMsgRspCountReq) Reset() {
|
|
*x = BatchGetMsgRspCountReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pb_channel_MsgResponsesSvr_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *BatchGetMsgRspCountReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BatchGetMsgRspCountReq) ProtoMessage() {}
|
|
|
|
func (x *BatchGetMsgRspCountReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pb_channel_MsgResponsesSvr_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 BatchGetMsgRspCountReq.ProtoReflect.Descriptor instead.
|
|
func (*BatchGetMsgRspCountReq) Descriptor() ([]byte, []int) {
|
|
return file_pb_channel_MsgResponsesSvr_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *BatchGetMsgRspCountReq) GetGuildMsgList() []*GuildMsg {
|
|
if x != nil {
|
|
return x.GuildMsgList
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type BatchGetMsgRspCountRsp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
GuildMsgInfoList []*GuildMsgInfo `protobuf:"bytes,1,rep,name=guildMsgInfoList" json:"guildMsgInfoList,omitempty"`
|
|
}
|
|
|
|
func (x *BatchGetMsgRspCountRsp) Reset() {
|
|
*x = BatchGetMsgRspCountRsp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pb_channel_MsgResponsesSvr_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *BatchGetMsgRspCountRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BatchGetMsgRspCountRsp) ProtoMessage() {}
|
|
|
|
func (x *BatchGetMsgRspCountRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pb_channel_MsgResponsesSvr_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 BatchGetMsgRspCountRsp.ProtoReflect.Descriptor instead.
|
|
func (*BatchGetMsgRspCountRsp) Descriptor() ([]byte, []int) {
|
|
return file_pb_channel_MsgResponsesSvr_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *BatchGetMsgRspCountRsp) GetGuildMsgInfoList() []*GuildMsgInfo {
|
|
if x != nil {
|
|
return x.GuildMsgInfoList
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SvrChannelMsg struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ChannelId *uint64 `protobuf:"varint,1,opt,name=channelId" json:"channelId,omitempty"`
|
|
Id []*MsgId `protobuf:"bytes,2,rep,name=id" json:"id,omitempty"`
|
|
}
|
|
|
|
func (x *SvrChannelMsg) Reset() {
|
|
*x = SvrChannelMsg{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pb_channel_MsgResponsesSvr_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SvrChannelMsg) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SvrChannelMsg) ProtoMessage() {}
|
|
|
|
func (x *SvrChannelMsg) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pb_channel_MsgResponsesSvr_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 SvrChannelMsg.ProtoReflect.Descriptor instead.
|
|
func (*SvrChannelMsg) Descriptor() ([]byte, []int) {
|
|
return file_pb_channel_MsgResponsesSvr_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *SvrChannelMsg) GetChannelId() uint64 {
|
|
if x != nil && x.ChannelId != nil {
|
|
return *x.ChannelId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SvrChannelMsg) GetId() []*MsgId {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ChannelMsgInfo struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ChannelId *uint64 `protobuf:"varint,1,opt,name=channelId" json:"channelId,omitempty"`
|
|
RespData []*MsgRespData `protobuf:"bytes,2,rep,name=respData" json:"respData,omitempty"`
|
|
}
|
|
|
|
func (x *ChannelMsgInfo) Reset() {
|
|
*x = ChannelMsgInfo{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pb_channel_MsgResponsesSvr_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ChannelMsgInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ChannelMsgInfo) ProtoMessage() {}
|
|
|
|
func (x *ChannelMsgInfo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pb_channel_MsgResponsesSvr_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 ChannelMsgInfo.ProtoReflect.Descriptor instead.
|
|
func (*ChannelMsgInfo) Descriptor() ([]byte, []int) {
|
|
return file_pb_channel_MsgResponsesSvr_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *ChannelMsgInfo) GetChannelId() uint64 {
|
|
if x != nil && x.ChannelId != nil {
|
|
return *x.ChannelId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ChannelMsgInfo) GetRespData() []*MsgRespData {
|
|
if x != nil {
|
|
return x.RespData
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type EmojiReaction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
EmojiId *string `protobuf:"bytes,1,opt,name=emojiId" json:"emojiId,omitempty"`
|
|
EmojiType *uint64 `protobuf:"varint,2,opt,name=emojiType" json:"emojiType,omitempty"`
|
|
Cnt *uint64 `protobuf:"varint,3,opt,name=cnt" json:"cnt,omitempty"`
|
|
IsClicked *bool `protobuf:"varint,4,opt,name=isClicked" json:"isClicked,omitempty"`
|
|
}
|
|
|
|
func (x *EmojiReaction) Reset() {
|
|
*x = EmojiReaction{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pb_channel_MsgResponsesSvr_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *EmojiReaction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EmojiReaction) ProtoMessage() {}
|
|
|
|
func (x *EmojiReaction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pb_channel_MsgResponsesSvr_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 EmojiReaction.ProtoReflect.Descriptor instead.
|
|
func (*EmojiReaction) Descriptor() ([]byte, []int) {
|
|
return file_pb_channel_MsgResponsesSvr_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *EmojiReaction) GetEmojiId() string {
|
|
if x != nil && x.EmojiId != nil {
|
|
return *x.EmojiId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EmojiReaction) GetEmojiType() uint64 {
|
|
if x != nil && x.EmojiType != nil {
|
|
return *x.EmojiType
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *EmojiReaction) GetCnt() uint64 {
|
|
if x != nil && x.Cnt != nil {
|
|
return *x.Cnt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *EmojiReaction) GetIsClicked() bool {
|
|
if x != nil && x.IsClicked != nil {
|
|
return *x.IsClicked
|
|
}
|
|
return false
|
|
}
|
|
|
|
type GuildMsg struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
GuildId *uint64 `protobuf:"varint,1,opt,name=guildId" json:"guildId,omitempty"`
|
|
ChannelMsgList []*SvrChannelMsg `protobuf:"bytes,2,rep,name=channelMsgList" json:"channelMsgList,omitempty"`
|
|
}
|
|
|
|
func (x *GuildMsg) Reset() {
|
|
*x = GuildMsg{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pb_channel_MsgResponsesSvr_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GuildMsg) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GuildMsg) ProtoMessage() {}
|
|
|
|
func (x *GuildMsg) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pb_channel_MsgResponsesSvr_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 GuildMsg.ProtoReflect.Descriptor instead.
|
|
func (*GuildMsg) Descriptor() ([]byte, []int) {
|
|
return file_pb_channel_MsgResponsesSvr_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *GuildMsg) GetGuildId() uint64 {
|
|
if x != nil && x.GuildId != nil {
|
|
return *x.GuildId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GuildMsg) GetChannelMsgList() []*SvrChannelMsg {
|
|
if x != nil {
|
|
return x.ChannelMsgList
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GuildMsgInfo struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
GuildId *uint64 `protobuf:"varint,1,opt,name=guildId" json:"guildId,omitempty"`
|
|
ChannelMsgInfoList []*ChannelMsgInfo `protobuf:"bytes,2,rep,name=channelMsgInfoList" json:"channelMsgInfoList,omitempty"`
|
|
}
|
|
|
|
func (x *GuildMsgInfo) Reset() {
|
|
*x = GuildMsgInfo{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pb_channel_MsgResponsesSvr_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GuildMsgInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GuildMsgInfo) ProtoMessage() {}
|
|
|
|
func (x *GuildMsgInfo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pb_channel_MsgResponsesSvr_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 GuildMsgInfo.ProtoReflect.Descriptor instead.
|
|
func (*GuildMsgInfo) Descriptor() ([]byte, []int) {
|
|
return file_pb_channel_MsgResponsesSvr_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *GuildMsgInfo) GetGuildId() uint64 {
|
|
if x != nil && x.GuildId != nil {
|
|
return *x.GuildId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GuildMsgInfo) GetChannelMsgInfoList() []*ChannelMsgInfo {
|
|
if x != nil {
|
|
return x.ChannelMsgInfoList
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type MsgCnt struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id *MsgId `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
|
|
EmojiReaction []*EmojiReaction `protobuf:"bytes,2,rep,name=emojiReaction" json:"emojiReaction,omitempty"`
|
|
}
|
|
|
|
func (x *MsgCnt) Reset() {
|
|
*x = MsgCnt{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pb_channel_MsgResponsesSvr_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *MsgCnt) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MsgCnt) ProtoMessage() {}
|
|
|
|
func (x *MsgCnt) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pb_channel_MsgResponsesSvr_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 MsgCnt.ProtoReflect.Descriptor instead.
|
|
func (*MsgCnt) Descriptor() ([]byte, []int) {
|
|
return file_pb_channel_MsgResponsesSvr_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *MsgCnt) GetId() *MsgId {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *MsgCnt) GetEmojiReaction() []*EmojiReaction {
|
|
if x != nil {
|
|
return x.EmojiReaction
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type MsgId struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Version *uint64 `protobuf:"varint,1,opt,name=version" json:"version,omitempty"`
|
|
Seq *uint64 `protobuf:"varint,2,opt,name=seq" json:"seq,omitempty"`
|
|
}
|
|
|
|
func (x *MsgId) Reset() {
|
|
*x = MsgId{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pb_channel_MsgResponsesSvr_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *MsgId) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MsgId) ProtoMessage() {}
|
|
|
|
func (x *MsgId) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pb_channel_MsgResponsesSvr_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 MsgId.ProtoReflect.Descriptor instead.
|
|
func (*MsgId) Descriptor() ([]byte, []int) {
|
|
return file_pb_channel_MsgResponsesSvr_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *MsgId) GetVersion() uint64 {
|
|
if x != nil && x.Version != nil {
|
|
return *x.Version
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MsgId) GetSeq() uint64 {
|
|
if x != nil && x.Seq != nil {
|
|
return *x.Seq
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type MsgRespData struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id *MsgId `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
|
|
Cnt []byte `protobuf:"bytes,2,opt,name=cnt" json:"cnt,omitempty"`
|
|
}
|
|
|
|
func (x *MsgRespData) Reset() {
|
|
*x = MsgRespData{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pb_channel_MsgResponsesSvr_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *MsgRespData) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MsgRespData) ProtoMessage() {}
|
|
|
|
func (x *MsgRespData) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pb_channel_MsgResponsesSvr_proto_msgTypes[9]
|
|
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 MsgRespData.ProtoReflect.Descriptor instead.
|
|
func (*MsgRespData) Descriptor() ([]byte, []int) {
|
|
return file_pb_channel_MsgResponsesSvr_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *MsgRespData) GetId() *MsgId {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *MsgRespData) GetCnt() []byte {
|
|
if x != nil {
|
|
return x.Cnt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_pb_channel_MsgResponsesSvr_proto protoreflect.FileDescriptor
|
|
|
|
var file_pb_channel_MsgResponsesSvr_proto_rawDesc = []byte{
|
|
0x0a, 0x20, 0x70, 0x62, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x4d, 0x73, 0x67,
|
|
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x53, 0x76, 0x72, 0x2e, 0x70, 0x72, 0x6f,
|
|
0x74, 0x6f, 0x22, 0x47, 0x0a, 0x16, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x4d, 0x73,
|
|
0x67, 0x52, 0x73, 0x70, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x12, 0x2d, 0x0a, 0x0c,
|
|
0x67, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x73, 0x67, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03,
|
|
0x28, 0x0b, 0x32, 0x09, 0x2e, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x73, 0x67, 0x52, 0x0c, 0x67,
|
|
0x75, 0x69, 0x6c, 0x64, 0x4d, 0x73, 0x67, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x53, 0x0a, 0x16, 0x42,
|
|
0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x4d, 0x73, 0x67, 0x52, 0x73, 0x70, 0x43, 0x6f, 0x75,
|
|
0x6e, 0x74, 0x52, 0x73, 0x70, 0x12, 0x39, 0x0a, 0x10, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x73,
|
|
0x67, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
|
0x0d, 0x2e, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x73, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x10,
|
|
0x67, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x73, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74,
|
|
0x22, 0x45, 0x0a, 0x0d, 0x53, 0x76, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4d, 0x73,
|
|
0x67, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x12,
|
|
0x16, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x06, 0x2e, 0x4d, 0x73,
|
|
0x67, 0x49, 0x64, 0x52, 0x02, 0x69, 0x64, 0x22, 0x58, 0x0a, 0x0e, 0x43, 0x68, 0x61, 0x6e, 0x6e,
|
|
0x65, 0x6c, 0x4d, 0x73, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x68, 0x61,
|
|
0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x63, 0x68,
|
|
0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, 0x44,
|
|
0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x4d, 0x73, 0x67, 0x52,
|
|
0x65, 0x73, 0x70, 0x44, 0x61, 0x74, 0x61, 0x52, 0x08, 0x72, 0x65, 0x73, 0x70, 0x44, 0x61, 0x74,
|
|
0x61, 0x22, 0x77, 0x0a, 0x0d, 0x45, 0x6d, 0x6f, 0x6a, 0x69, 0x52, 0x65, 0x61, 0x63, 0x74, 0x69,
|
|
0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6d, 0x6f, 0x6a, 0x69, 0x49, 0x64, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x6d, 0x6f, 0x6a, 0x69, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09,
|
|
0x65, 0x6d, 0x6f, 0x6a, 0x69, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52,
|
|
0x09, 0x65, 0x6d, 0x6f, 0x6a, 0x69, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x6e,
|
|
0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x63, 0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x09,
|
|
0x69, 0x73, 0x43, 0x6c, 0x69, 0x63, 0x6b, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52,
|
|
0x09, 0x69, 0x73, 0x43, 0x6c, 0x69, 0x63, 0x6b, 0x65, 0x64, 0x22, 0x5c, 0x0a, 0x08, 0x47, 0x75,
|
|
0x69, 0x6c, 0x64, 0x4d, 0x73, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49,
|
|
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64,
|
|
0x12, 0x36, 0x0a, 0x0e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4d, 0x73, 0x67, 0x4c, 0x69,
|
|
0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x53, 0x76, 0x72, 0x43, 0x68,
|
|
0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4d, 0x73, 0x67, 0x52, 0x0e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65,
|
|
0x6c, 0x4d, 0x73, 0x67, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x69, 0x0a, 0x0c, 0x47, 0x75, 0x69, 0x6c,
|
|
0x64, 0x4d, 0x73, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c,
|
|
0x64, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64,
|
|
0x49, 0x64, 0x12, 0x3f, 0x0a, 0x12, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4d, 0x73, 0x67,
|
|
0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f,
|
|
0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4d, 0x73, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x52,
|
|
0x12, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4d, 0x73, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x4c,
|
|
0x69, 0x73, 0x74, 0x22, 0x56, 0x0a, 0x06, 0x4d, 0x73, 0x67, 0x43, 0x6e, 0x74, 0x12, 0x16, 0x0a,
|
|
0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x06, 0x2e, 0x4d, 0x73, 0x67, 0x49,
|
|
0x64, 0x52, 0x02, 0x69, 0x64, 0x12, 0x34, 0x0a, 0x0d, 0x65, 0x6d, 0x6f, 0x6a, 0x69, 0x52, 0x65,
|
|
0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x45,
|
|
0x6d, 0x6f, 0x6a, 0x69, 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x65, 0x6d,
|
|
0x6f, 0x6a, 0x69, 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x33, 0x0a, 0x05, 0x4d,
|
|
0x73, 0x67, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x10,
|
|
0x0a, 0x03, 0x73, 0x65, 0x71, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x73, 0x65, 0x71,
|
|
0x22, 0x37, 0x0a, 0x0b, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x73, 0x70, 0x44, 0x61, 0x74, 0x61, 0x12,
|
|
0x16, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x06, 0x2e, 0x4d, 0x73,
|
|
0x67, 0x49, 0x64, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x6e, 0x74, 0x18, 0x02,
|
|
0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x63, 0x6e, 0x74, 0x42, 0x14, 0x5a, 0x12, 0x70, 0x62, 0x2f,
|
|
0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x3b, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c,
|
|
}
|
|
|
|
var (
|
|
file_pb_channel_MsgResponsesSvr_proto_rawDescOnce sync.Once
|
|
file_pb_channel_MsgResponsesSvr_proto_rawDescData = file_pb_channel_MsgResponsesSvr_proto_rawDesc
|
|
)
|
|
|
|
func file_pb_channel_MsgResponsesSvr_proto_rawDescGZIP() []byte {
|
|
file_pb_channel_MsgResponsesSvr_proto_rawDescOnce.Do(func() {
|
|
file_pb_channel_MsgResponsesSvr_proto_rawDescData = protoimpl.X.CompressGZIP(file_pb_channel_MsgResponsesSvr_proto_rawDescData)
|
|
})
|
|
return file_pb_channel_MsgResponsesSvr_proto_rawDescData
|
|
}
|
|
|
|
var file_pb_channel_MsgResponsesSvr_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
|
|
var file_pb_channel_MsgResponsesSvr_proto_goTypes = []interface{}{
|
|
(*BatchGetMsgRspCountReq)(nil), // 0: BatchGetMsgRspCountReq
|
|
(*BatchGetMsgRspCountRsp)(nil), // 1: BatchGetMsgRspCountRsp
|
|
(*SvrChannelMsg)(nil), // 2: SvrChannelMsg
|
|
(*ChannelMsgInfo)(nil), // 3: ChannelMsgInfo
|
|
(*EmojiReaction)(nil), // 4: EmojiReaction
|
|
(*GuildMsg)(nil), // 5: GuildMsg
|
|
(*GuildMsgInfo)(nil), // 6: GuildMsgInfo
|
|
(*MsgCnt)(nil), // 7: MsgCnt
|
|
(*MsgId)(nil), // 8: MsgId
|
|
(*MsgRespData)(nil), // 9: MsgRespData
|
|
}
|
|
var file_pb_channel_MsgResponsesSvr_proto_depIdxs = []int32{
|
|
5, // 0: BatchGetMsgRspCountReq.guildMsgList:type_name -> GuildMsg
|
|
6, // 1: BatchGetMsgRspCountRsp.guildMsgInfoList:type_name -> GuildMsgInfo
|
|
8, // 2: SvrChannelMsg.id:type_name -> MsgId
|
|
9, // 3: ChannelMsgInfo.respData:type_name -> MsgRespData
|
|
2, // 4: GuildMsg.channelMsgList:type_name -> SvrChannelMsg
|
|
3, // 5: GuildMsgInfo.channelMsgInfoList:type_name -> ChannelMsgInfo
|
|
8, // 6: MsgCnt.id:type_name -> MsgId
|
|
4, // 7: MsgCnt.emojiReaction:type_name -> EmojiReaction
|
|
8, // 8: MsgRespData.id:type_name -> MsgId
|
|
9, // [9:9] is the sub-list for method output_type
|
|
9, // [9:9] is the sub-list for method input_type
|
|
9, // [9:9] is the sub-list for extension type_name
|
|
9, // [9:9] is the sub-list for extension extendee
|
|
0, // [0:9] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_pb_channel_MsgResponsesSvr_proto_init() }
|
|
func file_pb_channel_MsgResponsesSvr_proto_init() {
|
|
if File_pb_channel_MsgResponsesSvr_proto != nil {
|
|
return
|
|
}
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_pb_channel_MsgResponsesSvr_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*BatchGetMsgRspCountReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_pb_channel_MsgResponsesSvr_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*BatchGetMsgRspCountRsp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_pb_channel_MsgResponsesSvr_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SvrChannelMsg); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_pb_channel_MsgResponsesSvr_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ChannelMsgInfo); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_pb_channel_MsgResponsesSvr_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*EmojiReaction); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_pb_channel_MsgResponsesSvr_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GuildMsg); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_pb_channel_MsgResponsesSvr_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GuildMsgInfo); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_pb_channel_MsgResponsesSvr_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*MsgCnt); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_pb_channel_MsgResponsesSvr_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*MsgId); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_pb_channel_MsgResponsesSvr_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*MsgRespData); 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_pb_channel_MsgResponsesSvr_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumMessages: 10,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_pb_channel_MsgResponsesSvr_proto_goTypes,
|
|
DependencyIndexes: file_pb_channel_MsgResponsesSvr_proto_depIdxs,
|
|
MessageInfos: file_pb_channel_MsgResponsesSvr_proto_msgTypes,
|
|
}.Build()
|
|
File_pb_channel_MsgResponsesSvr_proto = out.File
|
|
file_pb_channel_MsgResponsesSvr_proto_rawDesc = nil
|
|
file_pb_channel_MsgResponsesSvr_proto_goTypes = nil
|
|
file_pb_channel_MsgResponsesSvr_proto_depIdxs = nil
|
|
}
|