mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-06-17 23:08:23 +00:00
Bump version to 4.9.0-test.2
This commit is contained in:
143
api/php/generated/Chirpstack/Gateway/UplinkFrameSet.php
vendored
Normal file
143
api/php/generated/Chirpstack/Gateway/UplinkFrameSet.php
vendored
Normal file
@ -0,0 +1,143 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: gw/gw.proto
|
||||
|
||||
namespace Chirpstack\Gateway;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>gw.UplinkFrameSet</code>
|
||||
*/
|
||||
class UplinkFrameSet extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* PHYPayload.
|
||||
*
|
||||
* Generated from protobuf field <code>bytes phy_payload = 1;</code>
|
||||
*/
|
||||
protected $phy_payload = '';
|
||||
/**
|
||||
* TX meta-data.
|
||||
*
|
||||
* Generated from protobuf field <code>.gw.UplinkTxInfo tx_info = 2;</code>
|
||||
*/
|
||||
protected $tx_info = null;
|
||||
/**
|
||||
* RX meta-data set.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .gw.UplinkRxInfo rx_info = 3;</code>
|
||||
*/
|
||||
private $rx_info;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $phy_payload
|
||||
* PHYPayload.
|
||||
* @type \Chirpstack\Gateway\UplinkTxInfo $tx_info
|
||||
* TX meta-data.
|
||||
* @type array<\Chirpstack\Gateway\UplinkRxInfo>|\Google\Protobuf\Internal\RepeatedField $rx_info
|
||||
* RX meta-data set.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Gateway\Gw::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* PHYPayload.
|
||||
*
|
||||
* Generated from protobuf field <code>bytes phy_payload = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getPhyPayload()
|
||||
{
|
||||
return $this->phy_payload;
|
||||
}
|
||||
|
||||
/**
|
||||
* PHYPayload.
|
||||
*
|
||||
* Generated from protobuf field <code>bytes phy_payload = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setPhyPayload($var)
|
||||
{
|
||||
GPBUtil::checkString($var, False);
|
||||
$this->phy_payload = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* TX meta-data.
|
||||
*
|
||||
* Generated from protobuf field <code>.gw.UplinkTxInfo tx_info = 2;</code>
|
||||
* @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 <code>.gw.UplinkTxInfo tx_info = 2;</code>
|
||||
* @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 set.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .gw.UplinkRxInfo rx_info = 3;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
*/
|
||||
public function getRxInfo()
|
||||
{
|
||||
return $this->rx_info;
|
||||
}
|
||||
|
||||
/**
|
||||
* RX meta-data set.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .gw.UplinkRxInfo rx_info = 3;</code>
|
||||
* @param array<\Chirpstack\Gateway\UplinkRxInfo>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setRxInfo($var)
|
||||
{
|
||||
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Chirpstack\Gateway\UplinkRxInfo::class);
|
||||
$this->rx_info = $arr;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user