* Range of reserved tag numbers. Reserved tag numbers may not be used by
* fields or extension ranges in the same message. Reserved ranges may
* not overlap.
*
*
* Protobuf type google.protobuf.DescriptorProto.ReservedRange
*/
class DescriptorProto_ReservedRange extends \Google\Protobuf\Internal\Message
{
/**
*
* Inclusive. ** *
optional int32 start = 1;
*/
private $start = 0;
private $has_start = false;
/**
* * Exclusive. ** *
optional int32 end = 2;
*/
private $end = 0;
private $has_end = false;
public function __construct() {
\GPBMetadata\Google\Protobuf\Internal\Descriptor::initOnce();
parent::__construct();
}
/**
* * Inclusive. ** *
optional int32 start = 1;
*/
public function getStart()
{
return $this->start;
}
/**
* * Inclusive. ** *
optional int32 start = 1;
*/
public function setStart($var)
{
GPBUtil::checkInt32($var);
$this->start = $var;
$this->has_start = true;
}
public function hasStart()
{
return $this->has_start;
}
/**
* * Exclusive. ** *
optional int32 end = 2;
*/
public function getEnd()
{
return $this->end;
}
/**
* * Exclusive. ** *
optional int32 end = 2;
*/
public function setEnd($var)
{
GPBUtil::checkInt32($var);
$this->end = $var;
$this->has_end = true;
}
public function hasEnd()
{
return $this->has_end;
}
}