@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class HttpJsonZoneStub extends ZoneStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier and Type | Field and Description |
|---|---|
static com.google.api.gax.httpjson.ApiMethodDescriptor<GetZoneHttpRequest,Zone> |
getZoneMethodDescriptor |
static com.google.api.gax.httpjson.ApiMethodDescriptor<ListZonesHttpRequest,ZoneList> |
listZonesMethodDescriptor |
| Modifier | Constructor and Description |
|---|---|
protected |
HttpJsonZoneStub(ZoneStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonZoneStub, using the given settings.
|
protected |
HttpJsonZoneStub(ZoneStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonZoneStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static HttpJsonZoneStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static HttpJsonZoneStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) |
static HttpJsonZoneStub |
create(ZoneStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<GetZoneHttpRequest,Zone> |
getZoneCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListZonesHttpRequest,ZoneList> |
listZonesCallable() |
com.google.api.gax.rpc.UnaryCallable<ListZonesHttpRequest,ZoneClient.ListZonesPagedResponse> |
listZonesPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<GetZoneHttpRequest,Zone> getZoneMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<ListZonesHttpRequest,ZoneList> listZonesMethodDescriptor
protected HttpJsonZoneStub(ZoneStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected HttpJsonZoneStub(ZoneStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final HttpJsonZoneStub create(ZoneStubSettings settings) throws IOException
IOExceptionpublic static final HttpJsonZoneStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final HttpJsonZoneStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException@BetaApi public com.google.api.gax.rpc.UnaryCallable<GetZoneHttpRequest,Zone> getZoneCallable()
getZoneCallable in class ZoneStub@BetaApi public com.google.api.gax.rpc.UnaryCallable<ListZonesHttpRequest,ZoneClient.ListZonesPagedResponse> listZonesPagedCallable()
listZonesPagedCallable in class ZoneStub@BetaApi public com.google.api.gax.rpc.UnaryCallable<ListZonesHttpRequest,ZoneList> listZonesCallable()
listZonesCallable in class ZoneStubpublic final void close()
close in interface AutoCloseableclose in class ZoneStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2019 Google LLC. All rights reserved.