mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-04-26 05:49:51 +00:00
172 lines
4.0 KiB
PHP
Vendored
172 lines
4.0 KiB
PHP
Vendored
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# source: api/application.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.AzureServiceBusIntegration</code>
|
|
*/
|
|
class AzureServiceBusIntegration extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Application ID (UUID).
|
|
*
|
|
* Generated from protobuf field <code>string application_id = 1;</code>
|
|
*/
|
|
protected $application_id = '';
|
|
/**
|
|
* Encoding.
|
|
*
|
|
* Generated from protobuf field <code>.api.Encoding encoding = 2;</code>
|
|
*/
|
|
protected $encoding = 0;
|
|
/**
|
|
* Connection string.
|
|
*
|
|
* Generated from protobuf field <code>string connection_string = 3;</code>
|
|
*/
|
|
protected $connection_string = '';
|
|
/**
|
|
* Publish name.
|
|
* This is the name of the topic or queue.
|
|
*
|
|
* Generated from protobuf field <code>string publish_name = 4;</code>
|
|
*/
|
|
protected $publish_name = '';
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type string $application_id
|
|
* Application ID (UUID).
|
|
* @type int $encoding
|
|
* Encoding.
|
|
* @type string $connection_string
|
|
* Connection string.
|
|
* @type string $publish_name
|
|
* Publish name.
|
|
* This is the name of the topic or queue.
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\Chirpstack\Api\Application::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Application ID (UUID).
|
|
*
|
|
* Generated from protobuf field <code>string application_id = 1;</code>
|
|
* @return string
|
|
*/
|
|
public function getApplicationId()
|
|
{
|
|
return $this->application_id;
|
|
}
|
|
|
|
/**
|
|
* Application ID (UUID).
|
|
*
|
|
* Generated from protobuf field <code>string application_id = 1;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setApplicationId($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->application_id = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Encoding.
|
|
*
|
|
* Generated from protobuf field <code>.api.Encoding encoding = 2;</code>
|
|
* @return int
|
|
*/
|
|
public function getEncoding()
|
|
{
|
|
return $this->encoding;
|
|
}
|
|
|
|
/**
|
|
* Encoding.
|
|
*
|
|
* Generated from protobuf field <code>.api.Encoding encoding = 2;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setEncoding($var)
|
|
{
|
|
GPBUtil::checkEnum($var, \Chirpstack\Api\Encoding::class);
|
|
$this->encoding = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Connection string.
|
|
*
|
|
* Generated from protobuf field <code>string connection_string = 3;</code>
|
|
* @return string
|
|
*/
|
|
public function getConnectionString()
|
|
{
|
|
return $this->connection_string;
|
|
}
|
|
|
|
/**
|
|
* Connection string.
|
|
*
|
|
* Generated from protobuf field <code>string connection_string = 3;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setConnectionString($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->connection_string = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Publish name.
|
|
* This is the name of the topic or queue.
|
|
*
|
|
* Generated from protobuf field <code>string publish_name = 4;</code>
|
|
* @return string
|
|
*/
|
|
public function getPublishName()
|
|
{
|
|
return $this->publish_name;
|
|
}
|
|
|
|
/**
|
|
* Publish name.
|
|
* This is the name of the topic or queue.
|
|
*
|
|
* Generated from protobuf field <code>string publish_name = 4;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setPublishName($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->publish_name = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|