Interface QuotaOrBuilder (1.39.0)

public interface QuotaOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getLimit()

public abstract double getLimit()

[Output Only] Quota limit for this metric.

optional double limit = 102976443;

Returns
TypeDescription
double

The limit.

getMetric()

public abstract String getMetric()

[Output Only] Name of the quota metric. Check the Metric enum for the list of possible values.

optional string metric = 533067184;

Returns
TypeDescription
String

The metric.

getMetricBytes()

public abstract ByteString getMetricBytes()

[Output Only] Name of the quota metric. Check the Metric enum for the list of possible values.

optional string metric = 533067184;

Returns
TypeDescription
ByteString

The bytes for metric.

getOwner()

public abstract String getOwner()

[Output Only] Owning resource. This is the resource on which this quota is applied.

optional string owner = 106164915;

Returns
TypeDescription
String

The owner.

getOwnerBytes()

public abstract ByteString getOwnerBytes()

[Output Only] Owning resource. This is the resource on which this quota is applied.

optional string owner = 106164915;

Returns
TypeDescription
ByteString

The bytes for owner.

getUsage()

public abstract double getUsage()

[Output Only] Current usage of this metric.

optional double usage = 111574433;

Returns
TypeDescription
double

The usage.

hasLimit()

public abstract boolean hasLimit()

[Output Only] Quota limit for this metric.

optional double limit = 102976443;

Returns
TypeDescription
boolean

Whether the limit field is set.

hasMetric()

public abstract boolean hasMetric()

[Output Only] Name of the quota metric. Check the Metric enum for the list of possible values.

optional string metric = 533067184;

Returns
TypeDescription
boolean

Whether the metric field is set.

hasOwner()

public abstract boolean hasOwner()

[Output Only] Owning resource. This is the resource on which this quota is applied.

optional string owner = 106164915;

Returns
TypeDescription
boolean

Whether the owner field is set.

hasUsage()

public abstract boolean hasUsage()

[Output Only] Current usage of this metric.

optional double usage = 111574433;

Returns
TypeDescription
boolean

Whether the usage field is set.