api.RegionChannel
*/
class RegionChannel extends \Google\Protobuf\Internal\Message
{
/**
* Frequency (Hz).
*
* Generated from protobuf field uint32 frequency = 1;
*/
protected $frequency = 0;
/**
* Min DR.
*
* Generated from protobuf field uint32 dr_min = 2;
*/
protected $dr_min = 0;
/**
* Max DR.
*
* Generated from protobuf field uint32 dr_max = 3;
*/
protected $dr_max = 0;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type int $frequency
* Frequency (Hz).
* @type int $dr_min
* Min DR.
* @type int $dr_max
* Max DR.
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Chirpstack\Api\Internal::initOnce();
parent::__construct($data);
}
/**
* Frequency (Hz).
*
* Generated from protobuf field uint32 frequency = 1;
* @return int
*/
public function getFrequency()
{
return $this->frequency;
}
/**
* Frequency (Hz).
*
* Generated from protobuf field uint32 frequency = 1;
* @param int $var
* @return $this
*/
public function setFrequency($var)
{
GPBUtil::checkUint32($var);
$this->frequency = $var;
return $this;
}
/**
* Min DR.
*
* Generated from protobuf field uint32 dr_min = 2;
* @return int
*/
public function getDrMin()
{
return $this->dr_min;
}
/**
* Min DR.
*
* Generated from protobuf field uint32 dr_min = 2;
* @param int $var
* @return $this
*/
public function setDrMin($var)
{
GPBUtil::checkUint32($var);
$this->dr_min = $var;
return $this;
}
/**
* Max DR.
*
* Generated from protobuf field uint32 dr_max = 3;
* @return int
*/
public function getDrMax()
{
return $this->dr_max;
}
/**
* Max DR.
*
* Generated from protobuf field uint32 dr_max = 3;
* @param int $var
* @return $this
*/
public function setDrMax($var)
{
GPBUtil::checkUint32($var);
$this->dr_max = $var;
return $this;
}
}