Class ContentBundleServiceStubSettings.Builder (0.39.0)

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

Builder for ContentBundleServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ContentBundleServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ContentBundleServiceStubSettings settings)

protected Builder(ContentBundleServiceStubSettings settings)
Parameter
Name Description
settings ContentBundleServiceStubSettings

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Methods

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

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

build()

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

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>

unaryMethodSettingsBuilders()

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