Package com.google.cloud.compute.v1.stub
Class HttpJsonRegionSslCertificatesStub
- java.lang.Object
-
- com.google.cloud.compute.v1.stub.RegionSslCertificatesStub
-
- com.google.cloud.compute.v1.stub.HttpJsonRegionSslCertificatesStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java") @BetaApi public class HttpJsonRegionSslCertificatesStub extends RegionSslCertificatesStub
REST stub implementation for the RegionSslCertificates service API.This class is for advanced usage and reflects the underlying API directly.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedHttpJsonRegionSslCertificatesStub(RegionSslCertificatesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)Constructs an instance of HttpJsonRegionSslCertificatesStub, using the given settings.protectedHttpJsonRegionSslCertificatesStub(RegionSslCertificatesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)Constructs an instance of HttpJsonRegionSslCertificatesStub, using the given settings.
-
Method Summary
-
-
-
Constructor Detail
-
HttpJsonRegionSslCertificatesStub
protected HttpJsonRegionSslCertificatesStub(RegionSslCertificatesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
Constructs an instance of HttpJsonRegionSslCertificatesStub, 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
-
HttpJsonRegionSslCertificatesStub
protected HttpJsonRegionSslCertificatesStub(RegionSslCertificatesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
Constructs an instance of HttpJsonRegionSslCertificatesStub, 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 HttpJsonRegionSslCertificatesStub create(RegionSslCertificatesStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonRegionSslCertificatesStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonRegionSslCertificatesStub 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()
-
deleteCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteRegionSslCertificateRequest,Operation> deleteCallable()
- Overrides:
deleteCallablein classRegionSslCertificatesStub
-
deleteOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteRegionSslCertificateRequest,Operation,Operation> deleteOperationCallable()
- Overrides:
deleteOperationCallablein classRegionSslCertificatesStub
-
getCallable
public com.google.api.gax.rpc.UnaryCallable<GetRegionSslCertificateRequest,SslCertificate> getCallable()
- Overrides:
getCallablein classRegionSslCertificatesStub
-
insertCallable
public com.google.api.gax.rpc.UnaryCallable<InsertRegionSslCertificateRequest,Operation> insertCallable()
- Overrides:
insertCallablein classRegionSslCertificatesStub
-
insertOperationCallable
public com.google.api.gax.rpc.OperationCallable<InsertRegionSslCertificateRequest,Operation,Operation> insertOperationCallable()
- Overrides:
insertOperationCallablein classRegionSslCertificatesStub
-
listCallable
public com.google.api.gax.rpc.UnaryCallable<ListRegionSslCertificatesRequest,SslCertificateList> listCallable()
- Overrides:
listCallablein classRegionSslCertificatesStub
-
listPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListRegionSslCertificatesRequest,RegionSslCertificatesClient.ListPagedResponse> listPagedCallable()
- Overrides:
listPagedCallablein classRegionSslCertificatesStub
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classRegionSslCertificatesStub
-
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
-
-