Interface Distribution.ExemplarOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Distribution.Exemplar, Distribution.Exemplar.Builder
Enclosing class:
Distribution

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

    Modifier and Type
    Method
    Description
    getAttachments(int index)
    Contextual information about the example value.
    int
    Contextual information about the example value.
    Contextual information about the example value.
    Contextual information about the example value.
    List<? extends AnyOrBuilder>
    Contextual information about the example value.
    The observation (sampling) time of the above value.
    The observation (sampling) time of the above value.
    double
    Value of the exemplar point.
    boolean
    The observation (sampling) time of the above value.

    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

    • getValue

      double getValue()
       Value of the exemplar point. This value determines to which bucket the
       exemplar belongs.
       
      double value = 1;
      Returns:
      The value.
    • hasTimestamp

      boolean hasTimestamp()
       The observation (sampling) time of the above value.
       
      .google.protobuf.Timestamp timestamp = 2;
      Returns:
      Whether the timestamp field is set.
    • getTimestamp

      Timestamp getTimestamp()
       The observation (sampling) time of the above value.
       
      .google.protobuf.Timestamp timestamp = 2;
      Returns:
      The timestamp.
    • getTimestampOrBuilder

      TimestampOrBuilder getTimestampOrBuilder()
       The observation (sampling) time of the above value.
       
      .google.protobuf.Timestamp timestamp = 2;
    • getAttachmentsList

      List<Any> getAttachmentsList()
       Contextual information about the example value. Examples are:
         Trace: type.googleapis.com/google.monitoring.v3.SpanContext
         Literal string: type.googleapis.com/google.protobuf.StringValue
         Labels dropped during aggregation:
           type.googleapis.com/google.monitoring.v3.DroppedLabels
       There may be only a single attachment of any given message type in a
       single exemplar, and this is enforced by the system.
       
      repeated .google.protobuf.Any attachments = 3;
    • getAttachments

      Any getAttachments(int index)
       Contextual information about the example value. Examples are:
         Trace: type.googleapis.com/google.monitoring.v3.SpanContext
         Literal string: type.googleapis.com/google.protobuf.StringValue
         Labels dropped during aggregation:
           type.googleapis.com/google.monitoring.v3.DroppedLabels
       There may be only a single attachment of any given message type in a
       single exemplar, and this is enforced by the system.
       
      repeated .google.protobuf.Any attachments = 3;
    • getAttachmentsCount

      int getAttachmentsCount()
       Contextual information about the example value. Examples are:
         Trace: type.googleapis.com/google.monitoring.v3.SpanContext
         Literal string: type.googleapis.com/google.protobuf.StringValue
         Labels dropped during aggregation:
           type.googleapis.com/google.monitoring.v3.DroppedLabels
       There may be only a single attachment of any given message type in a
       single exemplar, and this is enforced by the system.
       
      repeated .google.protobuf.Any attachments = 3;
    • getAttachmentsOrBuilderList

      List<? extends AnyOrBuilder> getAttachmentsOrBuilderList()
       Contextual information about the example value. Examples are:
         Trace: type.googleapis.com/google.monitoring.v3.SpanContext
         Literal string: type.googleapis.com/google.protobuf.StringValue
         Labels dropped during aggregation:
           type.googleapis.com/google.monitoring.v3.DroppedLabels
       There may be only a single attachment of any given message type in a
       single exemplar, and this is enforced by the system.
       
      repeated .google.protobuf.Any attachments = 3;
    • getAttachmentsOrBuilder

      AnyOrBuilder getAttachmentsOrBuilder(int index)
       Contextual information about the example value. Examples are:
         Trace: type.googleapis.com/google.monitoring.v3.SpanContext
         Literal string: type.googleapis.com/google.protobuf.StringValue
         Labels dropped during aggregation:
           type.googleapis.com/google.monitoring.v3.DroppedLabels
       There may be only a single attachment of any given message type in a
       single exemplar, and this is enforced by the system.
       
      repeated .google.protobuf.Any attachments = 3;