Interface NamedMetricOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
NamedMetric, NamedMetric.Builder

@Generated public interface NamedMetricOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The name of the metric.
    com.google.protobuf.ByteString
    The name of the metric.
    The unit in which this metric is reported.
    com.google.protobuf.ByteString
    The unit in which this metric is reported.
    com.google.protobuf.Value
    The value of the metric.
    com.google.protobuf.ValueOrBuilder
    The value of the metric.
    boolean
    The value of the metric.

    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

    • getName

      String getName()
       The name of the metric.
       
      string name = 1;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       The name of the metric.
       
      string name = 1;
      Returns:
      The bytes for name.
    • hasValue

      boolean hasValue()
       The value of the metric.
       
      .google.protobuf.Value value = 2;
      Returns:
      Whether the value field is set.
    • getValue

      com.google.protobuf.Value getValue()
       The value of the metric.
       
      .google.protobuf.Value value = 2;
      Returns:
      The value.
    • getValueOrBuilder

      com.google.protobuf.ValueOrBuilder getValueOrBuilder()
       The value of the metric.
       
      .google.protobuf.Value value = 2;
    • getUnit

      String getUnit()
       The unit in which this metric is reported. Follows [The Unified Code for
       Units of Measure](https://unitsofmeasure.org/ucum.html) standard.
       
      string unit = 3;
      Returns:
      The unit.
    • getUnitBytes

      com.google.protobuf.ByteString getUnitBytes()
       The unit in which this metric is reported. Follows [The Unified Code for
       Units of Measure](https://unitsofmeasure.org/ucum.html) standard.
       
      string unit = 3;
      Returns:
      The bytes for unit.