Class GrpcDataScanServiceStub (1.49.0)

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.

Inheritance

java.lang.Object > DataScanServiceStub > GrpcDataScanServiceStub

Static Methods

create(ClientContext clientContext)

public static final GrpcDataScanServiceStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcDataScanServiceStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcDataScanServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcDataScanServiceStub
Exceptions
Type Description
IOException

create(DataScanServiceStubSettings settings)

public static final GrpcDataScanServiceStub create(DataScanServiceStubSettings settings)
Parameter
Name Description
settings DataScanServiceStubSettings
Returns
Type Description
GrpcDataScanServiceStub
Exceptions
Type Description
IOException

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.

Parameters
Name Description
settings DataScanServiceStubSettings
clientContext ClientContext

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.

Parameters
Name Description
settings DataScanServiceStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

createDataScanCallable()

public UnaryCallable<CreateDataScanRequest,Operation> createDataScanCallable()
Returns
Type Description
UnaryCallable<CreateDataScanRequest,Operation>
Overrides

createDataScanOperationCallable()

public OperationCallable<CreateDataScanRequest,DataScan,OperationMetadata> createDataScanOperationCallable()
Returns
Type Description
OperationCallable<CreateDataScanRequest,DataScan,OperationMetadata>
Overrides

deleteDataScanCallable()

public UnaryCallable<DeleteDataScanRequest,Operation> deleteDataScanCallable()
Returns
Type Description
UnaryCallable<DeleteDataScanRequest,Operation>
Overrides

deleteDataScanOperationCallable()

public OperationCallable<DeleteDataScanRequest,Empty,OperationMetadata> deleteDataScanOperationCallable()
Returns
Type Description
OperationCallable<DeleteDataScanRequest,Empty,OperationMetadata>
Overrides

generateDataQualityRulesCallable()

public UnaryCallable<GenerateDataQualityRulesRequest,GenerateDataQualityRulesResponse> generateDataQualityRulesCallable()
Returns
Type Description
UnaryCallable<GenerateDataQualityRulesRequest,GenerateDataQualityRulesResponse>
Overrides

getDataScanCallable()

public UnaryCallable<GetDataScanRequest,DataScan> getDataScanCallable()
Returns
Type Description
UnaryCallable<GetDataScanRequest,DataScan>
Overrides

getDataScanJobCallable()

public UnaryCallable<GetDataScanJobRequest,DataScanJob> getDataScanJobCallable()
Returns
Type Description
UnaryCallable<GetDataScanJobRequest,DataScanJob>
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()
Returns
Type Description
GrpcOperationsStub
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listDataScanJobsCallable()

public UnaryCallable<ListDataScanJobsRequest,ListDataScanJobsResponse> listDataScanJobsCallable()
Returns
Type Description
UnaryCallable<ListDataScanJobsRequest,ListDataScanJobsResponse>
Overrides

listDataScanJobsPagedCallable()

public UnaryCallable<ListDataScanJobsRequest,DataScanServiceClient.ListDataScanJobsPagedResponse> listDataScanJobsPagedCallable()
Returns
Type Description
UnaryCallable<ListDataScanJobsRequest,ListDataScanJobsPagedResponse>
Overrides

listDataScansCallable()

public UnaryCallable<ListDataScansRequest,ListDataScansResponse> listDataScansCallable()
Returns
Type Description
UnaryCallable<ListDataScansRequest,ListDataScansResponse>
Overrides

listDataScansPagedCallable()

public UnaryCallable<ListDataScansRequest,DataScanServiceClient.ListDataScansPagedResponse> listDataScansPagedCallable()
Returns
Type Description
UnaryCallable<ListDataScansRequest,ListDataScansPagedResponse>
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()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

runDataScanCallable()

public UnaryCallable<RunDataScanRequest,RunDataScanResponse> runDataScanCallable()
Returns
Type Description
UnaryCallable<RunDataScanRequest,RunDataScanResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateDataScanCallable()

public UnaryCallable<UpdateDataScanRequest,Operation> updateDataScanCallable()
Returns
Type Description
UnaryCallable<UpdateDataScanRequest,Operation>
Overrides

updateDataScanOperationCallable()

public OperationCallable<UpdateDataScanRequest,DataScan,OperationMetadata> updateDataScanOperationCallable()
Returns
Type Description
OperationCallable<UpdateDataScanRequest,DataScan,OperationMetadata>
Overrides