// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.25.0 // protoc v3.6.1 // source: gostfix.proto package common import ( proto "github.com/golang/protobuf/proto" 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) ) // This is a compile-time assertion that a sufficiently up-to-date version // of the legacy proto package is being used. const _ = proto.ProtoPackageIsVersion4 type MailBody struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields PlainText string `protobuf:"bytes,1,opt,name=plainText,proto3" json:"plainText,omitempty"` RichText string `protobuf:"bytes,2,opt,name=richText,proto3" json:"richText,omitempty"` Attachments []*AttachmentHeader `protobuf:"bytes,3,rep,name=attachments,proto3" json:"attachments,omitempty"` } func (x *MailBody) Reset() { *x = MailBody{} if protoimpl.UnsafeEnabled { mi := &file_gostfix_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *MailBody) String() string { return protoimpl.X.MessageStringOf(x) } func (*MailBody) ProtoMessage() {} func (x *MailBody) ProtoReflect() protoreflect.Message { mi := &file_gostfix_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 MailBody.ProtoReflect.Descriptor instead. func (*MailBody) Descriptor() ([]byte, []int) { return file_gostfix_proto_rawDescGZIP(), []int{0} } func (x *MailBody) GetPlainText() string { if x != nil { return x.PlainText } return "" } func (x *MailBody) GetRichText() string { if x != nil { return x.RichText } return "" } func (x *MailBody) GetAttachments() []*AttachmentHeader { if x != nil { return x.Attachments } return nil } type MailHeader struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` Cc string `protobuf:"bytes,3,opt,name=cc,proto3" json:"cc,omitempty"` Bcc string `protobuf:"bytes,4,opt,name=bcc,proto3" json:"bcc,omitempty"` Date int64 `protobuf:"zigzag64,5,opt,name=date,proto3" json:"date,omitempty"` Subject string `protobuf:"bytes,6,opt,name=subject,proto3" json:"subject,omitempty"` } func (x *MailHeader) Reset() { *x = MailHeader{} if protoimpl.UnsafeEnabled { mi := &file_gostfix_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *MailHeader) String() string { return protoimpl.X.MessageStringOf(x) } func (*MailHeader) ProtoMessage() {} func (x *MailHeader) ProtoReflect() protoreflect.Message { mi := &file_gostfix_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 MailHeader.ProtoReflect.Descriptor instead. func (*MailHeader) Descriptor() ([]byte, []int) { return file_gostfix_proto_rawDescGZIP(), []int{1} } func (x *MailHeader) GetFrom() string { if x != nil { return x.From } return "" } func (x *MailHeader) GetTo() string { if x != nil { return x.To } return "" } func (x *MailHeader) GetCc() string { if x != nil { return x.Cc } return "" } func (x *MailHeader) GetBcc() string { if x != nil { return x.Bcc } return "" } func (x *MailHeader) GetDate() int64 { if x != nil { return x.Date } return 0 } func (x *MailHeader) GetSubject() string { if x != nil { return x.Subject } return "" } type Mail struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Header *MailHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Body *MailBody `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"` } func (x *Mail) Reset() { *x = Mail{} if protoimpl.UnsafeEnabled { mi := &file_gostfix_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *Mail) String() string { return protoimpl.X.MessageStringOf(x) } func (*Mail) ProtoMessage() {} func (x *Mail) ProtoReflect() protoreflect.Message { mi := &file_gostfix_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 Mail.ProtoReflect.Descriptor instead. func (*Mail) Descriptor() ([]byte, []int) { return file_gostfix_proto_rawDescGZIP(), []int{2} } func (x *Mail) GetHeader() *MailHeader { if x != nil { return x.Header } return nil } func (x *Mail) GetBody() *MailBody { if x != nil { return x.Body } return nil } type Attachment struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Header *AttachmentHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` } func (x *Attachment) Reset() { *x = Attachment{} if protoimpl.UnsafeEnabled { mi := &file_gostfix_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *Attachment) String() string { return protoimpl.X.MessageStringOf(x) } func (*Attachment) ProtoMessage() {} func (x *Attachment) ProtoReflect() protoreflect.Message { mi := &file_gostfix_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 Attachment.ProtoReflect.Descriptor instead. func (*Attachment) Descriptor() ([]byte, []int) { return file_gostfix_proto_rawDescGZIP(), []int{3} } func (x *Attachment) GetHeader() *AttachmentHeader { if x != nil { return x.Header } return nil } func (x *Attachment) GetData() []byte { if x != nil { return x.Data } return nil } type AttachmentHeader struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` FileName string `protobuf:"bytes,2,opt,name=fileName,proto3" json:"fileName,omitempty"` ContentType string `protobuf:"bytes,3,opt,name=contentType,proto3" json:"contentType,omitempty"` } func (x *AttachmentHeader) Reset() { *x = AttachmentHeader{} if protoimpl.UnsafeEnabled { mi := &file_gostfix_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *AttachmentHeader) String() string { return protoimpl.X.MessageStringOf(x) } func (*AttachmentHeader) ProtoMessage() {} func (x *AttachmentHeader) ProtoReflect() protoreflect.Message { mi := &file_gostfix_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 AttachmentHeader.ProtoReflect.Descriptor instead. func (*AttachmentHeader) Descriptor() ([]byte, []int) { return file_gostfix_proto_rawDescGZIP(), []int{4} } func (x *AttachmentHeader) GetId() string { if x != nil { return x.Id } return "" } func (x *AttachmentHeader) GetFileName() string { if x != nil { return x.FileName } return "" } func (x *AttachmentHeader) GetContentType() string { if x != nil { return x.ContentType } return "" } type UserInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` FullName string `protobuf:"bytes,2,opt,name=fullName,proto3" json:"fullName,omitempty"` } func (x *UserInfo) Reset() { *x = UserInfo{} if protoimpl.UnsafeEnabled { mi := &file_gostfix_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *UserInfo) String() string { return protoimpl.X.MessageStringOf(x) } func (*UserInfo) ProtoMessage() {} func (x *UserInfo) ProtoReflect() protoreflect.Message { mi := &file_gostfix_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 UserInfo.ProtoReflect.Descriptor instead. func (*UserInfo) Descriptor() ([]byte, []int) { return file_gostfix_proto_rawDescGZIP(), []int{5} } func (x *UserInfo) GetUser() string { if x != nil { return x.User } return "" } func (x *UserInfo) GetFullName() string { if x != nil { return x.FullName } return "" } type Frame struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Skip int32 `protobuf:"zigzag32,1,opt,name=skip,proto3" json:"skip,omitempty"` Limit int32 `protobuf:"zigzag32,2,opt,name=limit,proto3" json:"limit,omitempty"` } func (x *Frame) Reset() { *x = Frame{} if protoimpl.UnsafeEnabled { mi := &file_gostfix_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *Frame) String() string { return protoimpl.X.MessageStringOf(x) } func (*Frame) ProtoMessage() {} func (x *Frame) ProtoReflect() protoreflect.Message { mi := &file_gostfix_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 Frame.ProtoReflect.Descriptor instead. func (*Frame) Descriptor() ([]byte, []int) { return file_gostfix_proto_rawDescGZIP(), []int{6} } func (x *Frame) GetSkip() int32 { if x != nil { return x.Skip } return 0 } func (x *Frame) GetLimit() int32 { if x != nil { return x.Limit } return 0 } type Folder struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Custom bool `protobuf:"varint,2,opt,name=custom,proto3" json:"custom,omitempty"` } func (x *Folder) Reset() { *x = Folder{} if protoimpl.UnsafeEnabled { mi := &file_gostfix_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *Folder) String() string { return protoimpl.X.MessageStringOf(x) } func (*Folder) ProtoMessage() {} func (x *Folder) ProtoReflect() protoreflect.Message { mi := &file_gostfix_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 Folder.ProtoReflect.Descriptor instead. func (*Folder) Descriptor() ([]byte, []int) { return file_gostfix_proto_rawDescGZIP(), []int{7} } func (x *Folder) GetName() string { if x != nil { return x.Name } return "" } func (x *Folder) GetCustom() bool { if x != nil { return x.Custom } return false } type FolderStat struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Folder string `protobuf:"bytes,1,opt,name=folder,proto3" json:"folder,omitempty"` Total uint32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` Unread uint32 `protobuf:"varint,3,opt,name=unread,proto3" json:"unread,omitempty"` } func (x *FolderStat) Reset() { *x = FolderStat{} if protoimpl.UnsafeEnabled { mi := &file_gostfix_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *FolderStat) String() string { return protoimpl.X.MessageStringOf(x) } func (*FolderStat) ProtoMessage() {} func (x *FolderStat) ProtoReflect() protoreflect.Message { mi := &file_gostfix_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 FolderStat.ProtoReflect.Descriptor instead. func (*FolderStat) Descriptor() ([]byte, []int) { return file_gostfix_proto_rawDescGZIP(), []int{8} } func (x *FolderStat) GetFolder() string { if x != nil { return x.Folder } return "" } func (x *FolderStat) GetTotal() uint32 { if x != nil { return x.Total } return 0 } func (x *FolderStat) GetUnread() uint32 { if x != nil { return x.Unread } return 0 } var File_gostfix_proto protoreflect.FileDescriptor var file_gostfix_proto_rawDesc = []byte{ 0x0a, 0x0d, 0x67, 0x6f, 0x73, 0x74, 0x66, 0x69, 0x78, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x22, 0x80, 0x01, 0x0a, 0x08, 0x4d, 0x61, 0x69, 0x6c, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x54, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x54, 0x65, 0x78, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x69, 0x63, 0x68, 0x54, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x69, 0x63, 0x68, 0x54, 0x65, 0x78, 0x74, 0x12, 0x3a, 0x0a, 0x0b, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x0b, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x80, 0x01, 0x0a, 0x0a, 0x4d, 0x61, 0x69, 0x6c, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x74, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x63, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x63, 0x63, 0x12, 0x10, 0x0a, 0x03, 0x62, 0x63, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x62, 0x63, 0x63, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x12, 0x52, 0x04, 0x64, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x58, 0x0a, 0x04, 0x4d, 0x61, 0x69, 0x6c, 0x12, 0x2a, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4d, 0x61, 0x69, 0x6c, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x24, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4d, 0x61, 0x69, 0x6c, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x22, 0x52, 0x0a, 0x0a, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x30, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x60, 0x0a, 0x10, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x31, 0x0a, 0x05, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x11, 0x52, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x11, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x34, 0x0a, 0x06, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x22, 0x52, 0x0a, 0x0a, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x75, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_gostfix_proto_rawDescOnce sync.Once file_gostfix_proto_rawDescData = file_gostfix_proto_rawDesc ) func file_gostfix_proto_rawDescGZIP() []byte { file_gostfix_proto_rawDescOnce.Do(func() { file_gostfix_proto_rawDescData = protoimpl.X.CompressGZIP(file_gostfix_proto_rawDescData) }) return file_gostfix_proto_rawDescData } var file_gostfix_proto_msgTypes = make([]protoimpl.MessageInfo, 9) var file_gostfix_proto_goTypes = []interface{}{ (*MailBody)(nil), // 0: common.MailBody (*MailHeader)(nil), // 1: common.MailHeader (*Mail)(nil), // 2: common.Mail (*Attachment)(nil), // 3: common.Attachment (*AttachmentHeader)(nil), // 4: common.AttachmentHeader (*UserInfo)(nil), // 5: common.UserInfo (*Frame)(nil), // 6: common.Frame (*Folder)(nil), // 7: common.Folder (*FolderStat)(nil), // 8: common.FolderStat } var file_gostfix_proto_depIdxs = []int32{ 4, // 0: common.MailBody.attachments:type_name -> common.AttachmentHeader 1, // 1: common.Mail.header:type_name -> common.MailHeader 0, // 2: common.Mail.body:type_name -> common.MailBody 4, // 3: common.Attachment.header:type_name -> common.AttachmentHeader 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_gostfix_proto_init() } func file_gostfix_proto_init() { if File_gostfix_proto != nil { return } if !protoimpl.UnsafeEnabled { file_gostfix_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MailBody); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_gostfix_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MailHeader); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_gostfix_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Mail); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_gostfix_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Attachment); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_gostfix_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AttachmentHeader); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_gostfix_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UserInfo); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_gostfix_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Frame); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_gostfix_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Folder); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_gostfix_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FolderStat); 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_gostfix_proto_rawDesc, NumEnums: 0, NumMessages: 9, NumExtensions: 0, NumServices: 0, }, GoTypes: file_gostfix_proto_goTypes, DependencyIndexes: file_gostfix_proto_depIdxs, MessageInfos: file_gostfix_proto_msgTypes, }.Build() File_gostfix_proto = out.File file_gostfix_proto_rawDesc = nil file_gostfix_proto_goTypes = nil file_gostfix_proto_depIdxs = nil }