rv.analytics.UI.CCLI.Report
*/
class Report extends \Google\Protobuf\Internal\Message
{
protected $Component;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type \Rv\Analytics\UI\CCLI\Report\Shown $shown
* @type \Rv\Analytics\UI\CCLI\Report\Reset $reset
* @type \Rv\Analytics\UI\CCLI\Report\Export $export
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\AnalyticsUI::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field .rv.analytics.UI.CCLI.Report.Shown shown = 1;
* @return \Rv\Analytics\UI\CCLI\Report\Shown|null
*/
public function getShown()
{
return $this->readOneof(1);
}
public function hasShown()
{
return $this->hasOneof(1);
}
/**
* Generated from protobuf field .rv.analytics.UI.CCLI.Report.Shown shown = 1;
* @param \Rv\Analytics\UI\CCLI\Report\Shown $var
* @return $this
*/
public function setShown($var)
{
GPBUtil::checkMessage($var, \Rv\Analytics\UI\CCLI\Report\Shown::class);
$this->writeOneof(1, $var);
return $this;
}
/**
* Generated from protobuf field .rv.analytics.UI.CCLI.Report.Reset reset = 2;
* @return \Rv\Analytics\UI\CCLI\Report\Reset|null
*/
public function getReset()
{
return $this->readOneof(2);
}
public function hasReset()
{
return $this->hasOneof(2);
}
/**
* Generated from protobuf field .rv.analytics.UI.CCLI.Report.Reset reset = 2;
* @param \Rv\Analytics\UI\CCLI\Report\Reset $var
* @return $this
*/
public function setReset($var)
{
GPBUtil::checkMessage($var, \Rv\Analytics\UI\CCLI\Report\Reset::class);
$this->writeOneof(2, $var);
return $this;
}
/**
* Generated from protobuf field .rv.analytics.UI.CCLI.Report.Export export = 3;
* @return \Rv\Analytics\UI\CCLI\Report\Export|null
*/
public function getExport()
{
return $this->readOneof(3);
}
public function hasExport()
{
return $this->hasOneof(3);
}
/**
* Generated from protobuf field .rv.analytics.UI.CCLI.Report.Export export = 3;
* @param \Rv\Analytics\UI\CCLI\Report\Export $var
* @return $this
*/
public function setExport($var)
{
GPBUtil::checkMessage($var, \Rv\Analytics\UI\CCLI\Report\Export::class);
$this->writeOneof(3, $var);
return $this;
}
/**
* @return string
*/
public function getComponent()
{
return $this->whichOneof("Component");
}
}