service

package
v0.0.0-...-f097233 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HistoryTypes_name = map[int32]string{
	0: "LABEL_ADDED",
	1: "LABEL_REMOVED",
	2: "MESSAGE_ADDED",
	3: "MESSAGE_DELETED",
}
View Source
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) Descriptor() ([]byte, []int)

func (*Draft) GetEnvelope

func (m *Draft) GetEnvelope() *Envelope

func (*Draft) GetId

func (m *Draft) GetId() string

func (*Draft) GetLabels

func (m *Draft) GetLabels() map[string]string

func (*Draft) ProtoMessage

func (*Draft) ProtoMessage()

func (*Draft) Reset

func (m *Draft) Reset()

func (*Draft) String

func (m *Draft) String() string

func (*Draft) XXX_DiscardUnknown

func (m *Draft) XXX_DiscardUnknown()

func (*Draft) XXX_Marshal

func (m *Draft) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Draft) XXX_Merge

func (m *Draft) XXX_Merge(src proto.Message)

func (*Draft) XXX_Size

func (m *Draft) XXX_Size() int

func (*Draft) XXX_Unmarshal

func (m *Draft) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Email) GetEnvelope

func (m *Email) GetEnvelope() *Envelope

func (*Email) GetFwd

func (m *Email) GetFwd() bool

func (*Email) GetHistoryId

func (m *Email) GetHistoryId() string

func (*Email) GetId

func (m *Email) GetId() string

func (*Email) GetLabels

func (m *Email) GetLabels() map[string]string

func (*Email) GetReceivedAt

func (m *Email) GetReceivedAt() *timestamp.Timestamp

func (*Email) GetSentAt

func (m *Email) GetSentAt() *timestamp.Timestamp

func (*Email) GetSnoozedAt

func (m *Email) GetSnoozedAt() *timestamp.Timestamp

func (*Email) ProtoMessage

func (*Email) ProtoMessage()

func (*Email) Reset

func (m *Email) Reset()

func (*Email) String

func (m *Email) String() string

func (*Email) XXX_DiscardUnknown

func (m *Email) XXX_DiscardUnknown()

func (*Email) XXX_Marshal

func (m *Email) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Email) XXX_Merge

func (m *Email) XXX_Merge(src proto.Message)

func (*Email) XXX_Size

func (m *Email) XXX_Size() int

func (*Email) XXX_Unmarshal

func (m *Email) XXX_Unmarshal(b []byte) error

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

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) Descriptor() ([]byte, []int)

func (*Envelope) GetAttachments

func (m *Envelope) GetAttachments() []*Attachment

func (*Envelope) GetBcc

func (m *Envelope) GetBcc() []*Recipient

func (*Envelope) GetCc

func (m *Envelope) GetCc() []*Recipient

func (*Envelope) GetFrom

func (m *Envelope) GetFrom() *Sender

func (*Envelope) GetGroup

func (m *Envelope) GetGroup() []*Recipient

func (*Envelope) GetId

func (m *Envelope) GetId() string

func (*Envelope) GetMessage

func (m *Envelope) GetMessage() *Message

func (*Envelope) GetTags

func (m *Envelope) GetTags() map[string]string

func (*Envelope) GetTo

func (m *Envelope) GetTo() []*Recipient

func (*Envelope) ProtoMessage

func (*Envelope) ProtoMessage()

func (*Envelope) Reset

func (m *Envelope) Reset()

func (*Envelope) String

func (m *Envelope) String() string

func (*Envelope) XXX_DiscardUnknown

func (m *Envelope) XXX_DiscardUnknown()

func (*Envelope) XXX_Marshal

func (m *Envelope) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Envelope) XXX_Merge

func (m *Envelope) XXX_Merge(src proto.Message)

func (*Envelope) XXX_Size

func (m *Envelope) XXX_Size() int

func (*Envelope) XXX_Unmarshal

func (m *Envelope) XXX_Unmarshal(b []byte) error

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 (*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) Descriptor() ([]byte, []int)

func (*History) GetEmailAdded

func (m *History) GetEmailAdded() []*HistoryEmailAdded

func (*History) GetEmailDeleted

func (m *History) GetEmailDeleted() []*HistoryEmailDeleted

func (*History) GetEmails

func (m *History) GetEmails() []*Email

func (*History) GetId

func (m *History) GetId() uint32

func (*History) GetLabelAdded

