mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-06-19 15:53:49 +00:00
Bump version to 4.9.0-test.2
This commit is contained in:
225
api/php/generated/Chirpstack/Gateway/DownlinkFrame.php
vendored
Normal file
225
api/php/generated/Chirpstack/Gateway/DownlinkFrame.php
vendored
Normal file
@ -0,0 +1,225 @@
|
||||
<?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.DownlinkFrame</code>
|
||||
*/
|
||||
class DownlinkFrame extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Downlink ID.
|
||||
*
|
||||
* Generated from protobuf field <code>uint32 downlink_id = 3;</code>
|
||||
*/
|
||||
protected $downlink_id = 0;
|
||||
/**
|
||||
* Downlink ID (UUID).
|
||||
* Deprecated: use downlink_id.
|
||||
*
|
||||
* Generated from protobuf field <code>bytes downlink_id_legacy = 4;</code>
|
||||
*/
|
||||
protected $downlink_id_legacy = '';
|
||||
/**
|
||||
* Downlink frame items.
|
||||
* This makes it possible to send multiple downlink opportunities to the
|
||||
* gateway at once (e.g. RX1 and RX2 in LoRaWAN). The first item has the
|
||||
* highest priority, the last the lowest. The gateway will emit at most
|
||||
* one item.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .gw.DownlinkFrameItem items = 5;</code>
|
||||
*/
|
||||
private $items;
|
||||
/**
|
||||
* Gateway ID.
|
||||
* Deprecated: use gateway_id
|
||||
*
|
||||
* Generated from protobuf field <code>bytes gateway_id_legacy = 6;</code>
|
||||
*/
|
||||
protected $gateway_id_legacy = '';
|
||||
/**
|
||||
* Gateway ID.
|
||||
*
|
||||
* Generated from protobuf field <code>string gateway_id = 7;</code>
|
||||
*/
|
||||
protected $gateway_id = '';
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type int $downlink_id
|
||||
* Downlink ID.
|
||||
* @type string $downlink_id_legacy
|
||||
* Downlink ID (UUID).
|
||||
* Deprecated: use downlink_id.
|
||||
* @type array<\Chirpstack\Gateway\DownlinkFrameItem>|\Google\Protobuf\Internal\RepeatedField $items
|
||||
* Downlink frame items.
|
||||
* This makes it possible to send multiple downlink opportunities to the
|
||||
* gateway at once (e.g. RX1 and RX2 in LoRaWAN). The first item has the
|
||||
* highest priority, the last the lowest. The gateway will emit at most
|
||||
* one item.
|
||||
* @type string $gateway_id_legacy
|
||||
* Gateway ID.
|
||||
* Deprecated: use gateway_id
|
||||
* @type string $gateway_id
|
||||
* Gateway ID.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Gateway\Gw::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Downlink ID.
|
||||
*
|
||||
* Generated from protobuf field <code>uint32 downlink_id = 3;</code>
|
||||
* @return int
|
||||
*/
|
||||
public function getDownlinkId()
|
||||
{
|
||||
return $this->downlink_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Downlink ID.
|
||||
*
|
||||
* Generated from protobuf field <code>uint32 downlink_id = 3;</code>
|
||||
* @param int $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setDownlinkId($var)
|
||||
{
|
||||
GPBUtil::checkUint32($var);
|
||||
$this->downlink_id = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Downlink ID (UUID).
|
||||
* Deprecated: use downlink_id.
|
||||
*
|
||||
* Generated from protobuf field <code>bytes downlink_id_legacy = 4;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getDownlinkIdLegacy()
|
||||
{
|
||||
return $this->downlink_id_legacy;
|
||||
}
|
||||
|
||||
/**
|
||||
* Downlink ID (UUID).
|
||||
* Deprecated: use downlink_id.
|
||||
*
|
||||
* Generated from protobuf field <code>bytes downlink_id_legacy = 4;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setDownlinkIdLegacy($var)
|
||||
{
|
||||
GPBUtil::checkString($var, False);
|
||||
$this->downlink_id_legacy = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Downlink frame items.
|
||||
* This makes it possible to send multiple downlink opportunities to the
|
||||
* gateway at once (e.g. RX1 and RX2 in LoRaWAN). The first item has the
|
||||
* highest priority, the last the lowest. The gateway will emit at most
|
||||
* one item.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .gw.DownlinkFrameItem items = 5;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
*/
|
||||
public function getItems()
|
||||
{
|
||||
return $this->items;
|
||||
}
|
||||
|
||||
/**
|
||||
* Downlink frame items.
|
||||
* This makes it possible to send multiple downlink opportunities to the
|
||||
* gateway at once (e.g. RX1 and RX2 in LoRaWAN). The first item has the
|
||||
* highest priority, the last the lowest. The gateway will emit at most
|
||||
* one item.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .gw.DownlinkFrameItem items = 5;</code>
|
||||
* @param array<\Chirpstack\Gateway\DownlinkFrameItem>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setItems($var)
|
||||
{
|
||||
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Chirpstack\Gateway\DownlinkFrameItem::class);
|
||||
$this->items = $arr;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gateway ID.
|
||||
* Deprecated: use gateway_id
|
||||
*
|
||||
* Generated from protobuf field <code>bytes gateway_id_legacy = 6;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getGatewayIdLegacy()
|
||||
{
|
||||
return $this->gateway_id_legacy;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gateway ID.
|
||||
* Deprecated: use gateway_id
|
||||
*
|
||||
* Generated from protobuf field <code>bytes gateway_id_legacy = 6;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setGatewayIdLegacy($var)
|
||||
{
|
||||
GPBUtil::checkString($var, False);
|
||||
$this->gateway_id_legacy = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gateway ID.
|
||||
*
|
||||
* Generated from protobuf field <code>string gateway_id = 7;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getGatewayId()
|
||||
{
|
||||
return $this->gateway_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gateway ID.
|
||||
*
|
||||
* Generated from protobuf field <code>string gateway_id = 7;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setGatewayId($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->gateway_id = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user