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.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonDataScanServiceStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonDataScanServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(DataScanServiceStubSettings settings)
public static final HttpJsonDataScanServiceStub create(DataScanServiceStubSettings settings)
Parameter
Returns
Exceptions
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
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
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
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
createDataScanCallable()
public UnaryCallable<CreateDataScanRequest,Operation> createDataScanCallable()
Returns
Overrides
createDataScanOperationCallable()
public OperationCallable<CreateDataScanRequest,DataScan,OperationMetadata> createDataScanOperationCallable()
Returns
Overrides
deleteDataScanCallable()
public UnaryCallable<DeleteDataScanRequest,Operation> deleteDataScanCallable()
Returns
Overrides
deleteDataScanOperationCallable()
public OperationCallable<DeleteDataScanRequest,Empty,OperationMetadata> deleteDataScanOperationCallable()
Returns
Overrides
getDataScanCallable()
public UnaryCallable<GetDataScanRequest,DataScan> getDataScanCallable()
Returns
Overrides
getDataScanJobCallable()
public UnaryCallable<GetDataScanJobRequest,DataScanJob> getDataScanJobCallable()
Returns
Overrides
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
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
isTerminated()
public boolean isTerminated()
Returns
listDataScanJobsCallable()
public UnaryCallable<ListDataScanJobsRequest,ListDataScanJobsResponse> listDataScanJobsCallable()
Returns
Overrides
listDataScanJobsPagedCallable()
public UnaryCallable<ListDataScanJobsRequest,DataScanServiceClient.ListDataScanJobsPagedResponse> listDataScanJobsPagedCallable()
Returns
Overrides
listDataScansCallable()
public UnaryCallable<ListDataScansRequest,ListDataScansResponse> listDataScansCallable()
Returns
Overrides
listDataScansPagedCallable()
public UnaryCallable<ListDataScansRequest,DataScanServiceClient.ListDataScansPagedResponse> listDataScansPagedCallable()
Returns
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
Overrides
runDataScanCallable()
public UnaryCallable<RunDataScanRequest,RunDataScanResponse> runDataScanCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateDataScanCallable()
public UnaryCallable<UpdateDataScanRequest,Operation> updateDataScanCallable()
Returns
Overrides
updateDataScanOperationCallable()
public OperationCallable<UpdateDataScanRequest,DataScan,OperationMetadata> updateDataScanOperationCallable()
Returns
Overrides