<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/asset/v1/asset_service.proto

namespace Google\Cloud\Asset\V1;

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

/**
 * Generated from protobuf message <code>google.cloud.asset.v1.ListFeedsResponse</code>
 */
class ListFeedsResponse extends \Google\Protobuf\Internal\Message
{
    /**
     * A list of feeds.
     *
     * Generated from protobuf field <code>repeated .google.cloud.asset.v1.Feed feeds = 1;</code>
     */
    private $feeds;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Google\Cloud\Asset\V1\Feed[] $feeds
     *           A list of feeds.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
        parent::__construct($data);
    }

    /**
     * A list of feeds.
     *
     * Generated from protobuf field <code>repeated .google.cloud.asset.v1.Feed feeds = 1;</code>
     * @return RepeatedField<\Google\Cloud\Asset\V1\Feed>
     */
    public function getFeeds()
    {
        return $this->feeds;
    }

    /**
     * A list of feeds.
     *
     * Generated from protobuf field <code>repeated .google.cloud.asset.v1.Feed feeds = 1;</code>
     * @param \Google\Cloud\Asset\V1\Feed[] $var
     * @return $this
     */
    public function setFeeds($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Asset\V1\Feed::class);
        $this->feeds = $arr;

        return $this;
    }

}

