rv.data.Audio.PhysicalChannel
*/
class PhysicalChannel extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field uint32 index = 1;
*/
protected $index = 0;
/**
* Generated from protobuf field bool mute_enable = 2;
*/
protected $mute_enable = false;
/**
* Generated from protobuf field bool solo_enable = 3;
*/
protected $solo_enable = false;
/**
* Generated from protobuf field bool tone_enable = 4;
*/
protected $tone_enable = false;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type int $index
* @type bool $mute_enable
* @type bool $solo_enable
* @type bool $tone_enable
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Audio::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field uint32 index = 1;
* @return int
*/
public function getIndex()
{
return $this->index;
}
/**
* Generated from protobuf field uint32 index = 1;
* @param int $var
* @return $this
*/
public function setIndex($var)
{
GPBUtil::checkUint32($var);
$this->index = $var;
return $this;
}
/**
* Generated from protobuf field bool mute_enable = 2;
* @return bool
*/
public function getMuteEnable()
{
return $this->mute_enable;
}
/**
* Generated from protobuf field bool mute_enable = 2;
* @param bool $var
* @return $this
*/
public function setMuteEnable($var)
{
GPBUtil::checkBool($var);
$this->mute_enable = $var;
return $this;
}
/**
* Generated from protobuf field bool solo_enable = 3;
* @return bool
*/
public function getSoloEnable()
{
return $this->solo_enable;
}
/**
* Generated from protobuf field bool solo_enable = 3;
* @param bool $var
* @return $this
*/
public function setSoloEnable($var)
{
GPBUtil::checkBool($var);
$this->solo_enable = $var;
return $this;
}
/**
* Generated from protobuf field bool tone_enable = 4;
* @return bool
*/
public function getToneEnable()
{
return $this->tone_enable;
}
/**
* Generated from protobuf field bool tone_enable = 4;
* @param bool $var
* @return $this
*/
public function setToneEnable($var)
{
GPBUtil::checkBool($var);
$this->tone_enable = $var;
return $this;
}
}