Interface QuotaOrBuilder (0.51.0)

public interface QuotaOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getLimit()

public abstract double getLimit()

Quota limit for this metric.

double limit = 2;

Returns
Type Description
double

The limit.

getMetric()

public abstract String getMetric()

Name of the quota metric.

string metric = 1;

Returns
Type Description
String

The metric.

getMetricBytes()

public abstract ByteString getMetricBytes()

Name of the quota metric.

string metric = 1;

Returns
Type Description
ByteString

The bytes for metric.

getUsage()

public abstract double getUsage()

Current usage of this metric.

double usage = 3;

Returns
Type Description
double

The usage.