Class StorageStub (2.45.0)

public abstract class StorageStub implements BackgroundResource

Base stub class for the Storage service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > StorageStub

Implements

BackgroundResource

Constructors

StorageStub()

public StorageStub()

Methods

bidiWriteObjectCallable()

public BidiStreamingCallable<BidiWriteObjectRequest,BidiWriteObjectResponse> bidiWriteObjectCallable()
Returns
Type Description
BidiStreamingCallable<BidiWriteObjectRequest,BidiWriteObjectResponse>

cancelResumableWriteCallable()

public UnaryCallable<CancelResumableWriteRequest,CancelResumableWriteResponse> cancelResumableWriteCallable()
Returns
Type Description
UnaryCallable<CancelResumableWriteRequest,CancelResumableWriteResponse>

close()

public abstract void close()

composeObjectCallable()

public UnaryCallable<ComposeObjectRequest,Object> composeObjectCallable()
Returns
Type Description
UnaryCallable<ComposeObjectRequest,Object>

createBucketCallable()

public UnaryCallable<CreateBucketRequest,Bucket> createBucketCallable()
Returns
Type Description
UnaryCallable<CreateBucketRequest,Bucket>

deleteBucketCallable()

public UnaryCallable<DeleteBucketRequest,Empty> deleteBucketCallable()
Returns
Type Description
UnaryCallable<DeleteBucketRequest,Empty>

deleteObjectCallable()

public UnaryCallable<DeleteObjectRequest,Empty> deleteObjectCallable()
Returns
Type Description
UnaryCallable<DeleteObjectRequest,Empty>

getBucketCallable()

public UnaryCallable<GetBucketRequest,Bucket> getBucketCallable()
Returns
Type Description
UnaryCallable<GetBucketRequest,Bucket>

getIamPolicyCallable()

public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>

getObjectCallable()

public UnaryCallable<GetObjectRequest,Object> getObjectCallable()
Returns
Type Description
UnaryCallable<GetObjectRequest,Object>

listBucketsCallable()

public UnaryCallable<ListBucketsRequest,ListBucketsResponse> listBucketsCallable()
Returns
Type Description
UnaryCallable<ListBucketsRequest,ListBucketsResponse>

listBucketsPagedCallable()

public UnaryCallable<ListBucketsRequest,StorageClient.ListBucketsPagedResponse> listBucketsPagedCallable()
Returns
Type Description
UnaryCallable<ListBucketsRequest,ListBucketsPagedResponse>

listObjectsCallable()

public UnaryCallable<ListObjectsRequest,ListObjectsResponse> listObjectsCallable()
Returns
Type Description
UnaryCallable<ListObjectsRequest,ListObjectsResponse>

listObjectsPagedCallable()

public UnaryCallable<ListObjectsRequest,StorageClient.ListObjectsPagedResponse> listObjectsPagedCallable()
Returns
Type Description
UnaryCallable<ListObjectsRequest,ListObjectsPagedResponse>

lockBucketRetentionPolicyCallable()

public UnaryCallable<LockBucketRetentionPolicyRequest,Bucket> lockBucketRetentionPolicyCallable()
Returns
Type Description
UnaryCallable<LockBucketRetentionPolicyRequest,Bucket>

queryWriteStatusCallable()

public UnaryCallable<QueryWriteStatusRequest,QueryWriteStatusResponse> queryWriteStatusCallable()
Returns
Type Description
UnaryCallable<QueryWriteStatusRequest,QueryWriteStatusResponse>

readObjectCallable()

public ServerStreamingCallable<ReadObjectRequest,ReadObjectResponse> readObjectCallable()
Returns
Type Description
ServerStreamingCallable<ReadObjectRequest,ReadObjectResponse>

restoreObjectCallable()

public UnaryCallable<RestoreObjectRequest,Object> restoreObjectCallable()
Returns
Type Description
UnaryCallable<RestoreObjectRequest,Object>

rewriteObjectCallable()

public UnaryCallable<RewriteObjectRequest,RewriteResponse> rewriteObjectCallable()
Returns
Type Description
UnaryCallable<RewriteObjectRequest,RewriteResponse>

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>

startResumableWriteCallable()

public UnaryCallable<StartResumableWriteRequest,StartResumableWriteResponse> startResumableWriteCallable()
Returns
Type Description
UnaryCallable<StartResumableWriteRequest,StartResumableWriteResponse>

testIamPermissionsCallable()

public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

updateBucketCallable()

public UnaryCallable<UpdateBucketRequest,Bucket> updateBucketCallable()
Returns
Type Description
UnaryCallable<UpdateBucketRequest,Bucket>

updateObjectCallable()

public UnaryCallable<UpdateObjectRequest,Object> updateObjectCallable()
Returns
Type Description
UnaryCallable<UpdateObjectRequest,Object>

writeObjectCallable()

public ClientStreamingCallable<WriteObjectRequest,WriteObjectResponse> writeObjectCallable()
Returns
Type Description
ClientStreamingCallable<WriteObjectRequest,WriteObjectResponse>