Class CssProductsServiceStubSettings.Builder (0.20.0)

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

Builder for CssProductsServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > CssProductsServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(CssProductsServiceStubSettings settings)

protected Builder(CssProductsServiceStubSettings settings)
Parameter
Name Description
settings CssProductsServiceStubSettings

Methods

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

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

build()

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

getCssProductSettings()

public UnaryCallSettings.Builder<GetCssProductRequest,CssProduct> getCssProductSettings()

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

Returns
Type Description
Builder<GetCssProductRequest,CssProduct>

listCssProductsSettings()

public PagedCallSettings.Builder<ListCssProductsRequest,ListCssProductsResponse,CssProductsServiceClient.ListCssProductsPagedResponse> listCssProductsSettings()

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

Returns
Type Description
Builder<ListCssProductsRequest,ListCssProductsResponse,ListCssProductsPagedResponse>

unaryMethodSettingsBuilders()

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