azure-docs-sdk-java/docs-ref-autogen/com.azure.ai.translation.te...

98 строки
6.3 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.ai.translation.text.models.TextType"
fullName: "com.azure.ai.translation.text.models.TextType"
name: "TextType"
nameWithType: "TextType"
summary: "Translation text type."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.util.ExpandableStringEnum?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"com.azure.core.util.ExpandableStringEnum?alt=com.azure.core.util.ExpandableStringEnum&text=ExpandableStringEnum\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.<T>fromString(java.lang.String,java.lang.Class<T>)?alt=com.azure.core.util.ExpandableStringEnum.<T>fromString&text=<T>fromString\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.<T>values(java.lang.Class<T>)?alt=com.azure.core.util.ExpandableStringEnum.<T>values&text=<T>values\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.equals(java.lang.Object)?alt=com.azure.core.util.ExpandableStringEnum.equals&text=equals\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.hashCode()?alt=com.azure.core.util.ExpandableStringEnum.hashCode&text=hashCode\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.toString()?alt=com.azure.core.util.ExpandableStringEnum.toString&text=toString\" data-throw-if-not-resolved=\"False\" />"
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **TextType**</br> extends <xref href=\"com.azure.core.util.ExpandableStringEnum?alt=com.azure.core.util.ExpandableStringEnum&text=ExpandableStringEnum\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.ai.translation.text.models.TextType?alt=com.azure.ai.translation.text.models.TextType&text=TextType\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.ai.translation.text.models.TextType.TextType()"
fullName: "com.azure.ai.translation.text.models.TextType.TextType()"
name: "TextType()"
nameWithType: "TextType.TextType()"
summary: "Creates a new instance of Text<wbr>Type value."
deprecatedTag: "Use the <xref uid=\"com.azure.ai.translation.text.models.TextType.fromString(java.lang.String)\" data-throw-if-not-resolved=\"false\" data-raw-source=\"#fromString(String)\"></xref> factory method."
syntax: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html\">@Deprecated</a></br>public TextType()"
desc: "Creates a new instance of TextType value."
hasDeprecatedTag: true
fields:
- uid: "com.azure.ai.translation.text.models.TextType.HTML"
fullName: "com.azure.ai.translation.text.models.TextType.HTML"
name: "HTML"
nameWithType: "TextType.HTML"
summary: "HTML-encoded text."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.ai.translation.text.models.TextType?alt=com.azure.ai.translation.text.models.TextType&text=TextType\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final TextType HTML"
desc: "HTML-encoded text."
- uid: "com.azure.ai.translation.text.models.TextType.PLAIN"
fullName: "com.azure.ai.translation.text.models.TextType.PLAIN"
name: "PLAIN"
nameWithType: "TextType.PLAIN"
summary: "Plain text."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.ai.translation.text.models.TextType?alt=com.azure.ai.translation.text.models.TextType&text=TextType\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final TextType PLAIN"
desc: "Plain text."
methods:
- uid: "com.azure.ai.translation.text.models.TextType.fromString(java.lang.String)"
fullName: "com.azure.ai.translation.text.models.TextType.fromString(String name)"
name: "fromString(String name)"
nameWithType: "TextType.fromString(String name)"
summary: "Creates or finds a Text<wbr>Type from its string representation."
modifiers:
- "static"
parameters:
- description: "a name to look for."
name: "name"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public static TextType fromString(String name)"
desc: "Creates or finds a TextType from its string representation."
returns:
description: "the corresponding TextType."
type: "<xref href=\"com.azure.ai.translation.text.models.TextType?alt=com.azure.ai.translation.text.models.TextType&text=TextType\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.ai.translation.text.models.TextType.values()"
fullName: "com.azure.ai.translation.text.models.TextType.values()"
name: "values()"
nameWithType: "TextType.values()"
summary: "Gets known Text<wbr>Type values."
modifiers:
- "static"
syntax: "public static Collection<TextType> values()"
desc: "Gets known TextType values."
returns:
description: "known TextType values."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html\">Collection</a>&lt;<xref href=\"com.azure.ai.translation.text.models.TextType?alt=com.azure.ai.translation.text.models.TextType&text=TextType\" data-throw-if-not-resolved=\"False\" />&gt;"
type: "class"
desc: "Translation text type."
metadata: {}
package: "com.azure.ai.translation.text.models"
artifact: com.azure:azure-ai-translation-text:1.0.0