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)).

Generated from protobuf message google.api.Distribution.BucketOptions.Linear

Methods

__construct()

No description

int
getNumFiniteBuckets()

Must be greater than 0.

$this
setNumFiniteBuckets(int $var)

Must be greater than 0.

float
getWidth()

Must be greater than 0.

$this
setWidth(float $var)

Must be greater than 0.

float
getOffset()

Lower bound of the first bucket.

$this
setOffset(float $var)

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;

Return Value

int

at line 66
$this setNumFiniteBuckets(int $var)

Must be greater than 0.

Generated from protobuf field int32 num_finite_buckets = 1;

Parameters

int $var

Return Value

$this

at line 80
float getWidth()

Must be greater than 0.

Generated from protobuf field double width = 2;

Return Value

float

at line 92
$this setWidth(float $var)

Must be greater than 0.

Generated from protobuf field double width = 2;

Parameters

float $var

Return Value

$this

at line 106
float getOffset()

Lower bound of the first bucket.

Generated from protobuf field double offset = 3;

Return Value

float

at line 118
$this setOffset(float $var)

Lower bound of the first bucket.

Generated from protobuf field double offset = 3;

Parameters

float $var

Return Value

$this