Class HttpJsonDataScanServiceStub (1.41.0)

public class HttpJsonDataScanServiceStub extends DataScanServiceStub

REST stub implementation for the DataScanService service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > DataScanServiceStub > HttpJsonDataScanServiceStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(DataScanServiceStubSettings settings)

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

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

Constructors

HttpJsonDataScanServiceStub(DataScanServiceStubSettings settings, ClientContext clientContext)

protected HttpJsonDataScanServiceStub(DataScanServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonDataScanServiceStub, 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

HttpJsonDataScanServiceStub(DataScanServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonDataScanServiceStub(DataScanServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonDataScanServiceStub, 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 HttpJsonStubCallableFactory

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

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
Type Description
HttpJsonOperationsStub
Overrides

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
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