Class RegionInstantSnapshotsSettings.Builder (1.55.0)

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

Builder for RegionInstantSnapshotsSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > RegionInstantSnapshotsSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(RegionInstantSnapshotsSettings settings)

protected Builder(RegionInstantSnapshotsSettings settings)
Parameter
Name Description
settings RegionInstantSnapshotsSettings

Builder(RegionInstantSnapshotsStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

deleteOperationSettings()

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

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

Returns
Type Description
Builder<DeleteRegionInstantSnapshotRequest,Operation,Operation>

deleteSettings()

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

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

Returns
Type Description
Builder<DeleteRegionInstantSnapshotRequest,Operation>

getIamPolicySettings()

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

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

Returns
Type Description
Builder<GetIamPolicyRegionInstantSnapshotRequest,Policy>

getSettings()

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

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

Returns
Type Description
Builder<GetRegionInstantSnapshotRequest,InstantSnapshot>

getStubSettingsBuilder()

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

insertOperationSettings()

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

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

Returns
Type Description
Builder<InsertRegionInstantSnapshotRequest,Operation,Operation>

insertSettings()

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

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

Returns
Type Description
Builder<InsertRegionInstantSnapshotRequest,Operation>

listSettings()

public PagedCallSettings.Builder<ListRegionInstantSnapshotsRequest,InstantSnapshotList,RegionInstantSnapshotsClient.ListPagedResponse> listSettings()

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

Returns
Type Description
Builder<ListRegionInstantSnapshotsRequest,InstantSnapshotList,ListPagedResponse>

setIamPolicySettings()

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

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

Returns
Type Description
Builder<SetIamPolicyRegionInstantSnapshotRequest,Policy>

setLabelsOperationSettings()

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

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

Returns
Type Description
Builder<SetLabelsRegionInstantSnapshotRequest,Operation,Operation>

setLabelsSettings()

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

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

Returns
Type Description
Builder<SetLabelsRegionInstantSnapshotRequest,Operation>

testIamPermissionsSettings()

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

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

Returns
Type Description
Builder<TestIamPermissionsRegionInstantSnapshotRequest,TestPermissionsResponse>