rv.data.Media.Audio.Channel */ class Channel extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field uint32 index = 1; */ protected $index = 0; /** * Generated from protobuf field bool muted = 2; */ protected $muted = false; /** * Generated from protobuf field double volume = 3; */ protected $volume = 0.0; /** * Generated from protobuf field bool compress_limit = 4; */ protected $compress_limit = false; /** * Generated from protobuf field repeated .rv.data.Media.Audio.Channel.Output outputs = 5; */ private $outputs; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type int $index * @type bool $muted * @type float $volume * @type bool $compress_limit * @type array<\Rv\Data\Media\Audio\Channel\Output>|\Google\Protobuf\Internal\RepeatedField $outputs * } */ public function __construct($data = NULL) { \GPBMetadata\GraphicsData::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 muted = 2; * @return bool */ public function getMuted() { return $this->muted; } /** * Generated from protobuf field bool muted = 2; * @param bool $var * @return $this */ public function setMuted($var) { GPBUtil::checkBool($var); $this->muted = $var; return $this; } /** * Generated from protobuf field double volume = 3; * @return float */ public function getVolume() { return $this->volume; } /** * Generated from protobuf field double volume = 3; * @param float $var * @return $this */ public function setVolume($var) { GPBUtil::checkDouble($var); $this->volume = $var; return $this; } /** * Generated from protobuf field bool compress_limit = 4; * @return bool */ public function getCompressLimit() { return $this->compress_limit; } /** * Generated from protobuf field bool compress_limit = 4; * @param bool $var * @return $this */ public function setCompressLimit($var) { GPBUtil::checkBool($var); $this->compress_limit = $var; return $this; } /** * Generated from protobuf field repeated .rv.data.Media.Audio.Channel.Output outputs = 5; * @return \Google\Protobuf\Internal\RepeatedField */ public function getOutputs() { return $this->outputs; } /** * Generated from protobuf field repeated .rv.data.Media.Audio.Channel.Output outputs = 5; * @param array<\Rv\Data\Media\Audio\Channel\Output>|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setOutputs($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Rv\Data\Media\Audio\Channel\Output::class); $this->outputs = $arr; return $this; } }