Ydb.Topic.OffsetsRange
*/
class OffsetsRange extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field int64 start = 1;
*/
protected $start = 0;
/**
* Generated from protobuf field int64 end = 2;
*/
protected $end = 0;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type int|string $start
* @type int|string $end
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Protos\YdbTopic::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field int64 start = 1;
* @return int|string
*/
public function getStart()
{
return $this->start;
}
/**
* Generated from protobuf field int64 start = 1;
* @param int|string $var
* @return $this
*/
public function setStart($var)
{
GPBUtil::checkInt64($var);
$this->start = $var;
return $this;
}
/**
* Generated from protobuf field int64 end = 2;
* @return int|string
*/
public function getEnd()
{
return $this->end;
}
/**
* Generated from protobuf field int64 end = 2;
* @param int|string $var
* @return $this
*/
public function setEnd($var)
{
GPBUtil::checkInt64($var);
$this->end = $var;
return $this;
}
}