google.api.Distribution.BucketOptions.Explicit
*/
class Explicit extends \Google\Protobuf\Internal\Message
{
/**
* The values must be monotonically increasing.
*
* Generated from protobuf field repeated double bounds = 1;
*/
private $bounds;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type float[]|\Google\Protobuf\Internal\RepeatedField $bounds
* The values must be monotonically increasing.
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Google\Api\Distribution::initOnce();
parent::__construct($data);
}
/**
* The values must be monotonically increasing.
*
* Generated from protobuf field repeated double bounds = 1;
* @return \Google\Protobuf\Internal\RepeatedField
*/
public function getBounds()
{
return $this->bounds;
}
/**
* The values must be monotonically increasing.
*
* Generated from protobuf field repeated double bounds = 1;
* @param float[]|\Google\Protobuf\Internal\RepeatedField $var
* @return $this
*/
public function setBounds($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::DOUBLE);
$this->bounds = $arr;
return $this;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Explicit::class, \Google\Api\Distribution_BucketOptions_Explicit::class);