Class SnapshotSettingsServiceSettings.Builder (1.57.0)

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

Builder for SnapshotSettingsServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > SnapshotSettingsServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(SnapshotSettingsServiceSettings settings)

protected Builder(SnapshotSettingsServiceSettings settings)
Parameter
Name Description
settings SnapshotSettingsServiceSettings

Builder(SnapshotSettingsServiceStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

getStubSettingsBuilder()

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

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>