mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-06-16 06:18:27 +00:00
Bump version to 4.9.0-test.2
This commit is contained in:
260
api/php/generated/Chirpstack/Integration/DownlinkCommand.php
vendored
Normal file
260
api/php/generated/Chirpstack/Integration/DownlinkCommand.php
vendored
Normal file
@ -0,0 +1,260 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: integration/integration.proto
|
||||
|
||||
namespace Chirpstack\Integration;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* DownlinkCommand is the command to enqueue a downlink payload for the given
|
||||
* device.
|
||||
*
|
||||
* Generated from protobuf message <code>integration.DownlinkCommand</code>
|
||||
*/
|
||||
class DownlinkCommand extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* ID (UUID).
|
||||
* If left blank, a random UUID will be generated.
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
*/
|
||||
protected $id = '';
|
||||
/**
|
||||
* Device EUI (EUI64).
|
||||
*
|
||||
* Generated from protobuf field <code>string dev_eui = 2;</code>
|
||||
*/
|
||||
protected $dev_eui = '';
|
||||
/**
|
||||
* Confirmed.
|
||||
*
|
||||
* Generated from protobuf field <code>bool confirmed = 3;</code>
|
||||
*/
|
||||
protected $confirmed = false;
|
||||
/**
|
||||
* FPort (must be > 0).
|
||||
*
|
||||
* Generated from protobuf field <code>uint32 f_port = 4;</code>
|
||||
*/
|
||||
protected $f_port = 0;
|
||||
/**
|
||||
* Data.
|
||||
* Or use the json_object field when a codec has been configured.
|
||||
*
|
||||
* Generated from protobuf field <code>bytes data = 5;</code>
|
||||
*/
|
||||
protected $data = '';
|
||||
/**
|
||||
* Only use this when a codec has been configured that can encode this
|
||||
* object to bytes.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.protobuf.Struct object = 6;</code>
|
||||
*/
|
||||
protected $object = null;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $id
|
||||
* ID (UUID).
|
||||
* If left blank, a random UUID will be generated.
|
||||
* @type string $dev_eui
|
||||
* Device EUI (EUI64).
|
||||
* @type bool $confirmed
|
||||
* Confirmed.
|
||||
* @type int $f_port
|
||||
* FPort (must be > 0).
|
||||
* @type string $data
|
||||
* Data.
|
||||
* Or use the json_object field when a codec has been configured.
|
||||
* @type \Google\Protobuf\Struct $object
|
||||
* Only use this when a codec has been configured that can encode this
|
||||
* object to bytes.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Integration\Integration::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* ID (UUID).
|
||||
* If left blank, a random UUID will be generated.
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
/**
|
||||
* ID (UUID).
|
||||
* If left blank, a random UUID will be generated.
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setId($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->id = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Device EUI (EUI64).
|
||||
*
|
||||
* Generated from protobuf field <code>string dev_eui = 2;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getDevEui()
|
||||
{
|
||||
return $this->dev_eui;
|
||||
}
|
||||
|
||||
/**
|
||||
* Device EUI (EUI64).
|
||||
*
|
||||
* Generated from protobuf field <code>string dev_eui = 2;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setDevEui($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->dev_eui = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Confirmed.
|
||||
*
|
||||
* Generated from protobuf field <code>bool confirmed = 3;</code>
|
||||
* @return bool
|
||||
*/
|
||||
public function getConfirmed()
|
||||
{
|
||||
return $this->confirmed;
|
||||
}
|
||||
|
||||
/**
|
||||
* Confirmed.
|
||||
*
|
||||
* Generated from protobuf field <code>bool confirmed = 3;</code>
|
||||
* @param bool $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setConfirmed($var)
|
||||
{
|
||||
GPBUtil::checkBool($var);
|
||||
$this->confirmed = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* FPort (must be > 0).
|
||||
*
|
||||
* Generated from protobuf field <code>uint32 f_port = 4;</code>
|
||||
* @return int
|
||||
*/
|
||||
public function getFPort()
|
||||
{
|
||||
return $this->f_port;
|
||||
}
|
||||
|
||||
/**
|
||||
* FPort (must be > 0).
|
||||
*
|
||||
* Generated from protobuf field <code>uint32 f_port = 4;</code>
|
||||
* @param int $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setFPort($var)
|
||||
{
|
||||
GPBUtil::checkUint32($var);
|
||||
$this->f_port = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Data.
|
||||
* Or use the json_object field when a codec has been configured.
|
||||
*
|
||||
* Generated from protobuf field <code>bytes data = 5;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getData()
|
||||
{
|
||||
return $this->data;
|
||||
}
|
||||
|
||||
/**
|
||||
* Data.
|
||||
* Or use the json_object field when a codec has been configured.
|
||||
*
|
||||
* Generated from protobuf field <code>bytes data = 5;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setData($var)
|
||||
{
|
||||
GPBUtil::checkString($var, False);
|
||||
$this->data = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Only use this when a codec has been configured that can encode this
|
||||
* object to bytes.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.protobuf.Struct object = 6;</code>
|
||||
* @return \Google\Protobuf\Struct|null
|
||||
*/
|
||||
public function getObject()
|
||||
{
|
||||
return $this->object;
|
||||
}
|
||||
|
||||
public function hasObject()
|
||||
{
|
||||
return isset($this->object);
|
||||
}
|
||||
|
||||
public function clearObject()
|
||||
{
|
||||
unset($this->object);
|
||||
}
|
||||
|
||||
/**
|
||||
* Only use this when a codec has been configured that can encode this
|
||||
* object to bytes.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.protobuf.Struct object = 6;</code>
|
||||
* @param \Google\Protobuf\Struct $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setObject($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \Google\Protobuf\Struct::class);
|
||||
$this->object = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user