123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- <?php
- # Generated by the protocol buffer compiler. DO NOT EDIT!
- # source: protos/ydb_table.proto
- namespace Ydb\Table;
- use Google\Protobuf\Internal\GPBType;
- use Google\Protobuf\Internal\RepeatedField;
- use Google\Protobuf\Internal\GPBUtil;
- /**
- * Generated from protobuf message <code>Ydb.Table.ExecuteScanQueryPartialResult</code>
- */
- class ExecuteScanQueryPartialResult extends \Google\Protobuf\Internal\Message
- {
- /**
- * Generated from protobuf field <code>.Ydb.ResultSet result_set = 1;</code>
- */
- protected $result_set = null;
- /**
- * Generated from protobuf field <code>.Ydb.TableStats.QueryStats query_stats = 6;</code>
- */
- protected $query_stats = null;
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Ydb\ResultSet $result_set
- * @type \Ydb\TableStats\QueryStats $query_stats
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Protos\YdbTable::initOnce();
- parent::__construct($data);
- }
- /**
- * Generated from protobuf field <code>.Ydb.ResultSet result_set = 1;</code>
- * @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);
- }
- /**
- * Generated from protobuf field <code>.Ydb.ResultSet result_set = 1;</code>
- * @param \Ydb\ResultSet $var
- * @return $this
- */
- public function setResultSet($var)
- {
- GPBUtil::checkMessage($var, \Ydb\ResultSet::class);
- $this->result_set = $var;
- return $this;
- }
- /**
- * Generated from protobuf field <code>.Ydb.TableStats.QueryStats query_stats = 6;</code>
- * @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 <code>.Ydb.TableStats.QueryStats query_stats = 6;</code>
- * @param \Ydb\TableStats\QueryStats $var
- * @return $this
- */
- public function setQueryStats($var)
- {
- GPBUtil::checkMessage($var, \Ydb\TableStats\QueryStats::class);
- $this->query_stats = $var;
- return $this;
- }
- }
|