public final class Romanization
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Cloud Translation API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Romanization() |
| Modifier and Type | Method and Description |
|---|---|
Romanization |
clone() |
String |
getDetectedLanguageCode()
The ISO-639 language code of source text in the initial request, detected automatically, if no
source language was passed within the initial request.
|
String |
getRomanizedText()
Romanized text.
|
Romanization |
set(String fieldName,
Object value) |
Romanization |
setDetectedLanguageCode(String detectedLanguageCode)
The ISO-639 language code of source text in the initial request, detected automatically, if no
source language was passed within the initial request.
|
Romanization |
setRomanizedText(String romanizedText)
Romanized text.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getDetectedLanguageCode()
null for nonepublic Romanization setDetectedLanguageCode(String detectedLanguageCode)
detectedLanguageCode - detectedLanguageCode or null for nonepublic String getRomanizedText()
null for nonepublic Romanization setRomanizedText(String romanizedText)
romanizedText - romanizedText or null for nonepublic Romanization set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Romanization clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2023 Google. All rights reserved.