98 lines
2.3 KiB
PHP
98 lines
2.3 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.Placeholder</code>
|
|
*/
|
|
class Placeholder extends \Google\Protobuf\Internal\Message
|
|
{
|
|
protected $Component;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type \Rv\Analytics\UI\Placeholder\Link $link
|
|
* @type \Rv\Analytics\UI\Placeholder\Unlink $unlink
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\AnalyticsUI::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.UI.Placeholder.Link link = 1;</code>
|
|
* @return \Rv\Analytics\UI\Placeholder\Link|null
|
|
*/
|
|
public function getLink()
|
|
{
|
|
return $this->readOneof(1);
|
|
}
|
|
|
|
public function hasLink()
|
|
{
|
|
return $this->hasOneof(1);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.UI.Placeholder.Link link = 1;</code>
|
|
* @param \Rv\Analytics\UI\Placeholder\Link $var
|
|
* @return $this
|
|
*/
|
|
public function setLink($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Analytics\UI\Placeholder\Link::class);
|
|
$this->writeOneof(1, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.UI.Placeholder.Unlink unlink = 2;</code>
|
|
* @return \Rv\Analytics\UI\Placeholder\Unlink|null
|
|
*/
|
|
public function getUnlink()
|
|
{
|
|
return $this->readOneof(2);
|
|
}
|
|
|
|
public function hasUnlink()
|
|
{
|
|
return $this->hasOneof(2);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.UI.Placeholder.Unlink unlink = 2;</code>
|
|
* @param \Rv\Analytics\UI\Placeholder\Unlink $var
|
|
* @return $this
|
|
*/
|
|
public function setUnlink($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Analytics\UI\Placeholder\Unlink::class);
|
|
$this->writeOneof(2, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getComponent()
|
|
{
|
|
return $this->whichOneof("Component");
|
|
}
|
|
|
|
}
|
|
|