Class CustomTargetingKeyServiceStubSettings.Builder (0.7.0)

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

Builder for CustomTargetingKeyServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > CustomTargetingKeyServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(CustomTargetingKeyServiceStubSettings settings)

protected Builder(CustomTargetingKeyServiceStubSettings settings)
Parameter
Name Description
settings CustomTargetingKeyServiceStubSettings

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Methods

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

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

build()

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

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>

unaryMethodSettingsBuilders()

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