Class QuotaControllerGrpc (1.36.0)

public final class QuotaControllerGrpc

Google Quota Control API Allows clients to allocate and release quota against a managed service.

Inheritance

java.lang.Object > QuotaControllerGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(QuotaControllerGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(QuotaControllerGrpc.AsyncService service)
Parameter
NameDescription
serviceQuotaControllerGrpc.AsyncService
Returns
TypeDescription
io.grpc.ServerServiceDefinition

getAllocateQuotaMethod()

public static MethodDescriptor<AllocateQuotaRequest,AllocateQuotaResponse> getAllocateQuotaMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<AllocateQuotaRequest,AllocateQuotaResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

newBlockingStub(Channel channel)

public static QuotaControllerGrpc.QuotaControllerBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
QuotaControllerGrpc.QuotaControllerBlockingStub

newFutureStub(Channel channel)

public static QuotaControllerGrpc.QuotaControllerFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
QuotaControllerGrpc.QuotaControllerFutureStub

newStub(Channel channel)

public static QuotaControllerGrpc.QuotaControllerStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
QuotaControllerGrpc.QuotaControllerStub