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

namespace Rv\Analytics\Trigger\Action;

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

/**
 * Generated from protobuf message <code>rv.analytics.Trigger.Action.Stage</code>
 */
class Stage extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>int32 layout_change_count = 1;</code>
     */
    protected $layout_change_count = 0;
    /**
     * Generated from protobuf field <code>int32 total_stage_screens = 2;</code>
     */
    protected $total_stage_screens = 0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int $layout_change_count
     *     @type int $total_stage_screens
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\AnalyticsTrigger::initOnce();
        parent::__construct($data);
    }

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

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

        return $this;
    }

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

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

        return $this;
    }

}

