integration.UplinkRelayRxInfo */ class UplinkRelayRxInfo extends \Google\Protobuf\Internal\Message { /** * Relay DevEUI. * * Generated from protobuf field string dev_eui = 1; */ protected $dev_eui = ''; /** * Frequency. * * Generated from protobuf field uint32 frequency = 2; */ protected $frequency = 0; /** * Data-rate. * * Generated from protobuf field uint32 dr = 3; */ protected $dr = 0; /** * SNR. * * Generated from protobuf field int32 snr = 4; */ protected $snr = 0; /** * RSSI. * * Generated from protobuf field int32 rssi = 5; */ protected $rssi = 0; /** * WOR channel. * * Generated from protobuf field uint32 wor_channel = 6; */ protected $wor_channel = 0; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $dev_eui * Relay DevEUI. * @type int $frequency * Frequency. * @type int $dr * Data-rate. * @type int $snr * SNR. * @type int $rssi * RSSI. * @type int $wor_channel * WOR channel. * } */ public function __construct($data = NULL) { \GPBMetadata\Chirpstack\Integration\Integration::initOnce(); parent::__construct($data); } /** * Relay DevEUI. * * Generated from protobuf field string dev_eui = 1; * @return string */ public function getDevEui() { return $this->dev_eui; } /** * Relay DevEUI. * * Generated from protobuf field string dev_eui = 1; * @param string $var * @return $this */ public function setDevEui($var) { GPBUtil::checkString($var, True); $this->dev_eui = $var; return $this; } /** * Frequency. * * Generated from protobuf field uint32 frequency = 2; * @return int */ public function getFrequency() { return $this->frequency; } /** * Frequency. * * Generated from protobuf field uint32 frequency = 2; * @param int $var * @return $this */ public function setFrequency($var) { GPBUtil::checkUint32($var); $this->frequency = $var; return $this; } /** * Data-rate. * * Generated from protobuf field uint32 dr = 3; * @return int */ public function getDr() { return $this->dr; } /** * Data-rate. * * Generated from protobuf field uint32 dr = 3; * @param int $var * @return $this */ public function setDr($var) { GPBUtil::checkUint32($var); $this->dr = $var; return $this; } /** * SNR. * * Generated from protobuf field int32 snr = 4; * @return int */ public function getSnr() { return $this->snr; } /** * SNR. * * Generated from protobuf field int32 snr = 4; * @param int $var * @return $this */ public function setSnr($var) { GPBUtil::checkInt32($var); $this->snr = $var; return $this; } /** * RSSI. * * Generated from protobuf field int32 rssi = 5; * @return int */ public function getRssi() { return $this->rssi; } /** * RSSI. * * Generated from protobuf field int32 rssi = 5; * @param int $var * @return $this */ public function setRssi($var) { GPBUtil::checkInt32($var); $this->rssi = $var; return $this; } /** * WOR channel. * * Generated from protobuf field uint32 wor_channel = 6; * @return int */ public function getWorChannel() { return $this->wor_channel; } /** * WOR channel. * * Generated from protobuf field uint32 wor_channel = 6; * @param int $var * @return $this */ public function setWorChannel($var) { GPBUtil::checkUint32($var); $this->wor_channel = $var; return $this; } }