propresenter-php/php/generated/Registration/Core/DownloadNewVersion.php
2026-03-01 16:12:17 +01:00

87 lines
1.9 KiB
PHP

<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: registration.proto
namespace Registration\Core;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Generated from protobuf message <code>registration.core.DownloadNewVersion</code>
*/
class DownloadNewVersion extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field <code>string url = 1;</code>
*/
protected $url = '';
/**
* Generated from protobuf field <code>string filename = 2;</code>
*/
protected $filename = '';
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type string $url
* @type string $filename
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Registration::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field <code>string url = 1;</code>
* @return string
*/
public function getUrl()
{
return $this->url;
}
/**
* Generated from protobuf field <code>string url = 1;</code>
* @param string $var
* @return $this
*/
public function setUrl($var)
{
GPBUtil::checkString($var, True);
$this->url = $var;
return $this;
}
/**
* Generated from protobuf field <code>string filename = 2;</code>
* @return string
*/
public function getFilename()
{
return $this->filename;
}
/**
* Generated from protobuf field <code>string filename = 2;</code>
* @param string $var
* @return $this
*/
public function setFilename($var)
{
GPBUtil::checkString($var, True);
$this->filename = $var;
return $this;
}
}