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,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``.addAllModelMetrics(Iterable<? extends ModelRegistry.ModelMetric> values) Optional metrics for the model.addAllModelParams(Iterable<? extends ModelRegistry.ModelParam> values) Optional parameters for the model.addAllTags(Iterable<? extends ModelRegistry.ModelVersionTag> values) Tags: Additional metadata key-value pairs for this ``model_version``.addModelMetrics(int index, ModelRegistry.ModelMetric value) Optional metrics for the model.addModelMetrics(int index, ModelRegistry.ModelMetric.Builder builderForValue) Optional metrics for the model.Optional metrics for the model.addModelMetrics(ModelRegistry.ModelMetric.Builder builderForValue) Optional metrics for the model.Optional metrics for the model.addModelMetricsBuilder(int index) Optional metrics for the model.addModelParams(int index, ModelRegistry.ModelParam value) Optional parameters for the model.addModelParams(int index, ModelRegistry.ModelParam.Builder builderForValue) Optional parameters for the model.Optional parameters for the model.addModelParams(ModelRegistry.ModelParam.Builder builderForValue) Optional parameters for the model.Optional parameters for the model.addModelParamsBuilder(int index) Optional parameters for the model.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``.Deployment job state 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.Optional `model_id` for model version that is used to link the registered model to the source logged modelOptional metrics for the model.Optional parameters for the model.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.ByteStringgetAliasesBytes(int index) Aliases pointing to this ``model_version``.intAliases pointing to this ``model_version``.com.google.protobuf.ProtocolStringListAliases pointing to this ``model_version``.longTimestamp recorded when this ``model_version`` was created.Current stage for this ``model_version``.com.google.protobuf.ByteStringCurrent stage for this ``model_version``.Deployment job state for this model version.Deployment job state for this model version.Deployment job state for this model version.Description of this ``model_version``.com.google.protobuf.ByteStringDescription of this ``model_version``.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlongTimestamp recorded when metadata for this ``model_version`` was last updated.Optional `model_id` for model version that is used to link the registered model to the source logged modelcom.google.protobuf.ByteStringOptional `model_id` for model version that is used to link the registered model to the source logged modelgetModelMetrics(int index) Optional metrics for the model.getModelMetricsBuilder(int index) Optional metrics for the model.Optional metrics for the model.intOptional metrics for the model.Optional metrics for the model.getModelMetricsOrBuilder(int index) Optional metrics for the model.List<? extends ModelRegistry.ModelMetricOrBuilder>Optional metrics for the model.getModelParams(int index) Optional parameters for the model.getModelParamsBuilder(int index) Optional parameters for the model.Optional parameters for the model.intOptional parameters for the model.Optional parameters for the model.getModelParamsOrBuilder(int index) Optional parameters for the model.List<? extends ModelRegistry.ModelParamOrBuilder>Optional parameters for the model.getName()Unique name of the modelcom.google.protobuf.ByteStringUnique 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.ByteStringMLflow 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.ByteStringRun 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.ByteStringURI 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.ByteStringDetails 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``.intTags: 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.ByteStringUser that created this ``model_version``.Model's version number.com.google.protobuf.ByteStringModel's version number.booleanTimestamp recorded when this ``model_version`` was created.booleanCurrent stage for this ``model_version``.booleanDeployment job state for this model version.booleanDescription of this ``model_version``.booleanTimestamp recorded when metadata for this ``model_version`` was last updated.booleanOptional `model_id` for model version that is used to link the registered model to the source logged modelbooleanhasName()Unique name of the modelbooleanhasRunId()MLflow run ID used when creating ``model_version``, if ``source`` was generated by an experiment run stored in MLflow tracking server.booleanRun Link: Direct link to the run that generated this version.booleanURI indicating the location of the source model artifacts, used when creating ``model_version``booleanCurrent status of ``model_version``booleanDetails on current ``status``, if it is pending or failed.booleanUser that created this ``model_version``.booleanModel's version number.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanDeployment job state for this model version.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeModelMetrics(int index) Optional metrics for the model.removeModelParams(int index) Optional parameters for the model.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``.Deployment job state for this model version.Deployment job state 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.setModelId(String value) Optional `model_id` for model version that is used to link the registered model to the source logged modelsetModelIdBytes(com.google.protobuf.ByteString value) Optional `model_id` for model version that is used to link the registered model to the source logged modelsetModelMetrics(int index, ModelRegistry.ModelMetric value) Optional metrics for the model.setModelMetrics(int index, ModelRegistry.ModelMetric.Builder builderForValue) Optional metrics for the model.setModelParams(int index, ModelRegistry.ModelParam value) Optional parameters for the model.setModelParams(int index, ModelRegistry.ModelParam.Builder builderForValue) Optional parameters for the model.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, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.ModelVersion.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.ModelVersion.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.ModelVersion.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.ModelVersion.Builder>
-
setField
public ModelRegistry.ModelVersion.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.ModelVersion.Builder>
-
clearField
public ModelRegistry.ModelVersion.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.ModelVersion.Builder>
-
clearOneof
public ModelRegistry.ModelVersion.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin 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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.ModelVersion.Builder>
-
addRepeatedField
public ModelRegistry.ModelVersion.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.ModelVersion.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ModelRegistry.ModelVersion.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
hasNamein interfaceModelRegistry.ModelVersionOrBuilder- Returns:
- Whether the name field is set.
-
getName
Unique name of the model
optional string name = 1;- Specified by:
getNamein interfaceModelRegistry.ModelVersionOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Unique name of the model
optional string name = 1;- Specified by:
getNameBytesin 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:
hasVersionin interfaceModelRegistry.ModelVersionOrBuilder- Returns:
- Whether the version field is set.
-
getVersion
Model's version number.
optional string version = 2;- Specified by:
getVersionin interfaceModelRegistry.ModelVersionOrBuilder- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()Model's version number.
optional string version = 2;- Specified by:
getVersionBytesin 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:
hasCreationTimestampin 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:
getCreationTimestampin 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:
hasLastUpdatedTimestampin 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:
getLastUpdatedTimestampin 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:
hasUserIdin interfaceModelRegistry.ModelVersionOrBuilder- Returns:
- Whether the userId field is set.
-
getUserId
User that created this ``model_version``.
optional string user_id = 5;- Specified by:
getUserIdin 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:
getUserIdBytesin 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:
hasCurrentStagein interfaceModelRegistry.ModelVersionOrBuilder- Returns:
- Whether the currentStage field is set.
-
getCurrentStage
Current stage for this ``model_version``.
optional string current_stage = 6;- Specified by:
getCurrentStagein 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:
getCurrentStageBytesin 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:
hasDescriptionin interfaceModelRegistry.ModelVersionOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
Description of this ``model_version``.
optional string description = 7;- Specified by:
getDescriptionin interfaceModelRegistry.ModelVersionOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Description of this ``model_version``.
optional string description = 7;- Specified by:
getDescriptionBytesin 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:
hasSourcein 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:
getSourcein 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:
getSourceBytesin 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:
hasRunIdin 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:
getRunIdin 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:
getRunIdBytesin 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:
hasStatusin interfaceModelRegistry.ModelVersionOrBuilder- Returns:
- Whether the status field is set.
-
getStatus
Current status of ``model_version``
optional .mlflow.ModelVersionStatus status = 10;- Specified by:
getStatusin 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:
hasStatusMessagein 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:
getStatusMessagein 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:
getStatusMessageBytesin 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:
getTagsListin interfaceModelRegistry.ModelVersionOrBuilder
-
getTagsCount
public int getTagsCount()Tags: Additional metadata key-value pairs for this ``model_version``.
repeated .mlflow.ModelVersionTag tags = 12;- Specified by:
getTagsCountin interfaceModelRegistry.ModelVersionOrBuilder
-
getTags
Tags: Additional metadata key-value pairs for this ``model_version``.
repeated .mlflow.ModelVersionTag tags = 12;- Specified by:
getTagsin 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:
getTagsOrBuilderin interfaceModelRegistry.ModelVersionOrBuilder
-
getTagsOrBuilderList
Tags: Additional metadata key-value pairs for this ``model_version``.
repeated .mlflow.ModelVersionTag tags = 12;- Specified by:
getTagsOrBuilderListin 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:
hasRunLinkin 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:
getRunLinkin 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:
getRunLinkBytesin 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:
getAliasesListin interfaceModelRegistry.ModelVersionOrBuilder- Returns:
- A list containing the aliases.
-
getAliasesCount
public int getAliasesCount()Aliases pointing to this ``model_version``.
repeated string aliases = 14;- Specified by:
getAliasesCountin interfaceModelRegistry.ModelVersionOrBuilder- Returns:
- The count of aliases.
-
getAliases
Aliases pointing to this ``model_version``.
repeated string aliases = 14;- Specified by:
getAliasesin 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:
getAliasesBytesin 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.
-
hasModelId
public boolean hasModelId()Optional `model_id` for model version that is used to link the registered model to the source logged model
optional string model_id = 15;- Specified by:
hasModelIdin interfaceModelRegistry.ModelVersionOrBuilder- Returns:
- Whether the modelId field is set.
-
getModelId
Optional `model_id` for model version that is used to link the registered model to the source logged model
optional string model_id = 15;- Specified by:
getModelIdin interfaceModelRegistry.ModelVersionOrBuilder- Returns:
- The modelId.
-
getModelIdBytes
public com.google.protobuf.ByteString getModelIdBytes()Optional `model_id` for model version that is used to link the registered model to the source logged model
optional string model_id = 15;- Specified by:
getModelIdBytesin interfaceModelRegistry.ModelVersionOrBuilder- Returns:
- The bytes for modelId.
-
setModelId
Optional `model_id` for model version that is used to link the registered model to the source logged model
optional string model_id = 15;- Parameters:
value- The modelId to set.- Returns:
- This builder for chaining.
-
clearModelId
Optional `model_id` for model version that is used to link the registered model to the source logged model
optional string model_id = 15;- Returns:
- This builder for chaining.
-
setModelIdBytes
Optional `model_id` for model version that is used to link the registered model to the source logged model
optional string model_id = 15;- Parameters:
value- The bytes for modelId to set.- Returns:
- This builder for chaining.
-
getModelParamsList
Optional parameters for the model.
repeated .mlflow.ModelParam model_params = 16;- Specified by:
getModelParamsListin interfaceModelRegistry.ModelVersionOrBuilder
-
getModelParamsCount
public int getModelParamsCount()Optional parameters for the model.
repeated .mlflow.ModelParam model_params = 16;- Specified by:
getModelParamsCountin interfaceModelRegistry.ModelVersionOrBuilder
-
getModelParams
Optional parameters for the model.
repeated .mlflow.ModelParam model_params = 16;- Specified by:
getModelParamsin interfaceModelRegistry.ModelVersionOrBuilder
-
setModelParams
Optional parameters for the model.
repeated .mlflow.ModelParam model_params = 16; -
setModelParams
public ModelRegistry.ModelVersion.Builder setModelParams(int index, ModelRegistry.ModelParam.Builder builderForValue) Optional parameters for the model.
repeated .mlflow.ModelParam model_params = 16; -
addModelParams
Optional parameters for the model.
repeated .mlflow.ModelParam model_params = 16; -
addModelParams
Optional parameters for the model.
repeated .mlflow.ModelParam model_params = 16; -
addModelParams
public ModelRegistry.ModelVersion.Builder addModelParams(ModelRegistry.ModelParam.Builder builderForValue) Optional parameters for the model.
repeated .mlflow.ModelParam model_params = 16; -
addModelParams
public ModelRegistry.ModelVersion.Builder addModelParams(int index, ModelRegistry.ModelParam.Builder builderForValue) Optional parameters for the model.
repeated .mlflow.ModelParam model_params = 16; -
addAllModelParams
public ModelRegistry.ModelVersion.Builder addAllModelParams(Iterable<? extends ModelRegistry.ModelParam> values) Optional parameters for the model.
repeated .mlflow.ModelParam model_params = 16; -
clearModelParams
Optional parameters for the model.
repeated .mlflow.ModelParam model_params = 16; -
removeModelParams
Optional parameters for the model.
repeated .mlflow.ModelParam model_params = 16; -
getModelParamsBuilder
Optional parameters for the model.
repeated .mlflow.ModelParam model_params = 16; -
getModelParamsOrBuilder
Optional parameters for the model.
repeated .mlflow.ModelParam model_params = 16;- Specified by:
getModelParamsOrBuilderin interfaceModelRegistry.ModelVersionOrBuilder
-
getModelParamsOrBuilderList
Optional parameters for the model.
repeated .mlflow.ModelParam model_params = 16;- Specified by:
getModelParamsOrBuilderListin interfaceModelRegistry.ModelVersionOrBuilder
-
addModelParamsBuilder
Optional parameters for the model.
repeated .mlflow.ModelParam model_params = 16; -
addModelParamsBuilder
Optional parameters for the model.
repeated .mlflow.ModelParam model_params = 16; -
getModelParamsBuilderList
Optional parameters for the model.
repeated .mlflow.ModelParam model_params = 16; -
getModelMetricsList
Optional metrics for the model.
repeated .mlflow.ModelMetric model_metrics = 17;- Specified by:
getModelMetricsListin interfaceModelRegistry.ModelVersionOrBuilder
-
getModelMetricsCount
public int getModelMetricsCount()Optional metrics for the model.
repeated .mlflow.ModelMetric model_metrics = 17;- Specified by:
getModelMetricsCountin interfaceModelRegistry.ModelVersionOrBuilder
-
getModelMetrics
Optional metrics for the model.
repeated .mlflow.ModelMetric model_metrics = 17;- Specified by:
getModelMetricsin interfaceModelRegistry.ModelVersionOrBuilder
-
setModelMetrics
public ModelRegistry.ModelVersion.Builder setModelMetrics(int index, ModelRegistry.ModelMetric value) Optional metrics for the model.
repeated .mlflow.ModelMetric model_metrics = 17; -
setModelMetrics
public ModelRegistry.ModelVersion.Builder setModelMetrics(int index, ModelRegistry.ModelMetric.Builder builderForValue) Optional metrics for the model.
repeated .mlflow.ModelMetric model_metrics = 17; -
addModelMetrics
Optional metrics for the model.
repeated .mlflow.ModelMetric model_metrics = 17; -
addModelMetrics
public ModelRegistry.ModelVersion.Builder addModelMetrics(int index, ModelRegistry.ModelMetric value) Optional metrics for the model.
repeated .mlflow.ModelMetric model_metrics = 17; -
addModelMetrics
public ModelRegistry.ModelVersion.Builder addModelMetrics(ModelRegistry.ModelMetric.Builder builderForValue) Optional metrics for the model.
repeated .mlflow.ModelMetric model_metrics = 17; -
addModelMetrics
public ModelRegistry.ModelVersion.Builder addModelMetrics(int index, ModelRegistry.ModelMetric.Builder builderForValue) Optional metrics for the model.
repeated .mlflow.ModelMetric model_metrics = 17; -
addAllModelMetrics
public ModelRegistry.ModelVersion.Builder addAllModelMetrics(Iterable<? extends ModelRegistry.ModelMetric> values) Optional metrics for the model.
repeated .mlflow.ModelMetric model_metrics = 17; -
clearModelMetrics
Optional metrics for the model.
repeated .mlflow.ModelMetric model_metrics = 17; -
removeModelMetrics
Optional metrics for the model.
repeated .mlflow.ModelMetric model_metrics = 17; -
getModelMetricsBuilder
Optional metrics for the model.
repeated .mlflow.ModelMetric model_metrics = 17; -
getModelMetricsOrBuilder
Optional metrics for the model.
repeated .mlflow.ModelMetric model_metrics = 17;- Specified by:
getModelMetricsOrBuilderin interfaceModelRegistry.ModelVersionOrBuilder
-
getModelMetricsOrBuilderList
Optional metrics for the model.
repeated .mlflow.ModelMetric model_metrics = 17;- Specified by:
getModelMetricsOrBuilderListin interfaceModelRegistry.ModelVersionOrBuilder
-
addModelMetricsBuilder
Optional metrics for the model.
repeated .mlflow.ModelMetric model_metrics = 17; -
addModelMetricsBuilder
Optional metrics for the model.
repeated .mlflow.ModelMetric model_metrics = 17; -
getModelMetricsBuilderList
Optional metrics for the model.
repeated .mlflow.ModelMetric model_metrics = 17; -
hasDeploymentJobState
public boolean hasDeploymentJobState()Deployment job state for this model version.
optional .mlflow.ModelVersionDeploymentJobState deployment_job_state = 19;- Specified by:
hasDeploymentJobStatein interfaceModelRegistry.ModelVersionOrBuilder- Returns:
- Whether the deploymentJobState field is set.
-
getDeploymentJobState
Deployment job state for this model version.
optional .mlflow.ModelVersionDeploymentJobState deployment_job_state = 19;- Specified by:
getDeploymentJobStatein interfaceModelRegistry.ModelVersionOrBuilder- Returns:
- The deploymentJobState.
-
setDeploymentJobState
public ModelRegistry.ModelVersion.Builder setDeploymentJobState(ModelRegistry.ModelVersionDeploymentJobState value) Deployment job state for this model version.
optional .mlflow.ModelVersionDeploymentJobState deployment_job_state = 19; -
setDeploymentJobState
public ModelRegistry.ModelVersion.Builder setDeploymentJobState(ModelRegistry.ModelVersionDeploymentJobState.Builder builderForValue) Deployment job state for this model version.
optional .mlflow.ModelVersionDeploymentJobState deployment_job_state = 19; -
mergeDeploymentJobState
public ModelRegistry.ModelVersion.Builder mergeDeploymentJobState(ModelRegistry.ModelVersionDeploymentJobState value) Deployment job state for this model version.
optional .mlflow.ModelVersionDeploymentJobState deployment_job_state = 19; -
clearDeploymentJobState
Deployment job state for this model version.
optional .mlflow.ModelVersionDeploymentJobState deployment_job_state = 19; -
getDeploymentJobStateBuilder
Deployment job state for this model version.
optional .mlflow.ModelVersionDeploymentJobState deployment_job_state = 19; -
getDeploymentJobStateOrBuilder
Deployment job state for this model version.
optional .mlflow.ModelVersionDeploymentJobState deployment_job_state = 19;- Specified by:
getDeploymentJobStateOrBuilderin interfaceModelRegistry.ModelVersionOrBuilder
-
setUnknownFields
public final ModelRegistry.ModelVersion.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.ModelVersion.Builder>
-
mergeUnknownFields
public final ModelRegistry.ModelVersion.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.ModelVersion.Builder>
-