Interface UsageResourceAllowanceStatus.LimitStatusOrBuilder (0.39.0)

public static interface UsageResourceAllowanceStatus.LimitStatusOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConsumed()

public abstract double getConsumed()

Output only. Accumulated consumption during consumption_interval.

double consumed = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
double

The consumed.

getConsumptionInterval()

public abstract Interval getConsumptionInterval()

Output only. The consumption interval.

.google.type.Interval consumption_interval = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.type.Interval

The consumptionInterval.

getConsumptionIntervalOrBuilder()

public abstract IntervalOrBuilder getConsumptionIntervalOrBuilder()

Output only. The consumption interval.

.google.type.Interval consumption_interval = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.type.IntervalOrBuilder

getLimit()

public abstract double getLimit()

Output only. Limit value of a UsageResourceAllowance within its one duration.

double limit = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
double

The limit.

hasConsumptionInterval()

public abstract boolean hasConsumptionInterval()

Output only. The consumption interval.

.google.type.Interval consumption_interval = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the consumptionInterval field is set.