123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122 |
- <?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.IndexBuildMetadata</code>
- */
- class IndexBuildMetadata extends \Google\Protobuf\Internal\Message
- {
- /**
- * Generated from protobuf field <code>.Ydb.Table.IndexBuildDescription description = 1;</code>
- */
- protected $description = null;
- /**
- * Generated from protobuf field <code>.Ydb.Table.IndexBuildState.State state = 2;</code>
- */
- protected $state = 0;
- /**
- * Generated from protobuf field <code>float progress = 3;</code>
- */
- protected $progress = 0.0;
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Ydb\Table\IndexBuildDescription $description
- * @type int $state
- * @type float $progress
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Protos\YdbTable::initOnce();
- parent::__construct($data);
- }
- /**
- * Generated from protobuf field <code>.Ydb.Table.IndexBuildDescription description = 1;</code>
- * @return \Ydb\Table\IndexBuildDescription|null
- */
- public function getDescription()
- {
- return $this->description;
- }
- public function hasDescription()
- {
- return isset($this->description);
- }
- public function clearDescription()
- {
- unset($this->description);
- }
- /**
- * Generated from protobuf field <code>.Ydb.Table.IndexBuildDescription description = 1;</code>
- * @param \Ydb\Table\IndexBuildDescription $var
- * @return $this
- */
- public function setDescription($var)
- {
- GPBUtil::checkMessage($var, \Ydb\Table\IndexBuildDescription::class);
- $this->description = $var;
- return $this;
- }
- /**
- * Generated from protobuf field <code>.Ydb.Table.IndexBuildState.State state = 2;</code>
- * @return int
- */
- public function getState()
- {
- return $this->state;
- }
- /**
- * Generated from protobuf field <code>.Ydb.Table.IndexBuildState.State state = 2;</code>
- * @param int $var
- * @return $this
- */
- public function setState($var)
- {
- GPBUtil::checkEnum($var, \Ydb\Table\IndexBuildState\State::class);
- $this->state = $var;
- return $this;
- }
- /**
- * Generated from protobuf field <code>float progress = 3;</code>
- * @return float
- */
- public function getProgress()
- {
- return $this->progress;
- }
- /**
- * Generated from protobuf field <code>float progress = 3;</code>
- * @param float $var
- * @return $this
- */
- public function setProgress($var)
- {
- GPBUtil::checkFloat($var);
- $this->progress = $var;
- return $this;
- }
- }
|