propresenter-php/php/generated/Rv/Data/FileProperties.php
2026-03-01 16:12:17 +01:00

107 lines
2.7 KiB
PHP

<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: fileProperties.proto
namespace Rv\Data;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Generated from protobuf message <code>rv.data.FileProperties</code>
*/
class FileProperties extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field <code>.rv.data.URL local_url = 1;</code>
*/
protected $local_url = null;
/**
* Generated from protobuf field <code>.rv.data.FileProperties.RemoteProperties remote_properties = 2;</code>
*/
protected $remote_properties = null;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type \Rv\Data\URL $local_url
* @type \Rv\Data\FileProperties\RemoteProperties $remote_properties
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\FileProperties::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field <code>.rv.data.URL local_url = 1;</code>
* @return \Rv\Data\URL|null
*/
public function getLocalUrl()
{
return $this->local_url;
}
public function hasLocalUrl()
{
return isset($this->local_url);
}
public function clearLocalUrl()
{
unset($this->local_url);
}
/**
* Generated from protobuf field <code>.rv.data.URL local_url = 1;</code>
* @param \Rv\Data\URL $var
* @return $this
*/
public function setLocalUrl($var)
{
GPBUtil::checkMessage($var, \Rv\Data\URL::class);
$this->local_url = $var;
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.FileProperties.RemoteProperties remote_properties = 2;</code>
* @return \Rv\Data\FileProperties\RemoteProperties|null
*/
public function getRemoteProperties()
{
return $this->remote_properties;
}
public function hasRemoteProperties()
{
return isset($this->remote_properties);
}
public function clearRemoteProperties()
{
unset($this->remote_properties);
}
/**
* Generated from protobuf field <code>.rv.data.FileProperties.RemoteProperties remote_properties = 2;</code>
* @param \Rv\Data\FileProperties\RemoteProperties $var
* @return $this
*/
public function setRemoteProperties($var)
{
GPBUtil::checkMessage($var, \Rv\Data\FileProperties\RemoteProperties::class);
$this->remote_properties = $var;
return $this;
}
}