- Move src/, tests/, bin/, generated/, proto/, composer.json, composer.lock, phpunit.xml from php/ to repo root - Move ref/ to doc/reference_samples/ for better organization - Remove vendor/ from git tracking (now properly gitignored) - Update all test file paths (dirname adjustments and ref/ -> doc/reference_samples/) - Update all documentation paths (AGENTS.md, doc/*.md) - Remove php.bak/ directory - All 252 tests pass
210 lines
5.3 KiB
PHP
210 lines
5.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.NetworkGroup</code>
|
|
*/
|
|
class NetworkGroup extends \Google\Protobuf\Internal\Message
|
|
{
|
|
protected $Component;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type \Rv\Analytics\UI\NetworkGroup\Create $create
|
|
* @type \Rv\Analytics\UI\NetworkGroup\Add $add
|
|
* @type \Rv\Analytics\UI\NetworkGroup\Join $join
|
|
* @type \Rv\Analytics\UI\NetworkGroup\Invite $invite
|
|
* @type \Rv\Analytics\UI\NetworkGroup\Leave $leave
|
|
* @type \Rv\Analytics\UI\NetworkGroup\Remove $remove
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\AnalyticsUI::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.UI.NetworkGroup.Create create = 1;</code>
|
|
* @return \Rv\Analytics\UI\NetworkGroup\Create|null
|
|
*/
|
|
public function getCreate()
|
|
{
|
|
return $this->readOneof(1);
|
|
}
|
|
|
|
public function hasCreate()
|
|
{
|
|
return $this->hasOneof(1);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.UI.NetworkGroup.Create create = 1;</code>
|
|
* @param \Rv\Analytics\UI\NetworkGroup\Create $var
|
|
* @return $this
|
|
*/
|
|
public function setCreate($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Analytics\UI\NetworkGroup\Create::class);
|
|
$this->writeOneof(1, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.UI.NetworkGroup.Add add = 2;</code>
|
|
* @return \Rv\Analytics\UI\NetworkGroup\Add|null
|
|
*/
|
|
public function getAdd()
|
|
{
|
|
return $this->readOneof(2);
|
|
}
|
|
|
|
public function hasAdd()
|
|
{
|
|
return $this->hasOneof(2);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.UI.NetworkGroup.Add add = 2;</code>
|
|
* @param \Rv\Analytics\UI\NetworkGroup\Add $var
|
|
* @return $this
|
|
*/
|
|
public function setAdd($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Analytics\UI\NetworkGroup\Add::class);
|
|
$this->writeOneof(2, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.UI.NetworkGroup.Join join = 3;</code>
|
|
* @return \Rv\Analytics\UI\NetworkGroup\Join|null
|
|
*/
|
|
public function getJoin()
|
|
{
|
|
return $this->readOneof(3);
|
|
}
|
|
|
|
public function hasJoin()
|
|
{
|
|
return $this->hasOneof(3);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.UI.NetworkGroup.Join join = 3;</code>
|
|
* @param \Rv\Analytics\UI\NetworkGroup\Join $var
|
|
* @return $this
|
|
*/
|
|
public function setJoin($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Analytics\UI\NetworkGroup\Join::class);
|
|
$this->writeOneof(3, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.UI.NetworkGroup.Invite invite = 4;</code>
|
|
* @return \Rv\Analytics\UI\NetworkGroup\Invite|null
|
|
*/
|
|
public function getInvite()
|
|
{
|
|
return $this->readOneof(4);
|
|
}
|
|
|
|
public function hasInvite()
|
|
{
|
|
return $this->hasOneof(4);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.UI.NetworkGroup.Invite invite = 4;</code>
|
|
* @param \Rv\Analytics\UI\NetworkGroup\Invite $var
|
|
* @return $this
|
|
*/
|
|
public function setInvite($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Analytics\UI\NetworkGroup\Invite::class);
|
|
$this->writeOneof(4, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.UI.NetworkGroup.Leave leave = 5;</code>
|
|
* @return \Rv\Analytics\UI\NetworkGroup\Leave|null
|
|
*/
|
|
public function getLeave()
|
|
{
|
|
return $this->readOneof(5);
|
|
}
|
|
|
|
public function hasLeave()
|
|
{
|
|
return $this->hasOneof(5);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.UI.NetworkGroup.Leave leave = 5;</code>
|
|
* @param \Rv\Analytics\UI\NetworkGroup\Leave $var
|
|
* @return $this
|
|
*/
|
|
public function setLeave($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Analytics\UI\NetworkGroup\Leave::class);
|
|
$this->writeOneof(5, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.UI.NetworkGroup.Remove remove = 6;</code>
|
|
* @return \Rv\Analytics\UI\NetworkGroup\Remove|null
|
|
*/
|
|
public function getRemove()
|
|
{
|
|
return $this->readOneof(6);
|
|
}
|
|
|
|
public function hasRemove()
|
|
{
|
|
return $this->hasOneof(6);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.UI.NetworkGroup.Remove remove = 6;</code>
|
|
* @param \Rv\Analytics\UI\NetworkGroup\Remove $var
|
|
* @return $this
|
|
*/
|
|
public function setRemove($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Analytics\UI\NetworkGroup\Remove::class);
|
|
$this->writeOneof(6, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getComponent()
|
|
{
|
|
return $this->whichOneof("Component");
|
|
}
|
|
|
|
}
|
|
|