mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-04-26 05:49:51 +00:00
134 lines
2.7 KiB
PHP
Vendored
134 lines
2.7 KiB
PHP
Vendored
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# source: api/internal.proto
|
|
|
|
namespace Chirpstack\Api;
|
|
|
|
use Google\Protobuf\Internal\GPBType;
|
|
use Google\Protobuf\Internal\RepeatedField;
|
|
use Google\Protobuf\Internal\GPBUtil;
|
|
|
|
/**
|
|
* Generated from protobuf message <code>api.RegionChannel</code>
|
|
*/
|
|
class RegionChannel extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Frequency (Hz).
|
|
*
|
|
* Generated from protobuf field <code>uint32 frequency = 1;</code>
|
|
*/
|
|
protected $frequency = 0;
|
|
/**
|
|
* Min DR.
|
|
*
|
|
* Generated from protobuf field <code>uint32 dr_min = 2;</code>
|
|
*/
|
|
protected $dr_min = 0;
|
|
/**
|
|
* Max DR.
|
|
*
|
|
* Generated from protobuf field <code>uint32 dr_max = 3;</code>
|
|
*/
|
|
protected $dr_max = 0;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type int $frequency
|
|
* Frequency (Hz).
|
|
* @type int $dr_min
|
|
* Min DR.
|
|
* @type int $dr_max
|
|
* Max DR.
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\Chirpstack\Api\Internal::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Frequency (Hz).
|
|
*
|
|
* Generated from protobuf field <code>uint32 frequency = 1;</code>
|
|
* @return int
|
|
*/
|
|
public function getFrequency()
|
|
{
|
|
return $this->frequency;
|
|
}
|
|
|
|
/**
|
|
* Frequency (Hz).
|
|
*
|
|
* Generated from protobuf field <code>uint32 frequency = 1;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setFrequency($var)
|
|
{
|
|
GPBUtil::checkUint32($var);
|
|
$this->frequency = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Min DR.
|
|
*
|
|
* Generated from protobuf field <code>uint32 dr_min = 2;</code>
|
|
* @return int
|
|
*/
|
|
public function getDrMin()
|
|
{
|
|
return $this->dr_min;
|
|
}
|
|
|
|
/**
|
|
* Min DR.
|
|
*
|
|
* Generated from protobuf field <code>uint32 dr_min = 2;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setDrMin($var)
|
|
{
|
|
GPBUtil::checkUint32($var);
|
|
$this->dr_min = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Max DR.
|
|
*
|
|
* Generated from protobuf field <code>uint32 dr_max = 3;</code>
|
|
* @return int
|
|
*/
|
|
public function getDrMax()
|
|
{
|
|
return $this->dr_max;
|
|
}
|
|
|
|
/**
|
|
* Max DR.
|
|
*
|
|
* Generated from protobuf field <code>uint32 dr_max = 3;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setDrMax($var)
|
|
{
|
|
GPBUtil::checkUint32($var);
|
|
$this->dr_max = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|