proto

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TimeInterval_name = map[int32]string{
	0: "UNDEFINED",
	1: "MONTH",
	2: "YEAR",
}
View Source
var TimeInterval_value = map[string]int32{
	"UNDEFINED": 0,
	"MONTH":     1,
	"YEAR":      2,
}

Functions

func RegisterStrongDocServiceServer

func RegisterStrongDocServiceServer(s *grpc.Server, srv StrongDocServiceServer)

Types

type AddSharableOrgRequest

type AddSharableOrgRequest struct {
	// The ID of the new sharable org.
	NewOrgID             string   `protobuf:"bytes,1,opt,name=newOrgID,proto3" json:"newOrgID,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AddSharableOrgRequest) Descriptor

func (*AddSharableOrgRequest) Descriptor() ([]byte, []int)

func (*AddSharableOrgRequest) GetNewOrgID

func (m *AddSharableOrgRequest) GetNewOrgID() string

func (*AddSharableOrgRequest) ProtoMessage

func (*AddSharableOrgRequest) ProtoMessage()

func (*AddSharableOrgRequest) Reset

func (m *AddSharableOrgRequest) Reset()

func (*AddSharableOrgRequest) String

func (m *AddSharableOrgRequest) String() string

func (*AddSharableOrgRequest) XXX_DiscardUnknown

func (m *AddSharableOrgRequest) XXX_DiscardUnknown()

func (*AddSharableOrgRequest) XXX_Marshal

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

func (*AddSharableOrgRequest) XXX_Merge

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

func (*AddSharableOrgRequest) XXX_Size

func (m *AddSharableOrgRequest) XXX_Size() int

func (*AddSharableOrgRequest) XXX_Unmarshal

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

type AddSharableOrgResponse

type AddSharableOrgResponse struct {
	// Whether the add was successful
	Success              bool     `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AddSharableOrgResponse) Descriptor

func (*AddSharableOrgResponse) Descriptor() ([]byte, []int)

func (*AddSharableOrgResponse) GetSuccess

func (m *AddSharableOrgResponse) GetSuccess() bool

func (*AddSharableOrgResponse) ProtoMessage

func (*AddSharableOrgResponse) ProtoMessage()

func (*AddSharableOrgResponse) Reset

func (m *AddSharableOrgResponse) Reset()

func (*AddSharableOrgResponse) String

func (m *AddSharableOrgResponse) String() string

func (*AddSharableOrgResponse) XXX_DiscardUnknown

func (m *AddSharableOrgResponse) XXX_DiscardUnknown()

func (*AddSharableOrgResponse) XXX_Marshal

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

func (*AddSharableOrgResponse) XXX_Merge

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

func (*AddSharableOrgResponse) XXX_Size

func (m *AddSharableOrgResponse) XXX_Size() int

func (*AddSharableOrgResponse) XXX_Unmarshal

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

type BillingPeriod

