propresenter-php/generated/Rv/Data/TimedPlayback/Sequence/SequenceItem.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

253 lines
5.9 KiB
PHP

<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: timedPlayback.proto
namespace Rv\Data\TimedPlayback\Sequence;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Generated from protobuf message <code>rv.data.TimedPlayback.Sequence.SequenceItem</code>
*/
class SequenceItem extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field <code>.rv.data.UUID identifier = 1;</code>
*/
protected $identifier = null;
/**
* Generated from protobuf field <code>double time = 2;</code>
*/
protected $time = 0.0;
/**
* Generated from protobuf field <code>.rv.data.TriggerSource trigger_source = 3;</code>
*/
protected $trigger_source = null;
/**
* Generated from protobuf field <code>.rv.data.Action.ContentDestination content_destination = 4;</code>
*/
protected $content_destination = 0;
/**
* Generated from protobuf field <code>double end_time = 7;</code>
*/
protected $end_time = 0.0;
protected $Item;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type \Rv\Data\UUID $identifier
* @type float $time
* @type \Rv\Data\TriggerSource $trigger_source
* @type int $content_destination
* @type float $end_time
* @type \Rv\Data\Cue $cue
* @type \Rv\Data\Action $action
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\TimedPlayback::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field <code>.rv.data.UUID identifier = 1;</code>
* @return \Rv\Data\UUID|null
*/
public function getIdentifier()
{
return $this->identifier;
}
public function hasIdentifier()
{
return isset($this->identifier);
}
public function clearIdentifier()
{
unset($this->identifier);
}
/**
* Generated from protobuf field <code>.rv.data.UUID identifier = 1;</code>
* @param \Rv\Data\UUID $var
* @return $this
*/
public function setIdentifier($var)
{
GPBUtil::checkMessage($var, \Rv\Data\UUID::class);
$this->identifier = $var;
return $this;
}
/**
* Generated from protobuf field <code>double time = 2;</code>
* @return float
*/
public function getTime()
{
return $this->time;
}
/**
* Generated from protobuf field <code>double time = 2;</code>
* @param float $var
* @return $this
*/
public function setTime($var)
{
GPBUtil::checkDouble($var);
$this->time = $var;
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.TriggerSource trigger_source = 3;</code>
* @return \Rv\Data\TriggerSource|null
*/
public function getTriggerSource()
{
return $this->trigger_source;
}
public function hasTriggerSource()
{
return isset($this->trigger_source);
}
public function clearTriggerSource()
{
unset($this->trigger_source);
}
/**
* Generated from protobuf field <code>.rv.data.TriggerSource trigger_source = 3;</code>
* @param \Rv\Data\TriggerSource $var
* @return $this
*/
public function setTriggerSource($var)
{
GPBUtil::checkMessage($var, \Rv\Data\TriggerSource::class);
$this->trigger_source = $var;
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.Action.ContentDestination content_destination = 4;</code>
* @return int
*/
public function getContentDestination()
{
return $this->content_destination;
}
/**
* Generated from protobuf field <code>.rv.data.Action.ContentDestination content_destination = 4;</code>
* @param int $var
* @return $this
*/
public function setContentDestination($var)
{
GPBUtil::checkEnum($var, \Rv\Data\Action\ContentDestination::class);
$this->content_destination = $var;
return $this;
}
/**
* Generated from protobuf field <code>double end_time = 7;</code>
* @return float
*/
public function getEndTime()
{
return $this->end_time;
}
/**
* Generated from protobuf field <code>double end_time = 7;</code>
* @param float $var
* @return $this
*/
public function setEndTime($var)
{
GPBUtil::checkDouble($var);
$this->end_time = $var;
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.Cue cue = 5;</code>
* @return \Rv\Data\Cue|null
*/
public function getCue()
{
return $this->readOneof(5);
}
public function hasCue()
{
return $this->hasOneof(5);
}
/**
* Generated from protobuf field <code>.rv.data.Cue cue = 5;</code>
* @param \Rv\Data\Cue $var
* @return $this
*/
public function setCue($var)
{
GPBUtil::checkMessage($var, \Rv\Data\Cue::class);
$this->writeOneof(5, $var);
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.Action action = 6;</code>
* @return \Rv\Data\Action|null
*/
public function getAction()
{
return $this->readOneof(6);
}
public function hasAction()
{
return $this->hasOneof(6);
}
/**
* Generated from protobuf field <code>.rv.data.Action action = 6;</code>
* @param \Rv\Data\Action $var
* @return $this
*/
public function setAction($var)
{
GPBUtil::checkMessage($var, \Rv\Data\Action::class);
$this->writeOneof(6, $var);
return $this;
}
/**
* @return string
*/
public function getItem()
{
return $this->whichOneof("Item");
}
}