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:
109
api/php/generated/Chirpstack/Gateway/PerModulationCount.php
vendored
Normal file
109
api/php/generated/Chirpstack/Gateway/PerModulationCount.php
vendored
Normal file
@ -0,0 +1,109 @@
|
||||
<?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.PerModulationCount</code>
|
||||
*/
|
||||
class PerModulationCount extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Modulation.
|
||||
*
|
||||
* Generated from protobuf field <code>.gw.Modulation modulation = 1;</code>
|
||||
*/
|
||||
protected $modulation = null;
|
||||
/**
|
||||
* Count.
|
||||
*
|
||||
* Generated from protobuf field <code>uint32 count = 2;</code>
|
||||
*/
|
||||
protected $count = 0;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type \Chirpstack\Gateway\Modulation $modulation
|
||||
* Modulation.
|
||||
* @type int $count
|
||||
* Count.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Gateway\Gw::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Modulation.
|
||||
*
|
||||
* Generated from protobuf field <code>.gw.Modulation modulation = 1;</code>
|
||||
* @return \Chirpstack\Gateway\Modulation|null
|
||||
*/
|
||||
public function getModulation()
|
||||
{
|
||||
return $this->modulation;
|
||||
}
|
||||
|
||||
public function hasModulation()
|
||||
{
|
||||
return isset($this->modulation);
|
||||
}
|
||||
|
||||
public function clearModulation()
|
||||
{
|
||||
unset($this->modulation);
|
||||
}
|
||||
|
||||
/**
|
||||
* Modulation.
|
||||
*
|
||||
* Generated from protobuf field <code>.gw.Modulation modulation = 1;</code>
|
||||
* @param \Chirpstack\Gateway\Modulation $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setModulation($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \Chirpstack\Gateway\Modulation::class);
|
||||
$this->modulation = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Count.
|
||||
*
|
||||
* Generated from protobuf field <code>uint32 count = 2;</code>
|
||||
* @return int
|
||||
*/
|
||||
public function getCount()
|
||||
{
|
||||
return $this->count;
|
||||
}
|
||||
|
||||
/**
|
||||
* Count.
|
||||
*
|
||||
* Generated from protobuf field <code>uint32 count = 2;</code>
|
||||
* @param int $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setCount($var)
|
||||
{
|
||||
GPBUtil::checkUint32($var);
|
||||
$this->count = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user