public final class GoogleCloudVisionV1p3beta1TextAnnotationDetectedLanguage
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 Vision 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 |
---|
GoogleCloudVisionV1p3beta1TextAnnotationDetectedLanguage() |
Modifier and Type | Method and Description |
---|---|
GoogleCloudVisionV1p3beta1TextAnnotationDetectedLanguage |
clone() |
java.lang.Float |
getConfidence()
Confidence of detected language.
|
java.lang.String |
getLanguageCode()
The BCP-47 language code, such as "en-US" or "sr-Latn".
|
GoogleCloudVisionV1p3beta1TextAnnotationDetectedLanguage |
set(java.lang.String fieldName,
java.lang.Object value) |
GoogleCloudVisionV1p3beta1TextAnnotationDetectedLanguage |
setConfidence(java.lang.Float confidence)
Confidence of detected language.
|
GoogleCloudVisionV1p3beta1TextAnnotationDetectedLanguage |
setLanguageCode(java.lang.String languageCode)
The BCP-47 language code, such as "en-US" or "sr-Latn".
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public GoogleCloudVisionV1p3beta1TextAnnotationDetectedLanguage()
public java.lang.Float getConfidence()
null
for nonepublic GoogleCloudVisionV1p3beta1TextAnnotationDetectedLanguage setConfidence(java.lang.Float confidence)
confidence
- confidence or null
for nonepublic java.lang.String getLanguageCode()
null
for nonepublic GoogleCloudVisionV1p3beta1TextAnnotationDetectedLanguage setLanguageCode(java.lang.String languageCode)
languageCode
- languageCode or null
for nonepublic GoogleCloudVisionV1p3beta1TextAnnotationDetectedLanguage set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public GoogleCloudVisionV1p3beta1TextAnnotationDetectedLanguage clone()
clone
in class com.google.api.client.json.GenericJson