Class CssProductsServiceSettings.Builder (0.22.0)

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

Builder for CssProductsServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > CssProductsServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(CssProductsServiceSettings settings)

protected Builder(CssProductsServiceSettings settings)
Parameter
Name Description
settings CssProductsServiceSettings

Builder(CssProductsServiceStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

getStubSettingsBuilder()

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

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>