WarningCode Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. ai. textanalytics. models. WarningCode
- com.
- com.
public final class WarningCode
extends ExpandableStringEnum<WarningCode>
Defines values for WarningCode.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Warning |
DOCUMENT_TRUNCATED
Static value Document |
|
static final
Warning |
LONG_WORDS_IN_DOCUMENT
Static value Long |
Constructor Summary
| Constructor | Description |
|---|---|
| WarningCode() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Warning |
fromString(String name)
Creates or finds a |
|
static
Collection<Warning |
values()
All known Warning |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
DOCUMENT_TRUNCATED
public static final WarningCode DOCUMENT_TRUNCATED
Static value DocumentTruncated for WarningCode.
LONG_WORDS_IN_DOCUMENT
public static final WarningCode LONG_WORDS_IN_DOCUMENT
Static value LongWordsInDocument for WarningCode.
Constructor Details
WarningCode
@Deprecated
public WarningCode()
Deprecated
Creates a new instance of WarningCode value.
Method Details
fromString
public static WarningCode fromString(String name)
Creates or finds a WarningCode from its string representation.
Parameters:
Returns:
WarningCode.values
public static Collection<WarningCode> values()
All known WarningCode values.
Returns: