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 Type
    Method
    Description
    The value key.
    com.google.protobuf.ByteString
    The value key.
    The value stream kind.
    int
    The value stream kind.
    The unit in which `time_series` point values are reported.
    com.google.protobuf.ByteString
    The unit in which `time_series` point values are reported.
    The value type.
    int
    The value type.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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

       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

       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.