mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-06-15 05:58:06 +00:00
Bump version to 4.9.0-test.2
This commit is contained in:
137
api/php/generated/Chirpstack/Gateway/LoraModulationConfig.php
vendored
Normal file
137
api/php/generated/Chirpstack/Gateway/LoraModulationConfig.php
vendored
Normal file
@ -0,0 +1,137 @@
|
||||
<?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.LoraModulationConfig</code>
|
||||
*/
|
||||
class LoraModulationConfig extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Bandwidth (kHz).
|
||||
* Deprecated: use bandwidth.
|
||||
*
|
||||
* Generated from protobuf field <code>uint32 bandwidth_legacy = 1;</code>
|
||||
*/
|
||||
protected $bandwidth_legacy = 0;
|
||||
/**
|
||||
* Bandwidth (Hz).
|
||||
*
|
||||
* Generated from protobuf field <code>uint32 bandwidth = 3;</code>
|
||||
*/
|
||||
protected $bandwidth = 0;
|
||||
/**
|
||||
* Spreading-factors.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated uint32 spreading_factors = 2;</code>
|
||||
*/
|
||||
private $spreading_factors;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type int $bandwidth_legacy
|
||||
* Bandwidth (kHz).
|
||||
* Deprecated: use bandwidth.
|
||||
* @type int $bandwidth
|
||||
* Bandwidth (Hz).
|
||||
* @type array<int>|\Google\Protobuf\Internal\RepeatedField $spreading_factors
|
||||
* Spreading-factors.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Gateway\Gw::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Bandwidth (kHz).
|
||||
* Deprecated: use bandwidth.
|
||||
*
|
||||
* Generated from protobuf field <code>uint32 bandwidth_legacy = 1;</code>
|
||||
* @return int
|
||||
*/
|
||||
public function getBandwidthLegacy()
|
||||
{
|
||||
return $this->bandwidth_legacy;
|
||||
}
|
||||
|
||||
/**
|
||||
* Bandwidth (kHz).
|
||||
* Deprecated: use bandwidth.
|
||||
*
|
||||
* Generated from protobuf field <code>uint32 bandwidth_legacy = 1;</code>
|
||||
* @param int $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setBandwidthLegacy($var)
|
||||
{
|
||||
GPBUtil::checkUint32($var);
|
||||
$this->bandwidth_legacy = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Bandwidth (Hz).
|
||||
*
|
||||
* Generated from protobuf field <code>uint32 bandwidth = 3;</code>
|
||||
* @return int
|
||||
*/
|
||||
public function getBandwidth()
|
||||
{
|
||||
return $this->bandwidth;
|
||||
}
|
||||
|
||||
/**
|
||||
* Bandwidth (Hz).
|
||||
*
|
||||
* Generated from protobuf field <code>uint32 bandwidth = 3;</code>
|
||||
* @param int $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setBandwidth($var)
|
||||
{
|
||||
GPBUtil::checkUint32($var);
|
||||
$this->bandwidth = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Spreading-factors.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated uint32 spreading_factors = 2;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
*/
|
||||
public function getSpreadingFactors()
|
||||
{
|
||||
return $this->spreading_factors;
|
||||
}
|
||||
|
||||
/**
|
||||
* Spreading-factors.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated uint32 spreading_factors = 2;</code>
|
||||
* @param array<int>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setSpreadingFactors($var)
|
||||
{
|
||||
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::UINT32);
|
||||
$this->spreading_factors = $arr;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user