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

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

Methods

__construct(array $data = NULL)

Constructor.

int
getNumFiniteBuckets()

Must be greater than 0.

$this
setNumFiniteBuckets(int $var)

Must be greater than 0.

float
getGrowthFactor()

Must be greater than 1.

$this
setGrowthFactor(float $var)

Must be greater than 1.

float
getScale()

Must be greater than 0.

$this
setScale(float $var)

Must be greater than 0.

Details

at line 57
__construct(array $data = NULL)

Constructor.

Parameters

array $data { Optional. Data for populating the Message object.

@type int $num_finite_buckets
      Must be greater than 0.
@type float $growth_factor
      Must be greater than 1.
@type float $scale
      Must be greater than 0.

}

at line 68
int getNumFiniteBuckets()

Must be greater than 0.

Generated from protobuf field int32 num_finite_buckets = 1;

Return Value

int

at line 80
$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 94
float getGrowthFactor()

Must be greater than 1.

Generated from protobuf field double growth_factor = 2;

Return Value

float

at line 106
$this setGrowthFactor(float $var)

Must be greater than 1.

Generated from protobuf field double growth_factor = 2;

Parameters

float $var

Return Value

$this

at line 120
float getScale()

Must be greater than 0.

Generated from protobuf field double scale = 3;

Return Value

float

at line 132
$this setScale(float $var)

Must be greater than 0.

Generated from protobuf field double scale = 3;

Parameters

float $var

Return Value

$this