propresenter-php/generated/Rv/Data/DigitalAudio/Device/Routing.php
Thorsten Bus 22ba4aff7d refactor: make repo Composer-compatible by moving php/ to root and ref/ to doc/reference_samples
- Move src/, tests/, bin/, generated/, proto/, composer.json, composer.lock, phpunit.xml from php/ to repo root
- Move ref/ to doc/reference_samples/ for better organization
- Remove vendor/ from git tracking (now properly gitignored)
- Update all test file paths (dirname adjustments and ref/ -> doc/reference_samples/)
- Update all documentation paths (AGENTS.md, doc/*.md)
- Remove php.bak/ directory
- All 252 tests pass
2026-03-30 13:26:29 +02:00

151 lines
4.3 KiB
PHP

<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: digitalAudio.proto
namespace Rv\Data\DigitalAudio\Device;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Generated from protobuf message <code>rv.data.DigitalAudio.Device.Routing</code>
*/
class Routing extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field <code>repeated .rv.data.DigitalAudio.Device.Channel channels = 1;</code>
*/
private $channels;
/**
* Generated from protobuf field <code>repeated .rv.data.DigitalAudio.Device.Map map = 2;</code>
*/
private $map;
/**
* Generated from protobuf field <code>bool is_custom_map = 3;</code>
*/
protected $is_custom_map = false;
/**
* Generated from protobuf field <code>.rv.data.DigitalAudio.Device.Channel master_channel = 4;</code>
*/
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 <code>repeated .rv.data.DigitalAudio.Device.Channel channels = 1;</code>
* @return \Google\Protobuf\Internal\RepeatedField
*/
public function getChannels()
{
return $this->channels;
}
/**
* Generated from protobuf field <code>repeated .rv.data.DigitalAudio.Device.Channel channels = 1;</code>
* @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 <code>repeated .rv.data.DigitalAudio.Device.Map map = 2;</code>
* @return \Google\Protobuf\Internal\RepeatedField
*/
public function getMap()
{
return $this->map;
}
/**
* Generated from protobuf field <code>repeated .rv.data.DigitalAudio.Device.Map map = 2;</code>
* @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 <code>bool is_custom_map = 3;</code>
* @return bool
*/
public function getIsCustomMap()
{
return $this->is_custom_map;
}
/**
* Generated from protobuf field <code>bool is_custom_map = 3;</code>
* @param bool $var
* @return $this
*/
public function setIsCustomMap($var)
{
GPBUtil::checkBool($var);
$this->is_custom_map = $var;
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.DigitalAudio.Device.Channel master_channel = 4;</code>
* @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 <code>.rv.data.DigitalAudio.Device.Channel master_channel = 4;</code>
* @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;
}
}