Class CreativeWrapperServiceSettings.Builder (0.58.0)

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

Builder for CreativeWrapperServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > CreativeWrapperServiceSettings.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(CreativeWrapperServiceSettings settings)

protected Builder(CreativeWrapperServiceSettings settings)
Parameter
Name Description
settings CreativeWrapperServiceSettings

Builder(CreativeWrapperServiceStubSettings.Builder stubSettings)

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

Methods

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

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

batchActivateCreativeWrappersSettings()

public UnaryCallSettings.Builder<BatchActivateCreativeWrappersRequest,BatchActivateCreativeWrappersResponse> batchActivateCreativeWrappersSettings()

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

Returns
Type Description
Builder<BatchActivateCreativeWrappersRequest,BatchActivateCreativeWrappersResponse>

batchCreateCreativeWrappersSettings()

public UnaryCallSettings.Builder<BatchCreateCreativeWrappersRequest,BatchCreateCreativeWrappersResponse> batchCreateCreativeWrappersSettings()

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

Returns
Type Description
Builder<BatchCreateCreativeWrappersRequest,BatchCreateCreativeWrappersResponse>

batchDeactivateCreativeWrappersSettings()

public UnaryCallSettings.Builder<BatchDeactivateCreativeWrappersRequest,BatchDeactivateCreativeWrappersResponse> batchDeactivateCreativeWrappersSettings()

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

Returns
Type Description
Builder<BatchDeactivateCreativeWrappersRequest,BatchDeactivateCreativeWrappersResponse>

batchUpdateCreativeWrappersSettings()

public UnaryCallSettings.Builder<BatchUpdateCreativeWrappersRequest,BatchUpdateCreativeWrappersResponse> batchUpdateCreativeWrappersSettings()

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

Returns
Type Description
Builder<BatchUpdateCreativeWrappersRequest,BatchUpdateCreativeWrappersResponse>

build()

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

createCreativeWrapperSettings()

public UnaryCallSettings.Builder<CreateCreativeWrapperRequest,CreativeWrapper> createCreativeWrapperSettings()

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

Returns
Type Description
Builder<CreateCreativeWrapperRequest,CreativeWrapper>

getCreativeWrapperSettings()

public UnaryCallSettings.Builder<GetCreativeWrapperRequest,CreativeWrapper> getCreativeWrapperSettings()

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

Returns
Type Description
Builder<GetCreativeWrapperRequest,CreativeWrapper>

getStubSettingsBuilder()

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

listCreativeWrappersSettings()

public PagedCallSettings.Builder<ListCreativeWrappersRequest,ListCreativeWrappersResponse,CreativeWrapperServiceClient.ListCreativeWrappersPagedResponse> listCreativeWrappersSettings()

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

Returns
Type Description
Builder<ListCreativeWrappersRequest,ListCreativeWrappersResponse,ListCreativeWrappersPagedResponse>

updateCreativeWrapperSettings()

public UnaryCallSettings.Builder<UpdateCreativeWrapperRequest,CreativeWrapper> updateCreativeWrapperSettings()

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

Returns
Type Description
Builder<UpdateCreativeWrapperRequest,CreativeWrapper>