Class CloudQuotasGrpc (0.7.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
TypeDescription
String

Static Methods

bindService(CloudQuotasGrpc.AsyncService service)

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

getCreateQuotaPreferenceMethod()

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

getGetQuotaInfoMethod()

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

getGetQuotaPreferenceMethod()

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

getListQuotaInfosMethod()

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

getListQuotaPreferencesMethod()

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

getServiceDescriptor()

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

getUpdateQuotaPreferenceMethod()

public static MethodDescriptor<UpdateQuotaPreferenceRequest,QuotaPreference> getUpdateQuotaPreferenceMethod()
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
CloudQuotasGrpc.CloudQuotasStub