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

namespace Google\Ads\GoogleAds\V20\Common;

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

/**
 * Metadata associated with a User Interest attribute.
 *
 * Generated from protobuf message <code>google.ads.googleads.v20.common.UserInterestAttributeMetadata</code>
 */
class UserInterestAttributeMetadata extends \Google\Protobuf\Internal\Message
{
    /**
     * English language text description of the user interest category (200
     * characters max).
     *
     * Generated from protobuf field <code>string user_interest_description = 1;</code>
     */
    protected $user_interest_description = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $user_interest_description
     *           English language text description of the user interest category (200
     *           characters max).
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Ads\GoogleAds\V20\Common\AudienceInsightsAttribute::initOnce();
        parent::__construct($data);
    }

    /**
     * English language text description of the user interest category (200
     * characters max).
     *
     * Generated from protobuf field <code>string user_interest_description = 1;</code>
     * @return string
     */
    public function getUserInterestDescription()
    {
        return $this->user_interest_description;
    }

    /**
     * English language text description of the user interest category (200
     * characters max).
     *
     * Generated from protobuf field <code>string user_interest_description = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setUserInterestDescription($var)
    {
        GPBUtil::checkString($var, True);
        $this->user_interest_description = $var;

        return $this;
    }

}

