public class ModelInfo extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
ModelInfo.Builder
A builder for
ModelInfo objects. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Long |
getCreationTime()
Returns the time when this model was created, in milliseconds since the epoch.
|
String |
getDescription()
Returns the user description of the model.
|
EncryptionConfiguration |
getEncryptionConfiguration() |
String |
getEtag()
Returns the hash of the model resource.
|
Long |
getExpirationTime()
Returns this this model expires, in milliseconds since the epoch.
|
com.google.common.collect.ImmutableList<StandardSQLField> |
getFeatureColumns()
Returns information about the feature columns for this model.
|
String |
getFriendlyName()
Returns the user-friendly name for the model.
|
com.google.common.collect.ImmutableList<StandardSQLField> |
getLabelColumns()
Returns information about the label columns for this model.
|
Map<String,String> |
getLabels()
Returns a map for labels applied to the model.
|
Long |
getLastModifiedTime()
Returns the time when this table was last modified, in milliseconds since the epoch.
|
String |
getLocation()
Returns a location of the model.
|
ModelId |
getModelId()
Returns the model identity.
|
String |
getModelType()
Returns the type of the ML model.
|
com.google.common.collect.ImmutableList<com.google.api.services.bigquery.model.TrainingRun> |
getTrainingRuns()
Returns metadata about each training run iteration.
|
int |
hashCode() |
static ModelInfo.Builder |
newBuilder(ModelId modelId)
Returns a builder for a
ModelInfo object given table identity. |
static ModelInfo |
of(ModelId modelId)
Returns a
ModelInfo object given table identity. |
ModelInfo.Builder |
toBuilder() |
String |
toString() |
public String getEtag()
public ModelId getModelId()
public String getModelType()
public String getDescription()
public String getFriendlyName()
public Long getCreationTime()
public Long getLastModifiedTime()
public Long getExpirationTime()
public String getLocation()
@BetaApi public com.google.common.collect.ImmutableList<com.google.api.services.bigquery.model.TrainingRun> getTrainingRuns()
@BetaApi public com.google.common.collect.ImmutableList<StandardSQLField> getLabelColumns()
@BetaApi public com.google.common.collect.ImmutableList<StandardSQLField> getFeatureColumns()
public EncryptionConfiguration getEncryptionConfiguration()
public ModelInfo.Builder toBuilder()
public static ModelInfo.Builder newBuilder(ModelId modelId)
ModelInfo
object given table identity.Copyright © 2023 Google LLC. All rights reserved.