Class HttpJsonDataScanServiceStub
- java.lang.Object
-
- com.google.cloud.dataplex.v1.stub.DataScanServiceStub
-
- com.google.cloud.dataplex.v1.stub.HttpJsonDataScanServiceStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource
,AutoCloseable
@Generated("by gapic-generator-java") @BetaApi 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.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
HttpJsonDataScanServiceStub(DataScanServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonDataScanServiceStub, using the given settings.protected
HttpJsonDataScanServiceStub(DataScanServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonDataScanServiceStub, using the given settings.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
awaitTermination(long duration, TimeUnit unit)
void
close()
static HttpJsonDataScanServiceStub
create(com.google.api.gax.rpc.ClientContext clientContext)
static HttpJsonDataScanServiceStub
create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
static HttpJsonDataScanServiceStub
create(DataScanServiceStubSettings settings)
com.google.api.gax.rpc.UnaryCallable<CreateDataScanRequest,com.google.longrunning.Operation>
createDataScanCallable()
com.google.api.gax.rpc.OperationCallable<CreateDataScanRequest,DataScan,OperationMetadata>
createDataScanOperationCallable()
com.google.api.gax.rpc.UnaryCallable<DeleteDataScanRequest,com.google.longrunning.Operation>
deleteDataScanCallable()
com.google.api.gax.rpc.OperationCallable<DeleteDataScanRequest,com.google.protobuf.Empty,OperationMetadata>
deleteDataScanOperationCallable()
com.google.api.gax.rpc.UnaryCallable<GetDataScanRequest,DataScan>
getDataScanCallable()
com.google.api.gax.rpc.UnaryCallable<GetDataScanJobRequest,DataScanJob>
getDataScanJobCallable()
com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub
getHttpJsonOperationsStub()
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
getLocationCallable()
static List<com.google.api.gax.httpjson.ApiMethodDescriptor>
getMethodDescriptors()
boolean
isShutdown()
boolean
isTerminated()
com.google.api.gax.rpc.UnaryCallable<ListDataScanJobsRequest,ListDataScanJobsResponse>
listDataScanJobsCallable()
com.google.api.gax.rpc.UnaryCallable<ListDataScanJobsRequest,DataScanServiceClient.ListDataScanJobsPagedResponse>
listDataScanJobsPagedCallable()
com.google.api.gax.rpc.UnaryCallable<ListDataScansRequest,ListDataScansResponse>
listDataScansCallable()
com.google.api.gax.rpc.UnaryCallable<ListDataScansRequest,DataScanServiceClient.ListDataScansPagedResponse>
listDataScansPagedCallable()
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>
listLocationsCallable()
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,DataScanServiceClient.ListLocationsPagedResponse>
listLocationsPagedCallable()
com.google.api.gax.rpc.UnaryCallable<RunDataScanRequest,RunDataScanResponse>
runDataScanCallable()
void
shutdown()
void
shutdownNow()
com.google.api.gax.rpc.UnaryCallable<UpdateDataScanRequest,com.google.longrunning.Operation>
updateDataScanCallable()
com.google.api.gax.rpc.OperationCallable<UpdateDataScanRequest,DataScan,OperationMetadata>
updateDataScanOperationCallable()
-
Methods inherited from class com.google.cloud.dataplex.v1.stub.DataScanServiceStub
getOperationsStub
-
-
-
-
Constructor Detail
-
HttpJsonDataScanServiceStub
protected HttpJsonDataScanServiceStub(DataScanServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
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.- Throws:
IOException
-
HttpJsonDataScanServiceStub
protected HttpJsonDataScanServiceStub(DataScanServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
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.- Throws:
IOException
-
-
Method Detail
-
create
public static final HttpJsonDataScanServiceStub create(DataScanServiceStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonDataScanServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonDataScanServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
- Throws:
IOException
-
getMethodDescriptors
@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
-
getHttpJsonOperationsStub
public com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub getHttpJsonOperationsStub()
- Overrides:
getHttpJsonOperationsStub
in classDataScanServiceStub
-
createDataScanCallable
public com.google.api.gax.rpc.UnaryCallable<CreateDataScanRequest,com.google.longrunning.Operation> createDataScanCallable()
- Overrides:
createDataScanCallable
in classDataScanServiceStub
-
createDataScanOperationCallable
public com.google.api.gax.rpc.OperationCallable<CreateDataScanRequest,DataScan,OperationMetadata> createDataScanOperationCallable()
- Overrides:
createDataScanOperationCallable
in classDataScanServiceStub
-
updateDataScanCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateDataScanRequest,com.google.longrunning.Operation> updateDataScanCallable()
- Overrides:
updateDataScanCallable
in classDataScanServiceStub
-
updateDataScanOperationCallable
public com.google.api.gax.rpc.OperationCallable<UpdateDataScanRequest,DataScan,OperationMetadata> updateDataScanOperationCallable()
- Overrides:
updateDataScanOperationCallable
in classDataScanServiceStub
-
deleteDataScanCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteDataScanRequest,com.google.longrunning.Operation> deleteDataScanCallable()
- Overrides:
deleteDataScanCallable
in classDataScanServiceStub
-
deleteDataScanOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteDataScanRequest,com.google.protobuf.Empty,OperationMetadata> deleteDataScanOperationCallable()
- Overrides:
deleteDataScanOperationCallable
in classDataScanServiceStub
-
getDataScanCallable
public com.google.api.gax.rpc.UnaryCallable<GetDataScanRequest,DataScan> getDataScanCallable()
- Overrides:
getDataScanCallable
in classDataScanServiceStub
-
listDataScansCallable
public com.google.api.gax.rpc.UnaryCallable<ListDataScansRequest,ListDataScansResponse> listDataScansCallable()
- Overrides:
listDataScansCallable
in classDataScanServiceStub
-
listDataScansPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListDataScansRequest,DataScanServiceClient.ListDataScansPagedResponse> listDataScansPagedCallable()
- Overrides:
listDataScansPagedCallable
in classDataScanServiceStub
-
runDataScanCallable
public com.google.api.gax.rpc.UnaryCallable<RunDataScanRequest,RunDataScanResponse> runDataScanCallable()
- Overrides:
runDataScanCallable
in classDataScanServiceStub
-
getDataScanJobCallable
public com.google.api.gax.rpc.UnaryCallable<GetDataScanJobRequest,DataScanJob> getDataScanJobCallable()
- Overrides:
getDataScanJobCallable
in classDataScanServiceStub
-
listDataScanJobsCallable
public com.google.api.gax.rpc.UnaryCallable<ListDataScanJobsRequest,ListDataScanJobsResponse> listDataScanJobsCallable()
- Overrides:
listDataScanJobsCallable
in classDataScanServiceStub
-
listDataScanJobsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListDataScanJobsRequest,DataScanServiceClient.ListDataScanJobsPagedResponse> listDataScanJobsPagedCallable()
- Overrides:
listDataScanJobsPagedCallable
in classDataScanServiceStub
-
listLocationsCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
- Overrides:
listLocationsCallable
in classDataScanServiceStub
-
listLocationsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,DataScanServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
- Overrides:
listLocationsPagedCallable
in classDataScanServiceStub
-
getLocationCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
- Overrides:
getLocationCallable
in classDataScanServiceStub
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in classDataScanServiceStub
-
shutdown
public void shutdown()
-
isShutdown
public boolean isShutdown()
-
isTerminated
public boolean isTerminated()
-
shutdownNow
public void shutdownNow()
-
awaitTermination
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
- Throws:
InterruptedException
-
-