Distribution_BucketOptions_Linear
class Distribution_BucketOptions_Linear extends Message
Specify a sequence of buckets that all have the same width (except overflow and underflow). Each bucket represents a constant absolute uncertainty on the specific value in the bucket.
Defines num_finite_buckets + 2
(= N) buckets with these boundaries for
bucket i
:
Upper bound (0 <= i < N-1): offset + (width * i).
Lower bound (1 <= i < N): offset + (width * (i - 1)).
Protobuf type Google\Api\Distribution\BucketOptions\Linear
Methods
No description
Must be greater than 0.
Must be greater than 0.
Must be greater than 0.
Must be greater than 0.
Lower bound of the first bucket.
Lower bound of the first bucket.
Details
at line 43
__construct()
at line 54
int
getNumFiniteBuckets()
Must be greater than 0.
Generated from protobuf field int32 num_finite_buckets = 1;
at line 65
setNumFiniteBuckets(int $var)
Must be greater than 0.
Generated from protobuf field int32 num_finite_buckets = 1;
at line 77
float
getWidth()
Must be greater than 0.
Generated from protobuf field double width = 2;
at line 88
setWidth(float $var)
Must be greater than 0.
Generated from protobuf field double width = 2;
at line 100
float
getOffset()
Lower bound of the first bucket.
Generated from protobuf field double offset = 3;
at line 111
setOffset(float $var)
Lower bound of the first bucket.
Generated from protobuf field double offset = 3;