public final class Glossary extends 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
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Glossary() |
| Modifier and Type | Method and Description |
|---|---|
Glossary |
clone() |
String |
getEndTime()
Output only.
|
Integer |
getEntryCount()
Output only.
|
GlossaryInputConfig |
getInputConfig()
Required.
|
LanguageCodesSet |
getLanguageCodesSet()
Used with equivalent term set glossaries.
|
LanguageCodePair |
getLanguagePair()
Used with unidirectional glossaries.
|
String |
getName()
Required.
|
String |
getSubmitTime()
Output only.
|
Glossary |
set(String fieldName,
Object value) |
Glossary |
setEndTime(String endTime)
Output only.
|
Glossary |
setEntryCount(Integer entryCount)
Output only.
|
Glossary |
setInputConfig(GlossaryInputConfig inputConfig)
Required.
|
Glossary |
setLanguageCodesSet(LanguageCodesSet languageCodesSet)
Used with equivalent term set glossaries.
|
Glossary |
setLanguagePair(LanguageCodePair languagePair)
Used with unidirectional glossaries.
|
Glossary |
setName(String name)
Required.
|
Glossary |
setSubmitTime(String submitTime)
Output only.
|
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 getEndTime()
null for nonepublic Glossary setEndTime(String endTime)
endTime - endTime or null for nonepublic Integer getEntryCount()
null for nonepublic Glossary setEntryCount(Integer entryCount)
entryCount - entryCount or null for nonepublic GlossaryInputConfig getInputConfig()
null for nonepublic Glossary setInputConfig(GlossaryInputConfig inputConfig)
inputConfig - inputConfig or null for nonepublic LanguageCodesSet getLanguageCodesSet()
null for nonepublic Glossary setLanguageCodesSet(LanguageCodesSet languageCodesSet)
languageCodesSet - languageCodesSet or null for nonepublic LanguageCodePair getLanguagePair()
null for nonepublic Glossary setLanguagePair(LanguageCodePair languagePair)
languagePair - languagePair or null for nonepublic String getName()
null for nonepublic Glossary setName(String name)
name - name or null for nonepublic String getSubmitTime()
null for nonepublic Glossary setSubmitTime(String submitTime)
submitTime - submitTime or null for nonepublic Glossary set(String fieldName, Object value)
set in class GenericJsonpublic Glossary clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.