Class TextNormalization
java.lang.Object
com.google.genai.gaos.models.interactions.TextNormalization
TextNormalization
Controls text normalization before speech synthesis.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TextNormalizationstatic final TextNormalizationstatic final TextNormalization -
Method Summary
Modifier and TypeMethodDescriptionasEnum()booleaninthashCode()booleanisKnown()static TextNormalizationReturns a TextNormalization with the given value.toString()value()static TextNormalization[]values()
-
Field Details
-
AUTO
-
ENABLED
-
DISABLED
-
-
Method Details
-
of
Returns a TextNormalization with the given value. For a specific value the returned object will always be a singleton so reference equality is satisfied when the values are the same.- Parameters:
value- value to be wrapped as TextNormalization
-
value
-
asEnum
-
isKnown
public boolean isKnown() -
hashCode
public int hashCode() -
equals
-
toString
-
values
-