Class SnapshotSettingsServiceSettings.Builder (1.50.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
NameDescription
clientContextClientContext

Builder(SnapshotSettingsServiceSettings settings)

protected Builder(SnapshotSettingsServiceSettings settings)
Parameter
NameDescription
settingsSnapshotSettingsServiceSettings

Builder(SnapshotSettingsServiceStubSettings.Builder stubSettings)

protected Builder(SnapshotSettingsServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsSnapshotSettingsServiceStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
SnapshotSettingsServiceSettings.Builder

build()

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

getSettings()

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

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

Returns
TypeDescription
Builder<GetSnapshotSettingRequest,SnapshotSettings>

getStubSettingsBuilder()

public SnapshotSettingsServiceStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
SnapshotSettingsServiceStubSettings.Builder

patchOperationSettings()

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

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

Returns
TypeDescription
Builder<PatchSnapshotSettingRequest,Operation,Operation>

patchSettings()

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

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

Returns
TypeDescription
Builder<PatchSnapshotSettingRequest,Operation>