public class HttpJsonRegionAutoscalersStub extends RegionAutoscalersStub
REST stub implementation for the RegionAutoscalers service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
public static final HttpJsonRegionAutoscalersStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
public static final HttpJsonRegionAutoscalersStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
public static final HttpJsonRegionAutoscalersStub create(RegionAutoscalersStubSettings settings)
Parameter
Returns
Exceptions
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Constructors
protected HttpJsonRegionAutoscalersStub(RegionAutoscalersStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonRegionAutoscalersStub, 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
protected HttpJsonRegionAutoscalersStub(RegionAutoscalersStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonRegionAutoscalersStub, 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
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
public final void close()
Overrides
public UnaryCallable<DeleteRegionAutoscalerRequest,Operation> deleteCallable()
Returns
Overrides
public OperationCallable<DeleteRegionAutoscalerRequest,Operation,Operation> deleteOperationCallable()
Returns
Overrides
public UnaryCallable<GetRegionAutoscalerRequest,Autoscaler> getCallable()
Returns
Overrides
public UnaryCallable<InsertRegionAutoscalerRequest,Operation> insertCallable()
Returns
Overrides
public OperationCallable<InsertRegionAutoscalerRequest,Operation,Operation> insertOperationCallable()
Returns
Overrides
public boolean isShutdown()
Returns
public boolean isTerminated()
Returns
public UnaryCallable<ListRegionAutoscalersRequest,RegionAutoscalerList> listCallable()
Returns
Overrides
public UnaryCallable<ListRegionAutoscalersRequest,RegionAutoscalersClient.ListPagedResponse> listPagedCallable()
Returns
Overrides
public UnaryCallable<PatchRegionAutoscalerRequest,Operation> patchCallable()
Returns
Overrides
public OperationCallable<PatchRegionAutoscalerRequest,Operation,Operation> patchOperationCallable()
Returns
Overrides
public void shutdownNow()
public UnaryCallable<UpdateRegionAutoscalerRequest,Operation> updateCallable()
Returns
Overrides
public OperationCallable<UpdateRegionAutoscalerRequest,Operation,Operation> updateOperationCallable()
Returns
Overrides