Class WebRiskServiceStubSettings.Builder (2.11.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
NameDescription
clientContextClientContext

Builder(WebRiskServiceStubSettings settings)

protected Builder(WebRiskServiceStubSettings settings)
Parameter
NameDescription
settingsWebRiskServiceStubSettings

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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
WebRiskServiceStubSettings.Builder

build()

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

computeThreatListDiffSettings()

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

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

Returns
TypeDescription
Builder<ComputeThreatListDiffRequest,ComputeThreatListDiffResponse>

createSubmissionSettings()

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

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

Returns
TypeDescription
Builder<CreateSubmissionRequest,Submission>

searchHashesSettings()

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

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

Returns
TypeDescription
Builder<SearchHashesRequest,SearchHashesResponse>

searchUrisSettings()

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

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

Returns
TypeDescription
Builder<SearchUrisRequest,SearchUrisResponse>

unaryMethodSettingsBuilders()

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