api.AzureServiceBusIntegration
*/
class AzureServiceBusIntegration extends \Google\Protobuf\Internal\Message
{
/**
* Application ID (UUID).
*
* Generated from protobuf field string application_id = 1;
*/
protected $application_id = '';
/**
* Encoding.
*
* Generated from protobuf field .api.Encoding encoding = 2;
*/
protected $encoding = 0;
/**
* Connection string.
*
* Generated from protobuf field string connection_string = 3;
*/
protected $connection_string = '';
/**
* Publish name.
* This is the name of the topic or queue.
*
* Generated from protobuf field string publish_name = 4;
*/
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 string application_id = 1;
* @return string
*/
public function getApplicationId()
{
return $this->application_id;
}
/**
* Application ID (UUID).
*
* Generated from protobuf field string application_id = 1;
* @param string $var
* @return $this
*/
public function setApplicationId($var)
{
GPBUtil::checkString($var, True);
$this->application_id = $var;
return $this;
}
/**
* Encoding.
*
* Generated from protobuf field .api.Encoding encoding = 2;
* @return int
*/
public function getEncoding()
{
return $this->encoding;
}
/**
* Encoding.
*
* Generated from protobuf field .api.Encoding encoding = 2;
* @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 string connection_string = 3;
* @return string
*/
public function getConnectionString()
{
return $this->connection_string;
}
/**
* Connection string.
*
* Generated from protobuf field string connection_string = 3;
* @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 string publish_name = 4;
* @return string
*/
public function getPublishName()
{
return $this->publish_name;
}
/**
* Publish name.
* This is the name of the topic or queue.
*
* Generated from protobuf field string publish_name = 4;
* @param string $var
* @return $this
*/
public function setPublishName($var)
{
GPBUtil::checkString($var, True);
$this->publish_name = $var;
return $this;
}
}