Documentation ¶
Index ¶
- Variables
- type MailAttachment
- func (*MailAttachment) Descriptor() ([]byte, []int)deprecated
- func (x *MailAttachment) GetContentID() string
- func (x *MailAttachment) GetData() []byte
- func (x *MailAttachment) GetFileName() string
- func (*MailAttachment) ProtoMessage()
- func (x *MailAttachment) ProtoReflect() protoreflect.Message
- func (x *MailAttachment) Reset()
- func (x *MailAttachment) String() string
- type MailHeader
- type MailMessage
- func (*MailMessage) Descriptor() ([]byte, []int)deprecated
- func (x *MailMessage) GetAttachment() []*MailAttachment
- func (x *MailMessage) GetBcc() []string
- func (x *MailMessage) GetCc() []string
- func (x *MailMessage) GetHeader() []*MailHeader
- func (x *MailMessage) GetHtmlBody() string
- func (x *MailMessage) GetReplyTo() string
- func (x *MailMessage) GetSender() string
- func (x *MailMessage) GetSubject() string
- func (x *MailMessage) GetTextBody() string
- func (x *MailMessage) GetTo() []string
- func (*MailMessage) ProtoMessage()
- func (x *MailMessage) ProtoReflect() protoreflect.Message
- func (x *MailMessage) Reset()
- func (x *MailMessage) String() string
- type MailServiceError
- type MailServiceError_ErrorCode
- func (MailServiceError_ErrorCode) Descriptor() protoreflect.EnumDescriptor
- func (x MailServiceError_ErrorCode) Enum() *MailServiceError_ErrorCode
- func (MailServiceError_ErrorCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x MailServiceError_ErrorCode) Number() protoreflect.EnumNumber
- func (x MailServiceError_ErrorCode) String() string
- func (MailServiceError_ErrorCode) Type() protoreflect.EnumType
- func (x *MailServiceError_ErrorCode) UnmarshalJSON(b []byte) errordeprecated
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MailServiceError_ErrorCode_name = map[int32]string{ 0: "OK", 1: "INTERNAL_ERROR", 2: "BAD_REQUEST", 3: "UNAUTHORIZED_SENDER", 4: "INVALID_ATTACHMENT_TYPE", 5: "INVALID_HEADER_NAME", 6: "INVALID_CONTENT_ID", } MailServiceError_ErrorCode_value = map[string]int32{ "OK": 0, "INTERNAL_ERROR": 1, "BAD_REQUEST": 2, "UNAUTHORIZED_SENDER": 3, "INVALID_ATTACHMENT_TYPE": 4, "INVALID_HEADER_NAME": 5, "INVALID_CONTENT_ID": 6, } )
Enum value maps for MailServiceError_ErrorCode.
View Source
var File_go_chromium_org_luci_server_internal_gae_mail_mail_service_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type MailAttachment ¶
type MailAttachment struct { FileName *string `protobuf:"bytes,1,req,name=FileName" json:"FileName,omitempty"` Data []byte `protobuf:"bytes,2,req,name=Data" json:"Data,omitempty"` ContentID *string `protobuf:"bytes,3,opt,name=ContentID" json:"ContentID,omitempty"` // contains filtered or unexported fields }
func (*MailAttachment) Descriptor
deprecated
func (*MailAttachment) Descriptor() ([]byte, []int)
Deprecated: Use MailAttachment.ProtoReflect.Descriptor instead.
func (*MailAttachment) GetContentID ¶
func (x *MailAttachment) GetContentID() string
func (*MailAttachment) GetData ¶
func (x *MailAttachment) GetData() []byte
func (*MailAttachment) GetFileName ¶
func (x *MailAttachment) GetFileName() string
func (*MailAttachment) ProtoMessage ¶
func (*MailAttachment) ProtoMessage()
func (*MailAttachment) ProtoReflect ¶
func (x *MailAttachment) ProtoReflect() protoreflect.Message
func (*MailAttachment) Reset ¶
func (x *MailAttachment) Reset()
func (*MailAttachment) String ¶
func (x *MailAttachment) String() string
type MailHeader ¶
type MailHeader struct { Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` Value *string `protobuf:"bytes,2,req,name=value" json:"value,omitempty"` // contains filtered or unexported fields }
func (*MailHeader) Descriptor
deprecated
func (*MailHeader) Descriptor() ([]byte, []int)
Deprecated: Use MailHeader.ProtoReflect.Descriptor instead.
func (*MailHeader) GetName ¶
func (x *MailHeader) GetName() string
func (*MailHeader) GetValue ¶
func (x *MailHeader) GetValue() string
func (*MailHeader) ProtoMessage ¶
func (*MailHeader) ProtoMessage()
func (*MailHeader) ProtoReflect ¶
func (x *MailHeader) ProtoReflect() protoreflect.Message
func (*MailHeader) Reset ¶
func (x *MailHeader) Reset()
func (*MailHeader) String ¶
func (x *MailHeader) String() string
type MailMessage ¶
type MailMessage struct { Sender *string `protobuf:"bytes,1,req,name=Sender" json:"Sender,omitempty"` ReplyTo *string `protobuf:"bytes,2,opt,name=ReplyTo" json:"ReplyTo,omitempty"` To []string `protobuf:"bytes,3,rep,name=To" json:"To,omitempty"` Cc []string `protobuf:"bytes,4,rep,name=Cc" json:"Cc,omitempty"` Bcc []string `protobuf:"bytes,5,rep,name=Bcc" json:"Bcc,omitempty"` Subject *string `protobuf:"bytes,6,req,name=Subject" json:"Subject,omitempty"` TextBody *string `protobuf:"bytes,7,opt,name=TextBody" json:"TextBody,omitempty"` HtmlBody *string `protobuf:"bytes,8,opt,name=HtmlBody" json:"HtmlBody,omitempty"` Attachment []*MailAttachment `protobuf:"bytes,9,rep,name=Attachment" json:"Attachment,omitempty"` Header []*MailHeader `protobuf:"bytes,10,rep,name=Header" json:"Header,omitempty"` // contains filtered or unexported fields }
func (*MailMessage) Descriptor
deprecated
func (*MailMessage) Descriptor() ([]byte, []int)
Deprecated: Use MailMessage.ProtoReflect.Descriptor instead.
func (*MailMessage) GetAttachment ¶
func (x *MailMessage) GetAttachment() []*MailAttachment
func (*MailMessage) GetBcc ¶
func (x *MailMessage) GetBcc() []string
func (*MailMessage) GetCc ¶
func (x *MailMessage) GetCc() []string
func (*MailMessage) GetHeader ¶
func (x *MailMessage) GetHeader() []*MailHeader
func (*MailMessage) GetHtmlBody ¶
func (x *MailMessage) GetHtmlBody() string
func (*MailMessage) GetReplyTo ¶
func (x *MailMessage) GetReplyTo() string
func (*MailMessage) GetSender ¶
func (x *MailMessage) GetSender() string
func (*MailMessage) GetSubject ¶
func (x *MailMessage) GetSubject() string
func (*MailMessage) GetTextBody ¶
func (x *MailMessage) GetTextBody() string
func (*MailMessage) GetTo ¶
func (x *MailMessage) GetTo() []string
func (*MailMessage) ProtoMessage ¶
func (*MailMessage) ProtoMessage()
func (*MailMessage) ProtoReflect ¶
func (x *MailMessage) ProtoReflect() protoreflect.Message
func (*MailMessage) Reset ¶
func (x *MailMessage) Reset()
func (*MailMessage) String ¶
func (x *MailMessage) String() string
type MailServiceError ¶
type MailServiceError struct {
// contains filtered or unexported fields
}
func (*MailServiceError) Descriptor
deprecated
func (*MailServiceError) Descriptor() ([]byte, []int)
Deprecated: Use MailServiceError.ProtoReflect.Descriptor instead.
func (*MailServiceError) ProtoMessage ¶
func (*MailServiceError) ProtoMessage()
func (*MailServiceError) ProtoReflect ¶
func (x *MailServiceError) ProtoReflect() protoreflect.Message
func (*MailServiceError) Reset ¶
func (x *MailServiceError) Reset()
func (*MailServiceError) String ¶
func (x *MailServiceError) String() string
type MailServiceError_ErrorCode ¶
type MailServiceError_ErrorCode int32
const ( MailServiceError_OK MailServiceError_ErrorCode = 0 MailServiceError_INTERNAL_ERROR MailServiceError_ErrorCode = 1 MailServiceError_BAD_REQUEST MailServiceError_ErrorCode = 2 MailServiceError_UNAUTHORIZED_SENDER MailServiceError_ErrorCode = 3 MailServiceError_INVALID_ATTACHMENT_TYPE MailServiceError_ErrorCode = 4 MailServiceError_INVALID_HEADER_NAME MailServiceError_ErrorCode = 5 MailServiceError_INVALID_CONTENT_ID MailServiceError_ErrorCode = 6 )
func (MailServiceError_ErrorCode) Descriptor ¶
func (MailServiceError_ErrorCode) Descriptor() protoreflect.EnumDescriptor
func (MailServiceError_ErrorCode) Enum ¶
func (x MailServiceError_ErrorCode) Enum() *MailServiceError_ErrorCode
func (MailServiceError_ErrorCode) EnumDescriptor
deprecated
func (MailServiceError_ErrorCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use MailServiceError_ErrorCode.Descriptor instead.
func (MailServiceError_ErrorCode) Number ¶
func (x MailServiceError_ErrorCode) Number() protoreflect.EnumNumber
func (MailServiceError_ErrorCode) String ¶
func (x MailServiceError_ErrorCode) String() string
func (MailServiceError_ErrorCode) Type ¶
func (MailServiceError_ErrorCode) Type() protoreflect.EnumType
func (*MailServiceError_ErrorCode) UnmarshalJSON
deprecated
func (x *MailServiceError_ErrorCode) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
Click to show internal directories.
Click to hide internal directories.