Class ModelInfo (2.38.2)

public class ModelInfo implements Serializable

Google BigQuery ML model information. Models are not created directly via the API, but by issuing a CREATE MODEL query. See Also: CREATE MODEL statement

Inheritance

Object > ModelInfo

Implements

Serializable

Static Methods

newBuilder(ModelId modelId)

public static ModelInfo.Builder newBuilder(ModelId modelId)

Returns a builder for a ModelInfo object given table identity.

Parameter
NameDescription
modelIdModelId
Returns
TypeDescription
ModelInfo.Builder

of(ModelId modelId)

public static ModelInfo of(ModelId modelId)

Returns a ModelInfo object given table identity.

Parameter
NameDescription
modelIdModelId
Returns
TypeDescription
ModelInfo

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCreationTime()

public Long getCreationTime()

Returns the time when this model was created, in milliseconds since the epoch.

Returns
TypeDescription
Long

getDescription()

public String getDescription()

Returns the user description of the model.

Returns
TypeDescription
String

getEncryptionConfiguration()

public EncryptionConfiguration getEncryptionConfiguration()
Returns
TypeDescription
EncryptionConfiguration

getEtag()

public String getEtag()

Returns the hash of the model resource.

Returns
TypeDescription
String

getExpirationTime()

public Long getExpirationTime()

Returns this this model expires, in milliseconds since the epoch. If not present, the model will persist indefinitely. Expired models will be deleted.

Returns
TypeDescription
Long

getFeatureColumns()

public ImmutableList<StandardSQLField> getFeatureColumns()

Returns information about the feature columns for this model.

Returns
TypeDescription
com.google.common.collect.ImmutableList<StandardSQLField>

getFriendlyName()

public String getFriendlyName()

Returns the user-friendly name for the model.

Returns
TypeDescription
String

getLabelColumns()

public ImmutableList<StandardSQLField> getLabelColumns()

Returns information about the label columns for this model.

Returns
TypeDescription
com.google.common.collect.ImmutableList<StandardSQLField>

getLabels()

public Map<String,String> getLabels()

Returns a map for labels applied to the model.

Returns
TypeDescription
Map<String,String>

getLastModifiedTime()

public Long getLastModifiedTime()

Returns the time when this table was last modified, in milliseconds since the epoch.

Returns
TypeDescription
Long

getLocation()

public String getLocation()

Returns a location of the model.

Returns
TypeDescription
String

getModelId()

public ModelId getModelId()

Returns the model identity.

Returns
TypeDescription
ModelId

getModelType()

public String getModelType()

Returns the type of the ML model.

Returns
TypeDescription
String

getTrainingRuns()

public ImmutableList<TrainingRun> getTrainingRuns()

Returns metadata about each training run iteration.

Returns
TypeDescription
com.google.common.collect.ImmutableList<com.google.api.services.bigquery.model.TrainingRun>

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

public ModelInfo.Builder toBuilder()
Returns
TypeDescription
ModelInfo.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides