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 classModelRegistry.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 intCREATION_TIMESTAMP_FIELD_NUMBERstatic intCURRENT_STAGE_FIELD_NUMBERstatic intDESCRIPTION_FIELD_NUMBERstatic intLAST_UPDATED_TIMESTAMP_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic com.google.protobuf.Parser<ModelRegistry.ModelVersion>PARSERDeprecated.static intRUN_ID_FIELD_NUMBERstatic intSOURCE_FIELD_NUMBERstatic intSTATUS_FIELD_NUMBERstatic intSTATUS_MESSAGE_FIELD_NUMBERstatic intUSER_ID_FIELD_NUMBERstatic intVERSION_FIELD_NUMBER -
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object obj)longgetCreationTimestamp()Timestamp recorded when this ``model_version`` was created.java.lang.StringgetCurrentStage()Current stage for this ``model_version``.com.google.protobuf.ByteStringgetCurrentStageBytes()Current stage for this ``model_version``.static ModelRegistry.ModelVersiongetDefaultInstance()ModelRegistry.ModelVersiongetDefaultInstanceForType()java.lang.StringgetDescription()Description of this ``model_version``.com.google.protobuf.ByteStringgetDescriptionBytes()Description of this ``model_version``.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()longgetLastUpdatedTimestamp()Timestamp recorded when metadata for this ``model_version`` was last updated.java.lang.StringgetName()Unique name of the modelcom.google.protobuf.ByteStringgetNameBytes()Unique name of the modelcom.google.protobuf.Parser<ModelRegistry.ModelVersion>getParserForType()java.lang.StringgetRunId()MLflow run ID used when creating ``model_version``, if ``source`` was generated by an experiment run stored in MLflow tracking server.com.google.protobuf.ByteStringgetRunIdBytes()MLflow run ID used when creating ``model_version``, if ``source`` was generated by an experiment run stored in MLflow tracking server.intgetSerializedSize()java.lang.StringgetSource()URI indicating the location of the source model artifacts, used when creating ``model_version``com.google.protobuf.ByteStringgetSourceBytes()URI indicating the location of the source model artifacts, used when creating ``model_version``ModelRegistry.ModelVersionStatusgetStatus()Current status of ``model_version``java.lang.StringgetStatusMessage()Details on current ``status``, if it is pending or failed.com.google.protobuf.ByteStringgetStatusMessageBytes()Details on current ``status``, if it is pending or failed.com.google.protobuf.UnknownFieldSetgetUnknownFields()java.lang.StringgetUserId()User that created this ``model_version``.com.google.protobuf.ByteStringgetUserIdBytes()User that created this ``model_version``.java.lang.StringgetVersion()Model's version number.com.google.protobuf.ByteStringgetVersionBytes()Model's version number.booleanhasCreationTimestamp()Timestamp recorded when this ``model_version`` was created.booleanhasCurrentStage()Current stage for this ``model_version``.booleanhasDescription()Description of this ``model_version``.inthashCode()booleanhasLastUpdatedTimestamp()Timestamp recorded when metadata for this ``model_version`` was last updated.booleanhasName()Unique name of the modelbooleanhasRunId()MLflow run ID used when creating ``model_version``, if ``source`` was generated by an experiment run stored in MLflow tracking server.booleanhasSource()URI indicating the location of the source model artifacts, used when creating ``model_version``booleanhasStatus()Current status of ``model_version``booleanhasStatusMessage()Details on current ``status``, if it is pending or failed.booleanhasUserId()User that created this ``model_version``.booleanhasVersion()Model's version number.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ModelRegistry.ModelVersion.BuildernewBuilder()static ModelRegistry.ModelVersion.BuildernewBuilder(ModelRegistry.ModelVersion prototype)ModelRegistry.ModelVersion.BuildernewBuilderForType()protected ModelRegistry.ModelVersion.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)static ModelRegistry.ModelVersionparseDelimitedFrom(java.io.InputStream input)static ModelRegistry.ModelVersionparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ModelRegistry.ModelVersionparseFrom(byte[] data)static ModelRegistry.ModelVersionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ModelRegistry.ModelVersionparseFrom(com.google.protobuf.ByteString data)static ModelRegistry.ModelVersionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ModelRegistry.ModelVersionparseFrom(com.google.protobuf.CodedInputStream input)static ModelRegistry.ModelVersionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ModelRegistry.ModelVersionparseFrom(java.io.InputStream input)static ModelRegistry.ModelVersionparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ModelRegistry.ModelVersionparseFrom(java.nio.ByteBuffer data)static ModelRegistry.ModelVersionparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ModelRegistry.ModelVersion>parser()ModelRegistry.ModelVersion.BuildertoBuilder()voidwriteTo(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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods 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:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasName
public boolean hasName()Unique name of the model
optional string name = 1;- Specified by:
hasNamein interfaceModelRegistry.ModelVersionOrBuilder
-
getName
public java.lang.String getName()Unique name of the model
optional string name = 1;- Specified by:
getNamein interfaceModelRegistry.ModelVersionOrBuilder
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Unique name of the model
optional string name = 1;- Specified by:
getNameBytesin interfaceModelRegistry.ModelVersionOrBuilder
-
hasVersion
public boolean hasVersion()Model's version number.
optional string version = 2;- Specified by:
hasVersionin interfaceModelRegistry.ModelVersionOrBuilder
-
getVersion
public java.lang.String getVersion()Model's version number.
optional string version = 2;- Specified by:
getVersionin interfaceModelRegistry.ModelVersionOrBuilder
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()Model's version number.
optional string version = 2;- Specified by:
getVersionBytesin interfaceModelRegistry.ModelVersionOrBuilder
-
hasCreationTimestamp
public boolean hasCreationTimestamp()Timestamp recorded when this ``model_version`` was created.
optional int64 creation_timestamp = 3;- Specified by:
hasCreationTimestampin interfaceModelRegistry.ModelVersionOrBuilder
-
getCreationTimestamp
public long getCreationTimestamp()Timestamp recorded when this ``model_version`` was created.
optional int64 creation_timestamp = 3;- Specified by:
getCreationTimestampin 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:
hasLastUpdatedTimestampin 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:
getLastUpdatedTimestampin interfaceModelRegistry.ModelVersionOrBuilder
-
hasUserId
public boolean hasUserId()User that created this ``model_version``.
optional string user_id = 5;- Specified by:
hasUserIdin interfaceModelRegistry.ModelVersionOrBuilder
-
getUserId
public java.lang.String getUserId()User that created this ``model_version``.
optional string user_id = 5;- Specified by:
getUserIdin interfaceModelRegistry.ModelVersionOrBuilder
-
getUserIdBytes
public com.google.protobuf.ByteString getUserIdBytes()User that created this ``model_version``.
optional string user_id = 5;- Specified by:
getUserIdBytesin interfaceModelRegistry.ModelVersionOrBuilder
-
hasCurrentStage
public boolean hasCurrentStage()Current stage for this ``model_version``.
optional string current_stage = 6;- Specified by:
hasCurrentStagein interfaceModelRegistry.ModelVersionOrBuilder
-
getCurrentStage
public java.lang.String getCurrentStage()Current stage for this ``model_version``.
optional string current_stage = 6;- Specified by:
getCurrentStagein interfaceModelRegistry.ModelVersionOrBuilder
-
getCurrentStageBytes
public com.google.protobuf.ByteString getCurrentStageBytes()Current stage for this ``model_version``.
optional string current_stage = 6;- Specified by:
getCurrentStageBytesin interfaceModelRegistry.ModelVersionOrBuilder
-
hasDescription
public boolean hasDescription()Description of this ``model_version``.
optional string description = 7;- Specified by:
hasDescriptionin interfaceModelRegistry.ModelVersionOrBuilder
-
getDescription
public java.lang.String getDescription()Description of this ``model_version``.
optional string description = 7;- Specified by:
getDescriptionin interfaceModelRegistry.ModelVersionOrBuilder
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Description of this ``model_version``.
optional string description = 7;- Specified by:
getDescriptionBytesin 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:
hasSourcein 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:
getSourcein 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:
getSourceBytesin 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:
hasRunIdin 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:
getRunIdin 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:
getRunIdBytesin interfaceModelRegistry.ModelVersionOrBuilder
-
hasStatus
public boolean hasStatus()Current status of ``model_version``
optional .mlflow.ModelVersionStatus status = 10;- Specified by:
hasStatusin interfaceModelRegistry.ModelVersionOrBuilder
-
getStatus
Current status of ``model_version``
optional .mlflow.ModelVersionStatus status = 10;- Specified by:
getStatusin interfaceModelRegistry.ModelVersionOrBuilder
-
hasStatusMessage
public boolean hasStatusMessage()Details on current ``status``, if it is pending or failed.
optional string status_message = 11;- Specified by:
hasStatusMessagein 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:
getStatusMessagein 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:
getStatusMessageBytesin interfaceModelRegistry.ModelVersionOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein 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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ModelRegistry.ModelVersion.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-