Class QuotaControllerGrpc (1.54.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
Type Description
String

Static Methods

bindService(QuotaControllerGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(QuotaControllerGrpc.AsyncService service)
Parameter
Name Description
service QuotaControllerGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getAllocateQuotaMethod()

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

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
QuotaControllerGrpc.QuotaControllerStub