Documentation ¶
Index ¶
- type Message
- func (*Message) Descriptor() ([]byte, []int)
- func (m *Message) GetAttachments() []*Message_Attachment
- func (m *Message) GetBcc() []*Message_Address
- func (m *Message) GetBody() *Message_Body
- func (m *Message) GetCc() []*Message_Address
- func (m *Message) GetSubject() string
- func (m *Message) GetTo() []*Message_Address
- func (*Message) ProtoMessage()
- func (m *Message) Reset()
- func (m *Message) String() string
- func (m *Message) XXX_DiscardUnknown()
- func (m *Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Message) XXX_Merge(src proto.Message)
- func (m *Message) XXX_Size() int
- func (m *Message) XXX_Unmarshal(b []byte) error
- type Message_Address
- func (*Message_Address) Descriptor() ([]byte, []int)
- func (m *Message_Address) GetEmail() string
- func (m *Message_Address) GetName() *wrappers.StringValue
- func (*Message_Address) ProtoMessage()
- func (m *Message_Address) Reset()
- func (m *Message_Address) String() string
- func (m *Message_Address) XXX_DiscardUnknown()
- func (m *Message_Address) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Message_Address) XXX_Merge(src proto.Message)
- func (m *Message_Address) XXX_Size() int
- func (m *Message_Address) XXX_Unmarshal(b []byte) error
- type Message_Attachment
- func (*Message_Attachment) Descriptor() ([]byte, []int)
- func (m *Message_Attachment) GetBody() []byte
- func (m *Message_Attachment) GetContentType() *wrappers.StringValue
- func (m *Message_Attachment) GetName() string
- func (*Message_Attachment) ProtoMessage()
- func (m *Message_Attachment) Reset()
- func (m *Message_Attachment) String() string
- func (m *Message_Attachment) XXX_DiscardUnknown()
- func (m *Message_Attachment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Message_Attachment) XXX_Merge(src proto.Message)
- func (m *Message_Attachment) XXX_Size() int
- func (m *Message_Attachment) XXX_Unmarshal(b []byte) error
- type Message_Body
- func (*Message_Body) Descriptor() ([]byte, []int)
- func (m *Message_Body) GetHtml() *wrappers.BytesValue
- func (m *Message_Body) GetPlainText() *wrappers.BytesValue
- func (*Message_Body) ProtoMessage()
- func (m *Message_Body) Reset()
- func (m *Message_Body) String() string
- func (m *Message_Body) XXX_DiscardUnknown()
- func (m *Message_Body) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Message_Body) XXX_Merge(src proto.Message)
- func (m *Message_Body) XXX_Size() int
- func (m *Message_Body) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct { To []*Message_Address `protobuf:"bytes,2,rep,name=to,proto3" json:"to,omitempty"` Cc []*Message_Address `protobuf:"bytes,3,rep,name=cc,proto3" json:"cc,omitempty"` Bcc []*Message_Address `protobuf:"bytes,4,rep,name=bcc,proto3" json:"bcc,omitempty"` Subject string `protobuf:"bytes,5,opt,name=subject,proto3" json:"subject,omitempty"` Body *Message_Body `protobuf:"bytes,6,opt,name=body,proto3" json:"body,omitempty"` Attachments []*Message_Attachment `protobuf:"bytes,7,rep,name=attachments,proto3" json:"attachments,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Email message
func (*Message) Descriptor ¶
func (*Message) GetAttachments ¶
func (m *Message) GetAttachments() []*Message_Attachment
func (*Message) GetBcc ¶
func (m *Message) GetBcc() []*Message_Address
func (*Message) GetBody ¶
func (m *Message) GetBody() *Message_Body
func (*Message) GetCc ¶
func (m *Message) GetCc() []*Message_Address
func (*Message) GetSubject ¶
func (*Message) GetTo ¶
func (m *Message) GetTo() []*Message_Address
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) XXX_DiscardUnknown ¶
func (m *Message) XXX_DiscardUnknown()
func (*Message) XXX_Marshal ¶
func (*Message) XXX_Unmarshal ¶
type Message_Address ¶
type Message_Address struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` Name *wrappers.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Email address
func (*Message_Address) Descriptor ¶
func (*Message_Address) Descriptor() ([]byte, []int)
func (*Message_Address) GetEmail ¶
func (m *Message_Address) GetEmail() string
func (*Message_Address) GetName ¶
func (m *Message_Address) GetName() *wrappers.StringValue
func (*Message_Address) ProtoMessage ¶
func (*Message_Address) ProtoMessage()
func (*Message_Address) Reset ¶
func (m *Message_Address) Reset()
func (*Message_Address) String ¶
func (m *Message_Address) String() string
func (*Message_Address) XXX_DiscardUnknown ¶
func (m *Message_Address) XXX_DiscardUnknown()
func (*Message_Address) XXX_Marshal ¶
func (m *Message_Address) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Message_Address) XXX_Merge ¶
func (m *Message_Address) XXX_Merge(src proto.Message)
func (*Message_Address) XXX_Size ¶
func (m *Message_Address) XXX_Size() int
func (*Message_Address) XXX_Unmarshal ¶
func (m *Message_Address) XXX_Unmarshal(b []byte) error
type Message_Attachment ¶
type Message_Attachment struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Body []byte `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"` ContentType *wrappers.StringValue `protobuf:"bytes,3,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Attachment
func (*Message_Attachment) Descriptor ¶
func (*Message_Attachment) Descriptor() ([]byte, []int)
func (*Message_Attachment) GetBody ¶
func (m *Message_Attachment) GetBody() []byte
func (*Message_Attachment) GetContentType ¶
func (m *Message_Attachment) GetContentType() *wrappers.StringValue
func (*Message_Attachment) GetName ¶
func (m *Message_Attachment) GetName() string
func (*Message_Attachment) ProtoMessage ¶
func (*Message_Attachment) ProtoMessage()
func (*Message_Attachment) Reset ¶
func (m *Message_Attachment) Reset()
func (*Message_Attachment) String ¶
func (m *Message_Attachment) String() string
func (*Message_Attachment) XXX_DiscardUnknown ¶
func (m *Message_Attachment) XXX_DiscardUnknown()
func (*Message_Attachment) XXX_Marshal ¶
func (m *Message_Attachment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Message_Attachment) XXX_Merge ¶
func (m *Message_Attachment) XXX_Merge(src proto.Message)
func (*Message_Attachment) XXX_Size ¶
func (m *Message_Attachment) XXX_Size() int
func (*Message_Attachment) XXX_Unmarshal ¶
func (m *Message_Attachment) XXX_Unmarshal(b []byte) error
type Message_Body ¶
type Message_Body struct { PlainText *wrappers.BytesValue `protobuf:"bytes,1,opt,name=plain_text,json=plainText,proto3" json:"plain_text,omitempty"` Html *wrappers.BytesValue `protobuf:"bytes,2,opt,name=html,proto3" json:"html,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Message body
func (*Message_Body) Descriptor ¶
func (*Message_Body) Descriptor() ([]byte, []int)
func (*Message_Body) GetHtml ¶
func (m *Message_Body) GetHtml() *wrappers.BytesValue
func (*Message_Body) GetPlainText ¶
func (m *Message_Body) GetPlainText() *wrappers.BytesValue
func (*Message_Body) ProtoMessage ¶
func (*Message_Body) ProtoMessage()
func (*Message_Body) Reset ¶
func (m *Message_Body) Reset()
func (*Message_Body) String ¶
func (m *Message_Body) String() string
func (*Message_Body) XXX_DiscardUnknown ¶
func (m *Message_Body) XXX_DiscardUnknown()
func (*Message_Body) XXX_Marshal ¶
func (m *Message_Body) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Message_Body) XXX_Merge ¶
func (m *Message_Body) XXX_Merge(src proto.Message)
func (*Message_Body) XXX_Size ¶
func (m *Message_Body) XXX_Size() int
func (*Message_Body) XXX_Unmarshal ¶
func (m *Message_Body) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.