propresenter-php/php/generated/Rv/Data/Preferences/Groups.php
2026-03-01 16:12:17 +01:00

107 lines
2.5 KiB
PHP

<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: preferences.proto
namespace Rv\Data\Preferences;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Generated from protobuf message <code>rv.data.Preferences.Groups</code>
*/
class Groups extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field <code>.rv.data.ProGroupsDocument groups = 1;</code>
*/
protected $groups = null;
/**
* Generated from protobuf field <code>.rv.data.ProLabelsDocument labels = 2;</code>
*/
protected $labels = null;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type \Rv\Data\ProGroupsDocument $groups
* @type \Rv\Data\ProLabelsDocument $labels
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Preferences::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field <code>.rv.data.ProGroupsDocument groups = 1;</code>
* @return \Rv\Data\ProGroupsDocument|null
*/
public function getGroups()
{
return $this->groups;
}
public function hasGroups()
{
return isset($this->groups);
}
public function clearGroups()
{
unset($this->groups);
}
/**
* Generated from protobuf field <code>.rv.data.ProGroupsDocument groups = 1;</code>
* @param \Rv\Data\ProGroupsDocument $var
* @return $this
*/
public function setGroups($var)
{
GPBUtil::checkMessage($var, \Rv\Data\ProGroupsDocument::class);
$this->groups = $var;
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.ProLabelsDocument labels = 2;</code>
* @return \Rv\Data\ProLabelsDocument|null
*/
public function getLabels()
{
return $this->labels;
}
public function hasLabels()
{
return isset($this->labels);
}
public function clearLabels()
{
unset($this->labels);
}
/**
* Generated from protobuf field <code>.rv.data.ProLabelsDocument labels = 2;</code>
* @param \Rv\Data\ProLabelsDocument $var
* @return $this
*/
public function setLabels($var)
{
GPBUtil::checkMessage($var, \Rv\Data\ProLabelsDocument::class);
$this->labels = $var;
return $this;
}
}