Package com.google.cloud.compute.v1.stub
Class HttpJsonRegionTargetTcpProxiesStub
- java.lang.Object
-
- com.google.cloud.compute.v1.stub.RegionTargetTcpProxiesStub
-
- com.google.cloud.compute.v1.stub.HttpJsonRegionTargetTcpProxiesStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource
,AutoCloseable
@Generated("by gapic-generator-java") @BetaApi public class HttpJsonRegionTargetTcpProxiesStub extends RegionTargetTcpProxiesStub
REST stub implementation for the RegionTargetTcpProxies service API.This class is for advanced usage and reflects the underlying API directly.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
HttpJsonRegionTargetTcpProxiesStub(RegionTargetTcpProxiesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonRegionTargetTcpProxiesStub, using the given settings.protected
HttpJsonRegionTargetTcpProxiesStub(RegionTargetTcpProxiesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonRegionTargetTcpProxiesStub, using the given settings.
-
Method Summary
-
-
-
Constructor Detail
-
HttpJsonRegionTargetTcpProxiesStub
protected HttpJsonRegionTargetTcpProxiesStub(RegionTargetTcpProxiesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
Constructs an instance of HttpJsonRegionTargetTcpProxiesStub, 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
-
HttpJsonRegionTargetTcpProxiesStub
protected HttpJsonRegionTargetTcpProxiesStub(RegionTargetTcpProxiesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
Constructs an instance of HttpJsonRegionTargetTcpProxiesStub, 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 HttpJsonRegionTargetTcpProxiesStub create(RegionTargetTcpProxiesStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonRegionTargetTcpProxiesStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonRegionTargetTcpProxiesStub 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<DeleteRegionTargetTcpProxyRequest,Operation> deleteCallable()
- Overrides:
deleteCallable
in classRegionTargetTcpProxiesStub
-
deleteOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteRegionTargetTcpProxyRequest,Operation,Operation> deleteOperationCallable()
- Overrides:
deleteOperationCallable
in classRegionTargetTcpProxiesStub
-
getCallable
public com.google.api.gax.rpc.UnaryCallable<GetRegionTargetTcpProxyRequest,TargetTcpProxy> getCallable()
- Overrides:
getCallable
in classRegionTargetTcpProxiesStub
-
insertCallable
public com.google.api.gax.rpc.UnaryCallable<InsertRegionTargetTcpProxyRequest,Operation> insertCallable()
- Overrides:
insertCallable
in classRegionTargetTcpProxiesStub
-
insertOperationCallable
public com.google.api.gax.rpc.OperationCallable<InsertRegionTargetTcpProxyRequest,Operation,Operation> insertOperationCallable()
- Overrides:
insertOperationCallable
in classRegionTargetTcpProxiesStub
-
listCallable
public com.google.api.gax.rpc.UnaryCallable<ListRegionTargetTcpProxiesRequest,TargetTcpProxyList> listCallable()
- Overrides:
listCallable
in classRegionTargetTcpProxiesStub
-
listPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListRegionTargetTcpProxiesRequest,RegionTargetTcpProxiesClient.ListPagedResponse> listPagedCallable()
- Overrides:
listPagedCallable
in classRegionTargetTcpProxiesStub
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in classRegionTargetTcpProxiesStub
-
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
-
-