Class DocumentsStub (4.7.4)

public abstract class DocumentsStub implements BackgroundResource

Base stub class for the Documents service API.

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

Inheritance

java.lang.Object > DocumentsStub

Implements

BackgroundResource

Constructors

DocumentsStub()

public DocumentsStub()

Methods

close()

public abstract void close()

createDocumentCallable()

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

createDocumentOperationCallable()

public OperationCallable<CreateDocumentRequest,Document,KnowledgeOperationMetadata> createDocumentOperationCallable()
Returns
TypeDescription
OperationCallable<CreateDocumentRequest,Document,KnowledgeOperationMetadata>

deleteDocumentCallable()

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

deleteDocumentOperationCallable()

public OperationCallable<DeleteDocumentRequest,Empty,KnowledgeOperationMetadata> deleteDocumentOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteDocumentRequest,Empty,KnowledgeOperationMetadata>

exportDocumentCallable()

public UnaryCallable<ExportDocumentRequest,Operation> exportDocumentCallable()
Returns
TypeDescription
UnaryCallable<ExportDocumentRequest,Operation>

exportDocumentOperationCallable()

public OperationCallable<ExportDocumentRequest,Document,KnowledgeOperationMetadata> exportDocumentOperationCallable()
Returns
TypeDescription
OperationCallable<ExportDocumentRequest,Document,KnowledgeOperationMetadata>

getDocumentCallable()

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

getHttpJsonOperationsStub()

public OperationsStub getHttpJsonOperationsStub()
Returns
TypeDescription
OperationsStub

getOperationsStub()

public OperationsStub getOperationsStub()
Returns
TypeDescription
OperationsStub

importDocumentsCallable()

public UnaryCallable<ImportDocumentsRequest,Operation> importDocumentsCallable()
Returns
TypeDescription
UnaryCallable<ImportDocumentsRequest,Operation>

importDocumentsOperationCallable()

public OperationCallable<ImportDocumentsRequest,ImportDocumentsResponse,KnowledgeOperationMetadata> importDocumentsOperationCallable()
Returns
TypeDescription
OperationCallable<ImportDocumentsRequest,ImportDocumentsResponse,KnowledgeOperationMetadata>

listDocumentsCallable()

public UnaryCallable<ListDocumentsRequest,ListDocumentsResponse> listDocumentsCallable()
Returns
TypeDescription
UnaryCallable<ListDocumentsRequest,ListDocumentsResponse>

listDocumentsPagedCallable()

public UnaryCallable<ListDocumentsRequest,DocumentsClient.ListDocumentsPagedResponse> listDocumentsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListDocumentsRequest,ListDocumentsPagedResponse>

reloadDocumentCallable()

public UnaryCallable<ReloadDocumentRequest,Operation> reloadDocumentCallable()
Returns
TypeDescription
UnaryCallable<ReloadDocumentRequest,Operation>

reloadDocumentOperationCallable()

public OperationCallable<ReloadDocumentRequest,Document,KnowledgeOperationMetadata> reloadDocumentOperationCallable()
Returns
TypeDescription
OperationCallable<ReloadDocumentRequest,Document,KnowledgeOperationMetadata>

updateDocumentCallable()

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

updateDocumentOperationCallable()

public OperationCallable<UpdateDocumentRequest,Document,KnowledgeOperationMetadata> updateDocumentOperationCallable()
Returns
TypeDescription
OperationCallable<UpdateDocumentRequest,Document,KnowledgeOperationMetadata>