go_dreamfactory/pb/mail_msg.pb.go
2022-06-29 10:39:29 +08:00

586 lines
17 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
Mail []*DBMailData `protobuf:"bytes,1,rep,name=Mail,proto3" json:"Mail"`
}
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) GetMail() []*DBMailData {
if x != nil {
return x.Mail
}
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, 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,
0x32, 0x0a, 0x0f, 0x4d, 0x61, 0x69, 0x6c, 0x44, 0x65, 0x6c, 0x4d, 0x61, 0x69, 0x6c, 0x52, 0x65,
0x73, 0x70, 0x12, 0x1f, 0x0a, 0x04, 0x4d, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
0x32, 0x0b, 0x2e, 0x44, 0x42, 0x4d, 0x61, 0x69, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x4d,
0x61, 0x69, 0x6c, 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, 8)
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
(*DBMailData)(nil), // 8: DBMailData
}
var file_mail_mail_msg_proto_depIdxs = []int32{
8, // 0: MailGetListResp.Mails:type_name -> DBMailData
8, // 1: MailReadMailResp.Mail:type_name -> DBMailData
8, // 2: MailGetUserMailAttachmentResp.Mail:type_name -> DBMailData
8, // 3: MailDelMailResp.Mail:type_name -> DBMailData
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_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()
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
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_mail_mail_msg_proto_rawDesc,
NumEnums: 0,
NumMessages: 8,
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
}