Interface ExemplarOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      double getAsDouble()
      double as_double = 3;
      long getAsInt()
      sfixed64 as_int = 6;
      KeyValue getFilteredAttributes​(int index)
      The set of key/value pairs that were filtered out by the aggregator, but recorded alongside the original measurement.
      int getFilteredAttributesCount()
      The set of key/value pairs that were filtered out by the aggregator, but recorded alongside the original measurement.
      List<KeyValue> getFilteredAttributesList()
      The set of key/value pairs that were filtered out by the aggregator, but recorded alongside the original measurement.
      KeyValueOrBuilder getFilteredAttributesOrBuilder​(int index)
      The set of key/value pairs that were filtered out by the aggregator, but recorded alongside the original measurement.
      List<? extends KeyValueOrBuilder> getFilteredAttributesOrBuilderList()
      The set of key/value pairs that were filtered out by the aggregator, but recorded alongside the original measurement.
      com.google.protobuf.ByteString getSpanId()
      (Optional) Span ID of the exemplar trace.
      long getTimeUnixNano()
      time_unix_nano is the exact time when this exemplar was recorded Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.
      com.google.protobuf.ByteString getTraceId()
      (Optional) Trace ID of the exemplar trace.
      Exemplar.ValueCase getValueCase()  
      boolean hasAsDouble()
      double as_double = 3;
      boolean hasAsInt()
      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 Detail

      • getFilteredAttributesList

        List<KeyValue> getFilteredAttributesList()
         The set of key/value pairs that were filtered out by the aggregator, but
         recorded alongside the original measurement. Only key/value pairs that were
         filtered out by the aggregator should be included
         
        repeated .opentelemetry.proto.common.v1.KeyValue filtered_attributes = 7;
      • getFilteredAttributes

        KeyValue getFilteredAttributes​(int index)
         The set of key/value pairs that were filtered out by the aggregator, but
         recorded alongside the original measurement. Only key/value pairs that were
         filtered out by the aggregator should be included
         
        repeated .opentelemetry.proto.common.v1.KeyValue filtered_attributes = 7;
      • getFilteredAttributesCount

        int getFilteredAttributesCount()
         The set of key/value pairs that were filtered out by the aggregator, but
         recorded alongside the original measurement. Only key/value pairs that were
         filtered out by the aggregator should be included
         
        repeated .opentelemetry.proto.common.v1.KeyValue filtered_attributes = 7;
      • getFilteredAttributesOrBuilderList

        List<? extends KeyValueOrBuilder> getFilteredAttributesOrBuilderList()
         The set of key/value pairs that were filtered out by the aggregator, but
         recorded alongside the original measurement. Only key/value pairs that were
         filtered out by the aggregator should be included
         
        repeated .opentelemetry.proto.common.v1.KeyValue filtered_attributes = 7;
      • getFilteredAttributesOrBuilder

        KeyValueOrBuilder getFilteredAttributesOrBuilder​(int index)
         The set of key/value pairs that were filtered out by the aggregator, but
         recorded alongside the original measurement. Only key/value pairs that were
         filtered out by the aggregator should be included
         
        repeated .opentelemetry.proto.common.v1.KeyValue filtered_attributes = 7;
      • getTimeUnixNano

        long getTimeUnixNano()
         time_unix_nano is the exact time when this exemplar was recorded
         Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
         1970.
         
        fixed64 time_unix_nano = 2;
        Returns:
        The timeUnixNano.
      • hasAsDouble

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

        double getAsDouble()
        double as_double = 3;
        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.
      • getSpanId

        com.google.protobuf.ByteString getSpanId()
         (Optional) Span ID of the exemplar trace.
         span_id may be missing if the measurement is not recorded inside a trace
         or if the trace is not sampled.
         
        bytes span_id = 4;
        Returns:
        The spanId.
      • getTraceId

        com.google.protobuf.ByteString getTraceId()
         (Optional) Trace ID of the exemplar trace.
         trace_id may be missing if the measurement is not recorded inside a trace
         or if the trace is not sampled.
         
        bytes trace_id = 5;
        Returns:
        The traceId.