- 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
134 lines
3.3 KiB
PHP
134 lines
3.3 KiB
PHP
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: audio.proto
|
|
|
|
namespace Rv\Data\Audio;
|
|
|
|
use Google\Protobuf\Internal\GPBType;
|
|
use Google\Protobuf\Internal\RepeatedField;
|
|
use Google\Protobuf\Internal\GPBUtil;
|
|
|
|
/**
|
|
* Generated from protobuf message <code>rv.data.Audio.SettingsDocument</code>
|
|
*/
|
|
class SettingsDocument extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Audio.OutputSetup output_setup = 1;</code>
|
|
*/
|
|
protected $output_setup = null;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Audio.Device monitor_device = 2;</code>
|
|
*/
|
|
protected $monitor_device = null;
|
|
/**
|
|
* Generated from protobuf field <code>bool monitor_on_mains = 3;</code>
|
|
*/
|
|
protected $monitor_on_mains = false;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type \Rv\Data\Audio\OutputSetup $output_setup
|
|
* @type \Rv\Data\Audio\Device $monitor_device
|
|
* @type bool $monitor_on_mains
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\Audio::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Audio.OutputSetup output_setup = 1;</code>
|
|
* @return \Rv\Data\Audio\OutputSetup|null
|
|
*/
|
|
public function getOutputSetup()
|
|
{
|
|
return $this->output_setup;
|
|
}
|
|
|
|
public function hasOutputSetup()
|
|
{
|
|
return isset($this->output_setup);
|
|
}
|
|
|
|
public function clearOutputSetup()
|
|
{
|
|
unset($this->output_setup);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Audio.OutputSetup output_setup = 1;</code>
|
|
* @param \Rv\Data\Audio\OutputSetup $var
|
|
* @return $this
|
|
*/
|
|
public function setOutputSetup($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\Audio\OutputSetup::class);
|
|
$this->output_setup = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Audio.Device monitor_device = 2;</code>
|
|
* @return \Rv\Data\Audio\Device|null
|
|
*/
|
|
public function getMonitorDevice()
|
|
{
|
|
return $this->monitor_device;
|
|
}
|
|
|
|
public function hasMonitorDevice()
|
|
{
|
|
return isset($this->monitor_device);
|
|
}
|
|
|
|
public function clearMonitorDevice()
|
|
{
|
|
unset($this->monitor_device);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Audio.Device monitor_device = 2;</code>
|
|
* @param \Rv\Data\Audio\Device $var
|
|
* @return $this
|
|
*/
|
|
public function setMonitorDevice($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\Audio\Device::class);
|
|
$this->monitor_device = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool monitor_on_mains = 3;</code>
|
|
* @return bool
|
|
*/
|
|
public function getMonitorOnMains()
|
|
{
|
|
return $this->monitor_on_mains;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool monitor_on_mains = 3;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setMonitorOnMains($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->monitor_on_mains = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|