rv.data.CCLIDocument
*/
class CCLIDocument extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field .rv.data.ApplicationInfo application_info = 1;
*/
protected $application_info = null;
/**
* Generated from protobuf field bool enable_ccli_display = 2;
*/
protected $enable_ccli_display = false;
/**
* Generated from protobuf field string ccli_license = 3;
*/
protected $ccli_license = '';
/**
* Generated from protobuf field .rv.data.CCLIDocument.DisplayType display_type = 4;
*/
protected $display_type = 0;
/**
* Generated from protobuf field .rv.data.Template.Slide template = 5;
*/
protected $template = null;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type \Rv\Data\ApplicationInfo $application_info
* @type bool $enable_ccli_display
* @type string $ccli_license
* @type int $display_type
* @type \Rv\Data\Template\Slide $template
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Ccli::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field .rv.data.ApplicationInfo application_info = 1;
* @return \Rv\Data\ApplicationInfo|null
*/
public function getApplicationInfo()
{
return $this->application_info;
}
public function hasApplicationInfo()
{
return isset($this->application_info);
}
public function clearApplicationInfo()
{
unset($this->application_info);
}
/**
* Generated from protobuf field .rv.data.ApplicationInfo application_info = 1;
* @param \Rv\Data\ApplicationInfo $var
* @return $this
*/
public function setApplicationInfo($var)
{
GPBUtil::checkMessage($var, \Rv\Data\ApplicationInfo::class);
$this->application_info = $var;
return $this;
}
/**
* Generated from protobuf field bool enable_ccli_display = 2;
* @return bool
*/
public function getEnableCcliDisplay()
{
return $this->enable_ccli_display;
}
/**
* Generated from protobuf field bool enable_ccli_display = 2;
* @param bool $var
* @return $this
*/
public function setEnableCcliDisplay($var)
{
GPBUtil::checkBool($var);
$this->enable_ccli_display = $var;
return $this;
}
/**
* Generated from protobuf field string ccli_license = 3;
* @return string
*/
public function getCcliLicense()
{
return $this->ccli_license;
}
/**
* Generated from protobuf field string ccli_license = 3;
* @param string $var
* @return $this
*/
public function setCcliLicense($var)
{
GPBUtil::checkString($var, True);
$this->ccli_license = $var;
return $this;
}
/**
* Generated from protobuf field .rv.data.CCLIDocument.DisplayType display_type = 4;
* @return int
*/
public function getDisplayType()
{
return $this->display_type;
}
/**
* Generated from protobuf field .rv.data.CCLIDocument.DisplayType display_type = 4;
* @param int $var
* @return $this
*/
public function setDisplayType($var)
{
GPBUtil::checkEnum($var, \Rv\Data\CCLIDocument\DisplayType::class);
$this->display_type = $var;
return $this;
}
/**
* Generated from protobuf field .rv.data.Template.Slide template = 5;
* @return \Rv\Data\Template\Slide|null
*/
public function getTemplate()
{
return $this->template;
}
public function hasTemplate()
{
return isset($this->template);
}
public function clearTemplate()
{
unset($this->template);
}
/**
* Generated from protobuf field .rv.data.Template.Slide template = 5;
* @param \Rv\Data\Template\Slide $var
* @return $this
*/
public function setTemplate($var)
{
GPBUtil::checkMessage($var, \Rv\Data\Template\Slide::class);
$this->template = $var;
return $this;
}
}