/
githubmirror
/
ydb-php-sdk
Обзор
Документация
Войти
/
githubmirror
/
ydb-php-sdk
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
protos/Ydb/TableStats/CompilationStats.php
111 строк
3 KB
Alexei Shabalin
updated protos
17 фев 2023, 13:31
17 фев 2023, 13:31
ae6a264
Код
Авторство
О чём код?
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: protos/ydb_query_stats.proto namespace Ydb\TableStats; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * Generated from protobuf message <code>Ydb.TableStats.CompilationStats</code> */ class CompilationStats extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field <code>bool from_cache = 1;</code> */ protected $from_cache = false; /** * Generated from protobuf field <code>uint64 duration_us = 2;</code> */ protected $duration_us = 0; /** * Generated from protobuf field <code>uint64 cpu_time_us = 3;</code> */ protected $cpu_time_us = 0; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type bool $from_cache * @type int|string $duration_us * @type int|string $cpu_time_us * } */ public function __construct($data = NULL) { \GPBMetadata\Protos\YdbQueryStats::initOnce(); parent::__construct($data); } /** * Generated from protobuf field <code>bool from_cache = 1;</code> * @return bool */ public function getFromCache() { return $this->from_cache; } /** * Generated from protobuf field <code>bool from_cache = 1;</code> * @param bool $var * @return $this */ public function setFromCache($var) { GPBUtil::checkBool($var); $this->from_cache = $var; return $this; } /** * Generated from protobuf field <code>uint64 duration_us = 2;</code> * @return int|string */ public function getDurationUs() { return $this->duration_us; } /** * Generated from protobuf field <code>uint64 duration_us = 2;</code> * @param int|string $var * @return $this */ public function setDurationUs($var) { GPBUtil::checkUint64($var); $this->duration_us = $var; return $this; } /** * Generated from protobuf field <code>uint64 cpu_time_us = 3;</code> * @return int|string */ public function getCpuTimeUs() { return $this->cpu_time_us; } /** * Generated from protobuf field <code>uint64 cpu_time_us = 3;</code> * @param int|string $var * @return $this */ public function setCpuTimeUs($var) { GPBUtil::checkUint64($var); $this->cpu_time_us = $var; return $this; } }