<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/ads/googleads/v23/services/benchmarks_service.proto

namespace Google\Ads\GoogleAds\V23\Services;

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

/**
 * Response message for
 * [BenchmarksService.ListBenchmarksLocations][google.ads.googleads.v23.services.BenchmarksService.ListBenchmarksLocations].
 *
 * Generated from protobuf message <code>google.ads.googleads.v23.services.ListBenchmarksLocationsResponse</code>
 */
class ListBenchmarksLocationsResponse extends \Google\Protobuf\Internal\Message
{
    /**
     * The list of locations supported for benchmarks data.
     *
     * Generated from protobuf field <code>repeated .google.ads.googleads.v23.services.BenchmarksLocation benchmarks_locations = 1;</code>
     */
    private $benchmarks_locations;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type array<\Google\Ads\GoogleAds\V23\Services\BenchmarksLocation>|\Google\Protobuf\Internal\RepeatedField $benchmarks_locations
     *           The list of locations supported for benchmarks data.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Ads\GoogleAds\V23\Services\BenchmarksService::initOnce();
        parent::__construct($data);
    }

    /**
     * The list of locations supported for benchmarks data.
     *
     * Generated from protobuf field <code>repeated .google.ads.googleads.v23.services.BenchmarksLocation benchmarks_locations = 1;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getBenchmarksLocations()
    {
        return $this->benchmarks_locations;
    }

    /**
     * The list of locations supported for benchmarks data.
     *
     * Generated from protobuf field <code>repeated .google.ads.googleads.v23.services.BenchmarksLocation benchmarks_locations = 1;</code>
     * @param array<\Google\Ads\GoogleAds\V23\Services\BenchmarksLocation>|\Google\Protobuf\Internal\RepeatedField $var
     * @return $this
     */
    public function setBenchmarksLocations($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V23\Services\BenchmarksLocation::class);
        $this->benchmarks_locations = $arr;

        return $this;
    }

}

