rv.analytics.UI.Preferences */ class Preferences extends \Google\Protobuf\Internal\Message { protected $Component; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type \Rv\Analytics\UI\Preferences\CustomLogo $custom_logo * } */ public function __construct($data = NULL) { \GPBMetadata\AnalyticsUI::initOnce(); parent::__construct($data); } /** * Generated from protobuf field .rv.analytics.UI.Preferences.CustomLogo custom_logo = 1; * @return \Rv\Analytics\UI\Preferences\CustomLogo|null */ public function getCustomLogo() { return $this->readOneof(1); } public function hasCustomLogo() { return $this->hasOneof(1); } /** * Generated from protobuf field .rv.analytics.UI.Preferences.CustomLogo custom_logo = 1; * @param \Rv\Analytics\UI\Preferences\CustomLogo $var * @return $this */ public function setCustomLogo($var) { GPBUtil::checkMessage($var, \Rv\Analytics\UI\Preferences\CustomLogo::class); $this->writeOneof(1, $var); return $this; } /** * @return string */ public function getComponent() { return $this->whichOneof("Component"); } }