|
@@ -1,546 +0,0 @@
|
|
|
-// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
-// source: gostfix.proto
|
|
|
-
|
|
|
-package common
|
|
|
-
|
|
|
-import (
|
|
|
- fmt "fmt"
|
|
|
- proto "github.com/golang/protobuf/proto"
|
|
|
- math "math"
|
|
|
-)
|
|
|
-
|
|
|
-// Reference imports to suppress errors if they are not otherwise used.
|
|
|
-var _ = proto.Marshal
|
|
|
-var _ = fmt.Errorf
|
|
|
-var _ = math.Inf
|
|
|
-
|
|
|
-// This is a compile-time assertion to ensure that this generated file
|
|
|
-// is compatible with the proto package it is being compiled against.
|
|
|
-// A compilation error at this line likely means your copy of the
|
|
|
-// proto package needs to be updated.
|
|
|
-const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
|
|
-
|
|
|
-type MailBody struct {
|
|
|
- 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"`
|
|
|
- XXX_NoUnkeyedLiteral struct{} `json:"-" bson:"-"`
|
|
|
- XXX_unrecognized []byte `json:"-" bson:"-"`
|
|
|
- XXX_sizecache int32 `json:"-" bson:"-"`
|
|
|
-}
|
|
|
-
|
|
|
-func (m *MailBody) Reset() { *m = MailBody{} }
|
|
|
-func (m *MailBody) String() string { return proto.CompactTextString(m) }
|
|
|
-func (*MailBody) ProtoMessage() {}
|
|
|
-func (*MailBody) Descriptor() ([]byte, []int) {
|
|
|
- return fileDescriptor_0ab36b6dc6e1dcaa, []int{0}
|
|
|
-}
|
|
|
-
|
|
|
-func (m *MailBody) XXX_Unmarshal(b []byte) error {
|
|
|
- return xxx_messageInfo_MailBody.Unmarshal(m, b)
|
|
|
-}
|
|
|
-func (m *MailBody) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
- return xxx_messageInfo_MailBody.Marshal(b, m, deterministic)
|
|
|
-}
|
|
|
-func (m *MailBody) XXX_Merge(src proto.Message) {
|
|
|
- xxx_messageInfo_MailBody.Merge(m, src)
|
|
|
-}
|
|
|
-func (m *MailBody) XXX_Size() int {
|
|
|
- return xxx_messageInfo_MailBody.Size(m)
|
|
|
-}
|
|
|
-func (m *MailBody) XXX_DiscardUnknown() {
|
|
|
- xxx_messageInfo_MailBody.DiscardUnknown(m)
|
|
|
-}
|
|
|
-
|
|
|
-var xxx_messageInfo_MailBody proto.InternalMessageInfo
|
|
|
-
|
|
|
-func (m *MailBody) GetPlainText() string {
|
|
|
- if m != nil {
|
|
|
- return m.PlainText
|
|
|
- }
|
|
|
- return ""
|
|
|
-}
|
|
|
-
|
|
|
-func (m *MailBody) GetRichText() string {
|
|
|
- if m != nil {
|
|
|
- return m.RichText
|
|
|
- }
|
|
|
- return ""
|
|
|
-}
|
|
|
-
|
|
|
-func (m *MailBody) GetAttachments() []*AttachmentHeader {
|
|
|
- if m != nil {
|
|
|
- return m.Attachments
|
|
|
- }
|
|
|
- return nil
|
|
|
-}
|
|
|
-
|
|
|
-type MailHeader struct {
|
|
|
- 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"`
|
|
|
- XXX_NoUnkeyedLiteral struct{} `json:"-" bson:"-"`
|
|
|
- XXX_unrecognized []byte `json:"-" bson:"-"`
|
|
|
- XXX_sizecache int32 `json:"-" bson:"-"`
|
|
|
-}
|
|
|
-
|
|
|
-func (m *MailHeader) Reset() { *m = MailHeader{} }
|
|
|
-func (m *MailHeader) String() string { return proto.CompactTextString(m) }
|
|
|
-func (*MailHeader) ProtoMessage() {}
|
|
|
-func (*MailHeader) Descriptor() ([]byte, []int) {
|
|
|
- return fileDescriptor_0ab36b6dc6e1dcaa, []int{1}
|
|
|
-}
|
|
|
-
|
|
|
-func (m *MailHeader) XXX_Unmarshal(b []byte) error {
|
|
|
- return xxx_messageInfo_MailHeader.Unmarshal(m, b)
|
|
|
-}
|
|
|
-func (m *MailHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
- return xxx_messageInfo_MailHeader.Marshal(b, m, deterministic)
|
|
|
-}
|
|
|
-func (m *MailHeader) XXX_Merge(src proto.Message) {
|
|
|
- xxx_messageInfo_MailHeader.Merge(m, src)
|
|
|
-}
|
|
|
-func (m *MailHeader) XXX_Size() int {
|
|
|
- return xxx_messageInfo_MailHeader.Size(m)
|
|
|
-}
|
|
|
-func (m *MailHeader) XXX_DiscardUnknown() {
|
|
|
- xxx_messageInfo_MailHeader.DiscardUnknown(m)
|
|
|
-}
|
|
|
-
|
|
|
-var xxx_messageInfo_MailHeader proto.InternalMessageInfo
|
|
|
-
|
|
|
-func (m *MailHeader) GetFrom() string {
|
|
|
- if m != nil {
|
|
|
- return m.From
|
|
|
- }
|
|
|
- return ""
|
|
|
-}
|
|
|
-
|
|
|
-func (m *MailHeader) GetTo() string {
|
|
|
- if m != nil {
|
|
|
- return m.To
|
|
|
- }
|
|
|
- return ""
|
|
|
-}
|
|
|
-
|
|
|
-func (m *MailHeader) GetCc() string {
|
|
|
- if m != nil {
|
|
|
- return m.Cc
|
|
|
- }
|
|
|
- return ""
|
|
|
-}
|
|
|
-
|
|
|
-func (m *MailHeader) GetBcc() string {
|
|
|
- if m != nil {
|
|
|
- return m.Bcc
|
|
|
- }
|
|
|
- return ""
|
|
|
-}
|
|
|
-
|
|
|
-func (m *MailHeader) GetDate() int64 {
|
|
|
- if m != nil {
|
|
|
- return m.Date
|
|
|
- }
|
|
|
- return 0
|
|
|
-}
|
|
|
-
|
|
|
-func (m *MailHeader) GetSubject() string {
|
|
|
- if m != nil {
|
|
|
- return m.Subject
|
|
|
- }
|
|
|
- return ""
|
|
|
-}
|
|
|
-
|
|
|
-type Mail struct {
|
|
|
- Header *MailHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
|
|
|
- Body *MailBody `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
|
|
|
- XXX_NoUnkeyedLiteral struct{} `json:"-" bson:"-"`
|
|
|
- XXX_unrecognized []byte `json:"-" bson:"-"`
|
|
|
- XXX_sizecache int32 `json:"-" bson:"-"`
|
|
|
-}
|
|
|
-
|
|
|
-func (m *Mail) Reset() { *m = Mail{} }
|
|
|
-func (m *Mail) String() string { return proto.CompactTextString(m) }
|
|
|
-func (*Mail) ProtoMessage() {}
|
|
|
-func (*Mail) Descriptor() ([]byte, []int) {
|
|
|
- return fileDescriptor_0ab36b6dc6e1dcaa, []int{2}
|
|
|
-}
|
|
|
-
|
|
|
-func (m *Mail) XXX_Unmarshal(b []byte) error {
|
|
|
- return xxx_messageInfo_Mail.Unmarshal(m, b)
|
|
|
-}
|
|
|
-func (m *Mail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
- return xxx_messageInfo_Mail.Marshal(b, m, deterministic)
|
|
|
-}
|
|
|
-func (m *Mail) XXX_Merge(src proto.Message) {
|
|
|
- xxx_messageInfo_Mail.Merge(m, src)
|
|
|
-}
|
|
|
-func (m *Mail) XXX_Size() int {
|
|
|
- return xxx_messageInfo_Mail.Size(m)
|
|
|
-}
|
|
|
-func (m *Mail) XXX_DiscardUnknown() {
|
|
|
- xxx_messageInfo_Mail.DiscardUnknown(m)
|
|
|
-}
|
|
|
-
|
|
|
-var xxx_messageInfo_Mail proto.InternalMessageInfo
|
|
|
-
|
|
|
-func (m *Mail) GetHeader() *MailHeader {
|
|
|
- if m != nil {
|
|
|
- return m.Header
|
|
|
- }
|
|
|
- return nil
|
|
|
-}
|
|
|
-
|
|
|
-func (m *Mail) GetBody() *MailBody {
|
|
|
- if m != nil {
|
|
|
- return m.Body
|
|
|
- }
|
|
|
- return nil
|
|
|
-}
|
|
|
-
|
|
|
-type Attachment struct {
|
|
|
- Header *AttachmentHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
|
|
|
- Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
|
|
|
- XXX_NoUnkeyedLiteral struct{} `json:"-" bson:"-"`
|
|
|
- XXX_unrecognized []byte `json:"-" bson:"-"`
|
|
|
- XXX_sizecache int32 `json:"-" bson:"-"`
|
|
|
-}
|
|
|
-
|
|
|
-func (m *Attachment) Reset() { *m = Attachment{} }
|
|
|
-func (m *Attachment) String() string { return proto.CompactTextString(m) }
|
|
|
-func (*Attachment) ProtoMessage() {}
|
|
|
-func (*Attachment) Descriptor() ([]byte, []int) {
|
|
|
- return fileDescriptor_0ab36b6dc6e1dcaa, []int{3}
|
|
|
-}
|
|
|
-
|
|
|
-func (m *Attachment) XXX_Unmarshal(b []byte) error {
|
|
|
- return xxx_messageInfo_Attachment.Unmarshal(m, b)
|
|
|
-}
|
|
|
-func (m *Attachment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
- return xxx_messageInfo_Attachment.Marshal(b, m, deterministic)
|
|
|
-}
|
|
|
-func (m *Attachment) XXX_Merge(src proto.Message) {
|
|
|
- xxx_messageInfo_Attachment.Merge(m, src)
|
|
|
-}
|
|
|
-func (m *Attachment) XXX_Size() int {
|
|
|
- return xxx_messageInfo_Attachment.Size(m)
|
|
|
-}
|
|
|
-func (m *Attachment) XXX_DiscardUnknown() {
|
|
|
- xxx_messageInfo_Attachment.DiscardUnknown(m)
|
|
|
-}
|
|
|
-
|
|
|
-var xxx_messageInfo_Attachment proto.InternalMessageInfo
|
|
|
-
|
|
|
-func (m *Attachment) GetHeader() *AttachmentHeader {
|
|
|
- if m != nil {
|
|
|
- return m.Header
|
|
|
- }
|
|
|
- return nil
|
|
|
-}
|
|
|
-
|
|
|
-func (m *Attachment) GetData() []byte {
|
|
|
- if m != nil {
|
|
|
- return m.Data
|
|
|
- }
|
|
|
- return nil
|
|
|
-}
|
|
|
-
|
|
|
-type AttachmentHeader struct {
|
|
|
- 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"`
|
|
|
- XXX_NoUnkeyedLiteral struct{} `json:"-" bson:"-"`
|
|
|
- XXX_unrecognized []byte `json:"-" bson:"-"`
|
|
|
- XXX_sizecache int32 `json:"-" bson:"-"`
|
|
|
-}
|
|
|
-
|
|
|
-func (m *AttachmentHeader) Reset() { *m = AttachmentHeader{} }
|
|
|
-func (m *AttachmentHeader) String() string { return proto.CompactTextString(m) }
|
|
|
-func (*AttachmentHeader) ProtoMessage() {}
|
|
|
-func (*AttachmentHeader) Descriptor() ([]byte, []int) {
|
|
|
- return fileDescriptor_0ab36b6dc6e1dcaa, []int{4}
|
|
|
-}
|
|
|
-
|
|
|
-func (m *AttachmentHeader) XXX_Unmarshal(b []byte) error {
|
|
|
- return xxx_messageInfo_AttachmentHeader.Unmarshal(m, b)
|
|
|
-}
|
|
|
-func (m *AttachmentHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
- return xxx_messageInfo_AttachmentHeader.Marshal(b, m, deterministic)
|
|
|
-}
|
|
|
-func (m *AttachmentHeader) XXX_Merge(src proto.Message) {
|
|
|
- xxx_messageInfo_AttachmentHeader.Merge(m, src)
|
|
|
-}
|
|
|
-func (m *AttachmentHeader) XXX_Size() int {
|
|
|
- return xxx_messageInfo_AttachmentHeader.Size(m)
|
|
|
-}
|
|
|
-func (m *AttachmentHeader) XXX_DiscardUnknown() {
|
|
|
- xxx_messageInfo_AttachmentHeader.DiscardUnknown(m)
|
|
|
-}
|
|
|
-
|
|
|
-var xxx_messageInfo_AttachmentHeader proto.InternalMessageInfo
|
|
|
-
|
|
|
-func (m *AttachmentHeader) GetId() string {
|
|
|
- if m != nil {
|
|
|
- return m.Id
|
|
|
- }
|
|
|
- return ""
|
|
|
-}
|
|
|
-
|
|
|
-func (m *AttachmentHeader) GetFileName() string {
|
|
|
- if m != nil {
|
|
|
- return m.FileName
|
|
|
- }
|
|
|
- return ""
|
|
|
-}
|
|
|
-
|
|
|
-func (m *AttachmentHeader) GetContentType() string {
|
|
|
- if m != nil {
|
|
|
- return m.ContentType
|
|
|
- }
|
|
|
- return ""
|
|
|
-}
|
|
|
-
|
|
|
-type UserInfo struct {
|
|
|
- User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
|
|
|
- FullName string `protobuf:"bytes,2,opt,name=fullName,proto3" json:"fullName,omitempty"`
|
|
|
- XXX_NoUnkeyedLiteral struct{} `json:"-" bson:"-"`
|
|
|
- XXX_unrecognized []byte `json:"-" bson:"-"`
|
|
|
- XXX_sizecache int32 `json:"-" bson:"-"`
|
|
|
-}
|
|
|
-
|
|
|
-func (m *UserInfo) Reset() { *m = UserInfo{} }
|
|
|
-func (m *UserInfo) String() string { return proto.CompactTextString(m) }
|
|
|
-func (*UserInfo) ProtoMessage() {}
|
|
|
-func (*UserInfo) Descriptor() ([]byte, []int) {
|
|
|
- return fileDescriptor_0ab36b6dc6e1dcaa, []int{5}
|
|
|
-}
|
|
|
-
|
|
|
-func (m *UserInfo) XXX_Unmarshal(b []byte) error {
|
|
|
- return xxx_messageInfo_UserInfo.Unmarshal(m, b)
|
|
|
-}
|
|
|
-func (m *UserInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
- return xxx_messageInfo_UserInfo.Marshal(b, m, deterministic)
|
|
|
-}
|
|
|
-func (m *UserInfo) XXX_Merge(src proto.Message) {
|
|
|
- xxx_messageInfo_UserInfo.Merge(m, src)
|
|
|
-}
|
|
|
-func (m *UserInfo) XXX_Size() int {
|
|
|
- return xxx_messageInfo_UserInfo.Size(m)
|
|
|
-}
|
|
|
-func (m *UserInfo) XXX_DiscardUnknown() {
|
|
|
- xxx_messageInfo_UserInfo.DiscardUnknown(m)
|
|
|
-}
|
|
|
-
|
|
|
-var xxx_messageInfo_UserInfo proto.InternalMessageInfo
|
|
|
-
|
|
|
-func (m *UserInfo) GetUser() string {
|
|
|
- if m != nil {
|
|
|
- return m.User
|
|
|
- }
|
|
|
- return ""
|
|
|
-}
|
|
|
-
|
|
|
-func (m *UserInfo) GetFullName() string {
|
|
|
- if m != nil {
|
|
|
- return m.FullName
|
|
|
- }
|
|
|
- return ""
|
|
|
-}
|
|
|
-
|
|
|
-type Frame struct {
|
|
|
- Skip int32 `protobuf:"zigzag32,1,opt,name=skip,proto3" json:"skip,omitempty"`
|
|
|
- Limit int32 `protobuf:"zigzag32,2,opt,name=limit,proto3" json:"limit,omitempty"`
|
|
|
- XXX_NoUnkeyedLiteral struct{} `json:"-" bson:"-"`
|
|
|
- XXX_unrecognized []byte `json:"-" bson:"-"`
|
|
|
- XXX_sizecache int32 `json:"-" bson:"-"`
|
|
|
-}
|
|
|
-
|
|
|
-func (m *Frame) Reset() { *m = Frame{} }
|
|
|
-func (m *Frame) String() string { return proto.CompactTextString(m) }
|
|
|
-func (*Frame) ProtoMessage() {}
|
|
|
-func (*Frame) Descriptor() ([]byte, []int) {
|
|
|
- return fileDescriptor_0ab36b6dc6e1dcaa, []int{6}
|
|
|
-}
|
|
|
-
|
|
|
-func (m *Frame) XXX_Unmarshal(b []byte) error {
|
|
|
- return xxx_messageInfo_Frame.Unmarshal(m, b)
|
|
|
-}
|
|
|
-func (m *Frame) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
- return xxx_messageInfo_Frame.Marshal(b, m, deterministic)
|
|
|
-}
|
|
|
-func (m *Frame) XXX_Merge(src proto.Message) {
|
|
|
- xxx_messageInfo_Frame.Merge(m, src)
|
|
|
-}
|
|
|
-func (m *Frame) XXX_Size() int {
|
|
|
- return xxx_messageInfo_Frame.Size(m)
|
|
|
-}
|
|
|
-func (m *Frame) XXX_DiscardUnknown() {
|
|
|
- xxx_messageInfo_Frame.DiscardUnknown(m)
|
|
|
-}
|
|
|
-
|
|
|
-var xxx_messageInfo_Frame proto.InternalMessageInfo
|
|
|
-
|
|
|
-func (m *Frame) GetSkip() int32 {
|
|
|
- if m != nil {
|
|
|
- return m.Skip
|
|
|
- }
|
|
|
- return 0
|
|
|
-}
|
|
|
-
|
|
|
-func (m *Frame) GetLimit() int32 {
|
|
|
- if m != nil {
|
|
|
- return m.Limit
|
|
|
- }
|
|
|
- return 0
|
|
|
-}
|
|
|
-
|
|
|
-type Folder struct {
|
|
|
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
|
- Custom bool `protobuf:"varint,2,opt,name=custom,proto3" json:"custom,omitempty"`
|
|
|
- XXX_NoUnkeyedLiteral struct{} `json:"-" bson:"-"`
|
|
|
- XXX_unrecognized []byte `json:"-" bson:"-"`
|
|
|
- XXX_sizecache int32 `json:"-" bson:"-"`
|
|
|
-}
|
|
|
-
|
|
|
-func (m *Folder) Reset() { *m = Folder{} }
|
|
|
-func (m *Folder) String() string { return proto.CompactTextString(m) }
|
|
|
-func (*Folder) ProtoMessage() {}
|
|
|
-func (*Folder) Descriptor() ([]byte, []int) {
|
|
|
- return fileDescriptor_0ab36b6dc6e1dcaa, []int{7}
|
|
|
-}
|
|
|
-
|
|
|
-func (m *Folder) XXX_Unmarshal(b []byte) error {
|
|
|
- return xxx_messageInfo_Folder.Unmarshal(m, b)
|
|
|
-}
|
|
|
-func (m *Folder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
- return xxx_messageInfo_Folder.Marshal(b, m, deterministic)
|
|
|
-}
|
|
|
-func (m *Folder) XXX_Merge(src proto.Message) {
|
|
|
- xxx_messageInfo_Folder.Merge(m, src)
|
|
|
-}
|
|
|
-func (m *Folder) XXX_Size() int {
|
|
|
- return xxx_messageInfo_Folder.Size(m)
|
|
|
-}
|
|
|
-func (m *Folder) XXX_DiscardUnknown() {
|
|
|
- xxx_messageInfo_Folder.DiscardUnknown(m)
|
|
|
-}
|
|
|
-
|
|
|
-var xxx_messageInfo_Folder proto.InternalMessageInfo
|
|
|
-
|
|
|
-func (m *Folder) GetName() string {
|
|
|
- if m != nil {
|
|
|
- return m.Name
|
|
|
- }
|
|
|
- return ""
|
|
|
-}
|
|
|
-
|
|
|
-func (m *Folder) GetCustom() bool {
|
|
|
- if m != nil {
|
|
|
- return m.Custom
|
|
|
- }
|
|
|
- return false
|
|
|
-}
|
|
|
-
|
|
|
-type FolderStat struct {
|
|
|
- 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"`
|
|
|
- XXX_NoUnkeyedLiteral struct{} `json:"-" bson:"-"`
|
|
|
- XXX_unrecognized []byte `json:"-" bson:"-"`
|
|
|
- XXX_sizecache int32 `json:"-" bson:"-"`
|
|
|
-}
|
|
|
-
|
|
|
-func (m *FolderStat) Reset() { *m = FolderStat{} }
|
|
|
-func (m *FolderStat) String() string { return proto.CompactTextString(m) }
|
|
|
-func (*FolderStat) ProtoMessage() {}
|
|
|
-func (*FolderStat) Descriptor() ([]byte, []int) {
|
|
|
- return fileDescriptor_0ab36b6dc6e1dcaa, []int{8}
|
|
|
-}
|
|
|
-
|
|
|
-func (m *FolderStat) XXX_Unmarshal(b []byte) error {
|
|
|
- return xxx_messageInfo_FolderStat.Unmarshal(m, b)
|
|
|
-}
|
|
|
-func (m *FolderStat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
- return xxx_messageInfo_FolderStat.Marshal(b, m, deterministic)
|
|
|
-}
|
|
|
-func (m *FolderStat) XXX_Merge(src proto.Message) {
|
|
|
- xxx_messageInfo_FolderStat.Merge(m, src)
|
|
|
-}
|
|
|
-func (m *FolderStat) XXX_Size() int {
|
|
|
- return xxx_messageInfo_FolderStat.Size(m)
|
|
|
-}
|
|
|
-func (m *FolderStat) XXX_DiscardUnknown() {
|
|
|
- xxx_messageInfo_FolderStat.DiscardUnknown(m)
|
|
|
-}
|
|
|
-
|
|
|
-var xxx_messageInfo_FolderStat proto.InternalMessageInfo
|
|
|
-
|
|
|
-func (m *FolderStat) GetFolder() string {
|
|
|
- if m != nil {
|
|
|
- return m.Folder
|
|
|
- }
|
|
|
- return ""
|
|
|
-}
|
|
|
-
|
|
|
-func (m *FolderStat) GetTotal() uint32 {
|
|
|
- if m != nil {
|
|
|
- return m.Total
|
|
|
- }
|
|
|
- return 0
|
|
|
-}
|
|
|
-
|
|
|
-func (m *FolderStat) GetUnread() uint32 {
|
|
|
- if m != nil {
|
|
|
- return m.Unread
|
|
|
- }
|
|
|
- return 0
|
|
|
-}
|
|
|
-
|
|
|
-func init() {
|
|
|
- proto.RegisterType((*MailBody)(nil), "common.MailBody")
|
|
|
- proto.RegisterType((*MailHeader)(nil), "common.MailHeader")
|
|
|
- proto.RegisterType((*Mail)(nil), "common.Mail")
|
|
|
- proto.RegisterType((*Attachment)(nil), "common.Attachment")
|
|
|
- proto.RegisterType((*AttachmentHeader)(nil), "common.AttachmentHeader")
|
|
|
- proto.RegisterType((*UserInfo)(nil), "common.UserInfo")
|
|
|
- proto.RegisterType((*Frame)(nil), "common.Frame")
|
|
|
- proto.RegisterType((*Folder)(nil), "common.Folder")
|
|
|
- proto.RegisterType((*FolderStat)(nil), "common.FolderStat")
|
|
|
-}
|
|
|
-
|
|
|
-func init() { proto.RegisterFile("gostfix.proto", fileDescriptor_0ab36b6dc6e1dcaa) }
|
|
|
-
|
|
|
-var fileDescriptor_0ab36b6dc6e1dcaa = []byte{
|
|
|
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