@Generated(value="by gapic-generator-java") public class HttpJsonZonesStub extends ZonesStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
HttpJsonZonesStub(ZonesStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonZonesStub, using the given settings.
|
protected |
HttpJsonZonesStub(ZonesStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonZonesStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static HttpJsonZonesStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static HttpJsonZonesStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) |
static HttpJsonZonesStub |
create(ZonesStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<GetZoneRequest,Zone> |
getCallable() |
static List<com.google.api.gax.httpjson.ApiMethodDescriptor> |
getMethodDescriptors() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListZonesRequest,ZoneList> |
listCallable() |
com.google.api.gax.rpc.UnaryCallable<ListZonesRequest,ZonesClient.ListPagedResponse> |
listPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
protected HttpJsonZonesStub(ZonesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected HttpJsonZonesStub(ZonesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final HttpJsonZonesStub create(ZonesStubSettings settings) throws IOException
IOExceptionpublic static final HttpJsonZonesStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final HttpJsonZonesStub 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<GetZoneRequest,Zone> getCallable()
getCallable in class ZonesStubpublic com.google.api.gax.rpc.UnaryCallable<ListZonesRequest,ZoneList> listCallable()
listCallable in class ZonesStubpublic com.google.api.gax.rpc.UnaryCallable<ListZonesRequest,ZonesClient.ListPagedResponse> listPagedCallable()
listPagedCallable in class ZonesStubpublic final void close()
close in interface AutoCloseableclose in class ZonesStubpublic 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.