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

namespace Rv\Analytics\Ui;

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

/**
 * Generated from protobuf message <code>rv.analytics.ui.WindowedOutputCreated</code>
 */
class WindowedOutputCreated extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>.rv.analytics.ui.WindowedOutputCreated.ScreenType screen_type = 1;</code>
     */
    protected $screen_type = 0;
    /**
     * Generated from protobuf field <code>int32 num_active_windowed_outputs = 2;</code>
     */
    protected $num_active_windowed_outputs = 0;

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

    /**
     * Generated from protobuf field <code>.rv.analytics.ui.WindowedOutputCreated.ScreenType screen_type = 1;</code>
     * @return int
     */
    public function getScreenType()
    {
        return $this->screen_type;
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.ui.WindowedOutputCreated.ScreenType screen_type = 1;</code>
     * @param int $var
     * @return $this
     */
    public function setScreenType($var)
    {
        GPBUtil::checkEnum($var, \Rv\Analytics\Ui\WindowedOutputCreated\ScreenType::class);
        $this->screen_type = $var;

        return $this;
    }

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

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

        return $this;
    }

}

