rv.analytics.UI.LowerRight.Props
*/
class Props extends \Google\Protobuf\Internal\Message
{
protected $Component;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type \Rv\Analytics\UI\LowerRight\Props\Shown $shown
* @type \Rv\Analytics\UI\LowerRight\Props\Transition $transition
* @type \Rv\Analytics\UI\LowerRight\Props\State $state
* @type \Rv\Analytics\UI\LowerRight\Props\Create $create
* @type \Rv\Analytics\UI\LowerRight\Props\Delete $delete
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\AnalyticsUI::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field .rv.analytics.UI.LowerRight.Props.Shown shown = 1;
* @return \Rv\Analytics\UI\LowerRight\Props\Shown|null
*/
public function getShown()
{
return $this->readOneof(1);
}
public function hasShown()
{
return $this->hasOneof(1);
}
/**
* Generated from protobuf field .rv.analytics.UI.LowerRight.Props.Shown shown = 1;
* @param \Rv\Analytics\UI\LowerRight\Props\Shown $var
* @return $this
*/
public function setShown($var)
{
GPBUtil::checkMessage($var, \Rv\Analytics\UI\LowerRight\Props\Shown::class);
$this->writeOneof(1, $var);
return $this;
}
/**
* Generated from protobuf field .rv.analytics.UI.LowerRight.Props.Transition transition = 2;
* @return \Rv\Analytics\UI\LowerRight\Props\Transition|null
*/
public function getTransition()
{
return $this->readOneof(2);
}
public function hasTransition()
{
return $this->hasOneof(2);
}
/**
* Generated from protobuf field .rv.analytics.UI.LowerRight.Props.Transition transition = 2;
* @param \Rv\Analytics\UI\LowerRight\Props\Transition $var
* @return $this
*/
public function setTransition($var)
{
GPBUtil::checkMessage($var, \Rv\Analytics\UI\LowerRight\Props\Transition::class);
$this->writeOneof(2, $var);
return $this;
}
/**
* Generated from protobuf field .rv.analytics.UI.LowerRight.Props.State state = 3;
* @return \Rv\Analytics\UI\LowerRight\Props\State|null
*/
public function getState()
{
return $this->readOneof(3);
}
public function hasState()
{
return $this->hasOneof(3);
}
/**
* Generated from protobuf field .rv.analytics.UI.LowerRight.Props.State state = 3;
* @param \Rv\Analytics\UI\LowerRight\Props\State $var
* @return $this
*/
public function setState($var)
{
GPBUtil::checkMessage($var, \Rv\Analytics\UI\LowerRight\Props\State::class);
$this->writeOneof(3, $var);
return $this;
}
/**
* Generated from protobuf field .rv.analytics.UI.LowerRight.Props.Create create = 4;
* @return \Rv\Analytics\UI\LowerRight\Props\Create|null
*/
public function getCreate()
{
return $this->readOneof(4);
}
public function hasCreate()
{
return $this->hasOneof(4);
}
/**
* Generated from protobuf field .rv.analytics.UI.LowerRight.Props.Create create = 4;
* @param \Rv\Analytics\UI\LowerRight\Props\Create $var
* @return $this
*/
public function setCreate($var)
{
GPBUtil::checkMessage($var, \Rv\Analytics\UI\LowerRight\Props\Create::class);
$this->writeOneof(4, $var);
return $this;
}
/**
* Generated from protobuf field .rv.analytics.UI.LowerRight.Props.Delete delete = 5;
* @return \Rv\Analytics\UI\LowerRight\Props\Delete|null
*/
public function getDelete()
{
return $this->readOneof(5);
}
public function hasDelete()
{
return $this->hasOneof(5);
}
/**
* Generated from protobuf field .rv.analytics.UI.LowerRight.Props.Delete delete = 5;
* @param \Rv\Analytics\UI\LowerRight\Props\Delete $var
* @return $this
*/
public function setDelete($var)
{
GPBUtil::checkMessage($var, \Rv\Analytics\UI\LowerRight\Props\Delete::class);
$this->writeOneof(5, $var);
return $this;
}
/**
* @return string
*/
public function getComponent()
{
return $this->whichOneof("Component");
}
}