Class SnapshotsV1Beta3StubSettings.Builder (0.59.0)

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

Builder for SnapshotsV1Beta3StubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > SnapshotsV1Beta3StubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(SnapshotsV1Beta3StubSettings settings)

protected Builder(SnapshotsV1Beta3StubSettings settings)
Parameter
Name Description
settings SnapshotsV1Beta3StubSettings

Methods

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

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

build()

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

deleteSnapshotSettings()

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

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

Returns
Type Description
Builder<DeleteSnapshotRequest,DeleteSnapshotResponse>

getSnapshotSettings()

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

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

Returns
Type Description
Builder<GetSnapshotRequest,Snapshot>

listSnapshotsSettings()

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

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

Returns
Type Description
Builder<ListSnapshotsRequest,ListSnapshotsResponse>

unaryMethodSettingsBuilders()

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