Class PrivateCatalogStubSettings.Builder (0.45.0)

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

Builder for PrivateCatalogStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > PrivateCatalogStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(PrivateCatalogStubSettings settings)

protected Builder(PrivateCatalogStubSettings settings)
Parameter
Name Description
settings PrivateCatalogStubSettings

Methods

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

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

build()

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

searchCatalogsSettings()

public PagedCallSettings.Builder<SearchCatalogsRequest,SearchCatalogsResponse,PrivateCatalogClient.SearchCatalogsPagedResponse> searchCatalogsSettings()

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

Returns
Type Description
Builder<SearchCatalogsRequest,SearchCatalogsResponse,SearchCatalogsPagedResponse>

searchProductsSettings()

public PagedCallSettings.Builder<SearchProductsRequest,SearchProductsResponse,PrivateCatalogClient.SearchProductsPagedResponse> searchProductsSettings()

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

Returns
Type Description
Builder<SearchProductsRequest,SearchProductsResponse,SearchProductsPagedResponse>

searchVersionsSettings()

public PagedCallSettings.Builder<SearchVersionsRequest,SearchVersionsResponse,PrivateCatalogClient.SearchVersionsPagedResponse> searchVersionsSettings()

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

Returns
Type Description
Builder<SearchVersionsRequest,SearchVersionsResponse,SearchVersionsPagedResponse>

unaryMethodSettingsBuilders()

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