Ydb.Scripting.ExecuteYqlResult */ class ExecuteYqlResult extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field repeated .Ydb.ResultSet result_sets = 1; */ private $result_sets; /** * Generated from protobuf field .Ydb.TableStats.QueryStats query_stats = 2; */ protected $query_stats = null; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type array<\Ydb\ResultSet>|\Google\Protobuf\Internal\RepeatedField $result_sets * @type \Ydb\TableStats\QueryStats $query_stats * } */ public function __construct($data = NULL) { \GPBMetadata\Protos\YdbScripting::initOnce(); parent::__construct($data); } /** * Generated from protobuf field repeated .Ydb.ResultSet result_sets = 1; * @return \Google\Protobuf\Internal\RepeatedField */ public function getResultSets() { return $this->result_sets; } /** * Generated from protobuf field repeated .Ydb.ResultSet result_sets = 1; * @param array<\Ydb\ResultSet>|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setResultSets($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Ydb\ResultSet::class); $this->result_sets = $arr; return $this; } /** * Generated from protobuf field .Ydb.TableStats.QueryStats query_stats = 2; * @return \Ydb\TableStats\QueryStats|null */ public function getQueryStats() { return $this->query_stats; } public function hasQueryStats() { return isset($this->query_stats); } public function clearQueryStats() { unset($this->query_stats); } /** * Generated from protobuf field .Ydb.TableStats.QueryStats query_stats = 2; * @param \Ydb\TableStats\QueryStats $var * @return $this */ public function setQueryStats($var) { GPBUtil::checkMessage($var, \Ydb\TableStats\QueryStats::class); $this->query_stats = $var; return $this; } }