- 2.58.1 (latest)
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.3
- 2.52.3
- 2.50.0
- 2.49.0
- 2.48.2
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.1
- 2.43.2
- 2.42.0
- 2.41.0
- 2.40.1
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.1
- 2.34.0
- 2.33.0
- 2.32.1
- 2.30.1
- 2.29.1
- 2.28.0
- 2.27.1
- 2.24.0
- 2.23.0
- 2.22.6
- 2.21.0
- 2.20.2
- 2.19.0
- 2.18.0
- 2.17.2
- 2.16.0
- 2.15.1
- 2.14.0
- 2.13.1
- 2.12.0
- 2.11.3
- 2.10.0
- 2.9.3
- 2.8.1
- 2.7.1
- 2.6.1
- 2.5.1
- 2.4.5
- 2.3.0
- 2.2.3
- 2.1.10
public static class StorageStubSettings.Builder extends StubSettings.Builder<StorageStubSettings,StorageStubSettings.Builder>Builder for StorageStubSettings.
Constructors
Builder()
protected Builder()Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)| Parameter | |
|---|---|
| Name | Description |
clientContext |
ClientContext |
Builder(StorageStubSettings settings)
protected Builder(StorageStubSettings settings)| Parameter | |
|---|---|
| Name | Description |
settings |
StorageStubSettings |
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public StorageStubSettings.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<?,?>,Void> |
| Returns | |
|---|---|
| Type | Description |
StorageStubSettings.Builder |
|
bidiWriteObjectSettings()
public StreamingCallSettings.Builder<BidiWriteObjectRequest,BidiWriteObjectResponse> bidiWriteObjectSettings()Returns the builder for the settings used for calls to bidiWriteObject.
| Returns | |
|---|---|
| Type | Description |
Builder<BidiWriteObjectRequest,BidiWriteObjectResponse> |
|
build()
public StorageStubSettings build()| Returns | |
|---|---|
| Type | Description |
StorageStubSettings |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
cancelResumableWriteSettings()
public UnaryCallSettings.Builder<CancelResumableWriteRequest,CancelResumableWriteResponse> cancelResumableWriteSettings()Returns the builder for the settings used for calls to cancelResumableWrite.
| Returns | |
|---|---|
| Type | Description |
Builder<CancelResumableWriteRequest,CancelResumableWriteResponse> |
|
composeObjectSettings()
public UnaryCallSettings.Builder<ComposeObjectRequest,Object> composeObjectSettings()Returns the builder for the settings used for calls to composeObject.
| Returns | |
|---|---|
| Type | Description |
Builder<ComposeObjectRequest,Object> |
|
createBucketSettings()
public UnaryCallSettings.Builder<CreateBucketRequest,Bucket> createBucketSettings()Returns the builder for the settings used for calls to createBucket.
| Returns | |
|---|---|
| Type | Description |
Builder<CreateBucketRequest,Bucket> |
|
createHmacKeySettings() (deprecated)
public UnaryCallSettings.Builder<CreateHmacKeyRequest,CreateHmacKeyResponse> createHmacKeySettings()Deprecated. This method is deprecated and will be removed in the next major version update.
Returns the builder for the settings used for calls to createHmacKey.
| Returns | |
|---|---|
| Type | Description |
Builder<CreateHmacKeyRequest,CreateHmacKeyResponse> |
|
createNotificationConfigSettings() (deprecated)
public UnaryCallSettings.Builder<CreateNotificationConfigRequest,NotificationConfig> createNotificationConfigSettings()Deprecated. This method is deprecated and will be removed in the next major version update.
Returns the builder for the settings used for calls to createNotificationConfig.
| Returns | |
|---|---|
| Type | Description |
Builder<CreateNotificationConfigRequest,NotificationConfig> |
|
deleteBucketSettings()
public UnaryCallSettings.Builder<DeleteBucketRequest,Empty> deleteBucketSettings()Returns the builder for the settings used for calls to deleteBucket.
| Returns | |
|---|---|
| Type | Description |
Builder<DeleteBucketRequest,Empty> |
|
deleteHmacKeySettings() (deprecated)
public UnaryCallSettings.Builder<DeleteHmacKeyRequest,Empty> deleteHmacKeySettings()Deprecated. This method is deprecated and will be removed in the next major version update.
Returns the builder for the settings used for calls to deleteHmacKey.
| Returns | |
|---|---|
| Type | Description |
Builder<DeleteHmacKeyRequest,Empty> |
|
deleteNotificationConfigSettings() (deprecated)
public UnaryCallSettings.Builder<DeleteNotificationConfigRequest,Empty> deleteNotificationConfigSettings()Deprecated. This method is deprecated and will be removed in the next major version update.
Returns the builder for the settings used for calls to deleteNotificationConfig.
| Returns | |
|---|---|
| Type | Description |
Builder<DeleteNotificationConfigRequest,Empty> |
|
deleteObjectSettings()
public UnaryCallSettings.Builder<DeleteObjectRequest,Empty> deleteObjectSettings()Returns the builder for the settings used for calls to deleteObject.
| Returns | |
|---|---|
| Type | Description |
Builder<DeleteObjectRequest,Empty> |
|
getBucketSettings()
public UnaryCallSettings.Builder<GetBucketRequest,Bucket> getBucketSettings()Returns the builder for the settings used for calls to getBucket.
| Returns | |
|---|---|
| Type | Description |
Builder<GetBucketRequest,Bucket> |
|
getHmacKeySettings() (deprecated)
public UnaryCallSettings.Builder<GetHmacKeyRequest,HmacKeyMetadata> getHmacKeySettings()Deprecated. This method is deprecated and will be removed in the next major version update.
Returns the builder for the settings used for calls to getHmacKey.
| Returns | |
|---|---|
| Type | Description |
Builder<GetHmacKeyRequest,HmacKeyMetadata> |
|
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() (deprecated)
public UnaryCallSettings.Builder<GetNotificationConfigRequest,NotificationConfig> getNotificationConfigSettings()Deprecated. This method is deprecated and will be removed in the next major version update.
Returns the builder for the settings used for calls to getNotificationConfig.
| Returns | |
|---|---|
| Type | Description |
Builder<GetNotificationConfigRequest,NotificationConfig> |
|
getObjectSettings()
public UnaryCallSettings.Builder<GetObjectRequest,Object> getObjectSettings()Returns the builder for the settings used for calls to getObject.
| Returns | |
|---|---|
| Type | Description |
Builder<GetObjectRequest,Object> |
|
getServiceAccountSettings() (deprecated)
public UnaryCallSettings.Builder<GetServiceAccountRequest,ServiceAccount> getServiceAccountSettings()Deprecated. This method is deprecated and will be removed in the next major version update.
Returns the builder for the settings used for calls to getServiceAccount.
| Returns | |
|---|---|
| Type | Description |
Builder<GetServiceAccountRequest,ServiceAccount> |
|
listBucketsSettings()
public PagedCallSettings.Builder<ListBucketsRequest,ListBucketsResponse,StorageClient.ListBucketsPagedResponse> listBucketsSettings()Returns the builder for the settings used for calls to listBuckets.
| Returns | |
|---|---|
| Type | Description |
Builder<ListBucketsRequest,ListBucketsResponse,ListBucketsPagedResponse> |
|
listHmacKeysSettings() (deprecated)
public PagedCallSettings.Builder<ListHmacKeysRequest,ListHmacKeysResponse,StorageClient.ListHmacKeysPagedResponse> listHmacKeysSettings()Deprecated. This method is deprecated and will be removed in the next major version update.
Returns the builder for the settings used for calls to listHmacKeys.
| Returns | |
|---|---|
| Type | Description |
Builder<ListHmacKeysRequest,ListHmacKeysResponse,ListHmacKeysPagedResponse> |
|
listNotificationConfigsSettings() (deprecated)
public PagedCallSettings.Builder<ListNotificationConfigsRequest,ListNotificationConfigsResponse,StorageClient.ListNotificationConfigsPagedResponse> listNotificationConfigsSettings()Deprecated. This method is deprecated and will be removed in the next major version update.
Returns the builder for the settings used for calls to listNotificationConfigs.
| Returns | |
|---|---|
| Type | Description |
Builder<ListNotificationConfigsRequest,ListNotificationConfigsResponse,ListNotificationConfigsPagedResponse> |
|
listObjectsSettings()
public PagedCallSettings.Builder<ListObjectsRequest,ListObjectsResponse,StorageClient.ListObjectsPagedResponse> listObjectsSettings()Returns the builder for the settings used for calls to listObjects.
| Returns | |
|---|---|
| Type | Description |
Builder<ListObjectsRequest,ListObjectsResponse,ListObjectsPagedResponse> |
|
lockBucketRetentionPolicySettings()
public UnaryCallSettings.Builder<LockBucketRetentionPolicyRequest,Bucket> lockBucketRetentionPolicySettings()Returns the builder for the settings used for calls to lockBucketRetentionPolicy.
| Returns | |
|---|---|
| Type | Description |
Builder<LockBucketRetentionPolicyRequest,Bucket> |
|
queryWriteStatusSettings()
public UnaryCallSettings.Builder<QueryWriteStatusRequest,QueryWriteStatusResponse> queryWriteStatusSettings()Returns the builder for the settings used for calls to queryWriteStatus.
| Returns | |
|---|---|
| Type | Description |
Builder<QueryWriteStatusRequest,QueryWriteStatusResponse> |
|
readObjectSettings()
public ServerStreamingCallSettings.Builder<ReadObjectRequest,ReadObjectResponse> readObjectSettings()Returns the builder for the settings used for calls to readObject.
| Returns | |
|---|---|
| Type | Description |
Builder<ReadObjectRequest,ReadObjectResponse> |
|
restoreObjectSettings()
public UnaryCallSettings.Builder<RestoreObjectRequest,Object> restoreObjectSettings()Returns the builder for the settings used for calls to restoreObject.
| Returns | |
|---|---|
| Type | Description |
Builder<RestoreObjectRequest,Object> |
|
rewriteObjectSettings()
public UnaryCallSettings.Builder<RewriteObjectRequest,RewriteResponse> rewriteObjectSettings()Returns the builder for the settings used for calls to rewriteObject.
| Returns | |
|---|---|
| Type | Description |
Builder<RewriteObjectRequest,RewriteResponse> |
|
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.
| Returns | |
|---|---|
| Type | Description |
Builder<StartResumableWriteRequest,StartResumableWriteResponse> |
|
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> |
|
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()| Returns | |
|---|---|
| Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> |
|
updateBucketSettings()
public UnaryCallSettings.Builder<UpdateBucketRequest,Bucket> updateBucketSettings()Returns the builder for the settings used for calls to updateBucket.
| Returns | |
|---|---|
| Type | Description |
Builder<UpdateBucketRequest,Bucket> |
|
updateHmacKeySettings() (deprecated)
public UnaryCallSettings.Builder<UpdateHmacKeyRequest,HmacKeyMetadata> updateHmacKeySettings()Deprecated. This method is deprecated and will be removed in the next major version update.
Returns the builder for the settings used for calls to updateHmacKey.
| Returns | |
|---|---|
| Type | Description |
Builder<UpdateHmacKeyRequest,HmacKeyMetadata> |
|
updateObjectSettings()
public UnaryCallSettings.Builder<UpdateObjectRequest,Object> updateObjectSettings()Returns the builder for the settings used for calls to updateObject.
| Returns | |
|---|---|
| Type | Description |
Builder<UpdateObjectRequest,Object> |
|
writeObjectSettings()
public StreamingCallSettings.Builder<WriteObjectRequest,WriteObjectResponse> writeObjectSettings()Returns the builder for the settings used for calls to writeObject.
| Returns | |
|---|---|
| Type | Description |
Builder<WriteObjectRequest,WriteObjectResponse> |
|