mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-06-21 00:22:57 +00:00
Bump version to 4.9.0-test.2
This commit is contained in:
85
api/php/generated/Chirpstack/Api/GetDeviceMetricsResponse.php
vendored
Normal file
85
api/php/generated/Chirpstack/Api/GetDeviceMetricsResponse.php
vendored
Normal file
@ -0,0 +1,85 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: api/device.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.GetDeviceMetricsResponse</code>
|
||||
*/
|
||||
class GetDeviceMetricsResponse extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Generated from protobuf field <code>map<string, .common.Metric> metrics = 1;</code>
|
||||
*/
|
||||
private $metrics;
|
||||
/**
|
||||
* Generated from protobuf field <code>map<string, .api.DeviceState> states = 2;</code>
|
||||
*/
|
||||
private $states;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type array|\Google\Protobuf\Internal\MapField $metrics
|
||||
* @type array|\Google\Protobuf\Internal\MapField $states
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Api\Device::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Generated from protobuf field <code>map<string, .common.Metric> metrics = 1;</code>
|
||||
* @return \Google\Protobuf\Internal\MapField
|
||||
*/
|
||||
public function getMetrics()
|
||||
{
|
||||
return $this->metrics;
|
||||
}
|
||||
|
||||
/**
|
||||
* Generated from protobuf field <code>map<string, .common.Metric> metrics = 1;</code>
|
||||
* @param array|\Google\Protobuf\Internal\MapField $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setMetrics($var)
|
||||
{
|
||||
$arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::MESSAGE, \Chirpstack\Common\Metric::class);
|
||||
$this->metrics = $arr;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Generated from protobuf field <code>map<string, .api.DeviceState> states = 2;</code>
|
||||
* @return \Google\Protobuf\Internal\MapField
|
||||
*/
|
||||
public function getStates()
|
||||
{
|
||||
return $this->states;
|
||||
}
|
||||
|
||||
/**
|
||||
* Generated from protobuf field <code>map<string, .api.DeviceState> states = 2;</code>
|
||||
* @param array|\Google\Protobuf\Internal\MapField $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setStates($var)
|
||||
{
|
||||
$arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::MESSAGE, \Chirpstack\Api\DeviceState::class);
|
||||
$this->states = $arr;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user