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

102 строки
6.4 KiB
YAML
Исходник Обычный вид История

### YamlMime:JavaEnum
uid: "com.azure.ai.translation.text.models.ProfanityAction"
fullName: "com.azure.ai.translation.text.models.ProfanityAction"
name: "ProfanityAction"
nameWithType: "ProfanityAction"
summary: "Translator profanity actions."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Enum?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html\">Enum</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#valueOf-java.lang.Class-java.lang.String-\">valueOf</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#compareTo-E-\">compareTo</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#describeConstable--\">describeConstable</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#getDeclaringClass--\">getDeclaringClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#name--\">name</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#ordinal--\">ordinal</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#toString--\">toString</a>"
- 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#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 enum **ProfanityAction**</br> extends <a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html\">Enum</a>&lt;<xref href=\"com.azure.ai.translation.text.models.ProfanityAction?alt=com.azure.ai.translation.text.models.ProfanityAction&text=ProfanityAction\" data-throw-if-not-resolved=\"False\" />&gt;"
fields:
- uid: "com.azure.ai.translation.text.models.ProfanityAction.DELETED"
fullName: "com.azure.ai.translation.text.models.ProfanityAction.DELETED"
name: "DELETED"
nameWithType: "ProfanityAction.DELETED"
summary: "Profanity is deleted from the translated text."
desc: "Profanity is deleted from the translated text."
- uid: "com.azure.ai.translation.text.models.ProfanityAction.MARKED"
fullName: "com.azure.ai.translation.text.models.ProfanityAction.MARKED"
name: "MARKED"
nameWithType: "ProfanityAction.MARKED"
summary: "Profanity is marked."
desc: "Profanity is marked."
- uid: "com.azure.ai.translation.text.models.ProfanityAction.NO_ACTION"
fullName: "com.azure.ai.translation.text.models.ProfanityAction.NO_ACTION"
name: "NO_ACTION"
nameWithType: "ProfanityAction.NO_ACTION"
summary: "No Action is taken on profanity."
desc: "No Action is taken on profanity."
methods:
- uid: "com.azure.ai.translation.text.models.ProfanityAction.fromString(java.lang.String)"
fullName: "com.azure.ai.translation.text.models.ProfanityAction.fromString(String value)"
name: "fromString(String value)"
nameWithType: "ProfanityAction.fromString(String value)"
summary: "Parses a serialized value to a Profanity<wbr>Action instance."
modifiers:
- "static"
parameters:
- description: "the serialized value to parse."
name: "value"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public static ProfanityAction fromString(String value)"
desc: "Parses a serialized value to a ProfanityAction instance."
returns:
description: "the parsed ProfanityAction object, or null if unable to parse."
type: "<xref href=\"com.azure.ai.translation.text.models.ProfanityAction?alt=com.azure.ai.translation.text.models.ProfanityAction&text=ProfanityAction\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.ai.translation.text.models.ProfanityAction.toString()"
fullName: "com.azure.ai.translation.text.models.ProfanityAction.toString()"
name: "toString()"
nameWithType: "ProfanityAction.toString()"
overridden: "java.lang.Enum.toString()"
syntax: "public String toString()"
returns:
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.ai.translation.text.models.ProfanityAction.valueOf(java.lang.String)"
fullName: "com.azure.ai.translation.text.models.ProfanityAction.valueOf(String name)"
name: "valueOf(String name)"
nameWithType: "ProfanityAction.valueOf(String name)"
modifiers:
- "static"
parameters:
- name: "name"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public static ProfanityAction valueOf(String name)"
returns:
type: "<xref href=\"com.azure.ai.translation.text.models.ProfanityAction?alt=com.azure.ai.translation.text.models.ProfanityAction&text=ProfanityAction\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.ai.translation.text.models.ProfanityAction.values()"
fullName: "com.azure.ai.translation.text.models.ProfanityAction.values()"
name: "values()"
nameWithType: "ProfanityAction.values()"
modifiers:
- "static"
syntax: "public static ProfanityAction[] values()"
returns:
type: "<xref href=\"com.azure.ai.translation.text.models.ProfanityAction?alt=com.azure.ai.translation.text.models.ProfanityAction&text=ProfanityAction\" data-throw-if-not-resolved=\"False\" />[]"
desc: "Translator profanity actions."
metadata: {}
package: "com.azure.ai.translation.text.models"
artifact: com.azure:azure-ai-translation-text:1.0.0