public final class LanguagesResource
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 Google 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.Flags| Constructor and Description |
|---|
LanguagesResource() |
| Modifier and Type | Method and Description |
|---|---|
LanguagesResource |
clone() |
java.lang.String |
getLanguage()
Supported language code, generally consisting of its ISO 639-1 identifier.
|
java.lang.String |
getName()
Human readable name of the language localized to the target language.
|
LanguagesResource |
set(java.lang.String fieldName,
java.lang.Object value) |
LanguagesResource |
setLanguage(java.lang.String language)
Supported language code, generally consisting of its ISO 639-1 identifier.
|
LanguagesResource |
setName(java.lang.String name)
Human readable name of the language localized to the target language.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.String getLanguage()
null for nonepublic LanguagesResource setLanguage(java.lang.String language)
language - language or null for nonepublic java.lang.String getName()
null for nonepublic LanguagesResource setName(java.lang.String name)
name - name or null for nonepublic LanguagesResource set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic LanguagesResource clone()
clone in class com.google.api.client.json.GenericJson