198 lines
4.5 KiB
PHP
198 lines
4.5 KiB
PHP
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: slide.proto
|
|
|
|
namespace Rv\Data\Slide\Element;
|
|
|
|
use Google\Protobuf\Internal\GPBType;
|
|
use Google\Protobuf\Internal\RepeatedField;
|
|
use Google\Protobuf\Internal\GPBUtil;
|
|
|
|
/**
|
|
* Generated from protobuf message <code>rv.data.Slide.Element.Build</code>
|
|
*/
|
|
class Build extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.UUID uuid = 1;</code>
|
|
*/
|
|
protected $uuid = null;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.UUID elementUUID = 2;</code>
|
|
*/
|
|
protected $elementUUID = null;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Slide.Element.Build.Start start = 3;</code>
|
|
*/
|
|
protected $start = 0;
|
|
/**
|
|
* Generated from protobuf field <code>double delayTime = 4;</code>
|
|
*/
|
|
protected $delayTime = 0.0;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Transition transition = 5;</code>
|
|
*/
|
|
protected $transition = null;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type \Rv\Data\UUID $uuid
|
|
* @type \Rv\Data\UUID $elementUUID
|
|
* @type int $start
|
|
* @type float $delayTime
|
|
* @type \Rv\Data\Transition $transition
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\Slide::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>.rv.data.UUID elementUUID = 2;</code>
|
|
* @return \Rv\Data\UUID|null
|
|
*/
|
|
public function getElementUUID()
|
|
{
|
|
return $this->elementUUID;
|
|
}
|
|
|
|
public function hasElementUUID()
|
|
{
|
|
return isset($this->elementUUID);
|
|
}
|
|
|
|
public function clearElementUUID()
|
|
{
|
|
unset($this->elementUUID);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.UUID elementUUID = 2;</code>
|
|
* @param \Rv\Data\UUID $var
|
|
* @return $this
|
|
*/
|
|
public function setElementUUID($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\UUID::class);
|
|
$this->elementUUID = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Slide.Element.Build.Start start = 3;</code>
|
|
* @return int
|
|
*/
|
|
public function getStart()
|
|
{
|
|
return $this->start;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Slide.Element.Build.Start start = 3;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setStart($var)
|
|
{
|
|
GPBUtil::checkEnum($var, \Rv\Data\Slide\Element\Build\Start::class);
|
|
$this->start = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>double delayTime = 4;</code>
|
|
* @return float
|
|
*/
|
|
public function getDelayTime()
|
|
{
|
|
return $this->delayTime;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>double delayTime = 4;</code>
|
|
* @param float $var
|
|
* @return $this
|
|
*/
|
|
public function setDelayTime($var)
|
|
{
|
|
GPBUtil::checkDouble($var);
|
|
$this->delayTime = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Transition transition = 5;</code>
|
|
* @return \Rv\Data\Transition|null
|
|
*/
|
|
public function getTransition()
|
|
{
|
|
return $this->transition;
|
|
}
|
|
|
|
public function hasTransition()
|
|
{
|
|
return isset($this->transition);
|
|
}
|
|
|
|
public function clearTransition()
|
|
{
|
|
unset($this->transition);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Transition transition = 5;</code>
|
|
* @param \Rv\Data\Transition $var
|
|
* @return $this
|
|
*/
|
|
public function setTransition($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\Transition::class);
|
|
$this->transition = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|