class Distribution_BucketOptions_Exponential extends Message

Specify a sequence of buckets that have a width that is proportional to the value of the lower bound. Each bucket represents a constant relative uncertainty on a specific value in the bucket.

Defines num_finite_buckets + 2 (= N) buckets with these boundaries for bucket i: Upper bound (0 <= i < N-1): scale * (growth_factor ^ i). Lower bound (1 <= i < N): scale * (growth_factor ^ (i - 1)).

Protobuf type Google\Api\Distribution\BucketOptions\Exponential

Methods

__construct()

No description

int
getNumFiniteBuckets()

Must be greater than 0.

setNumFiniteBuckets(int $var)

Must be greater than 0.

float
getGrowthFactor()

Must be greater than 1.

setGrowthFactor(float $var)

Must be greater than 1.

float
getScale()

Must be greater than 0.

setScale(float $var)

Must be greater than 0.

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 getGrowthFactor()

Must be greater than 1.

Generated from protobuf field double growth_factor = 2;

Return Value

float

at line 88
setGrowthFactor(float $var)

Must be greater than 1.

Generated from protobuf field double growth_factor = 2;

Parameters

float $var

at line 100
float getScale()

Must be greater than 0.

Generated from protobuf field double scale = 3;

Return Value

float

at line 111
setScale(float $var)

Must be greater than 0.

Generated from protobuf field double scale = 3;

Parameters

float $var