407 lines
11 KiB
PHP
407 lines
11 KiB
PHP
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: cue.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.Cue</code>
|
|
*/
|
|
class Cue extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.UUID uuid = 1;</code>
|
|
*/
|
|
protected $uuid = null;
|
|
/**
|
|
* Generated from protobuf field <code>string name = 2;</code>
|
|
*/
|
|
protected $name = '';
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Cue.CompletionTargetType completion_target_type = 3;</code>
|
|
*/
|
|
protected $completion_target_type = 0;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.UUID completion_target_uuid = 4;</code>
|
|
*/
|
|
protected $completion_target_uuid = null;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Cue.CompletionActionType completion_action_type = 5;</code>
|
|
*/
|
|
protected $completion_action_type = 0;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.UUID completion_action_uuid = 6;</code>
|
|
*/
|
|
protected $completion_action_uuid = null;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Cue.TimecodeTime trigger_time = 7;</code>
|
|
*/
|
|
protected $trigger_time = null;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.HotKey hot_key = 8;</code>
|
|
*/
|
|
protected $hot_key = null;
|
|
/**
|
|
* Generated from protobuf field <code>repeated .rv.data.Action actions = 10;</code>
|
|
*/
|
|
private $actions;
|
|
/**
|
|
* Generated from protobuf field <code>repeated .rv.data.Cue.PendingImportsEntry pending_imports = 11;</code>
|
|
*/
|
|
private $pending_imports;
|
|
/**
|
|
* Generated from protobuf field <code>bool isEnabled = 12;</code>
|
|
*/
|
|
protected $isEnabled = false;
|
|
/**
|
|
* Generated from protobuf field <code>double completion_time = 13;</code>
|
|
*/
|
|
protected $completion_time = 0.0;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type \Rv\Data\UUID $uuid
|
|
* @type string $name
|
|
* @type int $completion_target_type
|
|
* @type \Rv\Data\UUID $completion_target_uuid
|
|
* @type int $completion_action_type
|
|
* @type \Rv\Data\UUID $completion_action_uuid
|
|
* @type \Rv\Data\Cue\TimecodeTime $trigger_time
|
|
* @type \Rv\Data\HotKey $hot_key
|
|
* @type array<\Rv\Data\Action>|\Google\Protobuf\Internal\RepeatedField $actions
|
|
* @type array<\Rv\Data\Cue\PendingImportsEntry>|\Google\Protobuf\Internal\RepeatedField $pending_imports
|
|
* @type bool $isEnabled
|
|
* @type float $completion_time
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\Cue::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.UUID uuid = 1;</code>
|
|
* @return \Rv\Data\UUID|null
|
|
*/
|
|
public function getUuid()
|
|
{
|
|
return $this->uuid;
|
|
}
|
|
|
|
public function hasUuid()
|
|
{
|
|
return isset($this->uuid);
|
|
}
|
|
|
|
public function clearUuid()
|
|
{
|
|
unset($this->uuid);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.UUID uuid = 1;</code>
|
|
* @param \Rv\Data\UUID $var
|
|
* @return $this
|
|
*/
|
|
public function setUuid($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\UUID::class);
|
|
$this->uuid = $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>.rv.data.Cue.CompletionTargetType completion_target_type = 3;</code>
|
|
* @return int
|
|
*/
|
|
public function getCompletionTargetType()
|
|
{
|
|
return $this->completion_target_type;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Cue.CompletionTargetType completion_target_type = 3;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setCompletionTargetType($var)
|
|
{
|
|
GPBUtil::checkEnum($var, \Rv\Data\Cue\CompletionTargetType::class);
|
|
$this->completion_target_type = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.UUID completion_target_uuid = 4;</code>
|
|
* @return \Rv\Data\UUID|null
|
|
*/
|
|
public function getCompletionTargetUuid()
|
|
{
|
|
return $this->completion_target_uuid;
|
|
}
|
|
|
|
public function hasCompletionTargetUuid()
|
|
{
|
|
return isset($this->completion_target_uuid);
|
|
}
|
|
|
|
public function clearCompletionTargetUuid()
|
|
{
|
|
unset($this->completion_target_uuid);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.UUID completion_target_uuid = 4;</code>
|
|
* @param \Rv\Data\UUID $var
|
|
* @return $this
|
|
*/
|
|
public function setCompletionTargetUuid($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\UUID::class);
|
|
$this->completion_target_uuid = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Cue.CompletionActionType completion_action_type = 5;</code>
|
|
* @return int
|
|
*/
|
|
public function getCompletionActionType()
|
|
{
|
|
return $this->completion_action_type;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Cue.CompletionActionType completion_action_type = 5;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setCompletionActionType($var)
|
|
{
|
|
GPBUtil::checkEnum($var, \Rv\Data\Cue\CompletionActionType::class);
|
|
$this->completion_action_type = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.UUID completion_action_uuid = 6;</code>
|
|
* @return \Rv\Data\UUID|null
|
|
*/
|
|
public function getCompletionActionUuid()
|
|
{
|
|
return $this->completion_action_uuid;
|
|
}
|
|
|
|
public function hasCompletionActionUuid()
|
|
{
|
|
return isset($this->completion_action_uuid);
|
|
}
|
|
|
|
public function clearCompletionActionUuid()
|
|
{
|
|
unset($this->completion_action_uuid);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.UUID completion_action_uuid = 6;</code>
|
|
* @param \Rv\Data\UUID $var
|
|
* @return $this
|
|
*/
|
|
public function setCompletionActionUuid($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\UUID::class);
|
|
$this->completion_action_uuid = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Cue.TimecodeTime trigger_time = 7;</code>
|
|
* @return \Rv\Data\Cue\TimecodeTime|null
|
|
*/
|
|
public function getTriggerTime()
|
|
{
|
|
return $this->trigger_time;
|
|
}
|
|
|
|
public function hasTriggerTime()
|
|
{
|
|
return isset($this->trigger_time);
|
|
}
|
|
|
|
public function clearTriggerTime()
|
|
{
|
|
unset($this->trigger_time);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Cue.TimecodeTime trigger_time = 7;</code>
|
|
* @param \Rv\Data\Cue\TimecodeTime $var
|
|
* @return $this
|
|
*/
|
|
public function setTriggerTime($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\Cue\TimecodeTime::class);
|
|
$this->trigger_time = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.HotKey hot_key = 8;</code>
|
|
* @return \Rv\Data\HotKey|null
|
|
*/
|
|
public function getHotKey()
|
|
{
|
|
return $this->hot_key;
|
|
}
|
|
|
|
public function hasHotKey()
|
|
{
|
|
return isset($this->hot_key);
|
|
}
|
|
|
|
public function clearHotKey()
|
|
{
|
|
unset($this->hot_key);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.HotKey hot_key = 8;</code>
|
|
* @param \Rv\Data\HotKey $var
|
|
* @return $this
|
|
*/
|
|
public function setHotKey($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\HotKey::class);
|
|
$this->hot_key = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>repeated .rv.data.Action actions = 10;</code>
|
|
* @return \Google\Protobuf\Internal\RepeatedField
|
|
*/
|
|
public function getActions()
|
|
{
|
|
return $this->actions;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>repeated .rv.data.Action actions = 10;</code>
|
|
* @param array<\Rv\Data\Action>|\Google\Protobuf\Internal\RepeatedField $var
|
|
* @return $this
|
|
*/
|
|
public function setActions($var)
|
|
{
|
|
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Rv\Data\Action::class);
|
|
$this->actions = $arr;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>repeated .rv.data.Cue.PendingImportsEntry pending_imports = 11;</code>
|
|
* @return \Google\Protobuf\Internal\RepeatedField
|
|
*/
|
|
public function getPendingImports()
|
|
{
|
|
return $this->pending_imports;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>repeated .rv.data.Cue.PendingImportsEntry pending_imports = 11;</code>
|
|
* @param array<\Rv\Data\Cue\PendingImportsEntry>|\Google\Protobuf\Internal\RepeatedField $var
|
|
* @return $this
|
|
*/
|
|
public function setPendingImports($var)
|
|
{
|
|
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Rv\Data\Cue\PendingImportsEntry::class);
|
|
$this->pending_imports = $arr;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool isEnabled = 12;</code>
|
|
* @return bool
|
|
*/
|
|
public function getIsEnabled()
|
|
{
|
|
return $this->isEnabled;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool isEnabled = 12;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setIsEnabled($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->isEnabled = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>double completion_time = 13;</code>
|
|
* @return float
|
|
*/
|
|
public function getCompletionTime()
|
|
{
|
|
return $this->completion_time;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>double completion_time = 13;</code>
|
|
* @param float $var
|
|
* @return $this
|
|
*/
|
|
public function setCompletionTime($var)
|
|
{
|
|
GPBUtil::checkDouble($var);
|
|
$this->completion_time = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|