Package com.google.cloud.compute.v1.stub
Class HttpJsonBackendBucketsStub
- java.lang.Object
-
- com.google.cloud.compute.v1.stub.BackendBucketsStub
-
- com.google.cloud.compute.v1.stub.HttpJsonBackendBucketsStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java") @BetaApi public class HttpJsonBackendBucketsStub extends BackendBucketsStub
REST stub implementation for the BackendBuckets service API.This class is for advanced usage and reflects the underlying API directly.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedHttpJsonBackendBucketsStub(BackendBucketsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)Constructs an instance of HttpJsonBackendBucketsStub, using the given settings.protectedHttpJsonBackendBucketsStub(BackendBucketsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)Constructs an instance of HttpJsonBackendBucketsStub, using the given settings.
-
Method Summary
-
-
-
Constructor Detail
-
HttpJsonBackendBucketsStub
protected HttpJsonBackendBucketsStub(BackendBucketsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
Constructs an instance of HttpJsonBackendBucketsStub, 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.- Throws:
IOException
-
HttpJsonBackendBucketsStub
protected HttpJsonBackendBucketsStub(BackendBucketsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
Constructs an instance of HttpJsonBackendBucketsStub, 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.- Throws:
IOException
-
-
Method Detail
-
create
public static final HttpJsonBackendBucketsStub create(BackendBucketsStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonBackendBucketsStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonBackendBucketsStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
- Throws:
IOException
-
getMethodDescriptors
@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
-
addSignedUrlKeyCallable
public com.google.api.gax.rpc.UnaryCallable<AddSignedUrlKeyBackendBucketRequest,Operation> addSignedUrlKeyCallable()
- Overrides:
addSignedUrlKeyCallablein classBackendBucketsStub
-
addSignedUrlKeyOperationCallable
public com.google.api.gax.rpc.OperationCallable<AddSignedUrlKeyBackendBucketRequest,Operation,Operation> addSignedUrlKeyOperationCallable()
- Overrides:
addSignedUrlKeyOperationCallablein classBackendBucketsStub
-
deleteCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteBackendBucketRequest,Operation> deleteCallable()
- Overrides:
deleteCallablein classBackendBucketsStub
-
deleteOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteBackendBucketRequest,Operation,Operation> deleteOperationCallable()
- Overrides:
deleteOperationCallablein classBackendBucketsStub
-
deleteSignedUrlKeyCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteSignedUrlKeyBackendBucketRequest,Operation> deleteSignedUrlKeyCallable()
- Overrides:
deleteSignedUrlKeyCallablein classBackendBucketsStub
-
deleteSignedUrlKeyOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteSignedUrlKeyBackendBucketRequest,Operation,Operation> deleteSignedUrlKeyOperationCallable()
- Overrides:
deleteSignedUrlKeyOperationCallablein classBackendBucketsStub
-
getCallable
public com.google.api.gax.rpc.UnaryCallable<GetBackendBucketRequest,BackendBucket> getCallable()
- Overrides:
getCallablein classBackendBucketsStub
-
insertCallable
public com.google.api.gax.rpc.UnaryCallable<InsertBackendBucketRequest,Operation> insertCallable()
- Overrides:
insertCallablein classBackendBucketsStub
-
insertOperationCallable
public com.google.api.gax.rpc.OperationCallable<InsertBackendBucketRequest,Operation,Operation> insertOperationCallable()
- Overrides:
insertOperationCallablein classBackendBucketsStub
-
listCallable
public com.google.api.gax.rpc.UnaryCallable<ListBackendBucketsRequest,BackendBucketList> listCallable()
- Overrides:
listCallablein classBackendBucketsStub
-
listPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListBackendBucketsRequest,BackendBucketsClient.ListPagedResponse> listPagedCallable()
- Overrides:
listPagedCallablein classBackendBucketsStub
-
patchCallable
public com.google.api.gax.rpc.UnaryCallable<PatchBackendBucketRequest,Operation> patchCallable()
- Overrides:
patchCallablein classBackendBucketsStub
-
patchOperationCallable
public com.google.api.gax.rpc.OperationCallable<PatchBackendBucketRequest,Operation,Operation> patchOperationCallable()
- Overrides:
patchOperationCallablein classBackendBucketsStub
-
setEdgeSecurityPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<SetEdgeSecurityPolicyBackendBucketRequest,Operation> setEdgeSecurityPolicyCallable()
- Overrides:
setEdgeSecurityPolicyCallablein classBackendBucketsStub
-
setEdgeSecurityPolicyOperationCallable
public com.google.api.gax.rpc.OperationCallable<SetEdgeSecurityPolicyBackendBucketRequest,Operation,Operation> setEdgeSecurityPolicyOperationCallable()
- Overrides:
setEdgeSecurityPolicyOperationCallablein classBackendBucketsStub
-
updateCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateBackendBucketRequest,Operation> updateCallable()
- Overrides:
updateCallablein classBackendBucketsStub
-
updateOperationCallable
public com.google.api.gax.rpc.OperationCallable<UpdateBackendBucketRequest,Operation,Operation> updateOperationCallable()
- Overrides:
updateOperationCallablein classBackendBucketsStub
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classBackendBucketsStub
-
shutdown
public void shutdown()
-
isShutdown
public boolean isShutdown()
-
isTerminated
public boolean isTerminated()
-
shutdownNow
public void shutdownNow()
-
awaitTermination
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException- Throws:
InterruptedException
-
-