Class InstanceSettingsServiceStubSettings.Builder (1.58.0)

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

Builder for InstanceSettingsServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > InstanceSettingsServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(InstanceSettingsServiceStubSettings settings)

protected Builder(InstanceSettingsServiceStubSettings settings)
Parameter
Name Description
settings InstanceSettingsServiceStubSettings

Methods

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

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

build()

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

getSettings()

public UnaryCallSettings.Builder<GetInstanceSettingRequest,InstanceSettings> getSettings()

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

Returns
Type Description
Builder<GetInstanceSettingRequest,InstanceSettings>

patchOperationSettings()

public OperationCallSettings.Builder<PatchInstanceSettingRequest,Operation,Operation> patchOperationSettings()

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

Returns
Type Description
Builder<PatchInstanceSettingRequest,Operation,Operation>

patchSettings()

public UnaryCallSettings.Builder<PatchInstanceSettingRequest,Operation> patchSettings()

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

Returns
Type Description
Builder<PatchInstanceSettingRequest,Operation>

unaryMethodSettingsBuilders()

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