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

Builder(CssProductsServiceStubSettings settings)

protected Builder(CssProductsServiceStubSettings settings)
Parameter
NameDescription
settingsCssProductsServiceStubSettings

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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
CssProductsServiceStubSettings.Builder

build()

public CssProductsServiceStubSettings build()
Returns
TypeDescription
CssProductsServiceStubSettings
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>

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

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>

unaryMethodSettingsBuilders()

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