public class GrpcDataScanServiceStub extends DataScanServiceStub
gRPC stub implementation for the DataScanService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcDataScanServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcDataScanServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(DataScanServiceStubSettings settings)
public static final GrpcDataScanServiceStub create(DataScanServiceStubSettings settings)
Constructors
GrpcDataScanServiceStub(DataScanServiceStubSettings settings, ClientContext clientContext)
protected GrpcDataScanServiceStub(DataScanServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcDataScanServiceStub, using the given settings. This is protected
so that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.
GrpcDataScanServiceStub(DataScanServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcDataScanServiceStub(DataScanServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcDataScanServiceStub, using the given settings. This is protected
so that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
createDataScanCallable()
public UnaryCallable<CreateDataScanRequest,Operation> createDataScanCallable()
Overrides
createDataScanOperationCallable()
public OperationCallable<CreateDataScanRequest,DataScan,OperationMetadata> createDataScanOperationCallable()
Overrides
deleteDataScanCallable()
public UnaryCallable<DeleteDataScanRequest,Operation> deleteDataScanCallable()
Overrides
deleteDataScanOperationCallable()
public OperationCallable<DeleteDataScanRequest,Empty,OperationMetadata> deleteDataScanOperationCallable()
Overrides
generateDataQualityRulesCallable()
public UnaryCallable<GenerateDataQualityRulesRequest,GenerateDataQualityRulesResponse> generateDataQualityRulesCallable()
Overrides
getDataScanCallable()
public UnaryCallable<GetDataScanRequest,DataScan> getDataScanCallable()
Overrides
getDataScanJobCallable()
public UnaryCallable<GetDataScanJobRequest,DataScanJob> getDataScanJobCallable()
Overrides
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns |
Type |
Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
|
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listDataScanJobsCallable()
public UnaryCallable<ListDataScanJobsRequest,ListDataScanJobsResponse> listDataScanJobsCallable()
Overrides
listDataScanJobsPagedCallable()
public UnaryCallable<ListDataScanJobsRequest,DataScanServiceClient.ListDataScanJobsPagedResponse> listDataScanJobsPagedCallable()
Overrides
listDataScansCallable()
public UnaryCallable<ListDataScansRequest,ListDataScansResponse> listDataScansCallable()
Overrides
listDataScansPagedCallable()
public UnaryCallable<ListDataScansRequest,DataScanServiceClient.ListDataScansPagedResponse> listDataScansPagedCallable()
Overrides
listLocationsCallable()
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns |
Type |
Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
|
Overrides
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest,DataScanServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Overrides
runDataScanCallable()
public UnaryCallable<RunDataScanRequest,RunDataScanResponse> runDataScanCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateDataScanCallable()
public UnaryCallable<UpdateDataScanRequest,Operation> updateDataScanCallable()
Overrides
updateDataScanOperationCallable()
public OperationCallable<UpdateDataScanRequest,DataScan,OperationMetadata> updateDataScanOperationCallable()
Overrides