Class RegionDisksStubSettings.Builder (1.34.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
NameDescription
clientContextClientContext

Builder(RegionDisksStubSettings settings)

protected Builder(RegionDisksStubSettings settings)
Parameter
NameDescription
settingsRegionDisksStubSettings

Methods

addResourcePoliciesOperationSettings()

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

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

Returns
TypeDescription
Builder<AddResourcePoliciesRegionDiskRequest,Operation,Operation>

addResourcePoliciesSettings()

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

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

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

build()

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

bulkInsertOperationSettings()

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

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

Returns
TypeDescription
Builder<BulkInsertRegionDiskRequest,Operation,Operation>

bulkInsertSettings()

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

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

Returns
TypeDescription
Builder<BulkInsertRegionDiskRequest,Operation>

createSnapshotOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateSnapshotRegionDiskRequest,Operation,Operation>

createSnapshotSettings()

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

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

Returns
TypeDescription
Builder<CreateSnapshotRegionDiskRequest,Operation>

deleteOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteRegionDiskRequest,Operation,Operation>

deleteSettings()

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

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

Returns
TypeDescription
Builder<DeleteRegionDiskRequest,Operation>

getIamPolicySettings()

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

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

Returns
TypeDescription
Builder<GetIamPolicyRegionDiskRequest,Policy>

getSettings()

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

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

Returns
TypeDescription
Builder<GetRegionDiskRequest,Disk>

insertOperationSettings()

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

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

Returns
TypeDescription
Builder<InsertRegionDiskRequest,Operation,Operation>

insertSettings()

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

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

Returns
TypeDescription
Builder<InsertRegionDiskRequest,Operation>

listSettings()

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

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

Returns
TypeDescription
Builder<ListRegionDisksRequest,DiskList,ListPagedResponse>

removeResourcePoliciesOperationSettings()

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

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

Returns
TypeDescription
Builder<RemoveResourcePoliciesRegionDiskRequest,Operation,Operation>

removeResourcePoliciesSettings()

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

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

Returns
TypeDescription
Builder<RemoveResourcePoliciesRegionDiskRequest,Operation>

resizeOperationSettings()

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

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

Returns
TypeDescription
Builder<ResizeRegionDiskRequest,Operation,Operation>

resizeSettings()

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

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

Returns
TypeDescription
Builder<ResizeRegionDiskRequest,Operation>

setIamPolicySettings()

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

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

Returns
TypeDescription
Builder<SetIamPolicyRegionDiskRequest,Policy>

setLabelsOperationSettings()

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

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

Returns
TypeDescription
Builder<SetLabelsRegionDiskRequest,Operation,Operation>

setLabelsSettings()

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

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

Returns
TypeDescription
Builder<SetLabelsRegionDiskRequest,Operation>

startAsyncReplicationOperationSettings()

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

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

Returns
TypeDescription
Builder<StartAsyncReplicationRegionDiskRequest,Operation,Operation>

startAsyncReplicationSettings()

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

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

Returns
TypeDescription
Builder<StartAsyncReplicationRegionDiskRequest,Operation>

stopAsyncReplicationOperationSettings()

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

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

Returns
TypeDescription
Builder<StopAsyncReplicationRegionDiskRequest,Operation,Operation>

stopAsyncReplicationSettings()

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

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

Returns
TypeDescription
Builder<StopAsyncReplicationRegionDiskRequest,Operation>

stopGroupAsyncReplicationOperationSettings()

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

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

Returns
TypeDescription
Builder<StopGroupAsyncReplicationRegionDiskRequest,Operation,Operation>

stopGroupAsyncReplicationSettings()

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

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

Returns
TypeDescription
Builder<StopGroupAsyncReplicationRegionDiskRequest,Operation>

testIamPermissionsSettings()

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

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

Returns
TypeDescription
Builder<TestIamPermissionsRegionDiskRequest,TestPermissionsResponse>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
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
TypeDescription
Builder<UpdateRegionDiskRequest,Operation,Operation>

updateSettings()

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

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

Returns
TypeDescription
Builder<UpdateRegionDiskRequest,Operation>