public class HttpJsonAutoscalersStub extends AutoscalersStub
REST stub implementation for the Autoscalers service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
public static final HttpJsonAutoscalersStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
public static final HttpJsonAutoscalersStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
public static final HttpJsonAutoscalersStub create(AutoscalersStubSettings settings)
Parameter
Returns
Exceptions
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Constructors
protected HttpJsonAutoscalersStub(AutoscalersStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonAutoscalersStub, 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 HttpJsonAutoscalersStub(AutoscalersStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonAutoscalersStub, 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 UnaryCallable<AggregatedListAutoscalersRequest,AutoscalerAggregatedList> aggregatedListCallable()
Returns
Overrides
public UnaryCallable<AggregatedListAutoscalersRequest,AutoscalersClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
Returns
Overrides
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
public final void close()
Overrides
public UnaryCallable<DeleteAutoscalerRequest,Operation> deleteCallable()
Returns
Overrides
public OperationCallable<DeleteAutoscalerRequest,Operation,Operation> deleteOperationCallable()
Returns
Overrides
public UnaryCallable<GetAutoscalerRequest,Autoscaler> getCallable()
Returns
Overrides
public UnaryCallable<InsertAutoscalerRequest,Operation> insertCallable()
Returns
Overrides
public OperationCallable<InsertAutoscalerRequest,Operation,Operation> insertOperationCallable()
Returns
Overrides
public boolean isShutdown()
Returns
public boolean isTerminated()
Returns
public UnaryCallable<ListAutoscalersRequest,AutoscalerList> listCallable()
Returns
Overrides
public UnaryCallable<ListAutoscalersRequest,AutoscalersClient.ListPagedResponse> listPagedCallable()
Returns
Overrides
public UnaryCallable<PatchAutoscalerRequest,Operation> patchCallable()
Returns
Overrides
public OperationCallable<PatchAutoscalerRequest,Operation,Operation> patchOperationCallable()
Returns
Overrides
public void shutdownNow()
public UnaryCallable<UpdateAutoscalerRequest,Operation> updateCallable()
Returns
Overrides
public OperationCallable<UpdateAutoscalerRequest,Operation,Operation> updateOperationCallable()
Returns
Overrides