Interface TimeSeriesDescriptor.ValueDescriptorOrBuilder (3.23.0)

public static interface TimeSeriesDescriptor.ValueDescriptorOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getKey()

public abstract String getKey()

The value key.

string key = 1;

Returns
TypeDescription
String

The key.

getKeyBytes()

public abstract ByteString getKeyBytes()

The value key.

string key = 1;

Returns
TypeDescription
ByteString

The bytes for key.

getMetricKind()

public abstract MetricDescriptor.MetricKind getMetricKind()

The value stream kind.

.google.api.MetricDescriptor.MetricKind metric_kind = 3;

Returns
TypeDescription
com.google.api.MetricDescriptor.MetricKind

The metricKind.

getMetricKindValue()

public abstract int getMetricKindValue()

The value stream kind.

.google.api.MetricDescriptor.MetricKind metric_kind = 3;

Returns
TypeDescription
int

The enum numeric value on the wire for metricKind.

getUnit()

public abstract String getUnit()

The unit in which time_series point values are reported. unit follows the UCUM format for units as seen in https://unitsofmeasure.org/ucum.html. unit is only valid if value_type is INTEGER, DOUBLE, DISTRIBUTION.

string unit = 4;

Returns
TypeDescription
String

The unit.

getUnitBytes()

public abstract ByteString getUnitBytes()

The unit in which time_series point values are reported. unit follows the UCUM format for units as seen in https://unitsofmeasure.org/ucum.html. unit is only valid if value_type is INTEGER, DOUBLE, DISTRIBUTION.

string unit = 4;

Returns
TypeDescription
ByteString

The bytes for unit.

getValueType()

public abstract MetricDescriptor.ValueType getValueType()

The value type.

.google.api.MetricDescriptor.ValueType value_type = 2;

Returns
TypeDescription
com.google.api.MetricDescriptor.ValueType

The valueType.

getValueTypeValue()

public abstract int getValueTypeValue()

The value type.

.google.api.MetricDescriptor.ValueType value_type = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for valueType.