| Package | Description |
|---|---|
| com.google.api.services.translate.v3 | |
| com.google.api.services.translate.v3.model |
| Modifier and Type | Method and Description |
|---|---|
Translate.Projects.Locations.Datasets.Create |
Translate.Projects.Locations.Datasets.create(String parent,
Dataset content)
Creates a Dataset.
|
| Constructor and Description |
|---|
Create(String parent,
Dataset content)
Creates a Dataset.
|
| Modifier and Type | Method and Description |
|---|---|
Dataset |
Dataset.clone() |
Dataset |
Dataset.set(String fieldName,
Object value) |
Dataset |
Dataset.setCreateTime(String createTime)
Output only.
|
Dataset |
Dataset.setDisplayName(String displayName)
The name of the dataset to show in the interface.
|
Dataset |
Dataset.setExampleCount(Integer exampleCount)
Output only.
|
Dataset |
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 |
Dataset.setSourceLanguageCode(String sourceLanguageCode)
The BCP-47 language code of the source language.
|
Dataset |
Dataset.setTargetLanguageCode(String targetLanguageCode)
The BCP-47 language code of the target language.
|
Dataset |
Dataset.setTestExampleCount(Integer testExampleCount)
Output only.
|
Dataset |
Dataset.setTrainExampleCount(Integer trainExampleCount)
Output only.
|
Dataset |
Dataset.setUpdateTime(String updateTime)
Output only.
|
Dataset |
Dataset.setValidateExampleCount(Integer validateExampleCount)
Output only.
|
| Modifier and Type | Method and Description |
|---|---|
List<Dataset> |
ListDatasetsResponse.getDatasets()
The datasets read.
|
| Modifier and Type | Method and Description |
|---|---|
ListDatasetsResponse |
ListDatasetsResponse.setDatasets(List<Dataset> datasets)
The datasets read.
|
Copyright © 2011–2023 Google. All rights reserved.