<?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.Audio</code>
 */
class Audio extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>int32 bus_count = 1;</code>
     */
    protected $bus_count = 0;
    /**
     * Generated from protobuf field <code>.rv.analytics.Startup.Audio.AudioDevice inspector_device = 2;</code>
     */
    protected $inspector_device = 0;
    /**
     * Generated from protobuf field <code>.rv.analytics.Startup.Audio.InspectorRouting inspector_routing = 3;</code>
     */
    protected $inspector_routing = 0;
    /**
     * Generated from protobuf field <code>.rv.analytics.Startup.Audio.AudioDevice main_device = 4;</code>
     */
    protected $main_device = 0;
    /**
     * Generated from protobuf field <code>.rv.analytics.Startup.Audio.AudioRouting main_routing = 5;</code>
     */
    protected $main_routing = 0;
    /**
     * Generated from protobuf field <code>int32 main_delay = 6;</code>
     */
    protected $main_delay = 0;
    /**
     * Generated from protobuf field <code>bool sdi_ndi = 7;</code>
     */
    protected $sdi_ndi = false;
    /**
     * Generated from protobuf field <code>.rv.analytics.Startup.Audio.AudioRouting sdi_ndi_routing = 8;</code>
     */
    protected $sdi_ndi_routing = 0;
    /**
     * Generated from protobuf field <code>int32 sdi_ndi_delay = 9;</code>
     */
    protected $sdi_ndi_delay = 0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int $bus_count
     *     @type int $inspector_device
     *     @type int $inspector_routing
     *     @type int $main_device
     *     @type int $main_routing
     *     @type int $main_delay
     *     @type bool $sdi_ndi
     *     @type int $sdi_ndi_routing
     *     @type int $sdi_ndi_delay
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\AnalyticsStartup::initOnce();
        parent::__construct($data);
    }

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

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.Startup.Audio.AudioDevice inspector_device = 2;</code>
     * @return int
     */
    public function getInspectorDevice()
    {
        return $this->inspector_device;
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.Startup.Audio.AudioDevice inspector_device = 2;</code>
     * @param int $var
     * @return $this
     */
    public function setInspectorDevice($var)
    {
        GPBUtil::checkEnum($var, \Rv\Analytics\Startup\Audio\AudioDevice::class);
        $this->inspector_device = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.Startup.Audio.InspectorRouting inspector_routing = 3;</code>
     * @return int
     */
    public function getInspectorRouting()
    {
        return $this->inspector_routing;
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.Startup.Audio.InspectorRouting inspector_routing = 3;</code>
     * @param int $var
     * @return $this
     */
    public function setInspectorRouting($var)
    {
        GPBUtil::checkEnum($var, \Rv\Analytics\Startup\Audio\InspectorRouting::class);
        $this->inspector_routing = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.Startup.Audio.AudioDevice main_device = 4;</code>
     * @return int
     */
    public function getMainDevice()
    {
        return $this->main_device;
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.Startup.Audio.AudioDevice main_device = 4;</code>
     * @param int $var
     * @return $this
     */
    public function setMainDevice($var)
    {
        GPBUtil::checkEnum($var, \Rv\Analytics\Startup\Audio\AudioDevice::class);
        $this->main_device = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.Startup.Audio.AudioRouting main_routing = 5;</code>
     * @return int
     */
    public function getMainRouting()
    {
        return $this->main_routing;
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.Startup.Audio.AudioRouting main_routing = 5;</code>
     * @param int $var
     * @return $this
     */
    public function setMainRouting($var)
    {
        GPBUtil::checkEnum($var, \Rv\Analytics\Startup\Audio\AudioRouting::class);
        $this->main_routing = $var;

        return $this;
    }

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

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>bool sdi_ndi = 7;</code>
     * @return bool
     */
    public function getSdiNdi()
    {
        return $this->sdi_ndi;
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.Startup.Audio.AudioRouting sdi_ndi_routing = 8;</code>
     * @return int
     */
    public function getSdiNdiRouting()
    {
        return $this->sdi_ndi_routing;
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.Startup.Audio.AudioRouting sdi_ndi_routing = 8;</code>
     * @param int $var
     * @return $this
     */
    public function setSdiNdiRouting($var)
    {
        GPBUtil::checkEnum($var, \Rv\Analytics\Startup\Audio\AudioRouting::class);
        $this->sdi_ndi_routing = $var;

        return $this;
    }

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

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

        return $this;
    }

}

