Class StorageStub (2.38.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>

createHmacKeyCallable()

public UnaryCallable<CreateHmacKeyRequest,CreateHmacKeyResponse> createHmacKeyCallable()
Returns
Type Description
UnaryCallable<CreateHmacKeyRequest,CreateHmacKeyResponse>

createNotificationConfigCallable()

public UnaryCallable<CreateNotificationConfigRequest,NotificationConfig> createNotificationConfigCallable()
Returns
Type Description
UnaryCallable<CreateNotificationConfigRequest,NotificationConfig>

deleteBucketCallable()

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

deleteHmacKeyCallable()

public UnaryCallable<DeleteHmacKeyRequest,Empty> deleteHmacKeyCallable()
Returns
Type Description
UnaryCallable<DeleteHmacKeyRequest,Empty>

deleteNotificationConfigCallable()

public UnaryCallable<DeleteNotificationConfigRequest,Empty> deleteNotificationConfigCallable()
Returns
Type Description
UnaryCallable<DeleteNotificationConfigRequest,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>

getHmacKeyCallable()

public UnaryCallable<GetHmacKeyRequest,HmacKeyMetadata> getHmacKeyCallable()
Returns
Type Description
UnaryCallable<GetHmacKeyRequest,HmacKeyMetadata>

getIamPolicyCallable()

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

getNotificationConfigCallable()

public UnaryCallable<GetNotificationConfigRequest,NotificationConfig> getNotificationConfigCallable()
Returns
Type Description
UnaryCallable<GetNotificationConfigRequest,NotificationConfig>

getObjectCallable()

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

getServiceAccountCallable()

public UnaryCallable<GetServiceAccountRequest,ServiceAccount> getServiceAccountCallable()
Returns
Type Description
UnaryCallable<GetServiceAccountRequest,ServiceAccount>

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>

listHmacKeysCallable()

public UnaryCallable<ListHmacKeysRequest,ListHmacKeysResponse> listHmacKeysCallable()
Returns
Type Description
UnaryCallable<ListHmacKeysRequest,ListHmacKeysResponse>

listHmacKeysPagedCallable()

public UnaryCallable<ListHmacKeysRequest,StorageClient.ListHmacKeysPagedResponse> listHmacKeysPagedCallable()
Returns
Type Description
UnaryCallable<ListHmacKeysRequest,ListHmacKeysPagedResponse>

listNotificationConfigsCallable()

public UnaryCallable<ListNotificationConfigsRequest,ListNotificationConfigsResponse> listNotificationConfigsCallable()
Returns
Type Description
UnaryCallable<ListNotificationConfigsRequest,ListNotificationConfigsResponse>

listNotificationConfigsPagedCallable()

public UnaryCallable<ListNotificationConfigsRequest,StorageClient.ListNotificationConfigsPagedResponse> listNotificationConfigsPagedCallable()
Returns
Type Description
UnaryCallable<ListNotificationConfigsRequest,ListNotificationConfigsPagedResponse>

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>

updateHmacKeyCallable()

public UnaryCallable<UpdateHmacKeyRequest,HmacKeyMetadata> updateHmacKeyCallable()
Returns
Type Description
UnaryCallable<UpdateHmacKeyRequest,HmacKeyMetadata>

updateObjectCallable()

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

writeObjectCallable()

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