Ydb.Table.TableProfileDescription
*/
class TableProfileDescription extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field string name = 1;
*/
protected $name = '';
/**
* Generated from protobuf field map labels = 2;
*/
private $labels;
/**
* Generated from protobuf field string default_storage_policy = 3;
*/
protected $default_storage_policy = '';
/**
* Generated from protobuf field repeated string allowed_storage_policies = 4;
*/
private $allowed_storage_policies;
/**
* Generated from protobuf field string default_compaction_policy = 5;
*/
protected $default_compaction_policy = '';
/**
* Generated from protobuf field repeated string allowed_compaction_policies = 6;
*/
private $allowed_compaction_policies;
/**
* Generated from protobuf field string default_partitioning_policy = 7;
*/
protected $default_partitioning_policy = '';
/**
* Generated from protobuf field repeated string allowed_partitioning_policies = 8;
*/
private $allowed_partitioning_policies;
/**
* Generated from protobuf field string default_execution_policy = 9;
*/
protected $default_execution_policy = '';
/**
* Generated from protobuf field repeated string allowed_execution_policies = 10;
*/
private $allowed_execution_policies;
/**
* Generated from protobuf field string default_replication_policy = 11;
*/
protected $default_replication_policy = '';
/**
* Generated from protobuf field repeated string allowed_replication_policies = 12;
*/
private $allowed_replication_policies;
/**
* Generated from protobuf field string default_caching_policy = 13;
*/
protected $default_caching_policy = '';
/**
* Generated from protobuf field repeated string allowed_caching_policies = 14;
*/
private $allowed_caching_policies;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type string $name
* @type array|\Google\Protobuf\Internal\MapField $labels
* @type string $default_storage_policy
* @type array|\Google\Protobuf\Internal\RepeatedField $allowed_storage_policies
* @type string $default_compaction_policy
* @type array|\Google\Protobuf\Internal\RepeatedField $allowed_compaction_policies
* @type string $default_partitioning_policy
* @type array|\Google\Protobuf\Internal\RepeatedField $allowed_partitioning_policies
* @type string $default_execution_policy
* @type array|\Google\Protobuf\Internal\RepeatedField $allowed_execution_policies
* @type string $default_replication_policy
* @type array|\Google\Protobuf\Internal\RepeatedField $allowed_replication_policies
* @type string $default_caching_policy
* @type array|\Google\Protobuf\Internal\RepeatedField $allowed_caching_policies
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Protos\YdbTable::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field string name = 1;
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Generated from protobuf field string name = 1;
* @param string $var
* @return $this
*/
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
}
/**
* Generated from protobuf field map labels = 2;
* @return \Google\Protobuf\Internal\MapField
*/
public function getLabels()
{
return $this->labels;
}
/**
* Generated from protobuf field map labels = 2;
* @param array|\Google\Protobuf\Internal\MapField $var
* @return $this
*/
public function setLabels($var)
{
$arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
$this->labels = $arr;
return $this;
}
/**
* Generated from protobuf field string default_storage_policy = 3;
* @return string
*/
public function getDefaultStoragePolicy()
{
return $this->default_storage_policy;
}
/**
* Generated from protobuf field string default_storage_policy = 3;
* @param string $var
* @return $this
*/
public function setDefaultStoragePolicy($var)
{
GPBUtil::checkString($var, True);
$this->default_storage_policy = $var;
return $this;
}
/**
* Generated from protobuf field repeated string allowed_storage_policies = 4;
* @return \Google\Protobuf\Internal\RepeatedField
*/
public function getAllowedStoragePolicies()
{
return $this->allowed_storage_policies;
}
/**
* Generated from protobuf field repeated string allowed_storage_policies = 4;
* @param array|\Google\Protobuf\Internal\RepeatedField $var
* @return $this
*/
public function setAllowedStoragePolicies($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
$this->allowed_storage_policies = $arr;
return $this;
}
/**
* Generated from protobuf field string default_compaction_policy = 5;
* @return string
*/
public function getDefaultCompactionPolicy()
{
return $this->default_compaction_policy;
}
/**
* Generated from protobuf field string default_compaction_policy = 5;
* @param string $var
* @return $this
*/
public function setDefaultCompactionPolicy($var)
{
GPBUtil::checkString($var, True);
$this->default_compaction_policy = $var;
return $this;
}
/**
* Generated from protobuf field repeated string allowed_compaction_policies = 6;
* @return \Google\Protobuf\Internal\RepeatedField
*/
public function getAllowedCompactionPolicies()
{
return $this->allowed_compaction_policies;
}
/**
* Generated from protobuf field repeated string allowed_compaction_policies = 6;
* @param array|\Google\Protobuf\Internal\RepeatedField $var
* @return $this
*/
public function setAllowedCompactionPolicies($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
$this->allowed_compaction_policies = $arr;
return $this;
}
/**
* Generated from protobuf field string default_partitioning_policy = 7;
* @return string
*/
public function getDefaultPartitioningPolicy()
{
return $this->default_partitioning_policy;
}
/**
* Generated from protobuf field string default_partitioning_policy = 7;
* @param string $var
* @return $this
*/
public function setDefaultPartitioningPolicy($var)
{
GPBUtil::checkString($var, True);
$this->default_partitioning_policy = $var;
return $this;
}
/**
* Generated from protobuf field repeated string allowed_partitioning_policies = 8;
* @return \Google\Protobuf\Internal\RepeatedField
*/
public function getAllowedPartitioningPolicies()
{
return $this->allowed_partitioning_policies;
}
/**
* Generated from protobuf field repeated string allowed_partitioning_policies = 8;
* @param array|\Google\Protobuf\Internal\RepeatedField $var
* @return $this
*/
public function setAllowedPartitioningPolicies($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
$this->allowed_partitioning_policies = $arr;
return $this;
}
/**
* Generated from protobuf field string default_execution_policy = 9;
* @return string
*/
public function getDefaultExecutionPolicy()
{
return $this->default_execution_policy;
}
/**
* Generated from protobuf field string default_execution_policy = 9;
* @param string $var
* @return $this
*/
public function setDefaultExecutionPolicy($var)
{
GPBUtil::checkString($var, True);
$this->default_execution_policy = $var;
return $this;
}
/**
* Generated from protobuf field repeated string allowed_execution_policies = 10;
* @return \Google\Protobuf\Internal\RepeatedField
*/
public function getAllowedExecutionPolicies()
{
return $this->allowed_execution_policies;
}
/**
* Generated from protobuf field repeated string allowed_execution_policies = 10;
* @param array|\Google\Protobuf\Internal\RepeatedField $var
* @return $this
*/
public function setAllowedExecutionPolicies($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
$this->allowed_execution_policies = $arr;
return $this;
}
/**
* Generated from protobuf field string default_replication_policy = 11;
* @return string
*/
public function getDefaultReplicationPolicy()
{
return $this->default_replication_policy;
}
/**
* Generated from protobuf field string default_replication_policy = 11;
* @param string $var
* @return $this
*/
public function setDefaultReplicationPolicy($var)
{
GPBUtil::checkString($var, True);
$this->default_replication_policy = $var;
return $this;
}
/**
* Generated from protobuf field repeated string allowed_replication_policies = 12;
* @return \Google\Protobuf\Internal\RepeatedField
*/
public function getAllowedReplicationPolicies()
{
return $this->allowed_replication_policies;
}
/**
* Generated from protobuf field repeated string allowed_replication_policies = 12;
* @param array|\Google\Protobuf\Internal\RepeatedField $var
* @return $this
*/
public function setAllowedReplicationPolicies($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
$this->allowed_replication_policies = $arr;
return $this;
}
/**
* Generated from protobuf field string default_caching_policy = 13;
* @return string
*/
public function getDefaultCachingPolicy()
{
return $this->default_caching_policy;
}
/**
* Generated from protobuf field string default_caching_policy = 13;
* @param string $var
* @return $this
*/
public function setDefaultCachingPolicy($var)
{
GPBUtil::checkString($var, True);
$this->default_caching_policy = $var;
return $this;
}
/**
* Generated from protobuf field repeated string allowed_caching_policies = 14;
* @return \Google\Protobuf\Internal\RepeatedField
*/
public function getAllowedCachingPolicies()
{
return $this->allowed_caching_policies;
}
/**
* Generated from protobuf field repeated string allowed_caching_policies = 14;
* @param array|\Google\Protobuf\Internal\RepeatedField $var
* @return $this
*/
public function setAllowedCachingPolicies($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
$this->allowed_caching_policies = $arr;
return $this;
}
}