Class LabelValue

  • Direct Known Subclasses:
    AutoValue_LabelValue

    @ExperimentalApi
    @Immutable
    public abstract class LabelValue
    extends java.lang.Object
    The value of a Label associated with a TimeSeries.
    Since:
    0.15
    • Constructor Detail

      • LabelValue

        LabelValue()
    • Method Detail

      • create

        public static LabelValue create​(@Nullable
                                        java.lang.String value)
        Creates a LabelValue.
        Parameters:
        value - the value of a Label. null value indicates an unset LabelValue.
        Returns:
        a LabelValue.
        Since:
        0.17
      • getValue

        @Nullable
        public abstract java.lang.String getValue()
        Returns the value of this LabelValue. Returns null if the value is unset and supposed to be ignored.
        Returns:
        the value.
        Since:
        0.17