public final class DetectionsResourceItems
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 Translate 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.Flags| Constructor and Description |
|---|
DetectionsResourceItems() |
| Modifier and Type | Method and Description |
|---|---|
DetectionsResourceItems |
clone() |
java.lang.Float |
getConfidence()
The confidence of the detection resul of this language.
|
java.lang.Boolean |
getIsReliable()
A boolean to indicate is the language detection result reliable.
|
java.lang.String |
getLanguage()
The language we detect
|
DetectionsResourceItems |
set(java.lang.String fieldName,
java.lang.Object value) |
DetectionsResourceItems |
setConfidence(java.lang.Float confidence)
The confidence of the detection resul of this language.
|
DetectionsResourceItems |
setIsReliable(java.lang.Boolean isReliable)
A boolean to indicate is the language detection result reliable.
|
DetectionsResourceItems |
setLanguage(java.lang.String language)
The language we detect
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.Float getConfidence()
null for nonepublic DetectionsResourceItems setConfidence(java.lang.Float confidence)
confidence - confidence or null for nonepublic java.lang.Boolean getIsReliable()
null for nonepublic DetectionsResourceItems setIsReliable(java.lang.Boolean isReliable)
isReliable - isReliable or null for nonepublic java.lang.String getLanguage()
null for nonepublic DetectionsResourceItems setLanguage(java.lang.String language)
language - language or null for nonepublic DetectionsResourceItems set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic DetectionsResourceItems clone()
clone in class com.google.api.client.json.GenericJson