public final class Dataset
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 |
|---|
Dataset() |
| Modifier and Type | Method and Description |
|---|---|
Dataset |
clone() |
String |
getCreateTime()
Output only.
|
String |
getDisplayName()
The name of the dataset to show in the interface.
|
Integer |
getExampleCount()
Output only.
|
String |
getName()
The resource name of the dataset, in form of `projects/{project-number-or-
id}/locations/{location_id}/datasets/{dataset_id}`
|
String |
getSourceLanguageCode()
The BCP-47 language code of the source language.
|
String |
getTargetLanguageCode()
The BCP-47 language code of the target language.
|
Integer |
getTestExampleCount()
Output only.
|
Integer |
getTrainExampleCount()
Output only.
|
String |
getUpdateTime()
Output only.
|
Integer |
getValidateExampleCount()
Output only.
|
Dataset |
set(String fieldName,
Object value) |
Dataset |
setCreateTime(String createTime)
Output only.
|
Dataset |
setDisplayName(String displayName)
The name of the dataset to show in the interface.
|
Dataset |
setExampleCount(Integer exampleCount)
Output only.
|
Dataset |
setName(String name)
The resource name of the dataset, in form of `projects/{project-number-or-
id}/locations/{location_id}/datasets/{dataset_id}`
|
Dataset |
setSourceLanguageCode(String sourceLanguageCode)
The BCP-47 language code of the source language.
|
Dataset |
setTargetLanguageCode(String targetLanguageCode)
The BCP-47 language code of the target language.
|
Dataset |
setTestExampleCount(Integer testExampleCount)
Output only.
|
Dataset |
setTrainExampleCount(Integer trainExampleCount)
Output only.
|
Dataset |
setUpdateTime(String updateTime)
Output only.
|
Dataset |
setValidateExampleCount(Integer validateExampleCount)
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 getCreateTime()
null for nonepublic Dataset setCreateTime(String createTime)
createTime - createTime or null for nonepublic String getDisplayName()
null for nonepublic Dataset setDisplayName(String displayName)
displayName - displayName or null for nonepublic Integer getExampleCount()
null for nonepublic Dataset setExampleCount(Integer exampleCount)
exampleCount - exampleCount or null for nonepublic String getName()
null for nonepublic Dataset setName(String name)
name - name or null for nonepublic String getSourceLanguageCode()
null for nonepublic Dataset setSourceLanguageCode(String sourceLanguageCode)
sourceLanguageCode - sourceLanguageCode or null for nonepublic String getTargetLanguageCode()
null for nonepublic Dataset setTargetLanguageCode(String targetLanguageCode)
targetLanguageCode - targetLanguageCode or null for nonepublic Integer getTestExampleCount()
null for nonepublic Dataset setTestExampleCount(Integer testExampleCount)
testExampleCount - testExampleCount or null for nonepublic Integer getTrainExampleCount()
null for nonepublic Dataset setTrainExampleCount(Integer trainExampleCount)
trainExampleCount - trainExampleCount or null for nonepublic String getUpdateTime()
null for nonepublic Dataset setUpdateTime(String updateTime)
updateTime - updateTime or null for nonepublic Integer getValidateExampleCount()
null for nonepublic Dataset setValidateExampleCount(Integer validateExampleCount)
validateExampleCount - validateExampleCount or null for nonepublic Dataset set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Dataset clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2023 Google. All rights reserved.