Interface DroppedLabelsOuterClass.DroppedLabelsOrBuilder (3.3.6)

public static interface DroppedLabelsOuterClass.DroppedLabelsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsLabel(String key)

public abstract boolean containsLabel(String key)

Map from label to its value, for all labels dropped in any aggregation.

map<string, string> label = 1;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getLabel()

public abstract Map<String,String> getLabel()

Use #getLabelMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelCount()

public abstract int getLabelCount()

Map from label to its value, for all labels dropped in any aggregation.

map<string, string> label = 1;

Returns
TypeDescription
int

getLabelMap()

public abstract Map<String,String> getLabelMap()

Map from label to its value, for all labels dropped in any aggregation.

map<string, string> label = 1;

Returns
TypeDescription
Map<String,String>

getLabelOrDefault(String key, String defaultValue)

public abstract String getLabelOrDefault(String key, String defaultValue)

Map from label to its value, for all labels dropped in any aggregation.

map<string, string> label = 1;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelOrThrow(String key)

public abstract String getLabelOrThrow(String key)

Map from label to its value, for all labels dropped in any aggregation.

map<string, string> label = 1;

Parameter
NameDescription
keyString
Returns
TypeDescription
String