210 lines
5.9 KiB
PHP
210 lines
5.9 KiB
PHP
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: analyticsUI.proto
|
|
|
|
namespace Rv\Analytics\UI;
|
|
|
|
use Google\Protobuf\Internal\GPBType;
|
|
use Google\Protobuf\Internal\RepeatedField;
|
|
use Google\Protobuf\Internal\GPBUtil;
|
|
|
|
/**
|
|
* Generated from protobuf message <code>rv.analytics.UI.TextInspector</code>
|
|
*/
|
|
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 <code>.rv.analytics.UI.TextInspector.Shown shown = 1;</code>
|
|
* @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 <code>.rv.analytics.UI.TextInspector.Shown shown = 1;</code>
|
|
* @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 <code>.rv.analytics.UI.TextInspector.Foreground foreground = 2;</code>
|
|
* @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 <code>.rv.analytics.UI.TextInspector.Foreground foreground = 2;</code>
|
|
* @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 <code>.rv.analytics.UI.TextInspector.UnderlineColor underline_color = 3;</code>
|
|
* @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 <code>.rv.analytics.UI.TextInspector.UnderlineColor underline_color = 3;</code>
|
|
* @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 <code>.rv.analytics.UI.TextInspector.BackgroundColor background_color = 4;</code>
|
|
* @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 <code>.rv.analytics.UI.TextInspector.BackgroundColor background_color = 4;</code>
|
|
* @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 <code>.rv.analytics.UI.TextInspector.ScrollingText scrolling_text = 5;</code>
|
|
* @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 <code>.rv.analytics.UI.TextInspector.ScrollingText scrolling_text = 5;</code>
|
|
* @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 <code>.rv.analytics.UI.TextInspector.LineTransform line_transform = 6;</code>
|
|
* @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 <code>.rv.analytics.UI.TextInspector.LineTransform line_transform = 6;</code>
|
|
* @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");
|
|
}
|
|
|
|
}
|
|
|