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

namespace Rv\Analytics\MultiTracks;

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

/**
 * Generated from protobuf message <code>rv.analytics.MultiTracks.Import</code>
 */
class Import extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>.rv.analytics.MultiTracks.Account account = 1;</code>
     */
    protected $account = null;
    /**
     * Generated from protobuf field <code>bool charts_automation = 2;</code>
     */
    protected $charts_automation = false;
    /**
     * Generated from protobuf field <code>int32 lines = 3;</code>
     */
    protected $lines = 0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Rv\Analytics\MultiTracks\Account $account
     *     @type bool $charts_automation
     *     @type int $lines
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\AnalyticsMultiTracks::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.MultiTracks.Account account = 1;</code>
     * @return \Rv\Analytics\MultiTracks\Account|null
     */
    public function getAccount()
    {
        return $this->account;
    }

    public function hasAccount()
    {
        return isset($this->account);
    }

    public function clearAccount()
    {
        unset($this->account);
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.MultiTracks.Account account = 1;</code>
     * @param \Rv\Analytics\MultiTracks\Account $var
     * @return $this
     */
    public function setAccount($var)
    {
        GPBUtil::checkMessage($var, \Rv\Analytics\MultiTracks\Account::class);
        $this->account = $var;

        return $this;
    }

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

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

        return $this;
    }

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

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

        return $this;
    }

}

