Package com.google.cloud.compute.v1.stub
Class HttpJsonUrlMapsStub
- java.lang.Object
-
- com.google.cloud.compute.v1.stub.UrlMapsStub
-
- com.google.cloud.compute.v1.stub.HttpJsonUrlMapsStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource
,AutoCloseable
@Generated("by gapic-generator-java") @BetaApi public class HttpJsonUrlMapsStub extends UrlMapsStub
REST stub implementation for the UrlMaps service API.This class is for advanced usage and reflects the underlying API directly.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
HttpJsonUrlMapsStub(UrlMapsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonUrlMapsStub, using the given settings.protected
HttpJsonUrlMapsStub(UrlMapsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonUrlMapsStub, using the given settings.
-
Method Summary
-
-
-
Constructor Detail
-
HttpJsonUrlMapsStub
protected HttpJsonUrlMapsStub(UrlMapsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
Constructs an instance of HttpJsonUrlMapsStub, 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
-
HttpJsonUrlMapsStub
protected HttpJsonUrlMapsStub(UrlMapsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
Constructs an instance of HttpJsonUrlMapsStub, 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 HttpJsonUrlMapsStub create(UrlMapsStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonUrlMapsStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonUrlMapsStub 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<AggregatedListUrlMapsRequest,UrlMapsAggregatedList> aggregatedListCallable()
- Overrides:
aggregatedListCallable
in classUrlMapsStub
-
aggregatedListPagedCallable
public com.google.api.gax.rpc.UnaryCallable<AggregatedListUrlMapsRequest,UrlMapsClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
- Overrides:
aggregatedListPagedCallable
in classUrlMapsStub
-
deleteCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteUrlMapRequest,Operation> deleteCallable()
- Overrides:
deleteCallable
in classUrlMapsStub
-
deleteOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteUrlMapRequest,Operation,Operation> deleteOperationCallable()
- Overrides:
deleteOperationCallable
in classUrlMapsStub
-
getCallable
public com.google.api.gax.rpc.UnaryCallable<GetUrlMapRequest,UrlMap> getCallable()
- Overrides:
getCallable
in classUrlMapsStub
-
insertCallable
public com.google.api.gax.rpc.UnaryCallable<InsertUrlMapRequest,Operation> insertCallable()
- Overrides:
insertCallable
in classUrlMapsStub
-
insertOperationCallable
public com.google.api.gax.rpc.OperationCallable<InsertUrlMapRequest,Operation,Operation> insertOperationCallable()
- Overrides:
insertOperationCallable
in classUrlMapsStub
-
invalidateCacheCallable
public com.google.api.gax.rpc.UnaryCallable<InvalidateCacheUrlMapRequest,Operation> invalidateCacheCallable()
- Overrides:
invalidateCacheCallable
in classUrlMapsStub
-
invalidateCacheOperationCallable
public com.google.api.gax.rpc.OperationCallable<InvalidateCacheUrlMapRequest,Operation,Operation> invalidateCacheOperationCallable()
- Overrides:
invalidateCacheOperationCallable
in classUrlMapsStub
-
listCallable
public com.google.api.gax.rpc.UnaryCallable<ListUrlMapsRequest,UrlMapList> listCallable()
- Overrides:
listCallable
in classUrlMapsStub
-
listPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListUrlMapsRequest,UrlMapsClient.ListPagedResponse> listPagedCallable()
- Overrides:
listPagedCallable
in classUrlMapsStub
-
patchCallable
public com.google.api.gax.rpc.UnaryCallable<PatchUrlMapRequest,Operation> patchCallable()
- Overrides:
patchCallable
in classUrlMapsStub
-
patchOperationCallable
public com.google.api.gax.rpc.OperationCallable<PatchUrlMapRequest,Operation,Operation> patchOperationCallable()
- Overrides:
patchOperationCallable
in classUrlMapsStub
-
updateCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateUrlMapRequest,Operation> updateCallable()
- Overrides:
updateCallable
in classUrlMapsStub
-
updateOperationCallable
public com.google.api.gax.rpc.OperationCallable<UpdateUrlMapRequest,Operation,Operation> updateOperationCallable()
- Overrides:
updateOperationCallable
in classUrlMapsStub
-
validateCallable
public com.google.api.gax.rpc.UnaryCallable<ValidateUrlMapRequest,UrlMapsValidateResponse> validateCallable()
- Overrides:
validateCallable
in classUrlMapsStub
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in classUrlMapsStub
-
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
-
-