rv.data.Cue */ class Cue extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field .rv.data.UUID uuid = 1; */ protected $uuid = null; /** * Generated from protobuf field string name = 2; */ protected $name = ''; /** * Generated from protobuf field .rv.data.Cue.CompletionTargetType completion_target_type = 3; */ protected $completion_target_type = 0; /** * Generated from protobuf field .rv.data.UUID completion_target_uuid = 4; */ protected $completion_target_uuid = null; /** * Generated from protobuf field .rv.data.Cue.CompletionActionType completion_action_type = 5; */ protected $completion_action_type = 0; /** * Generated from protobuf field .rv.data.UUID completion_action_uuid = 6; */ protected $completion_action_uuid = null; /** * Generated from protobuf field .rv.data.Cue.TimecodeTime trigger_time = 7; */ protected $trigger_time = null; /** * Generated from protobuf field .rv.data.HotKey hot_key = 8; */ protected $hot_key = null; /** * Generated from protobuf field repeated .rv.data.Action actions = 10; */ private $actions; /** * Generated from protobuf field repeated .rv.data.Cue.PendingImportsEntry pending_imports = 11; */ private $pending_imports; /** * Generated from protobuf field bool isEnabled = 12; */ protected $isEnabled = false; /** * Generated from protobuf field double completion_time = 13; */ 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 .rv.data.UUID uuid = 1; * @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 .rv.data.UUID uuid = 1; * @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 string name = 2; * @return string */ public function getName() { return $this->name; } /** * Generated from protobuf field string name = 2; * @param string $var * @return $this */ public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; } /** * Generated from protobuf field .rv.data.Cue.CompletionTargetType completion_target_type = 3; * @return int */ public function getCompletionTargetType() { return $this->completion_target_type; } /** * Generated from protobuf field .rv.data.Cue.CompletionTargetType completion_target_type = 3; * @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 .rv.data.UUID completion_target_uuid = 4; * @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 .rv.data.UUID completion_target_uuid = 4; * @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 .rv.data.Cue.CompletionActionType completion_action_type = 5; * @return int */ public function getCompletionActionType() { return $this->completion_action_type; } /** * Generated from protobuf field .rv.data.Cue.CompletionActionType completion_action_type = 5; * @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 .rv.data.UUID completion_action_uuid = 6; * @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 .rv.data.UUID completion_action_uuid = 6; * @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 .rv.data.Cue.TimecodeTime trigger_time = 7; * @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 .rv.data.Cue.TimecodeTime trigger_time = 7; * @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 .rv.data.HotKey hot_key = 8; * @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 .rv.data.HotKey hot_key = 8; * @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 repeated .rv.data.Action actions = 10; * @return \Google\Protobuf\Internal\RepeatedField */ public function getActions() { return $this->actions; } /** * Generated from protobuf field repeated .rv.data.Action actions = 10; * @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 repeated .rv.data.Cue.PendingImportsEntry pending_imports = 11; * @return \Google\Protobuf\Internal\RepeatedField */ public function getPendingImports() { return $this->pending_imports; } /** * Generated from protobuf field repeated .rv.data.Cue.PendingImportsEntry pending_imports = 11; * @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 bool isEnabled = 12; * @return bool */ public function getIsEnabled() { return $this->isEnabled; } /** * Generated from protobuf field bool isEnabled = 12; * @param bool $var * @return $this */ public function setIsEnabled($var) { GPBUtil::checkBool($var); $this->isEnabled = $var; return $this; } /** * Generated from protobuf field double completion_time = 13; * @return float */ public function getCompletionTime() { return $this->completion_time; } /** * Generated from protobuf field double completion_time = 13; * @param float $var * @return $this */ public function setCompletionTime($var) { GPBUtil::checkDouble($var); $this->completion_time = $var; return $this; } }