Class DocumentServiceStub (0.4.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,Document> createDocumentCallable()
Returns
TypeDescription
UnaryCallable<CreateDocumentRequest,Document>

deleteDocumentCallable()

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

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,ImportDocumentsMetadata> importDocumentsOperationCallable()
Returns
TypeDescription
OperationCallable<ImportDocumentsRequest,ImportDocumentsResponse,ImportDocumentsMetadata>

listDocumentsCallable()

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

listDocumentsPagedCallable()

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

updateDocumentCallable()

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