Package org.mlflow.api.proto
Class ModelRegistry.ModelVersion
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.mlflow.api.proto.ModelRegistry.ModelVersion
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.io.Serializable
,ModelRegistry.ModelVersionOrBuilder
- Enclosing class:
- ModelRegistry
public static final class ModelRegistry.ModelVersion extends com.google.protobuf.GeneratedMessageV3 implements ModelRegistry.ModelVersionOrBuilder
.. note:: Experimental: This entity may change or be removed in a future release without warning.Protobuf type
mlflow.ModelVersion
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ModelRegistry.ModelVersion.Builder
..Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-
Field Summary
Fields Modifier and Type Field Description static int
CREATION_TIMESTAMP_FIELD_NUMBER
static int
CURRENT_STAGE_FIELD_NUMBER
static int
DESCRIPTION_FIELD_NUMBER
static int
LAST_UPDATED_TIMESTAMP_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static com.google.protobuf.Parser<ModelRegistry.ModelVersion>
PARSER
Deprecated.static int
RUN_ID_FIELD_NUMBER
static int
SOURCE_FIELD_NUMBER
static int
STATUS_FIELD_NUMBER
static int
STATUS_MESSAGE_FIELD_NUMBER
static int
USER_ID_FIELD_NUMBER
static int
VERSION_FIELD_NUMBER
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object obj)
long
getCreationTimestamp()
Timestamp recorded when this ``model_version`` was created.java.lang.String
getCurrentStage()
Current stage for this ``model_version``.com.google.protobuf.ByteString
getCurrentStageBytes()
Current stage for this ``model_version``.static ModelRegistry.ModelVersion
getDefaultInstance()
ModelRegistry.ModelVersion
getDefaultInstanceForType()
java.lang.String
getDescription()
Description of this ``model_version``.com.google.protobuf.ByteString
getDescriptionBytes()
Description of this ``model_version``.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
long
getLastUpdatedTimestamp()
Timestamp recorded when metadata for this ``model_version`` was last updated.java.lang.String
getName()
Unique name of the modelcom.google.protobuf.ByteString
getNameBytes()
Unique name of the modelcom.google.protobuf.Parser<ModelRegistry.ModelVersion>
getParserForType()
java.lang.String
getRunId()
MLflow run ID used when creating ``model_version``, if ``source`` was generated by an experiment run stored in MLflow tracking server.com.google.protobuf.ByteString
getRunIdBytes()
MLflow run ID used when creating ``model_version``, if ``source`` was generated by an experiment run stored in MLflow tracking server.int
getSerializedSize()
java.lang.String
getSource()
URI indicating the location of the source model artifacts, used when creating ``model_version``com.google.protobuf.ByteString
getSourceBytes()
URI indicating the location of the source model artifacts, used when creating ``model_version``ModelRegistry.ModelVersionStatus
getStatus()
Current status of ``model_version``java.lang.String
getStatusMessage()
Details on current ``status``, if it is pending or failed.com.google.protobuf.ByteString
getStatusMessageBytes()
Details on current ``status``, if it is pending or failed.com.google.protobuf.UnknownFieldSet
getUnknownFields()
java.lang.String
getUserId()
User that created this ``model_version``.com.google.protobuf.ByteString
getUserIdBytes()
User that created this ``model_version``.java.lang.String
getVersion()
Model's version number.com.google.protobuf.ByteString
getVersionBytes()
Model's version number.boolean
hasCreationTimestamp()
Timestamp recorded when this ``model_version`` was created.boolean
hasCurrentStage()
Current stage for this ``model_version``.boolean
hasDescription()
Description of this ``model_version``.int
hashCode()
boolean
hasLastUpdatedTimestamp()
Timestamp recorded when metadata for this ``model_version`` was last updated.boolean
hasName()
Unique name of the modelboolean
hasRunId()
MLflow run ID used when creating ``model_version``, if ``source`` was generated by an experiment run stored in MLflow tracking server.boolean
hasSource()
URI indicating the location of the source model artifacts, used when creating ``model_version``boolean
hasStatus()
Current status of ``model_version``boolean
hasStatusMessage()
Details on current ``status``, if it is pending or failed.boolean
hasUserId()
User that created this ``model_version``.boolean
hasVersion()
Model's version number.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static ModelRegistry.ModelVersion.Builder
newBuilder()
static ModelRegistry.ModelVersion.Builder
newBuilder(ModelRegistry.ModelVersion prototype)
ModelRegistry.ModelVersion.Builder
newBuilderForType()
protected ModelRegistry.ModelVersion.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
static ModelRegistry.ModelVersion
parseDelimitedFrom(java.io.InputStream input)
static ModelRegistry.ModelVersion
parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ModelRegistry.ModelVersion
parseFrom(byte[] data)
static ModelRegistry.ModelVersion
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ModelRegistry.ModelVersion
parseFrom(com.google.protobuf.ByteString data)
static ModelRegistry.ModelVersion
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ModelRegistry.ModelVersion
parseFrom(com.google.protobuf.CodedInputStream input)
static ModelRegistry.ModelVersion
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ModelRegistry.ModelVersion
parseFrom(java.io.InputStream input)
static ModelRegistry.ModelVersion
parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ModelRegistry.ModelVersion
parseFrom(java.nio.ByteBuffer data)
static ModelRegistry.ModelVersion
parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<ModelRegistry.ModelVersion>
parser()
ModelRegistry.ModelVersion.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
- Constant Field Values
-
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER- See Also:
- Constant Field Values
-
CREATION_TIMESTAMP_FIELD_NUMBER
public static final int CREATION_TIMESTAMP_FIELD_NUMBER- See Also:
- Constant Field Values
-
LAST_UPDATED_TIMESTAMP_FIELD_NUMBER
public static final int LAST_UPDATED_TIMESTAMP_FIELD_NUMBER- See Also:
- Constant Field Values
-
USER_ID_FIELD_NUMBER
public static final int USER_ID_FIELD_NUMBER- See Also:
- Constant Field Values
-
CURRENT_STAGE_FIELD_NUMBER
public static final int CURRENT_STAGE_FIELD_NUMBER- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
- Constant Field Values
-
SOURCE_FIELD_NUMBER
public static final int SOURCE_FIELD_NUMBER- See Also:
- Constant Field Values
-
RUN_ID_FIELD_NUMBER
public static final int RUN_ID_FIELD_NUMBER- See Also:
- Constant Field Values
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER- See Also:
- Constant Field Values
-
STATUS_MESSAGE_FIELD_NUMBER
public static final int STATUS_MESSAGE_FIELD_NUMBER- See Also:
- Constant Field Values
-
PARSER
Deprecated.
-
-
Method Details
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
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
-
hasName
public boolean hasName()Unique name of the model
optional string name = 1;
- Specified by:
hasName
in interfaceModelRegistry.ModelVersionOrBuilder
-
getName
public java.lang.String getName()Unique name of the model
optional string name = 1;
- Specified by:
getName
in interfaceModelRegistry.ModelVersionOrBuilder
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Unique name of the model
optional string name = 1;
- Specified by:
getNameBytes
in interfaceModelRegistry.ModelVersionOrBuilder
-
hasVersion
public boolean hasVersion()Model's version number.
optional string version = 2;
- Specified by:
hasVersion
in interfaceModelRegistry.ModelVersionOrBuilder
-
getVersion
public java.lang.String getVersion()Model's version number.
optional string version = 2;
- Specified by:
getVersion
in interfaceModelRegistry.ModelVersionOrBuilder
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()Model's version number.
optional string version = 2;
- Specified by:
getVersionBytes
in interfaceModelRegistry.ModelVersionOrBuilder
-
hasCreationTimestamp
public boolean hasCreationTimestamp()Timestamp recorded when this ``model_version`` was created.
optional int64 creation_timestamp = 3;
- Specified by:
hasCreationTimestamp
in interfaceModelRegistry.ModelVersionOrBuilder
-
getCreationTimestamp
public long getCreationTimestamp()Timestamp recorded when this ``model_version`` was created.
optional int64 creation_timestamp = 3;
- Specified by:
getCreationTimestamp
in interfaceModelRegistry.ModelVersionOrBuilder
-
hasLastUpdatedTimestamp
public boolean hasLastUpdatedTimestamp()Timestamp recorded when metadata for this ``model_version`` was last updated.
optional int64 last_updated_timestamp = 4;
- Specified by:
hasLastUpdatedTimestamp
in interfaceModelRegistry.ModelVersionOrBuilder
-
getLastUpdatedTimestamp
public long getLastUpdatedTimestamp()Timestamp recorded when metadata for this ``model_version`` was last updated.
optional int64 last_updated_timestamp = 4;
- Specified by:
getLastUpdatedTimestamp
in interfaceModelRegistry.ModelVersionOrBuilder
-
hasUserId
public boolean hasUserId()User that created this ``model_version``.
optional string user_id = 5;
- Specified by:
hasUserId
in interfaceModelRegistry.ModelVersionOrBuilder
-
getUserId
public java.lang.String getUserId()User that created this ``model_version``.
optional string user_id = 5;
- Specified by:
getUserId
in interfaceModelRegistry.ModelVersionOrBuilder
-
getUserIdBytes
public com.google.protobuf.ByteString getUserIdBytes()User that created this ``model_version``.
optional string user_id = 5;
- Specified by:
getUserIdBytes
in interfaceModelRegistry.ModelVersionOrBuilder
-
hasCurrentStage
public boolean hasCurrentStage()Current stage for this ``model_version``.
optional string current_stage = 6;
- Specified by:
hasCurrentStage
in interfaceModelRegistry.ModelVersionOrBuilder
-
getCurrentStage
public java.lang.String getCurrentStage()Current stage for this ``model_version``.
optional string current_stage = 6;
- Specified by:
getCurrentStage
in interfaceModelRegistry.ModelVersionOrBuilder
-
getCurrentStageBytes
public com.google.protobuf.ByteString getCurrentStageBytes()Current stage for this ``model_version``.
optional string current_stage = 6;
- Specified by:
getCurrentStageBytes
in interfaceModelRegistry.ModelVersionOrBuilder
-
hasDescription
public boolean hasDescription()Description of this ``model_version``.
optional string description = 7;
- Specified by:
hasDescription
in interfaceModelRegistry.ModelVersionOrBuilder
-
getDescription
public java.lang.String getDescription()Description of this ``model_version``.
optional string description = 7;
- Specified by:
getDescription
in interfaceModelRegistry.ModelVersionOrBuilder
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Description of this ``model_version``.
optional string description = 7;
- Specified by:
getDescriptionBytes
in interfaceModelRegistry.ModelVersionOrBuilder
-
hasSource
public boolean hasSource()URI indicating the location of the source model artifacts, used when creating ``model_version``
optional string source = 8;
- Specified by:
hasSource
in interfaceModelRegistry.ModelVersionOrBuilder
-
getSource
public java.lang.String getSource()URI indicating the location of the source model artifacts, used when creating ``model_version``
optional string source = 8;
- Specified by:
getSource
in interfaceModelRegistry.ModelVersionOrBuilder
-
getSourceBytes
public com.google.protobuf.ByteString getSourceBytes()URI indicating the location of the source model artifacts, used when creating ``model_version``
optional string source = 8;
- Specified by:
getSourceBytes
in interfaceModelRegistry.ModelVersionOrBuilder
-
hasRunId
public boolean hasRunId()MLflow run ID used when creating ``model_version``, if ``source`` was generated by an experiment run stored in MLflow tracking server.
optional string run_id = 9;
- Specified by:
hasRunId
in interfaceModelRegistry.ModelVersionOrBuilder
-
getRunId
public java.lang.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 interfaceModelRegistry.ModelVersionOrBuilder
-
getRunIdBytes
public com.google.protobuf.ByteString getRunIdBytes()MLflow run ID used when creating ``model_version``, if ``source`` was generated by an experiment run stored in MLflow tracking server.
optional string run_id = 9;
- Specified by:
getRunIdBytes
in interfaceModelRegistry.ModelVersionOrBuilder
-
hasStatus
public boolean hasStatus()Current status of ``model_version``
optional .mlflow.ModelVersionStatus status = 10;
- Specified by:
hasStatus
in interfaceModelRegistry.ModelVersionOrBuilder
-
getStatus
Current status of ``model_version``
optional .mlflow.ModelVersionStatus status = 10;
- Specified by:
getStatus
in interfaceModelRegistry.ModelVersionOrBuilder
-
hasStatusMessage
public boolean hasStatusMessage()Details on current ``status``, if it is pending or failed.
optional string status_message = 11;
- Specified by:
hasStatusMessage
in interfaceModelRegistry.ModelVersionOrBuilder
-
getStatusMessage
public java.lang.String getStatusMessage()Details on current ``status``, if it is pending or failed.
optional string status_message = 11;
- Specified by:
getStatusMessage
in interfaceModelRegistry.ModelVersionOrBuilder
-
getStatusMessageBytes
public com.google.protobuf.ByteString getStatusMessageBytes()Details on current ``status``, if it is pending or failed.
optional string status_message = 11;
- Specified by:
getStatusMessageBytes
in interfaceModelRegistry.ModelVersionOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ModelRegistry.ModelVersion parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModelRegistry.ModelVersion parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModelRegistry.ModelVersion parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModelRegistry.ModelVersion parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModelRegistry.ModelVersion parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModelRegistry.ModelVersion parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModelRegistry.ModelVersion parseFrom(java.io.InputStream input) throws java.io.IOException- Throws:
java.io.IOException
-
parseFrom
public static ModelRegistry.ModelVersion parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException- Throws:
java.io.IOException
-
parseDelimitedFrom
public static ModelRegistry.ModelVersion parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException- Throws:
java.io.IOException
-
parseDelimitedFrom
public static ModelRegistry.ModelVersion parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException- Throws:
java.io.IOException
-
parseFrom
public static ModelRegistry.ModelVersion parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException- Throws:
java.io.IOException
-
parseFrom
public static ModelRegistry.ModelVersion parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException- Throws:
java.io.IOException
-
newBuilderForType
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ModelRegistry.ModelVersion.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-