rv.analytics.UI.TextInspector
*/
class TextInspector extends \Google\Protobuf\Internal\Message
{
protected $Component;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type \Rv\Analytics\UI\TextInspector\Shown $shown
* @type \Rv\Analytics\UI\TextInspector\Foreground $foreground
* @type \Rv\Analytics\UI\TextInspector\UnderlineColor $underline_color
* @type \Rv\Analytics\UI\TextInspector\BackgroundColor $background_color
* @type \Rv\Analytics\UI\TextInspector\ScrollingText $scrolling_text
* @type \Rv\Analytics\UI\TextInspector\LineTransform $line_transform
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\AnalyticsUI::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field .rv.analytics.UI.TextInspector.Shown shown = 1;
* @return \Rv\Analytics\UI\TextInspector\Shown|null
*/
public function getShown()
{
return $this->readOneof(1);
}
public function hasShown()
{
return $this->hasOneof(1);
}
/**
* Generated from protobuf field .rv.analytics.UI.TextInspector.Shown shown = 1;
* @param \Rv\Analytics\UI\TextInspector\Shown $var
* @return $this
*/
public function setShown($var)
{
GPBUtil::checkMessage($var, \Rv\Analytics\UI\TextInspector\Shown::class);
$this->writeOneof(1, $var);
return $this;
}
/**
* Generated from protobuf field .rv.analytics.UI.TextInspector.Foreground foreground = 2;
* @return \Rv\Analytics\UI\TextInspector\Foreground|null
*/
public function getForeground()
{
return $this->readOneof(2);
}
public function hasForeground()
{
return $this->hasOneof(2);
}
/**
* Generated from protobuf field .rv.analytics.UI.TextInspector.Foreground foreground = 2;
* @param \Rv\Analytics\UI\TextInspector\Foreground $var
* @return $this
*/
public function setForeground($var)
{
GPBUtil::checkMessage($var, \Rv\Analytics\UI\TextInspector\Foreground::class);
$this->writeOneof(2, $var);
return $this;
}
/**
* Generated from protobuf field .rv.analytics.UI.TextInspector.UnderlineColor underline_color = 3;
* @return \Rv\Analytics\UI\TextInspector\UnderlineColor|null
*/
public function getUnderlineColor()
{
return $this->readOneof(3);
}
public function hasUnderlineColor()
{
return $this->hasOneof(3);
}
/**
* Generated from protobuf field .rv.analytics.UI.TextInspector.UnderlineColor underline_color = 3;
* @param \Rv\Analytics\UI\TextInspector\UnderlineColor $var
* @return $this
*/
public function setUnderlineColor($var)
{
GPBUtil::checkMessage($var, \Rv\Analytics\UI\TextInspector\UnderlineColor::class);
$this->writeOneof(3, $var);
return $this;
}
/**
* Generated from protobuf field .rv.analytics.UI.TextInspector.BackgroundColor background_color = 4;
* @return \Rv\Analytics\UI\TextInspector\BackgroundColor|null
*/
public function getBackgroundColor()
{
return $this->readOneof(4);
}
public function hasBackgroundColor()
{
return $this->hasOneof(4);
}
/**
* Generated from protobuf field .rv.analytics.UI.TextInspector.BackgroundColor background_color = 4;
* @param \Rv\Analytics\UI\TextInspector\BackgroundColor $var
* @return $this
*/
public function setBackgroundColor($var)
{
GPBUtil::checkMessage($var, \Rv\Analytics\UI\TextInspector\BackgroundColor::class);
$this->writeOneof(4, $var);
return $this;
}
/**
* Generated from protobuf field .rv.analytics.UI.TextInspector.ScrollingText scrolling_text = 5;
* @return \Rv\Analytics\UI\TextInspector\ScrollingText|null
*/
public function getScrollingText()
{
return $this->readOneof(5);
}
public function hasScrollingText()
{
return $this->hasOneof(5);
}
/**
* Generated from protobuf field .rv.analytics.UI.TextInspector.ScrollingText scrolling_text = 5;
* @param \Rv\Analytics\UI\TextInspector\ScrollingText $var
* @return $this
*/
public function setScrollingText($var)
{
GPBUtil::checkMessage($var, \Rv\Analytics\UI\TextInspector\ScrollingText::class);
$this->writeOneof(5, $var);
return $this;
}
/**
* Generated from protobuf field .rv.analytics.UI.TextInspector.LineTransform line_transform = 6;
* @return \Rv\Analytics\UI\TextInspector\LineTransform|null
*/
public function getLineTransform()
{
return $this->readOneof(6);
}
public function hasLineTransform()
{
return $this->hasOneof(6);
}
/**
* Generated from protobuf field .rv.analytics.UI.TextInspector.LineTransform line_transform = 6;
* @param \Rv\Analytics\UI\TextInspector\LineTransform $var
* @return $this
*/
public function setLineTransform($var)
{
GPBUtil::checkMessage($var, \Rv\Analytics\UI\TextInspector\LineTransform::class);
$this->writeOneof(6, $var);
return $this;
}
/**
* @return string
*/
public function getComponent()
{
return $this->whichOneof("Component");
}
}