Class DocumentServiceStub (2.51.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

batchDeleteDocumentsCallable()

public UnaryCallable<BatchDeleteDocumentsRequest,Operation> batchDeleteDocumentsCallable()
Returns
Type Description
UnaryCallable<BatchDeleteDocumentsRequest,Operation>

batchDeleteDocumentsOperationCallable()

public OperationCallable<BatchDeleteDocumentsRequest,BatchDeleteDocumentsResponse,BatchDeleteDocumentsMetadata> batchDeleteDocumentsOperationCallable()
Returns
Type Description
OperationCallable<BatchDeleteDocumentsRequest,BatchDeleteDocumentsResponse,BatchDeleteDocumentsMetadata>

close()

public abstract void close()

getDatasetSchemaCallable()

public UnaryCallable<GetDatasetSchemaRequest,DatasetSchema> getDatasetSchemaCallable()
Returns
Type Description
UnaryCallable<GetDatasetSchemaRequest,DatasetSchema>

getDocumentCallable()

public UnaryCallable<GetDocumentRequest,GetDocumentResponse> getDocumentCallable()
Returns
Type Description
UnaryCallable<GetDocumentRequest,GetDocumentResponse>

getHttpJsonOperationsStub()

public OperationsStub getHttpJsonOperationsStub()
Returns
Type Description
OperationsStub

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getOperationsStub()

public OperationsStub getOperationsStub()
Returns
Type Description
OperationsStub

importDocumentsCallable()

public UnaryCallable<ImportDocumentsRequest,Operation> importDocumentsCallable()
Returns
Type Description
UnaryCallable<ImportDocumentsRequest,Operation>

importDocumentsOperationCallable()

public OperationCallable<ImportDocumentsRequest,ImportDocumentsResponse,ImportDocumentsMetadata> importDocumentsOperationCallable()
Returns
Type Description
OperationCallable<ImportDocumentsRequest,ImportDocumentsResponse,ImportDocumentsMetadata>

listDocumentsCallable()

public UnaryCallable<ListDocumentsRequest,ListDocumentsResponse> listDocumentsCallable()
Returns
Type Description
UnaryCallable<ListDocumentsRequest,ListDocumentsResponse>

listDocumentsPagedCallable()

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

listLocationsCallable()

public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,DocumentServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>

updateDatasetCallable()

public UnaryCallable<UpdateDatasetRequest,Operation> updateDatasetCallable()
Returns
Type Description
UnaryCallable<UpdateDatasetRequest,Operation>

updateDatasetOperationCallable()

public OperationCallable<UpdateDatasetRequest,Dataset,UpdateDatasetOperationMetadata> updateDatasetOperationCallable()
Returns
Type Description
OperationCallable<UpdateDatasetRequest,Dataset,UpdateDatasetOperationMetadata>

updateDatasetSchemaCallable()

public UnaryCallable<UpdateDatasetSchemaRequest,DatasetSchema> updateDatasetSchemaCallable()
Returns
Type Description
UnaryCallable<UpdateDatasetSchemaRequest,DatasetSchema>