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 protected
HttpJsonRegionSslCertificatesStub(RegionSslCertificatesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonRegionSslCertificatesStub, using the given settings.protected
HttpJsonRegionSslCertificatesStub(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:
deleteCallable
in classRegionSslCertificatesStub
-
deleteOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteRegionSslCertificateRequest,Operation,Operation> deleteOperationCallable()
- Overrides:
deleteOperationCallable
in classRegionSslCertificatesStub
-
getCallable
public com.google.api.gax.rpc.UnaryCallable<GetRegionSslCertificateRequest,SslCertificate> getCallable()
- Overrides:
getCallable
in classRegionSslCertificatesStub
-
insertCallable
public com.google.api.gax.rpc.UnaryCallable<InsertRegionSslCertificateRequest,Operation> insertCallable()
- Overrides:
insertCallable
in classRegionSslCertificatesStub
-
insertOperationCallable
public com.google.api.gax.rpc.OperationCallable<InsertRegionSslCertificateRequest,Operation,Operation> insertOperationCallable()
- Overrides:
insertOperationCallable
in classRegionSslCertificatesStub
-
listCallable
public com.google.api.gax.rpc.UnaryCallable<ListRegionSslCertificatesRequest,SslCertificateList> listCallable()
- Overrides:
listCallable
in classRegionSslCertificatesStub
-
listPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListRegionSslCertificatesRequest,RegionSslCertificatesClient.ListPagedResponse> listPagedCallable()
- Overrides:
listPagedCallable
in classRegionSslCertificatesStub
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in 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
-
-