rv.data.TimedPlayback.Sequence.SequenceItem
*/
class SequenceItem extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field .rv.data.UUID identifier = 1;
*/
protected $identifier = null;
/**
* Generated from protobuf field double time = 2;
*/
protected $time = 0.0;
/**
* Generated from protobuf field .rv.data.TriggerSource trigger_source = 3;
*/
protected $trigger_source = null;
/**
* Generated from protobuf field .rv.data.Action.ContentDestination content_destination = 4;
*/
protected $content_destination = 0;
/**
* Generated from protobuf field double end_time = 7;
*/
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 .rv.data.UUID identifier = 1;
* @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 .rv.data.UUID identifier = 1;
* @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 double time = 2;
* @return float
*/
public function getTime()
{
return $this->time;
}
/**
* Generated from protobuf field double time = 2;
* @param float $var
* @return $this
*/
public function setTime($var)
{
GPBUtil::checkDouble($var);
$this->time = $var;
return $this;
}
/**
* Generated from protobuf field .rv.data.TriggerSource trigger_source = 3;
* @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 .rv.data.TriggerSource trigger_source = 3;
* @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 .rv.data.Action.ContentDestination content_destination = 4;
* @return int
*/
public function getContentDestination()
{
return $this->content_destination;
}
/**
* Generated from protobuf field .rv.data.Action.ContentDestination content_destination = 4;
* @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 double end_time = 7;
* @return float
*/
public function getEndTime()
{
return $this->end_time;
}
/**
* Generated from protobuf field double end_time = 7;
* @param float $var
* @return $this
*/
public function setEndTime($var)
{
GPBUtil::checkDouble($var);
$this->end_time = $var;
return $this;
}
/**
* Generated from protobuf field .rv.data.Cue cue = 5;
* @return \Rv\Data\Cue|null
*/
public function getCue()
{
return $this->readOneof(5);
}
public function hasCue()
{
return $this->hasOneof(5);
}
/**
* Generated from protobuf field .rv.data.Cue cue = 5;
* @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 .rv.data.Action action = 6;
* @return \Rv\Data\Action|null
*/
public function getAction()
{
return $this->readOneof(6);
}
public function hasAction()
{
return $this->hasOneof(6);
}
/**
* Generated from protobuf field .rv.data.Action action = 6;
* @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");
}
}