gw.PerModulationCount
*/
class PerModulationCount extends \Google\Protobuf\Internal\Message
{
/**
* Modulation.
*
* Generated from protobuf field .gw.Modulation modulation = 1;
*/
protected $modulation = null;
/**
* Count.
*
* Generated from protobuf field uint32 count = 2;
*/
protected $count = 0;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type \Chirpstack\Gateway\Modulation $modulation
* Modulation.
* @type int $count
* Count.
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Chirpstack\Gateway\Gw::initOnce();
parent::__construct($data);
}
/**
* Modulation.
*
* Generated from protobuf field .gw.Modulation modulation = 1;
* @return \Chirpstack\Gateway\Modulation|null
*/
public function getModulation()
{
return $this->modulation;
}
public function hasModulation()
{
return isset($this->modulation);
}
public function clearModulation()
{
unset($this->modulation);
}
/**
* Modulation.
*
* Generated from protobuf field .gw.Modulation modulation = 1;
* @param \Chirpstack\Gateway\Modulation $var
* @return $this
*/
public function setModulation($var)
{
GPBUtil::checkMessage($var, \Chirpstack\Gateway\Modulation::class);
$this->modulation = $var;
return $this;
}
/**
* Count.
*
* Generated from protobuf field uint32 count = 2;
* @return int
*/
public function getCount()
{
return $this->count;
}
/**
* Count.
*
* Generated from protobuf field uint32 count = 2;
* @param int $var
* @return $this
*/
public function setCount($var)
{
GPBUtil::checkUint32($var);
$this->count = $var;
return $this;
}
}