Class DocumentServiceStub (2.38.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
TypeDescription
UnaryCallable<BatchDeleteDocumentsRequest,Operation>

batchDeleteDocumentsOperationCallable()

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

close()

public abstract void close()

getDatasetSchemaCallable()

public UnaryCallable<GetDatasetSchemaRequest,DatasetSchema> getDatasetSchemaCallable()
Returns
TypeDescription
UnaryCallable<GetDatasetSchemaRequest,DatasetSchema>

getDocumentCallable()

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

getHttpJsonOperationsStub()

public OperationsStub getHttpJsonOperationsStub()
Returns
TypeDescription
OperationsStub

getLocationCallable()

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

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>

listLocationsCallable()

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

listLocationsPagedCallable()

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

updateDatasetCallable()

public UnaryCallable<UpdateDatasetRequest,Operation> updateDatasetCallable()
Returns
TypeDescription
UnaryCallable<UpdateDatasetRequest,Operation>

updateDatasetOperationCallable()

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

updateDatasetSchemaCallable()

public UnaryCallable<UpdateDatasetSchemaRequest,DatasetSchema> updateDatasetSchemaCallable()
Returns
TypeDescription
UnaryCallable<UpdateDatasetSchemaRequest,DatasetSchema>