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

namespace Google\Ads\GoogleAds\V25\Services\SuggestGeoTargetConstantsRequest;

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

/**
 * A list of geo target constant resource names.
 *
 * Generated from protobuf message <code>google.ads.googleads.v25.services.SuggestGeoTargetConstantsRequest.GeoTargets</code>
 */
class GeoTargets extends \Google\Protobuf\Internal\Message
{
    /**
     * A list of geo target constant resource names.
     *
     * Generated from protobuf field <code>repeated string geo_target_constants = 2;</code>
     */
    private $geo_target_constants;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string[] $geo_target_constants
     *           A list of geo target constant resource names.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Ads\GoogleAds\V25\Services\GeoTargetConstantService::initOnce();
        parent::__construct($data);
    }

    /**
     * A list of geo target constant resource names.
     *
     * Generated from protobuf field <code>repeated string geo_target_constants = 2;</code>
     * @return RepeatedField<string>
     */
    public function getGeoTargetConstants()
    {
        return $this->geo_target_constants;
    }

    /**
     * A list of geo target constant resource names.
     *
     * Generated from protobuf field <code>repeated string geo_target_constants = 2;</code>
     * @param string[] $var
     * @return $this
     */
    public function setGeoTargetConstants($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
        $this->geo_target_constants = $arr;

        return $this;
    }

}

