Class InstantSnapshotsSettings.Builder (1.68.0)

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

Builder for InstantSnapshotsSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > InstantSnapshotsSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(InstantSnapshotsSettings settings)

protected Builder(InstantSnapshotsSettings settings)
Parameter
Name Description
settings InstantSnapshotsSettings

Builder(InstantSnapshotsStubSettings.Builder stubSettings)

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

Methods

aggregatedListSettings()

public PagedCallSettings.Builder<AggregatedListInstantSnapshotsRequest,InstantSnapshotAggregatedList,InstantSnapshotsClient.AggregatedListPagedResponse> aggregatedListSettings()

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

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

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

build()

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

deleteOperationSettings()

public OperationCallSettings.Builder<DeleteInstantSnapshotRequest,Operation,Operation> deleteOperationSettings()

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

deleteSettings()

public UnaryCallSettings.Builder<DeleteInstantSnapshotRequest,Operation> deleteSettings()

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

Returns
Type Description
Builder<DeleteInstantSnapshotRequest,Operation>

getIamPolicySettings()

public UnaryCallSettings.Builder<GetIamPolicyInstantSnapshotRequest,Policy> getIamPolicySettings()

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

getSettings()

public UnaryCallSettings.Builder<GetInstantSnapshotRequest,InstantSnapshot> getSettings()

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

getStubSettingsBuilder()

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

insertOperationSettings()

public OperationCallSettings.Builder<InsertInstantSnapshotRequest,Operation,Operation> insertOperationSettings()

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

insertSettings()

public UnaryCallSettings.Builder<InsertInstantSnapshotRequest,Operation> insertSettings()

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

Returns
Type Description
Builder<InsertInstantSnapshotRequest,Operation>

listSettings()

public PagedCallSettings.Builder<ListInstantSnapshotsRequest,InstantSnapshotList,InstantSnapshotsClient.ListPagedResponse> listSettings()

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

setIamPolicySettings()

public UnaryCallSettings.Builder<SetIamPolicyInstantSnapshotRequest,Policy> setIamPolicySettings()

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

setLabelsOperationSettings()

public OperationCallSettings.Builder<SetLabelsInstantSnapshotRequest,Operation,Operation> setLabelsOperationSettings()

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

setLabelsSettings()

public UnaryCallSettings.Builder<SetLabelsInstantSnapshotRequest,Operation> setLabelsSettings()

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

testIamPermissionsSettings()

public UnaryCallSettings.Builder<TestIamPermissionsInstantSnapshotRequest,TestPermissionsResponse> testIamPermissionsSettings()

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