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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.ModelVersion.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.ModelVersion.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.ModelVersion.Builder>
    • getDefaultInstanceForType

      public ModelRegistry.ModelVersion getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ModelRegistry.ModelVersion buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.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 interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.ModelVersion.Builder>
    • clearField

      public ModelRegistry.ModelVersion.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.ModelVersion.Builder>
    • clearOneof

      public ModelRegistry.ModelVersion.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.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 interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.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 interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.ModelVersion.Builder>
    • mergeFrom

      public ModelRegistry.ModelVersion.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ModelRegistry.ModelVersion.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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 interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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 interface ModelRegistry.ModelVersionOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       Unique name of the model
       
      optional string name = 1;
      Specified by:
      getName in interface ModelRegistry.ModelVersionOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Unique name of the model
       
      optional string name = 1;
      Specified by:
      getNameBytes in interface ModelRegistry.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

      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 interface ModelRegistry.ModelVersionOrBuilder
      Returns:
      Whether the version field is set.
    • getVersion

      public String getVersion()
       Model's version number.
       
      optional string version = 2;
      Specified by:
      getVersion in interface ModelRegistry.ModelVersionOrBuilder
      Returns:
      The version.
    • getVersionBytes

      public com.google.protobuf.ByteString getVersionBytes()
       Model's version number.
       
      optional string version = 2;
      Specified by:
      getVersionBytes in interface ModelRegistry.ModelVersionOrBuilder
      Returns:
      The bytes for version.
    • setVersion

      public ModelRegistry.ModelVersion.Builder setVersion(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 interface ModelRegistry.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 interface ModelRegistry.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 interface ModelRegistry.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 interface ModelRegistry.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 interface ModelRegistry.ModelVersionOrBuilder
      Returns:
      Whether the userId field is set.
    • getUserId

      public String getUserId()
       User that created this ``model_version``.
       
      optional string user_id = 5;
      Specified by:
      getUserId in interface ModelRegistry.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 interface ModelRegistry.ModelVersionOrBuilder
      Returns:
      The bytes for userId.
    • setUserId

      public ModelRegistry.ModelVersion.Builder setUserId(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 interface ModelRegistry.ModelVersionOrBuilder
      Returns:
      Whether the currentStage field is set.
    • getCurrentStage

      public String getCurrentStage()
       Current stage for this ``model_version``.
       
      optional string current_stage = 6;
      Specified by:
      getCurrentStage in interface ModelRegistry.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 interface ModelRegistry.ModelVersionOrBuilder
      Returns:
      The bytes for currentStage.
    • setCurrentStage

      public ModelRegistry.ModelVersion.Builder setCurrentStage(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 interface ModelRegistry.ModelVersionOrBuilder
      Returns:
      Whether the description field is set.
    • getDescription

      public String getDescription()
       Description of this ``model_version``.
       
      optional string description = 7;
      Specified by:
      getDescription in interface ModelRegistry.ModelVersionOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Description of this ``model_version``.
       
      optional string description = 7;
      Specified by:
      getDescriptionBytes in interface ModelRegistry.ModelVersionOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public ModelRegistry.ModelVersion.Builder setDescription(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 interface ModelRegistry.ModelVersionOrBuilder
      Returns:
      Whether the source field is set.
    • getSource

      public String getSource()
       URI indicating the location of the source model artifacts, used when creating ``model_version``
       
      optional string source = 8;
      Specified by:
      getSource in interface ModelRegistry.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 interface ModelRegistry.ModelVersionOrBuilder
      Returns:
      The bytes for source.
    • setSource

      public ModelRegistry.ModelVersion.Builder setSource(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 interface ModelRegistry.ModelVersionOrBuilder
      Returns:
      Whether the runId field is set.
    • getRunId

      public 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 interface ModelRegistry.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 interface ModelRegistry.ModelVersionOrBuilder
      Returns:
      The bytes for runId.
    • setRunId

      public ModelRegistry.ModelVersion.Builder setRunId(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

       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 interface ModelRegistry.ModelVersionOrBuilder
      Returns:
      Whether the status field is set.
    • getStatus

       Current status of ``model_version``
       
      optional .mlflow.ModelVersionStatus status = 10;
      Specified by:
      getStatus in interface ModelRegistry.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

      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 interface ModelRegistry.ModelVersionOrBuilder
      Returns:
      Whether the statusMessage field is set.
    • getStatusMessage

      public String getStatusMessage()
       Details on current ``status``, if it is pending or failed.
       
      optional string status_message = 11;
      Specified by:
      getStatusMessage in interface ModelRegistry.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 interface ModelRegistry.ModelVersionOrBuilder
      Returns:
      The bytes for statusMessage.
    • setStatusMessage

      public ModelRegistry.ModelVersion.Builder setStatusMessage(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 List<ModelRegistry.ModelVersionTag> getTagsList()
       Tags: Additional metadata key-value pairs for this ``model_version``.
       
      repeated .mlflow.ModelVersionTag tags = 12;
      Specified by:
      getTagsList in interface ModelRegistry.ModelVersionOrBuilder
    • getTagsCount

      public int getTagsCount()
       Tags: Additional metadata key-value pairs for this ``model_version``.
       
      repeated .mlflow.ModelVersionTag tags = 12;
      Specified by:
      getTagsCount in interface ModelRegistry.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 interface ModelRegistry.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

       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

       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

      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 interface ModelRegistry.ModelVersionOrBuilder
    • getTagsOrBuilderList

      public List<? extends ModelRegistry.ModelVersionTagOrBuilder> getTagsOrBuilderList()
       Tags: Additional metadata key-value pairs for this ``model_version``.
       
      repeated .mlflow.ModelVersionTag tags = 12;
      Specified by:
      getTagsOrBuilderList in interface ModelRegistry.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 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 interface ModelRegistry.ModelVersionOrBuilder
      Returns:
      Whether the runLink field is set.
    • getRunLink

      public 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 interface ModelRegistry.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 interface ModelRegistry.ModelVersionOrBuilder
      Returns:
      The bytes for runLink.
    • setRunLink

      public ModelRegistry.ModelVersion.Builder setRunLink(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 interface ModelRegistry.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 interface ModelRegistry.ModelVersionOrBuilder
      Returns:
      The count of aliases.
    • getAliases

      public String getAliases(int index)
       Aliases pointing to this ``model_version``.
       
      repeated string aliases = 14;
      Specified by:
      getAliases in interface ModelRegistry.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 interface ModelRegistry.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, 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(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(Iterable<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 interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.ModelVersion.Builder>
    • mergeUnknownFields

      public final ModelRegistry.ModelVersion.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.ModelVersion.Builder>