12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 |
- <?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;
- /**
- * Description of index building operation
- *
- * Generated from protobuf message <code>Ydb.Table.IndexBuildDescription</code>
- */
- class IndexBuildDescription extends \Google\Protobuf\Internal\Message
- {
- /**
- * Generated from protobuf field <code>string path = 1;</code>
- */
- protected $path = '';
- /**
- * Generated from protobuf field <code>.Ydb.Table.TableIndex index = 2;</code>
- */
- protected $index = null;
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $path
- * @type \Ydb\Table\TableIndex $index
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Protos\YdbTable::initOnce();
- parent::__construct($data);
- }
- /**
- * Generated from protobuf field <code>string path = 1;</code>
- * @return string
- */
- public function getPath()
- {
- return $this->path;
- }
- /**
- * Generated from protobuf field <code>string path = 1;</code>
- * @param string $var
- * @return $this
- */
- public function setPath($var)
- {
- GPBUtil::checkString($var, True);
- $this->path = $var;
- return $this;
- }
- /**
- * Generated from protobuf field <code>.Ydb.Table.TableIndex index = 2;</code>
- * @return \Ydb\Table\TableIndex|null
- */
- public function getIndex()
- {
- return $this->index;
- }
- public function hasIndex()
- {
- return isset($this->index);
- }
- public function clearIndex()
- {
- unset($this->index);
- }
- /**
- * Generated from protobuf field <code>.Ydb.Table.TableIndex index = 2;</code>
- * @param \Ydb\Table\TableIndex $var
- * @return $this
- */
- public function setIndex($var)
- {
- GPBUtil::checkMessage($var, \Ydb\Table\TableIndex::class);
- $this->index = $var;
- return $this;
- }
- }
|