Package org.mlflow.api.proto
Class ModelRegistry.ModelVersion.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ModelRegistry.ModelVersion.Builder>
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
,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 type
mlflow.ModelVersion
-
Method Summary
Modifier and TypeMethodDescriptionaddAliases
(String value) Aliases pointing to this ``model_version``.addAliasesBytes
(com.google.protobuf.ByteString value) Aliases pointing to this ``model_version``.addAllAliases
(Iterable<String> values) Aliases pointing to this ``model_version``.addAllTags
(Iterable<? extends ModelRegistry.ModelVersionTag> values) Tags: Additional metadata key-value pairs for this ``model_version``.addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addTags
(int index, ModelRegistry.ModelVersionTag value) Tags: Additional metadata key-value pairs for this ``model_version``.addTags
(int index, ModelRegistry.ModelVersionTag.Builder builderForValue) Tags: Additional metadata key-value pairs for this ``model_version``.Tags: Additional metadata key-value pairs for this ``model_version``.addTags
(ModelRegistry.ModelVersionTag.Builder builderForValue) Tags: Additional metadata key-value pairs for this ``model_version``.Tags: Additional metadata key-value pairs for this ``model_version``.addTagsBuilder
(int index) Tags: Additional metadata key-value pairs for this ``model_version``.build()
clear()
Aliases pointing to this ``model_version``.Timestamp recorded when this ``model_version`` was created.Current stage for this ``model_version``.Description of this ``model_version``.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Timestamp recorded when metadata for this ``model_version`` was last updated.Unique name of the modelclearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) MLflow run ID used when creating ``model_version``, if ``source`` was generated by an experiment run stored in MLflow tracking server.Run Link: Direct link to the run that generated this version.URI indicating the location of the source model artifacts, used when creating ``model_version``Current status of ``model_version``Details on current ``status``, if it is pending or failed.Tags: Additional metadata key-value pairs for this ``model_version``.User that created this ``model_version``.Model's version number.clone()
getAliases
(int index) Aliases pointing to this ``model_version``.com.google.protobuf.ByteString
getAliasesBytes
(int index) Aliases pointing to this ``model_version``.int
Aliases pointing to this ``model_version``.com.google.protobuf.ProtocolStringList
Aliases pointing to this ``model_version``.long
Timestamp recorded when this ``model_version`` was created.Current stage for this ``model_version``.com.google.protobuf.ByteString
Current stage for this ``model_version``.Description of this ``model_version``.com.google.protobuf.ByteString
Description of this ``model_version``.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
long
Timestamp recorded when metadata for this ``model_version`` was last updated.getName()
Unique name of the modelcom.google.protobuf.ByteString
Unique name of the modelgetRunId()
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
MLflow run ID used when creating ``model_version``, if ``source`` was generated by an experiment run stored in MLflow tracking server.Run Link: Direct link to the run that generated this version.com.google.protobuf.ByteString
Run Link: Direct link to the run that generated this version.URI indicating the location of the source model artifacts, used when creating ``model_version``com.google.protobuf.ByteString
URI indicating the location of the source model artifacts, used when creating ``model_version``Current status of ``model_version``Details on current ``status``, if it is pending or failed.com.google.protobuf.ByteString
Details on current ``status``, if it is pending or failed.getTags
(int index) Tags: Additional metadata key-value pairs for this ``model_version``.getTagsBuilder
(int index) Tags: Additional metadata key-value pairs for this ``model_version``.Tags: Additional metadata key-value pairs for this ``model_version``.int
Tags: Additional metadata key-value pairs for this ``model_version``.Tags: Additional metadata key-value pairs for this ``model_version``.getTagsOrBuilder
(int index) Tags: Additional metadata key-value pairs for this ``model_version``.List
<? extends ModelRegistry.ModelVersionTagOrBuilder> Tags: Additional metadata key-value pairs for this ``model_version``.User that created this ``model_version``.com.google.protobuf.ByteString
User that created this ``model_version``.Model's version number.com.google.protobuf.ByteString
Model's version number.boolean
Timestamp recorded when this ``model_version`` was created.boolean
Current stage for this ``model_version``.boolean
Description of this ``model_version``.boolean
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
Run Link: Direct link to the run that generated this version.boolean
URI indicating the location of the source model artifacts, used when creating ``model_version``boolean
Current status of ``model_version``boolean
Details on current ``status``, if it is pending or failed.boolean
User that created this ``model_version``.boolean
Model's version number.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeTags
(int index) Tags: Additional metadata key-value pairs for this ``model_version``.setAliases
(int index, String value) Aliases pointing to this ``model_version``.setCreationTimestamp
(long value) Timestamp recorded when this ``model_version`` was created.setCurrentStage
(String value) Current stage for this ``model_version``.setCurrentStageBytes
(com.google.protobuf.ByteString value) Current stage for this ``model_version``.setDescription
(String value) Description of this ``model_version``.setDescriptionBytes
(com.google.protobuf.ByteString value) Description of this ``model_version``.setLastUpdatedTimestamp
(long value) Timestamp recorded when metadata for this ``model_version`` was last updated.Unique name of the modelsetNameBytes
(com.google.protobuf.ByteString value) Unique name of the modelsetRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) MLflow run ID used when creating ``model_version``, if ``source`` was generated by an experiment run stored in MLflow tracking server.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.setRunLink
(String value) Run Link: Direct link to the run that generated this version.setRunLinkBytes
(com.google.protobuf.ByteString value) Run Link: Direct link to the run that generated this version.URI indicating the location of the source model artifacts, used when creating ``model_version``setSourceBytes
(com.google.protobuf.ByteString value) URI indicating the location of the source model artifacts, used when creating ``model_version``Current status of ``model_version``setStatusMessage
(String value) Details on current ``status``, if it is pending or failed.setStatusMessageBytes
(com.google.protobuf.ByteString value) Details on current ``status``, if it is pending or failed.setTags
(int index, ModelRegistry.ModelVersionTag value) Tags: Additional metadata key-value pairs for this ``model_version``.setTags
(int index, ModelRegistry.ModelVersionTag.Builder builderForValue) Tags: Additional metadata key-value pairs for this ``model_version``.setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) User that created this ``model_version``.setUserIdBytes
(com.google.protobuf.ByteString value) User that created this ``model_version``.setVersion
(String value) Model's version number.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
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
- 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
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.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, 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, 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, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.ModelVersion.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ModelRegistry.ModelVersion.Builder>
-
mergeFrom
-
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 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:
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
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
Unique name of the model
optional string name = 1;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
Unique name of the model
optional string name = 1;
- Returns:
- This builder for chaining.
-
setNameBytes
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
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
Model's version number.
optional string version = 2;
- Parameters:
value
- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
Model's version number.
optional string version = 2;
- Returns:
- This builder for chaining.
-
setVersionBytes
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
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
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
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
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
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
User that created this ``model_version``.
optional string user_id = 5;
- Parameters:
value
- The userId to set.- Returns:
- This builder for chaining.
-
clearUserId
User that created this ``model_version``.
optional string user_id = 5;
- Returns:
- This builder for chaining.
-
setUserIdBytes
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
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
Current stage for this ``model_version``.
optional string current_stage = 6;
- Parameters:
value
- The currentStage to set.- Returns:
- This builder for chaining.
-
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
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
Description of this ``model_version``.
optional string description = 7;
- Parameters:
value
- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
Description of this ``model_version``.
optional string description = 7;
- Returns:
- This builder for chaining.
-
setDescriptionBytes
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
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
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
URI indicating the location of the source model artifacts, used when creating ``model_version``
optional string source = 8;
- Returns:
- This builder for chaining.
-
setSourceBytes
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
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
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
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
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
Current status of ``model_version``
optional .mlflow.ModelVersionStatus status = 10;
- Specified by:
getStatus
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- The status.
-
setStatus
Current status of ``model_version``
optional .mlflow.ModelVersionStatus status = 10;
- Parameters:
value
- The status to set.- Returns:
- This builder for chaining.
-
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
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
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
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
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
Tags: Additional metadata key-value pairs for this ``model_version``.
repeated .mlflow.ModelVersionTag tags = 12;
- Specified by:
getTags
in interfaceModelRegistry.ModelVersionOrBuilder
-
setTags
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
Tags: Additional metadata key-value pairs for this ``model_version``.
repeated .mlflow.ModelVersionTag tags = 12;
-
addTags
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(Iterable<? extends ModelRegistry.ModelVersionTag> values) Tags: Additional metadata key-value pairs for this ``model_version``.
repeated .mlflow.ModelVersionTag tags = 12;
-
clearTags
Tags: Additional metadata key-value pairs for this ``model_version``.
repeated .mlflow.ModelVersionTag tags = 12;
-
removeTags
Tags: Additional metadata key-value pairs for this ``model_version``.
repeated .mlflow.ModelVersionTag tags = 12;
-
getTagsBuilder
Tags: Additional metadata key-value pairs for this ``model_version``.
repeated .mlflow.ModelVersionTag tags = 12;
-
getTagsOrBuilder
Tags: Additional metadata key-value pairs for this ``model_version``.
repeated .mlflow.ModelVersionTag tags = 12;
- Specified by:
getTagsOrBuilder
in interfaceModelRegistry.ModelVersionOrBuilder
-
getTagsOrBuilderList
Tags: Additional metadata key-value pairs for this ``model_version``.
repeated .mlflow.ModelVersionTag tags = 12;
- Specified by:
getTagsOrBuilderList
in interfaceModelRegistry.ModelVersionOrBuilder
-
addTagsBuilder
Tags: Additional metadata key-value pairs for this ``model_version``.
repeated .mlflow.ModelVersionTag tags = 12;
-
addTagsBuilder
Tags: Additional metadata key-value pairs for this ``model_version``.
repeated .mlflow.ModelVersionTag tags = 12;
-
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
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
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
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
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
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
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
Aliases pointing to this ``model_version``.
repeated string aliases = 14;
- Parameters:
value
- The aliases to add.- Returns:
- This builder for chaining.
-
addAllAliases
Aliases pointing to this ``model_version``.
repeated string aliases = 14;
- Parameters:
values
- The aliases to add.- Returns:
- This builder for chaining.
-
clearAliases
Aliases pointing to this ``model_version``.
repeated string aliases = 14;
- Returns:
- This builder for chaining.
-
addAliasesBytes
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>
-