Class CssProductsServiceSettings.Builder (0.2.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
NameDescription
clientContextClientContext

Builder(CssProductsServiceSettings settings)

protected Builder(CssProductsServiceSettings settings)
Parameter
NameDescription
settingsCssProductsServiceSettings

Builder(CssProductsServiceStubSettings.Builder stubSettings)

protected Builder(CssProductsServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsCssProductsServiceStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
CssProductsServiceSettings.Builder

build()

public CssProductsServiceSettings build()
Returns
TypeDescription
CssProductsServiceSettings
Overrides
Exceptions
TypeDescription
IOException

getCssProductSettings()

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

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

Returns
TypeDescription
Builder<GetCssProductRequest,CssProduct>

getStubSettingsBuilder()

public CssProductsServiceStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
CssProductsServiceStubSettings.Builder

listCssProductsSettings()

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

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

Returns
TypeDescription
Builder<ListCssProductsRequest,ListCssProductsResponse,ListCssProductsPagedResponse>