Class GrpcWebSecurityScannerStub
java.lang.Object
com.google.cloud.websecurityscanner.v1beta.stub.WebSecurityScannerStub
com.google.cloud.websecurityscanner.v1beta.stub.GrpcWebSecurityScannerStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@BetaApi
@Generated("by gapic-generator-java")
public class GrpcWebSecurityScannerStub
extends WebSecurityScannerStub
gRPC stub implementation for the WebSecurityScanner service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcWebSecurityScannerStub(WebSecurityScannerStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcWebSecurityScannerStub, using the given settings.protectedGrpcWebSecurityScannerStub(WebSecurityScannerStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcWebSecurityScannerStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcWebSecurityScannerStubcreate(ClientContext clientContext) static final GrpcWebSecurityScannerStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcWebSecurityScannerStubcreate(WebSecurityScannerStubSettings settings) UnaryCallable<DeleteScanConfigRequest,com.google.protobuf.Empty> booleanbooleanvoidshutdown()void
-
Constructor Details
-
GrpcWebSecurityScannerStub
protected GrpcWebSecurityScannerStub(WebSecurityScannerStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of GrpcWebSecurityScannerStub, 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
-
GrpcWebSecurityScannerStub
protected GrpcWebSecurityScannerStub(WebSecurityScannerStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException Constructs an instance of GrpcWebSecurityScannerStub, 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 Details
-
create
public static final GrpcWebSecurityScannerStub create(WebSecurityScannerStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final GrpcWebSecurityScannerStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final GrpcWebSecurityScannerStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
-
createScanConfigCallable
- Overrides:
createScanConfigCallablein classWebSecurityScannerStub
-
deleteScanConfigCallable
- Overrides:
deleteScanConfigCallablein classWebSecurityScannerStub
-
getScanConfigCallable
- Overrides:
getScanConfigCallablein classWebSecurityScannerStub
-
listScanConfigsCallable
- Overrides:
listScanConfigsCallablein classWebSecurityScannerStub
-
listScanConfigsPagedCallable
public UnaryCallable<ListScanConfigsRequest,WebSecurityScannerClient.ListScanConfigsPagedResponse> listScanConfigsPagedCallable()- Overrides:
listScanConfigsPagedCallablein classWebSecurityScannerStub
-
updateScanConfigCallable
- Overrides:
updateScanConfigCallablein classWebSecurityScannerStub
-
startScanRunCallable
- Overrides:
startScanRunCallablein classWebSecurityScannerStub
-
getScanRunCallable
- Overrides:
getScanRunCallablein classWebSecurityScannerStub
-
listScanRunsCallable
- Overrides:
listScanRunsCallablein classWebSecurityScannerStub
-
listScanRunsPagedCallable
public UnaryCallable<ListScanRunsRequest,WebSecurityScannerClient.ListScanRunsPagedResponse> listScanRunsPagedCallable()- Overrides:
listScanRunsPagedCallablein classWebSecurityScannerStub
-
stopScanRunCallable
- Overrides:
stopScanRunCallablein classWebSecurityScannerStub
-
listCrawledUrlsCallable
- Overrides:
listCrawledUrlsCallablein classWebSecurityScannerStub
-
listCrawledUrlsPagedCallable
public UnaryCallable<ListCrawledUrlsRequest,WebSecurityScannerClient.ListCrawledUrlsPagedResponse> listCrawledUrlsPagedCallable()- Overrides:
listCrawledUrlsPagedCallablein classWebSecurityScannerStub
-
getFindingCallable
- Overrides:
getFindingCallablein classWebSecurityScannerStub
-
listFindingsCallable
- Overrides:
listFindingsCallablein classWebSecurityScannerStub
-
listFindingsPagedCallable
public UnaryCallable<ListFindingsRequest,WebSecurityScannerClient.ListFindingsPagedResponse> listFindingsPagedCallable()- Overrides:
listFindingsPagedCallablein classWebSecurityScannerStub
-
listFindingTypeStatsCallable
public UnaryCallable<ListFindingTypeStatsRequest,ListFindingTypeStatsResponse> listFindingTypeStatsCallable()- Overrides:
listFindingTypeStatsCallablein classWebSecurityScannerStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classWebSecurityScannerStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-