public static interface Distribution.LinearBucketsOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
int |
getNumFiniteBuckets()
The number of finite buckets.
|
double |
getOffset()
The i'th linear bucket covers the interval
[offset + (i-1) * width, offset + i * width)
where i ranges from 1 to num_finite_buckets, inclusive.
|
double |
getWidth()
The i'th linear bucket covers the interval
[offset + (i-1) * width, offset + i * width)
where i ranges from 1 to num_finite_buckets, inclusive.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofint 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.
optional int32 num_finite_buckets = 1;double getWidth()
The i'th linear bucket covers the interval [offset + (i-1) * width, offset + i * width) where i ranges from 1 to num_finite_buckets, inclusive. Must be strictly positive.
optional double width = 2;double getOffset()
The i'th linear bucket covers the interval [offset + (i-1) * width, offset + i * width) where i ranges from 1 to num_finite_buckets, inclusive.
optional double offset = 3;