Class CloudCatalogStubSettings.Builder (2.12.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
NameDescription
clientContextClientContext

Builder(CloudCatalogStubSettings settings)

protected Builder(CloudCatalogStubSettings settings)
Parameter
NameDescription
settingsCloudCatalogStubSettings

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

build()

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

listServicesSettings()

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

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

Returns
TypeDescription
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
TypeDescription
Builder<ListSkusRequest,ListSkusResponse,ListSkusPagedResponse>

unaryMethodSettingsBuilders()

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