Class CustomTargetingValueServiceStubSettings.Builder (0.11.0)

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

Builder for CustomTargetingValueServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > CustomTargetingValueServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(CustomTargetingValueServiceStubSettings settings)

protected Builder(CustomTargetingValueServiceStubSettings settings)
Parameter
Name Description
settings CustomTargetingValueServiceStubSettings

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Methods

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

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

build()

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

getCustomTargetingValueSettings()

public UnaryCallSettings.Builder<GetCustomTargetingValueRequest,CustomTargetingValue> getCustomTargetingValueSettings()

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

Returns
Type Description
Builder<GetCustomTargetingValueRequest,CustomTargetingValue>

listCustomTargetingValuesSettings()

public PagedCallSettings.Builder<ListCustomTargetingValuesRequest,ListCustomTargetingValuesResponse,CustomTargetingValueServiceClient.ListCustomTargetingValuesPagedResponse> listCustomTargetingValuesSettings()

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

Returns
Type Description
Builder<ListCustomTargetingValuesRequest,ListCustomTargetingValuesResponse,ListCustomTargetingValuesPagedResponse>

unaryMethodSettingsBuilders()

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