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

namespace Google\Ads\GoogleAds\V25\Resources\ConversionValueRule;

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

/**
 * Condition on Audience dimension.
 *
 * Generated from protobuf message <code>google.ads.googleads.v25.resources.ConversionValueRule.ValueRuleAudienceCondition</code>
 */
class ValueRuleAudienceCondition extends \Google\Protobuf\Internal\Message
{
    /**
     * User Lists.
     *
     * Generated from protobuf field <code>repeated string user_lists = 1 [(.google.api.resource_reference) = {</code>
     */
    private $user_lists;
    /**
     * User Interests.
     *
     * Generated from protobuf field <code>repeated string user_interests = 2 [(.google.api.resource_reference) = {</code>
     */
    private $user_interests;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string[] $user_lists
     *           User Lists.
     *     @type string[] $user_interests
     *           User Interests.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Ads\GoogleAds\V25\Resources\ConversionValueRule::initOnce();
        parent::__construct($data);
    }

    /**
     * User Lists.
     *
     * Generated from protobuf field <code>repeated string user_lists = 1 [(.google.api.resource_reference) = {</code>
     * @return RepeatedField<string>
     */
    public function getUserLists()
    {
        return $this->user_lists;
    }

    /**
     * User Lists.
     *
     * Generated from protobuf field <code>repeated string user_lists = 1 [(.google.api.resource_reference) = {</code>
     * @param string[] $var
     * @return $this
     */
    public function setUserLists($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
        $this->user_lists = $arr;

        return $this;
    }

    /**
     * User Interests.
     *
     * Generated from protobuf field <code>repeated string user_interests = 2 [(.google.api.resource_reference) = {</code>
     * @return RepeatedField<string>
     */
    public function getUserInterests()
    {
        return $this->user_interests;
    }

    /**
     * User Interests.
     *
     * Generated from protobuf field <code>repeated string user_interests = 2 [(.google.api.resource_reference) = {</code>
     * @param string[] $var
     * @return $this
     */
    public function setUserInterests($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
        $this->user_interests = $arr;

        return $this;
    }

}

