// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.

package com.azure.search.documents.models;

import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;

/** The language of the query. */
public final class QueryLanguage extends ExpandableStringEnum<QueryLanguage> {
    /** Query language not specified. */
    public static final QueryLanguage NONE = fromString("none");

    /** Query language value for English (United States). */
    public static final QueryLanguage EN_US = fromString("en-us");

    /** Query language value for English (Great Britain). */
    public static final QueryLanguage EN_GB = fromString("en-gb");

    /** Query language value for English (India). */
    public static final QueryLanguage EN_IN = fromString("en-in");

    /** Query language value for English (Canada). */
    public static final QueryLanguage EN_CA = fromString("en-ca");

    /** Query language value for English (Australia). */
    public static final QueryLanguage EN_AU = fromString("en-au");

    /** Query language value for French (France). */
    public static final QueryLanguage FR_FR = fromString("fr-fr");

    /** Query language value for French (Canada). */
    public static final QueryLanguage FR_CA = fromString("fr-ca");

    /** Query language value for German (Germany). */
    public static final QueryLanguage DE_DE = fromString("de-de");

    /** Query language value for Spanish (Spain). */
    public static final QueryLanguage ES_ES = fromString("es-es");

    /** Query language value for Spanish (Mexico). */
    public static final QueryLanguage ES_MX = fromString("es-mx");

    /** Query language value for Chinese (China). */
    public static final QueryLanguage ZH_CN = fromString("zh-cn");

    /** Query language value for Chinese (Taiwan). */
    public static final QueryLanguage ZH_TW = fromString("zh-tw");

    /** Query language value for Portuguese (Brazil). */
    public static final QueryLanguage PT_BR = fromString("pt-br");

    /** Query language value for Portuguese (Portugal). */
    public static final QueryLanguage PT_PT = fromString("pt-pt");

    /** Query language value for Italian (Italy). */
    public static final QueryLanguage IT_IT = fromString("it-it");

    /** Query language value for Japanese (Japan). */
    public static final QueryLanguage JA_JP = fromString("ja-jp");

    /** Query language value for Korean (Korea). */
    public static final QueryLanguage KO_KR = fromString("ko-kr");

    /** Query language value for Russian (Russia). */
    public static final QueryLanguage RU_RU = fromString("ru-ru");

    /** Query language value for Czech (Czech Republic). */
    public static final QueryLanguage CS_CZ = fromString("cs-cz");

    /** Query language value for Dutch (Belgium). */
    public static final QueryLanguage NL_BE = fromString("nl-be");

    /** Query language value for Dutch (Netherlands). */
    public static final QueryLanguage NL_NL = fromString("nl-nl");

    /** Query language value for Hungarian (Hungary). */
    public static final QueryLanguage HU_HU = fromString("hu-hu");

    /** Query language value for Polish (Poland). */
    public static final QueryLanguage PL_PL = fromString("pl-pl");

    /** Query language value for Swedish (Sweden). */
    public static final QueryLanguage SV_SE = fromString("sv-se");

    /** Query language value for Turkish (Turkey). */
    public static final QueryLanguage TR_TR = fromString("tr-tr");

    /** Query language value for Hindi (India). */
    public static final QueryLanguage HI_IN = fromString("hi-in");

    /** Query language value for Arabic (Saudi Arabia). */
    public static final QueryLanguage AR_SA = fromString("ar-sa");

    /** Query language value for Arabic (Egypt). */
    public static final QueryLanguage AR_EG = fromString("ar-eg");

    /** Query language value for Arabic (Morocco). */
    public static final QueryLanguage AR_MA = fromString("ar-ma");

    /** Query language value for Arabic (Kuwait). */
    public static final QueryLanguage AR_KW = fromString("ar-kw");

    /** Query language value for Arabic (Jordan). */
    public static final QueryLanguage AR_JO = fromString("ar-jo");

    /** Query language value for Danish (Denmark). */
    public static final QueryLanguage DA_DK = fromString("da-dk");

    /** Query language value for Norwegian (Norway). */
    public static final QueryLanguage NO_NO = fromString("no-no");

    /** Query language value for Bulgarian (Bulgaria). */
    public static final QueryLanguage BG_BG = fromString("bg-bg");

    /** Query language value for Croatian (Croatia). */
    public static final QueryLanguage HR_HR = fromString("hr-hr");

    /** Query language value for Croatian (Bosnia and Herzegovina). */
    public static final QueryLanguage HR_BA = fromString("hr-ba");

    /** Query language value for Malay (Malaysia). */
    public static final QueryLanguage MS_MY = fromString("ms-my");

