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

namespace Google\Ads\GoogleAds\V23\Services;

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

/**
 * Request message for
 * [KeywordThemeConstantService.SuggestKeywordThemeConstants][google.ads.googleads.v23.services.KeywordThemeConstantService.SuggestKeywordThemeConstants].
 *
 * Generated from protobuf message <code>google.ads.googleads.v23.services.SuggestKeywordThemeConstantsRequest</code>
 */
class SuggestKeywordThemeConstantsRequest extends \Google\Protobuf\Internal\Message
{
    /**
     * The query text of a keyword theme that will be used to map to similar
     * keyword themes. For example, "plumber" or "roofer".
     *
     * Generated from protobuf field <code>string query_text = 1;</code>
     */
    protected $query_text = '';
    /**
     * Upper-case, two-letter country code as defined by ISO-3166. This for
     * refining the scope of the query, default to 'US' if not set.
     *
     * Generated from protobuf field <code>string country_code = 2;</code>
     */
    protected $country_code = '';
    /**
     * The two letter language code for get corresponding keyword theme for
     * refining the scope of the query, default to 'en' if not set.
     *
     * Generated from protobuf field <code>string language_code = 3;</code>
     */
    protected $language_code = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $query_text
     *           The query text of a keyword theme that will be used to map to similar
     *           keyword themes. For example, "plumber" or "roofer".
     *     @type string $country_code
     *           Upper-case, two-letter country code as defined by ISO-3166. This for
     *           refining the scope of the query, default to 'US' if not set.
     *     @type string $language_code
     *           The two letter language code for get corresponding keyword theme for
     *           refining the scope of the query, default to 'en' if not set.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Ads\GoogleAds\V23\Services\KeywordThemeConstantService::initOnce();
        parent::__construct($data);
    }

    /**
     * The query text of a keyword theme that will be used to map to similar
     * keyword themes. For example, "plumber" or "roofer".
     *
     * Generated from protobuf field <code>string query_text = 1;</code>
     * @return string
     */
    public function getQueryText()
    {
        return $this->query_text;
    }

    /**
     * The query text of a keyword theme that will be used to map to similar
     * keyword themes. For example, "plumber" or "roofer".
     *
     * Generated from protobuf field <code>string query_text = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setQueryText($var)
    {
        GPBUtil::checkString($var, True);
        $this->query_text = $var;

        return $this;
    }

    /**
     * Upper-case, two-letter country code as defined by ISO-3166. This for
     * refining the scope of the query, default to 'US' if not set.
     *
     * Generated from protobuf field <code>string country_code = 2;</code>
     * @return string
     */
    public function getCountryCode()
    {
        return $this->country_code;
    }

    /**
     * Upper-case, two-letter country code as defined by ISO-3166. This for
     * refining the scope of the query, default to 'US' if not set.
     *
     * Generated from protobuf field <code>string country_code = 2;</code>
     * @param string $var
     * @return $this
     */
    public function setCountryCode($var)
    {
        GPBUtil::checkString($var, True);
        $this->country_code = $var;

        return $this;
    }

    /**
     * The two letter language code for get corresponding keyword theme for
     * refining the scope of the query, default to 'en' if not set.
     *
     * Generated from protobuf field <code>string language_code = 3;</code>
     * @return string
     */
    public function getLanguageCode()
    {
        return $this->language_code;
    }

    /**
     * The two letter language code for get corresponding keyword theme for
     * refining the scope of the query, default to 'en' if not set.
     *
     * Generated from protobuf field <code>string language_code = 3;</code>
     * @param string $var
     * @return $this
     */
    public function setLanguageCode($var)
    {
        GPBUtil::checkString($var, True);
        $this->language_code = $var;

        return $this;
    }

}

