Class Service.LoggedModelInfo

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.io.Serializable, Service.LoggedModelInfoOrBuilder
    Enclosing class:
    Service

    public static final class Service.LoggedModelInfo
    extends com.google.protobuf.GeneratedMessageV3
    implements Service.LoggedModelInfoOrBuilder
     A LoggedModelInfo includes logged model attributes,
     tags, and registration info.
     
    Protobuf type mlflow.LoggedModelInfo
    See Also:
    Serialized Form
    • Method Detail

      • newInstance

        protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class com.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 class com.google.protobuf.GeneratedMessageV3
      • hasModelId

        public boolean hasModelId()
         A unique identifier for the model.
         
        optional string model_id = 1;
        Specified by:
        hasModelId in interface Service.LoggedModelInfoOrBuilder
        Returns:
        Whether the modelId field is set.
      • getModelId

        public java.lang.String getModelId()
         A unique identifier for the model.
         
        optional string model_id = 1;
        Specified by:
        getModelId in interface Service.LoggedModelInfoOrBuilder
        Returns:
        The modelId.
      • getModelIdBytes

        public com.google.protobuf.ByteString getModelIdBytes()
         A unique identifier for the model.
         
        optional string model_id = 1;
        Specified by:
        getModelIdBytes in interface Service.LoggedModelInfoOrBuilder
        Returns:
        The bytes for modelId.
      • hasExperimentId

        public boolean hasExperimentId()
         The ID of the experiment that owns the model.
         
        optional string experiment_id = 2;
        Specified by:
        hasExperimentId in interface Service.LoggedModelInfoOrBuilder
        Returns:
        Whether the experimentId field is set.
      • getExperimentId

        public java.lang.String getExperimentId()
         The ID of the experiment that owns the model.
         
        optional string experiment_id = 2;
        Specified by:
        getExperimentId in interface Service.LoggedModelInfoOrBuilder
        Returns:
        The experimentId.
      • getExperimentIdBytes

        public com.google.protobuf.ByteString getExperimentIdBytes()
         The ID of the experiment that owns the model.
         
        optional string experiment_id = 2;
        Specified by:
        getExperimentIdBytes in interface Service.LoggedModelInfoOrBuilder
        Returns:
        The bytes for experimentId.
      • hasCreationTimestampMs

        public boolean hasCreationTimestampMs()
         Timestamp when the model was created, in milliseconds since the UNIX epoch.
         
        optional int64 creation_timestamp_ms = 4;
        Specified by:
        hasCreationTimestampMs in interface Service.LoggedModelInfoOrBuilder
        Returns:
        Whether the creationTimestampMs field is set.
      • getCreationTimestampMs

        public long getCreationTimestampMs()
         Timestamp when the model was created, in milliseconds since the UNIX epoch.
         
        optional int64 creation_timestamp_ms = 4;
        Specified by:
        getCreationTimestampMs in interface Service.LoggedModelInfoOrBuilder
        Returns:
        The creationTimestampMs.
      • hasLastUpdatedTimestampMs

        public boolean hasLastUpdatedTimestampMs()
         Timestamp when the model was last updated, in milliseconds since the UNIX epoch
         
        optional int64 last_updated_timestamp_ms = 5;
        Specified by:
        hasLastUpdatedTimestampMs in interface Service.LoggedModelInfoOrBuilder
        Returns:
        Whether the lastUpdatedTimestampMs field is set.
      • getLastUpdatedTimestampMs

        public long getLastUpdatedTimestampMs()
         Timestamp when the model was last updated, in milliseconds since the UNIX epoch
         
        optional int64 last_updated_timestamp_ms = 5;
        Specified by:
        getLastUpdatedTimestampMs in interface Service.LoggedModelInfoOrBuilder
        Returns:
        The lastUpdatedTimestampMs.
      • hasArtifactUri

        public boolean hasArtifactUri()
         URI of the directory where model artifacts are stored.
         
        optional string artifact_uri = 6;
        Specified by:
        hasArtifactUri in interface Service.LoggedModelInfoOrBuilder
        Returns:
        Whether the artifactUri field is set.
      • getArtifactUri

        public java.lang.String getArtifactUri()
         URI of the directory where model artifacts are stored.
         
        optional string artifact_uri = 6;
        Specified by:
        getArtifactUri in interface Service.LoggedModelInfoOrBuilder
        Returns:
        The artifactUri.
      • getArtifactUriBytes

        public com.google.protobuf.ByteString getArtifactUriBytes()
         URI of the directory where model artifacts are stored.
         
        optional string artifact_uri = 6;
        Specified by:
        getArtifactUriBytes in interface Service.LoggedModelInfoOrBuilder
        Returns:
        The bytes for artifactUri.
      • hasStatus

        public boolean hasStatus()
         Whether or not the model is ready for use.
         
        optional .mlflow.LoggedModelStatus status = 7;
        Specified by:
        hasStatus in interface Service.LoggedModelInfoOrBuilder
        Returns:
        Whether the status field is set.
      • hasCreatorId

        public boolean hasCreatorId()
         The ID of the user or principal that created the model.
         
        optional int64 creator_id = 8;
        Specified by:
        hasCreatorId in interface Service.LoggedModelInfoOrBuilder
        Returns:
        Whether the creatorId field is set.
      • getCreatorId

        public long getCreatorId()
         The ID of the user or principal that created the model.
         
        optional int64 creator_id = 8;
        Specified by:
        getCreatorId in interface Service.LoggedModelInfoOrBuilder
        Returns:
        The creatorId.
      • hasModelType

        public boolean hasModelType()
         The type of model, such as "Agent", "Classifier", "LLM".
         
        optional string model_type = 9;
        Specified by:
        hasModelType in interface Service.LoggedModelInfoOrBuilder
        Returns:
        Whether the modelType field is set.
      • getModelType

        public java.lang.String getModelType()
         The type of model, such as "Agent", "Classifier", "LLM".
         
        optional string model_type = 9;
        Specified by:
        getModelType in interface Service.LoggedModelInfoOrBuilder
        Returns:
        The modelType.
      • getModelTypeBytes

        public com.google.protobuf.ByteString getModelTypeBytes()
         The type of model, such as "Agent", "Classifier", "LLM".
         
        optional string model_type = 9;
        Specified by:
        getModelTypeBytes in interface Service.LoggedModelInfoOrBuilder
        Returns:
        The bytes for modelType.
      • hasSourceRunId

        public boolean hasSourceRunId()
         Run ID of the run that created the model.
         
        optional string source_run_id = 10;
        Specified by:
        hasSourceRunId in interface Service.LoggedModelInfoOrBuilder
        Returns:
        Whether the sourceRunId field is set.
      • getSourceRunId

        public java.lang.String getSourceRunId()
         Run ID of the run that created the model.
         
        optional string source_run_id = 10;
        Specified by:
        getSourceRunId in interface Service.LoggedModelInfoOrBuilder
        Returns:
        The sourceRunId.
      • getSourceRunIdBytes

        public com.google.protobuf.ByteString getSourceRunIdBytes()
         Run ID of the run that created the model.
         
        optional string source_run_id = 10;
        Specified by:
        getSourceRunIdBytes in interface Service.LoggedModelInfoOrBuilder
        Returns:
        The bytes for sourceRunId.
      • hasStatusMessage

        public boolean hasStatusMessage()
         Details on the current status.
         
        optional string status_message = 11;
        Specified by:
        hasStatusMessage in interface Service.LoggedModelInfoOrBuilder
        Returns:
        Whether the statusMessage field is set.
      • getStatusMessageBytes

        public com.google.protobuf.ByteString getStatusMessageBytes()
         Details on the current status.
         
        optional string status_message = 11;
        Specified by:
        getStatusMessageBytes in interface Service.LoggedModelInfoOrBuilder
        Returns:
        The bytes for statusMessage.
      • getRegistrationsCount

        public int getRegistrationsCount()
         If the model has been promoted to the Model Registry, this field includes
         information like the Registered Model name, Model Version number, etc.
         
        repeated .mlflow.LoggedModelRegistrationInfo registrations = 13;
        Specified by:
        getRegistrationsCount in interface Service.LoggedModelInfoOrBuilder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static Service.LoggedModelInfo parseFrom​(java.nio.ByteBuffer data)
                                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Service.LoggedModelInfo parseFrom​(java.nio.ByteBuffer data,
                                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Service.LoggedModelInfo parseFrom​(com.google.protobuf.ByteString data)
                                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Service.LoggedModelInfo parseFrom​(com.google.protobuf.ByteString data,
                                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Service.LoggedModelInfo parseFrom​(byte[] data)
                                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Service.LoggedModelInfo parseFrom​(byte[] data,
                                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Service.LoggedModelInfo parseFrom​(java.io.InputStream input)
                                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Service.LoggedModelInfo parseFrom​(java.io.InputStream input,
                                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static Service.LoggedModelInfo parseDelimitedFrom​(java.io.InputStream input)
                                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static Service.LoggedModelInfo parseDelimitedFrom​(java.io.InputStream input,
                                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Service.LoggedModelInfo parseFrom​(com.google.protobuf.CodedInputStream input)
                                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Service.LoggedModelInfo parseFrom​(com.google.protobuf.CodedInputStream input,
                                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • newBuilderForType

        public Service.LoggedModelInfo.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public Service.LoggedModelInfo.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected Service.LoggedModelInfo.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<Service.LoggedModelInfo> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public Service.LoggedModelInfo getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder