Class PrivateCatalogSettings.Builder (0.6.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
NameDescription
clientContextClientContext

Builder(PrivateCatalogSettings settings)

protected Builder(PrivateCatalogSettings settings)
Parameter
NameDescription
settingsPrivateCatalogSettings

Builder(PrivateCatalogStubSettings.Builder stubSettings)

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

build()

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

getStubSettingsBuilder()

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

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>