Class CustomTargetingValueServiceSettings.Builder (0.5.0)

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

Builder for CustomTargetingValueServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > CustomTargetingValueServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(CustomTargetingValueServiceSettings settings)

protected Builder(CustomTargetingValueServiceSettings settings)
Parameter
Name Description
settings CustomTargetingValueServiceSettings

Builder(CustomTargetingValueServiceStubSettings.Builder stubSettings)

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

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Methods

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

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

build()

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

getStubSettingsBuilder()

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

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>