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 protectedHttpJsonTargetTcpProxiesStub(TargetTcpProxiesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)Constructs an instance of HttpJsonTargetTcpProxiesStub, using the given settings.protectedHttpJsonTargetTcpProxiesStub(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:
aggregatedListCallablein classTargetTcpProxiesStub
-
aggregatedListPagedCallable
public com.google.api.gax.rpc.UnaryCallable<AggregatedListTargetTcpProxiesRequest,TargetTcpProxiesClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
- Overrides:
aggregatedListPagedCallablein classTargetTcpProxiesStub
-
deleteCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteTargetTcpProxyRequest,Operation> deleteCallable()
- Overrides:
deleteCallablein classTargetTcpProxiesStub
-
deleteOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteTargetTcpProxyRequest,Operation,Operation> deleteOperationCallable()
- Overrides:
deleteOperationCallablein classTargetTcpProxiesStub
-
getCallable
public com.google.api.gax.rpc.UnaryCallable<GetTargetTcpProxyRequest,TargetTcpProxy> getCallable()
- Overrides:
getCallablein classTargetTcpProxiesStub
-
insertCallable
public com.google.api.gax.rpc.UnaryCallable<InsertTargetTcpProxyRequest,Operation> insertCallable()
- Overrides:
insertCallablein classTargetTcpProxiesStub
-
insertOperationCallable
public com.google.api.gax.rpc.OperationCallable<InsertTargetTcpProxyRequest,Operation,Operation> insertOperationCallable()
- Overrides:
insertOperationCallablein classTargetTcpProxiesStub
-
listCallable
public com.google.api.gax.rpc.UnaryCallable<ListTargetTcpProxiesRequest,TargetTcpProxyList> listCallable()
- Overrides:
listCallablein classTargetTcpProxiesStub
-
listPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListTargetTcpProxiesRequest,TargetTcpProxiesClient.ListPagedResponse> listPagedCallable()
- Overrides:
listPagedCallablein classTargetTcpProxiesStub
-
setBackendServiceCallable
public com.google.api.gax.rpc.UnaryCallable<SetBackendServiceTargetTcpProxyRequest,Operation> setBackendServiceCallable()
- Overrides:
setBackendServiceCallablein classTargetTcpProxiesStub
-
setBackendServiceOperationCallable
public com.google.api.gax.rpc.OperationCallable<SetBackendServiceTargetTcpProxyRequest,Operation,Operation> setBackendServiceOperationCallable()
- Overrides:
setBackendServiceOperationCallablein classTargetTcpProxiesStub
-
setProxyHeaderCallable
public com.google.api.gax.rpc.UnaryCallable<SetProxyHeaderTargetTcpProxyRequest,Operation> setProxyHeaderCallable()
- Overrides:
setProxyHeaderCallablein classTargetTcpProxiesStub
-
setProxyHeaderOperationCallable
public com.google.api.gax.rpc.OperationCallable<SetProxyHeaderTargetTcpProxyRequest,Operation,Operation> setProxyHeaderOperationCallable()
- Overrides:
setProxyHeaderOperationCallablein classTargetTcpProxiesStub
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein 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
-
-