Interface QuotaStatusOrBuilder (0.57.0)

public interface QuotaStatusOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConsumed()

public abstract int getConsumed()

Quota consumed by this request.

optional int32 consumed = 1;

Returns
Type Description
int

The consumed.

getRemaining()

public abstract int getRemaining()

Quota remaining after this request.

optional int32 remaining = 2;

Returns
Type Description
int

The remaining.

hasConsumed()

public abstract boolean hasConsumed()

Quota consumed by this request.

optional int32 consumed = 1;

Returns
Type Description
boolean

Whether the consumed field is set.

hasRemaining()

public abstract boolean hasRemaining()

Quota remaining after this request.

optional int32 remaining = 2;

Returns
Type Description
boolean

Whether the remaining field is set.