Interface Distribution.BucketOptions.LinearOrBuilder (2.37.1)

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
TypeDescription
int

The numFiniteBuckets.

getOffset()

public abstract double getOffset()

Lower bound of the first bucket.

double offset = 3;

Returns
TypeDescription
double

The offset.

getWidth()

public abstract double getWidth()

Must be greater than 0.

double width = 2;

Returns
TypeDescription
double

The width.