Interface QuotaStatusOrBuilder (0.45.0)

public interface QuotaStatusOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConsumed()

public abstract int getConsumed()

Quota consumed by this request.

optional int32 consumed = 1;

Returns
TypeDescription
int

The consumed.

getRemaining()

public abstract int getRemaining()

Quota remaining after this request.

optional int32 remaining = 2;

Returns
TypeDescription
int

The remaining.

hasConsumed()

public abstract boolean hasConsumed()

Quota consumed by this request.

optional int32 consumed = 1;

Returns
TypeDescription
boolean

Whether the consumed field is set.

hasRemaining()

public abstract boolean hasRemaining()

Quota remaining after this request.

optional int32 remaining = 2;

Returns
TypeDescription
boolean

Whether the remaining field is set.