public final class ModelDefinition 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 BigQuery API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
Modifier and Type | Class and Description |
---|---|
static class |
ModelDefinition.ModelOptions
[Output-only, Beta] Model options used for the first training run.
|
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
ModelDefinition() |
Modifier and Type | Method and Description |
---|---|
ModelDefinition |
clone() |
ModelDefinition.ModelOptions |
getModelOptions()
[Output-only, Beta] Model options used for the first training run.
|
List<BqmlTrainingRun> |
getTrainingRuns()
[Output-only, Beta] Information about ml training runs, each training run comprises of multiple
iterations and there may be multiple training runs for the model if warm start is used or if a
user decides to continue a previously cancelled query.
|
ModelDefinition |
set(String fieldName,
Object value) |
ModelDefinition |
setModelOptions(ModelDefinition.ModelOptions modelOptions)
[Output-only, Beta] Model options used for the first training run.
|
ModelDefinition |
setTrainingRuns(List<BqmlTrainingRun> trainingRuns)
[Output-only, Beta] Information about ml training runs, each training run comprises of multiple
iterations and there may be multiple training runs for the model if warm start is used or if a
user decides to continue a previously cancelled query.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public ModelDefinition.ModelOptions getModelOptions()
null
for nonepublic ModelDefinition setModelOptions(ModelDefinition.ModelOptions modelOptions)
modelOptions
- modelOptions or null
for nonepublic List<BqmlTrainingRun> getTrainingRuns()
null
for nonepublic ModelDefinition setTrainingRuns(List<BqmlTrainingRun> trainingRuns)
trainingRuns
- trainingRuns or null
for nonepublic ModelDefinition set(String fieldName, Object value)
set
in class GenericJson
public ModelDefinition clone()
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.