ErrorType Class
- java.
lang. Object - com.
microsoft. rest. ExpandableStringEnum<ErrorType> - com.
microsoft. azure. cognitiveservices. language. spellcheck. models. ErrorType
- com.
- com.
public class ErrorType
Defines values for ErrorType.
Field Summary
Modifier and Type | Field and Description |
---|---|
final Error |
REPEATED_TOKEN
Static value RepeatedToken for ErrorType. |
final Error |
UNKNOWN_TOKEN
Static value UnknownToken for ErrorType. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Error |
fromString(String name)
Creates or finds a ErrorType from its string representation. |
Collection<Error |
values() |
Field Details
REPEATED_TOKEN
public static final ErrorType REPEATED_TOKEN= fromString("RepeatedToken")
Static value RepeatedToken for ErrorType.
UNKNOWN_TOKEN
public static final ErrorType UNKNOWN_TOKEN= fromString("UnknownToken")
Static value UnknownToken for ErrorType.
Method Details
fromString
public static ErrorType fromString(String name)
Creates or finds a ErrorType from its string representation.
Parameters:
Returns:
values
public static Collection
Returns:
Applies to
Azure SDK for Java
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin