Interface Distribution.ExponentialBucketsOrBuilder (1.52.0)

public static interface Distribution.ExponentialBucketsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGrowthFactor()

public abstract 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
Type Description
double

The growthFactor.

getNumFiniteBuckets()

public abstract 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
Type Description
int

The numFiniteBuckets.

getScale()

public abstract 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
Type Description
double

The scale.