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

namespace Rv\Analytics\Startup;

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

/**
 * Generated from protobuf message <code>rv.analytics.Startup.Capture</code>
 */
class Capture extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>int32 presets_count = 1;</code>
     */
    protected $presets_count = 0;
    /**
     * Generated from protobuf field <code>int32 disk_presets_count = 2;</code>
     */
    protected $disk_presets_count = 0;
    /**
     * Generated from protobuf field <code>int32 rtmp_presets_count = 3;</code>
     */
    protected $rtmp_presets_count = 0;
    /**
     * Generated from protobuf field <code>int32 resi_presets_count = 4;</code>
     */
    protected $resi_presets_count = 0;

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

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

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

        return $this;
    }

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

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

        return $this;
    }

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

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

        return $this;
    }

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

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

        return $this;
    }

}

