Ydb.Table.ClusterReplicasSettings
*/
class ClusterReplicasSettings extends \Google\Protobuf\Internal\Message
{
/**
* List of read replicas settings for each AZ
*
* Generated from protobuf field repeated .Ydb.Table.AzReadReplicasSettings az_read_replicas_settings = 2;
*/
private $az_read_replicas_settings;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type array<\Ydb\Table\AzReadReplicasSettings>|\Google\Protobuf\Internal\RepeatedField $az_read_replicas_settings
* List of read replicas settings for each AZ
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Protos\YdbTable::initOnce();
parent::__construct($data);
}
/**
* List of read replicas settings for each AZ
*
* Generated from protobuf field repeated .Ydb.Table.AzReadReplicasSettings az_read_replicas_settings = 2;
* @return \Google\Protobuf\Internal\RepeatedField
*/
public function getAzReadReplicasSettings()
{
return $this->az_read_replicas_settings;
}
/**
* List of read replicas settings for each AZ
*
* Generated from protobuf field repeated .Ydb.Table.AzReadReplicasSettings az_read_replicas_settings = 2;
* @param array<\Ydb\Table\AzReadReplicasSettings>|\Google\Protobuf\Internal\RepeatedField $var
* @return $this
*/
public function setAzReadReplicasSettings($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Ydb\Table\AzReadReplicasSettings::class);
$this->az_read_replicas_settings = $arr;
return $this;
}
}