public abstract static class QuotaResponse.Aggregated
extends java.lang.Object
Constructor and Description |
---|
Aggregated() |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableList<QuotaResponse> |
all() |
java.util.OptionalLong |
availableTokens() |
static QuotaResponse.Aggregated |
create(java.util.Collection<QuotaResponse> responses) |
com.google.common.collect.ImmutableList<QuotaResponse> |
error() |
java.lang.String |
errorMessage() |
boolean |
hasError() |
com.google.common.collect.ImmutableList<QuotaResponse> |
ok() |
protected abstract com.google.common.collect.ImmutableList<QuotaResponse> |
responses() |
void |
throwOnError() |
public static QuotaResponse.Aggregated create(java.util.Collection<QuotaResponse> responses)
protected abstract com.google.common.collect.ImmutableList<QuotaResponse> responses()
public boolean hasError()
public com.google.common.collect.ImmutableList<QuotaResponse> all()
public com.google.common.collect.ImmutableList<QuotaResponse> ok()
public java.util.OptionalLong availableTokens()
public com.google.common.collect.ImmutableList<QuotaResponse> error()
public java.lang.String errorMessage()
public void throwOnError() throws QuotaException
QuotaException