<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: ccli.proto

namespace Rv\Data;

use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;

/**
 * Generated from protobuf message <code>rv.data.CCLIDocument</code>
 */
class CCLIDocument extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>.rv.data.ApplicationInfo application_info = 1;</code>
     */
    protected $application_info = null;
    /**
     * Generated from protobuf field <code>bool enable_ccli_display = 2;</code>
     */
    protected $enable_ccli_display = false;
    /**
     * Generated from protobuf field <code>string ccli_license = 3;</code>
     */
    protected $ccli_license = '';
    /**
     * Generated from protobuf field <code>.rv.data.CCLIDocument.DisplayType display_type = 4;</code>
     */
    protected $display_type = 0;
    /**
     * Generated from protobuf field <code>.rv.data.Template.Slide template = 5;</code>
     */
    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 <code>.rv.data.ApplicationInfo application_info = 1;</code>
     * @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 <code>.rv.data.ApplicationInfo application_info = 1;</code>
     * @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 <code>bool enable_ccli_display = 2;</code>
     * @return bool
     */
    public function getEnableCcliDisplay()
    {
        return $this->enable_ccli_display;
    }

    /**
     * Generated from protobuf field <code>bool enable_ccli_display = 2;</code>
     * @param bool $var
     * @return $this
     */
    public function setEnableCcliDisplay($var)
    {
        GPBUtil::checkBool($var);
        $this->enable_ccli_display = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>string ccli_license = 3;</code>
     * @return string
     */
    public function getCcliLicense()
    {
        return $this->ccli_license;
    }

    /**
     * Generated from protobuf field <code>string ccli_license = 3;</code>
     * @param string $var
     * @return $this
     */
    public function setCcliLicense($var)
    {
        GPBUtil::checkString($var, True);
        $this->ccli_license = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.CCLIDocument.DisplayType display_type = 4;</code>
     * @return int
     */
    public function getDisplayType()
    {
        return $this->display_type;
    }

    /**
     * Generated from protobuf field <code>.rv.data.CCLIDocument.DisplayType display_type = 4;</code>
     * @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 <code>.rv.data.Template.Slide template = 5;</code>
     * @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 <code>.rv.data.Template.Slide template = 5;</code>
     * @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;
    }

}

