rv.data.DigitalAudio.Device.Channel */ class Channel extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field bool mute_enable = 1; */ protected $mute_enable = false; /** * Generated from protobuf field bool solo_enable = 2; */ protected $solo_enable = false; /** * Generated from protobuf field bool tone_enable = 3; */ protected $tone_enable = false; /** * Generated from protobuf field double audio_delay = 4; */ protected $audio_delay = 0.0; /** * Generated from protobuf field double level = 5; */ protected $level = 0.0; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type bool $mute_enable * @type bool $solo_enable * @type bool $tone_enable * @type float $audio_delay * @type float $level * } */ public function __construct($data = NULL) { \GPBMetadata\DigitalAudio::initOnce(); parent::__construct($data); } /** * Generated from protobuf field bool mute_enable = 1; * @return bool */ public function getMuteEnable() { return $this->mute_enable; } /** * Generated from protobuf field bool mute_enable = 1; * @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 = 2; * @return bool */ public function getSoloEnable() { return $this->solo_enable; } /** * Generated from protobuf field bool solo_enable = 2; * @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 = 3; * @return bool */ public function getToneEnable() { return $this->tone_enable; } /** * Generated from protobuf field bool tone_enable = 3; * @param bool $var * @return $this */ public function setToneEnable($var) { GPBUtil::checkBool($var); $this->tone_enable = $var; return $this; } /** * Generated from protobuf field double audio_delay = 4; * @return float */ public function getAudioDelay() { return $this->audio_delay; } /** * Generated from protobuf field double audio_delay = 4; * @param float $var * @return $this */ public function setAudioDelay($var) { GPBUtil::checkDouble($var); $this->audio_delay = $var; return $this; } /** * Generated from protobuf field double level = 5; * @return float */ public function getLevel() { return $this->level; } /** * Generated from protobuf field double level = 5; * @param float $var * @return $this */ public function setLevel($var) { GPBUtil::checkDouble($var); $this->level = $var; return $this; } }