rv.data.DigitalAudio.Device.Routing */ class Routing extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field repeated .rv.data.DigitalAudio.Device.Channel channels = 1; */ private $channels; /** * Generated from protobuf field repeated .rv.data.DigitalAudio.Device.Map map = 2; */ private $map; /** * Generated from protobuf field bool is_custom_map = 3; */ protected $is_custom_map = false; /** * Generated from protobuf field .rv.data.DigitalAudio.Device.Channel master_channel = 4; */ protected $master_channel = null; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type array<\Rv\Data\DigitalAudio\Device\Channel>|\Google\Protobuf\Internal\RepeatedField $channels * @type array<\Rv\Data\DigitalAudio\Device\Map>|\Google\Protobuf\Internal\RepeatedField $map * @type bool $is_custom_map * @type \Rv\Data\DigitalAudio\Device\Channel $master_channel * } */ public function __construct($data = NULL) { \GPBMetadata\DigitalAudio::initOnce(); parent::__construct($data); } /** * Generated from protobuf field repeated .rv.data.DigitalAudio.Device.Channel channels = 1; * @return \Google\Protobuf\Internal\RepeatedField */ public function getChannels() { return $this->channels; } /** * Generated from protobuf field repeated .rv.data.DigitalAudio.Device.Channel channels = 1; * @param array<\Rv\Data\DigitalAudio\Device\Channel>|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setChannels($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Rv\Data\DigitalAudio\Device\Channel::class); $this->channels = $arr; return $this; } /** * Generated from protobuf field repeated .rv.data.DigitalAudio.Device.Map map = 2; * @return \Google\Protobuf\Internal\RepeatedField */ public function getMap() { return $this->map; } /** * Generated from protobuf field repeated .rv.data.DigitalAudio.Device.Map map = 2; * @param array<\Rv\Data\DigitalAudio\Device\Map>|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setMap($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Rv\Data\DigitalAudio\Device\Map::class); $this->map = $arr; return $this; } /** * Generated from protobuf field bool is_custom_map = 3; * @return bool */ public function getIsCustomMap() { return $this->is_custom_map; } /** * Generated from protobuf field bool is_custom_map = 3; * @param bool $var * @return $this */ public function setIsCustomMap($var) { GPBUtil::checkBool($var); $this->is_custom_map = $var; return $this; } /** * Generated from protobuf field .rv.data.DigitalAudio.Device.Channel master_channel = 4; * @return \Rv\Data\DigitalAudio\Device\Channel|null */ public function getMasterChannel() { return $this->master_channel; } public function hasMasterChannel() { return isset($this->master_channel); } public function clearMasterChannel() { unset($this->master_channel); } /** * Generated from protobuf field .rv.data.DigitalAudio.Device.Channel master_channel = 4; * @param \Rv\Data\DigitalAudio\Device\Channel $var * @return $this */ public function setMasterChannel($var) { GPBUtil::checkMessage($var, \Rv\Data\DigitalAudio\Device\Channel::class); $this->master_channel = $var; return $this; } }