Class CloudQuotasGrpc (0.13.0)

public final class CloudQuotasGrpc

The Cloud Quotas API is an infrastructure service for Google Cloud that lets service consumers list and manage their resource usage limits.

  • List/Get the metadata and current status of the quotas for a service.
  • Create/Update quota preferencess that declare the preferred quota values.
  • Check the status of a quota preference request.
  • List/Get pending and historical quota preference.

Inheritance

java.lang.Object > CloudQuotasGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(CloudQuotasGrpc.AsyncService service)

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

getCreateQuotaPreferenceMethod()

public static MethodDescriptor<CreateQuotaPreferenceRequest,QuotaPreference> getCreateQuotaPreferenceMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateQuotaPreferenceRequest,QuotaPreference>

getGetQuotaInfoMethod()

public static MethodDescriptor<GetQuotaInfoRequest,QuotaInfo> getGetQuotaInfoMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetQuotaInfoRequest,QuotaInfo>

getGetQuotaPreferenceMethod()

public static MethodDescriptor<GetQuotaPreferenceRequest,QuotaPreference> getGetQuotaPreferenceMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetQuotaPreferenceRequest,QuotaPreference>

getListQuotaInfosMethod()

public static MethodDescriptor<ListQuotaInfosRequest,ListQuotaInfosResponse> getListQuotaInfosMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListQuotaInfosRequest,ListQuotaInfosResponse>

getListQuotaPreferencesMethod()

public static MethodDescriptor<ListQuotaPreferencesRequest,ListQuotaPreferencesResponse> getListQuotaPreferencesMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListQuotaPreferencesRequest,ListQuotaPreferencesResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

getUpdateQuotaPreferenceMethod()

public static MethodDescriptor<UpdateQuotaPreferenceRequest,QuotaPreference> getUpdateQuotaPreferenceMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateQuotaPreferenceRequest,QuotaPreference>

newBlockingStub(Channel channel)

public static CloudQuotasGrpc.CloudQuotasBlockingStub 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
CloudQuotasGrpc.CloudQuotasBlockingStub

newFutureStub(Channel channel)

public static CloudQuotasGrpc.CloudQuotasFutureStub 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
CloudQuotasGrpc.CloudQuotasFutureStub

newStub(Channel channel)

public static CloudQuotasGrpc.CloudQuotasStub 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
CloudQuotasGrpc.CloudQuotasStub