Class RegionDisksStubSettings.Builder (1.63.0)

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

Builder for RegionDisksStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > RegionDisksStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(RegionDisksStubSettings settings)

protected Builder(RegionDisksStubSettings settings)
Parameter
Name Description
settings RegionDisksStubSettings

Methods

addResourcePoliciesOperationSettings()

public OperationCallSettings.Builder<AddResourcePoliciesRegionDiskRequest,Operation,Operation> addResourcePoliciesOperationSettings()

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

Returns
Type Description
Builder<AddResourcePoliciesRegionDiskRequest,Operation,Operation>

addResourcePoliciesSettings()

public UnaryCallSettings.Builder<AddResourcePoliciesRegionDiskRequest,Operation> addResourcePoliciesSettings()

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

Returns
Type Description
Builder<AddResourcePoliciesRegionDiskRequest,Operation>

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

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

build()

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

bulkInsertOperationSettings()

public OperationCallSettings.Builder<BulkInsertRegionDiskRequest,Operation,Operation> bulkInsertOperationSettings()

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

Returns
Type Description
Builder<BulkInsertRegionDiskRequest,Operation,Operation>

bulkInsertSettings()

public UnaryCallSettings.Builder<BulkInsertRegionDiskRequest,Operation> bulkInsertSettings()

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

Returns
Type Description
Builder<BulkInsertRegionDiskRequest,Operation>

createSnapshotOperationSettings()

public OperationCallSettings.Builder<CreateSnapshotRegionDiskRequest,Operation,Operation> createSnapshotOperationSettings()

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

Returns
Type Description
Builder<CreateSnapshotRegionDiskRequest,Operation,Operation>

createSnapshotSettings()

public UnaryCallSettings.Builder<CreateSnapshotRegionDiskRequest,Operation> createSnapshotSettings()

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

Returns
Type Description
Builder<CreateSnapshotRegionDiskRequest,Operation>

deleteOperationSettings()

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

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

Returns
Type Description
Builder<DeleteRegionDiskRequest,Operation,Operation>

deleteSettings()

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

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

Returns
Type Description
Builder<DeleteRegionDiskRequest,Operation>

getIamPolicySettings()

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

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

Returns
Type Description
Builder<GetIamPolicyRegionDiskRequest,Policy>

getSettings()

public UnaryCallSettings.Builder<GetRegionDiskRequest,Disk> getSettings()

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

Returns
Type Description
Builder<GetRegionDiskRequest,Disk>

insertOperationSettings()

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

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

Returns
Type Description
Builder<InsertRegionDiskRequest,Operation,Operation>

insertSettings()

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

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

Returns
Type Description
Builder<InsertRegionDiskRequest,Operation>

listSettings()

public PagedCallSettings.Builder<ListRegionDisksRequest,DiskList,RegionDisksClient.ListPagedResponse> listSettings()

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

Returns
Type Description
Builder<ListRegionDisksRequest,DiskList,ListPagedResponse>

removeResourcePoliciesOperationSettings()

public OperationCallSettings.Builder<RemoveResourcePoliciesRegionDiskRequest,Operation,Operation> removeResourcePoliciesOperationSettings()

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

Returns
Type Description
Builder<RemoveResourcePoliciesRegionDiskRequest,Operation,Operation>

removeResourcePoliciesSettings()

public UnaryCallSettings.Builder<RemoveResourcePoliciesRegionDiskRequest,Operation> removeResourcePoliciesSettings()

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

Returns
Type Description
Builder<RemoveResourcePoliciesRegionDiskRequest,Operation>

resizeOperationSettings()

public OperationCallSettings.Builder<ResizeRegionDiskRequest,Operation,Operation> resizeOperationSettings()

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

Returns
Type Description
Builder<ResizeRegionDiskRequest,Operation,Operation>

resizeSettings()

public UnaryCallSettings.Builder<ResizeRegionDiskRequest,Operation> resizeSettings()

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

Returns
Type Description
Builder<ResizeRegionDiskRequest,Operation>

setIamPolicySettings()

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

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

Returns
Type Description
Builder<SetIamPolicyRegionDiskRequest,Policy>

setLabelsOperationSettings()

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

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

Returns
Type Description
Builder<SetLabelsRegionDiskRequest,Operation,Operation>

setLabelsSettings()

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

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

Returns
Type Description
Builder<SetLabelsRegionDiskRequest,Operation>

startAsyncReplicationOperationSettings()

public OperationCallSettings.Builder<StartAsyncReplicationRegionDiskRequest,Operation,Operation> startAsyncReplicationOperationSettings()

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

Returns
Type Description
Builder<StartAsyncReplicationRegionDiskRequest,Operation,Operation>

startAsyncReplicationSettings()

public UnaryCallSettings.Builder<StartAsyncReplicationRegionDiskRequest,Operation> startAsyncReplicationSettings()

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

Returns
Type Description
Builder<StartAsyncReplicationRegionDiskRequest,Operation>

stopAsyncReplicationOperationSettings()

public OperationCallSettings.Builder<StopAsyncReplicationRegionDiskRequest,Operation,Operation> stopAsyncReplicationOperationSettings()

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

Returns
Type Description
Builder<StopAsyncReplicationRegionDiskRequest,Operation,Operation>

stopAsyncReplicationSettings()

public UnaryCallSettings.Builder<StopAsyncReplicationRegionDiskRequest,Operation> stopAsyncReplicationSettings()

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

Returns
Type Description
Builder<StopAsyncReplicationRegionDiskRequest,Operation>

stopGroupAsyncReplicationOperationSettings()

public OperationCallSettings.Builder<StopGroupAsyncReplicationRegionDiskRequest,Operation,Operation> stopGroupAsyncReplicationOperationSettings()

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

Returns
Type Description
Builder<StopGroupAsyncReplicationRegionDiskRequest,Operation,Operation>

stopGroupAsyncReplicationSettings()

public UnaryCallSettings.Builder<StopGroupAsyncReplicationRegionDiskRequest,Operation> stopGroupAsyncReplicationSettings()

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

Returns
Type Description
Builder<StopGroupAsyncReplicationRegionDiskRequest,Operation>

testIamPermissionsSettings()

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

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

Returns
Type Description
Builder<TestIamPermissionsRegionDiskRequest,TestPermissionsResponse>

unaryMethodSettingsBuilders()

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

updateOperationSettings()

public OperationCallSettings.Builder<UpdateRegionDiskRequest,Operation,Operation> updateOperationSettings()

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

Returns
Type Description
Builder<UpdateRegionDiskRequest,Operation,Operation>

updateSettings()

public UnaryCallSettings.Builder<UpdateRegionDiskRequest,Operation> updateSettings()

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

Returns
Type Description
Builder<UpdateRegionDiskRequest,Operation>