rv.data.API_v1_Transition
*/
class API_v1_Transition extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field string uuid = 1;
*/
protected $uuid = '';
/**
* Generated from protobuf field string name = 2;
*/
protected $name = '';
/**
* Generated from protobuf field double duration = 3;
*/
protected $duration = 0.0;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type string $uuid
* @type string $name
* @type float $duration
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\ProApiV1Prop::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field string uuid = 1;
* @return string
*/
public function getUuid()
{
return $this->uuid;
}
/**
* Generated from protobuf field string uuid = 1;
* @param string $var
* @return $this
*/
public function setUuid($var)
{
GPBUtil::checkString($var, True);
$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 double duration = 3;
* @return float
*/
public function getDuration()
{
return $this->duration;
}
/**
* Generated from protobuf field double duration = 3;
* @param float $var
* @return $this
*/
public function setDuration($var)
{
GPBUtil::checkDouble($var);
$this->duration = $var;
return $this;
}
}