Class GrpcWebSecurityScannerStub (2.39.0)

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.

Inheritance

java.lang.Object > WebSecurityScannerStub > GrpcWebSecurityScannerStub

Static Methods

create(ClientContext clientContext)

public static final GrpcWebSecurityScannerStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcWebSecurityScannerStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcWebSecurityScannerStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcWebSecurityScannerStub
Exceptions
TypeDescription
IOException

create(WebSecurityScannerStubSettings settings)

public static final GrpcWebSecurityScannerStub create(WebSecurityScannerStubSettings settings)
Parameter
NameDescription
settingsWebSecurityScannerStubSettings
Returns
TypeDescription
GrpcWebSecurityScannerStub
Exceptions
TypeDescription
IOException

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
NameDescription
settingsWebSecurityScannerStubSettings
clientContextClientContext

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
NameDescription
settingsWebSecurityScannerStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

createScanConfigCallable()

public UnaryCallable<CreateScanConfigRequest,ScanConfig> createScanConfigCallable()
Returns
TypeDescription
UnaryCallable<CreateScanConfigRequest,ScanConfig>
Overrides

deleteScanConfigCallable()

public UnaryCallable<DeleteScanConfigRequest,Empty> deleteScanConfigCallable()
Returns
TypeDescription
UnaryCallable<DeleteScanConfigRequest,Empty>
Overrides

getFindingCallable()

public UnaryCallable<GetFindingRequest,Finding> getFindingCallable()
Returns
TypeDescription
UnaryCallable<GetFindingRequest,Finding>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub

getScanConfigCallable()

public UnaryCallable<GetScanConfigRequest,ScanConfig> getScanConfigCallable()
Returns
TypeDescription
UnaryCallable<GetScanConfigRequest,ScanConfig>
Overrides

getScanRunCallable()

public UnaryCallable<GetScanRunRequest,ScanRun> getScanRunCallable()
Returns
TypeDescription
UnaryCallable<GetScanRunRequest,ScanRun>
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listCrawledUrlsCallable()

public UnaryCallable<ListCrawledUrlsRequest,ListCrawledUrlsResponse> listCrawledUrlsCallable()
Returns
TypeDescription
UnaryCallable<ListCrawledUrlsRequest,ListCrawledUrlsResponse>
Overrides

listCrawledUrlsPagedCallable()

public UnaryCallable<ListCrawledUrlsRequest,WebSecurityScannerClient.ListCrawledUrlsPagedResponse> listCrawledUrlsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListCrawledUrlsRequest,ListCrawledUrlsPagedResponse>
Overrides

listFindingTypeStatsCallable()

public UnaryCallable<ListFindingTypeStatsRequest,ListFindingTypeStatsResponse> listFindingTypeStatsCallable()
Returns
TypeDescription
UnaryCallable<ListFindingTypeStatsRequest,ListFindingTypeStatsResponse>
Overrides

listFindingsCallable()

public UnaryCallable<ListFindingsRequest,ListFindingsResponse> listFindingsCallable()
Returns
TypeDescription
UnaryCallable<ListFindingsRequest,ListFindingsResponse>
Overrides

listFindingsPagedCallable()

public UnaryCallable<ListFindingsRequest,WebSecurityScannerClient.ListFindingsPagedResponse> listFindingsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListFindingsRequest,ListFindingsPagedResponse>
Overrides

listScanConfigsCallable()

public UnaryCallable<ListScanConfigsRequest,ListScanConfigsResponse> listScanConfigsCallable()
Returns
TypeDescription
UnaryCallable<ListScanConfigsRequest,ListScanConfigsResponse>
Overrides

listScanConfigsPagedCallable()

public UnaryCallable<ListScanConfigsRequest,WebSecurityScannerClient.ListScanConfigsPagedResponse> listScanConfigsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListScanConfigsRequest,ListScanConfigsPagedResponse>
Overrides

listScanRunsCallable()

public UnaryCallable<ListScanRunsRequest,ListScanRunsResponse> listScanRunsCallable()
Returns
TypeDescription
UnaryCallable<ListScanRunsRequest,ListScanRunsResponse>
Overrides

listScanRunsPagedCallable()

public UnaryCallable<ListScanRunsRequest,WebSecurityScannerClient.ListScanRunsPagedResponse> listScanRunsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListScanRunsRequest,ListScanRunsPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

startScanRunCallable()

public UnaryCallable<StartScanRunRequest,ScanRun> startScanRunCallable()
Returns
TypeDescription
UnaryCallable<StartScanRunRequest,ScanRun>
Overrides

stopScanRunCallable()

public UnaryCallable<StopScanRunRequest,ScanRun> stopScanRunCallable()
Returns
TypeDescription
UnaryCallable<StopScanRunRequest,ScanRun>
Overrides

updateScanConfigCallable()

public UnaryCallable<UpdateScanConfigRequest,ScanConfig> updateScanConfigCallable()
Returns
TypeDescription
UnaryCallable<UpdateScanConfigRequest,ScanConfig>
Overrides