Interface Distribution.ExponentialBucketsOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      double getGrowthFactor()
      The i'th exponential bucket covers the interval [scale * growth_factor^(i-1), scale * growth_factor^i) where i ranges from 1 to num_finite_buckets inclusive.
      int getNumFiniteBuckets()
      The number of finite buckets.
      double getScale()
      The i'th exponential bucket covers the interval [scale * growth_factor^(i-1), scale * growth_factor^i) where i ranges from 1 to num_finite_buckets inclusive.
      • 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

      • getNumFiniteBuckets

        int getNumFiniteBuckets()
         The number of finite buckets. With the underflow and overflow buckets,
         the total number of buckets is `num_finite_buckets` + 2.
         See comments on `bucket_options` for details.
         
        int32 num_finite_buckets = 1;
        Returns:
        The numFiniteBuckets.
      • getGrowthFactor

        double getGrowthFactor()
         The i'th exponential bucket covers the interval
           [scale * growth_factor^(i-1), scale * growth_factor^i)
         where i ranges from 1 to num_finite_buckets inclusive.
         Must be larger than 1.0.
         
        double growth_factor = 2;
        Returns:
        The growthFactor.
      • getScale

        double getScale()
         The i'th exponential bucket covers the interval
           [scale * growth_factor^(i-1), scale * growth_factor^i)
         where i ranges from 1 to num_finite_buckets inclusive.
         Must be > 0.
         
        double scale = 3;
        Returns:
        The scale.