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)
Parameter
Returns
Exceptions
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcWebSecurityScannerStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(WebSecurityScannerStubSettings settings)
public static final GrpcWebSecurityScannerStub create(WebSecurityScannerStubSettings settings)
Parameter
Returns
Exceptions
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.
Parameters
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.
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
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns
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