- 1.51.0 (latest)
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.2
- 1.0.1
- 0.2.2
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)
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()
createDataScanCallable()
public UnaryCallable<CreateDataScanRequest,Operation> createDataScanCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateDataScanRequest,Operation> |
createDataScanOperationCallable()
public OperationCallable<CreateDataScanRequest,DataScan,OperationMetadata> createDataScanOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateDataScanRequest,DataScan,OperationMetadata> |
deleteDataScanCallable()
public UnaryCallable<DeleteDataScanRequest,Operation> deleteDataScanCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteDataScanRequest,Operation> |
deleteDataScanOperationCallable()
public OperationCallable<DeleteDataScanRequest,Empty,OperationMetadata> deleteDataScanOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteDataScanRequest,Empty,OperationMetadata> |
getDataScanCallable()
public UnaryCallable<GetDataScanRequest,DataScan> getDataScanCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetDataScanRequest,DataScan> |
getDataScanJobCallable()
public UnaryCallable<GetDataScanJobRequest,DataScanJob> getDataScanJobCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetDataScanJobRequest,DataScanJob> |
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns | |
---|---|
Type | Description |
GrpcOperationsStub |
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> |
listDataScanJobsPagedCallable()
public UnaryCallable<ListDataScanJobsRequest,DataScanServiceClient.ListDataScanJobsPagedResponse> listDataScanJobsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListDataScanJobsRequest,ListDataScanJobsPagedResponse> |
listDataScansCallable()
public UnaryCallable<ListDataScansRequest,ListDataScansResponse> listDataScansCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListDataScansRequest,ListDataScansResponse> |
listDataScansPagedCallable()
public UnaryCallable<ListDataScansRequest,DataScanServiceClient.ListDataScansPagedResponse> listDataScansPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListDataScansRequest,ListDataScansPagedResponse> |
listLocationsCallable()
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest,DataScanServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse> |
runDataScanCallable()
public UnaryCallable<RunDataScanRequest,RunDataScanResponse> runDataScanCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<RunDataScanRequest,RunDataScanResponse> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
updateDataScanCallable()
public UnaryCallable<UpdateDataScanRequest,Operation> updateDataScanCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateDataScanRequest,Operation> |
updateDataScanOperationCallable()
public OperationCallable<UpdateDataScanRequest,DataScan,OperationMetadata> updateDataScanOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateDataScanRequest,DataScan,OperationMetadata> |