Interface Distribution.BucketOptions.LinearOrBuilder (2.38.0)

public static interface Distribution.BucketOptions.LinearOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNumFiniteBuckets()

public abstract int getNumFiniteBuckets()

Must be greater than 0.

int32 num_finite_buckets = 1;

Returns
Type Description
int

The numFiniteBuckets.

getOffset()

public abstract double getOffset()

Lower bound of the first bucket.

double offset = 3;

Returns
Type Description
double

The offset.

getWidth()

public abstract double getWidth()

Must be greater than 0.

double width = 2;

Returns
Type Description
double

The width.