Interface AggregationResult.FrequencyOrBuilder (0.37.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
Name Description
key String
Returns
Type Description
boolean

getValues() (deprecated)

public abstract Map<String,Long> getValues()

Use #getValuesMap() instead.

Returns
Type Description
Map<String,java.lang.Long>

getValuesCount()

public abstract int getValuesCount()

map<string, int64> values = 1;

Returns
Type Description
int

getValuesMap()

public abstract Map<String,Long> getValuesMap()

map<string, int64> values = 1;

Returns
Type Description
Map<String,java.lang.Long>

getValuesOrDefault(String key, long defaultValue)

public abstract long getValuesOrDefault(String key, long defaultValue)

map<string, int64> values = 1;

Parameters
Name Description
key String
defaultValue long
Returns
Type Description
long

getValuesOrThrow(String key)

public abstract long getValuesOrThrow(String key)

map<string, int64> values = 1;

Parameter
Name Description
key String
Returns
Type Description
long