Package org.mlflow.api.proto
Class ModelRegistry.RegisteredModel.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.RegisteredModel.Builder>
org.mlflow.api.proto.ModelRegistry.RegisteredModel.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.RegisteredModelOrBuilder
- Enclosing class:
- ModelRegistry.RegisteredModel
public static final class ModelRegistry.RegisteredModel.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.RegisteredModel.Builder> implements ModelRegistry.RegisteredModelOrBuilder
.. note:: Experimental: This entity may change or be removed in a future release without warning.Protobuf type
mlflow.RegisteredModel
-
Method Summary
Modifier and Type Method Description ModelRegistry.RegisteredModel.Builder
addAllLatestVersions(java.lang.Iterable<? extends ModelRegistry.ModelVersion> values)
Collection of latest model versions for each stage.ModelRegistry.RegisteredModel.Builder
addLatestVersions(int index, ModelRegistry.ModelVersion value)
Collection of latest model versions for each stage.ModelRegistry.RegisteredModel.Builder
addLatestVersions(int index, ModelRegistry.ModelVersion.Builder builderForValue)
Collection of latest model versions for each stage.ModelRegistry.RegisteredModel.Builder
addLatestVersions(ModelRegistry.ModelVersion value)
Collection of latest model versions for each stage.ModelRegistry.RegisteredModel.Builder
addLatestVersions(ModelRegistry.ModelVersion.Builder builderForValue)
Collection of latest model versions for each stage.ModelRegistry.ModelVersion.Builder
addLatestVersionsBuilder()
Collection of latest model versions for each stage.ModelRegistry.ModelVersion.Builder
addLatestVersionsBuilder(int index)
Collection of latest model versions for each stage.ModelRegistry.RegisteredModel.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ModelRegistry.RegisteredModel
build()
ModelRegistry.RegisteredModel
buildPartial()
ModelRegistry.RegisteredModel.Builder
clear()
ModelRegistry.RegisteredModel.Builder
clearCreationTimestamp()
Timestamp recorded when this ``registered_model`` was created.ModelRegistry.RegisteredModel.Builder
clearDescription()
Description of this ``registered_model``.ModelRegistry.RegisteredModel.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ModelRegistry.RegisteredModel.Builder
clearLastUpdatedTimestamp()
Timestamp recorded when metadata for this ``registered_model`` was last updated.ModelRegistry.RegisteredModel.Builder
clearLatestVersions()
Collection of latest model versions for each stage.ModelRegistry.RegisteredModel.Builder
clearName()
Unique name for the model.ModelRegistry.RegisteredModel.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ModelRegistry.RegisteredModel.Builder
clearUserId()
User that created this ``registered_model`` NOTE: this field is not currently returned.ModelRegistry.RegisteredModel.Builder
clone()
long
getCreationTimestamp()
Timestamp recorded when this ``registered_model`` was created.ModelRegistry.RegisteredModel
getDefaultInstanceForType()
java.lang.String
getDescription()
Description of this ``registered_model``.com.google.protobuf.ByteString
getDescriptionBytes()
Description of this ``registered_model``.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
long
getLastUpdatedTimestamp()
Timestamp recorded when metadata for this ``registered_model`` was last updated.ModelRegistry.ModelVersion
getLatestVersions(int index)
Collection of latest model versions for each stage.ModelRegistry.ModelVersion.Builder
getLatestVersionsBuilder(int index)
Collection of latest model versions for each stage.java.util.List<ModelRegistry.ModelVersion.Builder>
getLatestVersionsBuilderList()
Collection of latest model versions for each stage.int
getLatestVersionsCount()
Collection of latest model versions for each stage.java.util.List<ModelRegistry.ModelVersion>
getLatestVersionsList()
Collection of latest model versions for each stage.ModelRegistry.ModelVersionOrBuilder
getLatestVersionsOrBuilder(int index)
Collection of latest model versions for each stage.java.util.List<? extends ModelRegistry.ModelVersionOrBuilder>
getLatestVersionsOrBuilderList()
Collection of latest model versions for each stage.java.lang.String
getName()
Unique name for the model.com.google.protobuf.ByteString
getNameBytes()
Unique name for the model.java.lang.String
getUserId()
User that created this ``registered_model`` NOTE: this field is not currently returned.com.google.protobuf.ByteString
getUserIdBytes()
User that created this ``registered_model`` NOTE: this field is not currently returned.boolean
hasCreationTimestamp()
Timestamp recorded when this ``registered_model`` was created.boolean
hasDescription()
Description of this ``registered_model``.boolean
hasLastUpdatedTimestamp()
Timestamp recorded when metadata for this ``registered_model`` was last updated.boolean
hasName()
Unique name for the model.boolean
hasUserId()
User that created this ``registered_model`` NOTE: this field is not currently returned.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ModelRegistry.RegisteredModel.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ModelRegistry.RegisteredModel.Builder
mergeFrom(com.google.protobuf.Message other)
ModelRegistry.RegisteredModel.Builder
mergeFrom(ModelRegistry.RegisteredModel other)
ModelRegistry.RegisteredModel.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ModelRegistry.RegisteredModel.Builder
removeLatestVersions(int index)
Collection of latest model versions for each stage.ModelRegistry.RegisteredModel.Builder
setCreationTimestamp(long value)
Timestamp recorded when this ``registered_model`` was created.ModelRegistry.RegisteredModel.Builder
setDescription(java.lang.String value)
Description of this ``registered_model``.ModelRegistry.RegisteredModel.Builder
setDescriptionBytes(com.google.protobuf.ByteString value)
Description of this ``registered_model``.ModelRegistry.RegisteredModel.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ModelRegistry.RegisteredModel.Builder
setLastUpdatedTimestamp(long value)
Timestamp recorded when metadata for this ``registered_model`` was last updated.ModelRegistry.RegisteredModel.Builder
setLatestVersions(int index, ModelRegistry.ModelVersion value)
Collection of latest model versions for each stage.ModelRegistry.RegisteredModel.Builder
setLatestVersions(int index, ModelRegistry.ModelVersion.Builder builderForValue)
Collection of latest model versions for each stage.ModelRegistry.RegisteredModel.Builder
setName(java.lang.String value)
Unique name for the model.ModelRegistry.RegisteredModel.Builder
setNameBytes(com.google.protobuf.ByteString value)
Unique name for the model.ModelRegistry.RegisteredModel.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
ModelRegistry.RegisteredModel.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ModelRegistry.RegisteredModel.Builder
setUserId(java.lang.String value)
User that created this ``registered_model`` NOTE: this field is not currently returned.ModelRegistry.RegisteredModel.Builder
setUserIdBytes(com.google.protobuf.ByteString value)
User that created this ``registered_model`` NOTE: this field is not currently returned.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 Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.RegisteredModel.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.RegisteredModel.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.RegisteredModel.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.RegisteredModel.Builder>
-
setField
public ModelRegistry.RegisteredModel.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.RegisteredModel.Builder>
-
clearField
public ModelRegistry.RegisteredModel.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.RegisteredModel.Builder>
-
clearOneof
public ModelRegistry.RegisteredModel.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.RegisteredModel.Builder>
-
setRepeatedField
public ModelRegistry.RegisteredModel.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.RegisteredModel.Builder>
-
addRepeatedField
public ModelRegistry.RegisteredModel.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.RegisteredModel.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ModelRegistry.RegisteredModel.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.RegisteredModel.Builder>
-
mergeFrom
public ModelRegistry.RegisteredModel.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.RegisteredModel.Builder>
- Throws:
java.io.IOException
-
hasName
public boolean hasName()Unique name for the model.
optional string name = 1;
- Specified by:
hasName
in interfaceModelRegistry.RegisteredModelOrBuilder
-
getName
public java.lang.String getName()Unique name for the model.
optional string name = 1;
- Specified by:
getName
in interfaceModelRegistry.RegisteredModelOrBuilder
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Unique name for the model.
optional string name = 1;
- Specified by:
getNameBytes
in interfaceModelRegistry.RegisteredModelOrBuilder
-
setName
Unique name for the model.
optional string name = 1;
-
clearName
Unique name for the model.
optional string name = 1;
-
setNameBytes
Unique name for the model.
optional string name = 1;
-
hasCreationTimestamp
public boolean hasCreationTimestamp()Timestamp recorded when this ``registered_model`` was created.
optional int64 creation_timestamp = 2;
- Specified by:
hasCreationTimestamp
in interfaceModelRegistry.RegisteredModelOrBuilder
-
getCreationTimestamp
public long getCreationTimestamp()Timestamp recorded when this ``registered_model`` was created.
optional int64 creation_timestamp = 2;
- Specified by:
getCreationTimestamp
in interfaceModelRegistry.RegisteredModelOrBuilder
-
setCreationTimestamp
Timestamp recorded when this ``registered_model`` was created.
optional int64 creation_timestamp = 2;
-
clearCreationTimestamp
Timestamp recorded when this ``registered_model`` was created.
optional int64 creation_timestamp = 2;
-
hasLastUpdatedTimestamp
public boolean hasLastUpdatedTimestamp()Timestamp recorded when metadata for this ``registered_model`` was last updated.
optional int64 last_updated_timestamp = 3;
- Specified by:
hasLastUpdatedTimestamp
in interfaceModelRegistry.RegisteredModelOrBuilder
-
getLastUpdatedTimestamp
public long getLastUpdatedTimestamp()Timestamp recorded when metadata for this ``registered_model`` was last updated.
optional int64 last_updated_timestamp = 3;
- Specified by:
getLastUpdatedTimestamp
in interfaceModelRegistry.RegisteredModelOrBuilder
-
setLastUpdatedTimestamp
Timestamp recorded when metadata for this ``registered_model`` was last updated.
optional int64 last_updated_timestamp = 3;
-
clearLastUpdatedTimestamp
Timestamp recorded when metadata for this ``registered_model`` was last updated.
optional int64 last_updated_timestamp = 3;
-
hasUserId
public boolean hasUserId()User that created this ``registered_model`` NOTE: this field is not currently returned.
optional string user_id = 4;
- Specified by:
hasUserId
in interfaceModelRegistry.RegisteredModelOrBuilder
-
getUserId
public java.lang.String getUserId()User that created this ``registered_model`` NOTE: this field is not currently returned.
optional string user_id = 4;
- Specified by:
getUserId
in interfaceModelRegistry.RegisteredModelOrBuilder
-
getUserIdBytes
public com.google.protobuf.ByteString getUserIdBytes()User that created this ``registered_model`` NOTE: this field is not currently returned.
optional string user_id = 4;
- Specified by:
getUserIdBytes
in interfaceModelRegistry.RegisteredModelOrBuilder
-
setUserId
User that created this ``registered_model`` NOTE: this field is not currently returned.
optional string user_id = 4;
-
clearUserId
User that created this ``registered_model`` NOTE: this field is not currently returned.
optional string user_id = 4;
-
setUserIdBytes
User that created this ``registered_model`` NOTE: this field is not currently returned.
optional string user_id = 4;
-
hasDescription
public boolean hasDescription()Description of this ``registered_model``.
optional string description = 5;
- Specified by:
hasDescription
in interfaceModelRegistry.RegisteredModelOrBuilder
-
getDescription
public java.lang.String getDescription()Description of this ``registered_model``.
optional string description = 5;
- Specified by:
getDescription
in interfaceModelRegistry.RegisteredModelOrBuilder
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Description of this ``registered_model``.
optional string description = 5;
- Specified by:
getDescriptionBytes
in interfaceModelRegistry.RegisteredModelOrBuilder
-
setDescription
Description of this ``registered_model``.
optional string description = 5;
-
clearDescription
Description of this ``registered_model``.
optional string description = 5;
-
setDescriptionBytes
public ModelRegistry.RegisteredModel.Builder setDescriptionBytes(com.google.protobuf.ByteString value)Description of this ``registered_model``.
optional string description = 5;
-
getLatestVersionsList
Collection of latest model versions for each stage. Only contains models with current ``READY`` status.
repeated .mlflow.ModelVersion latest_versions = 6;
- Specified by:
getLatestVersionsList
in interfaceModelRegistry.RegisteredModelOrBuilder
-
getLatestVersionsCount
public int getLatestVersionsCount()Collection of latest model versions for each stage. Only contains models with current ``READY`` status.
repeated .mlflow.ModelVersion latest_versions = 6;
- Specified by:
getLatestVersionsCount
in interfaceModelRegistry.RegisteredModelOrBuilder
-
getLatestVersions
Collection of latest model versions for each stage. Only contains models with current ``READY`` status.
repeated .mlflow.ModelVersion latest_versions = 6;
- Specified by:
getLatestVersions
in interfaceModelRegistry.RegisteredModelOrBuilder
-
setLatestVersions
public ModelRegistry.RegisteredModel.Builder setLatestVersions(int index, ModelRegistry.ModelVersion value)Collection of latest model versions for each stage. Only contains models with current ``READY`` status.
repeated .mlflow.ModelVersion latest_versions = 6;
-
setLatestVersions
public ModelRegistry.RegisteredModel.Builder setLatestVersions(int index, ModelRegistry.ModelVersion.Builder builderForValue)Collection of latest model versions for each stage. Only contains models with current ``READY`` status.
repeated .mlflow.ModelVersion latest_versions = 6;
-
addLatestVersions
Collection of latest model versions for each stage. Only contains models with current ``READY`` status.
repeated .mlflow.ModelVersion latest_versions = 6;
-
addLatestVersions
public ModelRegistry.RegisteredModel.Builder addLatestVersions(int index, ModelRegistry.ModelVersion value)Collection of latest model versions for each stage. Only contains models with current ``READY`` status.
repeated .mlflow.ModelVersion latest_versions = 6;
-
addLatestVersions
public ModelRegistry.RegisteredModel.Builder addLatestVersions(ModelRegistry.ModelVersion.Builder builderForValue)Collection of latest model versions for each stage. Only contains models with current ``READY`` status.
repeated .mlflow.ModelVersion latest_versions = 6;
-
addLatestVersions
public ModelRegistry.RegisteredModel.Builder addLatestVersions(int index, ModelRegistry.ModelVersion.Builder builderForValue)Collection of latest model versions for each stage. Only contains models with current ``READY`` status.
repeated .mlflow.ModelVersion latest_versions = 6;
-
addAllLatestVersions
public ModelRegistry.RegisteredModel.Builder addAllLatestVersions(java.lang.Iterable<? extends ModelRegistry.ModelVersion> values)Collection of latest model versions for each stage. Only contains models with current ``READY`` status.
repeated .mlflow.ModelVersion latest_versions = 6;
-
clearLatestVersions
Collection of latest model versions for each stage. Only contains models with current ``READY`` status.
repeated .mlflow.ModelVersion latest_versions = 6;
-
removeLatestVersions
Collection of latest model versions for each stage. Only contains models with current ``READY`` status.
repeated .mlflow.ModelVersion latest_versions = 6;
-
getLatestVersionsBuilder
Collection of latest model versions for each stage. Only contains models with current ``READY`` status.
repeated .mlflow.ModelVersion latest_versions = 6;
-
getLatestVersionsOrBuilder
Collection of latest model versions for each stage. Only contains models with current ``READY`` status.
repeated .mlflow.ModelVersion latest_versions = 6;
- Specified by:
getLatestVersionsOrBuilder
in interfaceModelRegistry.RegisteredModelOrBuilder
-
getLatestVersionsOrBuilderList
public java.util.List<? extends ModelRegistry.ModelVersionOrBuilder> getLatestVersionsOrBuilderList()Collection of latest model versions for each stage. Only contains models with current ``READY`` status.
repeated .mlflow.ModelVersion latest_versions = 6;
- Specified by:
getLatestVersionsOrBuilderList
in interfaceModelRegistry.RegisteredModelOrBuilder
-
addLatestVersionsBuilder
Collection of latest model versions for each stage. Only contains models with current ``READY`` status.
repeated .mlflow.ModelVersion latest_versions = 6;
-
addLatestVersionsBuilder
Collection of latest model versions for each stage. Only contains models with current ``READY`` status.
repeated .mlflow.ModelVersion latest_versions = 6;
-
getLatestVersionsBuilderList
Collection of latest model versions for each stage. Only contains models with current ``READY`` status.
repeated .mlflow.ModelVersion latest_versions = 6;
-
setUnknownFields
public final ModelRegistry.RegisteredModel.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.RegisteredModel.Builder>
-
mergeUnknownFields
public final ModelRegistry.RegisteredModel.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.RegisteredModel.Builder>
-