Ydb.StructType
*/
class StructType extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field repeated .Ydb.StructMember members = 1;
*/
private $members;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type array<\Ydb\StructMember>|\Google\Protobuf\Internal\RepeatedField $members
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Protos\YdbValue::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field repeated .Ydb.StructMember members = 1;
* @return \Google\Protobuf\Internal\RepeatedField
*/
public function getMembers()
{
return $this->members;
}
/**
* Generated from protobuf field repeated .Ydb.StructMember members = 1;
* @param array<\Ydb\StructMember>|\Google\Protobuf\Internal\RepeatedField $var
* @return $this
*/
public function setMembers($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Ydb\StructMember::class);
$this->members = $arr;
return $this;
}
}