Class CustomTargetingKeyServiceStubSettings.Builder (0.54.0)
Stay organized with collections
Save and categorize content based on your preferences.
public static class CustomTargetingKeyServiceStubSettings.Builder extends StubSettings.Builder<CustomTargetingKeyServiceStubSettings,CustomTargetingKeyServiceStubSettings.Builder>
Builder for CustomTargetingKeyServiceStubSettings.
Constructors
Builder()
Builder(@Nullable ClientContext clientContext)
protected Builder(@Nullable ClientContext clientContext)
| Parameter |
| Name |
Description |
clientContext |
@org.jspecify.annotations.Nullable com.google.api.gax.rpc.ClientContext
|
Builder(CustomTargetingKeyServiceStubSettings settings)
protected Builder(CustomTargetingKeyServiceStubSettings settings)
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.
batchActivateCustomTargetingKeysSettings()
public UnaryCallSettings.Builder<BatchActivateCustomTargetingKeysRequest,BatchActivateCustomTargetingKeysResponse> batchActivateCustomTargetingKeysSettings()
Returns the builder for the settings used for calls to batchActivateCustomTargetingKeys.
batchCreateCustomTargetingKeysSettings()
public UnaryCallSettings.Builder<BatchCreateCustomTargetingKeysRequest,BatchCreateCustomTargetingKeysResponse> batchCreateCustomTargetingKeysSettings()
Returns the builder for the settings used for calls to batchCreateCustomTargetingKeys.
batchDeactivateCustomTargetingKeysSettings()
public UnaryCallSettings.Builder<BatchDeactivateCustomTargetingKeysRequest,BatchDeactivateCustomTargetingKeysResponse> batchDeactivateCustomTargetingKeysSettings()
Returns the builder for the settings used for calls to batchDeactivateCustomTargetingKeys.
batchUpdateCustomTargetingKeysSettings()
public UnaryCallSettings.Builder<BatchUpdateCustomTargetingKeysRequest,BatchUpdateCustomTargetingKeysResponse> batchUpdateCustomTargetingKeysSettings()
Returns the builder for the settings used for calls to batchUpdateCustomTargetingKeys.
build()
public CustomTargetingKeyServiceStubSettings build()
Overrides
createCustomTargetingKeySettings()
public UnaryCallSettings.Builder<CreateCustomTargetingKeyRequest,CustomTargetingKey> createCustomTargetingKeySettings()
Returns the builder for the settings used for calls to createCustomTargetingKey.
getCustomTargetingKeySettings()
public UnaryCallSettings.Builder<GetCustomTargetingKeyRequest,CustomTargetingKey> getCustomTargetingKeySettings()
Returns the builder for the settings used for calls to getCustomTargetingKey.
listCustomTargetingKeysSettings()
public PagedCallSettings.Builder<ListCustomTargetingKeysRequest,ListCustomTargetingKeysResponse,CustomTargetingKeyServiceClient.ListCustomTargetingKeysPagedResponse> listCustomTargetingKeysSettings()
Returns the builder for the settings used for calls to listCustomTargetingKeys.
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
| Returns |
| Type |
Description |
com.google.common.collect.ImmutableList<Builder<?,?>> |
|
updateCustomTargetingKeySettings()
public UnaryCallSettings.Builder<UpdateCustomTargetingKeyRequest,CustomTargetingKey> updateCustomTargetingKeySettings()
Returns the builder for the settings used for calls to updateCustomTargetingKey.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-08-04 UTC.
[null,null,["Last updated 2026-08-04 UTC."],[],[]]