Class WebRiskServiceSettings.Builder (2.43.0)

public static class WebRiskServiceSettings.Builder extends ClientSettings.Builder<WebRiskServiceSettings,WebRiskServiceSettings.Builder>

Builder for WebRiskServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > WebRiskServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(WebRiskServiceSettings settings)

protected Builder(WebRiskServiceSettings settings)
Parameter
Name Description
settings WebRiskServiceSettings

Builder(WebRiskServiceStubSettings.Builder stubSettings)

protected Builder(WebRiskServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings WebRiskServiceStubSettings.Builder

Methods

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

public WebRiskServiceSettings.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
WebRiskServiceSettings.Builder

build()

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

computeThreatListDiffSettings()

public UnaryCallSettings.Builder<ComputeThreatListDiffRequest,ComputeThreatListDiffResponse> computeThreatListDiffSettings()

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

Returns
Type Description
Builder<ComputeThreatListDiffRequest,ComputeThreatListDiffResponse>

createSubmissionSettings()

public UnaryCallSettings.Builder<CreateSubmissionRequest,Submission> createSubmissionSettings()

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

Returns
Type Description
Builder<CreateSubmissionRequest,Submission>

getStubSettingsBuilder()

public WebRiskServiceStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
WebRiskServiceStubSettings.Builder

searchHashesSettings()

public UnaryCallSettings.Builder<SearchHashesRequest,SearchHashesResponse> searchHashesSettings()

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

Returns
Type Description
Builder<SearchHashesRequest,SearchHashesResponse>

searchUrisSettings()

public UnaryCallSettings.Builder<SearchUrisRequest,SearchUrisResponse> searchUrisSettings()

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

Returns
Type Description
Builder<SearchUrisRequest,SearchUrisResponse>

submitUriOperationSettings()

public OperationCallSettings.Builder<SubmitUriRequest,Submission,SubmitUriMetadata> submitUriOperationSettings()

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

Returns
Type Description
Builder<SubmitUriRequest,Submission,SubmitUriMetadata>

submitUriSettings()

public UnaryCallSettings.Builder<SubmitUriRequest,Operation> submitUriSettings()

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

Returns
Type Description
Builder<SubmitUriRequest,Operation>