public abstract static class ModelInfo.Builder extends Object
ModelInfo
objects.Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
abstract ModelInfo |
build()
Creates a
ModelInfo object. |
abstract ModelInfo.Builder |
setDescription(String description)
Sets the user description for this model.
|
abstract ModelInfo.Builder |
setEncryptionConfiguration(EncryptionConfiguration configuration) |
abstract ModelInfo.Builder |
setExpirationTime(Long expirationTime)
Set the time when this model expires, in milliseconds since the epoch.
|
abstract ModelInfo.Builder |
setFriendlyName(String friendlyName)
Sets the user-friendly name for this model.
|
abstract ModelInfo.Builder |
setLabels(Map<String,String> labels)
Set the labels applied to this model.
|
abstract ModelInfo.Builder |
setModelId(ModelId modelId) |
public abstract ModelInfo.Builder setDescription(String description)
public abstract ModelInfo.Builder setFriendlyName(String friendlyName)
public abstract ModelInfo.Builder setExpirationTime(Long expirationTime)
public abstract ModelInfo.Builder setLabels(Map<String,String> labels)
When used with BigQuery.update(ModelInfo, ModelOption...)
, setting labels
to null
removes all labels; otherwise all keys that are mapped to null
values
are removed and other keys are updated to their respective values.
public abstract ModelInfo.Builder setModelId(ModelId modelId)
public abstract ModelInfo.Builder setEncryptionConfiguration(EncryptionConfiguration configuration)
public abstract ModelInfo build()
ModelInfo
object.Copyright © 2019 Google LLC. All rights reserved.