Beta
This library is covered by the Pre-GA Offerings Terms
of the Terms of Service. Pre-GA libraries might have limited support,
and changes to pre-GA libraries might not be compatible with other pre-GA versions.
For more information, see the
launch stage descriptions .
public class HttpJsonQuotaServiceStub extends QuotaServiceStub
REST stub implementation for the QuotaService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonQuotaServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonQuotaServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonQuotaServiceStub create(QuotaServiceStubSettings settings)
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonQuotaServiceStub(QuotaServiceStubSettings settings, ClientContext clientContext)
protected HttpJsonQuotaServiceStub(QuotaServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonQuotaServiceStub, 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.
HttpJsonQuotaServiceStub(QuotaServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonQuotaServiceStub(QuotaServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonQuotaServiceStub, 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.
Methods
public boolean awaitTermination(long duration, TimeUnit unit)
public final void close()
Overrides
public boolean isShutdown()
public boolean isTerminated()
public UnaryCallable<ListQuotaGroupsRequest,ListQuotaGroupsResponse> listQuotaGroupsCallable()
Overrides
listQuotaGroupsPagedCallable()
public UnaryCallable<ListQuotaGroupsRequest,QuotaServiceClient.ListQuotaGroupsPagedResponse> listQuotaGroupsPagedCallable()
Overrides
public void shutdownNow()