rv.data.Presentation.Timeline.Cue */ class Cue extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field double trigger_time = 1; */ protected $trigger_time = 0.0; /** * Generated from protobuf field string name = 3; */ protected $name = ''; protected $trigger_info; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type float $trigger_time * @type string $name * @type \Rv\Data\UUID $cue_id * @type \Rv\Data\Action $action * } */ public function __construct($data = NULL) { \GPBMetadata\Presentation::initOnce(); parent::__construct($data); } /** * Generated from protobuf field double trigger_time = 1; * @return float */ public function getTriggerTime() { return $this->trigger_time; } /** * Generated from protobuf field double trigger_time = 1; * @param float $var * @return $this */ public function setTriggerTime($var) { GPBUtil::checkDouble($var); $this->trigger_time = $var; return $this; } /** * Generated from protobuf field string name = 3; * @return string */ public function getName() { return $this->name; } /** * Generated from protobuf field string name = 3; * @param string $var * @return $this */ public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; } /** * Generated from protobuf field .rv.data.UUID cue_id = 2; * @return \Rv\Data\UUID|null */ public function getCueId() { return $this->readOneof(2); } public function hasCueId() { return $this->hasOneof(2); } /** * Generated from protobuf field .rv.data.UUID cue_id = 2; * @param \Rv\Data\UUID $var * @return $this */ public function setCueId($var) { GPBUtil::checkMessage($var, \Rv\Data\UUID::class); $this->writeOneof(2, $var); return $this; } /** * Generated from protobuf field .rv.data.Action action = 4; * @return \Rv\Data\Action|null */ public function getAction() { return $this->readOneof(4); } public function hasAction() { return $this->hasOneof(4); } /** * Generated from protobuf field .rv.data.Action action = 4; * @param \Rv\Data\Action $var * @return $this */ public function setAction($var) { GPBUtil::checkMessage($var, \Rv\Data\Action::class); $this->writeOneof(4, $var); return $this; } /** * @return string */ public function getTriggerInfo() { return $this->whichOneof("trigger_info"); } }