Ydb.Monitoring.LocationStorageGroup
*/
class LocationStorageGroup extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field repeated string id = 1;
*/
private $id;
/**
* Generated from protobuf field .Ydb.Monitoring.LocationStorageVDisk vdisk = 2;
*/
protected $vdisk = null;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type array|\Google\Protobuf\Internal\RepeatedField $id
* @type \Ydb\Monitoring\LocationStorageVDisk $vdisk
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Protos\YdbMonitoring::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field repeated string id = 1;
* @return \Google\Protobuf\Internal\RepeatedField
*/
public function getId()
{
return $this->id;
}
/**
* Generated from protobuf field repeated string id = 1;
* @param array|\Google\Protobuf\Internal\RepeatedField $var
* @return $this
*/
public function setId($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
$this->id = $arr;
return $this;
}
/**
* Generated from protobuf field .Ydb.Monitoring.LocationStorageVDisk vdisk = 2;
* @return \Ydb\Monitoring\LocationStorageVDisk|null
*/
public function getVdisk()
{
return $this->vdisk;
}
public function hasVdisk()
{
return isset($this->vdisk);
}
public function clearVdisk()
{
unset($this->vdisk);
}
/**
* Generated from protobuf field .Ydb.Monitoring.LocationStorageVDisk vdisk = 2;
* @param \Ydb\Monitoring\LocationStorageVDisk $var
* @return $this
*/
public function setVdisk($var)
{
GPBUtil::checkMessage($var, \Ydb\Monitoring\LocationStorageVDisk::class);
$this->vdisk = $var;
return $this;
}
}