Class Service.LoggedModelInfo

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.mlflow.api.proto.Service.LoggedModelInfo
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, 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:
  • Field Details

    • MODEL_ID_FIELD_NUMBER

      public static final int MODEL_ID_FIELD_NUMBER
      See Also:
    • EXPERIMENT_ID_FIELD_NUMBER

      public static final int EXPERIMENT_ID_FIELD_NUMBER
      See Also:
    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • CREATION_TIMESTAMP_MS_FIELD_NUMBER

      public static final int CREATION_TIMESTAMP_MS_FIELD_NUMBER
      See Also:
    • LAST_UPDATED_TIMESTAMP_MS_FIELD_NUMBER

      public static final int LAST_UPDATED_TIMESTAMP_MS_FIELD_NUMBER
      See Also:
    • ARTIFACT_URI_FIELD_NUMBER

      public static final int ARTIFACT_URI_FIELD_NUMBER
      See Also:
    • STATUS_FIELD_NUMBER

      public static final int STATUS_FIELD_NUMBER
      See Also:
    • CREATOR_ID_FIELD_NUMBER

      public static final int CREATOR_ID_FIELD_NUMBER
      See Also:
    • MODEL_TYPE_FIELD_NUMBER

      public static final int MODEL_TYPE_FIELD_NUMBER
      See Also:
    • SOURCE_RUN_ID_FIELD_NUMBER

      public static final int SOURCE_RUN_ID_FIELD_NUMBER
      See Also:
    • STATUS_MESSAGE_FIELD_NUMBER

      public static final int STATUS_MESSAGE_FIELD_NUMBER
      See Also:
    • TAGS_FIELD_NUMBER

      public static final int TAGS_FIELD_NUMBER
      See Also:
    • REGISTRATIONS_FIELD_NUMBER

      public static final int REGISTRATIONS_FIELD_NUMBER
      See Also:
    • PARSER

      @Deprecated public static final com.google.protobuf.Parser<Service.LoggedModelInfo> PARSER
      Deprecated.
  • Method Details

    • newInstance

      protected 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 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 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.
    • hasName

      public boolean hasName()
       Name of the model.
       
      optional string name = 3;
      Specified by:
      hasName in interface Service.LoggedModelInfoOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       Name of the model.
       
      optional string name = 3;
      Specified by:
      getName in interface Service.LoggedModelInfoOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Name of the model.
       
      optional string name = 3;
      Specified by:
      getNameBytes in interface Service.LoggedModelInfoOrBuilder
      Returns:
      The bytes for name.
    • 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 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.
    • getStatus

      public Service.LoggedModelStatus getStatus()
       Whether or not the model is ready for use.
       
      optional .mlflow.LoggedModelStatus status = 7;
      Specified by:
      getStatus in interface Service.LoggedModelInfoOrBuilder
      Returns:
      The status.
    • 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 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 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.
    • getStatusMessage

      public String getStatusMessage()
       Details on the current status.
       
      optional string status_message = 11;
      Specified by:
      getStatusMessage in interface Service.LoggedModelInfoOrBuilder
      Returns:
      The statusMessage.
    • 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.
    • getTagsList

      public List<Service.LoggedModelTag> getTagsList()
       Mutable String key-value pairs set on the model.
       
      repeated .mlflow.LoggedModelTag tags = 12;
      Specified by:
      getTagsList in interface Service.LoggedModelInfoOrBuilder
    • getTagsOrBuilderList

      public List<? extends Service.LoggedModelTagOrBuilder> getTagsOrBuilderList()
       Mutable String key-value pairs set on the model.
       
      repeated .mlflow.LoggedModelTag tags = 12;
      Specified by:
      getTagsOrBuilderList in interface Service.LoggedModelInfoOrBuilder
    • getTagsCount

      public int getTagsCount()
       Mutable String key-value pairs set on the model.
       
      repeated .mlflow.LoggedModelTag tags = 12;
      Specified by:
      getTagsCount in interface Service.LoggedModelInfoOrBuilder
    • getTags

      public Service.LoggedModelTag getTags(int index)
       Mutable String key-value pairs set on the model.
       
      repeated .mlflow.LoggedModelTag tags = 12;
      Specified by:
      getTags in interface Service.LoggedModelInfoOrBuilder
    • getTagsOrBuilder

      public Service.LoggedModelTagOrBuilder getTagsOrBuilder(int index)
       Mutable String key-value pairs set on the model.
       
      repeated .mlflow.LoggedModelTag tags = 12;
      Specified by:
      getTagsOrBuilder in interface Service.LoggedModelInfoOrBuilder
    • getRegistrationsList

      public List<Service.LoggedModelRegistrationInfo> getRegistrationsList()
       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:
      getRegistrationsList in interface Service.LoggedModelInfoOrBuilder
    • getRegistrationsOrBuilderList

      public List<? extends Service.LoggedModelRegistrationInfoOrBuilder> getRegistrationsOrBuilderList()
       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:
      getRegistrationsOrBuilderList in interface Service.LoggedModelInfoOrBuilder
    • 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
    • getRegistrations

      public Service.LoggedModelRegistrationInfo getRegistrations(int index)
       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:
      getRegistrations in interface Service.LoggedModelInfoOrBuilder
    • getRegistrationsOrBuilder

      public Service.LoggedModelRegistrationInfoOrBuilder getRegistrationsOrBuilder(int index)
       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:
      getRegistrationsOrBuilder 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 IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      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(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(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Service.LoggedModelInfo parseFrom(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(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

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

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

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

      public static Service.LoggedModelInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      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
    • newBuilder

      public static Service.LoggedModelInfo.Builder newBuilder()
    • newBuilder

      public static Service.LoggedModelInfo.Builder newBuilder(Service.LoggedModelInfo prototype)
    • 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
    • getDefaultInstance

      public static Service.LoggedModelInfo getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Service.LoggedModelInfo> parser()
    • 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