Class WebSecurityScannerStubSettings.Builder (2.44.0)

See more code actions.
public static class WebSecurityScannerStubSettings.Builder extends StubSettings.Builder<WebSecurityScannerStubSettings,WebSecurityScannerStubSettings.Builder>

Builder for WebSecurityScannerStubSettings.

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

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(WebSecurityScannerStubSettings settings)

protected Builder(WebSecurityScannerStubSettings settings)
Parameter
Name Description
settings WebSecurityScannerStubSettings

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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
WebSecurityScannerStubSettings.Builder

build()

public WebSecurityScannerStubSettings build()
Returns
Type Description
WebSecurityScannerStubSettings
Overrides
Exceptions
Type Description
IOException

createScanConfigSettings()

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

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

Returns
Type Description
Builder<CreateScanConfigRequest,ScanConfig>

deleteScanConfigSettings()

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

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

Returns
Type Description
Builder<DeleteScanConfigRequest,Empty>

getFindingSettings()

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

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

Returns
Type Description
Builder<GetFindingRequest,Finding>

getScanConfigSettings()

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

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

Returns
Type Description
Builder<GetScanConfigRequest,ScanConfig>

getScanRunSettings()

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

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

Returns
Type Description
Builder<GetScanRunRequest,ScanRun>

listCrawledUrlsSettings()

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

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

listFindingTypeStatsSettings()

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

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

listFindingsSettings()

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

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

listScanConfigsSettings()

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

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

listScanRunsSettings()

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

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

startScanRunSettings()

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

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

Returns
Type Description
Builder<StartScanRunRequest,ScanRun>

stopScanRunSettings()

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

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

Returns
Type Description
Builder<StopScanRunRequest,ScanRun>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
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
Type Description
Builder<UpdateScanConfigRequest,ScanConfig>