Send feedback
Class DisksStubSettings.Builder (1.15.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.15.0 keyboard_arrow_down
public static class DisksStubSettings . Builder extends StubSettings . Builder<DisksStubSettings , DisksStubSettings . Builder >
Builder for DisksStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder ( ClientContext clientContext )
Parameter
Builder(DisksStubSettings settings)
protected Builder ( DisksStubSettings settings )
Parameter
Methods
addResourcePoliciesOperationSettings()
public OperationCallSettings . Builder<AddResourcePoliciesDiskRequest , Operation , Operation > addResourcePoliciesOperationSettings ()
Returns the builder for the settings used for calls to addResourcePolicies.
Returns
addResourcePoliciesSettings()
public UnaryCallSettings . Builder<AddResourcePoliciesDiskRequest , Operation > addResourcePoliciesSettings ()
Returns the builder for the settings used for calls to addResourcePolicies.
Returns
aggregatedListSettings()
public PagedCallSettings . Builder<AggregatedListDisksRequest , DiskAggregatedList , DisksClient . AggregatedListPagedResponse > aggregatedListSettings ()
Returns the builder for the settings used for calls to aggregatedList.
Returns
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public DisksStubSettings . 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 DisksStubSettings build ()
Returns
Overrides
Exceptions
createSnapshotOperationSettings()
public OperationCallSettings . Builder<CreateSnapshotDiskRequest , Operation , Operation > createSnapshotOperationSettings ()
Returns the builder for the settings used for calls to createSnapshot.
Returns
createSnapshotSettings()
public UnaryCallSettings . Builder<CreateSnapshotDiskRequest , Operation > createSnapshotSettings ()
Returns the builder for the settings used for calls to createSnapshot.
Returns
deleteOperationSettings()
public OperationCallSettings . Builder<DeleteDiskRequest , Operation , Operation > deleteOperationSettings ()
Returns the builder for the settings used for calls to delete.
Returns
deleteSettings()
public UnaryCallSettings . Builder<DeleteDiskRequest , Operation > deleteSettings ()
Returns the builder for the settings used for calls to delete.
Returns
getIamPolicySettings()
public UnaryCallSettings . Builder<GetIamPolicyDiskRequest , Policy > getIamPolicySettings ()
Returns the builder for the settings used for calls to getIamPolicy.
Returns
getSettings()
public UnaryCallSettings . Builder<GetDiskRequest , Disk > getSettings ()
Returns the builder for the settings used for calls to get.
Returns
insertOperationSettings()
public OperationCallSettings . Builder<InsertDiskRequest , Operation , Operation > insertOperationSettings ()
Returns the builder for the settings used for calls to insert.
Returns
insertSettings()
public UnaryCallSettings . Builder<InsertDiskRequest , Operation > insertSettings ()
Returns the builder for the settings used for calls to insert.
Returns
listSettings()
public PagedCallSettings . Builder<ListDisksRequest , DiskList , DisksClient . ListPagedResponse > listSettings ()
Returns the builder for the settings used for calls to list.
Returns
removeResourcePoliciesOperationSettings()
public OperationCallSettings . Builder<RemoveResourcePoliciesDiskRequest , Operation , Operation > removeResourcePoliciesOperationSettings ()
Returns the builder for the settings used for calls to removeResourcePolicies.
Returns
removeResourcePoliciesSettings()
public UnaryCallSettings . Builder<RemoveResourcePoliciesDiskRequest , Operation > removeResourcePoliciesSettings ()
Returns the builder for the settings used for calls to removeResourcePolicies.
Returns
resizeOperationSettings()
public OperationCallSettings . Builder<ResizeDiskRequest , Operation , Operation > resizeOperationSettings ()
Returns the builder for the settings used for calls to resize.
Returns
resizeSettings()
public UnaryCallSettings . Builder<ResizeDiskRequest , Operation > resizeSettings ()
Returns the builder for the settings used for calls to resize.
Returns
setIamPolicySettings()
public UnaryCallSettings . Builder<SetIamPolicyDiskRequest , Policy > setIamPolicySettings ()
Returns the builder for the settings used for calls to setIamPolicy.
Returns
setLabelsOperationSettings()
public OperationCallSettings . Builder<SetLabelsDiskRequest , Operation , Operation > setLabelsOperationSettings ()
Returns the builder for the settings used for calls to setLabels.
Returns
setLabelsSettings()
public UnaryCallSettings . Builder<SetLabelsDiskRequest , Operation > setLabelsSettings ()
Returns the builder for the settings used for calls to setLabels.
Returns
testIamPermissionsSettings()
public UnaryCallSettings . Builder<TestIamPermissionsDiskRequest , TestPermissionsResponse > testIamPermissionsSettings ()
Returns the builder for the settings used for calls to testIamPermissions.
Returns
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings . Builder <? , ? >> unaryMethodSettingsBuilders ()
Returns
Type Description com.google.common.collect.ImmutableList <Builder <? ,? >>
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-30 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-30 UTC."],[],[]]