public static class StorageStubSettings.Builder extends StubSettings.Builder<StorageStubSettings,StorageStubSettings.Builder>
Builder for StorageStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(StorageStubSettings settings)
protected Builder(StorageStubSettings settings)
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.
bidiWriteObjectSettings()
public StreamingCallSettings.Builder<BidiWriteObjectRequest,BidiWriteObjectResponse> bidiWriteObjectSettings()
Returns the builder for the settings used for calls to bidiWriteObject.
build()
public StorageStubSettings 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.
deleteBucketSettings()
public UnaryCallSettings.Builder<DeleteBucketRequest,Empty> deleteBucketSettings()
Returns the builder for the settings used for calls to deleteBucket.
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.
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> |
|
getObjectSettings()
public UnaryCallSettings.Builder<GetObjectRequest,Object> getObjectSettings()
Returns the builder for the settings used for calls to getObject.
listBucketsSettings()
public PagedCallSettings.Builder<ListBucketsRequest,ListBucketsResponse,StorageClient.ListBucketsPagedResponse> listBucketsSettings()
Returns the builder for the settings used for calls to listBuckets.
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.
moveObjectSettings()
public UnaryCallSettings.Builder<MoveObjectRequest,Object> moveObjectSettings()
Returns the builder for the settings used for calls to moveObject.
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> |
|
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.
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.