- 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
309 lines
7.9 KiB
PHP
309 lines
7.9 KiB
PHP
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: proCore.proto
|
|
|
|
namespace Rv\Data\TriggerTransferRenderState;
|
|
|
|
use Google\Protobuf\Internal\GPBType;
|
|
use Google\Protobuf\Internal\RepeatedField;
|
|
use Google\Protobuf\Internal\GPBUtil;
|
|
|
|
/**
|
|
* Generated from protobuf message <code>rv.data.TriggerTransferRenderState.SlideState</code>
|
|
*/
|
|
class SlideState extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Presentation presentation = 1;</code>
|
|
*/
|
|
protected $presentation = null;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Playlist playlist = 2;</code>
|
|
*/
|
|
protected $playlist = null;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.UUID current_cue = 3;</code>
|
|
*/
|
|
protected $current_cue = null;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.UUID next_cue = 4;</code>
|
|
*/
|
|
protected $next_cue = null;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.TriggerTransferRenderState.AutoAdvanceState auto_advance = 5;</code>
|
|
*/
|
|
protected $auto_advance = null;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.TriggerTransferRenderState.TimelineState timeline_state = 6;</code>
|
|
*/
|
|
protected $timeline_state = null;
|
|
/**
|
|
* Generated from protobuf field <code>int32 current_cue_index = 7;</code>
|
|
*/
|
|
protected $current_cue_index = 0;
|
|
/**
|
|
* Generated from protobuf field <code>int32 current_playlist_index = 8;</code>
|
|
*/
|
|
protected $current_playlist_index = 0;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type \Rv\Data\Presentation $presentation
|
|
* @type \Rv\Data\Playlist $playlist
|
|
* @type \Rv\Data\UUID $current_cue
|
|
* @type \Rv\Data\UUID $next_cue
|
|
* @type \Rv\Data\TriggerTransferRenderState\AutoAdvanceState $auto_advance
|
|
* @type \Rv\Data\TriggerTransferRenderState\TimelineState $timeline_state
|
|
* @type int $current_cue_index
|
|
* @type int $current_playlist_index
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\ProCore::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Presentation presentation = 1;</code>
|
|
* @return \Rv\Data\Presentation|null
|
|
*/
|
|
public function getPresentation()
|
|
{
|
|
return $this->presentation;
|
|
}
|
|
|
|
public function hasPresentation()
|
|
{
|
|
return isset($this->presentation);
|
|
}
|
|
|
|
public function clearPresentation()
|
|
{
|
|
unset($this->presentation);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Presentation presentation = 1;</code>
|
|
* @param \Rv\Data\Presentation $var
|
|
* @return $this
|
|
*/
|
|
public function setPresentation($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\Presentation::class);
|
|
$this->presentation = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Playlist playlist = 2;</code>
|
|
* @return \Rv\Data\Playlist|null
|
|
*/
|
|
public function getPlaylist()
|
|
{
|
|
return $this->playlist;
|
|
}
|
|
|
|
public function hasPlaylist()
|
|
{
|
|
return isset($this->playlist);
|
|
}
|
|
|
|
public function clearPlaylist()
|
|
{
|
|
unset($this->playlist);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Playlist playlist = 2;</code>
|
|
* @param \Rv\Data\Playlist $var
|
|
* @return $this
|
|
*/
|
|
public function setPlaylist($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\Playlist::class);
|
|
$this->playlist = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.UUID current_cue = 3;</code>
|
|
* @return \Rv\Data\UUID|null
|
|
*/
|
|
public function getCurrentCue()
|
|
{
|
|
return $this->current_cue;
|
|
}
|
|
|
|
public function hasCurrentCue()
|
|
{
|
|
return isset($this->current_cue);
|
|
}
|
|
|
|
public function clearCurrentCue()
|
|
{
|
|
unset($this->current_cue);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.UUID current_cue = 3;</code>
|
|
* @param \Rv\Data\UUID $var
|
|
* @return $this
|
|
*/
|
|
public function setCurrentCue($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\UUID::class);
|
|
$this->current_cue = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.UUID next_cue = 4;</code>
|
|
* @return \Rv\Data\UUID|null
|
|
*/
|
|
public function getNextCue()
|
|
{
|
|
return $this->next_cue;
|
|
}
|
|
|
|
public function hasNextCue()
|
|
{
|
|
return isset($this->next_cue);
|
|
}
|
|
|
|
public function clearNextCue()
|
|
{
|
|
unset($this->next_cue);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.UUID next_cue = 4;</code>
|
|
* @param \Rv\Data\UUID $var
|
|
* @return $this
|
|
*/
|
|
public function setNextCue($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\UUID::class);
|
|
$this->next_cue = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.TriggerTransferRenderState.AutoAdvanceState auto_advance = 5;</code>
|
|
* @return \Rv\Data\TriggerTransferRenderState\AutoAdvanceState|null
|
|
*/
|
|
public function getAutoAdvance()
|
|
{
|
|
return $this->auto_advance;
|
|
}
|
|
|
|
public function hasAutoAdvance()
|
|
{
|
|
return isset($this->auto_advance);
|
|
}
|
|
|
|
public function clearAutoAdvance()
|
|
{
|
|
unset($this->auto_advance);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.TriggerTransferRenderState.AutoAdvanceState auto_advance = 5;</code>
|
|
* @param \Rv\Data\TriggerTransferRenderState\AutoAdvanceState $var
|
|
* @return $this
|
|
*/
|
|
public function setAutoAdvance($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\TriggerTransferRenderState\AutoAdvanceState::class);
|
|
$this->auto_advance = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.TriggerTransferRenderState.TimelineState timeline_state = 6;</code>
|
|
* @return \Rv\Data\TriggerTransferRenderState\TimelineState|null
|
|
*/
|
|
public function getTimelineState()
|
|
{
|
|
return $this->timeline_state;
|
|
}
|
|
|
|
public function hasTimelineState()
|
|
{
|
|
return isset($this->timeline_state);
|
|
}
|
|
|
|
public function clearTimelineState()
|
|
{
|
|
unset($this->timeline_state);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.TriggerTransferRenderState.TimelineState timeline_state = 6;</code>
|
|
* @param \Rv\Data\TriggerTransferRenderState\TimelineState $var
|
|
* @return $this
|
|
*/
|
|
public function setTimelineState($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\TriggerTransferRenderState\TimelineState::class);
|
|
$this->timeline_state = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>int32 current_cue_index = 7;</code>
|
|
* @return int
|
|
*/
|
|
public function getCurrentCueIndex()
|
|
{
|
|
return $this->current_cue_index;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>int32 current_cue_index = 7;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setCurrentCueIndex($var)
|
|
{
|
|
GPBUtil::checkInt32($var);
|
|
$this->current_cue_index = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>int32 current_playlist_index = 8;</code>
|
|
* @return int
|
|
*/
|
|
public function getCurrentPlaylistIndex()
|
|
{
|
|
return $this->current_playlist_index;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>int32 current_playlist_index = 8;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setCurrentPlaylistIndex($var)
|
|
{
|
|
GPBUtil::checkInt32($var);
|
|
$this->current_playlist_index = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|