mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-04-26 05:49:51 +00:00
236 lines
5.2 KiB
PHP
Vendored
236 lines
5.2 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.AwsSnsIntegration</code>
|
|
*/
|
|
class AwsSnsIntegration 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;
|
|
/**
|
|
* AWS region.
|
|
*
|
|
* Generated from protobuf field <code>string region = 3;</code>
|
|
*/
|
|
protected $region = '';
|
|
/**
|
|
* AWS Access Key ID.
|
|
*
|
|
* Generated from protobuf field <code>string access_key_id = 4;</code>
|
|
*/
|
|
protected $access_key_id = '';
|
|
/**
|
|
* AWS Secret Access Key.
|
|
*
|
|
* Generated from protobuf field <code>string secret_access_key = 5;</code>
|
|
*/
|
|
protected $secret_access_key = '';
|
|
/**
|
|
* Topic ARN.
|
|
*
|
|
* Generated from protobuf field <code>string topic_arn = 6;</code>
|
|
*/
|
|
protected $topic_arn = '';
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type string $application_id
|
|
* Application ID (UUID).
|
|
* @type int $encoding
|
|
* Encoding.
|
|
* @type string $region
|
|
* AWS region.
|
|
* @type string $access_key_id
|
|
* AWS Access Key ID.
|
|
* @type string $secret_access_key
|
|
* AWS Secret Access Key.
|
|
* @type string $topic_arn
|
|
* Topic ARN.
|
|
* }
|
|
*/
|
|
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;
|
|
}
|
|
|
|
/**
|
|
* AWS region.
|
|
*
|
|
* Generated from protobuf field <code>string region = 3;</code>
|
|
* @return string
|
|
*/
|
|
public function getRegion()
|
|
{
|
|
return $this->region;
|
|
}
|
|
|
|
/**
|
|
* AWS region.
|
|
*
|
|
* Generated from protobuf field <code>string region = 3;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setRegion($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->region = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* AWS Access Key ID.
|
|
*
|
|
* Generated from protobuf field <code>string access_key_id = 4;</code>
|
|
* @return string
|
|
*/
|
|
public function getAccessKeyId()
|
|
{
|
|
return $this->access_key_id;
|
|
}
|
|
|
|
/**
|
|
* AWS Access Key ID.
|
|
*
|
|
* Generated from protobuf field <code>string access_key_id = 4;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setAccessKeyId($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->access_key_id = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* AWS Secret Access Key.
|
|
*
|
|
* Generated from protobuf field <code>string secret_access_key = 5;</code>
|
|
* @return string
|
|
*/
|
|
public function getSecretAccessKey()
|
|
{
|
|
return $this->secret_access_key;
|
|
}
|
|
|
|
/**
|
|
* AWS Secret Access Key.
|
|
*
|
|
* Generated from protobuf field <code>string secret_access_key = 5;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setSecretAccessKey($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->secret_access_key = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Topic ARN.
|
|
*
|
|
* Generated from protobuf field <code>string topic_arn = 6;</code>
|
|
* @return string
|
|
*/
|
|
public function getTopicArn()
|
|
{
|
|
return $this->topic_arn;
|
|
}
|
|
|
|
/**
|
|
* Topic ARN.
|
|
*
|
|
* Generated from protobuf field <code>string topic_arn = 6;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setTopicArn($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->topic_arn = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|