Ydb.Cms.SchemaOperationQuotas
*/
class SchemaOperationQuotas extends \Google\Protobuf\Internal\Message
{
/**
* Leaky bucket based quotas
*
* Generated from protobuf field repeated .Ydb.Cms.SchemaOperationQuotas.LeakyBucket leaky_bucket_quotas = 1;
*/
private $leaky_bucket_quotas;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type array<\Ydb\Cms\SchemaOperationQuotas\LeakyBucket>|\Google\Protobuf\Internal\RepeatedField $leaky_bucket_quotas
* Leaky bucket based quotas
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Protos\YdbCms::initOnce();
parent::__construct($data);
}
/**
* Leaky bucket based quotas
*
* Generated from protobuf field repeated .Ydb.Cms.SchemaOperationQuotas.LeakyBucket leaky_bucket_quotas = 1;
* @return \Google\Protobuf\Internal\RepeatedField
*/
public function getLeakyBucketQuotas()
{
return $this->leaky_bucket_quotas;
}
/**
* Leaky bucket based quotas
*
* Generated from protobuf field repeated .Ydb.Cms.SchemaOperationQuotas.LeakyBucket leaky_bucket_quotas = 1;
* @param array<\Ydb\Cms\SchemaOperationQuotas\LeakyBucket>|\Google\Protobuf\Internal\RepeatedField $var
* @return $this
*/
public function setLeakyBucketQuotas($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Ydb\Cms\SchemaOperationQuotas\LeakyBucket::class);
$this->leaky_bucket_quotas = $arr;
return $this;
}
}