@Generated(value="by gapic-generator-java") public class HttpJsonRegionsStub extends RegionsStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
HttpJsonRegionsStub(RegionsStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonRegionsStub, using the given settings.
|
protected |
HttpJsonRegionsStub(RegionsStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonRegionsStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static HttpJsonRegionsStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static HttpJsonRegionsStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) |
static HttpJsonRegionsStub |
create(RegionsStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<GetRegionRequest,Region> |
getCallable() |
static List<com.google.api.gax.httpjson.ApiMethodDescriptor> |
getMethodDescriptors() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListRegionsRequest,RegionList> |
listCallable() |
com.google.api.gax.rpc.UnaryCallable<ListRegionsRequest,RegionsClient.ListPagedResponse> |
listPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
protected HttpJsonRegionsStub(RegionsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected HttpJsonRegionsStub(RegionsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final HttpJsonRegionsStub create(RegionsStubSettings settings) throws IOException
IOExceptionpublic static final HttpJsonRegionsStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final HttpJsonRegionsStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
public com.google.api.gax.rpc.UnaryCallable<GetRegionRequest,Region> getCallable()
getCallable in class RegionsStubpublic com.google.api.gax.rpc.UnaryCallable<ListRegionsRequest,RegionList> listCallable()
listCallable in class RegionsStubpublic com.google.api.gax.rpc.UnaryCallable<ListRegionsRequest,RegionsClient.ListPagedResponse> listPagedCallable()
listPagedCallable in class RegionsStubpublic final void close()
close in interface AutoCloseableclose in class RegionsStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2024 Google LLC. All rights reserved.