public class HttpJsonZoneOperationsStub extends ZoneOperationsStub
REST stub implementation for the ZoneOperations service API.
This class is for advanced usage and reflects the underlying API directly.
Constructors
HttpJsonZoneOperationsStub(ZoneOperationsStubSettings settings, ClientContext clientContext)
protected HttpJsonZoneOperationsStub(ZoneOperationsStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonZoneOperationsStub, 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.
Parameters
HttpJsonZoneOperationsStub(ZoneOperationsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonZoneOperationsStub(ZoneOperationsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonZoneOperationsStub, 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.
Parameters
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
create(ClientContext clientContext)
public static final HttpJsonZoneOperationsStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonZoneOperationsStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(ZoneOperationsStubSettings settings)
public static final HttpJsonZoneOperationsStub create(ZoneOperationsStubSettings settings)
Parameter
Returns
Exceptions
deleteCallable()
public UnaryCallable<DeleteZoneOperationRequest,DeleteZoneOperationResponse> deleteCallable()
Returns
Overrides
getCallable()
public UnaryCallable<GetZoneOperationRequest,Operation> getCallable()
Returns
Overrides
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listCallable()
public UnaryCallable<ListZoneOperationsRequest,OperationList> listCallable()
Returns
Overrides
listPagedCallable()
public UnaryCallable<ListZoneOperationsRequest,ZoneOperationsClient.ListPagedResponse> listPagedCallable()
Returns
Overrides
longRunningClient()
public LongRunningClient longRunningClient()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
waitCallable()
public UnaryCallable<WaitZoneOperationRequest,Operation> waitCallable()
Returns
Overrides