Class WebSecurityScannerStubSettings.Builder (2.11.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

build()

public WebSecurityScannerStubSettings build()
Returns Overrides Exceptions
TypeDescription
IOException

createScanConfigSettings()

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

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

Returns

deleteScanConfigSettings()

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

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

Returns

getFindingSettings()

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

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

Returns

getScanConfigSettings()

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

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

Returns

getScanRunSettings()

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

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

Returns

listCrawledUrlsSettings()

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

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

Returns

listFindingTypeStatsSettings()

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

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

Returns

listFindingsSettings()

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

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

Returns

listScanConfigsSettings()

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

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

Returns

listScanRunsSettings()

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

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

Returns

startScanRunSettings()

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

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

Returns

stopScanRunSettings()

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

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

Returns

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