Interface MetricValueOrBuilder (0.42.0)

public interface MetricValueOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getOneValueCase()

public abstract MetricValue.OneValueCase getOneValueCase()
Returns
TypeDescription
MetricValue.OneValueCase

getValue()

public abstract String getValue()

Measurement value. See MetricHeader for type.

string value = 4;

Returns
TypeDescription
String

The value.

getValueBytes()

public abstract ByteString getValueBytes()

Measurement value. See MetricHeader for type.

string value = 4;

Returns
TypeDescription
ByteString

The bytes for value.

hasValue()

public abstract boolean hasValue()

Measurement value. See MetricHeader for type.

string value = 4;

Returns
TypeDescription
boolean

Whether the value field is set.