    /** Query language value for Malay (Brunei Darussalam). */
    public static final QueryLanguage MS_BN = fromString("ms-bn");

    /** Query language value for Slovenian (Slovenia). */
    public static final QueryLanguage SL_SL = fromString("sl-sl");

    /** Query language value for Tamil (India). */
    public static final QueryLanguage TA_IN = fromString("ta-in");

    /** Query language value for Vietnamese (Viet Nam). */
    public static final QueryLanguage VI_VN = fromString("vi-vn");

    /** Query language value for Greek (Greece). */
    public static final QueryLanguage EL_GR = fromString("el-gr");

    /** Query language value for Romanian (Romania). */
    public static final QueryLanguage RO_RO = fromString("ro-ro");

    /** Query language value for Icelandic (Iceland). */
    public static final QueryLanguage IS_IS = fromString("is-is");

    /** Query language value for Indonesian (Indonesia). */
    public static final QueryLanguage ID_ID = fromString("id-id");

    /** Query language value for Thai (Thailand). */
    public static final QueryLanguage TH_TH = fromString("th-th");

    /** Query language value for Lithuanian (Lithuania). */
    public static final QueryLanguage LT_LT = fromString("lt-lt");

    /** Query language value for Ukrainian (Ukraine). */
    public static final QueryLanguage UK_UA = fromString("uk-ua");

    /** Query language value for Latvian (Latvia). */
    public static final QueryLanguage LV_LV = fromString("lv-lv");

    /** Query language value for Estonian (Estonia). */
    public static final QueryLanguage ET_EE = fromString("et-ee");

    /** Query language value for Catalan (Spain). */
    public static final QueryLanguage CA_ES = fromString("ca-es");

    /** Query language value for Finnish (Finland). */
    public static final QueryLanguage FI_FI = fromString("fi-fi");

    /** Query language value for Serbian (Bosnia and Herzegovina). */
    public static final QueryLanguage SR_BA = fromString("sr-ba");

    /** Query language value for Serbian (Montenegro). */
    public static final QueryLanguage SR_ME = fromString("sr-me");

    /** Query language value for Serbian (Serbia). */
    public static final QueryLanguage SR_RS = fromString("sr-rs");

    /** Query language value for Slovak (Slovakia). */
    public static final QueryLanguage SK_SK = fromString("sk-sk");

    /** Query language value for Norwegian (Norway). */
    public static final QueryLanguage NB_NO = fromString("nb-no");

    /** Query language value for Armenian (Armenia). */
    public static final QueryLanguage HY_AM = fromString("hy-am");

    /** Query language value for Bengali (India). */
    public static final QueryLanguage BN_IN = fromString("bn-in");

    /** Query language value for Basque (Spain). */
    public static final QueryLanguage EU_ES = fromString("eu-es");

    /** Query language value for Galician (Spain). */
    public static final QueryLanguage GL_ES = fromString("gl-es");

    /** Query language value for Gujarati (India). */
    public static final QueryLanguage GU_IN = fromString("gu-in");

    /** Query language value for Hebrew (Israel). */
    public static final QueryLanguage HE_IL = fromString("he-il");

    /** Query language value for Irish (Ireland). */
    public static final QueryLanguage GA_IE = fromString("ga-ie");

    /** Query language value for Kannada (India). */
    public static final QueryLanguage KN_IN = fromString("kn-in");

    /** Query language value for Malayalam (India). */
    public static final QueryLanguage ML_IN = fromString("ml-in");

    /** Query language value for Marathi (India). */
    public static final QueryLanguage MR_IN = fromString("mr-in");

    /** Query language value for Persian (U.A.E.). */
    public static final QueryLanguage FA_AE = fromString("fa-ae");

    /** Query language value for Punjabi (India). */
    public static final QueryLanguage PA_IN = fromString("pa-in");

    /** Query language value for Telugu (India). */
    public static final QueryLanguage TE_IN = fromString("te-in");

    /** Query language value for Urdu (Pakistan). */
    public static final QueryLanguage UR_PK = fromString("ur-pk");

    /**
     * Creates a new instance of QueryLanguage value.
     *
     * @deprecated Use the {@link #fromString(String)} factory method.
     */
    @Deprecated
    public QueryLanguage() {}

    /**
     * Creates or finds a QueryLanguage from its string representation.
     *
     * @param name a name to look for.
     * @return the corresponding QueryLanguage.
     */
    public static QueryLanguage fromString(String name) {
        return fromString(name, QueryLanguage.class);
    }

    /**
     * Gets known QueryLanguage values.
     *
     * @return known QueryLanguage values.
     */
    public static Collection<QueryLanguage> values() {
        return values(QueryLanguage.class);
    }
}
