<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/ads/admanager/v1/report_value.proto

namespace Google\Ads\AdManager\V1\ReportValue;

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

/**
 * A list of string values.
 *
 * Generated from protobuf message <code>google.ads.admanager.v1.ReportValue.StringList</code>
 */
class StringList extends \Google\Protobuf\Internal\Message
{
    /**
     * The values
     *
     * Generated from protobuf field <code>repeated string values = 1;</code>
     */
    private $values;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string[] $values
     *           The values
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Ads\Admanager\V1\ReportValue::initOnce();
        parent::__construct($data);
    }

    /**
     * The values
     *
     * Generated from protobuf field <code>repeated string values = 1;</code>
     * @return RepeatedField<string>
     */
    public function getValues()
    {
        return $this->values;
    }

    /**
     * The values
     *
     * Generated from protobuf field <code>repeated string values = 1;</code>
     * @param string[] $var
     * @return $this
     */
    public function setValues($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
        $this->values = $arr;

        return $this;
    }

}

