Package com.google.cloud.compute.v1.stub
Class HttpJsonTargetTcpProxiesStub
- java.lang.Object
-
- com.google.cloud.compute.v1.stub.TargetTcpProxiesStub
-
- com.google.cloud.compute.v1.stub.HttpJsonTargetTcpProxiesStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource
,AutoCloseable
@Generated("by gapic-generator-java") @BetaApi public class HttpJsonTargetTcpProxiesStub extends TargetTcpProxiesStub
REST stub implementation for the TargetTcpProxies service API.This class is for advanced usage and reflects the underlying API directly.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
HttpJsonTargetTcpProxiesStub(TargetTcpProxiesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonTargetTcpProxiesStub, using the given settings.protected
HttpJsonTargetTcpProxiesStub(TargetTcpProxiesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonTargetTcpProxiesStub, using the given settings.
-
Method Summary
-
-
-
Constructor Detail
-
HttpJsonTargetTcpProxiesStub
protected HttpJsonTargetTcpProxiesStub(TargetTcpProxiesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
Constructs an instance of HttpJsonTargetTcpProxiesStub, 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
-
HttpJsonTargetTcpProxiesStub
protected HttpJsonTargetTcpProxiesStub(TargetTcpProxiesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
Constructs an instance of HttpJsonTargetTcpProxiesStub, 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 HttpJsonTargetTcpProxiesStub create(TargetTcpProxiesStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonTargetTcpProxiesStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonTargetTcpProxiesStub 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()
-
aggregatedListCallable
public com.google.api.gax.rpc.UnaryCallable<AggregatedListTargetTcpProxiesRequest,TargetTcpProxyAggregatedList> aggregatedListCallable()
- Overrides:
aggregatedListCallable
in classTargetTcpProxiesStub
-
aggregatedListPagedCallable
public com.google.api.gax.rpc.UnaryCallable<AggregatedListTargetTcpProxiesRequest,TargetTcpProxiesClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
- Overrides:
aggregatedListPagedCallable
in classTargetTcpProxiesStub
-
deleteCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteTargetTcpProxyRequest,Operation> deleteCallable()
- Overrides:
deleteCallable
in classTargetTcpProxiesStub
-
deleteOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteTargetTcpProxyRequest,Operation,Operation> deleteOperationCallable()
- Overrides:
deleteOperationCallable
in classTargetTcpProxiesStub
-
getCallable
public com.google.api.gax.rpc.UnaryCallable<GetTargetTcpProxyRequest,TargetTcpProxy> getCallable()
- Overrides:
getCallable
in classTargetTcpProxiesStub
-
insertCallable
public com.google.api.gax.rpc.UnaryCallable<InsertTargetTcpProxyRequest,Operation> insertCallable()
- Overrides:
insertCallable
in classTargetTcpProxiesStub
-
insertOperationCallable
public com.google.api.gax.rpc.OperationCallable<InsertTargetTcpProxyRequest,Operation,Operation> insertOperationCallable()
- Overrides:
insertOperationCallable
in classTargetTcpProxiesStub
-
listCallable
public com.google.api.gax.rpc.UnaryCallable<ListTargetTcpProxiesRequest,TargetTcpProxyList> listCallable()
- Overrides:
listCallable
in classTargetTcpProxiesStub
-
listPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListTargetTcpProxiesRequest,TargetTcpProxiesClient.ListPagedResponse> listPagedCallable()
- Overrides:
listPagedCallable
in classTargetTcpProxiesStub
-
setBackendServiceCallable
public com.google.api.gax.rpc.UnaryCallable<SetBackendServiceTargetTcpProxyRequest,Operation> setBackendServiceCallable()
- Overrides:
setBackendServiceCallable
in classTargetTcpProxiesStub
-
setBackendServiceOperationCallable
public com.google.api.gax.rpc.OperationCallable<SetBackendServiceTargetTcpProxyRequest,Operation,Operation> setBackendServiceOperationCallable()
- Overrides:
setBackendServiceOperationCallable
in classTargetTcpProxiesStub
-
setProxyHeaderCallable
public com.google.api.gax.rpc.UnaryCallable<SetProxyHeaderTargetTcpProxyRequest,Operation> setProxyHeaderCallable()
- Overrides:
setProxyHeaderCallable
in classTargetTcpProxiesStub
-
setProxyHeaderOperationCallable
public com.google.api.gax.rpc.OperationCallable<SetProxyHeaderTargetTcpProxyRequest,Operation,Operation> setProxyHeaderOperationCallable()
- Overrides:
setProxyHeaderOperationCallable
in classTargetTcpProxiesStub
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in classTargetTcpProxiesStub
-
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
-
-