Some or all of the information on this page might not apply to Trusted Cloud by S3NS.
Class StorageSettings.Builder (2.33.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 2.33.0keyboard_arrow_down
public static class StorageSettings . Builder extends ClientSettings . Builder<StorageSettings , StorageSettings . Builder >
Builder for StorageSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder ( ClientContext clientContext )
Builder(StorageSettings settings)
protected Builder ( StorageSettings settings )
Builder(StorageStubSettings.Builder stubSettings)
protected Builder ( StorageStubSettings . Builder stubSettings )
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public StorageSettings . 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.
bidiWriteObjectSettings()
public StreamingCallSettings . Builder<BidiWriteObjectRequest , BidiWriteObjectResponse > bidiWriteObjectSettings ()
Returns the builder for the settings used for calls to bidiWriteObject.
build()
public StorageSettings build ()
Overrides
cancelResumableWriteSettings()
public UnaryCallSettings . Builder<CancelResumableWriteRequest , CancelResumableWriteResponse > cancelResumableWriteSettings ()
Returns the builder for the settings used for calls to cancelResumableWrite.
composeObjectSettings()
public UnaryCallSettings . Builder<ComposeObjectRequest , Object > composeObjectSettings ()
Returns the builder for the settings used for calls to composeObject.
createBucketSettings()
public UnaryCallSettings . Builder<CreateBucketRequest , Bucket > createBucketSettings ()
Returns the builder for the settings used for calls to createBucket.
createHmacKeySettings()
public UnaryCallSettings . Builder<CreateHmacKeyRequest , CreateHmacKeyResponse > createHmacKeySettings ()
Returns the builder for the settings used for calls to createHmacKey.
createNotificationConfigSettings()
public UnaryCallSettings . Builder<CreateNotificationConfigRequest , NotificationConfig > createNotificationConfigSettings ()
Returns the builder for the settings used for calls to createNotificationConfig.
deleteBucketSettings()
public UnaryCallSettings . Builder<DeleteBucketRequest , Empty > deleteBucketSettings ()
Returns the builder for the settings used for calls to deleteBucket.
deleteHmacKeySettings()
public UnaryCallSettings . Builder<DeleteHmacKeyRequest , Empty > deleteHmacKeySettings ()
Returns the builder for the settings used for calls to deleteHmacKey.
deleteNotificationConfigSettings()
public UnaryCallSettings . Builder<DeleteNotificationConfigRequest , Empty > deleteNotificationConfigSettings ()
Returns the builder for the settings used for calls to deleteNotificationConfig.
deleteObjectSettings()
public UnaryCallSettings . Builder<DeleteObjectRequest , Empty > deleteObjectSettings ()
Returns the builder for the settings used for calls to deleteObject.
getBucketSettings()
public UnaryCallSettings . Builder<GetBucketRequest , Bucket > getBucketSettings ()
Returns the builder for the settings used for calls to getBucket.
getHmacKeySettings()
public UnaryCallSettings . Builder<GetHmacKeyRequest , HmacKeyMetadata > getHmacKeySettings ()
Returns the builder for the settings used for calls to getHmacKey.
getIamPolicySettings()
public UnaryCallSettings . Builder<GetIamPolicyRequest , Policy > getIamPolicySettings ()
Returns the builder for the settings used for calls to getIamPolicy.
Returns
Type
Description
Builder <com.google.iam.v1.GetIamPolicyRequest ,com.google.iam.v1.Policy >
getNotificationConfigSettings()
public UnaryCallSettings . Builder<GetNotificationConfigRequest , NotificationConfig > getNotificationConfigSettings ()
Returns the builder for the settings used for calls to getNotificationConfig.
getObjectSettings()
public UnaryCallSettings . Builder<GetObjectRequest , Object > getObjectSettings ()
Returns the builder for the settings used for calls to getObject.
getServiceAccountSettings()
public UnaryCallSettings . Builder<GetServiceAccountRequest , ServiceAccount > getServiceAccountSettings ()
Returns the builder for the settings used for calls to getServiceAccount.
getStubSettingsBuilder()
public StorageStubSettings . Builder getStubSettingsBuilder ()
listBucketsSettings()
public PagedCallSettings . Builder<ListBucketsRequest , ListBucketsResponse , StorageClient . ListBucketsPagedResponse > listBucketsSettings ()
Returns the builder for the settings used for calls to listBuckets.
listHmacKeysSettings()
public PagedCallSettings . Builder<ListHmacKeysRequest , ListHmacKeysResponse , StorageClient . ListHmacKeysPagedResponse > listHmacKeysSettings ()
Returns the builder for the settings used for calls to listHmacKeys.
listNotificationConfigsSettings()
public PagedCallSettings . Builder<ListNotificationConfigsRequest , ListNotificationConfigsResponse , StorageClient . ListNotificationConfigsPagedResponse > listNotificationConfigsSettings ()
Returns the builder for the settings used for calls to listNotificationConfigs.
listObjectsSettings()
public PagedCallSettings . Builder<ListObjectsRequest , ListObjectsResponse , StorageClient . ListObjectsPagedResponse > listObjectsSettings ()
Returns the builder for the settings used for calls to listObjects.
lockBucketRetentionPolicySettings()
public UnaryCallSettings . Builder<LockBucketRetentionPolicyRequest , Bucket > lockBucketRetentionPolicySettings ()
Returns the builder for the settings used for calls to lockBucketRetentionPolicy.
queryWriteStatusSettings()
public UnaryCallSettings . Builder<QueryWriteStatusRequest , QueryWriteStatusResponse > queryWriteStatusSettings ()
Returns the builder for the settings used for calls to queryWriteStatus.
readObjectSettings()
public ServerStreamingCallSettings . Builder<ReadObjectRequest , ReadObjectResponse > readObjectSettings ()
Returns the builder for the settings used for calls to readObject.
restoreObjectSettings()
public UnaryCallSettings . Builder<RestoreObjectRequest , Object > restoreObjectSettings ()
Returns the builder for the settings used for calls to restoreObject.
rewriteObjectSettings()
public UnaryCallSettings . Builder<RewriteObjectRequest , RewriteResponse > rewriteObjectSettings ()
Returns the builder for the settings used for calls to rewriteObject.
setIamPolicySettings()
public UnaryCallSettings . Builder<SetIamPolicyRequest , Policy > setIamPolicySettings ()
Returns the builder for the settings used for calls to setIamPolicy.
Returns
Type
Description
Builder <com.google.iam.v1.SetIamPolicyRequest ,com.google.iam.v1.Policy >
startResumableWriteSettings()
public UnaryCallSettings . Builder<StartResumableWriteRequest , StartResumableWriteResponse > startResumableWriteSettings ()
Returns the builder for the settings used for calls to startResumableWrite.
testIamPermissionsSettings()
public UnaryCallSettings . Builder<TestIamPermissionsRequest , TestIamPermissionsResponse > testIamPermissionsSettings ()
Returns the builder for the settings used for calls to testIamPermissions.
Returns
Type
Description
Builder <com.google.iam.v1.TestIamPermissionsRequest ,com.google.iam.v1.TestIamPermissionsResponse >
updateBucketSettings()
public UnaryCallSettings . Builder<UpdateBucketRequest , Bucket > updateBucketSettings ()
Returns the builder for the settings used for calls to updateBucket.
updateHmacKeySettings()
public UnaryCallSettings . Builder<UpdateHmacKeyRequest , HmacKeyMetadata > updateHmacKeySettings ()
Returns the builder for the settings used for calls to updateHmacKey.
updateObjectSettings()
public UnaryCallSettings . Builder<UpdateObjectRequest , Object > updateObjectSettings ()
Returns the builder for the settings used for calls to updateObject.
writeObjectSettings()
public StreamingCallSettings . Builder<WriteObjectRequest , WriteObjectResponse > writeObjectSettings ()
Returns the builder for the settings used for calls to writeObject.
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 2025-08-02 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-02 UTC."],[],[]]