public static class RegionDisksSettings.Builder extends ClientSettings.Builder<RegionDisksSettings,RegionDisksSettings.Builder>
Builder for RegionDisksSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Parameter
Builder(RegionDisksSettings settings)
protected Builder(RegionDisksSettings settings)
Parameter
Builder(RegionDisksStubSettings.Builder stubSettings)
protected Builder(RegionDisksStubSettings.Builder stubSettings)
Parameter
Methods
addResourcePoliciesOperationSettings()
public OperationCallSettings.Builder<AddResourcePoliciesRegionDiskRequest,Operation,Operation> addResourcePoliciesOperationSettings()
Returns the builder for the settings used for calls to addResourcePolicies.
Returns
addResourcePoliciesSettings()
public UnaryCallSettings.Builder<AddResourcePoliciesRegionDiskRequest,Operation> addResourcePoliciesSettings()
Returns the builder for the settings used for calls to addResourcePolicies.
Returns
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
Returns
build()
public RegionDisksSettings build()
Returns
Overrides
Exceptions
createSnapshotOperationSettings()
public OperationCallSettings.Builder<CreateSnapshotRegionDiskRequest,Operation,Operation> createSnapshotOperationSettings()
Returns the builder for the settings used for calls to createSnapshot.
Returns
createSnapshotSettings()
public UnaryCallSettings.Builder<CreateSnapshotRegionDiskRequest,Operation> createSnapshotSettings()
Returns the builder for the settings used for calls to createSnapshot.
Returns
deleteOperationSettings()
public OperationCallSettings.Builder<DeleteRegionDiskRequest,Operation,Operation> deleteOperationSettings()
Returns the builder for the settings used for calls to delete.
Returns
deleteSettings()
public UnaryCallSettings.Builder<DeleteRegionDiskRequest,Operation> deleteSettings()
Returns the builder for the settings used for calls to delete.
Returns
getIamPolicySettings()
public UnaryCallSettings.Builder<GetIamPolicyRegionDiskRequest,Policy> getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
Returns
getSettings()
public UnaryCallSettings.Builder<GetRegionDiskRequest,Disk> getSettings()
Returns the builder for the settings used for calls to get.
Returns
getStubSettingsBuilder()
public RegionDisksStubSettings.Builder getStubSettingsBuilder()
Returns
insertOperationSettings()
public OperationCallSettings.Builder<InsertRegionDiskRequest,Operation,Operation> insertOperationSettings()
Returns the builder for the settings used for calls to insert.
Returns
insertSettings()
public UnaryCallSettings.Builder<InsertRegionDiskRequest,Operation> insertSettings()
Returns the builder for the settings used for calls to insert.
Returns
listSettings()
public PagedCallSettings.Builder<ListRegionDisksRequest,DiskList,RegionDisksClient.ListPagedResponse> listSettings()
Returns the builder for the settings used for calls to list.
Returns
removeResourcePoliciesOperationSettings()
public OperationCallSettings.Builder<RemoveResourcePoliciesRegionDiskRequest,Operation,Operation> removeResourcePoliciesOperationSettings()
Returns the builder for the settings used for calls to removeResourcePolicies.
Returns
removeResourcePoliciesSettings()
public UnaryCallSettings.Builder<RemoveResourcePoliciesRegionDiskRequest,Operation> removeResourcePoliciesSettings()
Returns the builder for the settings used for calls to removeResourcePolicies.
Returns
resizeOperationSettings()
public OperationCallSettings.Builder<ResizeRegionDiskRequest,Operation,Operation> resizeOperationSettings()
Returns the builder for the settings used for calls to resize.
Returns
resizeSettings()
public UnaryCallSettings.Builder<ResizeRegionDiskRequest,Operation> resizeSettings()
Returns the builder for the settings used for calls to resize.
Returns
setIamPolicySettings()
public UnaryCallSettings.Builder<SetIamPolicyRegionDiskRequest,Policy> setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
Returns
setLabelsOperationSettings()
public OperationCallSettings.Builder<SetLabelsRegionDiskRequest,Operation,Operation> setLabelsOperationSettings()
Returns the builder for the settings used for calls to setLabels.
Returns
setLabelsSettings()
public UnaryCallSettings.Builder<SetLabelsRegionDiskRequest,Operation> setLabelsSettings()
Returns the builder for the settings used for calls to setLabels.
Returns
testIamPermissionsSettings()
public UnaryCallSettings.Builder<TestIamPermissionsRegionDiskRequest,TestPermissionsResponse> testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
Returns