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

namespace Rv\Analytics\Import;

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

/**
 * Generated from protobuf message <code>rv.analytics.Import.SongSelect</code>
 */
class SongSelect extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>int32 template_slide_text_element_count = 1;</code>
     */
    protected $template_slide_text_element_count = 0;
    /**
     * Generated from protobuf field <code>bool import_into_playlist = 2;</code>
     */
    protected $import_into_playlist = false;
    /**
     * Generated from protobuf field <code>.rv.analytics.Import.SongSelect.LineDelimiter line_delimiter = 3;</code>
     */
    protected $line_delimiter = 0;
    /**
     * Generated from protobuf field <code>int32 line_delimiter_count = 4;</code>
     */
    protected $line_delimiter_count = 0;
    /**
     * Generated from protobuf field <code>bool did_open_edit_view = 5;</code>
     */
    protected $did_open_edit_view = false;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int $template_slide_text_element_count
     *     @type bool $import_into_playlist
     *     @type int $line_delimiter
     *     @type int $line_delimiter_count
     *     @type bool $did_open_edit_view
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\AnalyticsImport::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>int32 template_slide_text_element_count = 1;</code>
     * @return int
     */
    public function getTemplateSlideTextElementCount()
    {
        return $this->template_slide_text_element_count;
    }

    /**
     * Generated from protobuf field <code>int32 template_slide_text_element_count = 1;</code>
     * @param int $var
     * @return $this
     */
    public function setTemplateSlideTextElementCount($var)
    {
        GPBUtil::checkInt32($var);
        $this->template_slide_text_element_count = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>bool import_into_playlist = 2;</code>
     * @return bool
     */
    public function getImportIntoPlaylist()
    {
        return $this->import_into_playlist;
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.Import.SongSelect.LineDelimiter line_delimiter = 3;</code>
     * @return int
     */
    public function getLineDelimiter()
    {
        return $this->line_delimiter;
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.Import.SongSelect.LineDelimiter line_delimiter = 3;</code>
     * @param int $var
     * @return $this
     */
    public function setLineDelimiter($var)
    {
        GPBUtil::checkEnum($var, \Rv\Analytics\Import\SongSelect\LineDelimiter::class);
        $this->line_delimiter = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>int32 line_delimiter_count = 4;</code>
     * @return int
     */
    public function getLineDelimiterCount()
    {
        return $this->line_delimiter_count;
    }

    /**
     * Generated from protobuf field <code>int32 line_delimiter_count = 4;</code>
     * @param int $var
     * @return $this
     */
    public function setLineDelimiterCount($var)
    {
        GPBUtil::checkInt32($var);
        $this->line_delimiter_count = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>bool did_open_edit_view = 5;</code>
     * @return bool
     */
    public function getDidOpenEditView()
    {
        return $this->did_open_edit_view;
    }

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

        return $this;
    }

}

