Documentation ¶
Index ¶
- Variables
- func RegisterAccountServiceServer(s *grpc.Server, srv AccountServiceServer)
- func RegisterAttachmentServiceServer(s *grpc.Server, srv AttachmentServiceServer)
- func RegisterDraftServiceServer(s *grpc.Server, srv DraftServiceServer)
- func RegisterEmailServiceServer(s *grpc.Server, srv EmailServiceServer)
- func RegisterLabelServiceServer(s *grpc.Server, srv LabelServiceServer)
- func RegisterMailboxServiceServer(s *grpc.Server, srv MailboxServiceServer)
- func RegisterThreadServiceServer(s *grpc.Server, srv ThreadServiceServer)
- type AccountServiceClient
- type AccountServiceServer
- type Attachment
- func (*Attachment) Descriptor() ([]byte, []int)
- func (m *Attachment) GetDataUri() string
- func (m *Attachment) GetFilename() string
- func (m *Attachment) GetId() string
- func (m *Attachment) GetMimetype() string
- func (*Attachment) ProtoMessage()
- func (m *Attachment) Reset()
- func (m *Attachment) String() string
- func (m *Attachment) XXX_DiscardUnknown()
- func (m *Attachment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Attachment) XXX_Merge(src proto.Message)
- func (m *Attachment) XXX_Size() int
- func (m *Attachment) XXX_Unmarshal(b []byte) error
- type AttachmentMetadata
- func (*AttachmentMetadata) Descriptor() ([]byte, []int)
- func (m *AttachmentMetadata) GetFilename() string
- func (m *AttachmentMetadata) GetId() string
- func (m *AttachmentMetadata) GetMimetype() string
- func (m *AttachmentMetadata) GetUri() string
- func (*AttachmentMetadata) ProtoMessage()
- func (m *AttachmentMetadata) Reset()
- func (m *AttachmentMetadata) String() string
- func (m *AttachmentMetadata) XXX_DiscardUnknown()
- func (m *AttachmentMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AttachmentMetadata) XXX_Merge(src proto.Message)
- func (m *AttachmentMetadata) XXX_Size() int
- func (m *AttachmentMetadata) XXX_Unmarshal(b []byte) error
- type AttachmentServiceClient
- type AttachmentServiceServer
- type CreateDraftRequest
- func (*CreateDraftRequest) Descriptor() ([]byte, []int)
- func (m *CreateDraftRequest) GetDraft() *Draft
- func (*CreateDraftRequest) ProtoMessage()
- func (m *CreateDraftRequest) Reset()
- func (m *CreateDraftRequest) String() string
- func (m *CreateDraftRequest) XXX_DiscardUnknown()
- func (m *CreateDraftRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateDraftRequest) XXX_Merge(src proto.Message)
- func (m *CreateDraftRequest) XXX_Size() int
- func (m *CreateDraftRequest) XXX_Unmarshal(b []byte) error
- type CreateLabelRequest
- func (*CreateLabelRequest) Descriptor() ([]byte, []int)
- func (m *CreateLabelRequest) GetLabel() *Label
- func (*CreateLabelRequest) ProtoMessage()
- func (m *CreateLabelRequest) Reset()
- func (m *CreateLabelRequest) String() string
- func (m *CreateLabelRequest) XXX_DiscardUnknown()
- func (m *CreateLabelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateLabelRequest) XXX_Merge(src proto.Message)
- func (m *CreateLabelRequest) XXX_Size() int
- func (m *CreateLabelRequest) XXX_Unmarshal(b []byte) error
- type DeleteAllAttachmentRequest
- func (*DeleteAllAttachmentRequest) Descriptor() ([]byte, []int)
- func (m *DeleteAllAttachmentRequest) GetEmailId() string
- func (*DeleteAllAttachmentRequest) ProtoMessage()
- func (m *DeleteAllAttachmentRequest) Reset()
- func (m *DeleteAllAttachmentRequest) String() string
- func (m *DeleteAllAttachmentRequest) XXX_DiscardUnknown()
- func (m *DeleteAllAttachmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteAllAttachmentRequest) XXX_Merge(src proto.Message)
- func (m *DeleteAllAttachmentRequest) XXX_Size() int
- func (m *DeleteAllAttachmentRequest) XXX_Unmarshal(b []byte) error
- type DeleteAttachmentRequest
- func (*DeleteAttachmentRequest) Descriptor() ([]byte, []int)
- func (m *DeleteAttachmentRequest) GetAttachmentMetadataId() string
- func (m *DeleteAttachmentRequest) GetEmailId() string
- func (*DeleteAttachmentRequest) ProtoMessage()
- func (m *DeleteAttachmentRequest) Reset()
- func (m *DeleteAttachmentRequest) String() string
- func (m *DeleteAttachmentRequest) XXX_DiscardUnknown()
- func (m *DeleteAttachmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteAttachmentRequest) XXX_Merge(src proto.Message)
- func (m *DeleteAttachmentRequest) XXX_Size() int
- func (m *DeleteAttachmentRequest) XXX_Unmarshal(b []byte) error
- type DeleteDraftRequest
- func (*DeleteDraftRequest) Descriptor() ([]byte, []int)
- func (m *DeleteDraftRequest) GetDraftId() string
- func (*DeleteDraftRequest) ProtoMessage()
- func (m *DeleteDraftRequest) Reset()
- func (m *DeleteDraftRequest) String() string
- func (m *DeleteDraftRequest) XXX_DiscardUnknown()
- func (m *DeleteDraftRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteDraftRequest) XXX_Merge(src proto.Message)
- func (m *DeleteDraftRequest) XXX_Size() int
- func (m *DeleteDraftRequest) XXX_Unmarshal(b []byte) error
- type DeleteLabelRequest
- func (*DeleteLabelRequest) Descriptor() ([]byte, []int)
- func (m *DeleteLabelRequest) GetLabelId() string
- func (*DeleteLabelRequest) ProtoMessage()
- func (m *DeleteLabelRequest) Reset()
- func (m *DeleteLabelRequest) String() string
- func (m *DeleteLabelRequest) XXX_DiscardUnknown()
- func (m *DeleteLabelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteLabelRequest) XXX_Merge(src proto.Message)
- func (m *DeleteLabelRequest) XXX_Size() int
- func (m *DeleteLabelRequest) XXX_Unmarshal(b []byte) error
- type Draft
- func (*Draft) Descriptor() ([]byte, []int)
- func (m *Draft) GetEnvelope() *Envelope
- func (m *Draft) GetId() string
- func (m *Draft) GetLabels() map[string]string
- func (*Draft) ProtoMessage()
- func (m *Draft) Reset()
- func (m *Draft) String() string
- func (m *Draft) XXX_DiscardUnknown()
- func (m *Draft) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Draft) XXX_Merge(src proto.Message)
- func (m *Draft) XXX_Size() int
- func (m *Draft) XXX_Unmarshal(b []byte) error
- type DraftServiceClient
- type DraftServiceServer
- type Email
- func (*Email) Descriptor() ([]byte, []int)
- func (m *Email) GetEnvelope() *Envelope
- func (m *Email) GetFwd() bool
- func (m *Email) GetHistoryId() string
- func (m *Email) GetId() string
- func (m *Email) GetLabels() map[string]string
- func (m *Email) GetReceivedAt() *timestamp.Timestamp
- func (m *Email) GetSentAt() *timestamp.Timestamp
- func (m *Email) GetSnoozedAt() *timestamp.Timestamp
- func (*Email) ProtoMessage()
- func (m *Email) Reset()
- func (m *Email) String() string
- func (m *Email) XXX_DiscardUnknown()
- func (m *Email) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Email) XXX_Merge(src proto.Message)
- func (m *Email) XXX_Size() int
- func (m *Email) XXX_Unmarshal(b []byte) error
- type EmailServiceClient
- type EmailServiceServer
- type Envelope
- func (*Envelope) Descriptor() ([]byte, []int)
- func (m *Envelope) GetAttachments() []*Attachment
- func (m *Envelope) GetBcc() []*Recipient
- func (m *Envelope) GetCc() []*Recipient
- func (m *Envelope) GetFrom() *Sender
- func (m *Envelope) GetGroup() []*Recipient
- func (m *Envelope) GetId() string
- func (m *Envelope) GetMessage() *Message
- func (m *Envelope) GetTags() map[string]string
- func (m *Envelope) GetTo() []*Recipient
- func (*Envelope) ProtoMessage()
- func (m *Envelope) Reset()
- func (m *Envelope) String() string
- func (m *Envelope) XXX_DiscardUnknown()
- func (m *Envelope) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Envelope) XXX_Merge(src proto.Message)
- func (m *Envelope) XXX_Size() int
- func (m *Envelope) XXX_Unmarshal(b []byte) error
- type GetAttachmentMetadataRequest
- func (*GetAttachmentMetadataRequest) Descriptor() ([]byte, []int)
- func (m *GetAttachmentMetadataRequest) GetAttachmentMetadataId() string
- func (m *GetAttachmentMetadataRequest) GetEmailId() string
- func (*GetAttachmentMetadataRequest) ProtoMessage()
- func (m *GetAttachmentMetadataRequest) Reset()
- func (m *GetAttachmentMetadataRequest) String() string
- func (m *GetAttachmentMetadataRequest) XXX_DiscardUnknown()
- func (m *GetAttachmentMetadataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAttachmentMetadataRequest) XXX_Merge(src proto.Message)
- func (m *GetAttachmentMetadataRequest) XXX_Size() int
- func (m *GetAttachmentMetadataRequest) XXX_Unmarshal(b []byte) error
- type GetDraftRequest
- func (*GetDraftRequest) Descriptor() ([]byte, []int)
- func (m *GetDraftRequest) GetDraftId() string
- func (*GetDraftRequest) ProtoMessage()
- func (m *GetDraftRequest) Reset()
- func (m *GetDraftRequest) String() string
- func (m *GetDraftRequest) XXX_DiscardUnknown()
- func (m *GetDraftRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetDraftRequest) XXX_Merge(src proto.Message)
- func (m *GetDraftRequest) XXX_Size() int
- func (m *GetDraftRequest) XXX_Unmarshal(b []byte) error
- type GetEmailRequest
- func (*GetEmailRequest) Descriptor() ([]byte, []int)
- func (m *GetEmailRequest) GetEmailId() string
- func (*GetEmailRequest) ProtoMessage()
- func (m *GetEmailRequest) Reset()
- func (m *GetEmailRequest) String() string
- func (m *GetEmailRequest) XXX_DiscardUnknown()
- func (m *GetEmailRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetEmailRequest) XXX_Merge(src proto.Message)
- func (m *GetEmailRequest) XXX_Size() int
- func (m *GetEmailRequest) XXX_Unmarshal(b []byte) error
- type GetLabelRequest
- func (*GetLabelRequest) Descriptor() ([]byte, []int)
- func (m *GetLabelRequest) GetLabelId() string
- func (*GetLabelRequest) ProtoMessage()
- func (m *GetLabelRequest) Reset()
- func (m *GetLabelRequest) String() string
- func (m *GetLabelRequest) XXX_DiscardUnknown()
- func (m *GetLabelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetLabelRequest) XXX_Merge(src proto.Message)
- func (m *GetLabelRequest) XXX_Size() int
- func (m *GetLabelRequest) XXX_Unmarshal(b []byte) error
- type GetProfileResponse
- func (*GetProfileResponse) Descriptor() ([]byte, []int)
- func (m *GetProfileResponse) GetProfile() *Profile
- func (*GetProfileResponse) ProtoMessage()
- func (m *GetProfileResponse) Reset()
- func (m *GetProfileResponse) String() string
- func (m *GetProfileResponse) XXX_DiscardUnknown()
- func (m *GetProfileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetProfileResponse) XXX_Merge(src proto.Message)
- func (m *GetProfileResponse) XXX_Size() int
- func (m *GetProfileResponse) XXX_Unmarshal(b []byte) error
- type GetThreadRequest
- func (*GetThreadRequest) Descriptor() ([]byte, []int)
- func (m *GetThreadRequest) GetThreadId() string
- func (*GetThreadRequest) ProtoMessage()
- func (m *GetThreadRequest) Reset()
- func (m *GetThreadRequest) String() string
- func (m *GetThreadRequest) XXX_DiscardUnknown()
- func (m *GetThreadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetThreadRequest) XXX_Merge(src proto.Message)
- func (m *GetThreadRequest) XXX_Size() int
- func (m *GetThreadRequest) XXX_Unmarshal(b []byte) error
- type History
- func (*History) Descriptor() ([]byte, []int)
- func (m *History) GetEmailAdded() []*HistoryEmailAdded
- func (m *History) GetEmailDeleted() []*HistoryEmailDeleted
- func (m *History) GetEmails() []*Email
- func (m *History) GetId() uint32
- func (m *History) GetLabelAdded() []*HistoryLabelAdded
- func (m *History) GetLabelRemoved() []*HistoryLabelRemoved
- func (*History) ProtoMessage()
- func (m *History) Reset()
- func (m *History) String() string
- func (m *History) XXX_DiscardUnknown()
- func (m *History) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *History) XXX_Merge(src proto.Message)
- func (m *History) XXX_Size() int
- func (m *History) XXX_Unmarshal(b []byte) error
- type HistoryEmailAdded
- func (*HistoryEmailAdded) Descriptor() ([]byte, []int)
- func (m *HistoryEmailAdded) GetEmail() *Email
- func (*HistoryEmailAdded) ProtoMessage()
- func (m *HistoryEmailAdded) Reset()
- func (m *HistoryEmailAdded) String() string
- func (m *HistoryEmailAdded) XXX_DiscardUnknown()
- func (m *HistoryEmailAdded) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HistoryEmailAdded) XXX_Merge(src proto.Message)
- func (m *HistoryEmailAdded) XXX_Size() int
- func (m *HistoryEmailAdded) XXX_Unmarshal(b []byte) error
- type HistoryEmailDeleted
- func (*HistoryEmailDeleted) Descriptor() ([]byte, []int)
- func (m *HistoryEmailDeleted) GetEmail() *Email
- func (*HistoryEmailDeleted) ProtoMessage()
- func (m *HistoryEmailDeleted) Reset()
- func (m *HistoryEmailDeleted) String() string
- func (m *HistoryEmailDeleted) XXX_DiscardUnknown()
- func (m *HistoryEmailDeleted) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HistoryEmailDeleted) XXX_Merge(src proto.Message)
- func (m *HistoryEmailDeleted) XXX_Size() int
- func (m *HistoryEmailDeleted) XXX_Unmarshal(b []byte) error
- type HistoryLabelAdded
- func (*HistoryLabelAdded) Descriptor() ([]byte, []int)
- func (m *HistoryLabelAdded) GetEmail() *Email
- func (m *HistoryLabelAdded) GetLabelIds() []string
- func (*HistoryLabelAdded) ProtoMessage()
- func (m *HistoryLabelAdded) Reset()
- func (m *HistoryLabelAdded) String() string
- func (m *HistoryLabelAdded) XXX_DiscardUnknown()
- func (m *HistoryLabelAdded) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HistoryLabelAdded) XXX_Merge(src proto.Message)
- func (m *HistoryLabelAdded) XXX_Size() int
- func (m *HistoryLabelAdded) XXX_Unmarshal(b []byte) error
- type HistoryLabelRemoved
- func (*HistoryLabelRemoved) Descriptor() ([]byte, []int)
- func (m *HistoryLabelRemoved) GetEmail() *Email
- func (m *HistoryLabelRemoved) GetLabelIds() []string
- func (*HistoryLabelRemoved) ProtoMessage()
- func (m *HistoryLabelRemoved) Reset()
- func (m *HistoryLabelRemoved) String() string
- func (m *HistoryLabelRemoved) XXX_DiscardUnknown()
- func (m *HistoryLabelRemoved) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HistoryLabelRemoved) XXX_Merge(src proto.Message)
- func (m *HistoryLabelRemoved) XXX_Size() int
- func (m *HistoryLabelRemoved) XXX_Unmarshal(b []byte) error
- type HistoryTypes
- type Label
- func (*Label) Descriptor() ([]byte, []int)
- func (m *Label) GetId() string
- func (m *Label) GetName() string
- func (m *Label) GetType() string
- func (*Label) ProtoMessage()
- func (m *Label) Reset()
- func (m *Label) String() string
- func (m *Label) XXX_DiscardUnknown()
- func (m *Label) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Label) XXX_Merge(src proto.Message)
- func (m *Label) XXX_Size() int
- func (m *Label) XXX_Unmarshal(b []byte) error
- type LabelServiceClient
- type LabelServiceServer
- type ListAttachmentsMetadataRequest
- func (*ListAttachmentsMetadataRequest) Descriptor() ([]byte, []int)
- func (m *ListAttachmentsMetadataRequest) GetEmailId() string
- func (*ListAttachmentsMetadataRequest) ProtoMessage()
- func (m *ListAttachmentsMetadataRequest) Reset()
- func (m *ListAttachmentsMetadataRequest) String() string
- func (m *ListAttachmentsMetadataRequest) XXX_DiscardUnknown()
- func (m *ListAttachmentsMetadataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListAttachmentsMetadataRequest) XXX_Merge(src proto.Message)
- func (m *ListAttachmentsMetadataRequest) XXX_Size() int
- func (m *ListAttachmentsMetadataRequest) XXX_Unmarshal(b []byte) error
- type ListAttachmentsMetadataResponse
- func (*ListAttachmentsMetadataResponse) Descriptor() ([]byte, []int)
- func (m *ListAttachmentsMetadataResponse) GetAttachmentMetadata() []*AttachmentMetadata
- func (*ListAttachmentsMetadataResponse) ProtoMessage()
- func (m *ListAttachmentsMetadataResponse) Reset()
- func (m *ListAttachmentsMetadataResponse) String() string
- func (m *ListAttachmentsMetadataResponse) XXX_DiscardUnknown()
- func (m *ListAttachmentsMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListAttachmentsMetadataResponse) XXX_Merge(src proto.Message)
- func (m *ListAttachmentsMetadataResponse) XXX_Size() int
- func (m *ListAttachmentsMetadataResponse) XXX_Unmarshal(b []byte) error
- type ListDraftsRequest
- func (*ListDraftsRequest) Descriptor() ([]byte, []int)
- func (m *ListDraftsRequest) GetPageSize() uint32
- func (m *ListDraftsRequest) GetPageToken() string
- func (m *ListDraftsRequest) GetQuery() string
- func (*ListDraftsRequest) ProtoMessage()
- func (m *ListDraftsRequest) Reset()
- func (m *ListDraftsRequest) String() string
- func (m *ListDraftsRequest) XXX_DiscardUnknown()
- func (m *ListDraftsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListDraftsRequest) XXX_Merge(src proto.Message)
- func (m *ListDraftsRequest) XXX_Size() int
- func (m *ListDraftsRequest) XXX_Unmarshal(b []byte) error
- type ListDraftsResponse
- func (*ListDraftsResponse) Descriptor() ([]byte, []int)
- func (m *ListDraftsResponse) GetDraft() []*Draft
- func (m *ListDraftsResponse) GetNextPageToken() string
- func (m *ListDraftsResponse) GetTotalSize() uint32
- func (*ListDraftsResponse) ProtoMessage()
- func (m *ListDraftsResponse) Reset()
- func (m *ListDraftsResponse) String() string
- func (m *ListDraftsResponse) XXX_DiscardUnknown()
- func (m *ListDraftsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListDraftsResponse) XXX_Merge(src proto.Message)
- func (m *ListDraftsResponse) XXX_Size() int
- func (m *ListDraftsResponse) XXX_Unmarshal(b []byte) error
- type ListEmailsRequest
- func (*ListEmailsRequest) Descriptor() ([]byte, []int)
- func (m *ListEmailsRequest) GetLabels() map[string]string
- func (m *ListEmailsRequest) GetPageSize() uint32
- func (m *ListEmailsRequest) GetPageToken() string
- func (m *ListEmailsRequest) GetQuery() string
- func (*ListEmailsRequest) ProtoMessage()
- func (m *ListEmailsRequest) Reset()
- func (m *ListEmailsRequest) String() string
- func (m *ListEmailsRequest) XXX_DiscardUnknown()
- func (m *ListEmailsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListEmailsRequest) XXX_Merge(src proto.Message)
- func (m *ListEmailsRequest) XXX_Size() int
- func (m *ListEmailsRequest) XXX_Unmarshal(b []byte) error
- type ListEmailsResponse
- func (*ListEmailsResponse) Descriptor() ([]byte, []int)
- func (m *ListEmailsResponse) GetEmail() []*Email
- func (m *ListEmailsResponse) GetNextPageToken() string
- func (m *ListEmailsResponse) GetTotalSize() uint32
- func (*ListEmailsResponse) ProtoMessage()
- func (m *ListEmailsResponse) Reset()
- func (m *ListEmailsResponse) String() string
- func (m *ListEmailsResponse) XXX_DiscardUnknown()
- func (m *ListEmailsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListEmailsResponse) XXX_Merge(src proto.Message)
- func (m *ListEmailsResponse) XXX_Size() int
- func (m *ListEmailsResponse) XXX_Unmarshal(b []byte) error
- type ListHistoryRequest
- func (*ListHistoryRequest) Descriptor() ([]byte, []int)
- func (m *ListHistoryRequest) GetHistoryTypes() HistoryTypes
- func (m *ListHistoryRequest) GetLabelId() string
- func (m *ListHistoryRequest) GetPageSize() uint32
- func (m *ListHistoryRequest) GetPageToken() string
- func (m *ListHistoryRequest) GetStartHistoryId() uint32
- func (*ListHistoryRequest) ProtoMessage()
- func (m *ListHistoryRequest) Reset()
- func (m *ListHistoryRequest) String() string
- func (m *ListHistoryRequest) XXX_DiscardUnknown()
- func (m *ListHistoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListHistoryRequest) XXX_Merge(src proto.Message)
- func (m *ListHistoryRequest) XXX_Size() int
- func (m *ListHistoryRequest) XXX_Unmarshal(b []byte) error
- type ListHistoryResponse
- func (*ListHistoryResponse) Descriptor() ([]byte, []int)
- func (m *ListHistoryResponse) GetHistory() []*History
- func (m *ListHistoryResponse) GetHistoryId() uint32
- func (m *ListHistoryResponse) GetNextPageToken() string
- func (*ListHistoryResponse) ProtoMessage()
- func (m *ListHistoryResponse) Reset()
- func (m *ListHistoryResponse) String() string
- func (m *ListHistoryResponse) XXX_DiscardUnknown()
- func (m *ListHistoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListHistoryResponse) XXX_Merge(src proto.Message)
- func (m *ListHistoryResponse) XXX_Size() int
- func (m *ListHistoryResponse) XXX_Unmarshal(b []byte) error
- type ListLabelsResponse
- func (*ListLabelsResponse) Descriptor() ([]byte, []int)
- func (m *ListLabelsResponse) GetLabel() []*Label
- func (*ListLabelsResponse) ProtoMessage()
- func (m *ListLabelsResponse) Reset()
- func (m *ListLabelsResponse) String() string
- func (m *ListLabelsResponse) XXX_DiscardUnknown()
- func (m *ListLabelsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListLabelsResponse) XXX_Merge(src proto.Message)
- func (m *ListLabelsResponse) XXX_Size() int
- func (m *ListLabelsResponse) XXX_Unmarshal(b []byte) error
- type ListThreadsRequest
- func (*ListThreadsRequest) Descriptor() ([]byte, []int)
- func (m *ListThreadsRequest) GetLabels() map[string]string
- func (m *ListThreadsRequest) GetPageSize() uint32
- func (m *ListThreadsRequest) GetPageToken() string
- func (m *ListThreadsRequest) GetQuery() string
- func (*ListThreadsRequest) ProtoMessage()
- func (m *ListThreadsRequest) Reset()
- func (m *ListThreadsRequest) String() string
- func (m *ListThreadsRequest) XXX_DiscardUnknown()
- func (m *ListThreadsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListThreadsRequest) XXX_Merge(src proto.Message)
- func (m *ListThreadsRequest) XXX_Size() int
- func (m *ListThreadsRequest) XXX_Unmarshal(b []byte) error
- type ListThreadsResponse
- func (*ListThreadsResponse) Descriptor() ([]byte, []int)
- func (m *ListThreadsResponse) GetNextPageToken() string
- func (m *ListThreadsResponse) GetThread() []*Thread
- func (m *ListThreadsResponse) GetTotalSize() uint32
- func (*ListThreadsResponse) ProtoMessage()
- func (m *ListThreadsResponse) Reset()
- func (m *ListThreadsResponse) String() string
- func (m *ListThreadsResponse) XXX_DiscardUnknown()
- func (m *ListThreadsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListThreadsResponse) XXX_Merge(src proto.Message)
- func (m *ListThreadsResponse) XXX_Size() int
- func (m *ListThreadsResponse) XXX_Unmarshal(b []byte) error
- type MailboxServiceClient
- type MailboxServiceServer
- type MailboxService_StreamStateClient
- type MailboxService_StreamStateServer
- type Message
- func (*Message) Descriptor() ([]byte, []int)
- func (m *Message) GetBodyUri() string
- func (m *Message) GetId() string
- func (m *Message) GetMimetype() string
- func (m *Message) GetSnippet() string
- func (m *Message) GetSubject() string
- 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 ModifyEmailRequest
- func (*ModifyEmailRequest) Descriptor() ([]byte, []int)
- func (m *ModifyEmailRequest) GetEmailId() string
- func (m *ModifyEmailRequest) GetLabels() map[string]string
- func (*ModifyEmailRequest) ProtoMessage()
- func (m *ModifyEmailRequest) Reset()
- func (m *ModifyEmailRequest) String() string
- func (m *ModifyEmailRequest) XXX_DiscardUnknown()
- func (m *ModifyEmailRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ModifyEmailRequest) XXX_Merge(src proto.Message)
- func (m *ModifyEmailRequest) XXX_Size() int
- func (m *ModifyEmailRequest) XXX_Unmarshal(b []byte) error
- type ModifyThreadRequest
- func (*ModifyThreadRequest) Descriptor() ([]byte, []int)
- func (m *ModifyThreadRequest) GetLabels() map[string]string
- func (m *ModifyThreadRequest) GetThreadId() string
- func (*ModifyThreadRequest) ProtoMessage()
- func (m *ModifyThreadRequest) Reset()
- func (m *ModifyThreadRequest) String() string
- func (m *ModifyThreadRequest) XXX_DiscardUnknown()
- func (m *ModifyThreadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ModifyThreadRequest) XXX_Merge(src proto.Message)
- func (m *ModifyThreadRequest) XXX_Size() int
- func (m *ModifyThreadRequest) XXX_Unmarshal(b []byte) error
- type Profile
- func (*Profile) Descriptor() ([]byte, []int)
- func (m *Profile) GetEmailAddress() string
- func (m *Profile) GetEmailsTotal() int32
- func (m *Profile) GetHistoryId() string
- func (m *Profile) GetThreadsTotal() int32
- func (*Profile) ProtoMessage()
- func (m *Profile) Reset()
- func (m *Profile) String() string
- func (m *Profile) XXX_DiscardUnknown()
- func (m *Profile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Profile) XXX_Merge(src proto.Message)
- func (m *Profile) XXX_Size() int
- func (m *Profile) XXX_Unmarshal(b []byte) error
- type Recipient
- func (*Recipient) Descriptor() ([]byte, []int)
- func (m *Recipient) GetDisplayName() string
- func (m *Recipient) GetEmailAddress() string
- func (m *Recipient) GetId() string
- func (*Recipient) ProtoMessage()
- func (m *Recipient) Reset()
- func (m *Recipient) String() string
- func (m *Recipient) XXX_DiscardUnknown()
- func (m *Recipient) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Recipient) XXX_Merge(src proto.Message)
- func (m *Recipient) XXX_Size() int
- func (m *Recipient) XXX_Unmarshal(b []byte) error
- type ResetPasswordRequest
- func (*ResetPasswordRequest) Descriptor() ([]byte, []int)
- func (m *ResetPasswordRequest) GetPassword() string
- func (m *ResetPasswordRequest) GetToken() string
- func (*ResetPasswordRequest) ProtoMessage()
- func (m *ResetPasswordRequest) Reset()
- func (m *ResetPasswordRequest) String() string
- func (m *ResetPasswordRequest) XXX_DiscardUnknown()
- func (m *ResetPasswordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResetPasswordRequest) XXX_Merge(src proto.Message)
- func (m *ResetPasswordRequest) XXX_Size() int
- func (m *ResetPasswordRequest) XXX_Unmarshal(b []byte) error
- type SendDraftRequest
- func (*SendDraftRequest) Descriptor() ([]byte, []int)
- func (m *SendDraftRequest) GetDraft() *Draft
- func (*SendDraftRequest) ProtoMessage()
- func (m *SendDraftRequest) Reset()
- func (m *SendDraftRequest) String() string
- func (m *SendDraftRequest) XXX_DiscardUnknown()
- func (m *SendDraftRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SendDraftRequest) XXX_Merge(src proto.Message)
- func (m *SendDraftRequest) XXX_Size() int
- func (m *SendDraftRequest) XXX_Unmarshal(b []byte) error
- type SendEmailRequest
- func (*SendEmailRequest) Descriptor() ([]byte, []int)
- func (m *SendEmailRequest) GetEmail() *Email
- func (*SendEmailRequest) ProtoMessage()
- func (m *SendEmailRequest) Reset()
- func (m *SendEmailRequest) String() string
- func (m *SendEmailRequest) XXX_DiscardUnknown()
- func (m *SendEmailRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SendEmailRequest) XXX_Merge(src proto.Message)
- func (m *SendEmailRequest) XXX_Size() int
- func (m *SendEmailRequest) XXX_Unmarshal(b []byte) error
- type SendLabelRequest
- func (*SendLabelRequest) Descriptor() ([]byte, []int)
- func (m *SendLabelRequest) GetLabel() *Label
- func (*SendLabelRequest) ProtoMessage()
- func (m *SendLabelRequest) Reset()
- func (m *SendLabelRequest) String() string
- func (m *SendLabelRequest) XXX_DiscardUnknown()
- func (m *SendLabelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SendLabelRequest) XXX_Merge(src proto.Message)
- func (m *SendLabelRequest) XXX_Size() int
- func (m *SendLabelRequest) XXX_Unmarshal(b []byte) error
- type SendThreadRequest
- func (*SendThreadRequest) Descriptor() ([]byte, []int)
- func (m *SendThreadRequest) GetThread() *Thread
- func (*SendThreadRequest) ProtoMessage()
- func (m *SendThreadRequest) Reset()
- func (m *SendThreadRequest) String() string
- func (m *SendThreadRequest) XXX_DiscardUnknown()
- func (m *SendThreadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SendThreadRequest) XXX_Merge(src proto.Message)
- func (m *SendThreadRequest) XXX_Size() int
- func (m *SendThreadRequest) XXX_Unmarshal(b []byte) error
- type Sender
- func (*Sender) Descriptor() ([]byte, []int)
- func (m *Sender) GetDisplayName() string
- func (m *Sender) GetEmailAddress() string
- func (m *Sender) GetId() string
- func (*Sender) ProtoMessage()
- func (m *Sender) Reset()
- func (m *Sender) String() string
- func (m *Sender) XXX_DiscardUnknown()
- func (m *Sender) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Sender) XXX_Merge(src proto.Message)
- func (m *Sender) XXX_Size() int
- func (m *Sender) XXX_Unmarshal(b []byte) error
- type SigninRequest
- func (*SigninRequest) Descriptor() ([]byte, []int)
- func (m *SigninRequest) GetPassword() string
- func (m *SigninRequest) GetUsername() string
- func (*SigninRequest) ProtoMessage()
- func (m *SigninRequest) Reset()
- func (m *SigninRequest) String() string
- func (m *SigninRequest) XXX_DiscardUnknown()
- func (m *SigninRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SigninRequest) XXX_Merge(src proto.Message)
- func (m *SigninRequest) XXX_Size() int
- func (m *SigninRequest) XXX_Unmarshal(b []byte) error
- type SigninResponse
- func (*SigninResponse) Descriptor() ([]byte, []int)
- func (m *SigninResponse) GetToken() string
- func (*SigninResponse) ProtoMessage()
- func (m *SigninResponse) Reset()
- func (m *SigninResponse) String() string
- func (m *SigninResponse) XXX_DiscardUnknown()
- func (m *SigninResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SigninResponse) XXX_Merge(src proto.Message)
- func (m *SigninResponse) XXX_Size() int
- func (m *SigninResponse) XXX_Unmarshal(b []byte) error
- type SignupRequest
- func (*SignupRequest) Descriptor() ([]byte, []int)
- func (m *SignupRequest) GetPassword() string
- func (m *SignupRequest) GetUsername() string
- func (*SignupRequest) ProtoMessage()
- func (m *SignupRequest) Reset()
- func (m *SignupRequest) String() string
- func (m *SignupRequest) XXX_DiscardUnknown()
- func (m *SignupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignupRequest) XXX_Merge(src proto.Message)
- func (m *SignupRequest) XXX_Size() int
- func (m *SignupRequest) XXX_Unmarshal(b []byte) error
- type StreamStateRequest
- func (*StreamStateRequest) Descriptor() ([]byte, []int)
- func (m *StreamStateRequest) GetLabels() map[string]string
- func (m *StreamStateRequest) GetQuery() string
- func (*StreamStateRequest) ProtoMessage()
- func (m *StreamStateRequest) Reset()
- func (m *StreamStateRequest) String() string
- func (m *StreamStateRequest) XXX_DiscardUnknown()
- func (m *StreamStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StreamStateRequest) XXX_Merge(src proto.Message)
- func (m *StreamStateRequest) XXX_Size() int
- func (m *StreamStateRequest) XXX_Unmarshal(b []byte) error
- type StreamingStateResponse
- func (*StreamingStateResponse) Descriptor() ([]byte, []int)
- func (m *StreamingStateResponse) GetData() *any.Any
- func (m *StreamingStateResponse) GetStatus() *status.Status
- func (*StreamingStateResponse) ProtoMessage()
- func (m *StreamingStateResponse) Reset()
- func (m *StreamingStateResponse) String() string
- func (m *StreamingStateResponse) XXX_DiscardUnknown()
- func (m *StreamingStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StreamingStateResponse) XXX_Merge(src proto.Message)
- func (m *StreamingStateResponse) XXX_Size() int
- func (m *StreamingStateResponse) XXX_Unmarshal(b []byte) error
- type Thread
- func (*Thread) Descriptor() ([]byte, []int)
- func (m *Thread) GetEmail() []*Email
- func (m *Thread) GetHistoryId() string
- func (m *Thread) GetId() string
- func (m *Thread) GetSnippet() string
- func (*Thread) ProtoMessage()
- func (m *Thread) Reset()
- func (m *Thread) String() string
- func (m *Thread) XXX_DiscardUnknown()
- func (m *Thread) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Thread) XXX_Merge(src proto.Message)
- func (m *Thread) XXX_Size() int
- func (m *Thread) XXX_Unmarshal(b []byte) error
- type ThreadServiceClient
- type ThreadServiceServer
- type TrashEmailRequest
- func (*TrashEmailRequest) Descriptor() ([]byte, []int)
- func (m *TrashEmailRequest) GetEmailId() string
- func (*TrashEmailRequest) ProtoMessage()
- func (m *TrashEmailRequest) Reset()
- func (m *TrashEmailRequest) String() string
- func (m *TrashEmailRequest) XXX_DiscardUnknown()
- func (m *TrashEmailRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TrashEmailRequest) XXX_Merge(src proto.Message)
- func (m *TrashEmailRequest) XXX_Size() int
- func (m *TrashEmailRequest) XXX_Unmarshal(b []byte) error
- type TrashThreadRequest
- func (*TrashThreadRequest) Descriptor() ([]byte, []int)
- func (m *TrashThreadRequest) GetThreadId() string
- func (*TrashThreadRequest) ProtoMessage()
- func (m *TrashThreadRequest) Reset()
- func (m *TrashThreadRequest) String() string
- func (m *TrashThreadRequest) XXX_DiscardUnknown()
- func (m *TrashThreadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TrashThreadRequest) XXX_Merge(src proto.Message)
- func (m *TrashThreadRequest) XXX_Size() int
- func (m *TrashThreadRequest) XXX_Unmarshal(b []byte) error
- type UnimplementedAccountServiceServer
- func (*UnimplementedAccountServiceServer) ResetPassword(ctx context.Context, req *ResetPasswordRequest) (*empty.Empty, error)
- func (*UnimplementedAccountServiceServer) Signin(ctx context.Context, req *SigninRequest) (*SigninResponse, error)
- func (*UnimplementedAccountServiceServer) Signup(ctx context.Context, req *SignupRequest) (*empty.Empty, error)
- func (*UnimplementedAccountServiceServer) UserInfo(ctx context.Context, req *empty.Empty) (*UserInfoResponse, error)
- func (*UnimplementedAccountServiceServer) VerifyEmail(ctx context.Context, req *VerifyEmailRequest) (*empty.Empty, error)
- type UnimplementedAttachmentServiceServer
- func (*UnimplementedAttachmentServiceServer) DeleteAllAttachment(ctx context.Context, req *DeleteAllAttachmentRequest) (*empty.Empty, error)
- func (*UnimplementedAttachmentServiceServer) DeleteAttachment(ctx context.Context, req *DeleteAttachmentRequest) (*empty.Empty, error)
- func (*UnimplementedAttachmentServiceServer) GetAttachmentMetadata(ctx context.Context, req *GetAttachmentMetadataRequest) (*AttachmentMetadata, error)
- func (*UnimplementedAttachmentServiceServer) ListAttachmentMetadata(ctx context.Context, req *ListAttachmentsMetadataRequest) (*ListAttachmentsMetadataResponse, error)
- type UnimplementedDraftServiceServer
- func (*UnimplementedDraftServiceServer) CreateDraft(ctx context.Context, req *CreateDraftRequest) (*Draft, error)
- func (*UnimplementedDraftServiceServer) DeleteDraft(ctx context.Context, req *DeleteDraftRequest) (*empty.Empty, error)
- func (*UnimplementedDraftServiceServer) GetDraft(ctx context.Context, req *GetDraftRequest) (*Draft, error)
- func (*UnimplementedDraftServiceServer) ListDrafts(ctx context.Context, req *ListDraftsRequest) (*ListDraftsResponse, error)
- func (*UnimplementedDraftServiceServer) SendDraft(ctx context.Context, req *SendDraftRequest) (*Email, error)
- func (*UnimplementedDraftServiceServer) UpdateDraft(ctx context.Context, req *UpdateDraftRequest) (*Draft, error)
- type UnimplementedEmailServiceServer
- func (*UnimplementedEmailServiceServer) GetEmail(ctx context.Context, req *GetEmailRequest) (*Email, error)
- func (*UnimplementedEmailServiceServer) ListEmails(ctx context.Context, req *ListEmailsRequest) (*ListEmailsResponse, error)
- func (*UnimplementedEmailServiceServer) ModifyEmail(ctx context.Context, req *ModifyEmailRequest) (*Email, error)
- func (*UnimplementedEmailServiceServer) SendEmail(ctx context.Context, req *SendEmailRequest) (*Email, error)
- func (*UnimplementedEmailServiceServer) TrashEmail(ctx context.Context, req *TrashEmailRequest) (*empty.Empty, error)
- func (*UnimplementedEmailServiceServer) UntrashEmail(ctx context.Context, req *UntrashEmailRequest) (*empty.Empty, error)
- type UnimplementedLabelServiceServer
- func (*UnimplementedLabelServiceServer) CreateLabel(ctx context.Context, req *CreateLabelRequest) (*Label, error)
- func (*UnimplementedLabelServiceServer) DeleteLabel(ctx context.Context, req *DeleteLabelRequest) (*empty.Empty, error)
- func (*UnimplementedLabelServiceServer) GetLabel(ctx context.Context, req *GetLabelRequest) (*Label, error)
- func (*UnimplementedLabelServiceServer) ListLabels(ctx context.Context, req *empty.Empty) (*ListLabelsResponse, error)
- func (*UnimplementedLabelServiceServer) UpdateLabel(ctx context.Context, req *UpdateLabelRequest) (*Label, error)
- type UnimplementedMailboxServiceServer
- func (*UnimplementedMailboxServiceServer) GetProfile(ctx context.Context, req *empty.Empty) (*GetProfileResponse, error)
- func (*UnimplementedMailboxServiceServer) ListHistory(ctx context.Context, req *ListHistoryRequest) (*ListHistoryResponse, error)
- func (*UnimplementedMailboxServiceServer) StreamState(req *StreamStateRequest, srv MailboxService_StreamStateServer) error
- type UnimplementedThreadServiceServer
- func (*UnimplementedThreadServiceServer) GetThread(ctx context.Context, req *GetThreadRequest) (*Thread, error)
- func (*UnimplementedThreadServiceServer) ListThreads(ctx context.Context, req *ListThreadsRequest) (*ListThreadsResponse, error)
- func (*UnimplementedThreadServiceServer) ModifyThread(ctx context.Context, req *ModifyThreadRequest) (*Thread, error)
- func (*UnimplementedThreadServiceServer) TrashThread(ctx context.Context, req *TrashThreadRequest) (*empty.Empty, error)
- func (*UnimplementedThreadServiceServer) UntrashThread(ctx context.Context, req *UntrashThreadRequest) (*empty.Empty, error)
- type UntrashEmailRequest
- func (*UntrashEmailRequest) Descriptor() ([]byte, []int)
- func (m *UntrashEmailRequest) GetEmailId() string
- func (*UntrashEmailRequest) ProtoMessage()
- func (m *UntrashEmailRequest) Reset()
- func (m *UntrashEmailRequest) String() string
- func (m *UntrashEmailRequest) XXX_DiscardUnknown()
- func (m *UntrashEmailRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UntrashEmailRequest) XXX_Merge(src proto.Message)
- func (m *UntrashEmailRequest) XXX_Size() int
- func (m *UntrashEmailRequest) XXX_Unmarshal(b []byte) error
- type UntrashThreadRequest
- func (*UntrashThreadRequest) Descriptor() ([]byte, []int)
- func (m *UntrashThreadRequest) GetThreadId() string
- func (*UntrashThreadRequest) ProtoMessage()
- func (m *UntrashThreadRequest) Reset()
- func (m *UntrashThreadRequest) String() string
- func (m *UntrashThreadRequest) XXX_DiscardUnknown()
- func (m *UntrashThreadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UntrashThreadRequest) XXX_Merge(src proto.Message)
- func (m *UntrashThreadRequest) XXX_Size() int
- func (m *UntrashThreadRequest) XXX_Unmarshal(b []byte) error
- type UpdateDraftRequest
- func (*UpdateDraftRequest) Descriptor() ([]byte, []int)
- func (m *UpdateDraftRequest) GetDraft() *Draft
- func (*UpdateDraftRequest) ProtoMessage()
- func (m *UpdateDraftRequest) Reset()
- func (m *UpdateDraftRequest) String() string
- func (m *UpdateDraftRequest) XXX_DiscardUnknown()
- func (m *UpdateDraftRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateDraftRequest) XXX_Merge(src proto.Message)
- func (m *UpdateDraftRequest) XXX_Size() int
- func (m *UpdateDraftRequest) XXX_Unmarshal(b []byte) error
- type UpdateLabelRequest
- func (*UpdateLabelRequest) Descriptor() ([]byte, []int)
- func (m *UpdateLabelRequest) GetLabel() *Label
- func (*UpdateLabelRequest) ProtoMessage()
- func (m *UpdateLabelRequest) Reset()
- func (m *UpdateLabelRequest) String() string
- func (m *UpdateLabelRequest) XXX_DiscardUnknown()
- func (m *UpdateLabelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateLabelRequest) XXX_Merge(src proto.Message)
- func (m *UpdateLabelRequest) XXX_Size() int
- func (m *UpdateLabelRequest) XXX_Unmarshal(b []byte) error
- type UserInfoResponse
- func (*UserInfoResponse) Descriptor() ([]byte, []int)
- func (m *UserInfoResponse) GetData() []byte
- func (m *UserInfoResponse) GetEmail() string
- func (m *UserInfoResponse) GetFamilyName() string
- func (m *UserInfoResponse) GetGivenName() string
- func (m *UserInfoResponse) GetName() string
- func (m *UserInfoResponse) GetPicture() isUserInfoResponse_Picture
- func (m *UserInfoResponse) GetUri() string
- func (m *UserInfoResponse) GetUsername() string
- func (*UserInfoResponse) ProtoMessage()
- func (m *UserInfoResponse) Reset()
- func (m *UserInfoResponse) String() string
- func (m *UserInfoResponse) XXX_DiscardUnknown()
- func (m *UserInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserInfoResponse) XXX_Merge(src proto.Message)
- func (*UserInfoResponse) XXX_OneofWrappers() []interface{}
- func (m *UserInfoResponse) XXX_Size() int
- func (m *UserInfoResponse) XXX_Unmarshal(b []byte) error
- type UserInfoResponse_Data
- type UserInfoResponse_Uri
- type VerifyEmailRequest
- func (*VerifyEmailRequest) Descriptor() ([]byte, []int)
- func (m *VerifyEmailRequest) GetEmail() string
- func (*VerifyEmailRequest) ProtoMessage()
- func (m *VerifyEmailRequest) Reset()
- func (m *VerifyEmailRequest) String() string
- func (m *VerifyEmailRequest) XXX_DiscardUnknown()
- func (m *VerifyEmailRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VerifyEmailRequest) XXX_Merge(src proto.Message)
- func (m *VerifyEmailRequest) XXX_Size() int
- func (m *VerifyEmailRequest) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var HistoryTypes_name = map[int32]string{
0: "LABEL_ADDED",
1: "LABEL_REMOVED",
2: "MESSAGE_ADDED",
3: "MESSAGE_DELETED",
}
var HistoryTypes_value = map[string]int32{
"LABEL_ADDED": 0,
"LABEL_REMOVED": 1,
"MESSAGE_ADDED": 2,
"MESSAGE_DELETED": 3,
}
Functions ¶
func RegisterAccountServiceServer ¶
func RegisterAccountServiceServer(s *grpc.Server, srv AccountServiceServer)
func RegisterAttachmentServiceServer ¶
func RegisterAttachmentServiceServer(s *grpc.Server, srv AttachmentServiceServer)
func RegisterDraftServiceServer ¶
func RegisterDraftServiceServer(s *grpc.Server, srv DraftServiceServer)
func RegisterEmailServiceServer ¶
func RegisterEmailServiceServer(s *grpc.Server, srv EmailServiceServer)
func RegisterLabelServiceServer ¶
func RegisterLabelServiceServer(s *grpc.Server, srv LabelServiceServer)
func RegisterMailboxServiceServer ¶
func RegisterMailboxServiceServer(s *grpc.Server, srv MailboxServiceServer)
func RegisterThreadServiceServer ¶
func RegisterThreadServiceServer(s *grpc.Server, srv ThreadServiceServer)
Types ¶
type AccountServiceClient ¶
type AccountServiceClient interface { Signup(ctx context.Context, in *SignupRequest, opts ...grpc.CallOption) (*empty.Empty, error) VerifyEmail(ctx context.Context, in *VerifyEmailRequest, opts ...grpc.CallOption) (*empty.Empty, error) Signin(ctx context.Context, in *SigninRequest, opts ...grpc.CallOption) (*SigninResponse, error) ResetPassword(ctx context.Context, in *ResetPasswordRequest, opts ...grpc.CallOption) (*empty.Empty, error) UserInfo(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*UserInfoResponse, error) }
AccountServiceClient is the client API for AccountService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAccountServiceClient ¶
func NewAccountServiceClient(cc *grpc.ClientConn) AccountServiceClient
type AccountServiceServer ¶
type AccountServiceServer interface { Signup(context.Context, *SignupRequest) (*empty.Empty, error) VerifyEmail(context.Context, *VerifyEmailRequest) (*empty.Empty, error) Signin(context.Context, *SigninRequest) (*SigninResponse, error) ResetPassword(context.Context, *ResetPasswordRequest) (*empty.Empty, error) UserInfo(context.Context, *empty.Empty) (*UserInfoResponse, error) }
AccountServiceServer is the server API for AccountService service.
type Attachment ¶
type Attachment 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"` Mimetype string `protobuf:"bytes,3,opt,name=mimetype,proto3" json:"mimetype,omitempty"` DataUri string `protobuf:"bytes,5,opt,name=data_uri,json=dataUri,proto3" json:"data_uri,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Attachment) Descriptor ¶
func (*Attachment) Descriptor() ([]byte, []int)
func (*Attachment) GetDataUri ¶
func (m *Attachment) GetDataUri() string
func (*Attachment) GetFilename ¶
func (m *Attachment) GetFilename() string
func (*Attachment) GetId ¶
func (m *Attachment) GetId() string
func (*Attachment) GetMimetype ¶
func (m *Attachment) GetMimetype() string
func (*Attachment) ProtoMessage ¶
func (*Attachment) ProtoMessage()
func (*Attachment) Reset ¶
func (m *Attachment) Reset()
func (*Attachment) String ¶
func (m *Attachment) String() string
func (*Attachment) XXX_DiscardUnknown ¶
func (m *Attachment) XXX_DiscardUnknown()
func (*Attachment) XXX_Marshal ¶
func (m *Attachment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Attachment) XXX_Merge ¶
func (m *Attachment) XXX_Merge(src proto.Message)
func (*Attachment) XXX_Size ¶
func (m *Attachment) XXX_Size() int
func (*Attachment) XXX_Unmarshal ¶
func (m *Attachment) XXX_Unmarshal(b []byte) error
type AttachmentMetadata ¶
type AttachmentMetadata struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"` Filename string `protobuf:"bytes,3,opt,name=filename,proto3" json:"filename,omitempty"` Mimetype string `protobuf:"bytes,4,opt,name=mimetype,proto3" json:"mimetype,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AttachmentMetadata) Descriptor ¶
func (*AttachmentMetadata) Descriptor() ([]byte, []int)
func (*AttachmentMetadata) GetFilename ¶
func (m *AttachmentMetadata) GetFilename() string
func (*AttachmentMetadata) GetId ¶
func (m *AttachmentMetadata) GetId() string
func (*AttachmentMetadata) GetMimetype ¶
func (m *AttachmentMetadata) GetMimetype() string
func (*AttachmentMetadata) GetUri ¶
func (m *AttachmentMetadata) GetUri() string
func (*AttachmentMetadata) ProtoMessage ¶
func (*AttachmentMetadata) ProtoMessage()
func (*AttachmentMetadata) Reset ¶
func (m *AttachmentMetadata) Reset()
func (*AttachmentMetadata) String ¶
func (m *AttachmentMetadata) String() string
func (*AttachmentMetadata) XXX_DiscardUnknown ¶
func (m *AttachmentMetadata) XXX_DiscardUnknown()
func (*AttachmentMetadata) XXX_Marshal ¶
func (m *AttachmentMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AttachmentMetadata) XXX_Merge ¶
func (m *AttachmentMetadata) XXX_Merge(src proto.Message)
func (*AttachmentMetadata) XXX_Size ¶
func (m *AttachmentMetadata) XXX_Size() int
func (*AttachmentMetadata) XXX_Unmarshal ¶
func (m *AttachmentMetadata) XXX_Unmarshal(b []byte) error
type AttachmentServiceClient ¶
type AttachmentServiceClient interface { GetAttachmentMetadata(ctx context.Context, in *GetAttachmentMetadataRequest, opts ...grpc.CallOption) (*AttachmentMetadata, error) ListAttachmentMetadata(ctx context.Context, in *ListAttachmentsMetadataRequest, opts ...grpc.CallOption) (*ListAttachmentsMetadataResponse, error) DeleteAttachment(ctx context.Context, in *DeleteAttachmentRequest, opts ...grpc.CallOption) (*empty.Empty, error) DeleteAllAttachment(ctx context.Context, in *DeleteAllAttachmentRequest, opts ...grpc.CallOption) (*empty.Empty, error) }
AttachmentServiceClient is the client API for AttachmentService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAttachmentServiceClient ¶
func NewAttachmentServiceClient(cc *grpc.ClientConn) AttachmentServiceClient
type AttachmentServiceServer ¶
type AttachmentServiceServer interface { GetAttachmentMetadata(context.Context, *GetAttachmentMetadataRequest) (*AttachmentMetadata, error) ListAttachmentMetadata(context.Context, *ListAttachmentsMetadataRequest) (*ListAttachmentsMetadataResponse, error) DeleteAttachment(context.Context, *DeleteAttachmentRequest) (*empty.Empty, error) DeleteAllAttachment(context.Context, *DeleteAllAttachmentRequest) (*empty.Empty, error) }
AttachmentServiceServer is the server API for AttachmentService service.
type CreateDraftRequest ¶
type CreateDraftRequest struct { Draft *Draft `protobuf:"bytes,1,opt,name=draft,proto3" json:"draft,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateDraftRequest) Descriptor ¶
func (*CreateDraftRequest) Descriptor() ([]byte, []int)
func (*CreateDraftRequest) GetDraft ¶
func (m *CreateDraftRequest) GetDraft() *Draft
func (*CreateDraftRequest) ProtoMessage ¶
func (*CreateDraftRequest) ProtoMessage()
func (*CreateDraftRequest) Reset ¶
func (m *CreateDraftRequest) Reset()
func (*CreateDraftRequest) String ¶
func (m *CreateDraftRequest) String() string
func (*CreateDraftRequest) XXX_DiscardUnknown ¶
func (m *CreateDraftRequest) XXX_DiscardUnknown()
func (*CreateDraftRequest) XXX_Marshal ¶
func (m *CreateDraftRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateDraftRequest) XXX_Merge ¶
func (m *CreateDraftRequest) XXX_Merge(src proto.Message)
func (*CreateDraftRequest) XXX_Size ¶
func (m *CreateDraftRequest) XXX_Size() int
func (*CreateDraftRequest) XXX_Unmarshal ¶
func (m *CreateDraftRequest) XXX_Unmarshal(b []byte) error
type CreateLabelRequest ¶
type CreateLabelRequest struct { Label *Label `protobuf:"bytes,1,opt,name=Label,proto3" json:"Label,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateLabelRequest) Descriptor ¶
func (*CreateLabelRequest) Descriptor() ([]byte, []int)
func (*CreateLabelRequest) GetLabel ¶
func (m *CreateLabelRequest) GetLabel() *Label
func (*CreateLabelRequest) ProtoMessage ¶
func (*CreateLabelRequest) ProtoMessage()
func (*CreateLabelRequest) Reset ¶
func (m *CreateLabelRequest) Reset()
func (*CreateLabelRequest) String ¶
func (m *CreateLabelRequest) String() string
func (*CreateLabelRequest) XXX_DiscardUnknown ¶
func (m *CreateLabelRequest) XXX_DiscardUnknown()
func (*CreateLabelRequest) XXX_Marshal ¶
func (m *CreateLabelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateLabelRequest) XXX_Merge ¶
func (m *CreateLabelRequest) XXX_Merge(src proto.Message)
func (*CreateLabelRequest) XXX_Size ¶
func (m *CreateLabelRequest) XXX_Size() int
func (*CreateLabelRequest) XXX_Unmarshal ¶
func (m *CreateLabelRequest) XXX_Unmarshal(b []byte) error
type DeleteAllAttachmentRequest ¶
type DeleteAllAttachmentRequest struct { EmailId string `protobuf:"bytes,1,opt,name=email_id,json=emailId,proto3" json:"email_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteAllAttachmentRequest) Descriptor ¶
func (*DeleteAllAttachmentRequest) Descriptor() ([]byte, []int)
func (*DeleteAllAttachmentRequest) GetEmailId ¶
func (m *DeleteAllAttachmentRequest) GetEmailId() string
func (*DeleteAllAttachmentRequest) ProtoMessage ¶
func (*DeleteAllAttachmentRequest) ProtoMessage()
func (*DeleteAllAttachmentRequest) Reset ¶
func (m *DeleteAllAttachmentRequest) Reset()
func (*DeleteAllAttachmentRequest) String ¶
func (m *DeleteAllAttachmentRequest) String() string
func (*DeleteAllAttachmentRequest) XXX_DiscardUnknown ¶
func (m *DeleteAllAttachmentRequest) XXX_DiscardUnknown()
func (*DeleteAllAttachmentRequest) XXX_Marshal ¶
func (m *DeleteAllAttachmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteAllAttachmentRequest) XXX_Merge ¶
func (m *DeleteAllAttachmentRequest) XXX_Merge(src proto.Message)
func (*DeleteAllAttachmentRequest) XXX_Size ¶
func (m *DeleteAllAttachmentRequest) XXX_Size() int
func (*DeleteAllAttachmentRequest) XXX_Unmarshal ¶
func (m *DeleteAllAttachmentRequest) XXX_Unmarshal(b []byte) error
type DeleteAttachmentRequest ¶
type DeleteAttachmentRequest struct { AttachmentMetadataId string `protobuf:"bytes,1,opt,name=attachment_metadata_id,json=attachmentMetadataId,proto3" json:"attachment_metadata_id,omitempty"` EmailId string `protobuf:"bytes,2,opt,name=email_id,json=emailId,proto3" json:"email_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteAttachmentRequest) Descriptor ¶
func (*DeleteAttachmentRequest) Descriptor() ([]byte, []int)
func (*DeleteAttachmentRequest) GetAttachmentMetadataId ¶
func (m *DeleteAttachmentRequest) GetAttachmentMetadataId() string
func (*DeleteAttachmentRequest) GetEmailId ¶
func (m *DeleteAttachmentRequest) GetEmailId() string
func (*DeleteAttachmentRequest) ProtoMessage ¶
func (*DeleteAttachmentRequest) ProtoMessage()
func (*DeleteAttachmentRequest) Reset ¶
func (m *DeleteAttachmentRequest) Reset()
func (*DeleteAttachmentRequest) String ¶
func (m *DeleteAttachmentRequest) String() string
func (*DeleteAttachmentRequest) XXX_DiscardUnknown ¶
func (m *DeleteAttachmentRequest) XXX_DiscardUnknown()
func (*DeleteAttachmentRequest) XXX_Marshal ¶
func (m *DeleteAttachmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteAttachmentRequest) XXX_Merge ¶
func (m *DeleteAttachmentRequest) XXX_Merge(src proto.Message)
func (*DeleteAttachmentRequest) XXX_Size ¶
func (m *DeleteAttachmentRequest) XXX_Size() int
func (*DeleteAttachmentRequest) XXX_Unmarshal ¶
func (m *DeleteAttachmentRequest) XXX_Unmarshal(b []byte) error
type DeleteDraftRequest ¶
type DeleteDraftRequest struct { DraftId string `protobuf:"bytes,1,opt,name=draft_id,json=draftId,proto3" json:"draft_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteDraftRequest) Descriptor ¶
func (*DeleteDraftRequest) Descriptor() ([]byte, []int)
func (*DeleteDraftRequest) GetDraftId ¶
func (m *DeleteDraftRequest) GetDraftId() string
func (*DeleteDraftRequest) ProtoMessage ¶
func (*DeleteDraftRequest) ProtoMessage()
func (*DeleteDraftRequest) Reset ¶
func (m *DeleteDraftRequest) Reset()
func (*DeleteDraftRequest) String ¶
func (m *DeleteDraftRequest) String() string
func (*DeleteDraftRequest) XXX_DiscardUnknown ¶
func (m *DeleteDraftRequest) XXX_DiscardUnknown()
func (*DeleteDraftRequest) XXX_Marshal ¶
func (m *DeleteDraftRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteDraftRequest) XXX_Merge ¶
func (m *DeleteDraftRequest) XXX_Merge(src proto.Message)
func (*DeleteDraftRequest) XXX_Size ¶
func (m *DeleteDraftRequest) XXX_Size() int
func (*DeleteDraftRequest) XXX_Unmarshal ¶
func (m *DeleteDraftRequest) XXX_Unmarshal(b []byte) error
type DeleteLabelRequest ¶
type DeleteLabelRequest struct { LabelId string `protobuf:"bytes,1,opt,name=Label_id,json=LabelId,proto3" json:"Label_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteLabelRequest) Descriptor ¶
func (*DeleteLabelRequest) Descriptor() ([]byte, []int)
func (*DeleteLabelRequest) GetLabelId ¶
func (m *DeleteLabelRequest) GetLabelId() string
func (*DeleteLabelRequest) ProtoMessage ¶
func (*DeleteLabelRequest) ProtoMessage()
func (*DeleteLabelRequest) Reset ¶
func (m *DeleteLabelRequest) Reset()
func (*DeleteLabelRequest) String ¶
func (m *DeleteLabelRequest) String() string
func (*DeleteLabelRequest) XXX_DiscardUnknown ¶
func (m *DeleteLabelRequest) XXX_DiscardUnknown()
func (*DeleteLabelRequest) XXX_Marshal ¶
func (m *DeleteLabelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteLabelRequest) XXX_Merge ¶
func (m *DeleteLabelRequest) XXX_Merge(src proto.Message)
func (*DeleteLabelRequest) XXX_Size ¶
func (m *DeleteLabelRequest) XXX_Size() int
func (*DeleteLabelRequest) XXX_Unmarshal ¶
func (m *DeleteLabelRequest) XXX_Unmarshal(b []byte) error
type Draft ¶
type Draft struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Envelope *Envelope `protobuf:"bytes,2,opt,name=envelope,proto3" json:"envelope,omitempty"` Labels map[string]string `` /* 153-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Draft) Descriptor ¶
func (*Draft) GetEnvelope ¶
func (*Draft) ProtoMessage ¶
func (*Draft) ProtoMessage()
func (*Draft) XXX_DiscardUnknown ¶
func (m *Draft) XXX_DiscardUnknown()
func (*Draft) XXX_Marshal ¶
func (*Draft) XXX_Unmarshal ¶
type DraftServiceClient ¶
type DraftServiceClient interface { GetDraft(ctx context.Context, in *GetDraftRequest, opts ...grpc.CallOption) (*Draft, error) ListDrafts(ctx context.Context, in *ListDraftsRequest, opts ...grpc.CallOption) (*ListDraftsResponse, error) CreateDraft(ctx context.Context, in *CreateDraftRequest, opts ...grpc.CallOption) (*Draft, error) UpdateDraft(ctx context.Context, in *UpdateDraftRequest, opts ...grpc.CallOption) (*Draft, error) DeleteDraft(ctx context.Context, in *DeleteDraftRequest, opts ...grpc.CallOption) (*empty.Empty, error) SendDraft(ctx context.Context, in *SendDraftRequest, opts ...grpc.CallOption) (*Email, error) }
DraftServiceClient is the client API for DraftService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewDraftServiceClient ¶
func NewDraftServiceClient(cc *grpc.ClientConn) DraftServiceClient
type DraftServiceServer ¶
type DraftServiceServer interface { GetDraft(context.Context, *GetDraftRequest) (*Draft, error) ListDrafts(context.Context, *ListDraftsRequest) (*ListDraftsResponse, error) CreateDraft(context.Context, *CreateDraftRequest) (*Draft, error) UpdateDraft(context.Context, *UpdateDraftRequest) (*Draft, error) DeleteDraft(context.Context, *DeleteDraftRequest) (*empty.Empty, error) SendDraft(context.Context, *SendDraftRequest) (*Email, error) }
DraftServiceServer is the server API for DraftService service.
type Email ¶
type Email struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` HistoryId string `protobuf:"bytes,2,opt,name=history_id,json=historyId,proto3" json:"history_id,omitempty"` Envelope *Envelope `protobuf:"bytes,3,opt,name=envelope,proto3" json:"envelope,omitempty"` SentAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=sent_at,json=sentAt,proto3" json:"sent_at,omitempty"` ReceivedAt *timestamp.Timestamp `protobuf:"bytes,5,opt,name=received_at,json=receivedAt,proto3" json:"received_at,omitempty"` SnoozedAt *timestamp.Timestamp `protobuf:"bytes,6,opt,name=snoozed_at,json=snoozedAt,proto3" json:"snoozed_at,omitempty"` Fwd bool `protobuf:"varint,7,opt,name=fwd,proto3" json:"fwd,omitempty"` Labels map[string]string `` /* 153-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Email) Descriptor ¶
func (*Email) GetEnvelope ¶
func (*Email) GetHistoryId ¶
func (*Email) GetReceivedAt ¶
func (*Email) GetSnoozedAt ¶
func (*Email) ProtoMessage ¶
func (*Email) ProtoMessage()
func (*Email) XXX_DiscardUnknown ¶
func (m *Email) XXX_DiscardUnknown()
func (*Email) XXX_Marshal ¶
func (*Email) XXX_Unmarshal ¶
type EmailServiceClient ¶
type EmailServiceClient interface { GetEmail(ctx context.Context, in *GetEmailRequest, opts ...grpc.CallOption) (*Email, error) ListEmails(ctx context.Context, in *ListEmailsRequest, opts ...grpc.CallOption) (*ListEmailsResponse, error) ModifyEmail(ctx context.Context, in *ModifyEmailRequest, opts ...grpc.CallOption) (*Email, error) TrashEmail(ctx context.Context, in *TrashEmailRequest, opts ...grpc.CallOption) (*empty.Empty, error) UntrashEmail(ctx context.Context, in *UntrashEmailRequest, opts ...grpc.CallOption) (*empty.Empty, error) SendEmail(ctx context.Context, in *SendEmailRequest, opts ...grpc.CallOption) (*Email, error) }
EmailServiceClient is the client API for EmailService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewEmailServiceClient ¶
func NewEmailServiceClient(cc *grpc.ClientConn) EmailServiceClient
type EmailServiceServer ¶
type EmailServiceServer interface { GetEmail(context.Context, *GetEmailRequest) (*Email, error) ListEmails(context.Context, *ListEmailsRequest) (*ListEmailsResponse, error) ModifyEmail(context.Context, *ModifyEmailRequest) (*Email, error) TrashEmail(context.Context, *TrashEmailRequest) (*empty.Empty, error) UntrashEmail(context.Context, *UntrashEmailRequest) (*empty.Empty, error) SendEmail(context.Context, *SendEmailRequest) (*Email, error) }
EmailServiceServer is the server API for EmailService service.
type Envelope ¶
type Envelope struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` From *Sender `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` To []*Recipient `protobuf:"bytes,3,rep,name=to,proto3" json:"to,omitempty"` Cc []*Recipient `protobuf:"bytes,4,rep,name=cc,proto3" json:"cc,omitempty"` Bcc []*Recipient `protobuf:"bytes,5,rep,name=bcc,proto3" json:"bcc,omitempty"` Group []*Recipient `protobuf:"bytes,6,rep,name=group,proto3" json:"group,omitempty"` Tags map[string]string `` /* 149-byte string literal not displayed */ Message *Message `protobuf:"bytes,8,opt,name=message,proto3" json:"message,omitempty"` Attachments []*Attachment `protobuf:"bytes,9,rep,name=attachments,proto3" json:"attachments,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Envelope) Descriptor ¶
func (*Envelope) GetAttachments ¶
func (m *Envelope) GetAttachments() []*Attachment
func (*Envelope) GetMessage ¶
func (*Envelope) ProtoMessage ¶
func (*Envelope) ProtoMessage()
func (*Envelope) XXX_DiscardUnknown ¶
func (m *Envelope) XXX_DiscardUnknown()
func (*Envelope) XXX_Marshal ¶
func (*Envelope) XXX_Unmarshal ¶
type GetAttachmentMetadataRequest ¶
type GetAttachmentMetadataRequest struct { AttachmentMetadataId string `protobuf:"bytes,1,opt,name=attachment_metadata_id,json=attachmentMetadataId,proto3" json:"attachment_metadata_id,omitempty"` EmailId string `protobuf:"bytes,2,opt,name=email_id,json=emailId,proto3" json:"email_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetAttachmentMetadataRequest) Descriptor ¶
func (*GetAttachmentMetadataRequest) Descriptor() ([]byte, []int)
func (*GetAttachmentMetadataRequest) GetAttachmentMetadataId ¶
func (m *GetAttachmentMetadataRequest) GetAttachmentMetadataId() string
func (*GetAttachmentMetadataRequest) GetEmailId ¶
func (m *GetAttachmentMetadataRequest) GetEmailId() string
func (*GetAttachmentMetadataRequest) ProtoMessage ¶
func (*GetAttachmentMetadataRequest) ProtoMessage()
func (*GetAttachmentMetadataRequest) Reset ¶
func (m *GetAttachmentMetadataRequest) Reset()
func (*GetAttachmentMetadataRequest) String ¶
func (m *GetAttachmentMetadataRequest) String() string
func (*GetAttachmentMetadataRequest) XXX_DiscardUnknown ¶
func (m *GetAttachmentMetadataRequest) XXX_DiscardUnknown()
func (*GetAttachmentMetadataRequest) XXX_Marshal ¶
func (m *GetAttachmentMetadataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAttachmentMetadataRequest) XXX_Merge ¶
func (m *GetAttachmentMetadataRequest) XXX_Merge(src proto.Message)
func (*GetAttachmentMetadataRequest) XXX_Size ¶
func (m *GetAttachmentMetadataRequest) XXX_Size() int
func (*GetAttachmentMetadataRequest) XXX_Unmarshal ¶
func (m *GetAttachmentMetadataRequest) XXX_Unmarshal(b []byte) error
type GetDraftRequest ¶
type GetDraftRequest struct { DraftId string `protobuf:"bytes,1,opt,name=draft_id,json=draftId,proto3" json:"draft_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetDraftRequest) Descriptor ¶
func (*GetDraftRequest) Descriptor() ([]byte, []int)
func (*GetDraftRequest) GetDraftId ¶
func (m *GetDraftRequest) GetDraftId() string
func (*GetDraftRequest) ProtoMessage ¶
func (*GetDraftRequest) ProtoMessage()
func (*GetDraftRequest) Reset ¶
func (m *GetDraftRequest) Reset()
func (*GetDraftRequest) String ¶
func (m *GetDraftRequest) String() string
func (*GetDraftRequest) XXX_DiscardUnknown ¶
func (m *GetDraftRequest) XXX_DiscardUnknown()
func (*GetDraftRequest) XXX_Marshal ¶
func (m *GetDraftRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetDraftRequest) XXX_Merge ¶
func (m *GetDraftRequest) XXX_Merge(src proto.Message)
func (*GetDraftRequest) XXX_Size ¶
func (m *GetDraftRequest) XXX_Size() int
func (*GetDraftRequest) XXX_Unmarshal ¶
func (m *GetDraftRequest) XXX_Unmarshal(b []byte) error
type GetEmailRequest ¶
type GetEmailRequest struct { EmailId string `protobuf:"bytes,1,opt,name=email_id,json=emailId,proto3" json:"email_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetEmailRequest) Descriptor ¶
func (*GetEmailRequest) Descriptor() ([]byte, []int)
func (*GetEmailRequest) GetEmailId ¶
func (m *GetEmailRequest) GetEmailId() string
func (*GetEmailRequest) ProtoMessage ¶
func (*GetEmailRequest) ProtoMessage()
func (*GetEmailRequest) Reset ¶
func (m *GetEmailRequest) Reset()
func (*GetEmailRequest) String ¶
func (m *GetEmailRequest) String() string
func (*GetEmailRequest) XXX_DiscardUnknown ¶
func (m *GetEmailRequest) XXX_DiscardUnknown()
func (*GetEmailRequest) XXX_Marshal ¶
func (m *GetEmailRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetEmailRequest) XXX_Merge ¶
func (m *GetEmailRequest) XXX_Merge(src proto.Message)
func (*GetEmailRequest) XXX_Size ¶
func (m *GetEmailRequest) XXX_Size() int
func (*GetEmailRequest) XXX_Unmarshal ¶
func (m *GetEmailRequest) XXX_Unmarshal(b []byte) error
type GetLabelRequest ¶
type GetLabelRequest struct { LabelId string `protobuf:"bytes,1,opt,name=Label_id,json=LabelId,proto3" json:"Label_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetLabelRequest) Descriptor ¶
func (*GetLabelRequest) Descriptor() ([]byte, []int)
func (*GetLabelRequest) GetLabelId ¶
func (m *GetLabelRequest) GetLabelId() string
func (*GetLabelRequest) ProtoMessage ¶
func (*GetLabelRequest) ProtoMessage()
func (*GetLabelRequest) Reset ¶
func (m *GetLabelRequest) Reset()
func (*GetLabelRequest) String ¶
func (m *GetLabelRequest) String() string
func (*GetLabelRequest) XXX_DiscardUnknown ¶
func (m *GetLabelRequest) XXX_DiscardUnknown()
func (*GetLabelRequest) XXX_Marshal ¶
func (m *GetLabelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetLabelRequest) XXX_Merge ¶
func (m *GetLabelRequest) XXX_Merge(src proto.Message)
func (*GetLabelRequest) XXX_Size ¶
func (m *GetLabelRequest) XXX_Size() int
func (*GetLabelRequest) XXX_Unmarshal ¶
func (m *GetLabelRequest) XXX_Unmarshal(b []byte) error
type GetProfileResponse ¶
type GetProfileResponse struct { Profile *Profile `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetProfileResponse) Descriptor ¶
func (*GetProfileResponse) Descriptor() ([]byte, []int)
func (*GetProfileResponse) GetProfile ¶
func (m *GetProfileResponse) GetProfile() *Profile
func (*GetProfileResponse) ProtoMessage ¶
func (*GetProfileResponse) ProtoMessage()
func (*GetProfileResponse) Reset ¶
func (m *GetProfileResponse) Reset()
func (*GetProfileResponse) String ¶
func (m *GetProfileResponse) String() string
func (*GetProfileResponse) XXX_DiscardUnknown ¶
func (m *GetProfileResponse) XXX_DiscardUnknown()
func (*GetProfileResponse) XXX_Marshal ¶
func (m *GetProfileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetProfileResponse) XXX_Merge ¶
func (m *GetProfileResponse) XXX_Merge(src proto.Message)
func (*GetProfileResponse) XXX_Size ¶
func (m *GetProfileResponse) XXX_Size() int
func (*GetProfileResponse) XXX_Unmarshal ¶
func (m *GetProfileResponse) XXX_Unmarshal(b []byte) error
type GetThreadRequest ¶
type GetThreadRequest struct { ThreadId string `protobuf:"bytes,1,opt,name=thread_id,json=threadId,proto3" json:"thread_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetThreadRequest) Descriptor ¶
func (*GetThreadRequest) Descriptor() ([]byte, []int)
func (*GetThreadRequest) GetThreadId ¶
func (m *GetThreadRequest) GetThreadId() string
func (*GetThreadRequest) ProtoMessage ¶
func (*GetThreadRequest) ProtoMessage()
func (*GetThreadRequest) Reset ¶
func (m *GetThreadRequest) Reset()
func (*GetThreadRequest) String ¶
func (m *GetThreadRequest) String() string
func (*GetThreadRequest) XXX_DiscardUnknown ¶
func (m *GetThreadRequest) XXX_DiscardUnknown()
func (*GetThreadRequest) XXX_Marshal ¶
func (m *GetThreadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetThreadRequest) XXX_Merge ¶
func (m *GetThreadRequest) XXX_Merge(src proto.Message)
func (*GetThreadRequest) XXX_Size ¶
func (m *GetThreadRequest) XXX_Size() int
func (*GetThreadRequest) XXX_Unmarshal ¶
func (m *GetThreadRequest) XXX_Unmarshal(b []byte) error
type History ¶
type History struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Emails []*Email `protobuf:"bytes,2,rep,name=emails,proto3" json:"emails,omitempty"` LabelAdded []*HistoryLabelAdded `protobuf:"bytes,3,rep,name=label_added,json=labelAdded,proto3" json:"label_added,omitempty"` LabelRemoved []*HistoryLabelRemoved `protobuf:"bytes,4,rep,name=label_removed,json=labelRemoved,proto3" json:"label_removed,omitempty"` EmailAdded []*HistoryEmailAdded `protobuf:"bytes,5,rep,name=email_added,json=emailAdded,proto3" json:"email_added,omitempty"` EmailDeleted []*HistoryEmailDeleted `protobuf:"bytes,6,rep,name=email_deleted,json=emailDeleted,proto3" json:"email_deleted,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*History) Descriptor ¶
func (*History) GetEmailAdded ¶
func (m *History) GetEmailAdded() []*HistoryEmailAdded
func (*History) GetEmailDeleted ¶
func (m *History) GetEmailDeleted() []*HistoryEmailDeleted
func (*History) GetLabelAdded ¶
func (m *History) GetLabelAdded() []*HistoryLabelAdded
func (*History) GetLabelRemoved ¶
func (m *History) GetLabelRemoved() []*HistoryLabelRemoved
func (*History) ProtoMessage ¶
func (*History) ProtoMessage()
func (*History) XXX_DiscardUnknown ¶
func (m *History) XXX_DiscardUnknown()
func (*History) XXX_Marshal ¶
func (*History) XXX_Unmarshal ¶
type HistoryEmailAdded ¶
type HistoryEmailAdded struct { Email *Email `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HistoryEmailAdded) Descriptor ¶
func (*HistoryEmailAdded) Descriptor() ([]byte, []int)
func (*HistoryEmailAdded) GetEmail ¶
func (m *HistoryEmailAdded) GetEmail() *Email
func (*HistoryEmailAdded) ProtoMessage ¶
func (*HistoryEmailAdded) ProtoMessage()
func (*HistoryEmailAdded) Reset ¶
func (m *HistoryEmailAdded) Reset()
func (*HistoryEmailAdded) String ¶
func (m *HistoryEmailAdded) String() string
func (*HistoryEmailAdded) XXX_DiscardUnknown ¶
func (m *HistoryEmailAdded) XXX_DiscardUnknown()
func (*HistoryEmailAdded) XXX_Marshal ¶
func (m *HistoryEmailAdded) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HistoryEmailAdded) XXX_Merge ¶
func (m *HistoryEmailAdded) XXX_Merge(src proto.Message)
func (*HistoryEmailAdded) XXX_Size ¶
func (m *HistoryEmailAdded) XXX_Size() int
func (*HistoryEmailAdded) XXX_Unmarshal ¶
func (m *HistoryEmailAdded) XXX_Unmarshal(b []byte) error
type HistoryEmailDeleted ¶
type HistoryEmailDeleted struct { Email *Email `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HistoryEmailDeleted) Descriptor ¶
func (*HistoryEmailDeleted) Descriptor() ([]byte, []int)
func (*HistoryEmailDeleted) GetEmail ¶
func (m *HistoryEmailDeleted) GetEmail() *Email
func (*HistoryEmailDeleted) ProtoMessage ¶
func (*HistoryEmailDeleted) ProtoMessage()
func (*HistoryEmailDeleted) Reset ¶
func (m *HistoryEmailDeleted) Reset()
func (*HistoryEmailDeleted) String ¶
func (m *HistoryEmailDeleted) String() string
func (*HistoryEmailDeleted) XXX_DiscardUnknown ¶
func (m *HistoryEmailDeleted) XXX_DiscardUnknown()
func (*HistoryEmailDeleted) XXX_Marshal ¶
func (m *HistoryEmailDeleted) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HistoryEmailDeleted) XXX_Merge ¶
func (m *HistoryEmailDeleted) XXX_Merge(src proto.Message)
func (*HistoryEmailDeleted) XXX_Size ¶
func (m *HistoryEmailDeleted) XXX_Size() int
func (*HistoryEmailDeleted) XXX_Unmarshal ¶
func (m *HistoryEmailDeleted) XXX_Unmarshal(b []byte) error
type HistoryLabelAdded ¶
type HistoryLabelAdded struct { LabelIds []string `protobuf:"bytes,1,rep,name=label_ids,json=labelIds,proto3" json:"label_ids,omitempty"` Email *Email `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HistoryLabelAdded) Descriptor ¶
func (*HistoryLabelAdded) Descriptor() ([]byte, []int)
func (*HistoryLabelAdded) GetEmail ¶
func (m *HistoryLabelAdded) GetEmail() *Email
func (*HistoryLabelAdded) GetLabelIds ¶
func (m *HistoryLabelAdded) GetLabelIds() []string
func (*HistoryLabelAdded) ProtoMessage ¶
func (*HistoryLabelAdded) ProtoMessage()
func (*HistoryLabelAdded) Reset ¶
func (m *HistoryLabelAdded) Reset()
func (*HistoryLabelAdded) String ¶
func (m *HistoryLabelAdded) String() string
func (*HistoryLabelAdded) XXX_DiscardUnknown ¶
func (m *HistoryLabelAdded) XXX_DiscardUnknown()
func (*HistoryLabelAdded) XXX_Marshal ¶
func (m *HistoryLabelAdded) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HistoryLabelAdded) XXX_Merge ¶
func (m *HistoryLabelAdded) XXX_Merge(src proto.Message)
func (*HistoryLabelAdded) XXX_Size ¶
func (m *HistoryLabelAdded) XXX_Size() int
func (*HistoryLabelAdded) XXX_Unmarshal ¶
func (m *HistoryLabelAdded) XXX_Unmarshal(b []byte) error
type HistoryLabelRemoved ¶
type HistoryLabelRemoved struct { LabelIds []string `protobuf:"bytes,1,rep,name=label_ids,json=labelIds,proto3" json:"label_ids,omitempty"` Email *Email `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HistoryLabelRemoved) Descriptor ¶
func (*HistoryLabelRemoved) Descriptor() ([]byte, []int)
func (*HistoryLabelRemoved) GetEmail ¶
func (m *HistoryLabelRemoved) GetEmail() *Email
func (*HistoryLabelRemoved) GetLabelIds ¶
func (m *HistoryLabelRemoved) GetLabelIds() []string
func (*HistoryLabelRemoved) ProtoMessage ¶
func (*HistoryLabelRemoved) ProtoMessage()
func (*HistoryLabelRemoved) Reset ¶
func (m *HistoryLabelRemoved) Reset()
func (*HistoryLabelRemoved) String ¶
func (m *HistoryLabelRemoved) String() string
func (*HistoryLabelRemoved) XXX_DiscardUnknown ¶
func (m *HistoryLabelRemoved) XXX_DiscardUnknown()
func (*HistoryLabelRemoved) XXX_Marshal ¶
func (m *HistoryLabelRemoved) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HistoryLabelRemoved) XXX_Merge ¶
func (m *HistoryLabelRemoved) XXX_Merge(src proto.Message)
func (*HistoryLabelRemoved) XXX_Size ¶
func (m *HistoryLabelRemoved) XXX_Size() int
func (*HistoryLabelRemoved) XXX_Unmarshal ¶
func (m *HistoryLabelRemoved) XXX_Unmarshal(b []byte) error
type HistoryTypes ¶
type HistoryTypes int32
const ( HistoryTypes_LABEL_ADDED HistoryTypes = 0 HistoryTypes_LABEL_REMOVED HistoryTypes = 1 HistoryTypes_MESSAGE_ADDED HistoryTypes = 2 HistoryTypes_MESSAGE_DELETED HistoryTypes = 3 )
func (HistoryTypes) EnumDescriptor ¶
func (HistoryTypes) EnumDescriptor() ([]byte, []int)
func (HistoryTypes) String ¶
func (x HistoryTypes) String() string
type Label ¶
type Label struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Label) Descriptor ¶
func (*Label) ProtoMessage ¶
func (*Label) ProtoMessage()
func (*Label) XXX_DiscardUnknown ¶
func (m *Label) XXX_DiscardUnknown()
func (*Label) XXX_Marshal ¶
func (*Label) XXX_Unmarshal ¶
type LabelServiceClient ¶
type LabelServiceClient interface { GetLabel(ctx context.Context, in *GetLabelRequest, opts ...grpc.CallOption) (*Label, error) ListLabels(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ListLabelsResponse, error) CreateLabel(ctx context.Context, in *CreateLabelRequest, opts ...grpc.CallOption) (*Label, error) UpdateLabel(ctx context.Context, in *UpdateLabelRequest, opts ...grpc.CallOption) (*Label, error) DeleteLabel(ctx context.Context, in *DeleteLabelRequest, opts ...grpc.CallOption) (*empty.Empty, error) }
LabelServiceClient is the client API for LabelService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewLabelServiceClient ¶
func NewLabelServiceClient(cc *grpc.ClientConn) LabelServiceClient
type LabelServiceServer ¶
type LabelServiceServer interface { GetLabel(context.Context, *GetLabelRequest) (*Label, error) ListLabels(context.Context, *empty.Empty) (*ListLabelsResponse, error) CreateLabel(context.Context, *CreateLabelRequest) (*Label, error) UpdateLabel(context.Context, *UpdateLabelRequest) (*Label, error) DeleteLabel(context.Context, *DeleteLabelRequest) (*empty.Empty, error) }
LabelServiceServer is the server API for LabelService service.
type ListAttachmentsMetadataRequest ¶
type ListAttachmentsMetadataRequest struct { EmailId string `protobuf:"bytes,1,opt,name=email_id,json=emailId,proto3" json:"email_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListAttachmentsMetadataRequest) Descriptor ¶
func (*ListAttachmentsMetadataRequest) Descriptor() ([]byte, []int)
func (*ListAttachmentsMetadataRequest) GetEmailId ¶
func (m *ListAttachmentsMetadataRequest) GetEmailId() string
func (*ListAttachmentsMetadataRequest) ProtoMessage ¶
func (*ListAttachmentsMetadataRequest) ProtoMessage()
func (*ListAttachmentsMetadataRequest) Reset ¶
func (m *ListAttachmentsMetadataRequest) Reset()
func (*ListAttachmentsMetadataRequest) String ¶
func (m *ListAttachmentsMetadataRequest) String() string
func (*ListAttachmentsMetadataRequest) XXX_DiscardUnknown ¶
func (m *ListAttachmentsMetadataRequest) XXX_DiscardUnknown()
func (*ListAttachmentsMetadataRequest) XXX_Marshal ¶
func (m *ListAttachmentsMetadataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListAttachmentsMetadataRequest) XXX_Merge ¶
func (m *ListAttachmentsMetadataRequest) XXX_Merge(src proto.Message)
func (*ListAttachmentsMetadataRequest) XXX_Size ¶
func (m *ListAttachmentsMetadataRequest) XXX_Size() int
func (*ListAttachmentsMetadataRequest) XXX_Unmarshal ¶
func (m *ListAttachmentsMetadataRequest) XXX_Unmarshal(b []byte) error
type ListAttachmentsMetadataResponse ¶
type ListAttachmentsMetadataResponse struct { AttachmentMetadata []*AttachmentMetadata `protobuf:"bytes,1,rep,name=attachment_metadata,json=attachmentMetadata,proto3" json:"attachment_metadata,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListAttachmentsMetadataResponse) Descriptor ¶
func (*ListAttachmentsMetadataResponse) Descriptor() ([]byte, []int)
func (*ListAttachmentsMetadataResponse) GetAttachmentMetadata ¶
func (m *ListAttachmentsMetadataResponse) GetAttachmentMetadata() []*AttachmentMetadata
func (*ListAttachmentsMetadataResponse) ProtoMessage ¶
func (*ListAttachmentsMetadataResponse) ProtoMessage()
func (*ListAttachmentsMetadataResponse) Reset ¶
func (m *ListAttachmentsMetadataResponse) Reset()
func (*ListAttachmentsMetadataResponse) String ¶
func (m *ListAttachmentsMetadataResponse) String() string
func (*ListAttachmentsMetadataResponse) XXX_DiscardUnknown ¶
func (m *ListAttachmentsMetadataResponse) XXX_DiscardUnknown()
func (*ListAttachmentsMetadataResponse) XXX_Marshal ¶
func (m *ListAttachmentsMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListAttachmentsMetadataResponse) XXX_Merge ¶
func (m *ListAttachmentsMetadataResponse) XXX_Merge(src proto.Message)
func (*ListAttachmentsMetadataResponse) XXX_Size ¶
func (m *ListAttachmentsMetadataResponse) XXX_Size() int
func (*ListAttachmentsMetadataResponse) XXX_Unmarshal ¶
func (m *ListAttachmentsMetadataResponse) XXX_Unmarshal(b []byte) error
type ListDraftsRequest ¶
type ListDraftsRequest struct { PageToken string `protobuf:"bytes,1,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` PageSize uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` Query string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListDraftsRequest) Descriptor ¶
func (*ListDraftsRequest) Descriptor() ([]byte, []int)
func (*ListDraftsRequest) GetPageSize ¶
func (m *ListDraftsRequest) GetPageSize() uint32
func (*ListDraftsRequest) GetPageToken ¶
func (m *ListDraftsRequest) GetPageToken() string
func (*ListDraftsRequest) GetQuery ¶
func (m *ListDraftsRequest) GetQuery() string
func (*ListDraftsRequest) ProtoMessage ¶
func (*ListDraftsRequest) ProtoMessage()
func (*ListDraftsRequest) Reset ¶
func (m *ListDraftsRequest) Reset()
func (*ListDraftsRequest) String ¶
func (m *ListDraftsRequest) String() string
func (*ListDraftsRequest) XXX_DiscardUnknown ¶
func (m *ListDraftsRequest) XXX_DiscardUnknown()
func (*ListDraftsRequest) XXX_Marshal ¶
func (m *ListDraftsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListDraftsRequest) XXX_Merge ¶
func (m *ListDraftsRequest) XXX_Merge(src proto.Message)
func (*ListDraftsRequest) XXX_Size ¶
func (m *ListDraftsRequest) XXX_Size() int
func (*ListDraftsRequest) XXX_Unmarshal ¶
func (m *ListDraftsRequest) XXX_Unmarshal(b []byte) error
type ListDraftsResponse ¶
type ListDraftsResponse struct { Draft []*Draft `protobuf:"bytes,1,rep,name=draft,proto3" json:"draft,omitempty"` NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` TotalSize uint32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListDraftsResponse) Descriptor ¶
func (*ListDraftsResponse) Descriptor() ([]byte, []int)
func (*ListDraftsResponse) GetDraft ¶
func (m *ListDraftsResponse) GetDraft() []*Draft
func (*ListDraftsResponse) GetNextPageToken ¶
func (m *ListDraftsResponse) GetNextPageToken() string
func (*ListDraftsResponse) GetTotalSize ¶
func (m *ListDraftsResponse) GetTotalSize() uint32
func (*ListDraftsResponse) ProtoMessage ¶
func (*ListDraftsResponse) ProtoMessage()
func (*ListDraftsResponse) Reset ¶
func (m *ListDraftsResponse) Reset()
func (*ListDraftsResponse) String ¶
func (m *ListDraftsResponse) String() string
func (*ListDraftsResponse) XXX_DiscardUnknown ¶
func (m *ListDraftsResponse) XXX_DiscardUnknown()
func (*ListDraftsResponse) XXX_Marshal ¶
func (m *ListDraftsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListDraftsResponse) XXX_Merge ¶
func (m *ListDraftsResponse) XXX_Merge(src proto.Message)
func (*ListDraftsResponse) XXX_Size ¶
func (m *ListDraftsResponse) XXX_Size() int
func (*ListDraftsResponse) XXX_Unmarshal ¶
func (m *ListDraftsResponse) XXX_Unmarshal(b []byte) error
type ListEmailsRequest ¶
type ListEmailsRequest struct { Labels map[string]string `` /* 153-byte string literal not displayed */ PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` PageSize uint32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` Query string `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListEmailsRequest) Descriptor ¶
func (*ListEmailsRequest) Descriptor() ([]byte, []int)
func (*ListEmailsRequest) GetLabels ¶
func (m *ListEmailsRequest) GetLabels() map[string]string
func (*ListEmailsRequest) GetPageSize ¶
func (m *ListEmailsRequest) GetPageSize() uint32
func (*ListEmailsRequest) GetPageToken ¶
func (m *ListEmailsRequest) GetPageToken() string
func (*ListEmailsRequest) GetQuery ¶
func (m *ListEmailsRequest) GetQuery() string
func (*ListEmailsRequest) ProtoMessage ¶
func (*ListEmailsRequest) ProtoMessage()
func (*ListEmailsRequest) Reset ¶
func (m *ListEmailsRequest) Reset()
func (*ListEmailsRequest) String ¶
func (m *ListEmailsRequest) String() string
func (*ListEmailsRequest) XXX_DiscardUnknown ¶
func (m *ListEmailsRequest) XXX_DiscardUnknown()
func (*ListEmailsRequest) XXX_Marshal ¶
func (m *ListEmailsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListEmailsRequest) XXX_Merge ¶
func (m *ListEmailsRequest) XXX_Merge(src proto.Message)
func (*ListEmailsRequest) XXX_Size ¶
func (m *ListEmailsRequest) XXX_Size() int
func (*ListEmailsRequest) XXX_Unmarshal ¶
func (m *ListEmailsRequest) XXX_Unmarshal(b []byte) error
type ListEmailsResponse ¶
type ListEmailsResponse struct { Email []*Email `protobuf:"bytes,1,rep,name=email,proto3" json:"email,omitempty"` NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` TotalSize uint32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListEmailsResponse) Descriptor ¶
func (*ListEmailsResponse) Descriptor() ([]byte, []int)
func (*ListEmailsResponse) GetEmail ¶
func (m *ListEmailsResponse) GetEmail() []*Email
func (*ListEmailsResponse) GetNextPageToken ¶
func (m *ListEmailsResponse) GetNextPageToken() string
func (*ListEmailsResponse) GetTotalSize ¶
func (m *ListEmailsResponse) GetTotalSize() uint32
func (*ListEmailsResponse) ProtoMessage ¶
func (*ListEmailsResponse) ProtoMessage()
func (*ListEmailsResponse) Reset ¶
func (m *ListEmailsResponse) Reset()
func (*ListEmailsResponse) String ¶
func (m *ListEmailsResponse) String() string
func (*ListEmailsResponse) XXX_DiscardUnknown ¶
func (m *ListEmailsResponse) XXX_DiscardUnknown()
func (*ListEmailsResponse) XXX_Marshal ¶
func (m *ListEmailsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListEmailsResponse) XXX_Merge ¶
func (m *ListEmailsResponse) XXX_Merge(src proto.Message)
func (*ListEmailsResponse) XXX_Size ¶
func (m *ListEmailsResponse) XXX_Size() int
func (*ListEmailsResponse) XXX_Unmarshal ¶
func (m *ListEmailsResponse) XXX_Unmarshal(b []byte) error
type ListHistoryRequest ¶
type ListHistoryRequest struct { HistoryTypes HistoryTypes `protobuf:"varint,1,opt,name=history_types,json=historyTypes,proto3,enum=service.HistoryTypes" json:"history_types,omitempty"` LabelId string `protobuf:"bytes,2,opt,name=label_id,json=labelId,proto3" json:"label_id,omitempty"` PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` PageSize uint32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` StartHistoryId uint32 `protobuf:"varint,5,opt,name=start_history_id,json=startHistoryId,proto3" json:"start_history_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListHistoryRequest) Descriptor ¶
func (*ListHistoryRequest) Descriptor() ([]byte, []int)
func (*ListHistoryRequest) GetHistoryTypes ¶
func (m *ListHistoryRequest) GetHistoryTypes() HistoryTypes
func (*ListHistoryRequest) GetLabelId ¶
func (m *ListHistoryRequest) GetLabelId() string
func (*ListHistoryRequest) GetPageSize ¶
func (m *ListHistoryRequest) GetPageSize() uint32
func (*ListHistoryRequest) GetPageToken ¶
func (m *ListHistoryRequest) GetPageToken() string
func (*ListHistoryRequest) GetStartHistoryId ¶
func (m *ListHistoryRequest) GetStartHistoryId() uint32
func (*ListHistoryRequest) ProtoMessage ¶
func (*ListHistoryRequest) ProtoMessage()
func (*ListHistoryRequest) Reset ¶
func (m *ListHistoryRequest) Reset()
func (*ListHistoryRequest) String ¶
func (m *ListHistoryRequest) String() string
func (*ListHistoryRequest) XXX_DiscardUnknown ¶
func (m *ListHistoryRequest) XXX_DiscardUnknown()
func (*ListHistoryRequest) XXX_Marshal ¶
func (m *ListHistoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListHistoryRequest) XXX_Merge ¶
func (m *ListHistoryRequest) XXX_Merge(src proto.Message)
func (*ListHistoryRequest) XXX_Size ¶
func (m *ListHistoryRequest) XXX_Size() int
func (*ListHistoryRequest) XXX_Unmarshal ¶
func (m *ListHistoryRequest) XXX_Unmarshal(b []byte) error
type ListHistoryResponse ¶
type ListHistoryResponse struct { History []*History `protobuf:"bytes,1,rep,name=history,proto3" json:"history,omitempty"` NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` HistoryId uint32 `protobuf:"varint,3,opt,name=history_id,json=historyId,proto3" json:"history_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListHistoryResponse) Descriptor ¶
func (*ListHistoryResponse) Descriptor() ([]byte, []int)
func (*ListHistoryResponse) GetHistory ¶
func (m *ListHistoryResponse) GetHistory() []*History
func (*ListHistoryResponse) GetHistoryId ¶
func (m *ListHistoryResponse) GetHistoryId() uint32
func (*ListHistoryResponse) GetNextPageToken ¶
func (m *ListHistoryResponse) GetNextPageToken() string
func (*ListHistoryResponse) ProtoMessage ¶
func (*ListHistoryResponse) ProtoMessage()
func (*ListHistoryResponse) Reset ¶
func (m *ListHistoryResponse) Reset()
func (*ListHistoryResponse) String ¶
func (m *ListHistoryResponse) String() string
func (*ListHistoryResponse) XXX_DiscardUnknown ¶
func (m *ListHistoryResponse) XXX_DiscardUnknown()
func (*ListHistoryResponse) XXX_Marshal ¶
func (m *ListHistoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListHistoryResponse) XXX_Merge ¶
func (m *ListHistoryResponse) XXX_Merge(src proto.Message)
func (*ListHistoryResponse) XXX_Size ¶
func (m *ListHistoryResponse) XXX_Size() int
func (*ListHistoryResponse) XXX_Unmarshal ¶
func (m *ListHistoryResponse) XXX_Unmarshal(b []byte) error
type ListLabelsResponse ¶
type ListLabelsResponse struct { Label []*Label `protobuf:"bytes,1,rep,name=Label,proto3" json:"Label,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListLabelsResponse) Descriptor ¶
func (*ListLabelsResponse) Descriptor() ([]byte, []int)
func (*ListLabelsResponse) GetLabel ¶
func (m *ListLabelsResponse) GetLabel() []*Label
func (*ListLabelsResponse) ProtoMessage ¶
func (*ListLabelsResponse) ProtoMessage()
func (*ListLabelsResponse) Reset ¶
func (m *ListLabelsResponse) Reset()
func (*ListLabelsResponse) String ¶
func (m *ListLabelsResponse) String() string
func (*ListLabelsResponse) XXX_DiscardUnknown ¶
func (m *ListLabelsResponse) XXX_DiscardUnknown()
func (*ListLabelsResponse) XXX_Marshal ¶
func (m *ListLabelsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListLabelsResponse) XXX_Merge ¶
func (m *ListLabelsResponse) XXX_Merge(src proto.Message)
func (*ListLabelsResponse) XXX_Size ¶
func (m *ListLabelsResponse) XXX_Size() int
func (*ListLabelsResponse) XXX_Unmarshal ¶
func (m *ListLabelsResponse) XXX_Unmarshal(b []byte) error
type ListThreadsRequest ¶
type ListThreadsRequest struct { Labels map[string]string `` /* 153-byte string literal not displayed */ PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` PageSize uint32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` Query string `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListThreadsRequest) Descriptor ¶
func (*ListThreadsRequest) Descriptor() ([]byte, []int)
func (*ListThreadsRequest) GetLabels ¶
func (m *ListThreadsRequest) GetLabels() map[string]string
func (*ListThreadsRequest) GetPageSize ¶
func (m *ListThreadsRequest) GetPageSize() uint32
func (*ListThreadsRequest) GetPageToken ¶
func (m *ListThreadsRequest) GetPageToken() string
func (*ListThreadsRequest) GetQuery ¶
func (m *ListThreadsRequest) GetQuery() string
func (*ListThreadsRequest) ProtoMessage ¶
func (*ListThreadsRequest) ProtoMessage()
func (*ListThreadsRequest) Reset ¶
func (m *ListThreadsRequest) Reset()
func (*ListThreadsRequest) String ¶
func (m *ListThreadsRequest) String() string
func (*ListThreadsRequest) XXX_DiscardUnknown ¶
func (m *ListThreadsRequest) XXX_DiscardUnknown()
func (*ListThreadsRequest) XXX_Marshal ¶
func (m *ListThreadsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListThreadsRequest) XXX_Merge ¶
func (m *ListThreadsRequest) XXX_Merge(src proto.Message)
func (*ListThreadsRequest) XXX_Size ¶
func (m *ListThreadsRequest) XXX_Size() int
func (*ListThreadsRequest) XXX_Unmarshal ¶
func (m *ListThreadsRequest) XXX_Unmarshal(b []byte) error
type ListThreadsResponse ¶
type ListThreadsResponse struct { Thread []*Thread `protobuf:"bytes,1,rep,name=thread,proto3" json:"thread,omitempty"` NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` TotalSize uint32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListThreadsResponse) Descriptor ¶
func (*ListThreadsResponse) Descriptor() ([]byte, []int)
func (*ListThreadsResponse) GetNextPageToken ¶
func (m *ListThreadsResponse) GetNextPageToken() string
func (*ListThreadsResponse) GetThread ¶
func (m *ListThreadsResponse) GetThread() []*Thread
func (*ListThreadsResponse) GetTotalSize ¶
func (m *ListThreadsResponse) GetTotalSize() uint32
func (*ListThreadsResponse) ProtoMessage ¶
func (*ListThreadsResponse) ProtoMessage()
func (*ListThreadsResponse) Reset ¶
func (m *ListThreadsResponse) Reset()
func (*ListThreadsResponse) String ¶
func (m *ListThreadsResponse) String() string
func (*ListThreadsResponse) XXX_DiscardUnknown ¶
func (m *ListThreadsResponse) XXX_DiscardUnknown()
func (*ListThreadsResponse) XXX_Marshal ¶
func (m *ListThreadsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListThreadsResponse) XXX_Merge ¶
func (m *ListThreadsResponse) XXX_Merge(src proto.Message)
func (*ListThreadsResponse) XXX_Size ¶
func (m *ListThreadsResponse) XXX_Size() int
func (*ListThreadsResponse) XXX_Unmarshal ¶
func (m *ListThreadsResponse) XXX_Unmarshal(b []byte) error
type MailboxServiceClient ¶
type MailboxServiceClient interface { GetProfile(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetProfileResponse, error) ListHistory(ctx context.Context, in *ListHistoryRequest, opts ...grpc.CallOption) (*ListHistoryResponse, error) StreamState(ctx context.Context, in *StreamStateRequest, opts ...grpc.CallOption) (MailboxService_StreamStateClient, error) }
MailboxServiceClient is the client API for MailboxService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMailboxServiceClient ¶
func NewMailboxServiceClient(cc *grpc.ClientConn) MailboxServiceClient
type MailboxServiceServer ¶
type MailboxServiceServer interface { GetProfile(context.Context, *empty.Empty) (*GetProfileResponse, error) ListHistory(context.Context, *ListHistoryRequest) (*ListHistoryResponse, error) StreamState(*StreamStateRequest, MailboxService_StreamStateServer) error }
MailboxServiceServer is the server API for MailboxService service.
type MailboxService_StreamStateClient ¶
type MailboxService_StreamStateClient interface { Recv() (*StreamingStateResponse, error) grpc.ClientStream }
type MailboxService_StreamStateServer ¶
type MailboxService_StreamStateServer interface { Send(*StreamingStateResponse) error grpc.ServerStream }
type Message ¶
type Message struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"` Snippet string `protobuf:"bytes,3,opt,name=snippet,proto3" json:"snippet,omitempty"` Mimetype string `protobuf:"bytes,4,opt,name=mimetype,proto3" json:"mimetype,omitempty"` BodyUri string `protobuf:"bytes,5,opt,name=body_uri,json=bodyUri,proto3" json:"body_uri,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Message) Descriptor ¶
func (*Message) GetBodyUri ¶
func (*Message) GetMimetype ¶
func (*Message) GetSnippet ¶
func (*Message) GetSubject ¶
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) XXX_DiscardUnknown ¶
func (m *Message) XXX_DiscardUnknown()
func (*Message) XXX_Marshal ¶
func (*Message) XXX_Unmarshal ¶
type ModifyEmailRequest ¶
type ModifyEmailRequest struct { EmailId string `protobuf:"bytes,1,opt,name=email_id,json=emailId,proto3" json:"email_id,omitempty"` Labels map[string]string `` /* 153-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ModifyEmailRequest) Descriptor ¶
func (*ModifyEmailRequest) Descriptor() ([]byte, []int)
func (*ModifyEmailRequest) GetEmailId ¶
func (m *ModifyEmailRequest) GetEmailId() string
func (*ModifyEmailRequest) GetLabels ¶
func (m *ModifyEmailRequest) GetLabels() map[string]string
func (*ModifyEmailRequest) ProtoMessage ¶
func (*ModifyEmailRequest) ProtoMessage()
func (*ModifyEmailRequest) Reset ¶
func (m *ModifyEmailRequest) Reset()
func (*ModifyEmailRequest) String ¶
func (m *ModifyEmailRequest) String() string
func (*ModifyEmailRequest) XXX_DiscardUnknown ¶
func (m *ModifyEmailRequest) XXX_DiscardUnknown()
func (*ModifyEmailRequest) XXX_Marshal ¶
func (m *ModifyEmailRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ModifyEmailRequest) XXX_Merge ¶
func (m *ModifyEmailRequest) XXX_Merge(src proto.Message)
func (*ModifyEmailRequest) XXX_Size ¶
func (m *ModifyEmailRequest) XXX_Size() int
func (*ModifyEmailRequest) XXX_Unmarshal ¶
func (m *ModifyEmailRequest) XXX_Unmarshal(b []byte) error
type ModifyThreadRequest ¶
type ModifyThreadRequest struct { ThreadId string `protobuf:"bytes,1,opt,name=thread_id,json=threadId,proto3" json:"thread_id,omitempty"` Labels map[string]string `` /* 153-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ModifyThreadRequest) Descriptor ¶
func (*ModifyThreadRequest) Descriptor() ([]byte, []int)
func (*ModifyThreadRequest) GetLabels ¶
func (m *ModifyThreadRequest) GetLabels() map[string]string
func (*ModifyThreadRequest) GetThreadId ¶
func (m *ModifyThreadRequest) GetThreadId() string
func (*ModifyThreadRequest) ProtoMessage ¶
func (*ModifyThreadRequest) ProtoMessage()
func (*ModifyThreadRequest) Reset ¶
func (m *ModifyThreadRequest) Reset()
func (*ModifyThreadRequest) String ¶
func (m *ModifyThreadRequest) String() string
func (*ModifyThreadRequest) XXX_DiscardUnknown ¶
func (m *ModifyThreadRequest) XXX_DiscardUnknown()
func (*ModifyThreadRequest) XXX_Marshal ¶
func (m *ModifyThreadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ModifyThreadRequest) XXX_Merge ¶
func (m *ModifyThreadRequest) XXX_Merge(src proto.Message)
func (*ModifyThreadRequest) XXX_Size ¶
func (m *ModifyThreadRequest) XXX_Size() int
func (*ModifyThreadRequest) XXX_Unmarshal ¶
func (m *ModifyThreadRequest) XXX_Unmarshal(b []byte) error
type Profile ¶
type Profile struct { EmailAddress string `protobuf:"bytes,1,opt,name=emailAddress,proto3" json:"emailAddress,omitempty"` HistoryId string `protobuf:"bytes,2,opt,name=history_id,json=historyId,proto3" json:"history_id,omitempty"` EmailsTotal int32 `protobuf:"varint,3,opt,name=emails_total,json=emailsTotal,proto3" json:"emails_total,omitempty"` ThreadsTotal int32 `protobuf:"varint,4,opt,name=threads_total,json=threadsTotal,proto3" json:"threads_total,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Profile) Descriptor ¶
func (*Profile) GetEmailAddress ¶
func (*Profile) GetEmailsTotal ¶
func (*Profile) GetHistoryId ¶
func (*Profile) GetThreadsTotal ¶
func (*Profile) ProtoMessage ¶
func (*Profile) ProtoMessage()
func (*Profile) XXX_DiscardUnknown ¶
func (m *Profile) XXX_DiscardUnknown()
func (*Profile) XXX_Marshal ¶
func (*Profile) XXX_Unmarshal ¶
type Recipient ¶
type Recipient struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` EmailAddress string `protobuf:"bytes,2,opt,name=email_address,json=emailAddress,proto3" json:"email_address,omitempty"` DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Recipient) Descriptor ¶
func (*Recipient) GetDisplayName ¶
func (*Recipient) GetEmailAddress ¶
func (*Recipient) ProtoMessage ¶
func (*Recipient) ProtoMessage()
func (*Recipient) XXX_DiscardUnknown ¶
func (m *Recipient) XXX_DiscardUnknown()
func (*Recipient) XXX_Marshal ¶
func (*Recipient) XXX_Unmarshal ¶
type ResetPasswordRequest ¶
type ResetPasswordRequest struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ResetPasswordRequest) Descriptor ¶
func (*ResetPasswordRequest) Descriptor() ([]byte, []int)
func (*ResetPasswordRequest) GetPassword ¶
func (m *ResetPasswordRequest) GetPassword() string
func (*ResetPasswordRequest) GetToken ¶
func (m *ResetPasswordRequest) GetToken() string
func (*ResetPasswordRequest) ProtoMessage ¶
func (*ResetPasswordRequest) ProtoMessage()
func (*ResetPasswordRequest) Reset ¶
func (m *ResetPasswordRequest) Reset()
func (*ResetPasswordRequest) String ¶
func (m *ResetPasswordRequest) String() string
func (*ResetPasswordRequest) XXX_DiscardUnknown ¶
func (m *ResetPasswordRequest) XXX_DiscardUnknown()
func (*ResetPasswordRequest) XXX_Marshal ¶
func (m *ResetPasswordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResetPasswordRequest) XXX_Merge ¶
func (m *ResetPasswordRequest) XXX_Merge(src proto.Message)
func (*ResetPasswordRequest) XXX_Size ¶
func (m *ResetPasswordRequest) XXX_Size() int
func (*ResetPasswordRequest) XXX_Unmarshal ¶
func (m *ResetPasswordRequest) XXX_Unmarshal(b []byte) error
type SendDraftRequest ¶
type SendDraftRequest struct { Draft *Draft `protobuf:"bytes,1,opt,name=draft,proto3" json:"draft,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SendDraftRequest) Descriptor ¶
func (*SendDraftRequest) Descriptor() ([]byte, []int)
func (*SendDraftRequest) GetDraft ¶
func (m *SendDraftRequest) GetDraft() *Draft
func (*SendDraftRequest) ProtoMessage ¶
func (*SendDraftRequest) ProtoMessage()
func (*SendDraftRequest) Reset ¶
func (m *SendDraftRequest) Reset()
func (*SendDraftRequest) String ¶
func (m *SendDraftRequest) String() string
func (*SendDraftRequest) XXX_DiscardUnknown ¶
func (m *SendDraftRequest) XXX_DiscardUnknown()
func (*SendDraftRequest) XXX_Marshal ¶
func (m *SendDraftRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SendDraftRequest) XXX_Merge ¶
func (m *SendDraftRequest) XXX_Merge(src proto.Message)
func (*SendDraftRequest) XXX_Size ¶
func (m *SendDraftRequest) XXX_Size() int
func (*SendDraftRequest) XXX_Unmarshal ¶
func (m *SendDraftRequest) XXX_Unmarshal(b []byte) error
type SendEmailRequest ¶
type SendEmailRequest struct { Email *Email `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SendEmailRequest) Descriptor ¶
func (*SendEmailRequest) Descriptor() ([]byte, []int)
func (*SendEmailRequest) GetEmail ¶
func (m *SendEmailRequest) GetEmail() *Email
func (*SendEmailRequest) ProtoMessage ¶
func (*SendEmailRequest) ProtoMessage()
func (*SendEmailRequest) Reset ¶
func (m *SendEmailRequest) Reset()
func (*SendEmailRequest) String ¶
func (m *SendEmailRequest) String() string
func (*SendEmailRequest) XXX_DiscardUnknown ¶
func (m *SendEmailRequest) XXX_DiscardUnknown()
func (*SendEmailRequest) XXX_Marshal ¶
func (m *SendEmailRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SendEmailRequest) XXX_Merge ¶
func (m *SendEmailRequest) XXX_Merge(src proto.Message)
func (*SendEmailRequest) XXX_Size ¶
func (m *SendEmailRequest) XXX_Size() int
func (*SendEmailRequest) XXX_Unmarshal ¶
func (m *SendEmailRequest) XXX_Unmarshal(b []byte) error
type SendLabelRequest ¶
type SendLabelRequest struct { Label *Label `protobuf:"bytes,1,opt,name=Label,proto3" json:"Label,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SendLabelRequest) Descriptor ¶
func (*SendLabelRequest) Descriptor() ([]byte, []int)
func (*SendLabelRequest) GetLabel ¶
func (m *SendLabelRequest) GetLabel() *Label
func (*SendLabelRequest) ProtoMessage ¶
func (*SendLabelRequest) ProtoMessage()
func (*SendLabelRequest) Reset ¶
func (m *SendLabelRequest) Reset()
func (*SendLabelRequest) String ¶
func (m *SendLabelRequest) String() string
func (*SendLabelRequest) XXX_DiscardUnknown ¶
func (m *SendLabelRequest) XXX_DiscardUnknown()
func (*SendLabelRequest) XXX_Marshal ¶
func (m *SendLabelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SendLabelRequest) XXX_Merge ¶
func (m *SendLabelRequest) XXX_Merge(src proto.Message)
func (*SendLabelRequest) XXX_Size ¶
func (m *SendLabelRequest) XXX_Size() int
func (*SendLabelRequest) XXX_Unmarshal ¶
func (m *SendLabelRequest) XXX_Unmarshal(b []byte) error
type SendThreadRequest ¶
type SendThreadRequest struct { Thread *Thread `protobuf:"bytes,1,opt,name=thread,proto3" json:"thread,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SendThreadRequest) Descriptor ¶
func (*SendThreadRequest) Descriptor() ([]byte, []int)
func (*SendThreadRequest) GetThread ¶
func (m *SendThreadRequest) GetThread() *Thread
func (*SendThreadRequest) ProtoMessage ¶
func (*SendThreadRequest) ProtoMessage()
func (*SendThreadRequest) Reset ¶
func (m *SendThreadRequest) Reset()
func (*SendThreadRequest) String ¶
func (m *SendThreadRequest) String() string
func (*SendThreadRequest) XXX_DiscardUnknown ¶
func (m *SendThreadRequest) XXX_DiscardUnknown()
func (*SendThreadRequest) XXX_Marshal ¶
func (m *SendThreadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SendThreadRequest) XXX_Merge ¶
func (m *SendThreadRequest) XXX_Merge(src proto.Message)
func (*SendThreadRequest) XXX_Size ¶
func (m *SendThreadRequest) XXX_Size() int
func (*SendThreadRequest) XXX_Unmarshal ¶
func (m *SendThreadRequest) XXX_Unmarshal(b []byte) error
type Sender ¶
type Sender struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` EmailAddress string `protobuf:"bytes,2,opt,name=email_address,json=emailAddress,proto3" json:"email_address,omitempty"` DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Sender) Descriptor ¶
func (*Sender) GetDisplayName ¶
func (*Sender) GetEmailAddress ¶
func (*Sender) ProtoMessage ¶
func (*Sender) ProtoMessage()
func (*Sender) XXX_DiscardUnknown ¶
func (m *Sender) XXX_DiscardUnknown()
func (*Sender) XXX_Marshal ¶
func (*Sender) XXX_Unmarshal ¶
type SigninRequest ¶
type SigninRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SigninRequest) Descriptor ¶
func (*SigninRequest) Descriptor() ([]byte, []int)
func (*SigninRequest) GetPassword ¶
func (m *SigninRequest) GetPassword() string
func (*SigninRequest) GetUsername ¶
func (m *SigninRequest) GetUsername() string
func (*SigninRequest) ProtoMessage ¶
func (*SigninRequest) ProtoMessage()
func (*SigninRequest) Reset ¶
func (m *SigninRequest) Reset()
func (*SigninRequest) String ¶
func (m *SigninRequest) String() string
func (*SigninRequest) XXX_DiscardUnknown ¶
func (m *SigninRequest) XXX_DiscardUnknown()
func (*SigninRequest) XXX_Marshal ¶
func (m *SigninRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SigninRequest) XXX_Merge ¶
func (m *SigninRequest) XXX_Merge(src proto.Message)
func (*SigninRequest) XXX_Size ¶
func (m *SigninRequest) XXX_Size() int
func (*SigninRequest) XXX_Unmarshal ¶
func (m *SigninRequest) XXX_Unmarshal(b []byte) error
type SigninResponse ¶
type SigninResponse struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SigninResponse) Descriptor ¶
func (*SigninResponse) Descriptor() ([]byte, []int)
func (*SigninResponse) GetToken ¶
func (m *SigninResponse) GetToken() string
func (*SigninResponse) ProtoMessage ¶
func (*SigninResponse) ProtoMessage()
func (*SigninResponse) Reset ¶
func (m *SigninResponse) Reset()
func (*SigninResponse) String ¶
func (m *SigninResponse) String() string
func (*SigninResponse) XXX_DiscardUnknown ¶
func (m *SigninResponse) XXX_DiscardUnknown()
func (*SigninResponse) XXX_Marshal ¶
func (m *SigninResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SigninResponse) XXX_Merge ¶
func (m *SigninResponse) XXX_Merge(src proto.Message)
func (*SigninResponse) XXX_Size ¶
func (m *SigninResponse) XXX_Size() int
func (*SigninResponse) XXX_Unmarshal ¶
func (m *SigninResponse) XXX_Unmarshal(b []byte) error
type SignupRequest ¶
type SignupRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SignupRequest) Descriptor ¶
func (*SignupRequest) Descriptor() ([]byte, []int)
func (*SignupRequest) GetPassword ¶
func (m *SignupRequest) GetPassword() string
func (*SignupRequest) GetUsername ¶
func (m *SignupRequest) GetUsername() string
func (*SignupRequest) ProtoMessage ¶
func (*SignupRequest) ProtoMessage()
func (*SignupRequest) Reset ¶
func (m *SignupRequest) Reset()
func (*SignupRequest) String ¶
func (m *SignupRequest) String() string
func (*SignupRequest) XXX_DiscardUnknown ¶
func (m *SignupRequest) XXX_DiscardUnknown()
func (*SignupRequest) XXX_Marshal ¶
func (m *SignupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignupRequest) XXX_Merge ¶
func (m *SignupRequest) XXX_Merge(src proto.Message)
func (*SignupRequest) XXX_Size ¶
func (m *SignupRequest) XXX_Size() int
func (*SignupRequest) XXX_Unmarshal ¶
func (m *SignupRequest) XXX_Unmarshal(b []byte) error
type StreamStateRequest ¶
type StreamStateRequest struct { Labels map[string]string `` /* 153-byte string literal not displayed */ Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StreamStateRequest) Descriptor ¶
func (*StreamStateRequest) Descriptor() ([]byte, []int)
func (*StreamStateRequest) GetLabels ¶
func (m *StreamStateRequest) GetLabels() map[string]string
func (*StreamStateRequest) GetQuery ¶
func (m *StreamStateRequest) GetQuery() string
func (*StreamStateRequest) ProtoMessage ¶
func (*StreamStateRequest) ProtoMessage()
func (*StreamStateRequest) Reset ¶
func (m *StreamStateRequest) Reset()
func (*StreamStateRequest) String ¶
func (m *StreamStateRequest) String() string
func (*StreamStateRequest) XXX_DiscardUnknown ¶
func (m *StreamStateRequest) XXX_DiscardUnknown()
func (*StreamStateRequest) XXX_Marshal ¶
func (m *StreamStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StreamStateRequest) XXX_Merge ¶
func (m *StreamStateRequest) XXX_Merge(src proto.Message)
func (*StreamStateRequest) XXX_Size ¶
func (m *StreamStateRequest) XXX_Size() int
func (*StreamStateRequest) XXX_Unmarshal ¶
func (m *StreamStateRequest) XXX_Unmarshal(b []byte) error
type StreamingStateResponse ¶
type StreamingStateResponse struct { Data *any.Any `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` Status *status.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StreamingStateResponse) Descriptor ¶
func (*StreamingStateResponse) Descriptor() ([]byte, []int)
func (*StreamingStateResponse) GetData ¶
func (m *StreamingStateResponse) GetData() *any.Any
func (*StreamingStateResponse) GetStatus ¶
func (m *StreamingStateResponse) GetStatus() *status.Status
func (*StreamingStateResponse) ProtoMessage ¶
func (*StreamingStateResponse) ProtoMessage()
func (*StreamingStateResponse) Reset ¶
func (m *StreamingStateResponse) Reset()
func (*StreamingStateResponse) String ¶
func (m *StreamingStateResponse) String() string
func (*StreamingStateResponse) XXX_DiscardUnknown ¶
func (m *StreamingStateResponse) XXX_DiscardUnknown()
func (*StreamingStateResponse) XXX_Marshal ¶
func (m *StreamingStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StreamingStateResponse) XXX_Merge ¶
func (m *StreamingStateResponse) XXX_Merge(src proto.Message)
func (*StreamingStateResponse) XXX_Size ¶
func (m *StreamingStateResponse) XXX_Size() int
func (*StreamingStateResponse) XXX_Unmarshal ¶
func (m *StreamingStateResponse) XXX_Unmarshal(b []byte) error
type Thread ¶
type Thread struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Snippet string `protobuf:"bytes,2,opt,name=snippet,proto3" json:"snippet,omitempty"` HistoryId string `protobuf:"bytes,3,opt,name=history_id,json=historyId,proto3" json:"history_id,omitempty"` Email []*Email `protobuf:"bytes,4,rep,name=email,proto3" json:"email,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Thread) Descriptor ¶
func (*Thread) GetHistoryId ¶
func (*Thread) GetSnippet ¶
func (*Thread) ProtoMessage ¶
func (*Thread) ProtoMessage()
func (*Thread) XXX_DiscardUnknown ¶
func (m *Thread) XXX_DiscardUnknown()
func (*Thread) XXX_Marshal ¶
func (*Thread) XXX_Unmarshal ¶
type ThreadServiceClient ¶
type ThreadServiceClient interface { GetThread(ctx context.Context, in *GetThreadRequest, opts ...grpc.CallOption) (*Thread, error) ListThreads(ctx context.Context, in *ListThreadsRequest, opts ...grpc.CallOption) (*ListThreadsResponse, error) ModifyThread(ctx context.Context, in *ModifyThreadRequest, opts ...grpc.CallOption) (*Thread, error) TrashThread(ctx context.Context, in *TrashThreadRequest, opts ...grpc.CallOption) (*empty.Empty, error) UntrashThread(ctx context.Context, in *UntrashThreadRequest, opts ...grpc.CallOption) (*empty.Empty, error) }
ThreadServiceClient is the client API for ThreadService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewThreadServiceClient ¶
func NewThreadServiceClient(cc *grpc.ClientConn) ThreadServiceClient
type ThreadServiceServer ¶
type ThreadServiceServer interface { GetThread(context.Context, *GetThreadRequest) (*Thread, error) ListThreads(context.Context, *ListThreadsRequest) (*ListThreadsResponse, error) ModifyThread(context.Context, *ModifyThreadRequest) (*Thread, error) TrashThread(context.Context, *TrashThreadRequest) (*empty.Empty, error) UntrashThread(context.Context, *UntrashThreadRequest) (*empty.Empty, error) }
ThreadServiceServer is the server API for ThreadService service.
type TrashEmailRequest ¶
type TrashEmailRequest struct { EmailId string `protobuf:"bytes,1,opt,name=email_id,json=emailId,proto3" json:"email_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TrashEmailRequest) Descriptor ¶
func (*TrashEmailRequest) Descriptor() ([]byte, []int)
func (*TrashEmailRequest) GetEmailId ¶
func (m *TrashEmailRequest) GetEmailId() string
func (*TrashEmailRequest) ProtoMessage ¶
func (*TrashEmailRequest) ProtoMessage()
func (*TrashEmailRequest) Reset ¶
func (m *TrashEmailRequest) Reset()
func (*TrashEmailRequest) String ¶
func (m *TrashEmailRequest) String() string
func (*TrashEmailRequest) XXX_DiscardUnknown ¶
func (m *TrashEmailRequest) XXX_DiscardUnknown()
func (*TrashEmailRequest) XXX_Marshal ¶
func (m *TrashEmailRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TrashEmailRequest) XXX_Merge ¶
func (m *TrashEmailRequest) XXX_Merge(src proto.Message)
func (*TrashEmailRequest) XXX_Size ¶
func (m *TrashEmailRequest) XXX_Size() int
func (*TrashEmailRequest) XXX_Unmarshal ¶
func (m *TrashEmailRequest) XXX_Unmarshal(b []byte) error
type TrashThreadRequest ¶
type TrashThreadRequest struct { ThreadId string `protobuf:"bytes,1,opt,name=thread_id,json=threadId,proto3" json:"thread_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TrashThreadRequest) Descriptor ¶
func (*TrashThreadRequest) Descriptor() ([]byte, []int)
func (*TrashThreadRequest) GetThreadId ¶
func (m *TrashThreadRequest) GetThreadId() string
func (*TrashThreadRequest) ProtoMessage ¶
func (*TrashThreadRequest) ProtoMessage()
func (*TrashThreadRequest) Reset ¶
func (m *TrashThreadRequest) Reset()
func (*TrashThreadRequest) String ¶
func (m *TrashThreadRequest) String() string
func (*TrashThreadRequest) XXX_DiscardUnknown ¶
func (m *TrashThreadRequest) XXX_DiscardUnknown()
func (*TrashThreadRequest) XXX_Marshal ¶
func (m *TrashThreadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TrashThreadRequest) XXX_Merge ¶
func (m *TrashThreadRequest) XXX_Merge(src proto.Message)
func (*TrashThreadRequest) XXX_Size ¶
func (m *TrashThreadRequest) XXX_Size() int
func (*TrashThreadRequest) XXX_Unmarshal ¶
func (m *TrashThreadRequest) XXX_Unmarshal(b []byte) error
type UnimplementedAccountServiceServer ¶
type UnimplementedAccountServiceServer struct { }
UnimplementedAccountServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedAccountServiceServer) ResetPassword ¶
func (*UnimplementedAccountServiceServer) ResetPassword(ctx context.Context, req *ResetPasswordRequest) (*empty.Empty, error)
func (*UnimplementedAccountServiceServer) Signin ¶
func (*UnimplementedAccountServiceServer) Signin(ctx context.Context, req *SigninRequest) (*SigninResponse, error)
func (*UnimplementedAccountServiceServer) Signup ¶
func (*UnimplementedAccountServiceServer) Signup(ctx context.Context, req *SignupRequest) (*empty.Empty, error)
func (*UnimplementedAccountServiceServer) UserInfo ¶
func (*UnimplementedAccountServiceServer) UserInfo(ctx context.Context, req *empty.Empty) (*UserInfoResponse, error)
func (*UnimplementedAccountServiceServer) VerifyEmail ¶
func (*UnimplementedAccountServiceServer) VerifyEmail(ctx context.Context, req *VerifyEmailRequest) (*empty.Empty, error)
type UnimplementedAttachmentServiceServer ¶
type UnimplementedAttachmentServiceServer struct { }
UnimplementedAttachmentServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedAttachmentServiceServer) DeleteAllAttachment ¶
func (*UnimplementedAttachmentServiceServer) DeleteAllAttachment(ctx context.Context, req *DeleteAllAttachmentRequest) (*empty.Empty, error)
func (*UnimplementedAttachmentServiceServer) DeleteAttachment ¶
func (*UnimplementedAttachmentServiceServer) DeleteAttachment(ctx context.Context, req *DeleteAttachmentRequest) (*empty.Empty, error)
func (*UnimplementedAttachmentServiceServer) GetAttachmentMetadata ¶
func (*UnimplementedAttachmentServiceServer) GetAttachmentMetadata(ctx context.Context, req *GetAttachmentMetadataRequest) (*AttachmentMetadata, error)
func (*UnimplementedAttachmentServiceServer) ListAttachmentMetadata ¶
func (*UnimplementedAttachmentServiceServer) ListAttachmentMetadata(ctx context.Context, req *ListAttachmentsMetadataRequest) (*ListAttachmentsMetadataResponse, error)
type UnimplementedDraftServiceServer ¶
type UnimplementedDraftServiceServer struct { }
UnimplementedDraftServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedDraftServiceServer) CreateDraft ¶
func (*UnimplementedDraftServiceServer) CreateDraft(ctx context.Context, req *CreateDraftRequest) (*Draft, error)
func (*UnimplementedDraftServiceServer) DeleteDraft ¶
func (*UnimplementedDraftServiceServer) DeleteDraft(ctx context.Context, req *DeleteDraftRequest) (*empty.Empty, error)
func (*UnimplementedDraftServiceServer) GetDraft ¶
func (*UnimplementedDraftServiceServer) GetDraft(ctx context.Context, req *GetDraftRequest) (*Draft, error)
func (*UnimplementedDraftServiceServer) ListDrafts ¶
func (*UnimplementedDraftServiceServer) ListDrafts(ctx context.Context, req *ListDraftsRequest) (*ListDraftsResponse, error)
func (*UnimplementedDraftServiceServer) SendDraft ¶
func (*UnimplementedDraftServiceServer) SendDraft(ctx context.Context, req *SendDraftRequest) (*Email, error)
func (*UnimplementedDraftServiceServer) UpdateDraft ¶
func (*UnimplementedDraftServiceServer) UpdateDraft(ctx context.Context, req *UpdateDraftRequest) (*Draft, error)
type UnimplementedEmailServiceServer ¶
type UnimplementedEmailServiceServer struct { }
UnimplementedEmailServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedEmailServiceServer) GetEmail ¶
func (*UnimplementedEmailServiceServer) GetEmail(ctx context.Context, req *GetEmailRequest) (*Email, error)
func (*UnimplementedEmailServiceServer) ListEmails ¶
func (*UnimplementedEmailServiceServer) ListEmails(ctx context.Context, req *ListEmailsRequest) (*ListEmailsResponse, error)
func (*UnimplementedEmailServiceServer) ModifyEmail ¶
func (*UnimplementedEmailServiceServer) ModifyEmail(ctx context.Context, req *ModifyEmailRequest) (*Email, error)
func (*UnimplementedEmailServiceServer) SendEmail ¶
func (*UnimplementedEmailServiceServer) SendEmail(ctx context.Context, req *SendEmailRequest) (*Email, error)
func (*UnimplementedEmailServiceServer) TrashEmail ¶
func (*UnimplementedEmailServiceServer) TrashEmail(ctx context.Context, req *TrashEmailRequest) (*empty.Empty, error)
func (*UnimplementedEmailServiceServer) UntrashEmail ¶
func (*UnimplementedEmailServiceServer) UntrashEmail(ctx context.Context, req *UntrashEmailRequest) (*empty.Empty, error)
type UnimplementedLabelServiceServer ¶
type UnimplementedLabelServiceServer struct { }
UnimplementedLabelServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedLabelServiceServer) CreateLabel ¶
func (*UnimplementedLabelServiceServer) CreateLabel(ctx context.Context, req *CreateLabelRequest) (*Label, error)
func (*UnimplementedLabelServiceServer) DeleteLabel ¶
func (*UnimplementedLabelServiceServer) DeleteLabel(ctx context.Context, req *DeleteLabelRequest) (*empty.Empty, error)
func (*UnimplementedLabelServiceServer) GetLabel ¶
func (*UnimplementedLabelServiceServer) GetLabel(ctx context.Context, req *GetLabelRequest) (*Label, error)
func (*UnimplementedLabelServiceServer) ListLabels ¶
func (*UnimplementedLabelServiceServer) ListLabels(ctx context.Context, req *empty.Empty) (*ListLabelsResponse, error)
func (*UnimplementedLabelServiceServer) UpdateLabel ¶
func (*UnimplementedLabelServiceServer) UpdateLabel(ctx context.Context, req *UpdateLabelRequest) (*Label, error)
type UnimplementedMailboxServiceServer ¶
type UnimplementedMailboxServiceServer struct { }
UnimplementedMailboxServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedMailboxServiceServer) GetProfile ¶
func (*UnimplementedMailboxServiceServer) GetProfile(ctx context.Context, req *empty.Empty) (*GetProfileResponse, error)
func (*UnimplementedMailboxServiceServer) ListHistory ¶
func (*UnimplementedMailboxServiceServer) ListHistory(ctx context.Context, req *ListHistoryRequest) (*ListHistoryResponse, error)
func (*UnimplementedMailboxServiceServer) StreamState ¶
func (*UnimplementedMailboxServiceServer) StreamState(req *StreamStateRequest, srv MailboxService_StreamStateServer) error
type UnimplementedThreadServiceServer ¶
type UnimplementedThreadServiceServer struct { }
UnimplementedThreadServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedThreadServiceServer) GetThread ¶
func (*UnimplementedThreadServiceServer) GetThread(ctx context.Context, req *GetThreadRequest) (*Thread, error)
func (*UnimplementedThreadServiceServer) ListThreads ¶
func (*UnimplementedThreadServiceServer) ListThreads(ctx context.Context, req *ListThreadsRequest) (*ListThreadsResponse, error)
func (*UnimplementedThreadServiceServer) ModifyThread ¶
func (*UnimplementedThreadServiceServer) ModifyThread(ctx context.Context, req *ModifyThreadRequest) (*Thread, error)
func (*UnimplementedThreadServiceServer) TrashThread ¶
func (*UnimplementedThreadServiceServer) TrashThread(ctx context.Context, req *TrashThreadRequest) (*empty.Empty, error)
func (*UnimplementedThreadServiceServer) UntrashThread ¶
func (*UnimplementedThreadServiceServer) UntrashThread(ctx context.Context, req *UntrashThreadRequest) (*empty.Empty, error)
type UntrashEmailRequest ¶
type UntrashEmailRequest struct { EmailId string `protobuf:"bytes,1,opt,name=email_id,json=emailId,proto3" json:"email_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UntrashEmailRequest) Descriptor ¶
func (*UntrashEmailRequest) Descriptor() ([]byte, []int)
func (*UntrashEmailRequest) GetEmailId ¶
func (m *UntrashEmailRequest) GetEmailId() string
func (*UntrashEmailRequest) ProtoMessage ¶
func (*UntrashEmailRequest) ProtoMessage()
func (*UntrashEmailRequest) Reset ¶
func (m *UntrashEmailRequest) Reset()
func (*UntrashEmailRequest) String ¶
func (m *UntrashEmailRequest) String() string
func (*UntrashEmailRequest) XXX_DiscardUnknown ¶
func (m *UntrashEmailRequest) XXX_DiscardUnknown()
func (*UntrashEmailRequest) XXX_Marshal ¶
func (m *UntrashEmailRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UntrashEmailRequest) XXX_Merge ¶
func (m *UntrashEmailRequest) XXX_Merge(src proto.Message)
func (*UntrashEmailRequest) XXX_Size ¶
func (m *UntrashEmailRequest) XXX_Size() int
func (*UntrashEmailRequest) XXX_Unmarshal ¶
func (m *UntrashEmailRequest) XXX_Unmarshal(b []byte) error
type UntrashThreadRequest ¶
type UntrashThreadRequest struct { ThreadId string `protobuf:"bytes,1,opt,name=thread_id,json=threadId,proto3" json:"thread_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UntrashThreadRequest) Descriptor ¶
func (*UntrashThreadRequest) Descriptor() ([]byte, []int)
func (*UntrashThreadRequest) GetThreadId ¶
func (m *UntrashThreadRequest) GetThreadId() string
func (*UntrashThreadRequest) ProtoMessage ¶
func (*UntrashThreadRequest) ProtoMessage()
func (*UntrashThreadRequest) Reset ¶
func (m *UntrashThreadRequest) Reset()
func (*UntrashThreadRequest) String ¶
func (m *UntrashThreadRequest) String() string
func (*UntrashThreadRequest) XXX_DiscardUnknown ¶
func (m *UntrashThreadRequest) XXX_DiscardUnknown()
func (*UntrashThreadRequest) XXX_Marshal ¶
func (m *UntrashThreadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UntrashThreadRequest) XXX_Merge ¶
func (m *UntrashThreadRequest) XXX_Merge(src proto.Message)
func (*UntrashThreadRequest) XXX_Size ¶
func (m *UntrashThreadRequest) XXX_Size() int
func (*UntrashThreadRequest) XXX_Unmarshal ¶
func (m *UntrashThreadRequest) XXX_Unmarshal(b []byte) error
type UpdateDraftRequest ¶
type UpdateDraftRequest struct { Draft *Draft `protobuf:"bytes,1,opt,name=draft,proto3" json:"draft,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateDraftRequest) Descriptor ¶
func (*UpdateDraftRequest) Descriptor() ([]byte, []int)
func (*UpdateDraftRequest) GetDraft ¶
func (m *UpdateDraftRequest) GetDraft() *Draft
func (*UpdateDraftRequest) ProtoMessage ¶
func (*UpdateDraftRequest) ProtoMessage()
func (*UpdateDraftRequest) Reset ¶
func (m *UpdateDraftRequest) Reset()
func (*UpdateDraftRequest) String ¶
func (m *UpdateDraftRequest) String() string
func (*UpdateDraftRequest) XXX_DiscardUnknown ¶
func (m *UpdateDraftRequest) XXX_DiscardUnknown()
func (*UpdateDraftRequest) XXX_Marshal ¶
func (m *UpdateDraftRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateDraftRequest) XXX_Merge ¶
func (m *UpdateDraftRequest) XXX_Merge(src proto.Message)
func (*UpdateDraftRequest) XXX_Size ¶
func (m *UpdateDraftRequest) XXX_Size() int
func (*UpdateDraftRequest) XXX_Unmarshal ¶
func (m *UpdateDraftRequest) XXX_Unmarshal(b []byte) error
type UpdateLabelRequest ¶
type UpdateLabelRequest struct { Label *Label `protobuf:"bytes,1,opt,name=Label,proto3" json:"Label,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateLabelRequest) Descriptor ¶
func (*UpdateLabelRequest) Descriptor() ([]byte, []int)
func (*UpdateLabelRequest) GetLabel ¶
func (m *UpdateLabelRequest) GetLabel() *Label
func (*UpdateLabelRequest) ProtoMessage ¶
func (*UpdateLabelRequest) ProtoMessage()
func (*UpdateLabelRequest) Reset ¶
func (m *UpdateLabelRequest) Reset()
func (*UpdateLabelRequest) String ¶
func (m *UpdateLabelRequest) String() string
func (*UpdateLabelRequest) XXX_DiscardUnknown ¶
func (m *UpdateLabelRequest) XXX_DiscardUnknown()
func (*UpdateLabelRequest) XXX_Marshal ¶
func (m *UpdateLabelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateLabelRequest) XXX_Merge ¶
func (m *UpdateLabelRequest) XXX_Merge(src proto.Message)
func (*UpdateLabelRequest) XXX_Size ¶
func (m *UpdateLabelRequest) XXX_Size() int
func (*UpdateLabelRequest) XXX_Unmarshal ¶
func (m *UpdateLabelRequest) XXX_Unmarshal(b []byte) error
type UserInfoResponse ¶
type UserInfoResponse struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` GivenName string `protobuf:"bytes,4,opt,name=given_name,json=givenName,proto3" json:"given_name,omitempty"` FamilyName string `protobuf:"bytes,5,opt,name=family_name,json=familyName,proto3" json:"family_name,omitempty"` // Types that are valid to be assigned to Picture: // *UserInfoResponse_Data // *UserInfoResponse_Uri Picture isUserInfoResponse_Picture `protobuf_oneof:"picture"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UserInfoResponse) Descriptor ¶
func (*UserInfoResponse) Descriptor() ([]byte, []int)
func (*UserInfoResponse) GetData ¶
func (m *UserInfoResponse) GetData() []byte
func (*UserInfoResponse) GetEmail ¶
func (m *UserInfoResponse) GetEmail() string
func (*UserInfoResponse) GetFamilyName ¶
func (m *UserInfoResponse) GetFamilyName() string
func (*UserInfoResponse) GetGivenName ¶
func (m *UserInfoResponse) GetGivenName() string
func (*UserInfoResponse) GetName ¶
func (m *UserInfoResponse) GetName() string
func (*UserInfoResponse) GetPicture ¶
func (m *UserInfoResponse) GetPicture() isUserInfoResponse_Picture
func (*UserInfoResponse) GetUri ¶
func (m *UserInfoResponse) GetUri() string
func (*UserInfoResponse) GetUsername ¶
func (m *UserInfoResponse) GetUsername() string
func (*UserInfoResponse) ProtoMessage ¶
func (*UserInfoResponse) ProtoMessage()
func (*UserInfoResponse) Reset ¶
func (m *UserInfoResponse) Reset()
func (*UserInfoResponse) String ¶
func (m *UserInfoResponse) String() string
func (*UserInfoResponse) XXX_DiscardUnknown ¶
func (m *UserInfoResponse) XXX_DiscardUnknown()
func (*UserInfoResponse) XXX_Marshal ¶
func (m *UserInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserInfoResponse) XXX_Merge ¶
func (m *UserInfoResponse) XXX_Merge(src proto.Message)
func (*UserInfoResponse) XXX_OneofWrappers ¶
func (*UserInfoResponse) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*UserInfoResponse) XXX_Size ¶
func (m *UserInfoResponse) XXX_Size() int
func (*UserInfoResponse) XXX_Unmarshal ¶
func (m *UserInfoResponse) XXX_Unmarshal(b []byte) error
type UserInfoResponse_Data ¶
type UserInfoResponse_Data struct {
Data []byte `protobuf:"bytes,6,opt,name=data,proto3,oneof"`
}
type UserInfoResponse_Uri ¶
type UserInfoResponse_Uri struct {
Uri string `protobuf:"bytes,7,opt,name=uri,proto3,oneof"`
}
type VerifyEmailRequest ¶
type VerifyEmailRequest struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VerifyEmailRequest) Descriptor ¶
func (*VerifyEmailRequest) Descriptor() ([]byte, []int)
func (*VerifyEmailRequest) GetEmail ¶
func (m *VerifyEmailRequest) GetEmail() string
func (*VerifyEmailRequest) ProtoMessage ¶
func (*VerifyEmailRequest) ProtoMessage()
func (*VerifyEmailRequest) Reset ¶
func (m *VerifyEmailRequest) Reset()
func (*VerifyEmailRequest) String ¶
func (m *VerifyEmailRequest) String() string
func (*VerifyEmailRequest) XXX_DiscardUnknown ¶
func (m *VerifyEmailRequest) XXX_DiscardUnknown()
func (*VerifyEmailRequest) XXX_Marshal ¶
func (m *VerifyEmailRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VerifyEmailRequest) XXX_Merge ¶
func (m *VerifyEmailRequest) XXX_Merge(src proto.Message)
func (*VerifyEmailRequest) XXX_Size ¶
func (m *VerifyEmailRequest) XXX_Size() int
func (*VerifyEmailRequest) XXX_Unmarshal ¶
func (m *VerifyEmailRequest) XXX_Unmarshal(b []byte) error