Class InstantSnapshotsStubSettings.Builder (1.55.0)

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

Builder for InstantSnapshotsStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > InstantSnapshotsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(InstantSnapshotsStubSettings settings)

protected Builder(InstantSnapshotsStubSettings settings)
Parameter
Name Description
settings InstantSnapshotsStubSettings

Methods

aggregatedListSettings()

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

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

Returns
Type Description
Builder<AggregatedListInstantSnapshotsRequest,InstantSnapshotAggregatedList,AggregatedListPagedResponse>

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

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

build()

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

deleteOperationSettings()

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

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

Returns
Type Description
Builder<DeleteInstantSnapshotRequest,Operation,Operation>

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.

Returns
Type Description
Builder<GetIamPolicyInstantSnapshotRequest,Policy>

getSettings()

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

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

Returns
Type Description
Builder<GetInstantSnapshotRequest,InstantSnapshot>

insertOperationSettings()

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

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

Returns
Type Description
Builder<InsertInstantSnapshotRequest,Operation,Operation>

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.

Returns
Type Description
Builder<ListInstantSnapshotsRequest,InstantSnapshotList,ListPagedResponse>

setIamPolicySettings()

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

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

Returns
Type Description
Builder<SetIamPolicyInstantSnapshotRequest,Policy>

setLabelsOperationSettings()

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

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

Returns
Type Description
Builder<SetLabelsInstantSnapshotRequest,Operation,Operation>

setLabelsSettings()

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

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

Returns
Type Description
Builder<SetLabelsInstantSnapshotRequest,Operation>

testIamPermissionsSettings()

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

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

Returns
Type Description
Builder<TestIamPermissionsInstantSnapshotRequest,TestPermissionsResponse>

unaryMethodSettingsBuilders()

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