Class CreativeServiceSettings.Builder (0.62.0)

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

Builder for CreativeServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > CreativeServiceSettings.Builder

Constructors

Builder()

protected 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)
Parameter
Name Description
settings CreativeServiceSettings

Builder(CreativeServiceStubSettings.Builder stubSettings)

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

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.

Parameter
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
CreativeServiceSettings.Builder

batchActivateCreativesSettings()

public UnaryCallSettings.Builder<BatchActivateCreativesRequest,BatchActivateCreativesResponse> batchActivateCreativesSettings()

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

Returns
Type Description
Builder<BatchActivateCreativesRequest,BatchActivateCreativesResponse>

batchCreateCreativesSettings()

public UnaryCallSettings.Builder<BatchCreateCreativesRequest,BatchCreateCreativesResponse> batchCreateCreativesSettings()

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

Returns
Type Description
Builder<BatchCreateCreativesRequest,BatchCreateCreativesResponse>

batchDeactivateCreativesSettings()

public UnaryCallSettings.Builder<BatchDeactivateCreativesRequest,BatchDeactivateCreativesResponse> batchDeactivateCreativesSettings()

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

Returns
Type Description
Builder<BatchDeactivateCreativesRequest,BatchDeactivateCreativesResponse>

batchUpdateCreativesSettings()

public UnaryCallSettings.Builder<BatchUpdateCreativesRequest,BatchUpdateCreativesResponse> batchUpdateCreativesSettings()

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

Returns
Type Description
Builder<BatchUpdateCreativesRequest,BatchUpdateCreativesResponse>

build()

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

createCreativeSettings()

public UnaryCallSettings.Builder<CreateCreativeRequest,Creative> createCreativeSettings()

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

Returns
Type Description
Builder<CreateCreativeRequest,Creative>

getCreativeSettings()

public UnaryCallSettings.Builder<GetCreativeRequest,Creative> getCreativeSettings()

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

Returns
Type Description
Builder<GetCreativeRequest,Creative>

getStubSettingsBuilder()

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

listCreativesSettings()

public PagedCallSettings.Builder<ListCreativesRequest,ListCreativesResponse,CreativeServiceClient.ListCreativesPagedResponse> listCreativesSettings()

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

Returns
Type Description
Builder<ListCreativesRequest,ListCreativesResponse,ListCreativesPagedResponse>

updateCreativeSettings()

public UnaryCallSettings.Builder<UpdateCreativeRequest,Creative> updateCreativeSettings()

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

Returns
Type Description
Builder<UpdateCreativeRequest,Creative>