- 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
190 lines
4.7 KiB
PHP
190 lines
4.7 KiB
PHP
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: proApiV1Capture.proto
|
|
|
|
namespace Rv\Data;
|
|
|
|
use Google\Protobuf\Internal\GPBType;
|
|
use Google\Protobuf\Internal\RepeatedField;
|
|
use Google\Protobuf\Internal\GPBUtil;
|
|
|
|
/**
|
|
* Generated from protobuf message <code>rv.data.API_v1_CaptureSettings</code>
|
|
*/
|
|
class API_v1_CaptureSettings extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.UUID source = 1;</code>
|
|
*/
|
|
protected $source = null;
|
|
/**
|
|
* Generated from protobuf field <code>repeated .rv.data.API_v1_AudioRouting audio_routing = 2;</code>
|
|
*/
|
|
private $audio_routing;
|
|
protected $Destination;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type \Rv\Data\UUID $source
|
|
* @type array<\Rv\Data\API_v1_AudioRouting>|\Google\Protobuf\Internal\RepeatedField $audio_routing
|
|
* @type \Rv\Data\API_v1_DiskCapture $disk
|
|
* @type \Rv\Data\API_v1_RTMPCapture $rtmp
|
|
* @type \Rv\Data\API_v1_ResiCapture $resi
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\ProApiV1Capture::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.UUID source = 1;</code>
|
|
* @return \Rv\Data\UUID|null
|
|
*/
|
|
public function getSource()
|
|
{
|
|
return $this->source;
|
|
}
|
|
|
|
public function hasSource()
|
|
{
|
|
return isset($this->source);
|
|
}
|
|
|
|
public function clearSource()
|
|
{
|
|
unset($this->source);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.UUID source = 1;</code>
|
|
* @param \Rv\Data\UUID $var
|
|
* @return $this
|
|
*/
|
|
public function setSource($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\UUID::class);
|
|
$this->source = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>repeated .rv.data.API_v1_AudioRouting audio_routing = 2;</code>
|
|
* @return \Google\Protobuf\Internal\RepeatedField
|
|
*/
|
|
public function getAudioRouting()
|
|
{
|
|
return $this->audio_routing;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>repeated .rv.data.API_v1_AudioRouting audio_routing = 2;</code>
|
|
* @param array<\Rv\Data\API_v1_AudioRouting>|\Google\Protobuf\Internal\RepeatedField $var
|
|
* @return $this
|
|
*/
|
|
public function setAudioRouting($var)
|
|
{
|
|
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Rv\Data\API_v1_AudioRouting::class);
|
|
$this->audio_routing = $arr;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_DiskCapture disk = 3;</code>
|
|
* @return \Rv\Data\API_v1_DiskCapture|null
|
|
*/
|
|
public function getDisk()
|
|
{
|
|
return $this->readOneof(3);
|
|
}
|
|
|
|
public function hasDisk()
|
|
{
|
|
return $this->hasOneof(3);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_DiskCapture disk = 3;</code>
|
|
* @param \Rv\Data\API_v1_DiskCapture $var
|
|
* @return $this
|
|
*/
|
|
public function setDisk($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\API_v1_DiskCapture::class);
|
|
$this->writeOneof(3, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_RTMPCapture rtmp = 4;</code>
|
|
* @return \Rv\Data\API_v1_RTMPCapture|null
|
|
*/
|
|
public function getRtmp()
|
|
{
|
|
return $this->readOneof(4);
|
|
}
|
|
|
|
public function hasRtmp()
|
|
{
|
|
return $this->hasOneof(4);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_RTMPCapture rtmp = 4;</code>
|
|
* @param \Rv\Data\API_v1_RTMPCapture $var
|
|
* @return $this
|
|
*/
|
|
public function setRtmp($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\API_v1_RTMPCapture::class);
|
|
$this->writeOneof(4, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_ResiCapture resi = 5;</code>
|
|
* @return \Rv\Data\API_v1_ResiCapture|null
|
|
*/
|
|
public function getResi()
|
|
{
|
|
return $this->readOneof(5);
|
|
}
|
|
|
|
public function hasResi()
|
|
{
|
|
return $this->hasOneof(5);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_ResiCapture resi = 5;</code>
|
|
* @param \Rv\Data\API_v1_ResiCapture $var
|
|
* @return $this
|
|
*/
|
|
public function setResi($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\API_v1_ResiCapture::class);
|
|
$this->writeOneof(5, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getDestination()
|
|
{
|
|
return $this->whichOneof("Destination");
|
|
}
|
|
|
|
}
|
|
|