func (m *History) GetLabelAdded() []*HistoryLabelAdded

func (*History) GetLabelRemoved

func (m *History) GetLabelRemoved() []*HistoryLabelRemoved

func (*History) ProtoMessage

func (*History) ProtoMessage()

func (*History) Reset

func (m *History) Reset()

func (*History) String

func (m *History) String() string

func (*History) XXX_DiscardUnknown

func (m *History) XXX_DiscardUnknown()

func (*History) XXX_Marshal

func (m *History) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*History) XXX_Merge

func (m *History) XXX_Merge(src proto.Message)

func (*History) XXX_Size

func (m *History) XXX_Size() int

func (*History) XXX_Unmarshal

func (m *History) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Label) GetId

func (m *Label) GetId() string

func (*Label) GetName

func (m *Label) GetName() string

func (*Label) GetType

func (m *Label) GetType() string

func (*Label) ProtoMessage

func (*Label) ProtoMessage()

func (*Label) Reset

func (m *Label) Reset()

func (*Label) String

func (m *Label) String() string

func (*Label) XXX_DiscardUnknown

func (m *Label) XXX_DiscardUnknown()

func (*Label) XXX_Marshal

func (m *Label) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Label) XXX_Merge

func (m *Label) XXX_Merge(src proto.Message)

func (*Label) XXX_Size

func (m *Label) XXX_Size() int

func (*Label) XXX_Unmarshal

func (m *Label) XXX_Unmarshal(b []byte) error

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 (*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 (*ListAttachmentsMetadataResponse) 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) Descriptor() ([]byte, []int)

func (*Message) GetBodyUri

func (m *Message) GetBodyUri() string

func (*Message) GetId

func (m *Message) GetId() string

func (*Message) GetMimetype

func (m *Message) GetMimetype() string

func (*Message) GetSnippet

func (m *Message) GetSnippet() string

func (*Message) GetSubject

func (m *Message) GetSubject() string

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) Reset

func (m *Message) Reset()

func (*Message) String

func (m *Message) String() string

func (*Message) XXX_DiscardUnknown

func (m *Message) XXX_DiscardUnknown()

func (*Message) XXX_Marshal

func (m *Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Message) XXX_Merge

func (m *Message) XXX_Merge(src proto.Message)

func (*Message) XXX_Size

func (m *Message) XXX_Size() int

func (*Message) XXX_Unmarshal

func (m *Message) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Profile) GetEmailAddress

func (m *Profile) GetEmailAddress() string

func (*Profile) GetEmailsTotal

func (m *Profile) GetEmailsTotal() int32

func (*Profile) GetHistoryId

func (m *Profile) GetHistoryId() string

func (*Profile) GetThreadsTotal

func (m *Profile) GetThreadsTotal() int32

func (*Profile) ProtoMessage

func (*Profile) ProtoMessage()

func (*Profile) Reset

func (m *Profile) Reset()

func (*Profile) String

func (m *Profile) String() string

func (*Profile) XXX_DiscardUnknown

func (m *Profile) XXX_DiscardUnknown()

func (*Profile) XXX_Marshal

func (m *Profile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Profile) XXX_Merge

func (m *Profile) XXX_Merge(src proto.Message)

func (*Profile) XXX_Size

func (m *Profile) XXX_Size() int

func (*Profile) XXX_Unmarshal

func (m *Profile) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Recipient) GetDisplayName

func (m *Recipient) GetDisplayName() string

func (*Recipient) GetEmailAddress

func (m *Recipient) GetEmailAddress() string

func (*Recipient) GetId

func (m *Recipient) GetId() string

func (*Recipient) ProtoMessage

func (*Recipient) ProtoMessage()

func (*Recipient) Reset

func (m *Recipient) Reset()

func (*Recipient) String

func (m *Recipient) String() string

func (*Recipient) XXX_DiscardUnknown

func (m *Recipient) XXX_DiscardUnknown()

func (*Recipient) XXX_Marshal

func (m *Recipient) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Recipient) XXX_Merge

func (m *Recipient) XXX_Merge(src proto.Message)

func (*Recipient) XXX_Size

func (m *Recipient) XXX_Size() int

func (*Recipient) XXX_Unmarshal

func (m *Recipient) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Sender) GetDisplayName

func (m *Sender) GetDisplayName() string

func (*Sender) GetEmailAddress

