Send feedback
Class GrpcStorageStub (2.45.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.45.0 keyboard_arrow_down
public class GrpcStorageStub extends StorageStub
gRPC stub implementation for the Storage service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcStorageStub create ( ClientContext clientContext )
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcStorageStub create ( ClientContext clientContext , GrpcStubCallableFactory callableFactory )
create(StorageStubSettings settings)
public static final GrpcStorageStub create ( StorageStubSettings settings )
Constructors
GrpcStorageStub(StorageStubSettings settings, ClientContext clientContext)
protected GrpcStorageStub ( StorageStubSettings settings , ClientContext clientContext )
Constructs an instance of GrpcStorageStub, using the given settings. This is protected so that
it is easy to make a subclass, but otherwise, the static factory methods should be preferred.
GrpcStorageStub(StorageStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcStorageStub ( StorageStubSettings settings , ClientContext clientContext , GrpcStubCallableFactory callableFactory )
Constructs an instance of GrpcStorageStub, using the given settings. This is protected so that
it is easy to make a subclass, but otherwise, the static factory methods should be preferred.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination ( long duration , TimeUnit unit )
bidiWriteObjectCallable()
public BidiStreamingCallable<BidiWriteObjectRequest , BidiWriteObjectResponse > bidiWriteObjectCallable ()
Overrides
cancelResumableWriteCallable()
public UnaryCallable<CancelResumableWriteRequest , CancelResumableWriteResponse > cancelResumableWriteCallable ()
Overrides
close()
public final void close ()
Overrides
composeObjectCallable()
public UnaryCallable<ComposeObjectRequest , Object > composeObjectCallable ()
Overrides
createBucketCallable()
public UnaryCallable<CreateBucketRequest , Bucket > createBucketCallable ()
Overrides
deleteBucketCallable()
public UnaryCallable<DeleteBucketRequest , Empty > deleteBucketCallable ()
Overrides
deleteObjectCallable()
public UnaryCallable<DeleteObjectRequest , Empty > deleteObjectCallable ()
Overrides
getBucketCallable()
public UnaryCallable<GetBucketRequest , Bucket > getBucketCallable ()
Overrides
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyRequest , Policy > getIamPolicyCallable ()
Returns
Type
Description
UnaryCallable <com.google.iam.v1.GetIamPolicyRequest ,com.google.iam.v1.Policy >
Overrides
getObjectCallable()
public UnaryCallable<GetObjectRequest , Object > getObjectCallable ()
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub ()
isShutdown()
public boolean isShutdown ()
isTerminated()
public boolean isTerminated ()
listBucketsCallable()
public UnaryCallable<ListBucketsRequest , ListBucketsResponse > listBucketsCallable ()
Overrides
listBucketsPagedCallable()
public UnaryCallable<ListBucketsRequest , StorageClient . ListBucketsPagedResponse > listBucketsPagedCallable ()
Overrides
listObjectsCallable()
public UnaryCallable<ListObjectsRequest , ListObjectsResponse > listObjectsCallable ()
Overrides
listObjectsPagedCallable()
public UnaryCallable<ListObjectsRequest , StorageClient . ListObjectsPagedResponse > listObjectsPagedCallable ()
Overrides
lockBucketRetentionPolicyCallable()
public UnaryCallable<LockBucketRetentionPolicyRequest , Bucket > lockBucketRetentionPolicyCallable ()
Overrides
queryWriteStatusCallable()
public UnaryCallable<QueryWriteStatusRequest , QueryWriteStatusResponse > queryWriteStatusCallable ()
Overrides
readObjectCallable()
public ServerStreamingCallable<ReadObjectRequest , ReadObjectResponse > readObjectCallable ()
Overrides
restoreObjectCallable()
public UnaryCallable<RestoreObjectRequest , Object > restoreObjectCallable ()
Overrides
rewriteObjectCallable()
public UnaryCallable<RewriteObjectRequest , RewriteResponse > rewriteObjectCallable ()
Overrides
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyRequest , Policy > setIamPolicyCallable ()
Returns
Type
Description
UnaryCallable <com.google.iam.v1.SetIamPolicyRequest ,com.google.iam.v1.Policy >
Overrides
shutdown()
shutdownNow()
public void shutdownNow ()
startResumableWriteCallable()
public UnaryCallable<StartResumableWriteRequest , StartResumableWriteResponse > startResumableWriteCallable ()
Overrides
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsRequest , TestIamPermissionsResponse > testIamPermissionsCallable ()
Returns
Type
Description
UnaryCallable <com.google.iam.v1.TestIamPermissionsRequest ,com.google.iam.v1.TestIamPermissionsResponse >
Overrides
updateBucketCallable()
public UnaryCallable<UpdateBucketRequest , Bucket > updateBucketCallable ()
Overrides
updateObjectCallable()
public UnaryCallable<UpdateObjectRequest , Object > updateObjectCallable ()
Overrides
writeObjectCallable()
public ClientStreamingCallable<WriteObjectRequest , WriteObjectResponse > writeObjectCallable ()
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-18 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-18 UTC."],[],[]]