rv.data.Audio.OutputSetup */ class OutputSetup extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field .rv.data.UUID uuid = 1; */ protected $uuid = null; /** * Generated from protobuf field .rv.data.Audio.Device audio_device = 2; */ protected $audio_device = null; /** * Generated from protobuf field repeated .rv.data.Audio.LogicalChannel logical_channels = 3; */ private $logical_channels; /** * Generated from protobuf field double audio_delay = 4; */ protected $audio_delay = 0.0; /** * Generated from protobuf field double master_level = 5; */ protected $master_level = 0.0; /** * Generated from protobuf field repeated .rv.data.Audio.PhysicalChannel physical_chanels = 6; */ private $physical_chanels; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type \Rv\Data\UUID $uuid * @type \Rv\Data\Audio\Device $audio_device * @type array<\Rv\Data\Audio\LogicalChannel>|\Google\Protobuf\Internal\RepeatedField $logical_channels * @type float $audio_delay * @type float $master_level * @type array<\Rv\Data\Audio\PhysicalChannel>|\Google\Protobuf\Internal\RepeatedField $physical_chanels * } */ public function __construct($data = NULL) { \GPBMetadata\Audio::initOnce(); parent::__construct($data); } /** * Generated from protobuf field .rv.data.UUID uuid = 1; * @return \Rv\Data\UUID|null */ public function getUuid() { return $this->uuid; } public function hasUuid() { return isset($this->uuid); } public function clearUuid() { unset($this->uuid); } /** * Generated from protobuf field .rv.data.UUID uuid = 1; * @param \Rv\Data\UUID $var * @return $this */ public function setUuid($var) { GPBUtil::checkMessage($var, \Rv\Data\UUID::class); $this->uuid = $var; return $this; } /** * Generated from protobuf field .rv.data.Audio.Device audio_device = 2; * @return \Rv\Data\Audio\Device|null */ public function getAudioDevice() { return $this->audio_device; } public function hasAudioDevice() { return isset($this->audio_device); } public function clearAudioDevice() { unset($this->audio_device); } /** * Generated from protobuf field .rv.data.Audio.Device audio_device = 2; * @param \Rv\Data\Audio\Device $var * @return $this */ public function setAudioDevice($var) { GPBUtil::checkMessage($var, \Rv\Data\Audio\Device::class); $this->audio_device = $var; return $this; } /** * Generated from protobuf field repeated .rv.data.Audio.LogicalChannel logical_channels = 3; * @return \Google\Protobuf\Internal\RepeatedField */ public function getLogicalChannels() { return $this->logical_channels; } /** * Generated from protobuf field repeated .rv.data.Audio.LogicalChannel logical_channels = 3; * @param array<\Rv\Data\Audio\LogicalChannel>|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setLogicalChannels($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Rv\Data\Audio\LogicalChannel::class); $this->logical_channels = $arr; 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 master_level = 5; * @return float */ public function getMasterLevel() { return $this->master_level; } /** * Generated from protobuf field double master_level = 5; * @param float $var * @return $this */ public function setMasterLevel($var) { GPBUtil::checkDouble($var); $this->master_level = $var; return $this; } /** * Generated from protobuf field repeated .rv.data.Audio.PhysicalChannel physical_chanels = 6; * @return \Google\Protobuf\Internal\RepeatedField */ public function getPhysicalChanels() { return $this->physical_chanels; } /** * Generated from protobuf field repeated .rv.data.Audio.PhysicalChannel physical_chanels = 6; * @param array<\Rv\Data\Audio\PhysicalChannel>|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setPhysicalChanels($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Rv\Data\Audio\PhysicalChannel::class); $this->physical_chanels = $arr; return $this; } }