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.
Static Methods
create(ClientContext clientContext)
public static final GrpcWebSecurityScannerStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcWebSecurityScannerStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(WebSecurityScannerStubSettings settings)
public static final GrpcWebSecurityScannerStub create(WebSecurityScannerStubSettings settings)
Constructors
GrpcWebSecurityScannerStub(WebSecurityScannerStubSettings settings, ClientContext clientContext)
protected GrpcWebSecurityScannerStub(WebSecurityScannerStubSettings settings, ClientContext clientContext)
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.
GrpcWebSecurityScannerStub(WebSecurityScannerStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcWebSecurityScannerStub(WebSecurityScannerStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
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.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
createScanConfigCallable()
public UnaryCallable<CreateScanConfigRequest,ScanConfig> createScanConfigCallable()
Overrides
deleteScanConfigCallable()
public UnaryCallable<DeleteScanConfigRequest,Empty> deleteScanConfigCallable()
Overrides
getFindingCallable()
public UnaryCallable<GetFindingRequest,Finding> getFindingCallable()
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
getScanConfigCallable()
public UnaryCallable<GetScanConfigRequest,ScanConfig> getScanConfigCallable()
Overrides
getScanRunCallable()
public UnaryCallable<GetScanRunRequest,ScanRun> getScanRunCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listCrawledUrlsCallable()
public UnaryCallable<ListCrawledUrlsRequest,ListCrawledUrlsResponse> listCrawledUrlsCallable()
Overrides
listCrawledUrlsPagedCallable()
public UnaryCallable<ListCrawledUrlsRequest,WebSecurityScannerClient.ListCrawledUrlsPagedResponse> listCrawledUrlsPagedCallable()
Overrides
listFindingTypeStatsCallable()
public UnaryCallable<ListFindingTypeStatsRequest,ListFindingTypeStatsResponse> listFindingTypeStatsCallable()
Overrides
listFindingsCallable()
public UnaryCallable<ListFindingsRequest,ListFindingsResponse> listFindingsCallable()
Overrides
listFindingsPagedCallable()
public UnaryCallable<ListFindingsRequest,WebSecurityScannerClient.ListFindingsPagedResponse> listFindingsPagedCallable()
Overrides
listScanConfigsCallable()
public UnaryCallable<ListScanConfigsRequest,ListScanConfigsResponse> listScanConfigsCallable()
Overrides
listScanConfigsPagedCallable()
public UnaryCallable<ListScanConfigsRequest,WebSecurityScannerClient.ListScanConfigsPagedResponse> listScanConfigsPagedCallable()
Overrides
listScanRunsCallable()
public UnaryCallable<ListScanRunsRequest,ListScanRunsResponse> listScanRunsCallable()
Overrides
listScanRunsPagedCallable()
public UnaryCallable<ListScanRunsRequest,WebSecurityScannerClient.ListScanRunsPagedResponse> listScanRunsPagedCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
startScanRunCallable()
public UnaryCallable<StartScanRunRequest,ScanRun> startScanRunCallable()
Overrides
stopScanRunCallable()
public UnaryCallable<StopScanRunRequest,ScanRun> stopScanRunCallable()
Overrides
updateScanConfigCallable()
public UnaryCallable<UpdateScanConfigRequest,ScanConfig> updateScanConfigCallable()
Overrides