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

276 lines
6.2 KiB
PHP

<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: presentation.proto
namespace Rv\Data\Presentation;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Generated from protobuf message <code>rv.data.Presentation.CCLI</code>
*/
class CCLI extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field <code>string author = 1;</code>
*/
protected $author = '';
/**
* Generated from protobuf field <code>string artist_credits = 2;</code>
*/
protected $artist_credits = '';
/**
* Generated from protobuf field <code>string song_title = 3;</code>
*/
protected $song_title = '';
/**
* Generated from protobuf field <code>string publisher = 4;</code>
*/
protected $publisher = '';
/**
* Generated from protobuf field <code>uint32 copyright_year = 5;</code>
*/
protected $copyright_year = 0;
/**
* Generated from protobuf field <code>uint32 song_number = 6;</code>
*/
protected $song_number = 0;
/**
* Generated from protobuf field <code>bool display = 7;</code>
*/
protected $display = false;
/**
* Generated from protobuf field <code>string album = 8;</code>
*/
protected $album = '';
/**
* Generated from protobuf field <code>bytes artwork = 9;</code>
*/
protected $artwork = '';
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type string $author
* @type string $artist_credits
* @type string $song_title
* @type string $publisher
* @type int $copyright_year
* @type int $song_number
* @type bool $display
* @type string $album
* @type string $artwork
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Presentation::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field <code>string author = 1;</code>
* @return string
*/
public function getAuthor()
{
return $this->author;
}
/**
* Generated from protobuf field <code>string author = 1;</code>
* @param string $var
* @return $this
*/
public function setAuthor($var)
{
GPBUtil::checkString($var, True);
$this->author = $var;
return $this;
}
/**
* Generated from protobuf field <code>string artist_credits = 2;</code>
* @return string
*/
public function getArtistCredits()
{
return $this->artist_credits;
}
/**
* Generated from protobuf field <code>string artist_credits = 2;</code>
* @param string $var
* @return $this
*/
public function setArtistCredits($var)
{
GPBUtil::checkString($var, True);
$this->artist_credits = $var;
return $this;
}
/**
* Generated from protobuf field <code>string song_title = 3;</code>
* @return string
*/
public function getSongTitle()
{
return $this->song_title;
}
/**
* Generated from protobuf field <code>string song_title = 3;</code>
* @param string $var
* @return $this
*/
public function setSongTitle($var)
{
GPBUtil::checkString($var, True);
$this->song_title = $var;
return $this;
}
/**
* Generated from protobuf field <code>string publisher = 4;</code>
* @return string
*/
public function getPublisher()
{
return $this->publisher;
}
/**
* Generated from protobuf field <code>string publisher = 4;</code>
* @param string $var
* @return $this
*/
public function setPublisher($var)
{
GPBUtil::checkString($var, True);
$this->publisher = $var;
return $this;
}
/**
* Generated from protobuf field <code>uint32 copyright_year = 5;</code>
* @return int
*/
public function getCopyrightYear()
{
return $this->copyright_year;
}
/**
* Generated from protobuf field <code>uint32 copyright_year = 5;</code>
* @param int $var
* @return $this
*/
public function setCopyrightYear($var)
{
GPBUtil::checkUint32($var);
$this->copyright_year = $var;
return $this;
}
/**
* Generated from protobuf field <code>uint32 song_number = 6;</code>
* @return int
*/
public function getSongNumber()
{
return $this->song_number;
}
/**
* Generated from protobuf field <code>uint32 song_number = 6;</code>
* @param int $var
* @return $this
*/
public function setSongNumber($var)
{
GPBUtil::checkUint32($var);
$this->song_number = $var;
return $this;
}
/**
* Generated from protobuf field <code>bool display = 7;</code>
* @return bool
*/
public function getDisplay()
{
return $this->display;
}
/**
* Generated from protobuf field <code>bool display = 7;</code>
* @param bool $var
* @return $this
*/
public function setDisplay($var)
{
GPBUtil::checkBool($var);
$this->display = $var;
return $this;
}
/**
* Generated from protobuf field <code>string album = 8;</code>
* @return string
*/
public function getAlbum()
{
return $this->album;
}
/**
* Generated from protobuf field <code>string album = 8;</code>
* @param string $var
* @return $this
*/
public function setAlbum($var)
{
GPBUtil::checkString($var, True);
$this->album = $var;
return $this;
}
/**
* Generated from protobuf field <code>bytes artwork = 9;</code>
* @return string
*/
public function getArtwork()
{
return $this->artwork;
}
/**
* Generated from protobuf field <code>bytes artwork = 9;</code>
* @param string $var
* @return $this
*/
public function setArtwork($var)
{
GPBUtil::checkString($var, False);
$this->artwork = $var;
return $this;
}
}