public final class Model 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
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Model() |
| Modifier and Type | Method and Description |
|---|---|
Model |
clone() |
Long |
getCreationTime()
Output only.
|
String |
getDescription()
[Optional] A user-friendly description of this model.
|
EncryptionConfiguration |
getEncryptionConfiguration()
Custom encryption configuration (e.g., Cloud KMS keys).
|
String |
getEtag()
Output only.
|
Long |
getExpirationTime()
[Optional] The time when this model expires, in milliseconds since the epoch.
|
List<StandardSqlField> |
getFeatureColumns()
Output only.
|
String |
getFriendlyName()
[Optional] A descriptive name for this model.
|
List<StandardSqlField> |
getLabelColumns()
Output only.
|
Map<String,String> |
getLabels()
[Optional] The labels associated with this model.
|
Long |
getLastModifiedTime()
Output only.
|
String |
getLocation()
Output only.
|
ModelReference |
getModelReference()
Required.
|
String |
getModelType()
Output only.
|
List<TrainingRun> |
getTrainingRuns()
Output only.
|
Model |
set(String fieldName,
Object value) |
Model |
setCreationTime(Long creationTime)
Output only.
|
Model |
setDescription(String description)
[Optional] A user-friendly description of this model.
|
Model |
setEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
Custom encryption configuration (e.g., Cloud KMS keys).
|
Model |
setEtag(String etag)
Output only.
|
Model |
setExpirationTime(Long expirationTime)
[Optional] The time when this model expires, in milliseconds since the epoch.
|
Model |
setFeatureColumns(List<StandardSqlField> featureColumns)
Output only.
|
Model |
setFriendlyName(String friendlyName)
[Optional] A descriptive name for this model.
|
Model |
setLabelColumns(List<StandardSqlField> labelColumns)
Output only.
|
Model |
setLabels(Map<String,String> labels)
[Optional] The labels associated with this model.
|
Model |
setLastModifiedTime(Long lastModifiedTime)
Output only.
|
Model |
setLocation(String location)
Output only.
|
Model |
setModelReference(ModelReference modelReference)
Required.
|
Model |
setModelType(String modelType)
Output only.
|
Model |
setTrainingRuns(List<TrainingRun> trainingRuns)
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 Long getCreationTime()
null for nonepublic Model setCreationTime(Long creationTime)
creationTime - creationTime or null for nonepublic String getDescription()
null for nonepublic Model setDescription(String description)
description - description or null for nonepublic EncryptionConfiguration getEncryptionConfiguration()
null for nonepublic Model setEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
encryptionConfiguration - encryptionConfiguration or null for nonepublic String getEtag()
null for nonepublic Model setEtag(String etag)
etag - etag or null for nonepublic Long getExpirationTime()
null for nonepublic Model setExpirationTime(Long expirationTime)
expirationTime - expirationTime or null for nonepublic List<StandardSqlField> getFeatureColumns()
null for nonepublic Model setFeatureColumns(List<StandardSqlField> featureColumns)
featureColumns - featureColumns or null for nonepublic String getFriendlyName()
null for nonepublic Model setFriendlyName(String friendlyName)
friendlyName - friendlyName or null for nonepublic List<StandardSqlField> getLabelColumns()
null for nonepublic Model setLabelColumns(List<StandardSqlField> labelColumns)
labelColumns - labelColumns or null for nonepublic Map<String,String> getLabels()
null for nonepublic Model setLabels(Map<String,String> labels)
labels - labels or null for nonepublic Long getLastModifiedTime()
null for nonepublic Model setLastModifiedTime(Long lastModifiedTime)
lastModifiedTime - lastModifiedTime or null for nonepublic String getLocation()
null for nonepublic Model setLocation(String location)
location - location or null for nonepublic ModelReference getModelReference()
null for nonepublic Model setModelReference(ModelReference modelReference)
modelReference - modelReference or null for nonepublic String getModelType()
null for nonepublic Model setModelType(String modelType)
modelType - modelType or null for nonepublic List<TrainingRun> getTrainingRuns()
null for nonepublic Model setTrainingRuns(List<TrainingRun> trainingRuns)
trainingRuns - trainingRuns or null for nonepublic Model set(String fieldName, Object value)
set in class GenericJsonpublic Model clone()
clone in class GenericJsonCopyright © 2011–2019 Google. All rights reserved.