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.
Constructors
StorageStub()
Methods
cancelResumableWriteCallable()
public UnaryCallable<CancelResumableWriteRequest,CancelResumableWriteResponse> cancelResumableWriteCallable()
close()
public abstract void close()
composeObjectCallable()
public UnaryCallable<ComposeObjectRequest,Object> composeObjectCallable()
createBucketCallable()
public UnaryCallable<CreateBucketRequest,Bucket> createBucketCallable()
createHmacKeyCallable()
public UnaryCallable<CreateHmacKeyRequest,CreateHmacKeyResponse> createHmacKeyCallable()
createNotificationConfigCallable()
public UnaryCallable<CreateNotificationConfigRequest,NotificationConfig> createNotificationConfigCallable()
deleteBucketCallable()
public UnaryCallable<DeleteBucketRequest,Empty> deleteBucketCallable()
deleteHmacKeyCallable()
public UnaryCallable<DeleteHmacKeyRequest,Empty> deleteHmacKeyCallable()
deleteNotificationConfigCallable()
public UnaryCallable<DeleteNotificationConfigRequest,Empty> deleteNotificationConfigCallable()
deleteObjectCallable()
public UnaryCallable<DeleteObjectRequest,Empty> deleteObjectCallable()
getBucketCallable()
public UnaryCallable<GetBucketRequest,Bucket> getBucketCallable()
getHmacKeyCallable()
public UnaryCallable<GetHmacKeyRequest,HmacKeyMetadata> getHmacKeyCallable()
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()
getObjectCallable()
public UnaryCallable<GetObjectRequest,Object> getObjectCallable()
getServiceAccountCallable()
public UnaryCallable<GetServiceAccountRequest,ServiceAccount> getServiceAccountCallable()
listBucketsCallable()
public UnaryCallable<ListBucketsRequest,ListBucketsResponse> listBucketsCallable()
listBucketsPagedCallable()
public UnaryCallable<ListBucketsRequest,StorageClient.ListBucketsPagedResponse> listBucketsPagedCallable()
listHmacKeysCallable()
public UnaryCallable<ListHmacKeysRequest,ListHmacKeysResponse> listHmacKeysCallable()
listHmacKeysPagedCallable()
public UnaryCallable<ListHmacKeysRequest,StorageClient.ListHmacKeysPagedResponse> listHmacKeysPagedCallable()
listNotificationConfigsCallable()
public UnaryCallable<ListNotificationConfigsRequest,ListNotificationConfigsResponse> listNotificationConfigsCallable()
listNotificationConfigsPagedCallable()
public UnaryCallable<ListNotificationConfigsRequest,StorageClient.ListNotificationConfigsPagedResponse> listNotificationConfigsPagedCallable()
listObjectsCallable()
public UnaryCallable<ListObjectsRequest,ListObjectsResponse> listObjectsCallable()
listObjectsPagedCallable()
public UnaryCallable<ListObjectsRequest,StorageClient.ListObjectsPagedResponse> listObjectsPagedCallable()
lockBucketRetentionPolicyCallable()
public UnaryCallable<LockBucketRetentionPolicyRequest,Bucket> lockBucketRetentionPolicyCallable()
queryWriteStatusCallable()
public UnaryCallable<QueryWriteStatusRequest,QueryWriteStatusResponse> queryWriteStatusCallable()
readObjectCallable()
public ServerStreamingCallable<ReadObjectRequest,ReadObjectResponse> readObjectCallable()
rewriteObjectCallable()
public UnaryCallable<RewriteObjectRequest,RewriteResponse> rewriteObjectCallable()
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()
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()
updateHmacKeyCallable()
public UnaryCallable<UpdateHmacKeyRequest,HmacKeyMetadata> updateHmacKeyCallable()
updateObjectCallable()
public UnaryCallable<UpdateObjectRequest,Object> updateObjectCallable()
writeObjectCallable()
public ClientStreamingCallable<WriteObjectRequest,WriteObjectResponse> writeObjectCallable()