@Generated(value="by gapic-generator-java") @BetaApi public class HttpJsonStorageStub extends StorageStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
HttpJsonStorageStub(StorageStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonStorageStub, using the given settings.
|
protected |
HttpJsonStorageStub(StorageStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonStorageStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static HttpJsonStorageStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static HttpJsonStorageStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) |
static HttpJsonStorageStub |
create(StorageStubSettings settings) |
static List<com.google.api.gax.httpjson.ApiMethodDescriptor> |
getMethodDescriptors() |
boolean |
isShutdown() |
boolean |
isTerminated() |
void |
shutdown() |
void |
shutdownNow() |
cancelResumableWriteCallable, composeObjectCallable, createBucketCallable, createHmacKeyCallable, createNotificationCallable, deleteBucketCallable, deleteHmacKeyCallable, deleteNotificationCallable, deleteObjectCallable, getBucketCallable, getHmacKeyCallable, getIamPolicyCallable, getNotificationCallable, getObjectCallable, getServiceAccountCallable, listBucketsCallable, listBucketsPagedCallable, listHmacKeysCallable, listHmacKeysPagedCallable, listNotificationsCallable, listNotificationsPagedCallable, listObjectsCallable, listObjectsPagedCallable, lockBucketRetentionPolicyCallable, queryWriteStatusCallable, readObjectCallable, rewriteObjectCallable, setIamPolicyCallable, startResumableWriteCallable, testIamPermissionsCallable, updateBucketCallable, updateHmacKeyCallable, updateObjectCallable, writeObjectCallableprotected HttpJsonStorageStub(StorageStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected HttpJsonStorageStub(StorageStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final HttpJsonStorageStub create(StorageStubSettings settings) throws IOException
IOExceptionpublic static final HttpJsonStorageStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final HttpJsonStorageStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
public final void close()
close in interface AutoCloseableclose in class StorageStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2022 Google LLC. All rights reserved.