
target.apidocs.com.google.api.services.bigquery.model.ModelDefinition.html Maven / Gradle / Ivy
ModelDefinition (BigQuery API v2-rev20190423-1.28.0)
com.google.api.services.bigquery.model
Class ModelDefinition
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.bigquery.model.ModelDefinition
-
public final class ModelDefinition
extends com.google.api.client.json.GenericJson
Model definition for ModelDefinition.
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
static class
ModelDefinition.ModelOptions
[Output-only, Beta] Model options used for the first training run.
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
ModelDefinition()
-
Method Summary
All Methods Instance Methods Concrete Methods
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.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getModelOptions
public ModelDefinition.ModelOptions getModelOptions()
[Output-only, Beta] Model options used for the first training run. These options are immutable
for subsequent training runs. Default values are used for any options not specified in the
input query.
- Returns:
- value or
null
for none
-
setModelOptions
public ModelDefinition setModelOptions(ModelDefinition.ModelOptions modelOptions)
[Output-only, Beta] Model options used for the first training run. These options are immutable
for subsequent training runs. Default values are used for any options not specified in the
input query.
- Parameters:
modelOptions
- modelOptions or null
for none
-
getTrainingRuns
public 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.
- Returns:
- value or
null
for none
-
setTrainingRuns
public 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.
- Parameters:
trainingRuns
- trainingRuns or null
for none
-
set
public ModelDefinition set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public ModelDefinition clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2019 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy