mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-06-16 22:38:23 +00:00
Bump version to 4.9.0-test.2
This commit is contained in:
133
api/php/generated/Chirpstack/Stream/ApiRequestLog.php
vendored
Normal file
133
api/php/generated/Chirpstack/Stream/ApiRequestLog.php
vendored
Normal file
@ -0,0 +1,133 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: stream/api_request.proto
|
||||
|
||||
namespace Chirpstack\Stream;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>stream.ApiRequestLog</code>
|
||||
*/
|
||||
class ApiRequestLog extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* API service name.
|
||||
*
|
||||
* Generated from protobuf field <code>string service = 1;</code>
|
||||
*/
|
||||
protected $service = '';
|
||||
/**
|
||||
* API method name.
|
||||
*
|
||||
* Generated from protobuf field <code>string method = 2;</code>
|
||||
*/
|
||||
protected $method = '';
|
||||
/**
|
||||
* Metadata.
|
||||
*
|
||||
* Generated from protobuf field <code>map<string, string> metadata = 3;</code>
|
||||
*/
|
||||
private $metadata;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $service
|
||||
* API service name.
|
||||
* @type string $method
|
||||
* API method name.
|
||||
* @type array|\Google\Protobuf\Internal\MapField $metadata
|
||||
* Metadata.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Chirpstack\Stream\ApiRequest::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* API service name.
|
||||
*
|
||||
* Generated from protobuf field <code>string service = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getService()
|
||||
{
|
||||
return $this->service;
|
||||
}
|
||||
|
||||
/**
|
||||
* API service name.
|
||||
*
|
||||
* Generated from protobuf field <code>string service = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setService($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->service = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* API method name.
|
||||
*
|
||||
* Generated from protobuf field <code>string method = 2;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getMethod()
|
||||
{
|
||||
return $this->method;
|
||||
}
|
||||
|
||||
/**
|
||||
* API method name.
|
||||
*
|
||||
* Generated from protobuf field <code>string method = 2;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setMethod($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->method = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Metadata.
|
||||
*
|
||||
* Generated from protobuf field <code>map<string, string> metadata = 3;</code>
|
||||
* @return \Google\Protobuf\Internal\MapField
|
||||
*/
|
||||
public function getMetadata()
|
||||
{
|
||||
return $this->metadata;
|
||||
}
|
||||
|
||||
/**
|
||||
* Metadata.
|
||||
*
|
||||
* Generated from protobuf field <code>map<string, string> metadata = 3;</code>
|
||||
* @param array|\Google\Protobuf\Internal\MapField $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setMetadata($var)
|
||||
{
|
||||
$arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
|
||||
$this->metadata = $arr;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user