Ydb.Scheme.ListDirectoryResult */ class ListDirectoryResult extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field .Ydb.Scheme.Entry self = 1; */ protected $self = null; /** * Generated from protobuf field repeated .Ydb.Scheme.Entry children = 2; */ private $children; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type \Ydb\Scheme\Entry $self * @type array<\Ydb\Scheme\Entry>|\Google\Protobuf\Internal\RepeatedField $children * } */ public function __construct($data = NULL) { \GPBMetadata\Protos\YdbScheme::initOnce(); parent::__construct($data); } /** * Generated from protobuf field .Ydb.Scheme.Entry self = 1; * @return \Ydb\Scheme\Entry|null */ public function getSelf() { return $this->self; } public function hasSelf() { return isset($this->self); } public function clearSelf() { unset($this->self); } /** * Generated from protobuf field .Ydb.Scheme.Entry self = 1; * @param \Ydb\Scheme\Entry $var * @return $this */ public function setSelf($var) { GPBUtil::checkMessage($var, \Ydb\Scheme\Entry::class); $this->self = $var; return $this; } /** * Generated from protobuf field repeated .Ydb.Scheme.Entry children = 2; * @return \Google\Protobuf\Internal\RepeatedField */ public function getChildren() { return $this->children; } /** * Generated from protobuf field repeated .Ydb.Scheme.Entry children = 2; * @param array<\Ydb\Scheme\Entry>|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setChildren($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Ydb\Scheme\Entry::class); $this->children = $arr; return $this; } }