897 lines
26 KiB
Go
897 lines
26 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.28.0
|
|
// protoc v3.20.0
|
|
// source: mail/mail_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 MailGetListReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *MailGetListReq) Reset() {
|
|
*x = MailGetListReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_mail_mail_msg_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *MailGetListReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MailGetListReq) ProtoMessage() {}
|
|
|
|
func (x *MailGetListReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mail_mail_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 MailGetListReq.ProtoReflect.Descriptor instead.
|
|
func (*MailGetListReq) Descriptor() ([]byte, []int) {
|
|
return file_mail_mail_msg_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
// 查询邮件信息
|
|
type MailGetListResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Mails []*DBMailData `protobuf:"bytes,1,rep,name=Mails,proto3" json:"Mails"`
|
|
}
|
|
|
|
func (x *MailGetListResp) Reset() {
|
|
*x = MailGetListResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_mail_mail_msg_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *MailGetListResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MailGetListResp) ProtoMessage() {}
|
|
|
|
func (x *MailGetListResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mail_mail_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 MailGetListResp.ProtoReflect.Descriptor instead.
|
|
func (*MailGetListResp) Descriptor() ([]byte, []int) {
|
|
return file_mail_mail_msg_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *MailGetListResp) GetMails() []*DBMailData {
|
|
if x != nil {
|
|
return x.Mails
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 查看邮件
|
|
type MailReadMailReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ObjID string `protobuf:"bytes,1,opt,name=ObjID,proto3" json:"ObjID"`
|
|
}
|
|
|
|
func (x *MailReadMailReq) Reset() {
|
|
*x = MailReadMailReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_mail_mail_msg_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *MailReadMailReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MailReadMailReq) ProtoMessage() {}
|
|
|
|
func (x *MailReadMailReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mail_mail_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 MailReadMailReq.ProtoReflect.Descriptor instead.
|
|
func (*MailReadMailReq) Descriptor() ([]byte, []int) {
|
|
return file_mail_mail_msg_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *MailReadMailReq) GetObjID() string {
|
|
if x != nil {
|
|
return x.ObjID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type MailReadMailResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Mail *DBMailData `protobuf:"bytes,1,opt,name=Mail,proto3" json:"Mail"`
|
|
}
|
|
|
|
func (x *MailReadMailResp) Reset() {
|
|
*x = MailReadMailResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_mail_mail_msg_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *MailReadMailResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MailReadMailResp) ProtoMessage() {}
|
|
|
|
func (x *MailReadMailResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mail_mail_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 MailReadMailResp.ProtoReflect.Descriptor instead.
|
|
func (*MailReadMailResp) Descriptor() ([]byte, []int) {
|
|
return file_mail_mail_msg_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *MailReadMailResp) GetMail() *DBMailData {
|
|
if x != nil {
|
|
return x.Mail
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 领取附件
|
|
type MailGetUserMailAttachmentReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ObjID string `protobuf:"bytes,1,opt,name=ObjID,proto3" json:"ObjID"`
|
|
}
|
|
|
|
func (x *MailGetUserMailAttachmentReq) Reset() {
|
|
*x = MailGetUserMailAttachmentReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_mail_mail_msg_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *MailGetUserMailAttachmentReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MailGetUserMailAttachmentReq) ProtoMessage() {}
|
|
|
|
func (x *MailGetUserMailAttachmentReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mail_mail_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 MailGetUserMailAttachmentReq.ProtoReflect.Descriptor instead.
|
|
func (*MailGetUserMailAttachmentReq) Descriptor() ([]byte, []int) {
|
|
return file_mail_mail_msg_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *MailGetUserMailAttachmentReq) GetObjID() string {
|
|
if x != nil {
|
|
return x.ObjID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type MailGetUserMailAttachmentResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Mail *DBMailData `protobuf:"bytes,1,opt,name=Mail,proto3" json:"Mail"`
|
|
}
|
|
|
|
func (x *MailGetUserMailAttachmentResp) Reset() {
|
|
*x = MailGetUserMailAttachmentResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_mail_mail_msg_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *MailGetUserMailAttachmentResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MailGetUserMailAttachmentResp) ProtoMessage() {}
|
|
|
|
func (x *MailGetUserMailAttachmentResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mail_mail_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 MailGetUserMailAttachmentResp.ProtoReflect.Descriptor instead.
|
|
func (*MailGetUserMailAttachmentResp) Descriptor() ([]byte, []int) {
|
|
return file_mail_mail_msg_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *MailGetUserMailAttachmentResp) GetMail() *DBMailData {
|
|
if x != nil {
|
|
return x.Mail
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 删除某个邮件
|
|
type MailDelMailReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ObjID string `protobuf:"bytes,1,opt,name=ObjID,proto3" json:"ObjID"`
|
|
}
|
|
|
|
func (x *MailDelMailReq) Reset() {
|
|
*x = MailDelMailReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_mail_mail_msg_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *MailDelMailReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MailDelMailReq) ProtoMessage() {}
|
|
|
|
func (x *MailDelMailReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mail_mail_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 MailDelMailReq.ProtoReflect.Descriptor instead.
|
|
func (*MailDelMailReq) Descriptor() ([]byte, []int) {
|
|
return file_mail_mail_msg_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *MailDelMailReq) GetObjID() string {
|
|
if x != nil {
|
|
return x.ObjID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type MailDelMailResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ObjID string `protobuf:"bytes,1,opt,name=ObjID,proto3" json:"ObjID"` // 返回删除邮件id
|
|
}
|
|
|
|
func (x *MailDelMailResp) Reset() {
|
|
*x = MailDelMailResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_mail_mail_msg_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *MailDelMailResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MailDelMailResp) ProtoMessage() {}
|
|
|
|
func (x *MailDelMailResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mail_mail_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 MailDelMailResp.ProtoReflect.Descriptor instead.
|
|
func (*MailDelMailResp) Descriptor() ([]byte, []int) {
|
|
return file_mail_mail_msg_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *MailDelMailResp) GetObjID() string {
|
|
if x != nil {
|
|
return x.ObjID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// 推送邮件
|
|
type MailGetNewMailPush struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Mail *DBMailData `protobuf:"bytes,1,opt,name=Mail,proto3" json:"Mail"` // 推送新的邮件信息
|
|
}
|
|
|
|
func (x *MailGetNewMailPush) Reset() {
|
|
*x = MailGetNewMailPush{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_mail_mail_msg_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *MailGetNewMailPush) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MailGetNewMailPush) ProtoMessage() {}
|
|
|
|
func (x *MailGetNewMailPush) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mail_mail_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 MailGetNewMailPush.ProtoReflect.Descriptor instead.
|
|
func (*MailGetNewMailPush) Descriptor() ([]byte, []int) {
|
|
return file_mail_mail_msg_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *MailGetNewMailPush) GetMail() *DBMailData {
|
|
if x != nil {
|
|
return x.Mail
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 领取所有附件
|
|
type MailGetAllMailAttachmentReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *MailGetAllMailAttachmentReq) Reset() {
|
|
*x = MailGetAllMailAttachmentReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_mail_mail_msg_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *MailGetAllMailAttachmentReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MailGetAllMailAttachmentReq) ProtoMessage() {}
|
|
|
|
func (x *MailGetAllMailAttachmentReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mail_mail_msg_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 MailGetAllMailAttachmentReq.ProtoReflect.Descriptor instead.
|
|
func (*MailGetAllMailAttachmentReq) Descriptor() ([]byte, []int) {
|
|
return file_mail_mail_msg_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
type MailGetAllMailAttachmentResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Res []*UserAssets `protobuf:"bytes,1,rep,name=res,proto3" json:"res"` //资源类型
|
|
Ids []string `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids"` // 已经领取的邮件唯一id
|
|
}
|
|
|
|
func (x *MailGetAllMailAttachmentResp) Reset() {
|
|
*x = MailGetAllMailAttachmentResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_mail_mail_msg_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *MailGetAllMailAttachmentResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MailGetAllMailAttachmentResp) ProtoMessage() {}
|
|
|
|
func (x *MailGetAllMailAttachmentResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mail_mail_msg_proto_msgTypes[10]
|
|
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 MailGetAllMailAttachmentResp.ProtoReflect.Descriptor instead.
|
|
func (*MailGetAllMailAttachmentResp) Descriptor() ([]byte, []int) {
|
|
return file_mail_mail_msg_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *MailGetAllMailAttachmentResp) GetRes() []*UserAssets {
|
|
if x != nil {
|
|
return x.Res
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *MailGetAllMailAttachmentResp) GetIds() []string {
|
|
if x != nil {
|
|
return x.Ids
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type MailDelAllMailReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *MailDelAllMailReq) Reset() {
|
|
*x = MailDelAllMailReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_mail_mail_msg_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *MailDelAllMailReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MailDelAllMailReq) ProtoMessage() {}
|
|
|
|
func (x *MailDelAllMailReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mail_mail_msg_proto_msgTypes[11]
|
|
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 MailDelAllMailReq.ProtoReflect.Descriptor instead.
|
|
func (*MailDelAllMailReq) Descriptor() ([]byte, []int) {
|
|
return file_mail_mail_msg_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
type MailDelAllMailResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Mails []*DBMailData `protobuf:"bytes,1,rep,name=Mails,proto3" json:"Mails"`
|
|
}
|
|
|
|
func (x *MailDelAllMailResp) Reset() {
|
|
*x = MailDelAllMailResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_mail_mail_msg_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *MailDelAllMailResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MailDelAllMailResp) ProtoMessage() {}
|
|
|
|
func (x *MailDelAllMailResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mail_mail_msg_proto_msgTypes[12]
|
|
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 MailDelAllMailResp.ProtoReflect.Descriptor instead.
|
|
func (*MailDelAllMailResp) Descriptor() ([]byte, []int) {
|
|
return file_mail_mail_msg_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *MailDelAllMailResp) GetMails() []*DBMailData {
|
|
if x != nil {
|
|
return x.Mails
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_mail_mail_msg_proto protoreflect.FileDescriptor
|
|
|
|
var file_mail_mail_msg_proto_rawDesc = []byte{
|
|
0x0a, 0x13, 0x6d, 0x61, 0x69, 0x6c, 0x2f, 0x6d, 0x61, 0x69, 0x6c, 0x5f, 0x6d, 0x73, 0x67, 0x2e,
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x6d, 0x61, 0x69, 0x6c, 0x2f, 0x6d, 0x61, 0x69, 0x6c,
|
|
0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x2e,
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x10, 0x0a, 0x0e, 0x4d, 0x61, 0x69, 0x6c, 0x47, 0x65, 0x74,
|
|
0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x22, 0x34, 0x0a, 0x0f, 0x4d, 0x61, 0x69, 0x6c, 0x47,
|
|
0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x21, 0x0a, 0x05, 0x4d, 0x61,
|
|
0x69, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x44, 0x42, 0x4d, 0x61,
|
|
0x69, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x52, 0x05, 0x4d, 0x61, 0x69, 0x6c, 0x73, 0x22, 0x27, 0x0a,
|
|
0x0f, 0x4d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x61, 0x64, 0x4d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71,
|
|
0x12, 0x14, 0x0a, 0x05, 0x4f, 0x62, 0x6a, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x05, 0x4f, 0x62, 0x6a, 0x49, 0x44, 0x22, 0x33, 0x0a, 0x10, 0x4d, 0x61, 0x69, 0x6c, 0x52, 0x65,
|
|
0x61, 0x64, 0x4d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1f, 0x0a, 0x04, 0x4d, 0x61,
|
|
0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x44, 0x42, 0x4d, 0x61, 0x69,
|
|
0x6c, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x4d, 0x61, 0x69, 0x6c, 0x22, 0x34, 0x0a, 0x1c, 0x4d,
|
|
0x61, 0x69, 0x6c, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x61, 0x69, 0x6c, 0x41, 0x74,
|
|
0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x4f,
|
|
0x62, 0x6a, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x4f, 0x62, 0x6a, 0x49,
|
|
0x44, 0x22, 0x40, 0x0a, 0x1d, 0x4d, 0x61, 0x69, 0x6c, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72,
|
|
0x4d, 0x61, 0x69, 0x6c, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65,
|
|
0x73, 0x70, 0x12, 0x1f, 0x0a, 0x04, 0x4d, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x0b, 0x2e, 0x44, 0x42, 0x4d, 0x61, 0x69, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x4d,
|
|
0x61, 0x69, 0x6c, 0x22, 0x26, 0x0a, 0x0e, 0x4d, 0x61, 0x69, 0x6c, 0x44, 0x65, 0x6c, 0x4d, 0x61,
|
|
0x69, 0x6c, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x4f, 0x62, 0x6a, 0x49, 0x44, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x4f, 0x62, 0x6a, 0x49, 0x44, 0x22, 0x27, 0x0a, 0x0f, 0x4d,
|
|
0x61, 0x69, 0x6c, 0x44, 0x65, 0x6c, 0x4d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x12, 0x14,
|
|
0x0a, 0x05, 0x4f, 0x62, 0x6a, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x4f,
|
|
0x62, 0x6a, 0x49, 0x44, 0x22, 0x35, 0x0a, 0x12, 0x4d, 0x61, 0x69, 0x6c, 0x47, 0x65, 0x74, 0x4e,
|
|
0x65, 0x77, 0x4d, 0x61, 0x69, 0x6c, 0x50, 0x75, 0x73, 0x68, 0x12, 0x1f, 0x0a, 0x04, 0x4d, 0x61,
|
|
0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x44, 0x42, 0x4d, 0x61, 0x69,
|
|
0x6c, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x4d, 0x61, 0x69, 0x6c, 0x22, 0x1d, 0x0a, 0x1b, 0x4d,
|
|
0x61, 0x69, 0x6c, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x4d, 0x61, 0x69, 0x6c, 0x41, 0x74, 0x74,
|
|
0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x22, 0x4f, 0x0a, 0x1c, 0x4d, 0x61,
|
|
0x69, 0x6c, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x4d, 0x61, 0x69, 0x6c, 0x41, 0x74, 0x74, 0x61,
|
|
0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x03, 0x72, 0x65,
|
|
0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x73,
|
|
0x73, 0x65, 0x74, 0x73, 0x52, 0x03, 0x72, 0x65, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x64, 0x73,
|
|
0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 0x69, 0x64, 0x73, 0x22, 0x13, 0x0a, 0x11, 0x4d,
|
|
0x61, 0x69, 0x6c, 0x44, 0x65, 0x6c, 0x41, 0x6c, 0x6c, 0x4d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71,
|
|
0x22, 0x37, 0x0a, 0x12, 0x4d, 0x61, 0x69, 0x6c, 0x44, 0x65, 0x6c, 0x41, 0x6c, 0x6c, 0x4d, 0x61,
|
|
0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x12, 0x21, 0x0a, 0x05, 0x4d, 0x61, 0x69, 0x6c, 0x73, 0x18,
|
|
0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x44, 0x42, 0x4d, 0x61, 0x69, 0x6c, 0x44, 0x61,
|
|
0x74, 0x61, 0x52, 0x05, 0x4d, 0x61, 0x69, 0x6c, 0x73, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70,
|
|
0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_mail_mail_msg_proto_rawDescOnce sync.Once
|
|
file_mail_mail_msg_proto_rawDescData = file_mail_mail_msg_proto_rawDesc
|
|
)
|
|
|
|
func file_mail_mail_msg_proto_rawDescGZIP() []byte {
|
|
file_mail_mail_msg_proto_rawDescOnce.Do(func() {
|
|
file_mail_mail_msg_proto_rawDescData = protoimpl.X.CompressGZIP(file_mail_mail_msg_proto_rawDescData)
|
|
})
|
|
return file_mail_mail_msg_proto_rawDescData
|
|
}
|
|
|
|
var file_mail_mail_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
|
|
var file_mail_mail_msg_proto_goTypes = []interface{}{
|
|
(*MailGetListReq)(nil), // 0: MailGetListReq
|
|
(*MailGetListResp)(nil), // 1: MailGetListResp
|
|
(*MailReadMailReq)(nil), // 2: MailReadMailReq
|
|
(*MailReadMailResp)(nil), // 3: MailReadMailResp
|
|
(*MailGetUserMailAttachmentReq)(nil), // 4: MailGetUserMailAttachmentReq
|
|
(*MailGetUserMailAttachmentResp)(nil), // 5: MailGetUserMailAttachmentResp
|
|
(*MailDelMailReq)(nil), // 6: MailDelMailReq
|
|
(*MailDelMailResp)(nil), // 7: MailDelMailResp
|
|
(*MailGetNewMailPush)(nil), // 8: MailGetNewMailPush
|
|
(*MailGetAllMailAttachmentReq)(nil), // 9: MailGetAllMailAttachmentReq
|
|
(*MailGetAllMailAttachmentResp)(nil), // 10: MailGetAllMailAttachmentResp
|
|
(*MailDelAllMailReq)(nil), // 11: MailDelAllMailReq
|
|
(*MailDelAllMailResp)(nil), // 12: MailDelAllMailResp
|
|
(*DBMailData)(nil), // 13: DBMailData
|
|
(*UserAssets)(nil), // 14: UserAssets
|
|
}
|
|
var file_mail_mail_msg_proto_depIdxs = []int32{
|
|
13, // 0: MailGetListResp.Mails:type_name -> DBMailData
|
|
13, // 1: MailReadMailResp.Mail:type_name -> DBMailData
|
|
13, // 2: MailGetUserMailAttachmentResp.Mail:type_name -> DBMailData
|
|
13, // 3: MailGetNewMailPush.Mail:type_name -> DBMailData
|
|
14, // 4: MailGetAllMailAttachmentResp.res:type_name -> UserAssets
|
|
13, // 5: MailDelAllMailResp.Mails:type_name -> DBMailData
|
|
6, // [6:6] is the sub-list for method output_type
|
|
6, // [6:6] is the sub-list for method input_type
|
|
6, // [6:6] is the sub-list for extension type_name
|
|
6, // [6:6] is the sub-list for extension extendee
|
|
0, // [0:6] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_mail_mail_msg_proto_init() }
|
|
func file_mail_mail_msg_proto_init() {
|
|
if File_mail_mail_msg_proto != nil {
|
|
return
|
|
}
|
|
file_mail_mail_db_proto_init()
|
|
file_comm_proto_init()
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_mail_mail_msg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*MailGetListReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_mail_mail_msg_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*MailGetListResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_mail_mail_msg_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*MailReadMailReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_mail_mail_msg_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*MailReadMailResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_mail_mail_msg_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*MailGetUserMailAttachmentReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_mail_mail_msg_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*MailGetUserMailAttachmentResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_mail_mail_msg_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*MailDelMailReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_mail_mail_msg_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*MailDelMailResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_mail_mail_msg_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*MailGetNewMailPush); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_mail_mail_msg_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*MailGetAllMailAttachmentReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_mail_mail_msg_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*MailGetAllMailAttachmentResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_mail_mail_msg_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*MailDelAllMailReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_mail_mail_msg_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*MailDelAllMailResp); 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_mail_mail_msg_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumMessages: 13,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_mail_mail_msg_proto_goTypes,
|
|
DependencyIndexes: file_mail_mail_msg_proto_depIdxs,
|
|
MessageInfos: file_mail_mail_msg_proto_msgTypes,
|
|
}.Build()
|
|
File_mail_mail_msg_proto = out.File
|
|
file_mail_mail_msg_proto_rawDesc = nil
|
|
file_mail_mail_msg_proto_goTypes = nil
|
|
file_mail_mail_msg_proto_depIdxs = nil
|
|
}
|