Class SnapshotsV1Beta3Settings.Builder (0.23.0)

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

Builder for SnapshotsV1Beta3Settings.

Inheritance

java.lang.Object > ClientSettings.Builder > SnapshotsV1Beta3Settings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(SnapshotsV1Beta3Settings settings)

protected Builder(SnapshotsV1Beta3Settings settings)
Parameter
NameDescription
settingsSnapshotsV1Beta3Settings

Builder(SnapshotsV1Beta3StubSettings.Builder stubSettings)

protected Builder(SnapshotsV1Beta3StubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsSnapshotsV1Beta3StubSettings.Builder

Methods

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

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

build()

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

deleteSnapshotSettings()

public UnaryCallSettings.Builder<DeleteSnapshotRequest,DeleteSnapshotResponse> deleteSnapshotSettings()

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

Returns
TypeDescription
Builder<DeleteSnapshotRequest,DeleteSnapshotResponse>

getSnapshotSettings()

public UnaryCallSettings.Builder<GetSnapshotRequest,Snapshot> getSnapshotSettings()

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

Returns
TypeDescription
Builder<GetSnapshotRequest,Snapshot>

getStubSettingsBuilder()

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

listSnapshotsSettings()

public UnaryCallSettings.Builder<ListSnapshotsRequest,ListSnapshotsResponse> listSnapshotsSettings()

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

Returns
TypeDescription
Builder<ListSnapshotsRequest,ListSnapshotsResponse>