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