rv.data.Media.Metadata
*/
class Metadata extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field string manufacture_name = 1;
*/
protected $manufacture_name = '';
/**
* Generated from protobuf field .rv.data.URL manufacture_url = 2;
*/
protected $manufacture_url = null;
/**
* Generated from protobuf field string information = 3;
*/
protected $information = '';
/**
* Generated from protobuf field string artist = 4;
*/
protected $artist = '';
/**
* Generated from protobuf field string format = 5;
*/
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 string manufacture_name = 1;
* @return string
*/
public function getManufactureName()
{
return $this->manufacture_name;
}
/**
* Generated from protobuf field string manufacture_name = 1;
* @param string $var
* @return $this
*/
public function setManufactureName($var)
{
GPBUtil::checkString($var, True);
$this->manufacture_name = $var;
return $this;
}
/**
* Generated from protobuf field .rv.data.URL manufacture_url = 2;
* @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 .rv.data.URL manufacture_url = 2;
* @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 string information = 3;
* @return string
*/
public function getInformation()
{
return $this->information;
}
/**
* Generated from protobuf field string information = 3;
* @param string $var
* @return $this
*/
public function setInformation($var)
{
GPBUtil::checkString($var, True);
$this->information = $var;
return $this;
}
/**
* Generated from protobuf field string artist = 4;
* @return string
*/
public function getArtist()
{
return $this->artist;
}
/**
* Generated from protobuf field string artist = 4;
* @param string $var
* @return $this
*/
public function setArtist($var)
{
GPBUtil::checkString($var, True);
$this->artist = $var;
return $this;
}
/**
* Generated from protobuf field string format = 5;
* @return string
*/
public function getFormat()
{
return $this->format;
}
/**
* Generated from protobuf field string format = 5;
* @param string $var
* @return $this
*/
public function setFormat($var)
{
GPBUtil::checkString($var, True);
$this->format = $var;
return $this;
}
}