Package org.mlflow.api.proto
Class ModelRegistry.ModelVersion.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.ModelVersion.Builder>
-
- org.mlflow.api.proto.ModelRegistry.ModelVersion.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
,ModelRegistry.ModelVersionOrBuilder
- Enclosing class:
- ModelRegistry.ModelVersion
public static final class ModelRegistry.ModelVersion.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.ModelVersion.Builder> implements ModelRegistry.ModelVersionOrBuilder
Protobuf typemlflow.ModelVersion
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ModelRegistry.ModelVersion.Builder
addAliases(java.lang.String value)
Aliases pointing to this ``model_version``.ModelRegistry.ModelVersion.Builder
addAliasesBytes(com.google.protobuf.ByteString value)
Aliases pointing to this ``model_version``.ModelRegistry.ModelVersion.Builder
addAllAliases(java.lang.Iterable<java.lang.String> values)
Aliases pointing to this ``model_version``.ModelRegistry.ModelVersion.Builder
addAllTags(java.lang.Iterable<? extends ModelRegistry.ModelVersionTag> values)
Tags: Additional metadata key-value pairs for this ``model_version``.ModelRegistry.ModelVersion.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ModelRegistry.ModelVersion.Builder
addTags(int index, ModelRegistry.ModelVersionTag value)
Tags: Additional metadata key-value pairs for this ``model_version``.ModelRegistry.ModelVersion.Builder
addTags(int index, ModelRegistry.ModelVersionTag.Builder builderForValue)
Tags: Additional metadata key-value pairs for this ``model_version``.ModelRegistry.ModelVersion.Builder
addTags(ModelRegistry.ModelVersionTag value)
Tags: Additional metadata key-value pairs for this ``model_version``.ModelRegistry.ModelVersion.Builder
addTags(ModelRegistry.ModelVersionTag.Builder builderForValue)
Tags: Additional metadata key-value pairs for this ``model_version``.ModelRegistry.ModelVersionTag.Builder
addTagsBuilder()
Tags: Additional metadata key-value pairs for this ``model_version``.ModelRegistry.ModelVersionTag.Builder
addTagsBuilder(int index)
Tags: Additional metadata key-value pairs for this ``model_version``.ModelRegistry.ModelVersion
build()
ModelRegistry.ModelVersion
buildPartial()
ModelRegistry.ModelVersion.Builder
clear()
ModelRegistry.ModelVersion.Builder
clearAliases()
Aliases pointing to this ``model_version``.ModelRegistry.ModelVersion.Builder
clearCreationTimestamp()
Timestamp recorded when this ``model_version`` was created.ModelRegistry.ModelVersion.Builder
clearCurrentStage()
Current stage for this ``model_version``.ModelRegistry.ModelVersion.Builder
clearDescription()
Description of this ``model_version``.ModelRegistry.ModelVersion.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ModelRegistry.ModelVersion.Builder
clearLastUpdatedTimestamp()
Timestamp recorded when metadata for this ``model_version`` was last updated.ModelRegistry.ModelVersion.Builder
clearName()
Unique name of the modelModelRegistry.ModelVersion.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ModelRegistry.ModelVersion.Builder
clearRunId()
MLflow run ID used when creating ``model_version``, if ``source`` was generated by an experiment run stored in MLflow tracking server.ModelRegistry.ModelVersion.Builder
clearRunLink()
Run Link: Direct link to the run that generated this version.ModelRegistry.ModelVersion.Builder
clearSource()
URI indicating the location of the source model artifacts, used when creating ``model_version``ModelRegistry.ModelVersion.Builder
clearStatus()
Current status of ``model_version``ModelRegistry.ModelVersion.Builder
clearStatusMessage()
Details on current ``status``, if it is pending or failed.ModelRegistry.ModelVersion.Builder
clearTags()
Tags: Additional metadata key-value pairs for this ``model_version``.ModelRegistry.ModelVersion.Builder
clearUserId()
User that created this ``model_version``.ModelRegistry.ModelVersion.Builder
clearVersion()
Model's version number.ModelRegistry.ModelVersion.Builder
clone()
java.lang.String
getAliases(int index)
Aliases pointing to this ``model_version``.com.google.protobuf.ByteString
getAliasesBytes(int index)
Aliases pointing to this ``model_version``.int
getAliasesCount()
Aliases pointing to this ``model_version``.com.google.protobuf.ProtocolStringList
getAliasesList()
Aliases pointing to this ``model_version``.long
getCreationTimestamp()
Timestamp recorded when this ``model_version`` was created.java.lang.String
getCurrentStage()
Current stage for this ``model_version``.com.google.protobuf.ByteString
getCurrentStageBytes()
Current stage for this ``model_version``.ModelRegistry.ModelVersion
getDefaultInstanceForType()
java.lang.String
getDescription()
Description of this ``model_version``.com.google.protobuf.ByteString
getDescriptionBytes()
Description of this ``model_version``.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
long
getLastUpdatedTimestamp()
Timestamp recorded when metadata for this ``model_version`` was last updated.java.lang.String
getName()
Unique name of the modelcom.google.protobuf.ByteString
getNameBytes()
Unique name of the modeljava.lang.String
getRunId()
MLflow run ID used when creating ``model_version``, if ``source`` was generated by an experiment run stored in MLflow tracking server.com.google.protobuf.ByteString
getRunIdBytes()
MLflow run ID used when creating ``model_version``, if ``source`` was generated by an experiment run stored in MLflow tracking server.java.lang.String
getRunLink()
Run Link: Direct link to the run that generated this version.com.google.protobuf.ByteString
getRunLinkBytes()
Run Link: Direct link to the run that generated this version.java.lang.String
getSource()
URI indicating the location of the source model artifacts, used when creating ``model_version``com.google.protobuf.ByteString
getSourceBytes()
URI indicating the location of the source model artifacts, used when creating ``model_version``ModelRegistry.ModelVersionStatus
getStatus()
Current status of ``model_version``java.lang.String
getStatusMessage()
Details on current ``status``, if it is pending or failed.com.google.protobuf.ByteString
getStatusMessageBytes()
Details on current ``status``, if it is pending or failed.ModelRegistry.ModelVersionTag
getTags(int index)
Tags: Additional metadata key-value pairs for this ``model_version``.ModelRegistry.ModelVersionTag.Builder
getTagsBuilder(int index)
Tags: Additional metadata key-value pairs for this ``model_version``.java.util.List<ModelRegistry.ModelVersionTag.Builder>
getTagsBuilderList()
Tags: Additional metadata key-value pairs for this ``model_version``.int
getTagsCount()
Tags: Additional metadata key-value pairs for this ``model_version``.java.util.List<ModelRegistry.ModelVersionTag>
getTagsList()
Tags: Additional metadata key-value pairs for this ``model_version``.ModelRegistry.ModelVersionTagOrBuilder
getTagsOrBuilder(int index)
Tags: Additional metadata key-value pairs for this ``model_version``.java.util.List<? extends ModelRegistry.ModelVersionTagOrBuilder>
getTagsOrBuilderList()
Tags: Additional metadata key-value pairs for this ``model_version``.java.lang.String
getUserId()
User that created this ``model_version``.com.google.protobuf.ByteString
getUserIdBytes()
User that created this ``model_version``.java.lang.String
getVersion()
Model's version number.com.google.protobuf.ByteString
getVersionBytes()
Model's version number.boolean
hasCreationTimestamp()
Timestamp recorded when this ``model_version`` was created.boolean
hasCurrentStage()
Current stage for this ``model_version``.boolean
hasDescription()
Description of this ``model_version``.boolean
hasLastUpdatedTimestamp()
Timestamp recorded when metadata for this ``model_version`` was last updated.boolean
hasName()
Unique name of the modelboolean
hasRunId()
MLflow run ID used when creating ``model_version``, if ``source`` was generated by an experiment run stored in MLflow tracking server.boolean
hasRunLink()
Run Link: Direct link to the run that generated this version.boolean
hasSource()
URI indicating the location of the source model artifacts, used when creating ``model_version``boolean
hasStatus()
Current status of ``model_version``boolean
hasStatusMessage()
Details on current ``status``, if it is pending or failed.boolean
hasUserId()
User that created this ``model_version``.boolean
hasVersion()
Model's version number.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ModelRegistry.ModelVersion.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ModelRegistry.ModelVersion.Builder
mergeFrom(com.google.protobuf.Message other)
ModelRegistry.ModelVersion.Builder
mergeFrom(ModelRegistry.ModelVersion other)
ModelRegistry.ModelVersion.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ModelRegistry.ModelVersion.Builder
removeTags(int index)
Tags: Additional metadata key-value pairs for this ``model_version``.ModelRegistry.ModelVersion.Builder
setAliases(int index, java.lang.String value)
Aliases pointing to this ``model_version``.ModelRegistry.ModelVersion.Builder
setCreationTimestamp(long value)
Timestamp recorded when this ``model_version`` was created.ModelRegistry.ModelVersion.Builder
setCurrentStage(java.lang.String value)
Current stage for this ``model_version``.ModelRegistry.ModelVersion.Builder
setCurrentStageBytes(com.google.protobuf.ByteString value)
Current stage for this ``model_version``.ModelRegistry.ModelVersion.Builder
setDescription(java.lang.String value)
Description of this ``model_version``.ModelRegistry.ModelVersion.Builder
setDescriptionBytes(com.google.protobuf.ByteString value)
Description of this ``model_version``.ModelRegistry.ModelVersion.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ModelRegistry.ModelVersion.Builder
setLastUpdatedTimestamp(long value)
Timestamp recorded when metadata for this ``model_version`` was last updated.ModelRegistry.ModelVersion.Builder
setName(java.lang.String value)
Unique name of the modelModelRegistry.ModelVersion.Builder
setNameBytes(com.google.protobuf.ByteString value)
Unique name of the modelModelRegistry.ModelVersion.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
ModelRegistry.ModelVersion.Builder
setRunId(java.lang.String value)
MLflow run ID used when creating ``model_version``, if ``source`` was generated by an experiment run stored in MLflow tracking server.ModelRegistry.ModelVersion.Builder
setRunIdBytes(com.google.protobuf.ByteString value)
MLflow run ID used when creating ``model_version``, if ``source`` was generated by an experiment run stored in MLflow tracking server.ModelRegistry.ModelVersion.Builder
setRunLink(java.lang.String value)
Run Link: Direct link to the run that generated this version.ModelRegistry.ModelVersion.Builder
setRunLinkBytes(com.google.protobuf.ByteString value)
Run Link: Direct link to the run that generated this version.ModelRegistry.ModelVersion.Builder
setSource(java.lang.String value)
URI indicating the location of the source model artifacts, used when creating ``model_version``ModelRegistry.ModelVersion.Builder
setSourceBytes(com.google.protobuf.ByteString value)
URI indicating the location of the source model artifacts, used when creating ``model_version``ModelRegistry.ModelVersion.Builder
setStatus(ModelRegistry.ModelVersionStatus value)
Current status of ``model_version``ModelRegistry.ModelVersion.Builder
setStatusMessage(java.lang.String value)
Details on current ``status``, if it is pending or failed.ModelRegistry.ModelVersion.Builder
setStatusMessageBytes(com.google.protobuf.ByteString value)
Details on current ``status``, if it is pending or failed.ModelRegistry.ModelVersion.Builder
setTags(int index, ModelRegistry.ModelVersionTag value)
Tags: Additional metadata key-value pairs for this ``model_version``.ModelRegistry.ModelVersion.Builder
setTags(int index, ModelRegistry.ModelVersionTag.Builder builderForValue)
Tags: Additional metadata key-value pairs for this ``model_version``.ModelRegistry.ModelVersion.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ModelRegistry.ModelVersion.Builder
setUserId(java.lang.String value)
User that created this ``model_version``.ModelRegistry.ModelVersion.Builder
setUserIdBytes(com.google.protobuf.ByteString value)
User that created this ``model_version``.ModelRegistry.ModelVersion.Builder
setVersion(java.lang.String value)
Model's version number.ModelRegistry.ModelVersion.Builder
setVersionBytes(com.google.protobuf.ByteString value)
Model's version number.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.ModelVersion.Builder>
-
clear
public ModelRegistry.ModelVersion.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.ModelVersion.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.ModelVersion.Builder>
-
getDefaultInstanceForType
public ModelRegistry.ModelVersion getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ModelRegistry.ModelVersion build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ModelRegistry.ModelVersion buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ModelRegistry.ModelVersion.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.ModelVersion.Builder>
-
setField
public ModelRegistry.ModelVersion.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.ModelVersion.Builder>
-
clearField
public ModelRegistry.ModelVersion.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.ModelVersion.Builder>
-
clearOneof
public ModelRegistry.ModelVersion.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.ModelVersion.Builder>
-
setRepeatedField
public ModelRegistry.ModelVersion.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.ModelVersion.Builder>
-
addRepeatedField
public ModelRegistry.ModelVersion.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.ModelVersion.Builder>
-
mergeFrom
public ModelRegistry.ModelVersion.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ModelRegistry.ModelVersion.Builder>
-
mergeFrom
public ModelRegistry.ModelVersion.Builder mergeFrom(ModelRegistry.ModelVersion other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.ModelVersion.Builder>
-
mergeFrom
public ModelRegistry.ModelVersion.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ModelRegistry.ModelVersion.Builder>
- Throws:
java.io.IOException
-
hasName
public boolean hasName()
Unique name of the model
optional string name = 1;
- Specified by:
hasName
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- Whether the name field is set.
-
getName
public java.lang.String getName()
Unique name of the model
optional string name = 1;
- Specified by:
getName
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Unique name of the model
optional string name = 1;
- Specified by:
getNameBytes
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- The bytes for name.
-
setName
public ModelRegistry.ModelVersion.Builder setName(java.lang.String value)
Unique name of the model
optional string name = 1;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public ModelRegistry.ModelVersion.Builder clearName()
Unique name of the model
optional string name = 1;
- Returns:
- This builder for chaining.
-
setNameBytes
public ModelRegistry.ModelVersion.Builder setNameBytes(com.google.protobuf.ByteString value)
Unique name of the model
optional string name = 1;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasVersion
public boolean hasVersion()
Model's version number.
optional string version = 2;
- Specified by:
hasVersion
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- Whether the version field is set.
-
getVersion
public java.lang.String getVersion()
Model's version number.
optional string version = 2;
- Specified by:
getVersion
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()
Model's version number.
optional string version = 2;
- Specified by:
getVersionBytes
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- The bytes for version.
-
setVersion
public ModelRegistry.ModelVersion.Builder setVersion(java.lang.String value)
Model's version number.
optional string version = 2;
- Parameters:
value
- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
public ModelRegistry.ModelVersion.Builder clearVersion()
Model's version number.
optional string version = 2;
- Returns:
- This builder for chaining.
-
setVersionBytes
public ModelRegistry.ModelVersion.Builder setVersionBytes(com.google.protobuf.ByteString value)
Model's version number.
optional string version = 2;
- Parameters:
value
- The bytes for version to set.- Returns:
- This builder for chaining.
-
hasCreationTimestamp
public boolean hasCreationTimestamp()
Timestamp recorded when this ``model_version`` was created.
optional int64 creation_timestamp = 3;
- Specified by:
hasCreationTimestamp
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
public long getCreationTimestamp()
Timestamp recorded when this ``model_version`` was created.
optional int64 creation_timestamp = 3;
- Specified by:
getCreationTimestamp
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- The creationTimestamp.
-
setCreationTimestamp
public ModelRegistry.ModelVersion.Builder setCreationTimestamp(long value)
Timestamp recorded when this ``model_version`` was created.
optional int64 creation_timestamp = 3;
- Parameters:
value
- The creationTimestamp to set.- Returns:
- This builder for chaining.
-
clearCreationTimestamp
public ModelRegistry.ModelVersion.Builder clearCreationTimestamp()
Timestamp recorded when this ``model_version`` was created.
optional int64 creation_timestamp = 3;
- Returns:
- This builder for chaining.
-
hasLastUpdatedTimestamp
public boolean hasLastUpdatedTimestamp()
Timestamp recorded when metadata for this ``model_version`` was last updated.
optional int64 last_updated_timestamp = 4;
- Specified by:
hasLastUpdatedTimestamp
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- Whether the lastUpdatedTimestamp field is set.
-
getLastUpdatedTimestamp
public long getLastUpdatedTimestamp()
Timestamp recorded when metadata for this ``model_version`` was last updated.
optional int64 last_updated_timestamp = 4;
- Specified by:
getLastUpdatedTimestamp
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- The lastUpdatedTimestamp.
-
setLastUpdatedTimestamp
public ModelRegistry.ModelVersion.Builder setLastUpdatedTimestamp(long value)
Timestamp recorded when metadata for this ``model_version`` was last updated.
optional int64 last_updated_timestamp = 4;
- Parameters:
value
- The lastUpdatedTimestamp to set.- Returns:
- This builder for chaining.
-
clearLastUpdatedTimestamp
public ModelRegistry.ModelVersion.Builder clearLastUpdatedTimestamp()
Timestamp recorded when metadata for this ``model_version`` was last updated.
optional int64 last_updated_timestamp = 4;
- Returns:
- This builder for chaining.
-
hasUserId
public boolean hasUserId()
User that created this ``model_version``.
optional string user_id = 5;
- Specified by:
hasUserId
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- Whether the userId field is set.
-
getUserId
public java.lang.String getUserId()
User that created this ``model_version``.
optional string user_id = 5;
- Specified by:
getUserId
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- The userId.
-
getUserIdBytes
public com.google.protobuf.ByteString getUserIdBytes()
User that created this ``model_version``.
optional string user_id = 5;
- Specified by:
getUserIdBytes
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- The bytes for userId.
-
setUserId
public ModelRegistry.ModelVersion.Builder setUserId(java.lang.String value)
User that created this ``model_version``.
optional string user_id = 5;
- Parameters:
value
- The userId to set.- Returns:
- This builder for chaining.
-
clearUserId
public ModelRegistry.ModelVersion.Builder clearUserId()
User that created this ``model_version``.
optional string user_id = 5;
- Returns:
- This builder for chaining.
-
setUserIdBytes
public ModelRegistry.ModelVersion.Builder setUserIdBytes(com.google.protobuf.ByteString value)
User that created this ``model_version``.
optional string user_id = 5;
- Parameters:
value
- The bytes for userId to set.- Returns:
- This builder for chaining.
-
hasCurrentStage
public boolean hasCurrentStage()
Current stage for this ``model_version``.
optional string current_stage = 6;
- Specified by:
hasCurrentStage
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- Whether the currentStage field is set.
-
getCurrentStage
public java.lang.String getCurrentStage()
Current stage for this ``model_version``.
optional string current_stage = 6;
- Specified by:
getCurrentStage
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- The currentStage.
-
getCurrentStageBytes
public com.google.protobuf.ByteString getCurrentStageBytes()
Current stage for this ``model_version``.
optional string current_stage = 6;
- Specified by:
getCurrentStageBytes
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- The bytes for currentStage.
-
setCurrentStage
public ModelRegistry.ModelVersion.Builder setCurrentStage(java.lang.String value)
Current stage for this ``model_version``.
optional string current_stage = 6;
- Parameters:
value
- The currentStage to set.- Returns:
- This builder for chaining.
-
clearCurrentStage
public ModelRegistry.ModelVersion.Builder clearCurrentStage()
Current stage for this ``model_version``.
optional string current_stage = 6;
- Returns:
- This builder for chaining.
-
setCurrentStageBytes
public ModelRegistry.ModelVersion.Builder setCurrentStageBytes(com.google.protobuf.ByteString value)
Current stage for this ``model_version``.
optional string current_stage = 6;
- Parameters:
value
- The bytes for currentStage to set.- Returns:
- This builder for chaining.
-
hasDescription
public boolean hasDescription()
Description of this ``model_version``.
optional string description = 7;
- Specified by:
hasDescription
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- Whether the description field is set.
-
getDescription
public java.lang.String getDescription()
Description of this ``model_version``.
optional string description = 7;
- Specified by:
getDescription
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
Description of this ``model_version``.
optional string description = 7;
- Specified by:
getDescriptionBytes
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- The bytes for description.
-
setDescription
public ModelRegistry.ModelVersion.Builder setDescription(java.lang.String value)
Description of this ``model_version``.
optional string description = 7;
- Parameters:
value
- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public ModelRegistry.ModelVersion.Builder clearDescription()
Description of this ``model_version``.
optional string description = 7;
- Returns:
- This builder for chaining.
-
setDescriptionBytes
public ModelRegistry.ModelVersion.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Description of this ``model_version``.
optional string description = 7;
- Parameters:
value
- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasSource
public boolean hasSource()
URI indicating the location of the source model artifacts, used when creating ``model_version``
optional string source = 8;
- Specified by:
hasSource
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- Whether the source field is set.
-
getSource
public java.lang.String getSource()
URI indicating the location of the source model artifacts, used when creating ``model_version``
optional string source = 8;
- Specified by:
getSource
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- The source.
-
getSourceBytes
public com.google.protobuf.ByteString getSourceBytes()
URI indicating the location of the source model artifacts, used when creating ``model_version``
optional string source = 8;
- Specified by:
getSourceBytes
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- The bytes for source.
-
setSource
public ModelRegistry.ModelVersion.Builder setSource(java.lang.String value)
URI indicating the location of the source model artifacts, used when creating ``model_version``
optional string source = 8;
- Parameters:
value
- The source to set.- Returns:
- This builder for chaining.
-
clearSource
public ModelRegistry.ModelVersion.Builder clearSource()
URI indicating the location of the source model artifacts, used when creating ``model_version``
optional string source = 8;
- Returns:
- This builder for chaining.
-
setSourceBytes
public ModelRegistry.ModelVersion.Builder setSourceBytes(com.google.protobuf.ByteString value)
URI indicating the location of the source model artifacts, used when creating ``model_version``
optional string source = 8;
- Parameters:
value
- The bytes for source to set.- Returns:
- This builder for chaining.
-
hasRunId
public boolean hasRunId()
MLflow run ID used when creating ``model_version``, if ``source`` was generated by an experiment run stored in MLflow tracking server.
optional string run_id = 9;
- Specified by:
hasRunId
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- Whether the runId field is set.
-
getRunId
public java.lang.String getRunId()
MLflow run ID used when creating ``model_version``, if ``source`` was generated by an experiment run stored in MLflow tracking server.
optional string run_id = 9;
- Specified by:
getRunId
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- The runId.
-
getRunIdBytes
public com.google.protobuf.ByteString getRunIdBytes()
MLflow run ID used when creating ``model_version``, if ``source`` was generated by an experiment run stored in MLflow tracking server.
optional string run_id = 9;
- Specified by:
getRunIdBytes
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- The bytes for runId.
-
setRunId
public ModelRegistry.ModelVersion.Builder setRunId(java.lang.String value)
MLflow run ID used when creating ``model_version``, if ``source`` was generated by an experiment run stored in MLflow tracking server.
optional string run_id = 9;
- Parameters:
value
- The runId to set.- Returns:
- This builder for chaining.
-
clearRunId
public ModelRegistry.ModelVersion.Builder clearRunId()
MLflow run ID used when creating ``model_version``, if ``source`` was generated by an experiment run stored in MLflow tracking server.
optional string run_id = 9;
- Returns:
- This builder for chaining.
-
setRunIdBytes
public ModelRegistry.ModelVersion.Builder setRunIdBytes(com.google.protobuf.ByteString value)
MLflow run ID used when creating ``model_version``, if ``source`` was generated by an experiment run stored in MLflow tracking server.
optional string run_id = 9;
- Parameters:
value
- The bytes for runId to set.- Returns:
- This builder for chaining.
-
hasStatus
public boolean hasStatus()
Current status of ``model_version``
optional .mlflow.ModelVersionStatus status = 10;
- Specified by:
hasStatus
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- Whether the status field is set.
-
getStatus
public ModelRegistry.ModelVersionStatus getStatus()
Current status of ``model_version``
optional .mlflow.ModelVersionStatus status = 10;
- Specified by:
getStatus
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- The status.
-
setStatus
public ModelRegistry.ModelVersion.Builder setStatus(ModelRegistry.ModelVersionStatus value)
Current status of ``model_version``
optional .mlflow.ModelVersionStatus status = 10;
- Parameters:
value
- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
public ModelRegistry.ModelVersion.Builder clearStatus()
Current status of ``model_version``
optional .mlflow.ModelVersionStatus status = 10;
- Returns:
- This builder for chaining.
-
hasStatusMessage
public boolean hasStatusMessage()
Details on current ``status``, if it is pending or failed.
optional string status_message = 11;
- Specified by:
hasStatusMessage
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- Whether the statusMessage field is set.
-
getStatusMessage
public java.lang.String getStatusMessage()
Details on current ``status``, if it is pending or failed.
optional string status_message = 11;
- Specified by:
getStatusMessage
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- The statusMessage.
-
getStatusMessageBytes
public com.google.protobuf.ByteString getStatusMessageBytes()
Details on current ``status``, if it is pending or failed.
optional string status_message = 11;
- Specified by:
getStatusMessageBytes
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- The bytes for statusMessage.
-
setStatusMessage
public ModelRegistry.ModelVersion.Builder setStatusMessage(java.lang.String value)
Details on current ``status``, if it is pending or failed.
optional string status_message = 11;
- Parameters:
value
- The statusMessage to set.- Returns:
- This builder for chaining.
-
clearStatusMessage
public ModelRegistry.ModelVersion.Builder clearStatusMessage()
Details on current ``status``, if it is pending or failed.
optional string status_message = 11;
- Returns:
- This builder for chaining.
-
setStatusMessageBytes
public ModelRegistry.ModelVersion.Builder setStatusMessageBytes(com.google.protobuf.ByteString value)
Details on current ``status``, if it is pending or failed.
optional string status_message = 11;
- Parameters:
value
- The bytes for statusMessage to set.- Returns:
- This builder for chaining.
-
getTagsList
public java.util.List<ModelRegistry.ModelVersionTag> getTagsList()
Tags: Additional metadata key-value pairs for this ``model_version``.
repeated .mlflow.ModelVersionTag tags = 12;
- Specified by:
getTagsList
in interfaceModelRegistry.ModelVersionOrBuilder
-
getTagsCount
public int getTagsCount()
Tags: Additional metadata key-value pairs for this ``model_version``.
repeated .mlflow.ModelVersionTag tags = 12;
- Specified by:
getTagsCount
in interfaceModelRegistry.ModelVersionOrBuilder
-
getTags
public ModelRegistry.ModelVersionTag getTags(int index)
Tags: Additional metadata key-value pairs for this ``model_version``.
repeated .mlflow.ModelVersionTag tags = 12;
- Specified by:
getTags
in interfaceModelRegistry.ModelVersionOrBuilder
-
setTags
public ModelRegistry.ModelVersion.Builder setTags(int index, ModelRegistry.ModelVersionTag value)
Tags: Additional metadata key-value pairs for this ``model_version``.
repeated .mlflow.ModelVersionTag tags = 12;
-
setTags
public ModelRegistry.ModelVersion.Builder setTags(int index, ModelRegistry.ModelVersionTag.Builder builderForValue)
Tags: Additional metadata key-value pairs for this ``model_version``.
repeated .mlflow.ModelVersionTag tags = 12;
-
addTags
public ModelRegistry.ModelVersion.Builder addTags(ModelRegistry.ModelVersionTag value)
Tags: Additional metadata key-value pairs for this ``model_version``.
repeated .mlflow.ModelVersionTag tags = 12;
-
addTags
public ModelRegistry.ModelVersion.Builder addTags(int index, ModelRegistry.ModelVersionTag value)
Tags: Additional metadata key-value pairs for this ``model_version``.
repeated .mlflow.ModelVersionTag tags = 12;
-
addTags
public ModelRegistry.ModelVersion.Builder addTags(ModelRegistry.ModelVersionTag.Builder builderForValue)
Tags: Additional metadata key-value pairs for this ``model_version``.
repeated .mlflow.ModelVersionTag tags = 12;
-
addTags
public ModelRegistry.ModelVersion.Builder addTags(int index, ModelRegistry.ModelVersionTag.Builder builderForValue)
Tags: Additional metadata key-value pairs for this ``model_version``.
repeated .mlflow.ModelVersionTag tags = 12;
-
addAllTags
public ModelRegistry.ModelVersion.Builder addAllTags(java.lang.Iterable<? extends ModelRegistry.ModelVersionTag> values)
Tags: Additional metadata key-value pairs for this ``model_version``.
repeated .mlflow.ModelVersionTag tags = 12;
-
clearTags
public ModelRegistry.ModelVersion.Builder clearTags()
Tags: Additional metadata key-value pairs for this ``model_version``.
repeated .mlflow.ModelVersionTag tags = 12;
-
removeTags
public ModelRegistry.ModelVersion.Builder removeTags(int index)
Tags: Additional metadata key-value pairs for this ``model_version``.
repeated .mlflow.ModelVersionTag tags = 12;
-
getTagsBuilder
public ModelRegistry.ModelVersionTag.Builder getTagsBuilder(int index)
Tags: Additional metadata key-value pairs for this ``model_version``.
repeated .mlflow.ModelVersionTag tags = 12;
-
getTagsOrBuilder
public ModelRegistry.ModelVersionTagOrBuilder getTagsOrBuilder(int index)
Tags: Additional metadata key-value pairs for this ``model_version``.
repeated .mlflow.ModelVersionTag tags = 12;
- Specified by:
getTagsOrBuilder
in interfaceModelRegistry.ModelVersionOrBuilder
-
getTagsOrBuilderList
public java.util.List<? extends ModelRegistry.ModelVersionTagOrBuilder> getTagsOrBuilderList()
Tags: Additional metadata key-value pairs for this ``model_version``.
repeated .mlflow.ModelVersionTag tags = 12;
- Specified by:
getTagsOrBuilderList
in interfaceModelRegistry.ModelVersionOrBuilder
-
addTagsBuilder
public ModelRegistry.ModelVersionTag.Builder addTagsBuilder()
Tags: Additional metadata key-value pairs for this ``model_version``.
repeated .mlflow.ModelVersionTag tags = 12;
-
addTagsBuilder
public ModelRegistry.ModelVersionTag.Builder addTagsBuilder(int index)
Tags: Additional metadata key-value pairs for this ``model_version``.
repeated .mlflow.ModelVersionTag tags = 12;
-
getTagsBuilderList
public java.util.List<ModelRegistry.ModelVersionTag.Builder> getTagsBuilderList()
Tags: Additional metadata key-value pairs for this ``model_version``.
repeated .mlflow.ModelVersionTag tags = 12;
-
hasRunLink
public boolean hasRunLink()
Run Link: Direct link to the run that generated this version. This field is set at model version creation time only for model versions whose source run is from a tracking server that is different from the registry server.
optional string run_link = 13;
- Specified by:
hasRunLink
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- Whether the runLink field is set.
-
getRunLink
public java.lang.String getRunLink()
Run Link: Direct link to the run that generated this version. This field is set at model version creation time only for model versions whose source run is from a tracking server that is different from the registry server.
optional string run_link = 13;
- Specified by:
getRunLink
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- The runLink.
-
getRunLinkBytes
public com.google.protobuf.ByteString getRunLinkBytes()
Run Link: Direct link to the run that generated this version. This field is set at model version creation time only for model versions whose source run is from a tracking server that is different from the registry server.
optional string run_link = 13;
- Specified by:
getRunLinkBytes
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- The bytes for runLink.
-
setRunLink
public ModelRegistry.ModelVersion.Builder setRunLink(java.lang.String value)
Run Link: Direct link to the run that generated this version. This field is set at model version creation time only for model versions whose source run is from a tracking server that is different from the registry server.
optional string run_link = 13;
- Parameters:
value
- The runLink to set.- Returns:
- This builder for chaining.
-
clearRunLink
public ModelRegistry.ModelVersion.Builder clearRunLink()
Run Link: Direct link to the run that generated this version. This field is set at model version creation time only for model versions whose source run is from a tracking server that is different from the registry server.
optional string run_link = 13;
- Returns:
- This builder for chaining.
-
setRunLinkBytes
public ModelRegistry.ModelVersion.Builder setRunLinkBytes(com.google.protobuf.ByteString value)
Run Link: Direct link to the run that generated this version. This field is set at model version creation time only for model versions whose source run is from a tracking server that is different from the registry server.
optional string run_link = 13;
- Parameters:
value
- The bytes for runLink to set.- Returns:
- This builder for chaining.
-
getAliasesList
public com.google.protobuf.ProtocolStringList getAliasesList()
Aliases pointing to this ``model_version``.
repeated string aliases = 14;
- Specified by:
getAliasesList
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- A list containing the aliases.
-
getAliasesCount
public int getAliasesCount()
Aliases pointing to this ``model_version``.
repeated string aliases = 14;
- Specified by:
getAliasesCount
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- The count of aliases.
-
getAliases
public java.lang.String getAliases(int index)
Aliases pointing to this ``model_version``.
repeated string aliases = 14;
- Specified by:
getAliases
in interfaceModelRegistry.ModelVersionOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The aliases at the given index.
-
getAliasesBytes
public com.google.protobuf.ByteString getAliasesBytes(int index)
Aliases pointing to this ``model_version``.
repeated string aliases = 14;
- Specified by:
getAliasesBytes
in interfaceModelRegistry.ModelVersionOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the aliases at the given index.
-
setAliases
public ModelRegistry.ModelVersion.Builder setAliases(int index, java.lang.String value)
Aliases pointing to this ``model_version``.
repeated string aliases = 14;
- Parameters:
index
- The index to set the value at.value
- The aliases to set.- Returns:
- This builder for chaining.
-
addAliases
public ModelRegistry.ModelVersion.Builder addAliases(java.lang.String value)
Aliases pointing to this ``model_version``.
repeated string aliases = 14;
- Parameters:
value
- The aliases to add.- Returns:
- This builder for chaining.
-
addAllAliases
public ModelRegistry.ModelVersion.Builder addAllAliases(java.lang.Iterable<java.lang.String> values)
Aliases pointing to this ``model_version``.
repeated string aliases = 14;
- Parameters:
values
- The aliases to add.- Returns:
- This builder for chaining.
-
clearAliases
public ModelRegistry.ModelVersion.Builder clearAliases()
Aliases pointing to this ``model_version``.
repeated string aliases = 14;
- Returns:
- This builder for chaining.
-
addAliasesBytes
public ModelRegistry.ModelVersion.Builder addAliasesBytes(com.google.protobuf.ByteString value)
Aliases pointing to this ``model_version``.
repeated string aliases = 14;
- Parameters:
value
- The bytes of the aliases to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ModelRegistry.ModelVersion.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.ModelVersion.Builder>
-
mergeUnknownFields
public final ModelRegistry.ModelVersion.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.ModelVersion.Builder>
-
-