<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/video/transcoder/v1beta1/resources.proto

namespace Google\Cloud\Video\Transcoder\V1beta1\AudioStream\AudioAtom;

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

/**
 * The audio channel.
 *
 * Generated from protobuf message <code>google.cloud.video.transcoder.v1beta1.AudioStream.AudioAtom.AudioChannel</code>
 */
class AudioChannel extends \Google\Protobuf\Internal\Message
{
    /**
     * List of `Job.inputs` for this audio channel.
     *
     * Generated from protobuf field <code>repeated .google.cloud.video.transcoder.v1beta1.AudioStream.AudioAtom.AudioChannel.AudioChannelInput inputs = 2;</code>
     */
    private $inputs;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Google\Cloud\Video\Transcoder\V1beta1\AudioStream\AudioAtom\AudioChannel\AudioChannelInput[]|\Google\Protobuf\Internal\RepeatedField $inputs
     *           List of `Job.inputs` for this audio channel.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Video\Transcoder\V1Beta1\Resources::initOnce();
        parent::__construct($data);
    }

    /**
     * List of `Job.inputs` for this audio channel.
     *
     * Generated from protobuf field <code>repeated .google.cloud.video.transcoder.v1beta1.AudioStream.AudioAtom.AudioChannel.AudioChannelInput inputs = 2;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getInputs()
    {
        return $this->inputs;
    }

    /**
     * List of `Job.inputs` for this audio channel.
     *
     * Generated from protobuf field <code>repeated .google.cloud.video.transcoder.v1beta1.AudioStream.AudioAtom.AudioChannel.AudioChannelInput inputs = 2;</code>
     * @param \Google\Cloud\Video\Transcoder\V1beta1\AudioStream\AudioAtom\AudioChannel\AudioChannelInput[]|\Google\Protobuf\Internal\RepeatedField $var
     * @return $this
     */
    public function setInputs($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Video\Transcoder\V1beta1\AudioStream\AudioAtom\AudioChannel\AudioChannelInput::class);
        $this->inputs = $arr;

        return $this;
    }

}


