Class ContentBundleServiceSettings.Builder (0.39.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(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

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

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

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>