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 protectedHttpJsonTargetHttpProxiesStub(TargetHttpProxiesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)Constructs an instance of HttpJsonTargetHttpProxiesStub, using the given settings.protectedHttpJsonTargetHttpProxiesStub(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:
aggregatedListCallablein classTargetHttpProxiesStub
-
aggregatedListPagedCallable
public com.google.api.gax.rpc.UnaryCallable<AggregatedListTargetHttpProxiesRequest,TargetHttpProxiesClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
- Overrides:
aggregatedListPagedCallablein classTargetHttpProxiesStub
-
deleteCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteTargetHttpProxyRequest,Operation> deleteCallable()
- Overrides:
deleteCallablein classTargetHttpProxiesStub
-
deleteOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteTargetHttpProxyRequest,Operation,Operation> deleteOperationCallable()
- Overrides:
deleteOperationCallablein classTargetHttpProxiesStub
-
getCallable
public com.google.api.gax.rpc.UnaryCallable<GetTargetHttpProxyRequest,TargetHttpProxy> getCallable()
- Overrides:
getCallablein classTargetHttpProxiesStub
-
insertCallable
public com.google.api.gax.rpc.UnaryCallable<InsertTargetHttpProxyRequest,Operation> insertCallable()
- Overrides:
insertCallablein classTargetHttpProxiesStub
-
insertOperationCallable
public com.google.api.gax.rpc.OperationCallable<InsertTargetHttpProxyRequest,Operation,Operation> insertOperationCallable()
- Overrides:
insertOperationCallablein classTargetHttpProxiesStub
-
listCallable
public com.google.api.gax.rpc.UnaryCallable<ListTargetHttpProxiesRequest,TargetHttpProxyList> listCallable()
- Overrides:
listCallablein classTargetHttpProxiesStub
-
listPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListTargetHttpProxiesRequest,TargetHttpProxiesClient.ListPagedResponse> listPagedCallable()
- Overrides:
listPagedCallablein classTargetHttpProxiesStub
-
patchCallable
public com.google.api.gax.rpc.UnaryCallable<PatchTargetHttpProxyRequest,Operation> patchCallable()
- Overrides:
patchCallablein classTargetHttpProxiesStub
-
patchOperationCallable
public com.google.api.gax.rpc.OperationCallable<PatchTargetHttpProxyRequest,Operation,Operation> patchOperationCallable()
- Overrides:
patchOperationCallablein classTargetHttpProxiesStub
-
setUrlMapCallable
public com.google.api.gax.rpc.UnaryCallable<SetUrlMapTargetHttpProxyRequest,Operation> setUrlMapCallable()
- Overrides:
setUrlMapCallablein classTargetHttpProxiesStub
-
setUrlMapOperationCallable
public com.google.api.gax.rpc.OperationCallable<SetUrlMapTargetHttpProxyRequest,Operation,Operation> setUrlMapOperationCallable()
- Overrides:
setUrlMapOperationCallablein classTargetHttpProxiesStub
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein 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
-
-