Class CustomTargetingKeyServiceSettings.Builder (0.11.0)

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

Builder for CustomTargetingKeyServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > CustomTargetingKeyServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(CustomTargetingKeyServiceSettings settings)

protected Builder(CustomTargetingKeyServiceSettings settings)
Parameter
Name Description
settings CustomTargetingKeyServiceSettings

Builder(CustomTargetingKeyServiceStubSettings.Builder stubSettings)

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

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Methods

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

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

build()

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

getCustomTargetingKeySettings()

public UnaryCallSettings.Builder<GetCustomTargetingKeyRequest,CustomTargetingKey> getCustomTargetingKeySettings()

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

Returns
Type Description
Builder<GetCustomTargetingKeyRequest,CustomTargetingKey>

getStubSettingsBuilder()

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

listCustomTargetingKeysSettings()

public PagedCallSettings.Builder<ListCustomTargetingKeysRequest,ListCustomTargetingKeysResponse,CustomTargetingKeyServiceClient.ListCustomTargetingKeysPagedResponse> listCustomTargetingKeysSettings()

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

Returns
Type Description
Builder<ListCustomTargetingKeysRequest,ListCustomTargetingKeysResponse,ListCustomTargetingKeysPagedResponse>