Interface AggregationResult.FrequencyOrBuilder (0.18.0)

public static interface AggregationResult.FrequencyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsValues(String key)

public abstract boolean containsValues(String key)

map<string, int64> values = 1;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getValues() (deprecated)

public abstract Map<String,Long> getValues()

Use #getValuesMap() instead.

Returns
TypeDescription
Map<String,java.lang.Long>

getValuesCount()

public abstract int getValuesCount()

map<string, int64> values = 1;

Returns
TypeDescription
int

getValuesMap()

public abstract Map<String,Long> getValuesMap()

map<string, int64> values = 1;

Returns
TypeDescription
Map<String,java.lang.Long>

getValuesOrDefault(String key, long defaultValue)

public abstract long getValuesOrDefault(String key, long defaultValue)

map<string, int64> values = 1;

Parameters
NameDescription
keyString
defaultValuelong
Returns
TypeDescription
long

getValuesOrThrow(String key)

public abstract long getValuesOrThrow(String key)

map<string, int64> values = 1;

Parameter
NameDescription
keyString
Returns
TypeDescription
long