Class WebRiskServiceStubSettings.Builder (2.47.0)

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

Builder for WebRiskServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > WebRiskServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(WebRiskServiceStubSettings settings)

protected Builder(WebRiskServiceStubSettings settings)
Parameter
Name Description
settings WebRiskServiceStubSettings

Methods

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

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

build()

public WebRiskServiceStubSettings build()
Returns
Type Description
WebRiskServiceStubSettings
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>

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>

unaryMethodSettingsBuilders()

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