Class HttpJsonWebSecurityScannerStub
- java.lang.Object
-
- com.google.cloud.websecurityscanner.v1.stub.WebSecurityScannerStub
-
- com.google.cloud.websecurityscanner.v1.stub.HttpJsonWebSecurityScannerStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource
,AutoCloseable
@Generated("by gapic-generator-java") @BetaApi public class HttpJsonWebSecurityScannerStub extends WebSecurityScannerStub
REST stub implementation for the WebSecurityScanner service API.This class is for advanced usage and reflects the underlying API directly.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
HttpJsonWebSecurityScannerStub(WebSecurityScannerStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonWebSecurityScannerStub, using the given settings.protected
HttpJsonWebSecurityScannerStub(WebSecurityScannerStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonWebSecurityScannerStub, using the given settings.
-
Method Summary
-
-
-
Constructor Detail
-
HttpJsonWebSecurityScannerStub
protected HttpJsonWebSecurityScannerStub(WebSecurityScannerStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
Constructs an instance of HttpJsonWebSecurityScannerStub, 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
-
HttpJsonWebSecurityScannerStub
protected HttpJsonWebSecurityScannerStub(WebSecurityScannerStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
Constructs an instance of HttpJsonWebSecurityScannerStub, 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 HttpJsonWebSecurityScannerStub create(WebSecurityScannerStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonWebSecurityScannerStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonWebSecurityScannerStub 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()
-
createScanConfigCallable
public com.google.api.gax.rpc.UnaryCallable<CreateScanConfigRequest,ScanConfig> createScanConfigCallable()
- Overrides:
createScanConfigCallable
in classWebSecurityScannerStub
-
deleteScanConfigCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteScanConfigRequest,com.google.protobuf.Empty> deleteScanConfigCallable()
- Overrides:
deleteScanConfigCallable
in classWebSecurityScannerStub
-
getScanConfigCallable
public com.google.api.gax.rpc.UnaryCallable<GetScanConfigRequest,ScanConfig> getScanConfigCallable()
- Overrides:
getScanConfigCallable
in classWebSecurityScannerStub
-
listScanConfigsCallable
public com.google.api.gax.rpc.UnaryCallable<ListScanConfigsRequest,ListScanConfigsResponse> listScanConfigsCallable()
- Overrides:
listScanConfigsCallable
in classWebSecurityScannerStub
-
listScanConfigsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListScanConfigsRequest,WebSecurityScannerClient.ListScanConfigsPagedResponse> listScanConfigsPagedCallable()
- Overrides:
listScanConfigsPagedCallable
in classWebSecurityScannerStub
-
updateScanConfigCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateScanConfigRequest,ScanConfig> updateScanConfigCallable()
- Overrides:
updateScanConfigCallable
in classWebSecurityScannerStub
-
startScanRunCallable
public com.google.api.gax.rpc.UnaryCallable<StartScanRunRequest,ScanRun> startScanRunCallable()
- Overrides:
startScanRunCallable
in classWebSecurityScannerStub
-
getScanRunCallable
public com.google.api.gax.rpc.UnaryCallable<GetScanRunRequest,ScanRun> getScanRunCallable()
- Overrides:
getScanRunCallable
in classWebSecurityScannerStub
-
listScanRunsCallable
public com.google.api.gax.rpc.UnaryCallable<ListScanRunsRequest,ListScanRunsResponse> listScanRunsCallable()
- Overrides:
listScanRunsCallable
in classWebSecurityScannerStub
-
listScanRunsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListScanRunsRequest,WebSecurityScannerClient.ListScanRunsPagedResponse> listScanRunsPagedCallable()
- Overrides:
listScanRunsPagedCallable
in classWebSecurityScannerStub
-
stopScanRunCallable
public com.google.api.gax.rpc.UnaryCallable<StopScanRunRequest,ScanRun> stopScanRunCallable()
- Overrides:
stopScanRunCallable
in classWebSecurityScannerStub
-
listCrawledUrlsCallable
public com.google.api.gax.rpc.UnaryCallable<ListCrawledUrlsRequest,ListCrawledUrlsResponse> listCrawledUrlsCallable()
- Overrides:
listCrawledUrlsCallable
in classWebSecurityScannerStub
-
listCrawledUrlsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListCrawledUrlsRequest,WebSecurityScannerClient.ListCrawledUrlsPagedResponse> listCrawledUrlsPagedCallable()
- Overrides:
listCrawledUrlsPagedCallable
in classWebSecurityScannerStub
-
getFindingCallable
public com.google.api.gax.rpc.UnaryCallable<GetFindingRequest,Finding> getFindingCallable()
- Overrides:
getFindingCallable
in classWebSecurityScannerStub
-
listFindingsCallable
public com.google.api.gax.rpc.UnaryCallable<ListFindingsRequest,ListFindingsResponse> listFindingsCallable()
- Overrides:
listFindingsCallable
in classWebSecurityScannerStub
-
listFindingsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListFindingsRequest,WebSecurityScannerClient.ListFindingsPagedResponse> listFindingsPagedCallable()
- Overrides:
listFindingsPagedCallable
in classWebSecurityScannerStub
-
listFindingTypeStatsCallable
public com.google.api.gax.rpc.UnaryCallable<ListFindingTypeStatsRequest,ListFindingTypeStatsResponse> listFindingTypeStatsCallable()
- Overrides:
listFindingTypeStatsCallable
in classWebSecurityScannerStub
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in classWebSecurityScannerStub
-
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
-
-