public static interface TimeSeriesDescriptor.ValueDescriptorOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getKey()
public abstract String getKey()The value key.
string key = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The key. |
getKeyBytes()
public abstract ByteString getKeyBytes()The value key.
string key = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for key. |
getMetricKind()
public abstract MetricDescriptor.MetricKind getMetricKind()The value stream kind.
.google.api.MetricDescriptor.MetricKind metric_kind = 3;
| Returns | |
|---|---|
| Type | Description |
com.google.api.MetricDescriptor.MetricKind |
The metricKind. |
getMetricKindValue()
public abstract int getMetricKindValue()The value stream kind.
.google.api.MetricDescriptor.MetricKind metric_kind = 3;
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for unit. |
getValueType()
public abstract MetricDescriptor.ValueType getValueType()The value type.
.google.api.MetricDescriptor.ValueType value_type = 2;
| Returns | |
|---|---|
| Type | Description |
com.google.api.MetricDescriptor.ValueType |
The valueType. |
getValueTypeValue()
public abstract int getValueTypeValue()The value type.
.google.api.MetricDescriptor.ValueType value_type = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for valueType. |