Class CreativeWrapperServiceStubSettings.Builder (0.58.0)

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

Builder for CreativeWrapperServiceStubSettings.

Inheritance

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

protected Builder(CreativeWrapperServiceStubSettings settings)
Parameter
Name Description
settings CreativeWrapperServiceStubSettings

Methods

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

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

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>

unaryMethodSettingsBuilders()

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

updateCreativeWrapperSettings()

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

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

Returns
Type Description
Builder<UpdateCreativeWrapperRequest,CreativeWrapper>