@Evolving public interface ModelVersionChange
| Modifier and Type | Interface and Description | 
|---|---|
static class  | 
ModelVersionChange.RemoveProperty
A ModelVersionChange to remove a property from a model version. 
 | 
static class  | 
ModelVersionChange.SetProperty
A ModelVersionChange to set a property of a model version. 
 | 
static class  | 
ModelVersionChange.UpdateAliases
Represents an update to a model version’s aliases, specifying which aliases to add and which to
 remove. 
 | 
static class  | 
ModelVersionChange.UpdateComment
A ModelVersionChange to update the model version comment. 
 | 
static class  | 
ModelVersionChange.UpdateUri
A ModelVersionChange to update the uri of a model version. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
static com.google.common.base.Joiner | 
COMMA_JOINER
A Joiner for comma-separated values. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static ModelVersionChange | 
removeProperty(java.lang.String property)
Create a ModelVersionChange for removing a property from a model version. 
 | 
static ModelVersionChange | 
setProperty(java.lang.String property,
           java.lang.String value)
Create a ModelVersionChange for setting a property of a model version. 
 | 
static ModelVersionChange | 
updateAliases(java.lang.String[] aliasesToAdd,
             java.lang.String[] aliasesToRemove)
Create a ModelVersionChange for updating the aliases of a model version. 
 | 
static ModelVersionChange | 
updateComment(java.lang.String newComment)
Create a ModelVersionChange for updating the comment of a model version. 
 | 
static ModelVersionChange | 
updateUri(java.lang.String newUri)
Create a ModelVersionChange for updating the uri of a model version. 
 | 
static final com.google.common.base.Joiner COMMA_JOINER
static ModelVersionChange updateComment(java.lang.String newComment)
newComment - new comment to be set for the model versionstatic ModelVersionChange setProperty(java.lang.String property, java.lang.String value)
property - name of the property to be setvalue - value to be set for the propertystatic ModelVersionChange removeProperty(java.lang.String property)
property - The name of the property to be removed.static ModelVersionChange updateUri(java.lang.String newUri)
newUri - The new uri to be set for the model version.static ModelVersionChange updateAliases(java.lang.String[] aliasesToAdd, java.lang.String[] aliasesToRemove)
aliasesToAdd - The new aliases to be added for the model version.aliasesToRemove - The aliases to be removed from the model version.