Interface Metrics.HistogramOrBuilder

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

    public static interface Metrics.HistogramOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Metrics.Bucket getBucket​(int index)
      Ordered in increasing order of upper_bound, +Inf bucket is optional.
      int getBucketCount()
      Ordered in increasing order of upper_bound, +Inf bucket is optional.
      List<Metrics.Bucket> getBucketList()
      Ordered in increasing order of upper_bound, +Inf bucket is optional.
      Metrics.BucketOrBuilder getBucketOrBuilder​(int index)
      Ordered in increasing order of upper_bound, +Inf bucket is optional.
      List<? extends Metrics.BucketOrBuilder> getBucketOrBuilderList()
      Ordered in increasing order of upper_bound, +Inf bucket is optional.
      long getSampleCount()
      optional uint64 sample_count = 1;
      double getSampleSum()
      optional double sample_sum = 2;
      boolean hasSampleCount()
      optional uint64 sample_count = 1;
      boolean hasSampleSum()
      optional double sample_sum = 2;
      • 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

      • hasSampleCount

        boolean hasSampleCount()
        optional uint64 sample_count = 1;
        Returns:
        Whether the sampleCount field is set.
      • getSampleCount

        long getSampleCount()
        optional uint64 sample_count = 1;
        Returns:
        The sampleCount.
      • hasSampleSum

        boolean hasSampleSum()
        optional double sample_sum = 2;
        Returns:
        Whether the sampleSum field is set.
      • getSampleSum

        double getSampleSum()
        optional double sample_sum = 2;
        Returns:
        The sampleSum.
      • getBucketList

        List<Metrics.Bucket> getBucketList()
         Ordered in increasing order of upper_bound, +Inf bucket is optional.
         
        repeated .io.prometheus.client.Bucket bucket = 3;
      • getBucket

        Metrics.Bucket getBucket​(int index)
         Ordered in increasing order of upper_bound, +Inf bucket is optional.
         
        repeated .io.prometheus.client.Bucket bucket = 3;
      • getBucketCount

        int getBucketCount()
         Ordered in increasing order of upper_bound, +Inf bucket is optional.
         
        repeated .io.prometheus.client.Bucket bucket = 3;
      • getBucketOrBuilderList

        List<? extends Metrics.BucketOrBuilder> getBucketOrBuilderList()
         Ordered in increasing order of upper_bound, +Inf bucket is optional.
         
        repeated .io.prometheus.client.Bucket bucket = 3;
      • getBucketOrBuilder

        Metrics.BucketOrBuilder getBucketOrBuilder​(int index)
         Ordered in increasing order of upper_bound, +Inf bucket is optional.
         
        repeated .io.prometheus.client.Bucket bucket = 3;