Interface DroppedLabelsOuterClass.DroppedLabelsOrBuilder (3.49.0)

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
Name Description
key String
Returns
Type Description
boolean

getLabel() (deprecated)

public abstract Map<String,String> getLabel()

Use #getLabelMap() instead.

Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
key String
defaultValue String
Returns
Type Description
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
Name Description
key String
Returns
Type Description
String