Ydb.Cms.DescribeDatabaseOptionsResult
*/
class DescribeDatabaseOptionsResult extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field repeated .Ydb.Cms.StorageUnitDescription storage_units = 1;
*/
private $storage_units;
/**
* Generated from protobuf field repeated .Ydb.Cms.AvailabilityZoneDescription availability_zones = 2;
*/
private $availability_zones;
/**
* Generated from protobuf field repeated .Ydb.Cms.ComputationalUnitDescription computational_units = 3;
*/
private $computational_units;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type array<\Ydb\Cms\StorageUnitDescription>|\Google\Protobuf\Internal\RepeatedField $storage_units
* @type array<\Ydb\Cms\AvailabilityZoneDescription>|\Google\Protobuf\Internal\RepeatedField $availability_zones
* @type array<\Ydb\Cms\ComputationalUnitDescription>|\Google\Protobuf\Internal\RepeatedField $computational_units
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Protos\YdbCms::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field repeated .Ydb.Cms.StorageUnitDescription storage_units = 1;
* @return \Google\Protobuf\Internal\RepeatedField
*/
public function getStorageUnits()
{
return $this->storage_units;
}
/**
* Generated from protobuf field repeated .Ydb.Cms.StorageUnitDescription storage_units = 1;
* @param array<\Ydb\Cms\StorageUnitDescription>|\Google\Protobuf\Internal\RepeatedField $var
* @return $this
*/
public function setStorageUnits($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Ydb\Cms\StorageUnitDescription::class);
$this->storage_units = $arr;
return $this;
}
/**
* Generated from protobuf field repeated .Ydb.Cms.AvailabilityZoneDescription availability_zones = 2;
* @return \Google\Protobuf\Internal\RepeatedField
*/
public function getAvailabilityZones()
{
return $this->availability_zones;
}
/**
* Generated from protobuf field repeated .Ydb.Cms.AvailabilityZoneDescription availability_zones = 2;
* @param array<\Ydb\Cms\AvailabilityZoneDescription>|\Google\Protobuf\Internal\RepeatedField $var
* @return $this
*/
public function setAvailabilityZones($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Ydb\Cms\AvailabilityZoneDescription::class);
$this->availability_zones = $arr;
return $this;
}
/**
* Generated from protobuf field repeated .Ydb.Cms.ComputationalUnitDescription computational_units = 3;
* @return \Google\Protobuf\Internal\RepeatedField
*/
public function getComputationalUnits()
{
return $this->computational_units;
}
/**
* Generated from protobuf field repeated .Ydb.Cms.ComputationalUnitDescription computational_units = 3;
* @param array<\Ydb\Cms\ComputationalUnitDescription>|\Google\Protobuf\Internal\RepeatedField $var
* @return $this
*/
public function setComputationalUnits($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Ydb\Cms\ComputationalUnitDescription::class);
$this->computational_units = $arr;
return $this;
}
}