Package com.google.storage.v2.stub
Class StorageStub
java.lang.Object
com.google.storage.v2.stub.StorageStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
- Direct Known Subclasses:
GrpcStorageStub
@Generated("by gapic-generator-java")
public abstract class StorageStub
extends Object
implements BackgroundResource
Base stub class for the Storage service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidclose()UnaryCallable<DeleteBucketRequest,com.google.protobuf.Empty> UnaryCallable<DeleteObjectRequest,com.google.protobuf.Empty> Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.api.gax.core.BackgroundResource
awaitTermination, isShutdown, isTerminated, shutdown, shutdownNow
-
Constructor Details
-
StorageStub
public StorageStub()
-
-
Method Details
-
deleteBucketCallable
-
getBucketCallable
-
createBucketCallable
-
listBucketsPagedCallable
public UnaryCallable<ListBucketsRequest,StorageClient.ListBucketsPagedResponse> listBucketsPagedCallable() -
listBucketsCallable
-
lockBucketRetentionPolicyCallable
-
getIamPolicyCallable
-
setIamPolicyCallable
-
testIamPermissionsCallable
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable() -
updateBucketCallable
-
composeObjectCallable
-
deleteObjectCallable
-
restoreObjectCallable
-
cancelResumableWriteCallable
public UnaryCallable<CancelResumableWriteRequest,CancelResumableWriteResponse> cancelResumableWriteCallable() -
getObjectCallable
-
readObjectCallable
-
bidiReadObjectCallable
-
updateObjectCallable
-
writeObjectCallable
-
bidiWriteObjectCallable
public BidiStreamingCallable<BidiWriteObjectRequest,BidiWriteObjectResponse> bidiWriteObjectCallable() -
listObjectsPagedCallable
public UnaryCallable<ListObjectsRequest,StorageClient.ListObjectsPagedResponse> listObjectsPagedCallable() -
listObjectsCallable
-
rewriteObjectCallable
-
startResumableWriteCallable
public UnaryCallable<StartResumableWriteRequest,StartResumableWriteResponse> startResumableWriteCallable() -
queryWriteStatusCallable
-
moveObjectCallable
-
close
public abstract void close()- Specified by:
closein interfaceAutoCloseable
-