Class PrivateCatalogStubSettings.Builder (0.14.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
NameDescription
clientContextClientContext

Builder(PrivateCatalogStubSettings settings)

protected Builder(PrivateCatalogStubSettings settings)
Parameter
NameDescription
settingsPrivateCatalogStubSettings

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

build()

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

searchCatalogsSettings()

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

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Builder<SearchVersionsRequest,SearchVersionsResponse,SearchVersionsPagedResponse>

unaryMethodSettingsBuilders()

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