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

87 lines
2.2 KiB
PHP

<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: proApi.proto
namespace Rv\Data\NetworkAPI;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Generated from protobuf message <code>rv.data.NetworkAPI.Group</code>
*/
class Group extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field <code>string name = 1;</code>
*/
protected $name = '';
/**
* Generated from protobuf field <code>repeated .rv.data.NetworkAPI.Group.Member members = 2;</code>
*/
private $members;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type string $name
* @type array<\Rv\Data\NetworkAPI\Group\Member>|\Google\Protobuf\Internal\RepeatedField $members
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\ProApi::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field <code>string name = 1;</code>
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Generated from protobuf field <code>string name = 1;</code>
* @param string $var
* @return $this
*/
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
}
/**
* Generated from protobuf field <code>repeated .rv.data.NetworkAPI.Group.Member members = 2;</code>
* @return \Google\Protobuf\Internal\RepeatedField
*/
public function getMembers()
{
return $this->members;
}
/**
* Generated from protobuf field <code>repeated .rv.data.NetworkAPI.Group.Member members = 2;</code>
* @param array<\Rv\Data\NetworkAPI\Group\Member>|\Google\Protobuf\Internal\RepeatedField $var
* @return $this
*/
public function setMembers($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Rv\Data\NetworkAPI\Group\Member::class);
$this->members = $arr;
return $this;
}
}