rv.data.Preferences.Groups
*/
class Groups extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field .rv.data.ProGroupsDocument groups = 1;
*/
protected $groups = null;
/**
* Generated from protobuf field .rv.data.ProLabelsDocument labels = 2;
*/
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 .rv.data.ProGroupsDocument groups = 1;
* @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 .rv.data.ProGroupsDocument groups = 1;
* @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 .rv.data.ProLabelsDocument labels = 2;
* @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 .rv.data.ProLabelsDocument labels = 2;
* @param \Rv\Data\ProLabelsDocument $var
* @return $this
*/
public function setLabels($var)
{
GPBUtil::checkMessage($var, \Rv\Data\ProLabelsDocument::class);
$this->labels = $var;
return $this;
}
}