is not a date type.
*
* Generated from protobuf message Ydb.Table.ValueSinceUnixEpochModeSettings
*/
class ValueSinceUnixEpochModeSettings extends \Google\Protobuf\Internal\Message
{
/**
* The column type must be one of:
* - Uint32
* - Uint64
* - DyNumber
*
* Generated from protobuf field string column_name = 1;
*/
protected $column_name = '';
/**
* Interpretation of the value stored in
*
* Generated from protobuf field .Ydb.Table.ValueSinceUnixEpochModeSettings.Unit column_unit = 2;
*/
protected $column_unit = 0;
/**
* This option is always interpreted as seconds regardless of the
* value.
*
* Generated from protobuf field uint32 expire_after_seconds = 3;
*/
protected $expire_after_seconds = 0;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type string $column_name
* The column type must be one of:
* - Uint32
* - Uint64
* - DyNumber
* @type int $column_unit
* Interpretation of the value stored in
* @type int $expire_after_seconds
* This option is always interpreted as seconds regardless of the
* value.
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Protos\YdbTable::initOnce();
parent::__construct($data);
}
/**
* The column type must be one of:
* - Uint32
* - Uint64
* - DyNumber
*
* Generated from protobuf field string column_name = 1;
* @return string
*/
public function getColumnName()
{
return $this->column_name;
}
/**
* The column type must be one of:
* - Uint32
* - Uint64
* - DyNumber
*
* Generated from protobuf field string column_name = 1;
* @param string $var
* @return $this
*/
public function setColumnName($var)
{
GPBUtil::checkString($var, True);
$this->column_name = $var;
return $this;
}
/**
* Interpretation of the value stored in
*
* Generated from protobuf field .Ydb.Table.ValueSinceUnixEpochModeSettings.Unit column_unit = 2;
* @return int
*/
public function getColumnUnit()
{
return $this->column_unit;
}
/**
* Interpretation of the value stored in
*
* Generated from protobuf field .Ydb.Table.ValueSinceUnixEpochModeSettings.Unit column_unit = 2;
* @param int $var
* @return $this
*/
public function setColumnUnit($var)
{
GPBUtil::checkEnum($var, \Ydb\Table\ValueSinceUnixEpochModeSettings\Unit::class);
$this->column_unit = $var;
return $this;
}
/**
* This option is always interpreted as seconds regardless of the
* value.
*
* Generated from protobuf field uint32 expire_after_seconds = 3;
* @return int
*/
public function getExpireAfterSeconds()
{
return $this->expire_after_seconds;
}
/**
* This option is always interpreted as seconds regardless of the
* value.
*
* Generated from protobuf field uint32 expire_after_seconds = 3;
* @param int $var
* @return $this
*/
public function setExpireAfterSeconds($var)
{
GPBUtil::checkUint32($var);
$this->expire_after_seconds = $var;
return $this;
}
}