Class WebSecurityScannerStubSettings.Builder (2.20.0)

public static class WebSecurityScannerStubSettings.Builder extends StubSettings.Builder<WebSecurityScannerStubSettings,WebSecurityScannerStubSettings.Builder>

Builder for WebSecurityScannerStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > WebSecurityScannerStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(WebSecurityScannerStubSettings settings)

protected Builder(WebSecurityScannerStubSettings settings)
Parameter
NameDescription
settingsWebSecurityScannerStubSettings

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public WebSecurityScannerStubSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

Applies the given settings updater function to all of the unary API methods in this service.

Note: This method does not support applying settings to streaming methods.

Parameter
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
WebSecurityScannerStubSettings.Builder

build()

public WebSecurityScannerStubSettings build()
Returns
TypeDescription
WebSecurityScannerStubSettings
Overrides
Exceptions
TypeDescription
IOException

createScanConfigSettings()

public UnaryCallSettings.Builder<CreateScanConfigRequest,ScanConfig> createScanConfigSettings()

Returns the builder for the settings used for calls to createScanConfig.

Returns
TypeDescription
Builder<CreateScanConfigRequest,ScanConfig>

deleteScanConfigSettings()

public UnaryCallSettings.Builder<DeleteScanConfigRequest,Empty> deleteScanConfigSettings()

Returns the builder for the settings used for calls to deleteScanConfig.

Returns
TypeDescription
Builder<DeleteScanConfigRequest,Empty>

getFindingSettings()

public UnaryCallSettings.Builder<GetFindingRequest,Finding> getFindingSettings()

Returns the builder for the settings used for calls to getFinding.

Returns
TypeDescription
Builder<GetFindingRequest,Finding>

getScanConfigSettings()

public UnaryCallSettings.Builder<GetScanConfigRequest,ScanConfig> getScanConfigSettings()

Returns the builder for the settings used for calls to getScanConfig.

Returns
TypeDescription
Builder<GetScanConfigRequest,ScanConfig>

getScanRunSettings()

public UnaryCallSettings.Builder<GetScanRunRequest,ScanRun> getScanRunSettings()

Returns the builder for the settings used for calls to getScanRun.

Returns
TypeDescription
Builder<GetScanRunRequest,ScanRun>

listCrawledUrlsSettings()

public PagedCallSettings.Builder<ListCrawledUrlsRequest,ListCrawledUrlsResponse,WebSecurityScannerClient.ListCrawledUrlsPagedResponse> listCrawledUrlsSettings()

Returns the builder for the settings used for calls to listCrawledUrls.

Returns
TypeDescription
Builder<ListCrawledUrlsRequest,ListCrawledUrlsResponse,ListCrawledUrlsPagedResponse>

listFindingTypeStatsSettings()

public UnaryCallSettings.Builder<ListFindingTypeStatsRequest,ListFindingTypeStatsResponse> listFindingTypeStatsSettings()

Returns the builder for the settings used for calls to listFindingTypeStats.

Returns
TypeDescription
Builder<ListFindingTypeStatsRequest,ListFindingTypeStatsResponse>

listFindingsSettings()

public PagedCallSettings.Builder<ListFindingsRequest,ListFindingsResponse,WebSecurityScannerClient.ListFindingsPagedResponse> listFindingsSettings()

Returns the builder for the settings used for calls to listFindings.

Returns
TypeDescription
Builder<ListFindingsRequest,ListFindingsResponse,ListFindingsPagedResponse>

listScanConfigsSettings()

public PagedCallSettings.Builder<ListScanConfigsRequest,ListScanConfigsResponse,WebSecurityScannerClient.ListScanConfigsPagedResponse> listScanConfigsSettings()

Returns the builder for the settings used for calls to listScanConfigs.

Returns
TypeDescription
Builder<ListScanConfigsRequest,ListScanConfigsResponse,ListScanConfigsPagedResponse>

listScanRunsSettings()

public PagedCallSettings.Builder<ListScanRunsRequest,ListScanRunsResponse,WebSecurityScannerClient.ListScanRunsPagedResponse> listScanRunsSettings()

Returns the builder for the settings used for calls to listScanRuns.

Returns
TypeDescription
Builder<ListScanRunsRequest,ListScanRunsResponse,ListScanRunsPagedResponse>

startScanRunSettings()

public UnaryCallSettings.Builder<StartScanRunRequest,ScanRun> startScanRunSettings()

Returns the builder for the settings used for calls to startScanRun.

Returns
TypeDescription
Builder<StartScanRunRequest,ScanRun>

stopScanRunSettings()

public UnaryCallSettings.Builder<StopScanRunRequest,ScanRun> stopScanRunSettings()

Returns the builder for the settings used for calls to stopScanRun.

Returns
TypeDescription
Builder<StopScanRunRequest,ScanRun>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
com.google.common.collect.ImmutableList<Builder<?,?>>

updateScanConfigSettings()

public UnaryCallSettings.Builder<UpdateScanConfigRequest,ScanConfig> updateScanConfigSettings()

Returns the builder for the settings used for calls to updateScanConfig.

Returns
TypeDescription
Builder<UpdateScanConfigRequest,ScanConfig>