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

namespace Google\Ads\GoogleAds\V23\Common;

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

/**
 * List of sample urls that match the website target
 *
 * Generated from protobuf message <code>google.ads.googleads.v23.common.WebpageSampleInfo</code>
 */
class WebpageSampleInfo extends \Google\Protobuf\Internal\Message
{
    /**
     * Webpage sample urls
     *
     * Generated from protobuf field <code>repeated string sample_urls = 1;</code>
     */
    private $sample_urls;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type array<string>|\Google\Protobuf\Internal\RepeatedField $sample_urls
     *           Webpage sample urls
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Ads\GoogleAds\V23\Common\Criteria::initOnce();
        parent::__construct($data);
    }

    /**
     * Webpage sample urls
     *
     * Generated from protobuf field <code>repeated string sample_urls = 1;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getSampleUrls()
    {
        return $this->sample_urls;
    }

    /**
     * Webpage sample urls
     *
     * Generated from protobuf field <code>repeated string sample_urls = 1;</code>
     * @param array<string>|\Google\Protobuf\Internal\RepeatedField $var
     * @return $this
     */
    public function setSampleUrls($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
        $this->sample_urls = $arr;

        return $this;
    }

}

