mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-04-26 05:49:51 +00:00
138 lines
3.0 KiB
PHP
Vendored
138 lines
3.0 KiB
PHP
Vendored
<?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.FskModulationConfig</code>
|
|
*/
|
|
class FskModulationConfig 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;
|
|
/**
|
|
* Bitrate.
|
|
*
|
|
* Generated from protobuf field <code>uint32 bitrate = 2;</code>
|
|
*/
|
|
protected $bitrate = 0;
|
|
|
|
/**
|
|
* 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 int $bitrate
|
|
* Bitrate.
|
|
* }
|
|
*/
|
|
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;
|
|
}
|
|
|
|
/**
|
|
* Bitrate.
|
|
*
|
|
* Generated from protobuf field <code>uint32 bitrate = 2;</code>
|
|
* @return int
|
|
*/
|
|
public function getBitrate()
|
|
{
|
|
return $this->bitrate;
|
|
}
|
|
|
|
/**
|
|
* Bitrate.
|
|
*
|
|
* Generated from protobuf field <code>uint32 bitrate = 2;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setBitrate($var)
|
|
{
|
|
GPBUtil::checkUint32($var);
|
|
$this->bitrate = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|