Package org.mlflow.api.proto
Class ModelRegistry.CreateModelVersion.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.CreateModelVersion.Builder>
-
- org.mlflow.api.proto.ModelRegistry.CreateModelVersion.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
,ModelRegistry.CreateModelVersionOrBuilder
- Enclosing class:
- ModelRegistry.CreateModelVersion
public static final class ModelRegistry.CreateModelVersion.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.CreateModelVersion.Builder> implements ModelRegistry.CreateModelVersionOrBuilder
Protobuf typemlflow.CreateModelVersion
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ModelRegistry.CreateModelVersion.Builder
addAllTags(java.lang.Iterable<? extends ModelRegistry.ModelVersionTag> values)
Additional metadata for model version.ModelRegistry.CreateModelVersion.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ModelRegistry.CreateModelVersion.Builder
addTags(int index, ModelRegistry.ModelVersionTag value)
Additional metadata for model version.ModelRegistry.CreateModelVersion.Builder
addTags(int index, ModelRegistry.ModelVersionTag.Builder builderForValue)
Additional metadata for model version.ModelRegistry.CreateModelVersion.Builder
addTags(ModelRegistry.ModelVersionTag value)
Additional metadata for model version.ModelRegistry.CreateModelVersion.Builder
addTags(ModelRegistry.ModelVersionTag.Builder builderForValue)
Additional metadata for model version.ModelRegistry.ModelVersionTag.Builder
addTagsBuilder()
Additional metadata for model version.ModelRegistry.ModelVersionTag.Builder
addTagsBuilder(int index)
Additional metadata for model version.ModelRegistry.CreateModelVersion
build()
ModelRegistry.CreateModelVersion
buildPartial()
ModelRegistry.CreateModelVersion.Builder
clear()
ModelRegistry.CreateModelVersion.Builder
clearDescription()
Optional description for model version.ModelRegistry.CreateModelVersion.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ModelRegistry.CreateModelVersion.Builder
clearName()
Register model under this nameModelRegistry.CreateModelVersion.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ModelRegistry.CreateModelVersion.Builder
clearRunId()
MLflow run ID for correlation, if ``source`` was generated by an experiment run in MLflow tracking serverModelRegistry.CreateModelVersion.Builder
clearRunLink()
MLflow run link - this is the exact link of the run that generated this model version, potentially hosted at another instance of MLflow.ModelRegistry.CreateModelVersion.Builder
clearSource()
URI indicating the location of the model artifacts.ModelRegistry.CreateModelVersion.Builder
clearTags()
Additional metadata for model version.ModelRegistry.CreateModelVersion.Builder
clone()
ModelRegistry.CreateModelVersion
getDefaultInstanceForType()
java.lang.String
getDescription()
Optional description for model version.com.google.protobuf.ByteString
getDescriptionBytes()
Optional description for model version.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getName()
Register model under this namecom.google.protobuf.ByteString
getNameBytes()
Register model under this namejava.lang.String
getRunId()
MLflow run ID for correlation, if ``source`` was generated by an experiment run in MLflow tracking servercom.google.protobuf.ByteString
getRunIdBytes()
MLflow run ID for correlation, if ``source`` was generated by an experiment run in MLflow tracking serverjava.lang.String
getRunLink()
MLflow run link - this is the exact link of the run that generated this model version, potentially hosted at another instance of MLflow.com.google.protobuf.ByteString
getRunLinkBytes()
MLflow run link - this is the exact link of the run that generated this model version, potentially hosted at another instance of MLflow.java.lang.String
getSource()
URI indicating the location of the model artifacts.com.google.protobuf.ByteString
getSourceBytes()
URI indicating the location of the model artifacts.ModelRegistry.ModelVersionTag
getTags(int index)
Additional metadata for model version.ModelRegistry.ModelVersionTag.Builder
getTagsBuilder(int index)
Additional metadata for model version.java.util.List<ModelRegistry.ModelVersionTag.Builder>
getTagsBuilderList()
Additional metadata for model version.int
getTagsCount()
Additional metadata for model version.java.util.List<ModelRegistry.ModelVersionTag>
getTagsList()
Additional metadata for model version.ModelRegistry.ModelVersionTagOrBuilder
getTagsOrBuilder(int index)
Additional metadata for model version.java.util.List<? extends ModelRegistry.ModelVersionTagOrBuilder>
getTagsOrBuilderList()
Additional metadata for model version.boolean
hasDescription()
Optional description for model version.boolean
hasName()
Register model under this nameboolean
hasRunId()
MLflow run ID for correlation, if ``source`` was generated by an experiment run in MLflow tracking serverboolean
hasRunLink()
MLflow run link - this is the exact link of the run that generated this model version, potentially hosted at another instance of MLflow.boolean
hasSource()
URI indicating the location of the model artifacts.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ModelRegistry.CreateModelVersion.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ModelRegistry.CreateModelVersion.Builder
mergeFrom(com.google.protobuf.Message other)
ModelRegistry.CreateModelVersion.Builder
mergeFrom(ModelRegistry.CreateModelVersion other)
ModelRegistry.CreateModelVersion.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ModelRegistry.CreateModelVersion.Builder
removeTags(int index)
Additional metadata for model version.ModelRegistry.CreateModelVersion.Builder
setDescription(java.lang.String value)
Optional description for model version.ModelRegistry.CreateModelVersion.Builder
setDescriptionBytes(com.google.protobuf.ByteString value)
Optional description for model version.ModelRegistry.CreateModelVersion.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ModelRegistry.CreateModelVersion.Builder
setName(java.lang.String value)
Register model under this nameModelRegistry.CreateModelVersion.Builder
setNameBytes(com.google.protobuf.ByteString value)
Register model under this nameModelRegistry.CreateModelVersion.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
ModelRegistry.CreateModelVersion.Builder
setRunId(java.lang.String value)
MLflow run ID for correlation, if ``source`` was generated by an experiment run in MLflow tracking serverModelRegistry.CreateModelVersion.Builder
setRunIdBytes(com.google.protobuf.ByteString value)
MLflow run ID for correlation, if ``source`` was generated by an experiment run in MLflow tracking serverModelRegistry.CreateModelVersion.Builder
setRunLink(java.lang.String value)
MLflow run link - this is the exact link of the run that generated this model version, potentially hosted at another instance of MLflow.ModelRegistry.CreateModelVersion.Builder
setRunLinkBytes(com.google.protobuf.ByteString value)
MLflow run link - this is the exact link of the run that generated this model version, potentially hosted at another instance of MLflow.ModelRegistry.CreateModelVersion.Builder
setSource(java.lang.String value)
URI indicating the location of the model artifacts.ModelRegistry.CreateModelVersion.Builder
setSourceBytes(com.google.protobuf.ByteString value)
URI indicating the location of the model artifacts.ModelRegistry.CreateModelVersion.Builder
setTags(int index, ModelRegistry.ModelVersionTag value)
Additional metadata for model version.ModelRegistry.CreateModelVersion.Builder
setTags(int index, ModelRegistry.ModelVersionTag.Builder builderForValue)
Additional metadata for model version.ModelRegistry.CreateModelVersion.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.CreateModelVersion.Builder>
-
clear
public ModelRegistry.CreateModelVersion.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.CreateModelVersion.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.CreateModelVersion.Builder>
-
getDefaultInstanceForType
public ModelRegistry.CreateModelVersion getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ModelRegistry.CreateModelVersion build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ModelRegistry.CreateModelVersion buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ModelRegistry.CreateModelVersion.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.CreateModelVersion.Builder>
-
setField
public ModelRegistry.CreateModelVersion.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.CreateModelVersion.Builder>
-
clearField
public ModelRegistry.CreateModelVersion.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.CreateModelVersion.Builder>
-
clearOneof
public ModelRegistry.CreateModelVersion.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.CreateModelVersion.Builder>
-
setRepeatedField
public ModelRegistry.CreateModelVersion.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.CreateModelVersion.Builder>
-
addRepeatedField
public ModelRegistry.CreateModelVersion.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.CreateModelVersion.Builder>
-
mergeFrom
public ModelRegistry.CreateModelVersion.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ModelRegistry.CreateModelVersion.Builder>
-
mergeFrom
public ModelRegistry.CreateModelVersion.Builder mergeFrom(ModelRegistry.CreateModelVersion other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.CreateModelVersion.Builder>
-
mergeFrom
public ModelRegistry.CreateModelVersion.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ModelRegistry.CreateModelVersion.Builder>
- Throws:
java.io.IOException
-
hasName
public boolean hasName()
Register model under this name
optional string name = 1 [(.mlflow.validate_required) = true];
- Specified by:
hasName
in interfaceModelRegistry.CreateModelVersionOrBuilder
- Returns:
- Whether the name field is set.
-
getName
public java.lang.String getName()
Register model under this name
optional string name = 1 [(.mlflow.validate_required) = true];
- Specified by:
getName
in interfaceModelRegistry.CreateModelVersionOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Register model under this name
optional string name = 1 [(.mlflow.validate_required) = true];
- Specified by:
getNameBytes
in interfaceModelRegistry.CreateModelVersionOrBuilder
- Returns:
- The bytes for name.
-
setName
public ModelRegistry.CreateModelVersion.Builder setName(java.lang.String value)
Register model under this name
optional string name = 1 [(.mlflow.validate_required) = true];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public ModelRegistry.CreateModelVersion.Builder clearName()
Register model under this name
optional string name = 1 [(.mlflow.validate_required) = true];
- Returns:
- This builder for chaining.
-
setNameBytes
public ModelRegistry.CreateModelVersion.Builder setNameBytes(com.google.protobuf.ByteString value)
Register model under this name
optional string name = 1 [(.mlflow.validate_required) = true];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasSource
public boolean hasSource()
URI indicating the location of the model artifacts.
optional string source = 2 [(.mlflow.validate_required) = true];
- Specified by:
hasSource
in interfaceModelRegistry.CreateModelVersionOrBuilder
- Returns:
- Whether the source field is set.
-
getSource
public java.lang.String getSource()
URI indicating the location of the model artifacts.
optional string source = 2 [(.mlflow.validate_required) = true];
- Specified by:
getSource
in interfaceModelRegistry.CreateModelVersionOrBuilder
- Returns:
- The source.
-
getSourceBytes
public com.google.protobuf.ByteString getSourceBytes()
URI indicating the location of the model artifacts.
optional string source = 2 [(.mlflow.validate_required) = true];
- Specified by:
getSourceBytes
in interfaceModelRegistry.CreateModelVersionOrBuilder
- Returns:
- The bytes for source.
-
setSource
public ModelRegistry.CreateModelVersion.Builder setSource(java.lang.String value)
URI indicating the location of the model artifacts.
optional string source = 2 [(.mlflow.validate_required) = true];
- Parameters:
value
- The source to set.- Returns:
- This builder for chaining.
-
clearSource
public ModelRegistry.CreateModelVersion.Builder clearSource()
URI indicating the location of the model artifacts.
optional string source = 2 [(.mlflow.validate_required) = true];
- Returns:
- This builder for chaining.
-
setSourceBytes
public ModelRegistry.CreateModelVersion.Builder setSourceBytes(com.google.protobuf.ByteString value)
URI indicating the location of the model artifacts.
optional string source = 2 [(.mlflow.validate_required) = true];
- Parameters:
value
- The bytes for source to set.- Returns:
- This builder for chaining.
-
hasRunId
public boolean hasRunId()
MLflow run ID for correlation, if ``source`` was generated by an experiment run in MLflow tracking server
optional string run_id = 3;
- Specified by:
hasRunId
in interfaceModelRegistry.CreateModelVersionOrBuilder
- Returns:
- Whether the runId field is set.
-
getRunId
public java.lang.String getRunId()
MLflow run ID for correlation, if ``source`` was generated by an experiment run in MLflow tracking server
optional string run_id = 3;
- Specified by:
getRunId
in interfaceModelRegistry.CreateModelVersionOrBuilder
- Returns:
- The runId.
-
getRunIdBytes
public com.google.protobuf.ByteString getRunIdBytes()
MLflow run ID for correlation, if ``source`` was generated by an experiment run in MLflow tracking server
optional string run_id = 3;
- Specified by:
getRunIdBytes
in interfaceModelRegistry.CreateModelVersionOrBuilder
- Returns:
- The bytes for runId.
-
setRunId
public ModelRegistry.CreateModelVersion.Builder setRunId(java.lang.String value)
MLflow run ID for correlation, if ``source`` was generated by an experiment run in MLflow tracking server
optional string run_id = 3;
- Parameters:
value
- The runId to set.- Returns:
- This builder for chaining.
-
clearRunId
public ModelRegistry.CreateModelVersion.Builder clearRunId()
MLflow run ID for correlation, if ``source`` was generated by an experiment run in MLflow tracking server
optional string run_id = 3;
- Returns:
- This builder for chaining.
-
setRunIdBytes
public ModelRegistry.CreateModelVersion.Builder setRunIdBytes(com.google.protobuf.ByteString value)
MLflow run ID for correlation, if ``source`` was generated by an experiment run in MLflow tracking server
optional string run_id = 3;
- Parameters:
value
- The bytes for runId to set.- Returns:
- This builder for chaining.
-
getTagsList
public java.util.List<ModelRegistry.ModelVersionTag> getTagsList()
Additional metadata for model version.
repeated .mlflow.ModelVersionTag tags = 4;
- Specified by:
getTagsList
in interfaceModelRegistry.CreateModelVersionOrBuilder
-
getTagsCount
public int getTagsCount()
Additional metadata for model version.
repeated .mlflow.ModelVersionTag tags = 4;
- Specified by:
getTagsCount
in interfaceModelRegistry.CreateModelVersionOrBuilder
-
getTags
public ModelRegistry.ModelVersionTag getTags(int index)
Additional metadata for model version.
repeated .mlflow.ModelVersionTag tags = 4;
- Specified by:
getTags
in interfaceModelRegistry.CreateModelVersionOrBuilder
-
setTags
public ModelRegistry.CreateModelVersion.Builder setTags(int index, ModelRegistry.ModelVersionTag value)
Additional metadata for model version.
repeated .mlflow.ModelVersionTag tags = 4;
-
setTags
public ModelRegistry.CreateModelVersion.Builder setTags(int index, ModelRegistry.ModelVersionTag.Builder builderForValue)
Additional metadata for model version.
repeated .mlflow.ModelVersionTag tags = 4;
-
addTags
public ModelRegistry.CreateModelVersion.Builder addTags(ModelRegistry.ModelVersionTag value)
Additional metadata for model version.
repeated .mlflow.ModelVersionTag tags = 4;
-
addTags
public ModelRegistry.CreateModelVersion.Builder addTags(int index, ModelRegistry.ModelVersionTag value)
Additional metadata for model version.
repeated .mlflow.ModelVersionTag tags = 4;
-
addTags
public ModelRegistry.CreateModelVersion.Builder addTags(ModelRegistry.ModelVersionTag.Builder builderForValue)
Additional metadata for model version.
repeated .mlflow.ModelVersionTag tags = 4;
-
addTags
public ModelRegistry.CreateModelVersion.Builder addTags(int index, ModelRegistry.ModelVersionTag.Builder builderForValue)
Additional metadata for model version.
repeated .mlflow.ModelVersionTag tags = 4;
-
addAllTags
public ModelRegistry.CreateModelVersion.Builder addAllTags(java.lang.Iterable<? extends ModelRegistry.ModelVersionTag> values)
Additional metadata for model version.
repeated .mlflow.ModelVersionTag tags = 4;
-
clearTags
public ModelRegistry.CreateModelVersion.Builder clearTags()
Additional metadata for model version.
repeated .mlflow.ModelVersionTag tags = 4;
-
removeTags
public ModelRegistry.CreateModelVersion.Builder removeTags(int index)
Additional metadata for model version.
repeated .mlflow.ModelVersionTag tags = 4;
-
getTagsBuilder
public ModelRegistry.ModelVersionTag.Builder getTagsBuilder(int index)
Additional metadata for model version.
repeated .mlflow.ModelVersionTag tags = 4;
-
getTagsOrBuilder
public ModelRegistry.ModelVersionTagOrBuilder getTagsOrBuilder(int index)
Additional metadata for model version.
repeated .mlflow.ModelVersionTag tags = 4;
- Specified by:
getTagsOrBuilder
in interfaceModelRegistry.CreateModelVersionOrBuilder
-
getTagsOrBuilderList
public java.util.List<? extends ModelRegistry.ModelVersionTagOrBuilder> getTagsOrBuilderList()
Additional metadata for model version.
repeated .mlflow.ModelVersionTag tags = 4;
- Specified by:
getTagsOrBuilderList
in interfaceModelRegistry.CreateModelVersionOrBuilder
-
addTagsBuilder
public ModelRegistry.ModelVersionTag.Builder addTagsBuilder()
Additional metadata for model version.
repeated .mlflow.ModelVersionTag tags = 4;
-
addTagsBuilder
public ModelRegistry.ModelVersionTag.Builder addTagsBuilder(int index)
Additional metadata for model version.
repeated .mlflow.ModelVersionTag tags = 4;
-
getTagsBuilderList
public java.util.List<ModelRegistry.ModelVersionTag.Builder> getTagsBuilderList()
Additional metadata for model version.
repeated .mlflow.ModelVersionTag tags = 4;
-
hasRunLink
public boolean hasRunLink()
MLflow run link - this is the exact link of the run that generated this model version, potentially hosted at another instance of MLflow.
optional string run_link = 5;
- Specified by:
hasRunLink
in interfaceModelRegistry.CreateModelVersionOrBuilder
- Returns:
- Whether the runLink field is set.
-
getRunLink
public java.lang.String getRunLink()
MLflow run link - this is the exact link of the run that generated this model version, potentially hosted at another instance of MLflow.
optional string run_link = 5;
- Specified by:
getRunLink
in interfaceModelRegistry.CreateModelVersionOrBuilder
- Returns:
- The runLink.
-
getRunLinkBytes
public com.google.protobuf.ByteString getRunLinkBytes()
MLflow run link - this is the exact link of the run that generated this model version, potentially hosted at another instance of MLflow.
optional string run_link = 5;
- Specified by:
getRunLinkBytes
in interfaceModelRegistry.CreateModelVersionOrBuilder
- Returns:
- The bytes for runLink.
-
setRunLink
public ModelRegistry.CreateModelVersion.Builder setRunLink(java.lang.String value)
MLflow run link - this is the exact link of the run that generated this model version, potentially hosted at another instance of MLflow.
optional string run_link = 5;
- Parameters:
value
- The runLink to set.- Returns:
- This builder for chaining.
-
clearRunLink
public ModelRegistry.CreateModelVersion.Builder clearRunLink()
MLflow run link - this is the exact link of the run that generated this model version, potentially hosted at another instance of MLflow.
optional string run_link = 5;
- Returns:
- This builder for chaining.
-
setRunLinkBytes
public ModelRegistry.CreateModelVersion.Builder setRunLinkBytes(com.google.protobuf.ByteString value)
MLflow run link - this is the exact link of the run that generated this model version, potentially hosted at another instance of MLflow.
optional string run_link = 5;
- Parameters:
value
- The bytes for runLink to set.- Returns:
- This builder for chaining.
-
hasDescription
public boolean hasDescription()
Optional description for model version.
optional string description = 6;
- Specified by:
hasDescription
in interfaceModelRegistry.CreateModelVersionOrBuilder
- Returns:
- Whether the description field is set.
-
getDescription
public java.lang.String getDescription()
Optional description for model version.
optional string description = 6;
- Specified by:
getDescription
in interfaceModelRegistry.CreateModelVersionOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
Optional description for model version.
optional string description = 6;
- Specified by:
getDescriptionBytes
in interfaceModelRegistry.CreateModelVersionOrBuilder
- Returns:
- The bytes for description.
-
setDescription
public ModelRegistry.CreateModelVersion.Builder setDescription(java.lang.String value)
Optional description for model version.
optional string description = 6;
- Parameters:
value
- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public ModelRegistry.CreateModelVersion.Builder clearDescription()
Optional description for model version.
optional string description = 6;
- Returns:
- This builder for chaining.
-
setDescriptionBytes
public ModelRegistry.CreateModelVersion.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Optional description for model version.
optional string description = 6;
- Parameters:
value
- The bytes for description to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ModelRegistry.CreateModelVersion.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.CreateModelVersion.Builder>
-
mergeUnknownFields
public final ModelRegistry.CreateModelVersion.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.CreateModelVersion.Builder>
-
-