Package com.google.monitoring.v3
Interface TimeSeriesDescriptor.ValueDescriptorOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TimeSeriesDescriptor.ValueDescriptor,TimeSeriesDescriptor.ValueDescriptor.Builder
- Enclosing class:
- TimeSeriesDescriptor
public static interface TimeSeriesDescriptor.ValueDescriptorOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetKey()The value key.com.google.protobuf.ByteStringgetKeyBytes()The value key.com.google.api.MetricDescriptor.MetricKindgetMetricKind()The value stream kind.intgetMetricKindValue()The value stream kind.StringgetUnit()The unit in which `time_series` point values are reported.com.google.protobuf.ByteStringgetUnitBytes()The unit in which `time_series` point values are reported.com.google.api.MetricDescriptor.ValueTypegetValueType()The value type.intgetValueTypeValue()The value type.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getKey
String getKey()
The value key.
string key = 1;- Returns:
- The key.
-
getKeyBytes
com.google.protobuf.ByteString getKeyBytes()
The value key.
string key = 1;- Returns:
- The bytes for key.
-
getValueTypeValue
int getValueTypeValue()
The value type.
.google.api.MetricDescriptor.ValueType value_type = 2;- Returns:
- The enum numeric value on the wire for valueType.
-
getValueType
com.google.api.MetricDescriptor.ValueType getValueType()
The value type.
.google.api.MetricDescriptor.ValueType value_type = 2;- Returns:
- The valueType.
-
getMetricKindValue
int getMetricKindValue()
The value stream kind.
.google.api.MetricDescriptor.MetricKind metric_kind = 3;- Returns:
- The enum numeric value on the wire for metricKind.
-
getMetricKind
com.google.api.MetricDescriptor.MetricKind getMetricKind()
The value stream kind.
.google.api.MetricDescriptor.MetricKind metric_kind = 3;- Returns:
- The metricKind.
-
getUnit
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:
- The unit.
-
getUnitBytes
com.google.protobuf.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:
- The bytes for unit.
-
-