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

__construct()

No description

int
getNumFiniteBuckets()

Must be greater than 0.

setNumFiniteBuckets(int $var)

Must be greater than 0.

float
getWidth()

Must be greater than 0.

setWidth(float $var)

Must be greater than 0.

float
getOffset()

Lower bound of the first bucket.

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 65
setNumFiniteBuckets(int $var)

Must be greater than 0.

Generated from protobuf field int32 num_finite_buckets = 1;

Parameters

int $var

at line 77
float getWidth()

Must be greater than 0.

Generated from protobuf field double width = 2;

Return Value

float

at line 88
setWidth(float $var)

Must be greater than 0.

Generated from protobuf field double width = 2;

Parameters

float $var

at line 100
float getOffset()

Lower bound of the first bucket.

Generated from protobuf field double offset = 3;

Return Value

float

at line 111
setOffset(float $var)

Lower bound of the first bucket.

Generated from protobuf field double offset = 3;

Parameters

float $var