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 String
getKey()
The value key.com.google.protobuf.ByteString
getKeyBytes()
The value key.com.google.api.MetricDescriptor.MetricKind
getMetricKind()
The value stream kind.int
getMetricKindValue()
The value stream kind.String
getUnit()
The unit in which `time_series` point values are reported.com.google.protobuf.ByteString
getUnitBytes()
The unit in which `time_series` point values are reported.com.google.api.MetricDescriptor.ValueType
getValueType()
The value type.int
getValueTypeValue()
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.
-
-