Interface NumberDataPointOrBuilder

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

public interface NumberDataPointOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    double as_double = 4;
    long
    sfixed64 as_int = 6;
    getAttributes(int index)
    The set of key/value pairs that uniquely identify the timeseries from where this point belongs.
    int
    The set of key/value pairs that uniquely identify the timeseries from where this point belongs.
    The set of key/value pairs that uniquely identify the timeseries from where this point belongs.
    The set of key/value pairs that uniquely identify the timeseries from where this point belongs.
    The set of key/value pairs that uniquely identify the timeseries from where this point belongs.
    getExemplars(int index)
    (Optional) List of exemplars collected from measurements that were used to form the data point
    int
    (Optional) List of exemplars collected from measurements that were used to form the data point
    (Optional) List of exemplars collected from measurements that were used to form the data point
    (Optional) List of exemplars collected from measurements that were used to form the data point
    (Optional) List of exemplars collected from measurements that were used to form the data point
    int
    Flags that apply to this specific data point.
    long
    StartTimeUnixNano is optional but strongly encouraged, see the the detailed comments above Metric.
    long
    TimeUnixNano is required, see the detailed comments above Metric.
     
    boolean
    double as_double = 4;
    boolean
    sfixed64 as_int = 6;

    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

    • getAttributesList

      List<KeyValue> getAttributesList()
       The set of key/value pairs that uniquely identify the timeseries from
       where this point belongs. The list may be empty (may contain 0 elements).
       Attribute keys MUST be unique (it is not allowed to have more than one
       attribute with the same key).
       
      repeated .opentelemetry.proto.common.v1.KeyValue attributes = 7;
    • getAttributes

      KeyValue getAttributes(int index)
       The set of key/value pairs that uniquely identify the timeseries from
       where this point belongs. The list may be empty (may contain 0 elements).
       Attribute keys MUST be unique (it is not allowed to have more than one
       attribute with the same key).
       
      repeated .opentelemetry.proto.common.v1.KeyValue attributes = 7;
    • getAttributesCount

      int getAttributesCount()
       The set of key/value pairs that uniquely identify the timeseries from
       where this point belongs. The list may be empty (may contain 0 elements).
       Attribute keys MUST be unique (it is not allowed to have more than one
       attribute with the same key).
       
      repeated .opentelemetry.proto.common.v1.KeyValue attributes = 7;
    • getAttributesOrBuilderList

      List<? extends KeyValueOrBuilder> getAttributesOrBuilderList()
       The set of key/value pairs that uniquely identify the timeseries from
       where this point belongs. The list may be empty (may contain 0 elements).
       Attribute keys MUST be unique (it is not allowed to have more than one
       attribute with the same key).
       
      repeated .opentelemetry.proto.common.v1.KeyValue attributes = 7;
    • getAttributesOrBuilder

      KeyValueOrBuilder getAttributesOrBuilder(int index)
       The set of key/value pairs that uniquely identify the timeseries from
       where this point belongs. The list may be empty (may contain 0 elements).
       Attribute keys MUST be unique (it is not allowed to have more than one
       attribute with the same key).
       
      repeated .opentelemetry.proto.common.v1.KeyValue attributes = 7;
    • getStartTimeUnixNano

      long getStartTimeUnixNano()
       StartTimeUnixNano is optional but strongly encouraged, see the
       the detailed comments above Metric.
      
       Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
       1970.
       
      fixed64 start_time_unix_nano = 2;
      Returns:
      The startTimeUnixNano.
    • getTimeUnixNano

      long getTimeUnixNano()
       TimeUnixNano is required, see the detailed comments above Metric.
      
       Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
       1970.
       
      fixed64 time_unix_nano = 3;
      Returns:
      The timeUnixNano.
    • hasAsDouble

      boolean hasAsDouble()
      double as_double = 4;
      Returns:
      Whether the asDouble field is set.
    • getAsDouble

      double getAsDouble()
      double as_double = 4;
      Returns:
      The asDouble.
    • hasAsInt

      boolean hasAsInt()
      sfixed64 as_int = 6;
      Returns:
      Whether the asInt field is set.
    • getAsInt

      long getAsInt()
      sfixed64 as_int = 6;
      Returns:
      The asInt.
    • getExemplarsList

      List<Exemplar> getExemplarsList()
       (Optional) List of exemplars collected from
       measurements that were used to form the data point
       
      repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 5;
    • getExemplars

      Exemplar getExemplars(int index)
       (Optional) List of exemplars collected from
       measurements that were used to form the data point
       
      repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 5;
    • getExemplarsCount

      int getExemplarsCount()
       (Optional) List of exemplars collected from
       measurements that were used to form the data point
       
      repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 5;
    • getExemplarsOrBuilderList

      List<? extends ExemplarOrBuilder> getExemplarsOrBuilderList()
       (Optional) List of exemplars collected from
       measurements that were used to form the data point
       
      repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 5;
    • getExemplarsOrBuilder

      ExemplarOrBuilder getExemplarsOrBuilder(int index)
       (Optional) List of exemplars collected from
       measurements that were used to form the data point
       
      repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 5;
    • getFlags

      int getFlags()
       Flags that apply to this specific data point.  See DataPointFlags
       for the available flags and their meaning.
       
      uint32 flags = 8;
      Returns:
      The flags.
    • getValueCase