Class RegionDisksSettings.Builder (1.8.1)

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

Builder for RegionDisksSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > RegionDisksSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(RegionDisksSettings settings)

protected Builder(RegionDisksSettings settings)
Parameter
NameDescription
settingsRegionDisksSettings

Builder(RegionDisksStubSettings.Builder stubSettings)

protected Builder(RegionDisksStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsRegionDisksStubSettings.Builder

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 RegionDisksSettings.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
RegionDisksSettings.Builder

build()

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

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>

getStubSettingsBuilder()

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

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>

testIamPermissionsSettings()

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

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

Returns
TypeDescription
Builder<TestIamPermissionsRegionDiskRequest,TestPermissionsResponse>