Interface QuotaOrBuilder (0.10.0)

public interface QuotaOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getLimit()

public abstract double getLimit()

Quota limit for this metric.

double limit = 2;

Returns
TypeDescription
double

The limit.

getMetric()

public abstract String getMetric()

Name of the quota metric.

string metric = 1;

Returns
TypeDescription
String

The metric.

getMetricBytes()

public abstract ByteString getMetricBytes()

Name of the quota metric.

string metric = 1;

Returns
TypeDescription
ByteString

The bytes for metric.

getUsage()

public abstract double getUsage()

Current usage of this metric.

double usage = 3;

Returns
TypeDescription
double

The usage.