Class DisksSettings.Builder (1.53.0)

public static class DisksSettings.Builder extends ClientSettings.Builder<DisksSettings,DisksSettings.Builder>

Builder for DisksSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > DisksSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(DisksSettings settings)

protected Builder(DisksSettings settings)
Parameter
Name Description
settings DisksSettings

Builder(DisksStubSettings.Builder stubSettings)

protected Builder(DisksStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings DisksStubSettings.Builder

Methods

addResourcePoliciesOperationSettings()

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

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

Returns
Type Description
Builder<AddResourcePoliciesDiskRequest,Operation,Operation>

addResourcePoliciesSettings()

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

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

Returns
Type Description
Builder<AddResourcePoliciesDiskRequest,Operation>

aggregatedListSettings()

public PagedCallSettings.Builder<AggregatedListDisksRequest,DiskAggregatedList,DisksClient.AggregatedListPagedResponse> aggregatedListSettings()

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

Returns
Type Description
Builder<AggregatedListDisksRequest,DiskAggregatedList,AggregatedListPagedResponse>

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

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

build()

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

bulkInsertOperationSettings()

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

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

Returns
Type Description
Builder<BulkInsertDiskRequest,Operation,Operation>

bulkInsertSettings()

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

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

Returns
Type Description
Builder<BulkInsertDiskRequest,Operation>

createSnapshotOperationSettings()

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

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

Returns
Type Description
Builder<CreateSnapshotDiskRequest,Operation,Operation>

createSnapshotSettings()

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

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

Returns
Type Description
Builder<CreateSnapshotDiskRequest,Operation>

deleteOperationSettings()

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

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

Returns
Type Description
Builder<DeleteDiskRequest,Operation,Operation>

deleteSettings()

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

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

Returns
Type Description
Builder<DeleteDiskRequest,Operation>

getIamPolicySettings()

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

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

Returns
Type Description
Builder<GetIamPolicyDiskRequest,Policy>

getSettings()

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

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

Returns
Type Description
Builder<GetDiskRequest,Disk>

getStubSettingsBuilder()

public DisksStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
DisksStubSettings.Builder

insertOperationSettings()

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

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

Returns
Type Description
Builder<InsertDiskRequest,Operation,Operation>

insertSettings()

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

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

Returns
Type Description
Builder<InsertDiskRequest,Operation>

listSettings()

public PagedCallSettings.Builder<ListDisksRequest,DiskList,DisksClient.ListPagedResponse> listSettings()

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

Returns
Type Description
Builder<ListDisksRequest,DiskList,ListPagedResponse>

removeResourcePoliciesOperationSettings()

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

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

Returns
Type Description
Builder<RemoveResourcePoliciesDiskRequest,Operation,Operation>

removeResourcePoliciesSettings()

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

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

Returns
Type Description
Builder<RemoveResourcePoliciesDiskRequest,Operation>

resizeOperationSettings()

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

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

Returns
Type Description
Builder<ResizeDiskRequest,Operation,Operation>

resizeSettings()

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

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

Returns
Type Description
Builder<ResizeDiskRequest,Operation>

setIamPolicySettings()

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

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

Returns
Type Description
Builder<SetIamPolicyDiskRequest,Policy>

setLabelsOperationSettings()

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

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

Returns
Type Description
Builder<SetLabelsDiskRequest,Operation,Operation>

setLabelsSettings()

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

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

Returns
Type Description
Builder<SetLabelsDiskRequest,Operation>

startAsyncReplicationOperationSettings()

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

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

Returns
Type Description
Builder<StartAsyncReplicationDiskRequest,Operation,Operation>

startAsyncReplicationSettings()

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

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

Returns
Type Description
Builder<StartAsyncReplicationDiskRequest,Operation>

stopAsyncReplicationOperationSettings()

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

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

Returns
Type Description
Builder<StopAsyncReplicationDiskRequest,Operation,Operation>

stopAsyncReplicationSettings()

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

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

Returns
Type Description
Builder<StopAsyncReplicationDiskRequest,Operation>

stopGroupAsyncReplicationOperationSettings()

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

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

Returns
Type Description
Builder<StopGroupAsyncReplicationDiskRequest,Operation,Operation>

stopGroupAsyncReplicationSettings()

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

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

Returns
Type Description
Builder<StopGroupAsyncReplicationDiskRequest,Operation>

testIamPermissionsSettings()

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

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

Returns
Type Description
Builder<TestIamPermissionsDiskRequest,TestPermissionsResponse>

updateOperationSettings()

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

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

Returns
Type Description
Builder<UpdateDiskRequest,Operation,Operation>

updateSettings()

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

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

Returns
Type Description
Builder<UpdateDiskRequest,Operation>