@Generated(value="by gapic-generator-java") public class GrpcStorageStub extends StorageStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcStorageStub(StorageStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcStorageStub, using the given settings.
|
protected |
GrpcStorageStub(StorageStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcStorageStub, using the given settings.
|
protected GrpcStorageStub(StorageStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
protected GrpcStorageStub(StorageStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcStorageStub create(StorageStubSettings settings) throws IOException
IOException
public static final GrpcStorageStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
public static final GrpcStorageStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOException
public com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
public com.google.api.gax.rpc.UnaryCallable<DeleteBucketRequest,com.google.protobuf.Empty> deleteBucketCallable()
deleteBucketCallable
in class StorageStub
public com.google.api.gax.rpc.UnaryCallable<GetBucketRequest,Bucket> getBucketCallable()
getBucketCallable
in class StorageStub
public com.google.api.gax.rpc.UnaryCallable<CreateBucketRequest,Bucket> createBucketCallable()
createBucketCallable
in class StorageStub
public com.google.api.gax.rpc.UnaryCallable<ListBucketsRequest,ListBucketsResponse> listBucketsCallable()
listBucketsCallable
in class StorageStub
public com.google.api.gax.rpc.UnaryCallable<ListBucketsRequest,StorageClient.ListBucketsPagedResponse> listBucketsPagedCallable()
listBucketsPagedCallable
in class StorageStub
public com.google.api.gax.rpc.UnaryCallable<LockBucketRetentionPolicyRequest,Bucket> lockBucketRetentionPolicyCallable()
lockBucketRetentionPolicyCallable
in class StorageStub
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicyCallable()
getIamPolicyCallable
in class StorageStub
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicyCallable()
setIamPolicyCallable
in class StorageStub
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsCallable()
testIamPermissionsCallable
in class StorageStub
public com.google.api.gax.rpc.UnaryCallable<UpdateBucketRequest,Bucket> updateBucketCallable()
updateBucketCallable
in class StorageStub
public com.google.api.gax.rpc.UnaryCallable<DeleteNotificationConfigRequest,com.google.protobuf.Empty> deleteNotificationConfigCallable()
deleteNotificationConfigCallable
in class StorageStub
public com.google.api.gax.rpc.UnaryCallable<GetNotificationConfigRequest,NotificationConfig> getNotificationConfigCallable()
getNotificationConfigCallable
in class StorageStub
public com.google.api.gax.rpc.UnaryCallable<CreateNotificationConfigRequest,NotificationConfig> createNotificationConfigCallable()
createNotificationConfigCallable
in class StorageStub
public com.google.api.gax.rpc.UnaryCallable<ListNotificationConfigsRequest,ListNotificationConfigsResponse> listNotificationConfigsCallable()
listNotificationConfigsCallable
in class StorageStub
public com.google.api.gax.rpc.UnaryCallable<ListNotificationConfigsRequest,StorageClient.ListNotificationConfigsPagedResponse> listNotificationConfigsPagedCallable()
listNotificationConfigsPagedCallable
in class StorageStub
public com.google.api.gax.rpc.UnaryCallable<ComposeObjectRequest,Object> composeObjectCallable()
composeObjectCallable
in class StorageStub
public com.google.api.gax.rpc.UnaryCallable<DeleteObjectRequest,com.google.protobuf.Empty> deleteObjectCallable()
deleteObjectCallable
in class StorageStub
public com.google.api.gax.rpc.UnaryCallable<CancelResumableWriteRequest,CancelResumableWriteResponse> cancelResumableWriteCallable()
cancelResumableWriteCallable
in class StorageStub
public com.google.api.gax.rpc.UnaryCallable<GetObjectRequest,Object> getObjectCallable()
getObjectCallable
in class StorageStub
public com.google.api.gax.rpc.ServerStreamingCallable<ReadObjectRequest,ReadObjectResponse> readObjectCallable()
readObjectCallable
in class StorageStub
public com.google.api.gax.rpc.UnaryCallable<UpdateObjectRequest,Object> updateObjectCallable()
updateObjectCallable
in class StorageStub
public com.google.api.gax.rpc.ClientStreamingCallable<WriteObjectRequest,WriteObjectResponse> writeObjectCallable()
writeObjectCallable
in class StorageStub
public com.google.api.gax.rpc.UnaryCallable<ListObjectsRequest,ListObjectsResponse> listObjectsCallable()
listObjectsCallable
in class StorageStub
public com.google.api.gax.rpc.UnaryCallable<ListObjectsRequest,StorageClient.ListObjectsPagedResponse> listObjectsPagedCallable()
listObjectsPagedCallable
in class StorageStub
public com.google.api.gax.rpc.UnaryCallable<RewriteObjectRequest,RewriteResponse> rewriteObjectCallable()
rewriteObjectCallable
in class StorageStub
public com.google.api.gax.rpc.UnaryCallable<StartResumableWriteRequest,StartResumableWriteResponse> startResumableWriteCallable()
startResumableWriteCallable
in class StorageStub
public com.google.api.gax.rpc.UnaryCallable<QueryWriteStatusRequest,QueryWriteStatusResponse> queryWriteStatusCallable()
queryWriteStatusCallable
in class StorageStub
public com.google.api.gax.rpc.UnaryCallable<GetServiceAccountRequest,ServiceAccount> getServiceAccountCallable()
getServiceAccountCallable
in class StorageStub
public com.google.api.gax.rpc.UnaryCallable<CreateHmacKeyRequest,CreateHmacKeyResponse> createHmacKeyCallable()
createHmacKeyCallable
in class StorageStub
public com.google.api.gax.rpc.UnaryCallable<DeleteHmacKeyRequest,com.google.protobuf.Empty> deleteHmacKeyCallable()
deleteHmacKeyCallable
in class StorageStub
public com.google.api.gax.rpc.UnaryCallable<GetHmacKeyRequest,HmacKeyMetadata> getHmacKeyCallable()
getHmacKeyCallable
in class StorageStub
public com.google.api.gax.rpc.UnaryCallable<ListHmacKeysRequest,ListHmacKeysResponse> listHmacKeysCallable()
listHmacKeysCallable
in class StorageStub
public com.google.api.gax.rpc.UnaryCallable<ListHmacKeysRequest,StorageClient.ListHmacKeysPagedResponse> listHmacKeysPagedCallable()
listHmacKeysPagedCallable
in class StorageStub
public com.google.api.gax.rpc.UnaryCallable<UpdateHmacKeyRequest,HmacKeyMetadata> updateHmacKeyCallable()
updateHmacKeyCallable
in class StorageStub
public final void close()
close
in interface AutoCloseable
close
in class StorageStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2023 Google LLC. All rights reserved.