gw.UplinkFrame */ class UplinkFrame extends \Google\Protobuf\Internal\Message { /** * PHYPayload. * * Generated from protobuf field bytes phy_payload = 1; */ protected $phy_payload = ''; /** * TX meta-data (deprecated). * * Generated from protobuf field .gw.UplinkTxInfoLegacy tx_info_legacy = 2; */ protected $tx_info_legacy = null; /** * RX meta-data (deprecated). * * Generated from protobuf field .gw.UplinkRxInfoLegacy rx_info_legacy = 3; */ protected $rx_info_legacy = null; /** * Tx meta-data. * * Generated from protobuf field .gw.UplinkTxInfo tx_info = 4; */ protected $tx_info = null; /** * Rx meta-data. * * Generated from protobuf field .gw.UplinkRxInfo rx_info = 5; */ protected $rx_info = null; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $phy_payload * PHYPayload. * @type \Chirpstack\Gateway\UplinkTxInfoLegacy $tx_info_legacy * TX meta-data (deprecated). * @type \Chirpstack\Gateway\UplinkRxInfoLegacy $rx_info_legacy * RX meta-data (deprecated). * @type \Chirpstack\Gateway\UplinkTxInfo $tx_info * Tx meta-data. * @type \Chirpstack\Gateway\UplinkRxInfo $rx_info * Rx meta-data. * } */ public function __construct($data = NULL) { \GPBMetadata\Chirpstack\Gateway\Gw::initOnce(); parent::__construct($data); } /** * PHYPayload. * * Generated from protobuf field bytes phy_payload = 1; * @return string */ public function getPhyPayload() { return $this->phy_payload; } /** * PHYPayload. * * Generated from protobuf field bytes phy_payload = 1; * @param string $var * @return $this */ public function setPhyPayload($var) { GPBUtil::checkString($var, False); $this->phy_payload = $var; return $this; } /** * TX meta-data (deprecated). * * Generated from protobuf field .gw.UplinkTxInfoLegacy tx_info_legacy = 2; * @return \Chirpstack\Gateway\UplinkTxInfoLegacy|null */ public function getTxInfoLegacy() { return $this->tx_info_legacy; } public function hasTxInfoLegacy() { return isset($this->tx_info_legacy); } public function clearTxInfoLegacy() { unset($this->tx_info_legacy); } /** * TX meta-data (deprecated). * * Generated from protobuf field .gw.UplinkTxInfoLegacy tx_info_legacy = 2; * @param \Chirpstack\Gateway\UplinkTxInfoLegacy $var * @return $this */ public function setTxInfoLegacy($var) { GPBUtil::checkMessage($var, \Chirpstack\Gateway\UplinkTxInfoLegacy::class); $this->tx_info_legacy = $var; return $this; } /** * RX meta-data (deprecated). * * Generated from protobuf field .gw.UplinkRxInfoLegacy rx_info_legacy = 3; * @return \Chirpstack\Gateway\UplinkRxInfoLegacy|null */ public function getRxInfoLegacy() { return $this->rx_info_legacy; } public function hasRxInfoLegacy() { return isset($this->rx_info_legacy); } public function clearRxInfoLegacy() { unset($this->rx_info_legacy); } /** * RX meta-data (deprecated). * * Generated from protobuf field .gw.UplinkRxInfoLegacy rx_info_legacy = 3; * @param \Chirpstack\Gateway\UplinkRxInfoLegacy $var * @return $this */ public function setRxInfoLegacy($var) { GPBUtil::checkMessage($var, \Chirpstack\Gateway\UplinkRxInfoLegacy::class); $this->rx_info_legacy = $var; return $this; } /** * Tx meta-data. * * Generated from protobuf field .gw.UplinkTxInfo tx_info = 4; * @return \Chirpstack\Gateway\UplinkTxInfo|null */ public function getTxInfo() { return $this->tx_info; } public function hasTxInfo() { return isset($this->tx_info); } public function clearTxInfo() { unset($this->tx_info); } /** * Tx meta-data. * * Generated from protobuf field .gw.UplinkTxInfo tx_info = 4; * @param \Chirpstack\Gateway\UplinkTxInfo $var * @return $this */ public function setTxInfo($var) { GPBUtil::checkMessage($var, \Chirpstack\Gateway\UplinkTxInfo::class); $this->tx_info = $var; return $this; } /** * Rx meta-data. * * Generated from protobuf field .gw.UplinkRxInfo rx_info = 5; * @return \Chirpstack\Gateway\UplinkRxInfo|null */ public function getRxInfo() { return $this->rx_info; } public function hasRxInfo() { return isset($this->rx_info); } public function clearRxInfo() { unset($this->rx_info); } /** * Rx meta-data. * * Generated from protobuf field .gw.UplinkRxInfo rx_info = 5; * @param \Chirpstack\Gateway\UplinkRxInfo $var * @return $this */ public function setRxInfo($var) { GPBUtil::checkMessage($var, \Chirpstack\Gateway\UplinkRxInfo::class); $this->rx_info = $var; return $this; } }