Package com.google.cloud.compute.v1.stub
Class HttpJsonTargetHttpProxiesStub
- java.lang.Object
-
- com.google.cloud.compute.v1.stub.TargetHttpProxiesStub
-
- com.google.cloud.compute.v1.stub.HttpJsonTargetHttpProxiesStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource
,AutoCloseable
@Generated("by gapic-generator-java") @BetaApi public class HttpJsonTargetHttpProxiesStub extends TargetHttpProxiesStub
REST stub implementation for the TargetHttpProxies service API.This class is for advanced usage and reflects the underlying API directly.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
HttpJsonTargetHttpProxiesStub(TargetHttpProxiesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonTargetHttpProxiesStub, using the given settings.protected
HttpJsonTargetHttpProxiesStub(TargetHttpProxiesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonTargetHttpProxiesStub, using the given settings.
-
Method Summary
-
-
-
Constructor Detail
-
HttpJsonTargetHttpProxiesStub
protected HttpJsonTargetHttpProxiesStub(TargetHttpProxiesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
Constructs an instance of HttpJsonTargetHttpProxiesStub, 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
-
HttpJsonTargetHttpProxiesStub
protected HttpJsonTargetHttpProxiesStub(TargetHttpProxiesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
Constructs an instance of HttpJsonTargetHttpProxiesStub, 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 HttpJsonTargetHttpProxiesStub create(TargetHttpProxiesStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonTargetHttpProxiesStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonTargetHttpProxiesStub 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<AggregatedListTargetHttpProxiesRequest,TargetHttpProxyAggregatedList> aggregatedListCallable()
- Overrides:
aggregatedListCallable
in classTargetHttpProxiesStub
-
aggregatedListPagedCallable
public com.google.api.gax.rpc.UnaryCallable<AggregatedListTargetHttpProxiesRequest,TargetHttpProxiesClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
- Overrides:
aggregatedListPagedCallable
in classTargetHttpProxiesStub
-
deleteCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteTargetHttpProxyRequest,Operation> deleteCallable()
- Overrides:
deleteCallable
in classTargetHttpProxiesStub
-
deleteOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteTargetHttpProxyRequest,Operation,Operation> deleteOperationCallable()
- Overrides:
deleteOperationCallable
in classTargetHttpProxiesStub
-
getCallable
public com.google.api.gax.rpc.UnaryCallable<GetTargetHttpProxyRequest,TargetHttpProxy> getCallable()
- Overrides:
getCallable
in classTargetHttpProxiesStub
-
insertCallable
public com.google.api.gax.rpc.UnaryCallable<InsertTargetHttpProxyRequest,Operation> insertCallable()
- Overrides:
insertCallable
in classTargetHttpProxiesStub
-
insertOperationCallable
public com.google.api.gax.rpc.OperationCallable<InsertTargetHttpProxyRequest,Operation,Operation> insertOperationCallable()
- Overrides:
insertOperationCallable
in classTargetHttpProxiesStub
-
listCallable
public com.google.api.gax.rpc.UnaryCallable<ListTargetHttpProxiesRequest,TargetHttpProxyList> listCallable()
- Overrides:
listCallable
in classTargetHttpProxiesStub
-
listPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListTargetHttpProxiesRequest,TargetHttpProxiesClient.ListPagedResponse> listPagedCallable()
- Overrides:
listPagedCallable
in classTargetHttpProxiesStub
-
patchCallable
public com.google.api.gax.rpc.UnaryCallable<PatchTargetHttpProxyRequest,Operation> patchCallable()
- Overrides:
patchCallable
in classTargetHttpProxiesStub
-
patchOperationCallable
public com.google.api.gax.rpc.OperationCallable<PatchTargetHttpProxyRequest,Operation,Operation> patchOperationCallable()
- Overrides:
patchOperationCallable
in classTargetHttpProxiesStub
-
setUrlMapCallable
public com.google.api.gax.rpc.UnaryCallable<SetUrlMapTargetHttpProxyRequest,Operation> setUrlMapCallable()
- Overrides:
setUrlMapCallable
in classTargetHttpProxiesStub
-
setUrlMapOperationCallable
public com.google.api.gax.rpc.OperationCallable<SetUrlMapTargetHttpProxyRequest,Operation,Operation> setUrlMapOperationCallable()
- Overrides:
setUrlMapOperationCallable
in classTargetHttpProxiesStub
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in classTargetHttpProxiesStub
-
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
-
-