Class InstantSnapshotGroupsStubSettings.Builder (1.105.0)

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

Builder for InstantSnapshotGroupsStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > InstantSnapshotGroupsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(@Nullable ClientContext clientContext)

protected Builder(@Nullable ClientContext clientContext)
Parameter
Name Description
clientContext @org.jspecify.annotations.Nullable com.google.api.gax.rpc.ClientContext

Builder(InstantSnapshotGroupsStubSettings settings)

protected Builder(InstantSnapshotGroupsStubSettings settings)
Parameter
Name Description
settings InstantSnapshotGroupsStubSettings

Methods

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

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

build()

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

deleteOperationSettings()

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

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

Returns
Type Description
Builder<DeleteInstantSnapshotGroupRequest,Operation,Operation>

deleteSettings()

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

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

Returns
Type Description
Builder<DeleteInstantSnapshotGroupRequest,Operation>

getIamPolicySettings()

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

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

Returns
Type Description
Builder<GetIamPolicyInstantSnapshotGroupRequest,Policy>

getSettings()

public UnaryCallSettings.Builder<GetInstantSnapshotGroupRequest,InstantSnapshotGroup> getSettings()

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

Returns
Type Description
Builder<GetInstantSnapshotGroupRequest,InstantSnapshotGroup>

insertOperationSettings()

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

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

Returns
Type Description
Builder<InsertInstantSnapshotGroupRequest,Operation,Operation>

insertSettings()

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

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

Returns
Type Description
Builder<InsertInstantSnapshotGroupRequest,Operation>

listSettings()

public PagedCallSettings.Builder<ListInstantSnapshotGroupsRequest,ListInstantSnapshotGroups,InstantSnapshotGroupsClient.ListPagedResponse> listSettings()

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

Returns
Type Description
Builder<ListInstantSnapshotGroupsRequest,ListInstantSnapshotGroups,ListPagedResponse>

setIamPolicySettings()

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

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

Returns
Type Description
Builder<SetIamPolicyInstantSnapshotGroupRequest,Policy>

testIamPermissionsSettings()

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

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

Returns
Type Description
Builder<TestIamPermissionsInstantSnapshotGroupRequest,TestPermissionsResponse>

unaryMethodSettingsBuilders()

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