Class SnapshotSettingsServiceStubSettings.Builder (1.62.0)

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

Builder for SnapshotSettingsServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > SnapshotSettingsServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(SnapshotSettingsServiceStubSettings settings)

protected Builder(SnapshotSettingsServiceStubSettings settings)
Parameter
Name Description
settings SnapshotSettingsServiceStubSettings

Methods

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

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

build()

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

getSettings()

public UnaryCallSettings.Builder<GetSnapshotSettingRequest,SnapshotSettings> getSettings()

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

Returns
Type Description
Builder<GetSnapshotSettingRequest,SnapshotSettings>

patchOperationSettings()

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

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

Returns
Type Description
Builder<PatchSnapshotSettingRequest,Operation,Operation>

patchSettings()

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

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

Returns
Type Description
Builder<PatchSnapshotSettingRequest,Operation>

unaryMethodSettingsBuilders()

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