Class ContentBundleServiceSettings.Builder (0.54.0)

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

Builder for ContentBundleServiceSettings.

Inheritance

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

protected Builder(ContentBundleServiceSettings settings)
Parameter
Name Description
settings ContentBundleServiceSettings

Builder(ContentBundleServiceStubSettings.Builder stubSettings)

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

Methods

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

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

batchActivateContentBundlesSettings()

public UnaryCallSettings.Builder<BatchActivateContentBundlesRequest,BatchActivateContentBundlesResponse> batchActivateContentBundlesSettings()

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

Returns
Type Description
Builder<BatchActivateContentBundlesRequest,BatchActivateContentBundlesResponse>

batchDeactivateContentBundlesSettings()

public UnaryCallSettings.Builder<BatchDeactivateContentBundlesRequest,BatchDeactivateContentBundlesResponse> batchDeactivateContentBundlesSettings()

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

Returns
Type Description
Builder<BatchDeactivateContentBundlesRequest,BatchDeactivateContentBundlesResponse>

build()

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

getContentBundleSettings()

public UnaryCallSettings.Builder<GetContentBundleRequest,ContentBundle> getContentBundleSettings()

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

Returns
Type Description
Builder<GetContentBundleRequest,ContentBundle>

getStubSettingsBuilder()

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

listContentBundlesSettings()

public PagedCallSettings.Builder<ListContentBundlesRequest,ListContentBundlesResponse,ContentBundleServiceClient.ListContentBundlesPagedResponse> listContentBundlesSettings()

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

Returns
Type Description
Builder<ListContentBundlesRequest,ListContentBundlesResponse,ListContentBundlesPagedResponse>