<?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\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;

/**
 * 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 array<\Google\Cloud\Asset\V1\Feed>|\Google\Protobuf\Internal\RepeatedField $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 \Google\Protobuf\Internal\RepeatedField
     */
    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 array<\Google\Cloud\Asset\V1\Feed>|\Google\Protobuf\Internal\RepeatedField $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;
    }

}

