Interface MetricValueOrBuilder (0.55.0)

public interface MetricValueOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getOneValueCase()

public abstract MetricValue.OneValueCase getOneValueCase()
Returns
Type Description
MetricValue.OneValueCase

getValue()

public abstract String getValue()

Measurement value. See MetricHeader for type.

string value = 4;

Returns
Type Description
String

The value.

getValueBytes()

public abstract ByteString getValueBytes()

Measurement value. See MetricHeader for type.

string value = 4;

Returns
Type Description
ByteString

The bytes for value.

hasValue()

public abstract boolean hasValue()

Measurement value. See MetricHeader for type.

string value = 4;

Returns
Type Description
boolean

Whether the value field is set.