Class CloudCatalogStubSettings.Builder (2.52.0)

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

Builder for CloudCatalogStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > CloudCatalogStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(CloudCatalogStubSettings settings)

protected Builder(CloudCatalogStubSettings settings)
Parameter
Name Description
settings CloudCatalogStubSettings

Methods

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

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

build()

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

listServicesSettings()

public PagedCallSettings.Builder<ListServicesRequest,ListServicesResponse,CloudCatalogClient.ListServicesPagedResponse> listServicesSettings()

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

Returns
Type Description
Builder<ListServicesRequest,ListServicesResponse,ListServicesPagedResponse>

listSkusSettings()

public PagedCallSettings.Builder<ListSkusRequest,ListSkusResponse,CloudCatalogClient.ListSkusPagedResponse> listSkusSettings()

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

Returns
Type Description
Builder<ListSkusRequest,ListSkusResponse,ListSkusPagedResponse>

unaryMethodSettingsBuilders()

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