Class CreativeServiceSettings.Builder (0.62.0)
Stay organized with collections
Save and categorize content based on your preferences.
public static class CreativeServiceSettings.Builder extends ClientSettings.Builder<CreativeServiceSettings,CreativeServiceSettings.Builder>
Builder for CreativeServiceSettings.
Inherited Members
com.google.api.gax.rpc.ClientSettings.Builder.setGdchApiAudience(java.lang.String)
com.google.api.gax.rpc.ClientSettings.Builder.setWatchdogCheckInterval(org.threeten.bp.Duration)
com.google.api.gax.rpc.ClientSettings.Builder.setWatchdogCheckIntervalDuration(java.time.Duration)
com.google.api.gax.rpc.ClientSettings.Builder.setWatchdogProvider(com.google.api.gax.rpc.WatchdogProvider)
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(CreativeServiceSettings settings)
protected Builder(CreativeServiceSettings settings)
Builder(CreativeServiceStubSettings.Builder stubSettings)
protected Builder(CreativeServiceStubSettings.Builder stubSettings)
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public CreativeServiceSettings.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.
batchActivateCreativesSettings()
public UnaryCallSettings.Builder<BatchActivateCreativesRequest,BatchActivateCreativesResponse> batchActivateCreativesSettings()
Returns the builder for the settings used for calls to batchActivateCreatives.
batchCreateCreativesSettings()
public UnaryCallSettings.Builder<BatchCreateCreativesRequest,BatchCreateCreativesResponse> batchCreateCreativesSettings()
Returns the builder for the settings used for calls to batchCreateCreatives.
batchDeactivateCreativesSettings()
public UnaryCallSettings.Builder<BatchDeactivateCreativesRequest,BatchDeactivateCreativesResponse> batchDeactivateCreativesSettings()
Returns the builder for the settings used for calls to batchDeactivateCreatives.
batchUpdateCreativesSettings()
public UnaryCallSettings.Builder<BatchUpdateCreativesRequest,BatchUpdateCreativesResponse> batchUpdateCreativesSettings()
Returns the builder for the settings used for calls to batchUpdateCreatives.
build()
public CreativeServiceSettings build()
Overrides
createCreativeSettings()
public UnaryCallSettings.Builder<CreateCreativeRequest,Creative> createCreativeSettings()
Returns the builder for the settings used for calls to createCreative.
getCreativeSettings()
public UnaryCallSettings.Builder<GetCreativeRequest,Creative> getCreativeSettings()
Returns the builder for the settings used for calls to getCreative.
getStubSettingsBuilder()
public CreativeServiceStubSettings.Builder getStubSettingsBuilder()
listCreativesSettings()
public PagedCallSettings.Builder<ListCreativesRequest,ListCreativesResponse,CreativeServiceClient.ListCreativesPagedResponse> listCreativesSettings()
Returns the builder for the settings used for calls to listCreatives.
updateCreativeSettings()
public UnaryCallSettings.Builder<UpdateCreativeRequest,Creative> updateCreativeSettings()
Returns the builder for the settings used for calls to updateCreative.
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-11-18 UTC.
[null,null,["Last updated 2026-11-18 UTC."],[],[]]