Class PrivateCatalogSettings.Builder (0.44.0)

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

Builder for PrivateCatalogSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > PrivateCatalogSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(PrivateCatalogSettings settings)

protected Builder(PrivateCatalogSettings settings)
Parameter
Name Description
settings PrivateCatalogSettings

Builder(PrivateCatalogStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

getStubSettingsBuilder()

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

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>