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
Modifier and TypeMethodDescriptiongetKey()The value key.com.google.protobuf.ByteStringThe value key.The value stream kind.intThe value stream kind.getUnit()The unit in which `time_series` point values are reported.com.google.protobuf.ByteStringThe unit in which `time_series` point values are reported.The value type.intThe value type.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
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
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.
-