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 protected
HttpJsonBackendBucketsStub(BackendBucketsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonBackendBucketsStub, using the given settings.protected
HttpJsonBackendBucketsStub(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:
addSignedUrlKeyCallable
in classBackendBucketsStub
-
addSignedUrlKeyOperationCallable
public com.google.api.gax.rpc.OperationCallable<AddSignedUrlKeyBackendBucketRequest,Operation,Operation> addSignedUrlKeyOperationCallable()
- Overrides:
addSignedUrlKeyOperationCallable
in classBackendBucketsStub
-
deleteCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteBackendBucketRequest,Operation> deleteCallable()
- Overrides:
deleteCallable
in classBackendBucketsStub
-
deleteOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteBackendBucketRequest,Operation,Operation> deleteOperationCallable()
- Overrides:
deleteOperationCallable
in classBackendBucketsStub
-
deleteSignedUrlKeyCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteSignedUrlKeyBackendBucketRequest,Operation> deleteSignedUrlKeyCallable()
- Overrides:
deleteSignedUrlKeyCallable
in classBackendBucketsStub
-
deleteSignedUrlKeyOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteSignedUrlKeyBackendBucketRequest,Operation,Operation> deleteSignedUrlKeyOperationCallable()
- Overrides:
deleteSignedUrlKeyOperationCallable
in classBackendBucketsStub
-
getCallable
public com.google.api.gax.rpc.UnaryCallable<GetBackendBucketRequest,BackendBucket> getCallable()
- Overrides:
getCallable
in classBackendBucketsStub
-
insertCallable
public com.google.api.gax.rpc.UnaryCallable<InsertBackendBucketRequest,Operation> insertCallable()
- Overrides:
insertCallable
in classBackendBucketsStub
-
insertOperationCallable
public com.google.api.gax.rpc.OperationCallable<InsertBackendBucketRequest,Operation,Operation> insertOperationCallable()
- Overrides:
insertOperationCallable
in classBackendBucketsStub
-
listCallable
public com.google.api.gax.rpc.UnaryCallable<ListBackendBucketsRequest,BackendBucketList> listCallable()
- Overrides:
listCallable
in classBackendBucketsStub
-
listPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListBackendBucketsRequest,BackendBucketsClient.ListPagedResponse> listPagedCallable()
- Overrides:
listPagedCallable
in classBackendBucketsStub
-
patchCallable
public com.google.api.gax.rpc.UnaryCallable<PatchBackendBucketRequest,Operation> patchCallable()
- Overrides:
patchCallable
in classBackendBucketsStub
-
patchOperationCallable
public com.google.api.gax.rpc.OperationCallable<PatchBackendBucketRequest,Operation,Operation> patchOperationCallable()
- Overrides:
patchOperationCallable
in classBackendBucketsStub
-
setEdgeSecurityPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<SetEdgeSecurityPolicyBackendBucketRequest,Operation> setEdgeSecurityPolicyCallable()
- Overrides:
setEdgeSecurityPolicyCallable
in classBackendBucketsStub
-
setEdgeSecurityPolicyOperationCallable
public com.google.api.gax.rpc.OperationCallable<SetEdgeSecurityPolicyBackendBucketRequest,Operation,Operation> setEdgeSecurityPolicyOperationCallable()
- Overrides:
setEdgeSecurityPolicyOperationCallable
in classBackendBucketsStub
-
updateCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateBackendBucketRequest,Operation> updateCallable()
- Overrides:
updateCallable
in classBackendBucketsStub
-
updateOperationCallable
public com.google.api.gax.rpc.OperationCallable<UpdateBackendBucketRequest,Operation,Operation> updateOperationCallable()
- Overrides:
updateOperationCallable
in classBackendBucketsStub
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in 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
-
-