- 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
124 lines
2.9 KiB
PHP
124 lines
2.9 KiB
PHP
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: recording.proto
|
|
|
|
namespace Rv\Data\Recording;
|
|
|
|
use Google\Protobuf\Internal\GPBType;
|
|
use Google\Protobuf\Internal\RepeatedField;
|
|
use Google\Protobuf\Internal\GPBUtil;
|
|
|
|
/**
|
|
* Generated from protobuf message <code>rv.data.Recording.Preset</code>
|
|
*/
|
|
class Preset extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.UUID id = 1;</code>
|
|
*/
|
|
protected $id = null;
|
|
/**
|
|
* Generated from protobuf field <code>string name = 2;</code>
|
|
*/
|
|
protected $name = '';
|
|
/**
|
|
* Generated from protobuf field <code>repeated .rv.data.Recording.Stream streams = 3;</code>
|
|
*/
|
|
private $streams;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type \Rv\Data\UUID $id
|
|
* @type string $name
|
|
* @type array<\Rv\Data\Recording\Stream>|\Google\Protobuf\Internal\RepeatedField $streams
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\Recording::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.UUID id = 1;</code>
|
|
* @return \Rv\Data\UUID|null
|
|
*/
|
|
public function getId()
|
|
{
|
|
return $this->id;
|
|
}
|
|
|
|
public function hasId()
|
|
{
|
|
return isset($this->id);
|
|
}
|
|
|
|
public function clearId()
|
|
{
|
|
unset($this->id);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.UUID id = 1;</code>
|
|
* @param \Rv\Data\UUID $var
|
|
* @return $this
|
|
*/
|
|
public function setId($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\UUID::class);
|
|
$this->id = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string name = 2;</code>
|
|
* @return string
|
|
*/
|
|
public function getName()
|
|
{
|
|
return $this->name;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string name = 2;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setName($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->name = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>repeated .rv.data.Recording.Stream streams = 3;</code>
|
|
* @return \Google\Protobuf\Internal\RepeatedField
|
|
*/
|
|
public function getStreams()
|
|
{
|
|
return $this->streams;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>repeated .rv.data.Recording.Stream streams = 3;</code>
|
|
* @param array<\Rv\Data\Recording\Stream>|\Google\Protobuf\Internal\RepeatedField $var
|
|
* @return $this
|
|
*/
|
|
public function setStreams($var)
|
|
{
|
|
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Rv\Data\Recording\Stream::class);
|
|
$this->streams = $arr;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|