func (m *Sender) GetEmailAddress() string

func (*Sender) GetId

func (m *Sender) GetId() string

func (*Sender) ProtoMessage

func (*Sender) ProtoMessage()

func (*Sender) Reset

func (m *Sender) Reset()

func (*Sender) String

func (m *Sender) String() string

func (*Sender) XXX_DiscardUnknown

func (m *Sender) XXX_DiscardUnknown()

func (*Sender) XXX_Marshal

func (m *Sender) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Sender) XXX_Merge

func (m *Sender) XXX_Merge(src proto.Message)

func (*Sender) XXX_Size

func (m *Sender) XXX_Size() int

func (*Sender) XXX_Unmarshal

func (m *Sender) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Thread) GetEmail

func (m *Thread) GetEmail() []*Email

func (*Thread) GetHistoryId

func (m *Thread) GetHistoryId() string

func (*Thread) GetId

func (m *Thread) GetId() string

func (*Thread) GetSnippet

func (m *Thread) GetSnippet() string

func (*Thread) ProtoMessage

func (*Thread) ProtoMessage()

func (*Thread) Reset

func (m *Thread) Reset()

func (*Thread) String

func (m *Thread) String() string

func (*Thread) XXX_DiscardUnknown

func (m *Thread) XXX_DiscardUnknown()

func (*Thread) XXX_Marshal

func (m *Thread) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Thread) XXX_Merge

func (m *Thread) XXX_Merge(src proto.Message)

func (*Thread) XXX_Size

func (m *Thread) XXX_Size() int

func (*Thread) XXX_Unmarshal

func (m *Thread) XXX_Unmarshal(b []byte) error

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) Signin

func (*UnimplementedAccountServiceServer) Signup

func (*UnimplementedAccountServiceServer) UserInfo

func (*UnimplementedAccountServiceServer) VerifyEmail

type UnimplementedAttachmentServiceServer

type UnimplementedAttachmentServiceServer struct {
}

UnimplementedAttachmentServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedAttachmentServiceServer) DeleteAllAttachment

func (*UnimplementedAttachmentServiceServer) DeleteAttachment

func (*UnimplementedAttachmentServiceServer) GetAttachmentMetadata

func (*UnimplementedAttachmentServiceServer) ListAttachmentMetadata

type UnimplementedDraftServiceServer

type UnimplementedDraftServiceServer struct {
}

UnimplementedDraftServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedDraftServiceServer) CreateDraft

func (*UnimplementedDraftServiceServer) DeleteDraft

func (*UnimplementedDraftServiceServer) GetDraft

func (*UnimplementedDraftServiceServer) ListDrafts

func (*UnimplementedDraftServiceServer) SendDraft

func (*UnimplementedDraftServiceServer) UpdateDraft

type UnimplementedEmailServiceServer

type UnimplementedEmailServiceServer struct {
}

UnimplementedEmailServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedEmailServiceServer) GetEmail

func (*UnimplementedEmailServiceServer) ListEmails

func (*UnimplementedEmailServiceServer) ModifyEmail

func (*UnimplementedEmailServiceServer) SendEmail

func (*UnimplementedEmailServiceServer) TrashEmail

func (*UnimplementedEmailServiceServer) UntrashEmail

type UnimplementedLabelServiceServer

type UnimplementedLabelServiceServer struct {
}

UnimplementedLabelServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedLabelServiceServer) CreateLabel

func (*UnimplementedLabelServiceServer) DeleteLabel

func (*UnimplementedLabelServiceServer) GetLabel

func (*UnimplementedLabelServiceServer) ListLabels

func (*UnimplementedLabelServiceServer) UpdateLabel

type UnimplementedMailboxServiceServer

type UnimplementedMailboxServiceServer struct {
}

UnimplementedMailboxServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedMailboxServiceServer) GetProfile

func (*UnimplementedMailboxServiceServer) ListHistory

func (*UnimplementedMailboxServiceServer) StreamState

type UnimplementedThreadServiceServer

type UnimplementedThreadServiceServer struct {
}

UnimplementedThreadServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedThreadServiceServer) GetThread

func (*UnimplementedThreadServiceServer) ListThreads

func (*UnimplementedThreadServiceServer) ModifyThread

func (*UnimplementedThreadServiceServer) TrashThread

func (*UnimplementedThreadServiceServer) UntrashThread

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL