Linear
class 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)).
Generated from protobuf message google.api.Distribution.BucketOptions.Linear
Methods
Constructor.
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 57
__construct(array $data = NULL)
Constructor.
at line 68
int
getNumFiniteBuckets()
Must be greater than 0.
Generated from protobuf field int32 num_finite_buckets = 1;
at line 80
$this
setNumFiniteBuckets(int $var)
Must be greater than 0.
Generated from protobuf field int32 num_finite_buckets = 1;
at line 94
float
getWidth()
Must be greater than 0.
Generated from protobuf field double width = 2;
at line 106
$this
setWidth(float $var)
Must be greater than 0.
Generated from protobuf field double width = 2;
at line 120
float
getOffset()
Lower bound of the first bucket.
Generated from protobuf field double offset = 3;
at line 132
$this
setOffset(float $var)
Lower bound of the first bucket.
Generated from protobuf field double offset = 3;