Class InstanceSettingsServiceSettings.Builder (1.59.0)

public static class InstanceSettingsServiceSettings.Builder extends ClientSettings.Builder<InstanceSettingsServiceSettings,InstanceSettingsServiceSettings.Builder>

Builder for InstanceSettingsServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > InstanceSettingsServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(InstanceSettingsServiceSettings settings)

protected Builder(InstanceSettingsServiceSettings settings)
Parameter
Name Description
settings InstanceSettingsServiceSettings

Builder(InstanceSettingsServiceStubSettings.Builder stubSettings)

protected Builder(InstanceSettingsServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings InstanceSettingsServiceStubSettings.Builder

Methods

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

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

build()

public InstanceSettingsServiceSettings build()
Returns
Type Description
InstanceSettingsServiceSettings
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>

getStubSettingsBuilder()

public InstanceSettingsServiceStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
InstanceSettingsServiceStubSettings.Builder

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>