- Move src/, tests/, bin/, generated/, proto/, composer.json, composer.lock, phpunit.xml from php/ to repo root - Move ref/ to doc/reference_samples/ for better organization - Remove vendor/ from git tracking (now properly gitignored) - Update all test file paths (dirname adjustments and ref/ -> doc/reference_samples/) - Update all documentation paths (AGENTS.md, doc/*.md) - Remove php.bak/ directory - All 252 tests pass
178 lines
4.1 KiB
PHP
178 lines
4.1 KiB
PHP
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: graphicsData.proto
|
|
|
|
namespace Rv\Data\Media;
|
|
|
|
use Google\Protobuf\Internal\GPBType;
|
|
use Google\Protobuf\Internal\RepeatedField;
|
|
use Google\Protobuf\Internal\GPBUtil;
|
|
|
|
/**
|
|
* Generated from protobuf message <code>rv.data.Media.Metadata</code>
|
|
*/
|
|
class Metadata extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Generated from protobuf field <code>string manufacture_name = 1;</code>
|
|
*/
|
|
protected $manufacture_name = '';
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.URL manufacture_url = 2;</code>
|
|
*/
|
|
protected $manufacture_url = null;
|
|
/**
|
|
* Generated from protobuf field <code>string information = 3;</code>
|
|
*/
|
|
protected $information = '';
|
|
/**
|
|
* Generated from protobuf field <code>string artist = 4;</code>
|
|
*/
|
|
protected $artist = '';
|
|
/**
|
|
* Generated from protobuf field <code>string format = 5;</code>
|
|
*/
|
|
protected $format = '';
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type string $manufacture_name
|
|
* @type \Rv\Data\URL $manufacture_url
|
|
* @type string $information
|
|
* @type string $artist
|
|
* @type string $format
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\GraphicsData::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string manufacture_name = 1;</code>
|
|
* @return string
|
|
*/
|
|
public function getManufactureName()
|
|
{
|
|
return $this->manufacture_name;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string manufacture_name = 1;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setManufactureName($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->manufacture_name = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.URL manufacture_url = 2;</code>
|
|
* @return \Rv\Data\URL|null
|
|
*/
|
|
public function getManufactureUrl()
|
|
{
|
|
return $this->manufacture_url;
|
|
}
|
|
|
|
public function hasManufactureUrl()
|
|
{
|
|
return isset($this->manufacture_url);
|
|
}
|
|
|
|
public function clearManufactureUrl()
|
|
{
|
|
unset($this->manufacture_url);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.URL manufacture_url = 2;</code>
|
|
* @param \Rv\Data\URL $var
|
|
* @return $this
|
|
*/
|
|
public function setManufactureUrl($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\URL::class);
|
|
$this->manufacture_url = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string information = 3;</code>
|
|
* @return string
|
|
*/
|
|
public function getInformation()
|
|
{
|
|
return $this->information;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string information = 3;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setInformation($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->information = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string artist = 4;</code>
|
|
* @return string
|
|
*/
|
|
public function getArtist()
|
|
{
|
|
return $this->artist;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string artist = 4;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setArtist($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->artist = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string format = 5;</code>
|
|
* @return string
|
|
*/
|
|
public function getFormat()
|
|
{
|
|
return $this->format;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string format = 5;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setFormat($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->format = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|