rv.data.FileProperties */ class FileProperties extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field .rv.data.URL local_url = 1; */ protected $local_url = null; /** * Generated from protobuf field .rv.data.FileProperties.RemoteProperties remote_properties = 2; */ 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 .rv.data.URL local_url = 1; * @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 .rv.data.URL local_url = 1; * @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 .rv.data.FileProperties.RemoteProperties remote_properties = 2; * @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 .rv.data.FileProperties.RemoteProperties remote_properties = 2; * @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; } }