gw.FskModulationConfig
*/
class FskModulationConfig extends \Google\Protobuf\Internal\Message
{
/**
* Bandwidth (kHz).
* Deprecated: use bandwidth.
*
* Generated from protobuf field uint32 bandwidth_legacy = 1;
*/
protected $bandwidth_legacy = 0;
/**
* Bandwidth (Hz).
*
* Generated from protobuf field uint32 bandwidth = 3;
*/
protected $bandwidth = 0;
/**
* Bitrate.
*
* Generated from protobuf field uint32 bitrate = 2;
*/
protected $bitrate = 0;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type int $bandwidth_legacy
* Bandwidth (kHz).
* Deprecated: use bandwidth.
* @type int $bandwidth
* Bandwidth (Hz).
* @type int $bitrate
* Bitrate.
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Chirpstack\Gateway\Gw::initOnce();
parent::__construct($data);
}
/**
* Bandwidth (kHz).
* Deprecated: use bandwidth.
*
* Generated from protobuf field uint32 bandwidth_legacy = 1;
* @return int
*/
public function getBandwidthLegacy()
{
return $this->bandwidth_legacy;
}
/**
* Bandwidth (kHz).
* Deprecated: use bandwidth.
*
* Generated from protobuf field uint32 bandwidth_legacy = 1;
* @param int $var
* @return $this
*/
public function setBandwidthLegacy($var)
{
GPBUtil::checkUint32($var);
$this->bandwidth_legacy = $var;
return $this;
}
/**
* Bandwidth (Hz).
*
* Generated from protobuf field uint32 bandwidth = 3;
* @return int
*/
public function getBandwidth()
{
return $this->bandwidth;
}
/**
* Bandwidth (Hz).
*
* Generated from protobuf field uint32 bandwidth = 3;
* @param int $var
* @return $this
*/
public function setBandwidth($var)
{
GPBUtil::checkUint32($var);
$this->bandwidth = $var;
return $this;
}
/**
* Bitrate.
*
* Generated from protobuf field uint32 bitrate = 2;
* @return int
*/
public function getBitrate()
{
return $this->bitrate;
}
/**
* Bitrate.
*
* Generated from protobuf field uint32 bitrate = 2;
* @param int $var
* @return $this
*/
public function setBitrate($var)
{
GPBUtil::checkUint32($var);
$this->bitrate = $var;
return $this;
}
}