Specifies a linear 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.
There are num_finite_buckets + 2
(= N) buckets. Bucket i
has the
following boundaries:
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 |
public __construct( $data = NULL) Constructor.
|
public getNumFiniteBuckets() Must be greater than 0. Generated from protobuf field int32 num_finite_buckets = 1;
|
public getOffset() Lower bound of the first bucket. Generated from protobuf field double offset = 3;
|
public getWidth() Must be greater than 0. Generated from protobuf field double width = 2;
|
public setNumFiniteBuckets( $var) Must be greater than 0. Generated from protobuf field int32 num_finite_buckets = 1;
|
public setOffset( $var) Lower bound of the first bucket. Generated from protobuf field double offset = 3;
|
public setWidth( $var) Must be greater than 0. Generated from protobuf field double width = 2;
|
Properties |
protected $num_finite_buckets = 0 Must be greater than 0. Generated from protobuf field int32 num_finite_buckets = 1; |
protected $offset = 0 Lower bound of the first bucket. Generated from protobuf field double offset = 3; |
protected $width = 0 Must be greater than 0. Generated from protobuf field double width = 2; |
Methods |