/
githubmirror
/
ydb-php-sdk
Обзор
Документация
Войти
/
githubmirror
/
ydb-php-sdk
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
protos/Ydb/Import/ImportItemProgress.php
158 строк
4 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_import.proto namespace Ydb\Import; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * Generated from protobuf message <code>Ydb.Import.ImportItemProgress</code> */ class ImportItemProgress extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field <code>uint32 parts_total = 1;</code> */ protected $parts_total = 0; /** * Generated from protobuf field <code>uint32 parts_completed = 2;</code> */ protected $parts_completed = 0; /** * Generated from protobuf field <code>.google.protobuf.Timestamp start_time = 3;</code> */ protected $start_time = null; /** * Generated from protobuf field <code>.google.protobuf.Timestamp end_time = 4;</code> */ protected $end_time = null; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type int $parts_total * @type int $parts_completed * @type \Google\Protobuf\Timestamp $start_time * @type \Google\Protobuf\Timestamp $end_time * } */ public function __construct($data = NULL) { \GPBMetadata\Protos\YdbImport::initOnce(); parent::__construct($data); } /** * Generated from protobuf field <code>uint32 parts_total = 1;</code> * @return int */ public function getPartsTotal() { return $this->parts_total; } /** * Generated from protobuf field <code>uint32 parts_total = 1;</code> * @param int $var * @return $this */ public function setPartsTotal($var) { GPBUtil::checkUint32($var); $this->parts_total = $var; return $this; } /** * Generated from protobuf field <code>uint32 parts_completed = 2;</code> * @return int */ public function getPartsCompleted() { return $this->parts_completed; } /** * Generated from protobuf field <code>uint32 parts_completed = 2;</code> * @param int $var * @return $this */ public function setPartsCompleted($var) { GPBUtil::checkUint32($var); $this->parts_completed = $var; return $this; } /** * Generated from protobuf field <code>.google.protobuf.Timestamp start_time = 3;</code> * @return \Google\Protobuf\Timestamp|null */ public function getStartTime() { return $this->start_time; } public function hasStartTime() { return isset($this->start_time); } public function clearStartTime() { unset($this->start_time); } /** * Generated from protobuf field <code>.google.protobuf.Timestamp start_time = 3;</code> * @param \Google\Protobuf\Timestamp $var * @return $this */ public function setStartTime($var) { GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); $this->start_time = $var; return $this; } /** * Generated from protobuf field <code>.google.protobuf.Timestamp end_time = 4;</code> * @return \Google\Protobuf\Timestamp|null */ public function getEndTime() { return $this->end_time; } public function hasEndTime() { return isset($this->end_time); } public function clearEndTime() { unset($this->end_time); } /** * Generated from protobuf field <code>.google.protobuf.Timestamp end_time = 4;</code> * @param \Google\Protobuf\Timestamp $var * @return $this */ public function setEndTime($var) { GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); $this->end_time = $var; return $this; } }