class Distribution_BucketOptions extends Message

A Distribution may optionally contain a histogram of the values in the population. The histogram is given in bucket_counts as counts of values that fall into one of a sequence of non-overlapping buckets. The sequence of buckets is described by bucket_options.

A bucket specifies an inclusive lower bound and exclusive upper bound for the values that are counted for that bucket. The upper bound of a bucket is strictly greater than the lower bound. The sequence of N buckets for a Distribution consists of an underflow bucket (number 0), zero or more finite buckets (number 1 through N - 2) and an overflow bucket (number N - 1). The buckets are contiguous: the lower bound of bucket i (i > 0) is the same as the upper bound of bucket i - 1. The buckets span the whole range of finite values: lower bound of the underflow bucket is -infinity and the upper bound of the overflow bucket is +infinity. The finite buckets are so-called because both bounds are finite. BucketOptions describes bucket boundaries in one of three ways. Two describe the boundaries by giving parameters for a formula to generate boundaries and one gives the bucket boundaries explicitly. If bucket_boundaries is not given, then no bucket_counts may be given.

Generated from protobuf message google.api.Distribution.BucketOptions

Properties

protected $options

Methods

__construct()

No description

$this
$this
$this
string
getOptions()

No description

Details

at line 38
__construct()

at line 49
Distribution_BucketOptions_Linear getLinearBuckets()

The linear bucket.

Generated from protobuf field .google.api.Distribution.BucketOptions.Linear linear_buckets = 1;

at line 61
$this setLinearBuckets(Distribution_BucketOptions_Linear $var)

The linear bucket.

Generated from protobuf field .google.api.Distribution.BucketOptions.Linear linear_buckets = 1;

Parameters

Distribution_BucketOptions_Linear $var

Return Value

$this

at line 75
Distribution_BucketOptions_Exponential getExponentialBuckets()

The exponential buckets.

Generated from protobuf field .google.api.Distribution.BucketOptions.Exponential exponential_buckets = 2;

at line 87
$this setExponentialBuckets(Distribution_BucketOptions_Exponential $var)

The exponential buckets.

Generated from protobuf field .google.api.Distribution.BucketOptions.Exponential exponential_buckets = 2;

Parameters

Distribution_BucketOptions_Exponential $var

Return Value

$this

at line 101
Distribution_BucketOptions_Explicit getExplicitBuckets()

The explicit buckets.

Generated from protobuf field .google.api.Distribution.BucketOptions.Explicit explicit_buckets = 3;

at line 113
$this setExplicitBuckets(Distribution_BucketOptions_Explicit $var)

The explicit buckets.

Generated from protobuf field .google.api.Distribution.BucketOptions.Explicit explicit_buckets = 3;

Parameters

Distribution_BucketOptions_Explicit $var

Return Value

$this

at line 124
string getOptions()

Return Value

string