| Package | Description |
|---|---|
| com.google.api.services.translate.v3 | |
| com.google.api.services.translate.v3.model |
| Modifier and Type | Method and Description |
|---|---|
Translate.Projects.Locations.Models.Create |
Translate.Projects.Locations.Models.create(String parent,
Model content)
Creates a Model.
|
| Constructor and Description |
|---|
Create(String parent,
Model content)
Creates a Model.
|
| Modifier and Type | Method and Description |
|---|---|
Model |
Model.clone() |
Model |
Model.set(String fieldName,
Object value) |
Model |
Model.setCreateTime(String createTime)
Output only.
|
Model |
Model.setDataset(String dataset)
The dataset from which the model is trained, in form of `projects/{project-number-or-
id}/locations/{location_id}/datasets/{dataset_id}`
|
Model |
Model.setDisplayName(String displayName)
The name of the model to show in the interface.
|
Model |
Model.setName(String name)
The resource name of the model, in form of `projects/{project-number-or-
id}/locations/{location_id}/models/{model_id}`
|
Model |
Model.setSourceLanguageCode(String sourceLanguageCode)
Output only.
|
Model |
Model.setTargetLanguageCode(String targetLanguageCode)
Output only.
|
Model |
Model.setTestExampleCount(Integer testExampleCount)
Output only.
|
Model |
Model.setTrainExampleCount(Integer trainExampleCount)
Output only.
|
Model |
Model.setUpdateTime(String updateTime)
Output only.
|
Model |
Model.setValidateExampleCount(Integer validateExampleCount)
Output only.
|
| Modifier and Type | Method and Description |
|---|---|
List<Model> |
ListModelsResponse.getModels()
The models read.
|
| Modifier and Type | Method and Description |
|---|---|
ListModelsResponse |
ListModelsResponse.setModels(List<Model> models)
The models read.
|
Copyright © 2011–2023 Google. All rights reserved.