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

namespace Google\Ads\GoogleAds\V23\Common;

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

/**
 * Metadata associated with a User Interest attribute.
 *
 * Generated from protobuf message <code>google.ads.googleads.v23.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\V23\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;
    }

}

