@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 ApiMethodDescriptor<GetZoneHttpRequest,Zone> |
getZoneMethodDescriptor |
static ApiMethodDescriptor<ListZonesHttpRequest,ZoneList> |
listZonesMethodDescriptor |
Modifier | Constructor and Description |
---|---|
protected |
HttpJsonZoneStub(ZoneStubSettings settings,
ClientContext clientContext)
Constructs an instance of HttpJsonZoneStub, using the given settings.
|
protected |
HttpJsonZoneStub(ZoneStubSettings settings,
ClientContext clientContext,
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(ClientContext clientContext) |
static HttpJsonZoneStub |
create(ClientContext clientContext,
HttpJsonStubCallableFactory callableFactory) |
static HttpJsonZoneStub |
create(ZoneStubSettings settings) |
UnaryCallable<GetZoneHttpRequest,Zone> |
getZoneCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
UnaryCallable<ListZonesHttpRequest,ZoneList> |
listZonesCallable() |
UnaryCallable<ListZonesHttpRequest,ZoneClient.ListZonesPagedResponse> |
listZonesPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
@InternalApi public static final ApiMethodDescriptor<GetZoneHttpRequest,Zone> getZoneMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<ListZonesHttpRequest,ZoneList> listZonesMethodDescriptor
protected HttpJsonZoneStub(ZoneStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected HttpJsonZoneStub(ZoneStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonZoneStub create(ZoneStubSettings settings) throws IOException
IOException
public static final HttpJsonZoneStub create(ClientContext clientContext) throws IOException
IOException
public static final HttpJsonZoneStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
@BetaApi public UnaryCallable<GetZoneHttpRequest,Zone> getZoneCallable()
getZoneCallable
in class ZoneStub
@BetaApi public UnaryCallable<ListZonesHttpRequest,ZoneClient.ListZonesPagedResponse> listZonesPagedCallable()
listZonesPagedCallable
in class ZoneStub
@BetaApi public UnaryCallable<ListZonesHttpRequest,ZoneList> listZonesCallable()
listZonesCallable
in class ZoneStub
public final void close()
close
in interface AutoCloseable
close
in class ZoneStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2019 Google LLC. All rights reserved.