Class KeyDashboardServiceStubSettings.Builder (0.11.0)

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

Builder for KeyDashboardServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > KeyDashboardServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(KeyDashboardServiceStubSettings settings)

protected Builder(KeyDashboardServiceStubSettings settings)
Parameter
NameDescription
settingsKeyDashboardServiceStubSettings

Methods

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

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

build()

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

listCryptoKeysSettings()

public PagedCallSettings.Builder<ListCryptoKeysRequest,ListCryptoKeysResponse,KeyDashboardServiceClient.ListCryptoKeysPagedResponse> listCryptoKeysSettings()

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

Returns
TypeDescription
Builder<ListCryptoKeysRequest,ListCryptoKeysResponse,ListCryptoKeysPagedResponse>

unaryMethodSettingsBuilders()

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