Ydb.Table.CopyTableItem
*/
class CopyTableItem extends \Google\Protobuf\Internal\Message
{
/**
* Copy from path
*
* Generated from protobuf field string source_path = 1;
*/
protected $source_path = '';
/**
* Copy to path
*
* Generated from protobuf field string destination_path = 2;
*/
protected $destination_path = '';
/**
* Copy options
*
* Generated from protobuf field bool omit_indexes = 3;
*/
protected $omit_indexes = false;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type string $source_path
* Copy from path
* @type string $destination_path
* Copy to path
* @type bool $omit_indexes
* Copy options
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Protos\YdbTable::initOnce();
parent::__construct($data);
}
/**
* Copy from path
*
* Generated from protobuf field string source_path = 1;
* @return string
*/
public function getSourcePath()
{
return $this->source_path;
}
/**
* Copy from path
*
* Generated from protobuf field string source_path = 1;
* @param string $var
* @return $this
*/
public function setSourcePath($var)
{
GPBUtil::checkString($var, True);
$this->source_path = $var;
return $this;
}
/**
* Copy to path
*
* Generated from protobuf field string destination_path = 2;
* @return string
*/
public function getDestinationPath()
{
return $this->destination_path;
}
/**
* Copy to path
*
* Generated from protobuf field string destination_path = 2;
* @param string $var
* @return $this
*/
public function setDestinationPath($var)
{
GPBUtil::checkString($var, True);
$this->destination_path = $var;
return $this;
}
/**
* Copy options
*
* Generated from protobuf field bool omit_indexes = 3;
* @return bool
*/
public function getOmitIndexes()
{
return $this->omit_indexes;
}
/**
* Copy options
*
* Generated from protobuf field bool omit_indexes = 3;
* @param bool $var
* @return $this
*/
public function setOmitIndexes($var)
{
GPBUtil::checkBool($var);
$this->omit_indexes = $var;
return $this;
}
}