Ydb.Table.CommitTransactionResult */ class CommitTransactionResult extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field .Ydb.TableStats.QueryStats query_stats = 1; */ protected $query_stats = null; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type \Ydb\TableStats\QueryStats $query_stats * } */ public function __construct($data = NULL) { \GPBMetadata\Protos\YdbTable::initOnce(); parent::__construct($data); } /** * Generated from protobuf field .Ydb.TableStats.QueryStats query_stats = 1; * @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 = 1; * @param \Ydb\TableStats\QueryStats $var * @return $this */ public function setQueryStats($var) { GPBUtil::checkMessage($var, \Ydb\TableStats\QueryStats::class); $this->query_stats = $var; return $this; } }