Ydb.Table.ReadTableResult
*/
class ReadTableResult extends \Google\Protobuf\Internal\Message
{
/**
* Result set (same as result of sql request)
*
* Generated from protobuf field .Ydb.ResultSet result_set = 1;
*/
protected $result_set = null;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type \Ydb\ResultSet $result_set
* Result set (same as result of sql request)
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Protos\YdbTable::initOnce();
parent::__construct($data);
}
/**
* Result set (same as result of sql request)
*
* Generated from protobuf field .Ydb.ResultSet result_set = 1;
* @return \Ydb\ResultSet|null
*/
public function getResultSet()
{
return $this->result_set;
}
public function hasResultSet()
{
return isset($this->result_set);
}
public function clearResultSet()
{
unset($this->result_set);
}
/**
* Result set (same as result of sql request)
*
* Generated from protobuf field .Ydb.ResultSet result_set = 1;
* @param \Ydb\ResultSet $var
* @return $this
*/
public function setResultSet($var)
{
GPBUtil::checkMessage($var, \Ydb\ResultSet::class);
$this->result_set = $var;
return $this;
}
}