type BillingPeriod struct {
	Frequency            TimeInterval         `protobuf:"varint,1,opt,name=frequency,proto3,enum=proto.TimeInterval" json:"frequency,omitempty"`
	PeriodStart          *timestamp.Timestamp `protobuf:"bytes,2,opt,name=periodStart,proto3" json:"periodStart,omitempty"`
	PeriodEnd            *timestamp.Timestamp `protobuf:"bytes,3,opt,name=periodEnd,proto3" json:"periodEnd,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*BillingPeriod) Descriptor

func (*BillingPeriod) Descriptor() ([]byte, []int)

func (*BillingPeriod) GetFrequency

func (m *BillingPeriod) GetFrequency() TimeInterval

func (*BillingPeriod) GetPeriodEnd

func (m *BillingPeriod) GetPeriodEnd() *timestamp.Timestamp

func (*BillingPeriod) GetPeriodStart

func (m *BillingPeriod) GetPeriodStart() *timestamp.Timestamp

func (*BillingPeriod) ProtoMessage

func (*BillingPeriod) ProtoMessage()

func (*BillingPeriod) Reset

func (m *BillingPeriod) Reset()

func (*BillingPeriod) String

func (m *BillingPeriod) String() string

func (*BillingPeriod) XXX_DiscardUnknown

func (m *BillingPeriod) XXX_DiscardUnknown()

func (*BillingPeriod) XXX_Marshal

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

func (*BillingPeriod) XXX_Merge

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

func (*BillingPeriod) XXX_Size

func (m *BillingPeriod) XXX_Size() int

func (*BillingPeriod) XXX_Unmarshal

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

type DecryptDocReq

type DecryptDocReq struct {
	// The ID of the document to decrypt.
	DocID string `protobuf:"bytes,1,opt,name=docID,proto3" json:"docID,omitempty"`
	// The data of the document to decrypt.
	Ciphertext           string   `protobuf:"bytes,2,opt,name=ciphertext,proto3" json:"ciphertext,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DecryptDocReq) Descriptor

func (*DecryptDocReq) Descriptor() ([]byte, []int)

func (*DecryptDocReq) GetCiphertext

func (m *DecryptDocReq) GetCiphertext() string

func (*DecryptDocReq) GetDocID

func (m *DecryptDocReq) GetDocID() string

func (*DecryptDocReq) ProtoMessage

func (*DecryptDocReq) ProtoMessage()

func (*DecryptDocReq) Reset

func (m *DecryptDocReq) Reset()

func (*DecryptDocReq) String

func (m *DecryptDocReq) String() string

func (*DecryptDocReq) XXX_DiscardUnknown

func (m *DecryptDocReq) XXX_DiscardUnknown()

func (*DecryptDocReq) XXX_Marshal

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

func (*DecryptDocReq) XXX_Merge

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

func (*DecryptDocReq) XXX_Size

func (m *DecryptDocReq) XXX_Size() int

func (*DecryptDocReq) XXX_Unmarshal

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

type DecryptDocResp

type DecryptDocResp struct {
	// The ID of the decrypted document.
	DocID string `protobuf:"bytes,1,opt,name=docID,proto3" json:"docID,omitempty"`
	// The decrypted data of the document.
	Plaintext            string   `protobuf:"bytes,2,opt,name=plaintext,proto3" json:"plaintext,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DecryptDocResp) Descriptor

func (*DecryptDocResp) Descriptor() ([]byte, []int)

func (*DecryptDocResp) GetDocID

func (m *DecryptDocResp) GetDocID() string

func (*DecryptDocResp) GetPlaintext

func (m *DecryptDocResp) GetPlaintext() string

func (*DecryptDocResp) ProtoMessage

func (*DecryptDocResp) ProtoMessage()

func (*DecryptDocResp) Reset

func (m *DecryptDocResp) Reset()

func (*DecryptDocResp) String

func (m *DecryptDocResp) String() string

func (*DecryptDocResp) XXX_DiscardUnknown

func (m *DecryptDocResp) XXX_DiscardUnknown()

func (*DecryptDocResp) XXX_Marshal

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

func (*DecryptDocResp) XXX_Merge

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

func (*DecryptDocResp) XXX_Size

func (m *DecryptDocResp) XXX_Size() int

func (*DecryptDocResp) XXX_Unmarshal

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

type DecryptDocStreamReq

type DecryptDocStreamReq struct {
	// Types that are valid to be assigned to IdOrData:
	//	*DecryptDocStreamReq_DocID
	//	*DecryptDocStreamReq_Ciphertext
	IdOrData             isDecryptDocStreamReq_IdOrData `protobuf_oneof:"IdOrData"`
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

func (*DecryptDocStreamReq) Descriptor

func (*DecryptDocStreamReq) Descriptor() ([]byte, []int)

func (*DecryptDocStreamReq) GetCiphertext

func (m *DecryptDocStreamReq) GetCiphertext() []byte

func (*DecryptDocStreamReq) GetDocID

func (m *DecryptDocStreamReq) GetDocID() string

func (*DecryptDocStreamReq) GetIdOrData

func (m *DecryptDocStreamReq) GetIdOrData() isDecryptDocStreamReq_IdOrData

func (*DecryptDocStreamReq) ProtoMessage

func (*DecryptDocStreamReq) ProtoMessage()

func (*DecryptDocStreamReq) Reset

func (m *DecryptDocStreamReq) Reset()

func (*DecryptDocStreamReq) String

func (m *DecryptDocStreamReq) String() string

func (*DecryptDocStreamReq) XXX_DiscardUnknown

func (m *DecryptDocStreamReq) XXX_DiscardUnknown()

func (*DecryptDocStreamReq) XXX_Marshal

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

func (*DecryptDocStreamReq) XXX_Merge

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

func (*DecryptDocStreamReq) XXX_OneofWrappers

func (*DecryptDocStreamReq) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*DecryptDocStreamReq) XXX_Size

func (m *DecryptDocStreamReq) XXX_Size() int

func (*DecryptDocStreamReq) XXX_Unmarshal

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

type DecryptDocStreamReq_Ciphertext

type DecryptDocStreamReq_Ciphertext struct {
	Ciphertext []byte `protobuf:"bytes,2,opt,name=ciphertext,proto3,oneof"`
}

type DecryptDocStreamReq_DocID

type DecryptDocStreamReq_DocID struct {
	DocID string `protobuf:"bytes,1,opt,name=docID,proto3,oneof"`
}

type DecryptDocStreamResp

type DecryptDocStreamResp struct {
	// The ID of the decrypted document.
	DocID string `protobuf:"bytes,1,opt,name=docID,proto3" json:"docID,omitempty"`
	// The decrypted data of the document.
	Plaintext            []byte   `protobuf:"bytes,2,opt,name=plaintext,proto3" json:"plaintext,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DecryptDocStreamResp) Descriptor

func (*DecryptDocStreamResp) Descriptor() ([]byte, []int)

func (*DecryptDocStreamResp) GetDocID

func (m *DecryptDocStreamResp) GetDocID() string

func (*DecryptDocStreamResp) GetPlaintext

func (m *DecryptDocStreamResp) GetPlaintext() []byte

func (*DecryptDocStreamResp) ProtoMessage

func (*DecryptDocStreamResp) ProtoMessage()

func (*DecryptDocStreamResp) Reset

func (m *DecryptDocStreamResp) Reset()

func (*DecryptDocStreamResp) String

func (m *DecryptDocStreamResp) String() string

func (*DecryptDocStreamResp) XXX_DiscardUnknown

func (m *DecryptDocStreamResp) XXX_DiscardUnknown()

func (*DecryptDocStreamResp) XXX_Marshal

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

func (*DecryptDocStreamResp) XXX_Merge

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

func (*DecryptDocStreamResp) XXX_Size

func (m *DecryptDocStreamResp) XXX_Size() int

func (*DecryptDocStreamResp) XXX_Unmarshal

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

type DemoteUserRequest

type DemoteUserRequest struct {
	// The ID of the user to demote.
	UserID               string   `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DemoteUserRequest) Descriptor

func (*DemoteUserRequest) Descriptor() ([]byte, []int)

func (*DemoteUserRequest) GetUserID

func (m *DemoteUserRequest) GetUserID() string

func (*DemoteUserRequest) ProtoMessage

func (*DemoteUserRequest) ProtoMessage()

func (*DemoteUserRequest) Reset

func (m *DemoteUserRequest) Reset()

func (*DemoteUserRequest) String

func (m *DemoteUserRequest) String() string

func (*DemoteUserRequest) XXX_DiscardUnknown

func (m *DemoteUserRequest) XXX_DiscardUnknown()

func (*DemoteUserRequest) XXX_Marshal

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

func (*DemoteUserRequest) XXX_Merge

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

func (*DemoteUserRequest) XXX_Size

func (m *DemoteUserRequest) XXX_Size() int

func (*DemoteUserRequest) XXX_Unmarshal

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

type DemoteUserResponse

type DemoteUserResponse struct {
	// Whether the demotion was successful.
	Success              bool     `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DemoteUserResponse) Descriptor

func (*DemoteUserResponse) Descriptor() ([]byte, []int)

func (*DemoteUserResponse) GetSuccess

func (m *DemoteUserResponse) GetSuccess() bool

func (*DemoteUserResponse) ProtoMessage

func (*DemoteUserResponse) ProtoMessage()

func (*DemoteUserResponse) Reset

func (m *DemoteUserResponse) Reset()

func (*DemoteUserResponse) String

func (m *DemoteUserResponse) String() string

func (*DemoteUserResponse) XXX_DiscardUnknown

func (m *DemoteUserResponse) XXX_DiscardUnknown()

func (*DemoteUserResponse) XXX_Marshal

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

func (*DemoteUserResponse) XXX_Merge

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

func (*DemoteUserResponse) XXX_Size

func (m *DemoteUserResponse) XXX_Size() int

func (*DemoteUserResponse) XXX_Unmarshal

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

type DocumentResult

type DocumentResult struct {
	// The document ID that contains the query terms.
	DocID string `protobuf:"bytes,1,opt,name=docID,proto3" json:"docID,omitempty"`
	// The score of the search result.
	Score                float64  `protobuf:"fixed64,2,opt,name=score,proto3" json:"score,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DocumentResult) Descriptor

func (*DocumentResult) Descriptor() ([]byte, []int)

func (*DocumentResult) GetDocID

func (m *DocumentResult) GetDocID() string

func (*DocumentResult) GetScore

func (m *DocumentResult) GetScore() float64

func (*DocumentResult) ProtoMessage

func (*DocumentResult) ProtoMessage()

func (*DocumentResult) Reset

func (m *DocumentResult) Reset()

func (*DocumentResult) String

func (m *DocumentResult) String() string

func (*DocumentResult) XXX_DiscardUnknown

func (m *DocumentResult) XXX_DiscardUnknown()

func (*DocumentResult) XXX_Marshal

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

func (*DocumentResult) XXX_Merge

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

func (*DocumentResult) XXX_Size

func (m *DocumentResult) XXX_Size() int

func (*DocumentResult) XXX_Unmarshal

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

type Documents

type Documents struct {
	Cost                 int32    `protobuf:"varint,1,opt,name=cost,proto3" json:"cost,omitempty"`
	Size                 float64  `protobuf:"fixed64,2,opt,name=size,proto3" json:"size,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Documents) Descriptor

func (*Documents) Descriptor() ([]byte, []int)

func (*Documents) GetCost

func (m *Documents) GetCost() int32

func (*Documents) GetSize

func (m *Documents) GetSize() float64

func (*Documents) ProtoMessage

func (*Documents) ProtoMessage()

func (*Documents) Reset

func (m *Documents) Reset()

func (*Documents) String

func (m *Documents) String() string

func (*Documents) XXX_DiscardUnknown

func (m *Documents) XXX_DiscardUnknown()

func (*Documents) XXX_Marshal

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

func (*Documents) XXX_Merge

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

func (*Documents) XXX_Size

func (m *Documents) XXX_Size() int

func (*Documents) XXX_Unmarshal

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

type DownloadDocReq

type DownloadDocReq struct {
	// The ID of the document to download.
	DocID                string   `protobuf:"bytes,1,opt,name=docID,proto3" json:"docID,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DownloadDocReq) Descriptor

func (*DownloadDocReq) Descriptor() ([]byte, []int)

func (*DownloadDocReq) GetDocID

func (m *DownloadDocReq) GetDocID() string

func (*DownloadDocReq) ProtoMessage

func (*DownloadDocReq) ProtoMessage()

func (*DownloadDocReq) Reset

func (m *DownloadDocReq) Reset()

func (*DownloadDocReq) String

func (m *DownloadDocReq) String() string

func (*DownloadDocReq) XXX_DiscardUnknown

func (m *DownloadDocReq) XXX_DiscardUnknown()

func (*DownloadDocReq) XXX_Marshal

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

func (*DownloadDocReq) XXX_Merge

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

func (*DownloadDocReq) XXX_Size

func (m *DownloadDocReq) XXX_Size() int

func (*DownloadDocReq) XXX_Unmarshal

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

type DownloadDocResp

type DownloadDocResp struct {
	// The ID of the document downloaded.
	DocID string `protobuf:"bytes,1,opt,name=docID,proto3" json:"docID,omitempty"`
	// The decrypted data of the downloaded document.
	Plaintext            string   `protobuf:"bytes,2,opt,name=plaintext,proto3" json:"plaintext,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DownloadDocResp) Descriptor

func (*DownloadDocResp) Descriptor() ([]byte, []int)

func (*DownloadDocResp) GetDocID

func (m *DownloadDocResp) GetDocID() string

func (*DownloadDocResp) GetPlaintext

func (m *DownloadDocResp) GetPlaintext() string

func (*DownloadDocResp) ProtoMessage

func (*DownloadDocResp) ProtoMessage()

func (*DownloadDocResp) Reset

func (m *DownloadDocResp) Reset()

func (*DownloadDocResp) String

func (m *DownloadDocResp) String() string

func (*DownloadDocResp) XXX_DiscardUnknown

func (m *DownloadDocResp) XXX_DiscardUnknown()

func (*DownloadDocResp) XXX_Marshal

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

func (*DownloadDocResp) XXX_Merge

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

func (*DownloadDocResp) XXX_Size

func (m *DownloadDocResp) XXX_Size() int

func (*DownloadDocResp) XXX_Unmarshal

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

type DownloadDocStreamReq

type DownloadDocStreamReq struct {
	// The ID of the document to download.
	DocID                string   `protobuf:"bytes,1,opt,name=docID,proto3" json:"docID,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DownloadDocStreamReq) Descriptor

func (*DownloadDocStreamReq) Descriptor() ([]byte, []int)

func (*DownloadDocStreamReq) GetDocID

func (m *DownloadDocStreamReq) GetDocID() string

func (*DownloadDocStreamReq) ProtoMessage

func (*DownloadDocStreamReq) ProtoMessage()

func (*DownloadDocStreamReq) Reset

func (m *DownloadDocStreamReq) Reset()

func (*DownloadDocStreamReq) String

func (m *DownloadDocStreamReq) String() string

func (*DownloadDocStreamReq) XXX_DiscardUnknown

func (m *DownloadDocStreamReq) XXX_DiscardUnknown()

func (*DownloadDocStreamReq) XXX_Marshal

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

func (*DownloadDocStreamReq) XXX_Merge

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

func (*DownloadDocStreamReq) XXX_Size

func (m *DownloadDocStreamReq) XXX_Size() int

func (*DownloadDocStreamReq) XXX_Unmarshal

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

type DownloadDocStreamResp

type DownloadDocStreamResp struct {
	// The ID of the document downloaded.
	DocID string `protobuf:"bytes,1,opt,name=docID,proto3" json:"docID,omitempty"`
	// The decrypted data of the document.
	Plaintext            []byte   `protobuf:"bytes,2,opt,name=plaintext,proto3" json:"plaintext,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DownloadDocStreamResp) Descriptor

func (*DownloadDocStreamResp) Descriptor() ([]byte, []int)

func (*DownloadDocStreamResp) GetDocID

func (m *DownloadDocStreamResp) GetDocID() string

func (*DownloadDocStreamResp) GetPlaintext

func (m *DownloadDocStreamResp) GetPlaintext() []byte

func (*DownloadDocStreamResp) ProtoMessage

func (*DownloadDocStreamResp) ProtoMessage()

func (*DownloadDocStreamResp) Reset

func (m *DownloadDocStreamResp) Reset()

func (*DownloadDocStreamResp) String

func (m *DownloadDocStreamResp) String() string

func (*DownloadDocStreamResp) XXX_DiscardUnknown

func (m *DownloadDocStreamResp) XXX_DiscardUnknown()

func (*DownloadDocStreamResp) XXX_Marshal

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

func (*DownloadDocStreamResp) XXX_Merge

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

func (*DownloadDocStreamResp) XXX_Size

func (m *DownloadDocStreamResp) XXX_Size() int

func (*DownloadDocStreamResp) XXX_Unmarshal

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

type EncryptDocReq

type EncryptDocReq struct {
	// The name of the document to encrypt.
	DocName string `protobuf:"bytes,1,opt,name=docName,proto3" json:"docName,omitempty"`
	// The data of the document to encrypt.
	Plaintext            string   `protobuf:"bytes,2,opt,name=plaintext,proto3" json:"plaintext,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*EncryptDocReq) Descriptor

func (*EncryptDocReq) Descriptor() ([]byte, []int)

func (*EncryptDocReq) GetDocName

func (m *EncryptDocReq) GetDocName() string

func (*EncryptDocReq) GetPlaintext

func (m *EncryptDocReq) GetPlaintext() string

func (*EncryptDocReq) ProtoMessage

func (*EncryptDocReq) ProtoMessage()

func (*EncryptDocReq) Reset

func (m *EncryptDocReq) Reset()

func (*EncryptDocReq) String

func (m *EncryptDocReq) String() string

func (*EncryptDocReq) XXX_DiscardUnknown

func (m *EncryptDocReq) XXX_DiscardUnknown()

func (*EncryptDocReq) XXX_Marshal

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

func (*EncryptDocReq) XXX_Merge

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

func (*EncryptDocReq) XXX_Size

func (m *EncryptDocReq) XXX_Size() int

func (*EncryptDocReq) XXX_Unmarshal

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

type EncryptDocResp

type EncryptDocResp struct {
	// The ID of the encrypted document.
	DocID string `protobuf:"bytes,1,opt,name=docID,proto3" json:"docID,omitempty"`
	// The encrypted data of the document.
	Ciphertext           string   `protobuf:"bytes,2,opt,name=ciphertext,proto3" json:"ciphertext,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*EncryptDocResp) Descriptor

func (*EncryptDocResp) Descriptor() ([]byte, []int)

func (*EncryptDocResp) GetCiphertext

func (m *EncryptDocResp) GetCiphertext() string

func (*EncryptDocResp) GetDocID

func (m *EncryptDocResp) GetDocID() string

func (*EncryptDocResp) ProtoMessage

func (*EncryptDocResp) ProtoMessage()

func (*EncryptDocResp) Reset

func (m *EncryptDocResp) Reset()

func (*EncryptDocResp) String

func (m *EncryptDocResp) String() string

func (*EncryptDocResp) XXX_DiscardUnknown

func (m *EncryptDocResp) XXX_DiscardUnknown()

func (*EncryptDocResp) XXX_Marshal

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

func (*EncryptDocResp) XXX_Merge

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

func (*EncryptDocResp) XXX_Size

func (m *EncryptDocResp) XXX_Size() int

func (*EncryptDocResp) XXX_Unmarshal

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

type EncryptDocStreamReq

type EncryptDocStreamReq struct {
	// Types that are valid to be assigned to NameOrData:
	//	*EncryptDocStreamReq_DocName
	//	*EncryptDocStreamReq_Plaintext
	NameOrData           isEncryptDocStreamReq_NameOrData `protobuf_oneof:"NameOrData"`
	XXX_NoUnkeyedLiteral struct{}                         `json:"-"`
	XXX_unrecognized     []byte                           `json:"-"`
	XXX_sizecache        int32                            `json:"-"`
}

func (*EncryptDocStreamReq) Descriptor

func (*EncryptDocStreamReq) Descriptor() ([]byte, []int)

func (*EncryptDocStreamReq) GetDocName

func (m *EncryptDocStreamReq) GetDocName() string

func (*EncryptDocStreamReq) GetNameOrData

func (m *EncryptDocStreamReq) GetNameOrData() isEncryptDocStreamReq_NameOrData

func (*EncryptDocStreamReq) GetPlaintext

func (m *EncryptDocStreamReq) GetPlaintext() []byte

func (*EncryptDocStreamReq) ProtoMessage

func (*EncryptDocStreamReq) ProtoMessage()

func (*EncryptDocStreamReq) Reset

func (m *EncryptDocStreamReq) Reset()

func (*EncryptDocStreamReq) String

func (m *EncryptDocStreamReq) String() string

func (*EncryptDocStreamReq) XXX_DiscardUnknown

func (m *EncryptDocStreamReq) XXX_DiscardUnknown()

func (*EncryptDocStreamReq) XXX_Marshal

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

func (*EncryptDocStreamReq) XXX_Merge

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

func (*EncryptDocStreamReq) XXX_OneofWrappers

func (*EncryptDocStreamReq) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*EncryptDocStreamReq) XXX_Size

func (m *EncryptDocStreamReq) XXX_Size() int

func (*EncryptDocStreamReq) XXX_Unmarshal

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

type EncryptDocStreamReq_DocName

type EncryptDocStreamReq_DocName struct {
	DocName string `protobuf:"bytes,1,opt,name=docName,proto3,oneof"`
}

type EncryptDocStreamReq_Plaintext

type EncryptDocStreamReq_Plaintext struct {
	Plaintext []byte `protobuf:"bytes,2,opt,name=plaintext,proto3,oneof"`
}

type EncryptDocStreamResp

type EncryptDocStreamResp struct {
	// The ID of the encrypted document.
	DocID string `protobuf:"bytes,1,opt,name=docID,proto3" json:"docID,omitempty"`
	// The encrypted data of the document.
	Ciphertext           []byte   `protobuf:"bytes,2,opt,name=ciphertext,proto3" json:"ciphertext,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*EncryptDocStreamResp) Descriptor

func (*EncryptDocStreamResp) Descriptor() ([]byte, []int)

func (*EncryptDocStreamResp) GetCiphertext

func (m *EncryptDocStreamResp) GetCiphertext() []byte

func (*EncryptDocStreamResp) GetDocID

func (m *EncryptDocStreamResp) GetDocID() string

func (*EncryptDocStreamResp) ProtoMessage

func (*EncryptDocStreamResp) ProtoMessage()

func (*EncryptDocStreamResp) Reset

func (m *EncryptDocStreamResp) Reset()

func (*EncryptDocStreamResp) String

func (m *EncryptDocStreamResp) String() string

func (*EncryptDocStreamResp) XXX_DiscardUnknown

func (m *EncryptDocStreamResp) XXX_DiscardUnknown()

func (*EncryptDocStreamResp) XXX_Marshal

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

func (*EncryptDocStreamResp) XXX_Merge

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

func (*EncryptDocStreamResp) XXX_Size

func (m *EncryptDocStreamResp) XXX_Size() int

func (*EncryptDocStreamResp) XXX_Unmarshal

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

type GetBillingDetailsRequest

type GetBillingDetailsRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetBillingDetailsRequest) Descriptor

func (*GetBillingDetailsRequest) Descriptor() ([]byte, []int)

func (*GetBillingDetailsRequest) ProtoMessage

func (*GetBillingDetailsRequest) ProtoMessage()

func (*GetBillingDetailsRequest) Reset

func (m *GetBillingDetailsRequest) Reset()

func (*GetBillingDetailsRequest) String

func (m *GetBillingDetailsRequest) String() string

func (*GetBillingDetailsRequest) XXX_DiscardUnknown

func (m *GetBillingDetailsRequest) XXX_DiscardUnknown()

func (*GetBillingDetailsRequest) XXX_Marshal

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

func (*GetBillingDetailsRequest) XXX_Merge

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

func (*GetBillingDetailsRequest) XXX_Size

func (m *GetBillingDetailsRequest) XXX_Size() int

func (*GetBillingDetailsRequest) XXX_Unmarshal

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

type GetBillingDetailsResponse

type GetBillingDetailsResponse struct {
	CurrentPeriod        *BillingPeriod `protobuf:"bytes,1,opt,name=currentPeriod,proto3" json:"currentPeriod,omitempty"`
	TotalCost            int32          `protobuf:"varint,2,opt,name=totalCost,proto3" json:"totalCost,omitempty"`
	Documents            *Documents     `protobuf:"bytes,3,opt,name=documents,proto3" json:"documents,omitempty"`
	Index                *Index         `protobuf:"bytes,4,opt,name=index,proto3" json:"index,omitempty"`
	Traffic              *Traffic       `protobuf:"bytes,5,opt,name=traffic,proto3" json:"traffic,omitempty"`
	NextPeriod           *BillingPeriod `protobuf:"bytes,6,opt,name=nextPeriod,proto3" json:"nextPeriod,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*GetBillingDetailsResponse) Descriptor

func (*GetBillingDetailsResponse) Descriptor() ([]byte, []int)

func (*GetBillingDetailsResponse) GetCurrentPeriod

func (m *GetBillingDetailsResponse) GetCurrentPeriod() *BillingPeriod

func (*GetBillingDetailsResponse) GetDocuments

func (m *GetBillingDetailsResponse) GetDocuments() *Documents

func (*GetBillingDetailsResponse) GetIndex

func (m *GetBillingDetailsResponse) GetIndex() *Index

func (*GetBillingDetailsResponse) GetNextPeriod

func (m *GetBillingDetailsResponse) GetNextPeriod() *BillingPeriod

func (*GetBillingDetailsResponse) GetTotalCost

func (m *GetBillingDetailsResponse) GetTotalCost() int32

func (*GetBillingDetailsResponse) GetTraffic

func (m *GetBillingDetailsResponse) GetTraffic() *Traffic

func (*GetBillingDetailsResponse) ProtoMessage

func (*GetBillingDetailsResponse) ProtoMessage()

func (*GetBillingDetailsResponse) Reset

func (m *GetBillingDetailsResponse) Reset()

func (*GetBillingDetailsResponse) String

func (m *GetBillingDetailsResponse) String() string

func (*GetBillingDetailsResponse) XXX_DiscardUnknown

func (m *GetBillingDetailsResponse) XXX_DiscardUnknown()

func (*GetBillingDetailsResponse) XXX_Marshal

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

func (*GetBillingDetailsResponse) XXX_Merge

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

func (*GetBillingDetailsResponse) XXX_Size

func (m *GetBillingDetailsResponse) XXX_Size() int

func (*GetBillingDetailsResponse) XXX_Unmarshal

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

type GetBillingPeriodRequest

type GetBillingPeriodRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetBillingPeriodRequest) Descriptor

func (*GetBillingPeriodRequest) Descriptor() ([]byte, []int)

func (*GetBillingPeriodRequest) ProtoMessage

func (*GetBillingPeriodRequest) ProtoMessage()

func (*GetBillingPeriodRequest) Reset

func (m *GetBillingPeriodRequest) Reset()

func (*GetBillingPeriodRequest) String

func (m *GetBillingPeriodRequest) String() string

func (*GetBillingPeriodRequest) XXX_DiscardUnknown

func (m *GetBillingPeriodRequest) XXX_DiscardUnknown()

func (*GetBillingPeriodRequest) XXX_Marshal

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

func (*GetBillingPeriodRequest) XXX_Merge

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

func (*GetBillingPeriodRequest) XXX_Size

func (m *GetBillingPeriodRequest) XXX_Size() int

func (*GetBillingPeriodRequest) XXX_Unmarshal

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

type GetBillingPeriodResponse

type GetBillingPeriodResponse struct {
	CurrentPeriod        *BillingPeriod `protobuf:"bytes,1,opt,name=currentPeriod,proto3" json:"currentPeriod,omitempty"`
	NextPeriod           *BillingPeriod `protobuf:"bytes,2,opt,name=nextPeriod,proto3" json:"nextPeriod,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*GetBillingPeriodResponse) Descriptor

func (*GetBillingPeriodResponse) Descriptor() ([]byte, []int)

func (*GetBillingPeriodResponse) GetCurrentPeriod

func (m *GetBillingPeriodResponse) GetCurrentPeriod() *BillingPeriod

func (*GetBillingPeriodResponse) GetNextPeriod

func (m *GetBillingPeriodResponse) GetNextPeriod() *BillingPeriod

func (*GetBillingPeriodResponse) ProtoMessage

func (*GetBillingPeriodResponse) ProtoMessage()

func (*GetBillingPeriodResponse) Reset

func (m *GetBillingPeriodResponse) Reset()

func (*GetBillingPeriodResponse) String

func (m *GetBillingPeriodResponse) String() string

func (*GetBillingPeriodResponse) XXX_DiscardUnknown

func (m *GetBillingPeriodResponse) XXX_DiscardUnknown()

func (*GetBillingPeriodResponse) XXX_Marshal

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

func (*GetBillingPeriodResponse) XXX_Merge

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

func (*GetBillingPeriodResponse) XXX_Size

func (m *GetBillingPeriodResponse) XXX_Size() int

func (*GetBillingPeriodResponse) XXX_Unmarshal

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

type GetConfigurationReq

type GetConfigurationReq struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetConfigurationReq) Descriptor

func (*GetConfigurationReq) Descriptor() ([]byte, []int)

func (*GetConfigurationReq) ProtoMessage

func (*GetConfigurationReq) ProtoMessage()

func (*GetConfigurationReq) Reset

func (m *GetConfigurationReq) Reset()

func (*GetConfigurationReq) String

func (m *GetConfigurationReq) String() string

func (*GetConfigurationReq) XXX_DiscardUnknown

func (m *GetConfigurationReq) XXX_DiscardUnknown()

func (*GetConfigurationReq) XXX_Marshal

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

func (*GetConfigurationReq) XXX_Merge

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

func (*GetConfigurationReq) XXX_Size

func (m *GetConfigurationReq) XXX_Size() int

func (*GetConfigurationReq) XXX_Unmarshal

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

type GetConfigurationResp

type GetConfigurationResp struct {
	Configuration        string   `protobuf:"bytes,1,opt,name=configuration,proto3" json:"configuration,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetConfigurationResp) Descriptor

func (*GetConfigurationResp) Descriptor() ([]byte, []int)

func (*GetConfigurationResp) GetConfiguration

func (m *GetConfigurationResp) GetConfiguration() string

func (*GetConfigurationResp) ProtoMessage

func (*GetConfigurationResp) ProtoMessage()

func (*GetConfigurationResp) Reset

func (m *GetConfigurationResp) Reset()

func (*GetConfigurationResp) String

func (m *GetConfigurationResp) String() string

func (*GetConfigurationResp) XXX_DiscardUnknown

func (m *GetConfigurationResp) XXX_DiscardUnknown()

func (*GetConfigurationResp) XXX_Marshal

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

func (*GetConfigurationResp) XXX_Merge

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

func (*GetConfigurationResp) XXX_Size

func (m *GetConfigurationResp) XXX_Size() int

func (*GetConfigurationResp) XXX_Unmarshal

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

type GetDocumentsSizeRequest

type GetDocumentsSizeRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetDocumentsSizeRequest) Descriptor

func (*GetDocumentsSizeRequest) Descriptor() ([]byte, []int)

func (*GetDocumentsSizeRequest) ProtoMessage

func (*GetDocumentsSizeRequest) ProtoMessage()

func (*GetDocumentsSizeRequest) Reset

func (m *GetDocumentsSizeRequest) Reset()

func (*GetDocumentsSizeRequest) String

func (m *GetDocumentsSizeRequest) String() string

func (*GetDocumentsSizeRequest) XXX_DiscardUnknown

func (m *GetDocumentsSizeRequest) XXX_DiscardUnknown()

func (*GetDocumentsSizeRequest) XXX_Marshal

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

func (*GetDocumentsSizeRequest) XXX_Merge

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

func (*GetDocumentsSizeRequest) XXX_Size

func (m *GetDocumentsSizeRequest) XXX_Size() int

func (*GetDocumentsSizeRequest) XXX_Unmarshal

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

type GetDocumentsSizeResponse

type GetDocumentsSizeResponse struct {
	// The size of the documents stored.
	Size                 uint64   `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetDocumentsSizeResponse) Descriptor

func (*GetDocumentsSizeResponse) Descriptor() ([]byte, []int)

func (*GetDocumentsSizeResponse) GetSize

func (m *GetDocumentsSizeResponse) GetSize() uint64

func (*GetDocumentsSizeResponse) ProtoMessage

func (*GetDocumentsSizeResponse) ProtoMessage()

func (*GetDocumentsSizeResponse) Reset

func (m *GetDocumentsSizeResponse) Reset()

func (*GetDocumentsSizeResponse) String

func (m *GetDocumentsSizeResponse) String() string

func (*GetDocumentsSizeResponse) XXX_DiscardUnknown

func (m *GetDocumentsSizeResponse) XXX_DiscardUnknown()

func (*GetDocumentsSizeResponse) XXX_Marshal

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

func (*GetDocumentsSizeResponse) XXX_Merge

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

func (*GetDocumentsSizeResponse) XXX_Size

func (m *GetDocumentsSizeResponse) XXX_Size() int

func (*GetDocumentsSizeResponse) XXX_Unmarshal

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

type GetIndexSizeRequest

type GetIndexSizeRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetIndexSizeRequest) Descriptor

func (*GetIndexSizeRequest) Descriptor() ([]byte, []int)

func (*GetIndexSizeRequest) ProtoMessage

func (*GetIndexSizeRequest) ProtoMessage()

func (*GetIndexSizeRequest) Reset

func (m *GetIndexSizeRequest) Reset()

func (*GetIndexSizeRequest) String

func (m *GetIndexSizeRequest) String() string

func (*GetIndexSizeRequest) XXX_DiscardUnknown

func (m *GetIndexSizeRequest) XXX_DiscardUnknown()

func (*GetIndexSizeRequest) XXX_Marshal

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

func (*GetIndexSizeRequest) XXX_Merge

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

func (*GetIndexSizeRequest) XXX_Size

func (m *GetIndexSizeRequest) XXX_Size() int

func (*GetIndexSizeRequest) XXX_Unmarshal

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

type GetIndexSizeResponse

type GetIndexSizeResponse struct {
	// The size of the index.
	Size                 int64    `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetIndexSizeResponse) Descriptor

func (*GetIndexSizeResponse) Descriptor() ([]byte, []int)

func (*GetIndexSizeResponse) GetSize

func (m *GetIndexSizeResponse) GetSize() int64

func (*GetIndexSizeResponse) ProtoMessage

func (*GetIndexSizeResponse) ProtoMessage()

func (*GetIndexSizeResponse) Reset

func (m *GetIndexSizeResponse) Reset()

func (*GetIndexSizeResponse) String

func (m *GetIndexSizeResponse) String() string

func (*GetIndexSizeResponse) XXX_DiscardUnknown

func (m *GetIndexSizeResponse) XXX_DiscardUnknown()

func (*GetIndexSizeResponse) XXX_Marshal

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

func (*GetIndexSizeResponse) XXX_Merge

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

func (*GetIndexSizeResponse) XXX_Size

func (m *GetIndexSizeResponse) XXX_Size() int

func (*GetIndexSizeResponse) XXX_Unmarshal

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

type Index

type Index struct {
	Cost                 int32    `protobuf:"varint,1,opt,name=cost,proto3" json:"cost,omitempty"`
	Size                 int64    `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Index) Descriptor

func (*Index) Descriptor() ([]byte, []int)

func (*Index) GetCost

func (m *Index) GetCost() int32

func (*Index) GetSize

func (m *Index) GetSize() int64

func (*Index) ProtoMessage

func (*Index) ProtoMessage()

func (*Index) Reset

func (m *Index) Reset()

func (*Index) String

func (m *Index) String() string

func (*Index) XXX_DiscardUnknown

func (m *Index) XXX_DiscardUnknown()

func (*Index) XXX_Marshal

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

func (*Index) XXX_Merge

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

func (*Index) XXX_Size

func (m *Index) XXX_Size() int

func (*Index) XXX_Unmarshal

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

type ListDocumentsRequest

type ListDocumentsRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListDocumentsRequest) Descriptor

func (*ListDocumentsRequest) Descriptor() ([]byte, []int)

func (*ListDocumentsRequest) ProtoMessage

func (*ListDocumentsRequest) ProtoMessage()

func (*ListDocumentsRequest) Reset

func (m *ListDocumentsRequest) Reset()

func (*ListDocumentsRequest) String

func (m *ListDocumentsRequest) String() string

func (*ListDocumentsRequest) XXX_DiscardUnknown

func (m *ListDocumentsRequest) XXX_DiscardUnknown()

func (*ListDocumentsRequest) XXX_Marshal

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

func (*ListDocumentsRequest) XXX_Merge

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

func (*ListDocumentsRequest) XXX_Size

func (m *ListDocumentsRequest) XXX_Size() int

func (*ListDocumentsRequest) XXX_Unmarshal

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

type ListDocumentsResponse

type ListDocumentsResponse struct {
	// The list of documents.
	Documents            []*ListDocumentsResponse_Document `protobuf:"bytes,1,rep,name=documents,proto3" json:"documents,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                          `json:"-"`
	XXX_unrecognized     []byte                            `json:"-"`
	XXX_sizecache        int32                             `json:"-"`
}

func (*ListDocumentsResponse) Descriptor

func (*ListDocumentsResponse) Descriptor() ([]byte, []int)

func (*ListDocumentsResponse) GetDocuments

func (*ListDocumentsResponse) ProtoMessage

func (*ListDocumentsResponse) ProtoMessage()

func (*ListDocumentsResponse) Reset

func (m *ListDocumentsResponse) Reset()

func (*ListDocumentsResponse) String

func (m *ListDocumentsResponse) String() string

func (*ListDocumentsResponse) XXX_DiscardUnknown

func (m *ListDocumentsResponse) XXX_DiscardUnknown()

func (*ListDocumentsResponse) XXX_Marshal

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

func (*ListDocumentsResponse) XXX_Merge

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

func (*ListDocumentsResponse) XXX_Size

func (m *ListDocumentsResponse) XXX_Size() int

func (*ListDocumentsResponse) XXX_Unmarshal

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

type ListDocumentsResponse_Document

type ListDocumentsResponse_Document struct {
	// The document ID.
	DocID string `protobuf:"bytes,1,opt,name=docID,proto3" json:"docID,omitempty"`
	// The document name.
	DocName string `protobuf:"bytes,2,opt,name=docName,proto3" json:"docName,omitempty"`
	// The document size.
	Size                 uint64   `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListDocumentsResponse_Document) Descriptor

func (*ListDocumentsResponse_Document) Descriptor() ([]byte, []int)

func (*ListDocumentsResponse_Document) GetDocID

func (m *ListDocumentsResponse_Document) GetDocID() string

func (*ListDocumentsResponse_Document) GetDocName

func (m *ListDocumentsResponse_Document) GetDocName() string

func (*ListDocumentsResponse_Document) GetSize

func (*ListDocumentsResponse_Document) ProtoMessage

func (*ListDocumentsResponse_Document) ProtoMessage()

func (*ListDocumentsResponse_Document) Reset

func (m *ListDocumentsResponse_Document) Reset()

func (*ListDocumentsResponse_Document) String

func (*ListDocumentsResponse_Document) XXX_DiscardUnknown

func (m *ListDocumentsResponse_Document) XXX_DiscardUnknown()

func (*ListDocumentsResponse_Document) XXX_Marshal

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

func (*ListDocumentsResponse_Document) XXX_Merge

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

func (*ListDocumentsResponse_Document) XXX_Size

func (m *ListDocumentsResponse_Document) XXX_Size() int

func (*ListDocumentsResponse_Document) XXX_Unmarshal

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

type ListUsersRequest

type ListUsersRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListUsersRequest) Descriptor

func (*ListUsersRequest) Descriptor() ([]byte, []int)

func (*ListUsersRequest) ProtoMessage

func (*ListUsersRequest) ProtoMessage()

func (*ListUsersRequest) Reset

func (m *ListUsersRequest) Reset()

func (*ListUsersRequest) String

func (m *ListUsersRequest) String() string

func (*ListUsersRequest) XXX_DiscardUnknown

func (m *ListUsersRequest) XXX_DiscardUnknown()

func (*ListUsersRequest) XXX_Marshal

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

func (*ListUsersRequest) XXX_Merge

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

func (*ListUsersRequest) XXX_Size

func (m *ListUsersRequest) XXX_Size() int

func (*ListUsersRequest) XXX_Unmarshal

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

type ListUsersResponse

type ListUsersResponse struct {
	// The list of users in the organization.
	OrgUsers             []*ListUsersResponse_OrgUser `protobuf:"bytes,1,rep,name=orgUsers,proto3" json:"orgUsers,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
	XXX_unrecognized     []byte                       `json:"-"`
	XXX_sizecache        int32                        `json:"-"`
}

func (*ListUsersResponse) Descriptor

func (*ListUsersResponse) Descriptor() ([]byte, []int)

func (*ListUsersResponse) GetOrgUsers

func (m *ListUsersResponse) GetOrgUsers() []*ListUsersResponse_OrgUser

func (*ListUsersResponse) ProtoMessage

func (*ListUsersResponse) ProtoMessage()

func (*ListUsersResponse) Reset

func (m *ListUsersResponse) Reset()

func (*ListUsersResponse) String

func (m *ListUsersResponse) String() string

func (*ListUsersResponse) XXX_DiscardUnknown

func (m *ListUsersResponse) XXX_DiscardUnknown()

func (*ListUsersResponse) XXX_Marshal

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

func (*ListUsersResponse) XXX_Merge

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

func (*ListUsersResponse) XXX_Size

func (m *ListUsersResponse) XXX_Size() int

func (*ListUsersResponse) XXX_Unmarshal

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

type ListUsersResponse_OrgUser

type ListUsersResponse_OrgUser struct {
	// The name of the user.
	UserName string `protobuf:"bytes,1,opt,name=userName,proto3" json:"userName,omitempty"`
	// The ID of the user.
	UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID,omitempty"`
	// Whether the user is an administrator.
	IsAdmin              bool     `protobuf:"varint,3,opt,name=isAdmin,proto3" json:"isAdmin,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListUsersResponse_OrgUser) Descriptor

func (*ListUsersResponse_OrgUser) Descriptor() ([]byte, []int)

func (*ListUsersResponse_OrgUser) GetIsAdmin

func (m *ListUsersResponse_OrgUser) GetIsAdmin() bool

func (*ListUsersResponse_OrgUser) GetUserID

func (m *ListUsersResponse_OrgUser) GetUserID() string

func (*ListUsersResponse_OrgUser) GetUserName

func (m *ListUsersResponse_OrgUser) GetUserName() string

func (*ListUsersResponse_OrgUser) ProtoMessage

func (*ListUsersResponse_OrgUser) ProtoMessage()

func (*ListUsersResponse_OrgUser) Reset

func (m *ListUsersResponse_OrgUser) Reset()

func (*ListUsersResponse_OrgUser) String

func (m *ListUsersResponse_OrgUser) String() string

func (*ListUsersResponse_OrgUser) XXX_DiscardUnknown

func (m *ListUsersResponse_OrgUser) XXX_DiscardUnknown()

func (*ListUsersResponse_OrgUser) XXX_Marshal

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

func (*ListUsersResponse_OrgUser) XXX_Merge

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

func (*ListUsersResponse_OrgUser) XXX_Size

func (m *ListUsersResponse_OrgUser) XXX_Size() int

func (*ListUsersResponse_OrgUser) XXX_Unmarshal

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

type LoginRequest

type LoginRequest struct {
	// The ID of the user to login as.
	UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
	// The password of the user.
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// The ID of the organization.
	OrgID                string   `protobuf:"bytes,3,opt,name=orgID,proto3" json:"orgID,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LoginRequest) Descriptor

func (*LoginRequest) Descriptor() ([]byte, []int)

func (*LoginRequest) GetOrgID

func (m *LoginRequest) GetOrgID() string

func (*LoginRequest) GetPassword

func (m *LoginRequest) GetPassword() string

func (*LoginRequest) GetUserID

func (m *LoginRequest) GetUserID() string

func (*LoginRequest) ProtoMessage

func (*LoginRequest) ProtoMessage()

func (*LoginRequest) Reset

func (m *LoginRequest) Reset()

func (*LoginRequest) String

func (m *LoginRequest) String() string

func (*LoginRequest) XXX_DiscardUnknown

func (m *LoginRequest) XXX_DiscardUnknown()

func (*LoginRequest) XXX_Marshal

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

func (*LoginRequest) XXX_Merge

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

func (*LoginRequest) XXX_Size

func (m *LoginRequest) XXX_Size() int

func (*LoginRequest) XXX_Unmarshal

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

type LoginResponse

type LoginResponse struct {
	// The JWT token to be used for all APIs that require authentication.
	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 (*LoginResponse) Descriptor

func (*LoginResponse) Descriptor() ([]byte, []int)

func (*LoginResponse) GetToken

func (m *LoginResponse) GetToken() string

func (*LoginResponse) ProtoMessage

func (*LoginResponse) ProtoMessage()

func (*LoginResponse) Reset

func (m *LoginResponse) Reset()

func (*LoginResponse) String

func (m *LoginResponse) String() string

func (*LoginResponse) XXX_DiscardUnknown

func (m *LoginResponse) XXX_DiscardUnknown()

func (*LoginResponse) XXX_Marshal

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

func (*LoginResponse) XXX_Merge

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

func (*LoginResponse) XXX_Size

func (m *LoginResponse) XXX_Size() int

func (*LoginResponse) XXX_Unmarshal

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

type LogoutRequest

type LogoutRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LogoutRequest) Descriptor

func (*LogoutRequest) Descriptor() ([]byte, []int)

func (*LogoutRequest) ProtoMessage

func (*LogoutRequest) ProtoMessage()

func (*LogoutRequest) Reset

func (m *LogoutRequest) Reset()

func (*LogoutRequest) String

func (m *LogoutRequest) String() string

func (*LogoutRequest) XXX_DiscardUnknown

func (m *LogoutRequest) XXX_DiscardUnknown()

func (*LogoutRequest) XXX_Marshal

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

func (*LogoutRequest) XXX_Merge

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

func (*LogoutRequest) XXX_Size

func (m *LogoutRequest) XXX_Size() int

func (*LogoutRequest) XXX_Unmarshal

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

type LogoutResponse

type LogoutResponse struct {
	// The logout status.
	Status               string   `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LogoutResponse) Descriptor

func (*LogoutResponse) Descriptor() ([]byte, []int)

func (*LogoutResponse) GetStatus

func (m *LogoutResponse) GetStatus() string

func (*LogoutResponse) ProtoMessage

func (*LogoutResponse) ProtoMessage()

func (*LogoutResponse) Reset

func (m *LogoutResponse) Reset()

func (*LogoutResponse) String

func (m *LogoutResponse) String() string

func (*LogoutResponse) XXX_DiscardUnknown

func (m *LogoutResponse) XXX_DiscardUnknown()

func (*LogoutResponse) XXX_Marshal

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

func (*LogoutResponse) XXX_Merge

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

func (*LogoutResponse) XXX_Size

func (m *LogoutResponse) XXX_Size() int

func (*LogoutResponse) XXX_Unmarshal

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

type PromoteUserRequest

type PromoteUserRequest struct {
	// The ID of the user to promote.
	UserID               string   `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PromoteUserRequest) Descriptor

func (*PromoteUserRequest) Descriptor() ([]byte, []int)

func (*PromoteUserRequest) GetUserID

func (m *PromoteUserRequest) GetUserID() string

func (*PromoteUserRequest) ProtoMessage

func (*PromoteUserRequest) ProtoMessage()

func (*PromoteUserRequest) Reset

func (m *PromoteUserRequest) Reset()

func (*PromoteUserRequest) String

func (m *PromoteUserRequest) String() string

func (*PromoteUserRequest) XXX_DiscardUnknown

func (m *PromoteUserRequest) XXX_DiscardUnknown()

func (*PromoteUserRequest) XXX_Marshal

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

func (*PromoteUserRequest) XXX_Merge

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

func (*PromoteUserRequest) XXX_Size

func (m *PromoteUserRequest) XXX_Size() int

func (*PromoteUserRequest) XXX_Unmarshal

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

type PromoteUserResponse

type PromoteUserResponse struct {
	// Whether the promotion was successful.
	Success              bool     `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PromoteUserResponse) Descriptor

func (*PromoteUserResponse) Descriptor() ([]byte, []int)

func (*PromoteUserResponse) GetSuccess

func (m *PromoteUserResponse) GetSuccess() bool

func (*PromoteUserResponse) ProtoMessage

func (*PromoteUserResponse) ProtoMessage()

func (*PromoteUserResponse) Reset

func (m *PromoteUserResponse) Reset()

func (*PromoteUserResponse) String

func (m *PromoteUserResponse) String() string

func (*PromoteUserResponse) XXX_DiscardUnknown

func (m *PromoteUserResponse) XXX_DiscardUnknown()

func (*PromoteUserResponse) XXX_Marshal

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

func (*PromoteUserResponse) XXX_Merge

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

func (*PromoteUserResponse) XXX_Size

func (m *PromoteUserResponse) XXX_Size() int

func (*PromoteUserResponse) XXX_Unmarshal

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

type RegisterOrganizationRequest

type RegisterOrganizationRequest struct {
	// The name of the organization. This value has to be unique.
	OrgName string `protobuf:"bytes,1,opt,name=orgName,proto3" json:"orgName,omitempty"`
	// The address of the organization. This is optional.
	OrgAddr string `protobuf:"bytes,2,opt,name=orgAddr,proto3" json:"orgAddr,omitempty"`
	// The administrator username. If the administrator does not exist,
	// it will be created.
	UserName string `protobuf:"bytes,3,opt,name=userName,proto3" json:"userName,omitempty"`
	// The administrator password.
	Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"`
	// The administrator email. This serves as the unique ID of
	// the administrator user.
	Email string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"`
	// The list of sharable organization IDs. The users in this
	// organization can only share documents to other users in
	// the organizations in the sharableOrgs list.
	SharableOrgs []string `protobuf:"bytes,6,rep,name=sharableOrgs,proto3" json:"sharableOrgs,omitempty"`
	// Enables the ability to "reshare" a document that was shared
	// to him/her to another user.
	MultiLevelShare bool `protobuf:"varint,7,opt,name=multiLevelShare,proto3" json:"multiLevelShare,omitempty"`
	// How was the organization registered (e.g. from "AWS Marketplace")
	Source string `protobuf:"bytes,8,opt,name=source,proto3" json:"source,omitempty"`
	// Any data related to registration from the source (in JSON)
	SourceData           string   `protobuf:"bytes,9,opt,name=sourceData,proto3" json:"sourceData,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RegisterOrganizationRequest) Descriptor

func (*RegisterOrganizationRequest) Descriptor() ([]byte, []int)

func (*RegisterOrganizationRequest) GetEmail

func (m *RegisterOrganizationRequest) GetEmail() string

func (*RegisterOrganizationRequest) GetMultiLevelShare

func (m *RegisterOrganizationRequest) GetMultiLevelShare() bool

func (*RegisterOrganizationRequest) GetOrgAddr

func (m *RegisterOrganizationRequest) GetOrgAddr() string

func (*RegisterOrganizationRequest) GetOrgName

func (m *RegisterOrganizationRequest) GetOrgName() string

func (*RegisterOrganizationRequest) GetPassword

func (m *RegisterOrganizationRequest) GetPassword() string

func (*RegisterOrganizationRequest) GetSharableOrgs

func (m *RegisterOrganizationRequest) GetSharableOrgs() []string

func (*RegisterOrganizationRequest) GetSource

func (m *RegisterOrganizationRequest) GetSource() string

func (*RegisterOrganizationRequest) GetSourceData

func (m *RegisterOrganizationRequest) GetSourceData() string

func (*RegisterOrganizationRequest) GetUserName

func (m *RegisterOrganizationRequest) GetUserName() string

func (*RegisterOrganizationRequest) ProtoMessage

func (*RegisterOrganizationRequest) ProtoMessage()

func (*RegisterOrganizationRequest) Reset

func (m *RegisterOrganizationRequest) Reset()

func (*RegisterOrganizationRequest) String

func (m *RegisterOrganizationRequest) String() string

func (*RegisterOrganizationRequest) XXX_DiscardUnknown

func (m *RegisterOrganizationRequest) XXX_DiscardUnknown()

func (*RegisterOrganizationRequest) XXX_Marshal

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

func (*RegisterOrganizationRequest) XXX_Merge

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

func (*RegisterOrganizationRequest) XXX_Size

func (m *RegisterOrganizationRequest) XXX_Size() int

func (*RegisterOrganizationRequest) XXX_Unmarshal

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

type RegisterOrganizationResponse

type RegisterOrganizationResponse struct {
	// The ID of the created organization. This is the unique ID to
	// use on future operation with the organization.
	OrgID string `protobuf:"bytes,1,opt,name=orgID,proto3" json:"orgID,omitempty"`
	// The newly created unique administrator user ID.
	UserID               string   `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RegisterOrganizationResponse) Descriptor

func (*RegisterOrganizationResponse) Descriptor() ([]byte, []int)

func (*RegisterOrganizationResponse) GetOrgID

func (m *RegisterOrganizationResponse) GetOrgID() string

func (*RegisterOrganizationResponse) GetUserID

func (m *RegisterOrganizationResponse) GetUserID() string

func (*RegisterOrganizationResponse) ProtoMessage

func (*RegisterOrganizationResponse) ProtoMessage()

func (*RegisterOrganizationResponse) Reset

func (m *RegisterOrganizationResponse) Reset()

func (*RegisterOrganizationResponse) String

func (*RegisterOrganizationResponse) XXX_DiscardUnknown

func (m *RegisterOrganizationResponse) XXX_DiscardUnknown()

func (*RegisterOrganizationResponse) XXX_Marshal

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

func (*RegisterOrganizationResponse) XXX_Merge

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

func (*RegisterOrganizationResponse) XXX_Size

func (m *RegisterOrganizationResponse) XXX_Size() int

func (*RegisterOrganizationResponse) XXX_Unmarshal

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

type RegisterUserRequest

type RegisterUserRequest struct {
	// The new username. If the user does not exist, it will be created.
	UserName string `protobuf:"bytes,1,opt,name=userName,proto3" json:"userName,omitempty"`
	// The user password.
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// The user email. This serves as the unique ID of the user.
	Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
	// Whether this new user is an administrator of the organization.
	Admin                bool     `protobuf:"varint,4,opt,name=admin,proto3" json:"admin,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RegisterUserRequest) Descriptor

func (*RegisterUserRequest) Descriptor() ([]byte, []int)

func (*RegisterUserRequest) GetAdmin

func (m *RegisterUserRequest) GetAdmin() bool

func (*RegisterUserRequest) GetEmail

func (m *RegisterUserRequest) GetEmail() string

func (*RegisterUserRequest) GetPassword

func (m *RegisterUserRequest) GetPassword() string

func (*RegisterUserRequest) GetUserName

func (m *RegisterUserRequest) GetUserName() string

func (*RegisterUserRequest) ProtoMessage

func (*RegisterUserRequest) ProtoMessage()

func (*RegisterUserRequest) Reset

func (m *RegisterUserRequest) Reset()

func (*RegisterUserRequest) String

func (m *RegisterUserRequest) String() string

func (*RegisterUserRequest) XXX_DiscardUnknown

func (m *RegisterUserRequest) XXX_DiscardUnknown()

func (*RegisterUserRequest) XXX_Marshal

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

func (*RegisterUserRequest) XXX_Merge

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

func (*RegisterUserRequest) XXX_Size

func (m *RegisterUserRequest) XXX_Size() int

func (*RegisterUserRequest) XXX_Unmarshal

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

type RegisterUserResponse

type RegisterUserResponse struct {
	// The newly added unique user ID.
	UserID               string   `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RegisterUserResponse) Descriptor

func (*RegisterUserResponse) Descriptor() ([]byte, []int)

func (*RegisterUserResponse) GetUserID

func (m *RegisterUserResponse) GetUserID() string

func (*RegisterUserResponse) ProtoMessage

func (*RegisterUserResponse) ProtoMessage()

func (*RegisterUserResponse) Reset

func (m *RegisterUserResponse) Reset()

func (*RegisterUserResponse) String

func (m *RegisterUserResponse) String() string

func (*RegisterUserResponse) XXX_DiscardUnknown

func (m *RegisterUserResponse) XXX_DiscardUnknown()

func (*RegisterUserResponse) XXX_Marshal

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

func (*RegisterUserResponse) XXX_Merge

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

func (*RegisterUserResponse) XXX_Size

func (m *RegisterUserResponse) XXX_Size() int

func (*RegisterUserResponse) XXX_Unmarshal

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

type RemoveDocumentRequest

type RemoveDocumentRequest struct {
	// The ID of the document to remove.
	DocID                string   `protobuf:"bytes,1,opt,name=docID,proto3" json:"docID,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RemoveDocumentRequest) Descriptor

func (*RemoveDocumentRequest) Descriptor() ([]byte, []int)

func (*RemoveDocumentRequest) GetDocID

func (m *RemoveDocumentRequest) GetDocID() string

func (*RemoveDocumentRequest) ProtoMessage

func (*RemoveDocumentRequest) ProtoMessage()

func (*RemoveDocumentRequest) Reset

func (m *RemoveDocumentRequest) Reset()

func (*RemoveDocumentRequest) String

func (m *RemoveDocumentRequest) String() string

func (*RemoveDocumentRequest) XXX_DiscardUnknown

func (m *RemoveDocumentRequest) XXX_DiscardUnknown()

func (*RemoveDocumentRequest) XXX_Marshal

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

func (*RemoveDocumentRequest) XXX_Merge

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

func (*RemoveDocumentRequest) XXX_Size

func (m *RemoveDocumentRequest) XXX_Size() int

func (*RemoveDocumentRequest) XXX_Unmarshal

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

type RemoveDocumentResponse

type RemoveDocumentResponse struct {
	// Whether the document removal was successful.
	Status               bool     `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RemoveDocumentResponse) Descriptor

func (*RemoveDocumentResponse) Descriptor() ([]byte, []int)

func (*RemoveDocumentResponse) GetStatus

func (m *RemoveDocumentResponse) GetStatus() bool

func (*RemoveDocumentResponse) ProtoMessage

func (*RemoveDocumentResponse) ProtoMessage()

func (*RemoveDocumentResponse) Reset

func (m *RemoveDocumentResponse) Reset()

func (*RemoveDocumentResponse) String

func (m *RemoveDocumentResponse) String() string

func (*RemoveDocumentResponse) XXX_DiscardUnknown

func (m *RemoveDocumentResponse) XXX_DiscardUnknown()

func (*RemoveDocumentResponse) XXX_Marshal

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

func (*RemoveDocumentResponse) XXX_Merge

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

func (*RemoveDocumentResponse) XXX_Size

func (m *RemoveDocumentResponse) XXX_Size() int

func (*RemoveDocumentResponse) XXX_Unmarshal

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

type RemoveOrganizationRequest

type RemoveOrganizationRequest struct {
	// Whether to force removal of organization or not.
	Force                bool     `protobuf:"varint,1,opt,name=force,proto3" json:"force,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RemoveOrganizationRequest) Descriptor

func (*RemoveOrganizationRequest) Descriptor() ([]byte, []int)

func (*RemoveOrganizationRequest) GetForce

func (m *RemoveOrganizationRequest) GetForce() bool

func (*RemoveOrganizationRequest) ProtoMessage

func (*RemoveOrganizationRequest) ProtoMessage()

func (*RemoveOrganizationRequest) Reset

func (m *RemoveOrganizationRequest) Reset()

func (*RemoveOrganizationRequest) String

func (m *RemoveOrganizationRequest) String() string

func (*RemoveOrganizationRequest) XXX_DiscardUnknown

func (m *RemoveOrganizationRequest) XXX_DiscardUnknown()

func (*RemoveOrganizationRequest) XXX_Marshal

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

func (*RemoveOrganizationRequest) XXX_Merge

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

func (*RemoveOrganizationRequest) XXX_Size

func (m *RemoveOrganizationRequest) XXX_Size() int

func (*RemoveOrganizationRequest) XXX_Unmarshal

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

type RemoveOrganizationResponse

type RemoveOrganizationResponse struct {
	// Whether the removal was successful
	Success              bool     `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RemoveOrganizationResponse) Descriptor

func (*RemoveOrganizationResponse) Descriptor() ([]byte, []int)

func (*RemoveOrganizationResponse) GetSuccess

func (m *RemoveOrganizationResponse) GetSuccess() bool

func (*RemoveOrganizationResponse) ProtoMessage

func (*RemoveOrganizationResponse) ProtoMessage()

func (*RemoveOrganizationResponse) Reset

func (m *RemoveOrganizationResponse) Reset()

func (*RemoveOrganizationResponse) String

func (m *RemoveOrganizationResponse) String() string

func (*RemoveOrganizationResponse) XXX_DiscardUnknown

func (m *RemoveOrganizationResponse) XXX_DiscardUnknown()

func (*RemoveOrganizationResponse) XXX_Marshal

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

func (*RemoveOrganizationResponse) XXX_Merge

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

func (*RemoveOrganizationResponse) XXX_Size

func (m *RemoveOrganizationResponse) XXX_Size() int

func (*RemoveOrganizationResponse) XXX_Unmarshal

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

type RemoveSharableOrgRequest

type RemoveSharableOrgRequest struct {
	// The ID of the sharable org to remove.
	RemoveOrgID          string   `protobuf:"bytes,1,opt,name=removeOrgID,proto3" json:"removeOrgID,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RemoveSharableOrgRequest) Descriptor

func (*RemoveSharableOrgRequest) Descriptor() ([]byte, []int)

func (*RemoveSharableOrgRequest) GetRemoveOrgID

func (m *RemoveSharableOrgRequest) GetRemoveOrgID() string

func (*RemoveSharableOrgRequest) ProtoMessage

func (*RemoveSharableOrgRequest) ProtoMessage()

func (*RemoveSharableOrgRequest) Reset

func (m *RemoveSharableOrgRequest) Reset()

func (*RemoveSharableOrgRequest) String

func (m *RemoveSharableOrgRequest) String() string

func (*RemoveSharableOrgRequest) XXX_DiscardUnknown

func (m *RemoveSharableOrgRequest) XXX_DiscardUnknown()

func (*RemoveSharableOrgRequest) XXX_Marshal

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

func (*RemoveSharableOrgRequest) XXX_Merge

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

func (*RemoveSharableOrgRequest) XXX_Size

func (m *RemoveSharableOrgRequest) XXX_Size() int

func (*RemoveSharableOrgRequest) XXX_Unmarshal

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

type RemoveSharableOrgResponse

type RemoveSharableOrgResponse struct {
	// Whether the removal was successful
	Success              bool     `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RemoveSharableOrgResponse) Descriptor

func (*RemoveSharableOrgResponse) Descriptor() ([]byte, []int)

func (*RemoveSharableOrgResponse) GetSuccess

func (m *RemoveSharableOrgResponse) GetSuccess() bool

func (*RemoveSharableOrgResponse) ProtoMessage

func (*RemoveSharableOrgResponse) ProtoMessage()

func (*RemoveSharableOrgResponse) Reset

func (m *RemoveSharableOrgResponse) Reset()

func (*RemoveSharableOrgResponse) String

func (m *RemoveSharableOrgResponse) String() string

func (*RemoveSharableOrgResponse) XXX_DiscardUnknown

func (m *RemoveSharableOrgResponse) XXX_DiscardUnknown()

func (*RemoveSharableOrgResponse) XXX_Marshal

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

func (*RemoveSharableOrgResponse) XXX_Merge

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

func (*RemoveSharableOrgResponse) XXX_Size

func (m *RemoveSharableOrgResponse) XXX_Size() int

func (*RemoveSharableOrgResponse) XXX_Unmarshal

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

type RemoveUserRequest

type RemoveUserRequest struct {
	// The ID of the user to remove.
	UserID               string   `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RemoveUserRequest) Descriptor

func (*RemoveUserRequest) Descriptor() ([]byte, []int)

func (*RemoveUserRequest) GetUserID

func (m *RemoveUserRequest) GetUserID() string

func (*RemoveUserRequest) ProtoMessage

func (*RemoveUserRequest) ProtoMessage()

func (*RemoveUserRequest) Reset

func (m *RemoveUserRequest) Reset()

func (*RemoveUserRequest) String

func (m *RemoveUserRequest) String() string

func (*RemoveUserRequest) XXX_DiscardUnknown

func (m *RemoveUserRequest) XXX_DiscardUnknown()

func (*RemoveUserRequest) XXX_Marshal

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

func (*RemoveUserRequest) XXX_Merge

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

func (*RemoveUserRequest) XXX_Size

func (m *RemoveUserRequest) XXX_Size() int

func (*RemoveUserRequest) XXX_Unmarshal

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

type RemoveUserResponse

type RemoveUserResponse struct {
	// The count of the number of users removed
	Count                int64    `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RemoveUserResponse) Descriptor

func (*RemoveUserResponse) Descriptor() ([]byte, []int)

func (*RemoveUserResponse) GetCount

func (m *RemoveUserResponse) GetCount() int64

func (*RemoveUserResponse) ProtoMessage

func (*RemoveUserResponse) ProtoMessage()

func (*RemoveUserResponse) Reset

func (m *RemoveUserResponse) Reset()

func (*RemoveUserResponse) String

func (m *RemoveUserResponse) String() string

func (*RemoveUserResponse) XXX_DiscardUnknown

func (m *RemoveUserResponse) XXX_DiscardUnknown()

func (*RemoveUserResponse) XXX_Marshal

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

func (*RemoveUserResponse) XXX_Merge

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

func (*RemoveUserResponse) XXX_Size

func (m *RemoveUserResponse) XXX_Size() int

func (*RemoveUserResponse) XXX_Unmarshal

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

type SearchRequest

type SearchRequest struct {
	// The search query.
	Query                string   `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SearchRequest) Descriptor

func (*SearchRequest) Descriptor() ([]byte, []int)

func (*SearchRequest) GetQuery

func (m *SearchRequest) GetQuery() string

func (*SearchRequest) ProtoMessage

func (*SearchRequest) ProtoMessage()

func (*SearchRequest) Reset

func (m *SearchRequest) Reset()

func (*SearchRequest) String

func (m *SearchRequest) String() string

func (*SearchRequest) XXX_DiscardUnknown

func (m *SearchRequest) XXX_DiscardUnknown()

func (*SearchRequest) XXX_Marshal

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

func (*SearchRequest) XXX_Merge

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

func (*SearchRequest) XXX_Size

func (m *SearchRequest) XXX_Size() int

func (*SearchRequest) XXX_Unmarshal

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

type SearchResponse

type SearchResponse struct {
	// The search hits.
	Hits                 []*DocumentResult `protobuf:"bytes,1,rep,name=hits,proto3" json:"hits,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*SearchResponse) Descriptor

func (*SearchResponse) Descriptor() ([]byte, []int)

func (*SearchResponse) GetHits

func (m *SearchResponse) GetHits() []*DocumentResult

func (*SearchResponse) ProtoMessage

func (*SearchResponse) ProtoMessage()

func (*SearchResponse) Reset

func (m *SearchResponse) Reset()

func (*SearchResponse) String

func (m *SearchResponse) String() string

func (*SearchResponse) XXX_DiscardUnknown

func (m *SearchResponse) XXX_DiscardUnknown()

func (*SearchResponse) XXX_Marshal

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

func (*SearchResponse) XXX_Merge

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

func (*SearchResponse) XXX_Size

func (m *SearchResponse) XXX_Size() int

func (*SearchResponse) XXX_Unmarshal

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

type SetBillingPeriodRequest

type SetBillingPeriodRequest struct {
	Frequency            TimeInterval `protobuf:"varint,1,opt,name=frequency,proto3,enum=proto.TimeInterval" json:"frequency,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*SetBillingPeriodRequest) Descriptor

func (*SetBillingPeriodRequest) Descriptor() ([]byte, []int)

func (*SetBillingPeriodRequest) GetFrequency

func (m *SetBillingPeriodRequest) GetFrequency() TimeInterval

func (*SetBillingPeriodRequest) ProtoMessage

func (*SetBillingPeriodRequest) ProtoMessage()

func (*SetBillingPeriodRequest) Reset

func (m *SetBillingPeriodRequest) Reset()

func (*SetBillingPeriodRequest) String

func (m *SetBillingPeriodRequest) String() string

func (*SetBillingPeriodRequest) XXX_DiscardUnknown

func (m *SetBillingPeriodRequest) XXX_DiscardUnknown()

func (*SetBillingPeriodRequest) XXX_Marshal

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

func (*SetBillingPeriodRequest) XXX_Merge

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

func (*SetBillingPeriodRequest) XXX_Size

func (m *SetBillingPeriodRequest) XXX_Size() int

func (*SetBillingPeriodRequest) XXX_Unmarshal

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

type SetBillingPeriodResponse

type SetBillingPeriodResponse struct {
	CurrentPeriod        *BillingPeriod `protobuf:"bytes,1,opt,name=currentPeriod,proto3" json:"currentPeriod,omitempty"`
	NextPeriod           *BillingPeriod `protobuf:"bytes,2,opt,name=nextPeriod,proto3" json:"nextPeriod,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*SetBillingPeriodResponse) Descriptor

func (*SetBillingPeriodResponse) Descriptor() ([]byte, []int)

func (*SetBillingPeriodResponse) GetCurrentPeriod

func (m *SetBillingPeriodResponse) GetCurrentPeriod() *BillingPeriod

func (*SetBillingPeriodResponse) GetNextPeriod

func (m *SetBillingPeriodResponse) GetNextPeriod() *BillingPeriod

func (*SetBillingPeriodResponse) ProtoMessage

func (*SetBillingPeriodResponse) ProtoMessage()

func (*SetBillingPeriodResponse) Reset

func (m *SetBillingPeriodResponse) Reset()

func (*SetBillingPeriodResponse) String

func (m *SetBillingPeriodResponse) String() string

func (*SetBillingPeriodResponse) XXX_DiscardUnknown

func (m *SetBillingPeriodResponse) XXX_DiscardUnknown()

func (*SetBillingPeriodResponse) XXX_Marshal

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

func (*SetBillingPeriodResponse) XXX_Merge

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

func (*SetBillingPeriodResponse) XXX_Size

func (m *SetBillingPeriodResponse) XXX_Size() int

func (*SetBillingPeriodResponse) XXX_Unmarshal

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

type SetMultiLevelSharingRequest

type SetMultiLevelSharingRequest struct {
	// Whether or not to enable multi-level sharing
	Enable               bool     `protobuf:"varint,1,opt,name=enable,proto3" json:"enable,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SetMultiLevelSharingRequest) Descriptor

func (*SetMultiLevelSharingRequest) Descriptor() ([]byte, []int)

func (*SetMultiLevelSharingRequest) GetEnable

func (m *SetMultiLevelSharingRequest) GetEnable() bool

func (*SetMultiLevelSharingRequest) ProtoMessage

func (*SetMultiLevelSharingRequest) ProtoMessage()

func (*SetMultiLevelSharingRequest) Reset

func (m *SetMultiLevelSharingRequest) Reset()

func (*SetMultiLevelSharingRequest) String

func (m *SetMultiLevelSharingRequest) String() string

func (*SetMultiLevelSharingRequest) XXX_DiscardUnknown

func (m *SetMultiLevelSharingRequest) XXX_DiscardUnknown()

func (*SetMultiLevelSharingRequest) XXX_Marshal

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

func (*SetMultiLevelSharingRequest) XXX_Merge

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

func (*SetMultiLevelSharingRequest) XXX_Size

func (m *SetMultiLevelSharingRequest) XXX_Size() int

func (*SetMultiLevelSharingRequest) XXX_Unmarshal

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

type SetMultiLevelSharingResponse

type SetMultiLevelSharingResponse struct {
	// Whether the update was successful
	Success              bool     `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SetMultiLevelSharingResponse) Descriptor

func (*SetMultiLevelSharingResponse) Descriptor() ([]byte, []int)

func (*SetMultiLevelSharingResponse) GetSuccess

func (m *SetMultiLevelSharingResponse) GetSuccess() bool

func (*SetMultiLevelSharingResponse) ProtoMessage

func (*SetMultiLevelSharingResponse) ProtoMessage()

func (*SetMultiLevelSharingResponse) Reset

func (m *SetMultiLevelSharingResponse) Reset()

func (*SetMultiLevelSharingResponse) String

func (*SetMultiLevelSharingResponse) XXX_DiscardUnknown

func (m *SetMultiLevelSharingResponse) XXX_DiscardUnknown()

func (*SetMultiLevelSharingResponse) XXX_Marshal

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

func (*SetMultiLevelSharingResponse) XXX_Merge

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

func (*SetMultiLevelSharingResponse) XXX_Size

func (m *SetMultiLevelSharingResponse) XXX_Size() int

func (*SetMultiLevelSharingResponse) XXX_Unmarshal

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

type ShareDocumentRequest

type ShareDocumentRequest struct {
	// The ID of the document to share.
	DocID string `protobuf:"bytes,1,opt,name=docID,proto3" json:"docID,omitempty"`
	// The user ID to share it to.
	UserID               string   `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ShareDocumentRequest) Descriptor

func (*ShareDocumentRequest) Descriptor() ([]byte, []int)

func (*ShareDocumentRequest) GetDocID

func (m *ShareDocumentRequest) GetDocID() string

func (*ShareDocumentRequest) GetUserID

func (m *ShareDocumentRequest) GetUserID() string

func (*ShareDocumentRequest) ProtoMessage

func (*ShareDocumentRequest) ProtoMessage()

func (*ShareDocumentRequest) Reset

func (m *ShareDocumentRequest) Reset()

func (*ShareDocumentRequest) String

func (m *ShareDocumentRequest) String() string

func (*ShareDocumentRequest) XXX_DiscardUnknown

func (m *ShareDocumentRequest) XXX_DiscardUnknown()

func (*ShareDocumentRequest) XXX_Marshal

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

func (*ShareDocumentRequest) XXX_Merge

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

func (*ShareDocumentRequest) XXX_Size

func (m *ShareDocumentRequest) XXX_Size() int

func (*ShareDocumentRequest) XXX_Unmarshal

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

type ShareDocumentResponse

type ShareDocumentResponse struct {
	// Whether the share was successful.
	Success              bool     `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ShareDocumentResponse) Descriptor

func (*ShareDocumentResponse) Descriptor() ([]byte, []int)

func (*ShareDocumentResponse) GetSuccess

func (m *ShareDocumentResponse) GetSuccess() bool

func (*ShareDocumentResponse) ProtoMessage

func (*ShareDocumentResponse) ProtoMessage()

func (*ShareDocumentResponse) Reset

func (m *ShareDocumentResponse) Reset()

func (*ShareDocumentResponse) String

func (m *ShareDocumentResponse) String() string

func (*ShareDocumentResponse) XXX_DiscardUnknown

func (m *ShareDocumentResponse) XXX_DiscardUnknown()

func (*ShareDocumentResponse) XXX_Marshal

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

func (*ShareDocumentResponse) XXX_Merge

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

func (*ShareDocumentResponse) XXX_Size

func (m *ShareDocumentResponse) XXX_Size() int

func (*ShareDocumentResponse) XXX_Unmarshal

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

type StrongDocServiceClient

type StrongDocServiceClient interface {
	// Registers a new organization
	//
	// The user who created the organization is automatically an administrator
	//
	// Does not require Login
	RegisterOrganization(ctx context.Context, in *RegisterOrganizationRequest, opts ...grpc.CallOption) (*RegisterOrganizationResponse, error)
	// Remove an organization and its search indexes
	//
	// Requires Administrator privilege. Only an administrator can remove the whole organization
	//
	// Requires Login
	RemoveOrganization(ctx context.Context, in *RemoveOrganizationRequest, opts ...grpc.CallOption) (*RemoveOrganizationResponse, error)
	// Register new user
	//
	// Creates new user if it doesn't already exist. If the user already exist, and
	// error is thrown
	//
	// Requires administrator privilege
	RegisterUser(ctx context.Context, in *RegisterUserRequest, opts ...grpc.CallOption) (*RegisterUserResponse, error)
	// List the users of the organization
	//
	// Requires Login
	ListUsers(ctx context.Context, in *ListUsersRequest, opts ...grpc.CallOption) (*ListUsersResponse, error)
	// Remove user from organization
	//
	// Removes the user from the organization. The users documents still exists,
	// but belong to the organization, only accessible by organization admin.
	//
	// Requires administrator privilege.
	RemoveUser(ctx context.Context, in *RemoveUserRequest, opts ...grpc.CallOption) (*RemoveUserResponse, error)
	// Promote a regular user to administrator at the organization
	//
	// Requires administrator privilege.
	PromoteUser(ctx context.Context, in *PromoteUserRequest, opts ...grpc.CallOption) (*PromoteUserResponse, error)
	// Demote administrator to regular user at the organization. Attempting to
	// demote the last administrator of an organization will fail
	//
	// Requires administrator privilege.
	DemoteUser(ctx context.Context, in *DemoteUserRequest, opts ...grpc.CallOption) (*DemoteUserResponse, error)
	// List the documents the user can access
	//
	// Administrators can see all documents belonging to the organization
	//
	// Requires Login
	ListDocuments(ctx context.Context, in *ListDocumentsRequest, opts ...grpc.CallOption) (*ListDocumentsResponse, error)
	// Remove document the user can access
	//
	// Admin user can remove document for the whole organization
	// Regular user only can remove document for him/herself
	//
	// Requires Login
	RemoveDocument(ctx context.Context, in *RemoveDocumentRequest, opts ...grpc.CallOption) (*RemoveDocumentResponse, error)
	// Upload document
	//
	// User can upload document to the organization for storage
	//
	// Requires Login
	UploadDocumentStream(ctx context.Context, opts ...grpc.CallOption) (StrongDocService_UploadDocumentStreamClient, error)
	// Upload document
	//
	// User can upload document to the organization for storage
	//
	// Requires Login
	UploadDocument(ctx context.Context, in *UploadDocReq, opts ...grpc.CallOption) (*UploadDocResp, error)
	// Download document stream
	//
	// User can download the documents
	//
	// Requires Login
	DownloadDocumentStream(ctx context.Context, in *DownloadDocStreamReq, opts ...grpc.CallOption) (StrongDocService_DownloadDocumentStreamClient, error)
	// Download document
	//
	// User can download the documents
	//
	// Requires Login
	DownloadDocument(ctx context.Context, in *DownloadDocReq, opts ...grpc.CallOption) (*DownloadDocResp, error)
	// Encrypt document stream encrypts the document and returns the ciphertext
	// back to the user without storing it.
	//
	// Requires Login
	EncryptDocumentStream(ctx context.Context, opts ...grpc.CallOption) (StrongDocService_EncryptDocumentStreamClient, error)
	// Encrypt document encrypts the document and returns the ciphertext
	// back to the user without storing it.
	//
	// Requires Login
	EncryptDocument(ctx context.Context, in *EncryptDocReq, opts ...grpc.CallOption) (*EncryptDocResp, error)
	// Decrypt document stream decrypts the ciphertext passed in and returns
	// decrypted plain text back to the user without storing it
	//
	// Requires Login
	DecryptDocumentStream(ctx context.Context, opts ...grpc.CallOption) (StrongDocService_DecryptDocumentStreamClient, error)
	// Decrypt document decrypts the ciphertext passed in and returns
	// decrypted plain text back to the user without storing it
	DecryptDocument(ctx context.Context, in *DecryptDocReq, opts ...grpc.CallOption) (*DecryptDocResp, error)
	// Share a document to another user
	//
	// Requires Login
	ShareDocument(ctx context.Context, in *ShareDocumentRequest, opts ...grpc.CallOption) (*ShareDocumentResponse, error)
	// Unshare a document that had previously been shared to a user
	//
	// Requires Login
	UnshareDocument(ctx context.Context, in *UnshareDocumentRequest, opts ...grpc.CallOption) (*UnshareDocumentResponse, error)
	// Obtain the size of the user's stored documents
	//
	// Admin user can see the size of the documents which belong to the company
	//
	// Requires Login
	GetDocumentsSize(ctx context.Context, in *GetDocumentsSizeRequest, opts ...grpc.CallOption) (*GetDocumentsSizeResponse, error)
	// Obtain an authentication token to be used with other APIs
	//
	// An authentication token will be returned after user has been validated
	// The returned token will be used as a Bearer Token and need to be set in
	// the request header
	Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error)
	// Logout current user
	//
	// Requires Login
	Logout(ctx context.Context, in *LogoutRequest, opts ...grpc.CallOption) (*LogoutResponse, error)
	// Search within a list of user's accessible documents
	//
	// The response will include a list document id and its score when matches are found
	//
	// Requires Login
	Search(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (*SearchResponse, error)
	// Obtain size of the organization's indexes
	//
	// Requires Login
	GetIndexSize(ctx context.Context, in *GetIndexSizeRequest, opts ...grpc.CallOption) (*GetIndexSizeResponse, error)
	//Add a sharable organization to the user's organization.
	//
	//Requires Administrator privilege.
	//Requires Login
	AddSharableOrg(ctx context.Context, in *AddSharableOrgRequest, opts ...grpc.CallOption) (*AddSharableOrgResponse, error)
	//Remove a sharable organization from the user's organization.
	//
	//Requires Administrator privilege.
	//Requires Login
	RemoveSharableOrg(ctx context.Context, in *RemoveSharableOrgRequest, opts ...grpc.CallOption) (*RemoveSharableOrgResponse, error)
	//Update the organization's multi-level sharing setting
	//
	//Requires Administrator privilege.
	//Requires Login
	SetMultiLevelSharing(ctx context.Context, in *SetMultiLevelSharingRequest, opts ...grpc.CallOption) (*SetMultiLevelSharingResponse, error)
	//List all items of the cost breakdown and also other details such as the billing period
	//
	//Requires Administrator privilege
	//Requires Login
	GetBillingDetails(ctx context.Context, in *GetBillingDetailsRequest, opts ...grpc.CallOption) (*GetBillingDetailsResponse, error)
	//Obtain the billing period
	//
	//Requires Administrator privilege
	//Requires Login
	GetBillingPeriod(ctx context.Context, in *GetBillingPeriodRequest, opts ...grpc.CallOption) (*GetBillingPeriodResponse, error)
	//Change the billing period
	//
	//Requires Administrator privilege
	//Requires Login
	SetBillingPeriod(ctx context.Context, in *SetBillingPeriodRequest, opts ...grpc.CallOption) (*SetBillingPeriodResponse, error)
	//Show current server configuration
	//
	//Requires Administrator privilege. Only an administrator can see server configuration
	//Requires Login
	GetConfiguration(ctx context.Context, in *GetConfigurationReq, opts ...grpc.CallOption) (*GetConfigurationResp, error)
}

StrongDocServiceClient is the client API for StrongDocService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewStrongDocServiceClient

func NewStrongDocServiceClient(cc *grpc.ClientConn) StrongDocServiceClient

type StrongDocServiceServer

type StrongDocServiceServer interface {
	// Registers a new organization
	//
	// The user who created the organization is automatically an administrator
	//
	// Does not require Login
	RegisterOrganization(context.Context, *RegisterOrganizationRequest) (*RegisterOrganizationResponse, error)
	// Remove an organization and its search indexes
	//
	// Requires Administrator privilege. Only an administrator can remove the whole organization
	//
	// Requires Login
	RemoveOrganization(context.Context, *RemoveOrganizationRequest) (*RemoveOrganizationResponse, error)
	// Register new user
	//
	// Creates new user if it doesn't already exist. If the user already exist, and
	// error is thrown
	//
	// Requires administrator privilege
	RegisterUser(context.Context, *RegisterUserRequest) (*RegisterUserResponse, error)
	// List the users of the organization
	//
	// Requires Login
	ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error)
	// Remove user from organization
	//
	// Removes the user from the organization. The users documents still exists,
	// but belong to the organization, only accessible by organization admin.
	//
	// Requires administrator privilege.
	RemoveUser(context.Context, *RemoveUserRequest) (*RemoveUserResponse, error)
	// Promote a regular user to administrator at the organization
	//
	// Requires administrator privilege.
	PromoteUser(context.Context, *PromoteUserRequest) (*PromoteUserResponse, error)
	// Demote administrator to regular user at the organization. Attempting to
	// demote the last administrator of an organization will fail
	//
	// Requires administrator privilege.
	DemoteUser(context.Context, *DemoteUserRequest) (*DemoteUserResponse, error)
	// List the documents the user can access
	//
	// Administrators can see all documents belonging to the organization
	//
	// Requires Login
	ListDocuments(context.Context, *ListDocumentsRequest) (*ListDocumentsResponse, error)
	// Remove document the user can access
	//
	// Admin user can remove document for the whole organization
	// Regular user only can remove document for him/herself
	//
	// Requires Login
	RemoveDocument(context.Context, *RemoveDocumentRequest) (*RemoveDocumentResponse, error)
	// Upload document
	//
	// User can upload document to the organization for storage
	//
	// Requires Login
	UploadDocumentStream(StrongDocService_UploadDocumentStreamServer) error
	// Upload document
	//
	// User can upload document to the organization for storage
	//
	// Requires Login
	UploadDocument(context.Context, *UploadDocReq) (*UploadDocResp, error)
	// Download document stream
	//
	// User can download the documents
	//
	// Requires Login
	DownloadDocumentStream(*DownloadDocStreamReq, StrongDocService_DownloadDocumentStreamServer) error
	// Download document
	//
	// User can download the documents
	//
	// Requires Login
	DownloadDocument(context.Context, *DownloadDocReq) (*DownloadDocResp, error)
	// Encrypt document stream encrypts the document and returns the ciphertext
	// back to the user without storing it.
	//
	// Requires Login
	EncryptDocumentStream(StrongDocService_EncryptDocumentStreamServer) error
	// Encrypt document encrypts the document and returns the ciphertext
	// back to the user without storing it.
	//
	// Requires Login
	EncryptDocument(context.Context, *EncryptDocReq) (*EncryptDocResp, error)
	// Decrypt document stream decrypts the ciphertext passed in and returns
	// decrypted plain text back to the user without storing it
	//
	// Requires Login
	DecryptDocumentStream(StrongDocService_DecryptDocumentStreamServer) error
	// Decrypt document decrypts the ciphertext passed in and returns
	// decrypted plain text back to the user without storing it
	DecryptDocument(context.Context, *DecryptDocReq) (*DecryptDocResp, error)
	// Share a document to another user
	//
	// Requires Login
	ShareDocument(context.Context, *ShareDocumentRequest) (*ShareDocumentResponse, error)
	// Unshare a document that had previously been shared to a user
	//
	// Requires Login
	UnshareDocument(context.Context, *UnshareDocumentRequest) (*UnshareDocumentResponse, error)
	// Obtain the size of the user's stored documents
	//
	// Admin user can see the size of the documents which belong to the company
	//
	// Requires Login
	GetDocumentsSize(context.Context, *GetDocumentsSizeRequest) (*GetDocumentsSizeResponse, error)
	// Obtain an authentication token to be used with other APIs
	//
	// An authentication token will be returned after user has been validated
	// The returned token will be used as a Bearer Token and need to be set in
	// the request header
	Login(context.Context, *LoginRequest) (*LoginResponse, error)
	// Logout current user
	//
	// Requires Login
	Logout(context.Context, *LogoutRequest) (*LogoutResponse, error)
	// Search within a list of user's accessible documents
	//
	// The response will include a list document id and its score when matches are found
	//
	// Requires Login
	Search(context.Context, *SearchRequest) (*SearchResponse, error)
	// Obtain size of the organization's indexes
	//
	// Requires Login
	GetIndexSize(context.Context, *GetIndexSizeRequest) (*GetIndexSizeResponse, error)
	//Add a sharable organization to the user's organization.
	//
	//Requires Administrator privilege.
	//Requires Login
	AddSharableOrg(context.Context, *AddSharableOrgRequest) (*AddSharableOrgResponse, error)
	//Remove a sharable organization from the user's organization.
	//
	//Requires Administrator privilege.
	//Requires Login
	RemoveSharableOrg(context.Context, *RemoveSharableOrgRequest) (*RemoveSharableOrgResponse, error)
	//Update the organization's multi-level sharing setting
	//
	//Requires Administrator privilege.
	//Requires Login
	SetMultiLevelSharing(context.Context, *SetMultiLevelSharingRequest) (*SetMultiLevelSharingResponse, error)
	//List all items of the cost breakdown and also other details such as the billing period
	//
	//Requires Administrator privilege
	//Requires Login
	GetBillingDetails(context.Context, *GetBillingDetailsRequest) (*GetBillingDetailsResponse, error)
	//Obtain the billing period
	//
	//Requires Administrator privilege
	//Requires Login
	GetBillingPeriod(context.Context, *GetBillingPeriodRequest) (*GetBillingPeriodResponse, error)
	//Change the billing period
	//
	//Requires Administrator privilege
	//Requires Login
	SetBillingPeriod(context.Context, *SetBillingPeriodRequest) (*SetBillingPeriodResponse, error)
	//Show current server configuration
	//
	//Requires Administrator privilege. Only an administrator can see server configuration
	//Requires Login
	GetConfiguration(context.Context, *GetConfigurationReq) (*GetConfigurationResp, error)
}

StrongDocServiceServer is the server API for StrongDocService service.

type StrongDocService_DecryptDocumentStreamClient

type StrongDocService_DecryptDocumentStreamClient interface {
	Send(*DecryptDocStreamReq) error
	Recv() (*DecryptDocStreamResp, error)
	grpc.ClientStream
}

type StrongDocService_DecryptDocumentStreamServer

type StrongDocService_DecryptDocumentStreamServer interface {
	Send(*DecryptDocStreamResp) error
	Recv() (*DecryptDocStreamReq, error)
	grpc.ServerStream
}

type StrongDocService_DownloadDocumentStreamClient

type StrongDocService_DownloadDocumentStreamClient interface {
	Recv() (*DownloadDocStreamResp, error)
	grpc.ClientStream
}

type StrongDocService_DownloadDocumentStreamServer

type StrongDocService_DownloadDocumentStreamServer interface {
	Send(*DownloadDocStreamResp) error
	grpc.ServerStream
}

type StrongDocService_EncryptDocumentStreamClient

type StrongDocService_EncryptDocumentStreamClient interface {
	Send(*EncryptDocStreamReq) error
	Recv() (*EncryptDocStreamResp, error)
	grpc.ClientStream
}

type StrongDocService_EncryptDocumentStreamServer

type StrongDocService_EncryptDocumentStreamServer interface {
	Send(*EncryptDocStreamResp) error
	Recv() (*EncryptDocStreamReq, error)
	grpc.ServerStream
}

type StrongDocService_UploadDocumentStreamClient

type StrongDocService_UploadDocumentStreamClient interface {
	Send(*UploadDocStreamReq) error
	CloseAndRecv() (*UploadDocStreamResp, error)
	grpc.ClientStream
}

type StrongDocService_UploadDocumentStreamServer

type StrongDocService_UploadDocumentStreamServer interface {
	SendAndClose(*UploadDocStreamResp) error
	Recv() (*UploadDocStreamReq, error)
	grpc.ServerStream
}

type TimeInterval

type TimeInterval int32
const (
	TimeInterval_UNDEFINED TimeInterval = 0
	TimeInterval_MONTH     TimeInterval = 1
	TimeInterval_YEAR      TimeInterval = 2
)

func (TimeInterval) EnumDescriptor

func (TimeInterval) EnumDescriptor() ([]byte, []int)

func (TimeInterval) String

func (x TimeInterval) String() string

type Traffic

type Traffic struct {
	Cost                 int32    `protobuf:"varint,1,opt,name=cost,proto3" json:"cost,omitempty"`
	Incoming             float64  `protobuf:"fixed64,2,opt,name=incoming,proto3" json:"incoming,omitempty"`
	Outgoing             float64  `protobuf:"fixed64,3,opt,name=outgoing,proto3" json:"outgoing,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Traffic) Descriptor

func (*Traffic) Descriptor() ([]byte, []int)

func (*Traffic) GetCost

func (m *Traffic) GetCost() int32

func (*Traffic) GetIncoming

func (m *Traffic) GetIncoming() float64

func (*Traffic) GetOutgoing

func (m *Traffic) GetOutgoing() float64

func (*Traffic) ProtoMessage

func (*Traffic) ProtoMessage()

func (*Traffic) Reset

func (m *Traffic) Reset()

func (*Traffic) String

func (m *Traffic) String() string

func (*Traffic) XXX_DiscardUnknown

func (m *Traffic) XXX_DiscardUnknown()

func (*Traffic) XXX_Marshal

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

func (*Traffic) XXX_Merge

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

func (*Traffic) XXX_Size

func (m *Traffic) XXX_Size() int

func (*Traffic) XXX_Unmarshal

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

type UnimplementedStrongDocServiceServer

type UnimplementedStrongDocServiceServer struct {
}

UnimplementedStrongDocServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedStrongDocServiceServer) AddSharableOrg

func (*UnimplementedStrongDocServiceServer) DecryptDocument

func (*UnimplementedStrongDocServiceServer) DecryptDocumentStream

func (*UnimplementedStrongDocServiceServer) DemoteUser

func (*UnimplementedStrongDocServiceServer) DownloadDocument

func (*UnimplementedStrongDocServiceServer) DownloadDocumentStream

func (*UnimplementedStrongDocServiceServer) EncryptDocument

func (*UnimplementedStrongDocServiceServer) EncryptDocumentStream

func (*UnimplementedStrongDocServiceServer) GetBillingDetails

func (*UnimplementedStrongDocServiceServer) GetBillingPeriod

func (*UnimplementedStrongDocServiceServer) GetConfiguration

func (*UnimplementedStrongDocServiceServer) GetDocumentsSize

func (*UnimplementedStrongDocServiceServer) GetIndexSize

func (*UnimplementedStrongDocServiceServer) ListDocuments

func (*UnimplementedStrongDocServiceServer) ListUsers

func (*UnimplementedStrongDocServiceServer) Login

func (*UnimplementedStrongDocServiceServer) Logout

func (*UnimplementedStrongDocServiceServer) PromoteUser

func (*UnimplementedStrongDocServiceServer) RegisterOrganization

func (*UnimplementedStrongDocServiceServer) RegisterUser

func (*UnimplementedStrongDocServiceServer) RemoveDocument

func (*UnimplementedStrongDocServiceServer) RemoveOrganization

func (*UnimplementedStrongDocServiceServer) RemoveSharableOrg

func (*UnimplementedStrongDocServiceServer) RemoveUser

func (*UnimplementedStrongDocServiceServer) Search

func (*UnimplementedStrongDocServiceServer) SetBillingPeriod

func (*UnimplementedStrongDocServiceServer) SetMultiLevelSharing

func (*UnimplementedStrongDocServiceServer) ShareDocument

func (*UnimplementedStrongDocServiceServer) UnshareDocument

func (*UnimplementedStrongDocServiceServer) UploadDocument

func (*UnimplementedStrongDocServiceServer) UploadDocumentStream

type UnshareDocumentRequest

type UnshareDocumentRequest struct {
	// The ID of the document to unshare.
	DocID string `protobuf:"bytes,1,opt,name=docID,proto3" json:"docID,omitempty"`
	// The user ID to share it unshare.
	UserID               string   `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UnshareDocumentRequest) Descriptor

func (*UnshareDocumentRequest) Descriptor() ([]byte, []int)

func (*UnshareDocumentRequest) GetDocID

func (m *UnshareDocumentRequest) GetDocID() string

func (*UnshareDocumentRequest) GetUserID

func (m *UnshareDocumentRequest) GetUserID() string

func (*UnshareDocumentRequest) ProtoMessage

func (*UnshareDocumentRequest) ProtoMessage()

func (*UnshareDocumentRequest) Reset

func (m *UnshareDocumentRequest) Reset()

func (*UnshareDocumentRequest) String

func (m *UnshareDocumentRequest) String() string

func (*UnshareDocumentRequest) XXX_DiscardUnknown

func (m *UnshareDocumentRequest) XXX_DiscardUnknown()

func (*UnshareDocumentRequest) XXX_Marshal

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

func (*UnshareDocumentRequest) XXX_Merge

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

func (*UnshareDocumentRequest) XXX_Size

func (m *UnshareDocumentRequest) XXX_Size() int

func (*UnshareDocumentRequest) XXX_Unmarshal

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

type UnshareDocumentResponse

type UnshareDocumentResponse struct {
	// The unshared document count.
	Count                int64    `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UnshareDocumentResponse) Descriptor

func (*UnshareDocumentResponse) Descriptor() ([]byte, []int)

func (*UnshareDocumentResponse) GetCount

func (m *UnshareDocumentResponse) GetCount() int64

func (*UnshareDocumentResponse) ProtoMessage

func (*UnshareDocumentResponse) ProtoMessage()

func (*UnshareDocumentResponse) Reset

func (m *UnshareDocumentResponse) Reset()

func (*UnshareDocumentResponse) String

func (m *UnshareDocumentResponse) String() string

func (*UnshareDocumentResponse) XXX_DiscardUnknown

func (m *UnshareDocumentResponse) XXX_DiscardUnknown()

func (*UnshareDocumentResponse) XXX_Marshal

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

func (*UnshareDocumentResponse) XXX_Merge

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

func (*UnshareDocumentResponse) XXX_Size

func (m *UnshareDocumentResponse) XXX_Size() int

func (*UnshareDocumentResponse) XXX_Unmarshal

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

type UploadDocReq

type UploadDocReq struct {
	// The name of the document to upload.
	DocName string `protobuf:"bytes,1,opt,name=docName,proto3" json:"docName,omitempty"`
	// The data of the document to upload.
	Plaintext            string   `protobuf:"bytes,2,opt,name=plaintext,proto3" json:"plaintext,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UploadDocReq) Descriptor

func (*UploadDocReq) Descriptor() ([]byte, []int)

func (*UploadDocReq) GetDocName

func (m *UploadDocReq) GetDocName() string

func (*UploadDocReq) GetPlaintext

func (m *UploadDocReq) GetPlaintext() string

func (*UploadDocReq) ProtoMessage

func (*UploadDocReq) ProtoMessage()

func (*UploadDocReq) Reset

func (m *UploadDocReq) Reset()

func (*UploadDocReq) String

func (m *UploadDocReq) String() string

func (*UploadDocReq) XXX_DiscardUnknown

func (m *UploadDocReq) XXX_DiscardUnknown()

func (*UploadDocReq) XXX_Marshal

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

func (*UploadDocReq) XXX_Merge

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

func (*UploadDocReq) XXX_Size

func (m *UploadDocReq) XXX_Size() int

func (*UploadDocReq) XXX_Unmarshal

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

type UploadDocResp

type UploadDocResp struct {
	// The ID of the document uploaded.
	DocID                string   `protobuf:"bytes,1,opt,name=docID,proto3" json:"docID,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UploadDocResp) Descriptor

func (*UploadDocResp) Descriptor() ([]byte, []int)

func (*UploadDocResp) GetDocID

func (m *UploadDocResp) GetDocID() string

func (*UploadDocResp) ProtoMessage

func (*UploadDocResp) ProtoMessage()

func (*UploadDocResp) Reset

func (m *UploadDocResp) Reset()

func (*UploadDocResp) String

func (m *UploadDocResp) String() string

func (*UploadDocResp) XXX_DiscardUnknown

func (m *UploadDocResp) XXX_DiscardUnknown()

func (*UploadDocResp) XXX_Marshal

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

func (*UploadDocResp) XXX_Merge

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

func (*UploadDocResp) XXX_Size

func (m *UploadDocResp) XXX_Size() int

func (*UploadDocResp) XXX_Unmarshal

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

type UploadDocStreamReq

type UploadDocStreamReq struct {
	// Types that are valid to be assigned to NameOrData:
	//	*UploadDocStreamReq_DocName
	//	*UploadDocStreamReq_Plaintext
	NameOrData           isUploadDocStreamReq_NameOrData `protobuf_oneof:"NameOrData"`
	XXX_NoUnkeyedLiteral struct{}                        `json:"-"`
	XXX_unrecognized     []byte                          `json:"-"`
	XXX_sizecache        int32                           `json:"-"`
}

func (*UploadDocStreamReq) Descriptor

func (*UploadDocStreamReq) Descriptor() ([]byte, []int)

func (*UploadDocStreamReq) GetDocName

func (m *UploadDocStreamReq) GetDocName() string

func (*UploadDocStreamReq) GetNameOrData

func (m *UploadDocStreamReq) GetNameOrData() isUploadDocStreamReq_NameOrData

func (*UploadDocStreamReq) GetPlaintext

func (m *UploadDocStreamReq) GetPlaintext() []byte

func (*UploadDocStreamReq) ProtoMessage

func (*UploadDocStreamReq) ProtoMessage()

func (*UploadDocStreamReq) Reset

func (m *UploadDocStreamReq) Reset()

func (*UploadDocStreamReq) String

func (m *UploadDocStreamReq) String() string

func (*UploadDocStreamReq) XXX_DiscardUnknown

func (m *UploadDocStreamReq) XXX_DiscardUnknown()

func (*UploadDocStreamReq) XXX_Marshal

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

func (*UploadDocStreamReq) XXX_Merge

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

func (*UploadDocStreamReq) XXX_OneofWrappers

func (*UploadDocStreamReq) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*UploadDocStreamReq) XXX_Size

func (m *UploadDocStreamReq) XXX_Size() int

func (*UploadDocStreamReq) XXX_Unmarshal

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

type UploadDocStreamReq_DocName

type UploadDocStreamReq_DocName struct {
	DocName string `protobuf:"bytes,1,opt,name=docName,proto3,oneof"`
}

type UploadDocStreamReq_Plaintext

type UploadDocStreamReq_Plaintext struct {
	Plaintext []byte `protobuf:"bytes,2,opt,name=plaintext,proto3,oneof"`
}

type UploadDocStreamResp

type UploadDocStreamResp struct {
	// The ID of the newly uploaded document.
	DocID string `protobuf:"bytes,1,opt,name=docID,proto3" json:"docID,omitempty"`
	// The number of bytes uploaded and stored.
	Bytes                int64    `protobuf:"varint,2,opt,name=bytes,proto3" json:"bytes,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UploadDocStreamResp) Descriptor

func (*UploadDocStreamResp) Descriptor() ([]byte, []int)

func (*UploadDocStreamResp) GetBytes

func (m *UploadDocStreamResp) GetBytes() int64

func (*UploadDocStreamResp) GetDocID

func (m *UploadDocStreamResp) GetDocID() string

func (*UploadDocStreamResp) ProtoMessage

func (*UploadDocStreamResp) ProtoMessage()

func (*UploadDocStreamResp) Reset

func (m *UploadDocStreamResp) Reset()

func (*UploadDocStreamResp) String

func (m *UploadDocStreamResp) String() string

func (*UploadDocStreamResp) XXX_DiscardUnknown

func (m *UploadDocStreamResp) XXX_DiscardUnknown()

func (*UploadDocStreamResp) XXX_Marshal

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

func (*UploadDocStreamResp) XXX_Merge

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

func (*UploadDocStreamResp) XXX_Size

func (m *UploadDocStreamResp) XXX_Size() int

func (*UploadDocStreamResp) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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