Class InstantSnapshotsSettings.Builder (1.51.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
NameDescription
clientContextClientContext

Builder(InstantSnapshotsSettings settings)

protected Builder(InstantSnapshotsSettings settings)
Parameter
NameDescription
settingsInstantSnapshotsSettings

Builder(InstantSnapshotsStubSettings.Builder stubSettings)

protected Builder(InstantSnapshotsStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsInstantSnapshotsStubSettings.Builder

Methods

aggregatedListSettings()

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

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

Returns
TypeDescription
Builder<AggregatedListInstantSnapshotsRequest,InstantSnapshotAggregatedList,AggregatedListPagedResponse>

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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
InstantSnapshotsSettings.Builder

build()

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

deleteOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteInstantSnapshotRequest,Operation,Operation>

deleteSettings()

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

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

Returns
TypeDescription
Builder<DeleteInstantSnapshotRequest,Operation>

getIamPolicySettings()

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

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

Returns
TypeDescription
Builder<GetIamPolicyInstantSnapshotRequest,Policy>

getSettings()

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

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

Returns
TypeDescription
Builder<GetInstantSnapshotRequest,InstantSnapshot>

getStubSettingsBuilder()

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

insertOperationSettings()

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

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

Returns
TypeDescription
Builder<InsertInstantSnapshotRequest,Operation,Operation>

insertSettings()

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

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

Returns
TypeDescription
Builder<InsertInstantSnapshotRequest,Operation>

listSettings()

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

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

Returns
TypeDescription
Builder<ListInstantSnapshotsRequest,InstantSnapshotList,ListPagedResponse>

setIamPolicySettings()

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

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

Returns
TypeDescription
Builder<SetIamPolicyInstantSnapshotRequest,Policy>

setLabelsOperationSettings()

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

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

Returns
TypeDescription
Builder<SetLabelsInstantSnapshotRequest,Operation,Operation>

setLabelsSettings()

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

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

Returns
TypeDescription
Builder<SetLabelsInstantSnapshotRequest,Operation>

testIamPermissionsSettings()

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

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

Returns
TypeDescription
Builder<TestIamPermissionsInstantSnapshotRequest,TestPermissionsResponse>