Interface Metrics.BucketOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Metrics.Bucket, Metrics.Bucket.Builder
    Enclosing class:
    Metrics

    public static interface Metrics.BucketOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • hasCumulativeCount

        boolean hasCumulativeCount()
         Cumulative in increasing order.
         
        optional uint64 cumulative_count = 1;
        Returns:
        Whether the cumulativeCount field is set.
      • getCumulativeCount

        long getCumulativeCount()
         Cumulative in increasing order.
         
        optional uint64 cumulative_count = 1;
        Returns:
        The cumulativeCount.
      • hasCumulativeCountFloat

        boolean hasCumulativeCountFloat()
         Overrides cumulative_count if > 0.
         
        optional double cumulative_count_float = 4;
        Returns:
        Whether the cumulativeCountFloat field is set.
      • getCumulativeCountFloat

        double getCumulativeCountFloat()
         Overrides cumulative_count if > 0.
         
        optional double cumulative_count_float = 4;
        Returns:
        The cumulativeCountFloat.
      • hasUpperBound

        boolean hasUpperBound()
         Inclusive.
         
        optional double upper_bound = 2;
        Returns:
        Whether the upperBound field is set.
      • getUpperBound

        double getUpperBound()
         Inclusive.
         
        optional double upper_bound = 2;
        Returns:
        The upperBound.
      • hasExemplar

        boolean hasExemplar()
        optional .io.prometheus.client.Exemplar exemplar = 3;
        Returns:
        Whether the exemplar field is set.
      • getExemplar

        Metrics.Exemplar getExemplar()
        optional .io.prometheus.client.Exemplar exemplar = 3;
        Returns:
        The exemplar.
      • getExemplarOrBuilder

        Metrics.ExemplarOrBuilder getExemplarOrBuilder()
        optional .io.prometheus.client.Exemplar exemplar = 3;