Class DocumentServiceStub (0.10.0)

public abstract class DocumentServiceStub implements BackgroundResource

Base stub class for the DocumentService service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > DocumentServiceStub

Implements

BackgroundResource

Constructors

DocumentServiceStub()

public DocumentServiceStub()

Methods

close()

public abstract void close()

createDocumentCallable()

public UnaryCallable<CreateDocumentRequest,CreateDocumentResponse> createDocumentCallable()
Returns
TypeDescription
UnaryCallable<CreateDocumentRequest,CreateDocumentResponse>

deleteDocumentCallable()

public UnaryCallable<DeleteDocumentRequest,Empty> deleteDocumentCallable()
Returns
TypeDescription
UnaryCallable<DeleteDocumentRequest,Empty>

fetchAclCallable()

public UnaryCallable<FetchAclRequest,FetchAclResponse> fetchAclCallable()
Returns
TypeDescription
UnaryCallable<FetchAclRequest,FetchAclResponse>

getDocumentCallable()

public UnaryCallable<GetDocumentRequest,Document> getDocumentCallable()
Returns
TypeDescription
UnaryCallable<GetDocumentRequest,Document>

searchDocumentsCallable()

public UnaryCallable<SearchDocumentsRequest,SearchDocumentsResponse> searchDocumentsCallable()
Returns
TypeDescription
UnaryCallable<SearchDocumentsRequest,SearchDocumentsResponse>

searchDocumentsPagedCallable()

public UnaryCallable<SearchDocumentsRequest,DocumentServiceClient.SearchDocumentsPagedResponse> searchDocumentsPagedCallable()
Returns
TypeDescription
UnaryCallable<SearchDocumentsRequest,SearchDocumentsPagedResponse>

setAclCallable()

public UnaryCallable<SetAclRequest,SetAclResponse> setAclCallable()
Returns
TypeDescription
UnaryCallable<SetAclRequest,SetAclResponse>

updateDocumentCallable()

public UnaryCallable<UpdateDocumentRequest,UpdateDocumentResponse> updateDocumentCallable()
Returns
TypeDescription
UnaryCallable<UpdateDocumentRequest,UpdateDocumentResponse>