Class Service.RunInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Service.RunInfo.Builder>
org.mlflow.api.proto.Service.RunInfo.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, Service.RunInfoOrBuilder
Enclosing class:
Service.RunInfo

public static final class Service.RunInfo.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Service.RunInfo.Builder>
implements Service.RunInfoOrBuilder
 Metadata of a single run.
 
Protobuf type mlflow.RunInfo
  • Method Details

    • 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.Builder<Service.RunInfo.Builder>
    • clear

      public Service.RunInfo.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<Service.RunInfo.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Service.RunInfo.Builder>
    • getDefaultInstanceForType

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

      public Service.RunInfo build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Service.RunInfo buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public Service.RunInfo.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<Service.RunInfo.Builder>
    • setField

      public Service.RunInfo.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.RunInfo.Builder>
    • clearField

      public Service.RunInfo.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.RunInfo.Builder>
    • clearOneof

      public Service.RunInfo.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Service.RunInfo.Builder>
    • setRepeatedField

      public Service.RunInfo.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.RunInfo.Builder>
    • addRepeatedField

      public Service.RunInfo.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.RunInfo.Builder>
    • mergeFrom

      public Service.RunInfo.Builder mergeFrom​(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Service.RunInfo.Builder>
    • mergeFrom

      public Service.RunInfo.Builder mergeFrom​(Service.RunInfo other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Service.RunInfo.Builder>
    • mergeFrom

      public Service.RunInfo.Builder mergeFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Service.RunInfo.Builder>
      Throws:
      java.io.IOException
    • hasRunId

      public boolean hasRunId()
       Unique identifier for the run.
       
      optional string run_id = 15;
      Specified by:
      hasRunId in interface Service.RunInfoOrBuilder
    • getRunId

      public java.lang.String getRunId()
       Unique identifier for the run.
       
      optional string run_id = 15;
      Specified by:
      getRunId in interface Service.RunInfoOrBuilder
    • getRunIdBytes

      public com.google.protobuf.ByteString getRunIdBytes()
       Unique identifier for the run.
       
      optional string run_id = 15;
      Specified by:
      getRunIdBytes in interface Service.RunInfoOrBuilder
    • setRunId

      public Service.RunInfo.Builder setRunId​(java.lang.String value)
       Unique identifier for the run.
       
      optional string run_id = 15;
    • clearRunId

      public Service.RunInfo.Builder clearRunId()
       Unique identifier for the run.
       
      optional string run_id = 15;
    • setRunIdBytes

      public Service.RunInfo.Builder setRunIdBytes​(com.google.protobuf.ByteString value)
       Unique identifier for the run.
       
      optional string run_id = 15;
    • hasRunUuid

      public boolean hasRunUuid()
       [Deprecated, use run_id instead] Unique identifier for the run. This field will
       be removed in a future MLflow version.
       
      optional string run_uuid = 1;
      Specified by:
      hasRunUuid in interface Service.RunInfoOrBuilder
    • getRunUuid

      public java.lang.String getRunUuid()
       [Deprecated, use run_id instead] Unique identifier for the run. This field will
       be removed in a future MLflow version.
       
      optional string run_uuid = 1;
      Specified by:
      getRunUuid in interface Service.RunInfoOrBuilder
    • getRunUuidBytes

      public com.google.protobuf.ByteString getRunUuidBytes()
       [Deprecated, use run_id instead] Unique identifier for the run. This field will
       be removed in a future MLflow version.
       
      optional string run_uuid = 1;
      Specified by:
      getRunUuidBytes in interface Service.RunInfoOrBuilder
    • setRunUuid

      public Service.RunInfo.Builder setRunUuid​(java.lang.String value)
       [Deprecated, use run_id instead] Unique identifier for the run. This field will
       be removed in a future MLflow version.
       
      optional string run_uuid = 1;
    • clearRunUuid

      public Service.RunInfo.Builder clearRunUuid()
       [Deprecated, use run_id instead] Unique identifier for the run. This field will
       be removed in a future MLflow version.
       
      optional string run_uuid = 1;
    • setRunUuidBytes

      public Service.RunInfo.Builder setRunUuidBytes​(com.google.protobuf.ByteString value)
       [Deprecated, use run_id instead] Unique identifier for the run. This field will
       be removed in a future MLflow version.
       
      optional string run_uuid = 1;
    • hasExperimentId

      public boolean hasExperimentId()
       The experiment ID.
       
      optional string experiment_id = 2;
      Specified by:
      hasExperimentId in interface Service.RunInfoOrBuilder
    • getExperimentId

      public java.lang.String getExperimentId()
       The experiment ID.
       
      optional string experiment_id = 2;
      Specified by:
      getExperimentId in interface Service.RunInfoOrBuilder
    • getExperimentIdBytes

      public com.google.protobuf.ByteString getExperimentIdBytes()
       The experiment ID.
       
      optional string experiment_id = 2;
      Specified by:
      getExperimentIdBytes in interface Service.RunInfoOrBuilder
    • setExperimentId

      public Service.RunInfo.Builder setExperimentId​(java.lang.String value)
       The experiment ID.
       
      optional string experiment_id = 2;
    • clearExperimentId

      public Service.RunInfo.Builder clearExperimentId()
       The experiment ID.
       
      optional string experiment_id = 2;
    • setExperimentIdBytes

      public Service.RunInfo.Builder setExperimentIdBytes​(com.google.protobuf.ByteString value)
       The experiment ID.
       
      optional string experiment_id = 2;
    • hasUserId

      public boolean hasUserId()
       User who initiated the run.
       This field is deprecated as of MLflow 1.0, and will be removed in a future
       MLflow release. Use 'mlflow.user' tag instead.
       
      optional string user_id = 6;
      Specified by:
      hasUserId in interface Service.RunInfoOrBuilder
    • getUserId

      public java.lang.String getUserId()
       User who initiated the run.
       This field is deprecated as of MLflow 1.0, and will be removed in a future
       MLflow release. Use 'mlflow.user' tag instead.
       
      optional string user_id = 6;
      Specified by:
      getUserId in interface Service.RunInfoOrBuilder
    • getUserIdBytes

      public com.google.protobuf.ByteString getUserIdBytes()
       User who initiated the run.
       This field is deprecated as of MLflow 1.0, and will be removed in a future
       MLflow release. Use 'mlflow.user' tag instead.
       
      optional string user_id = 6;
      Specified by:
      getUserIdBytes in interface Service.RunInfoOrBuilder
    • setUserId

      public Service.RunInfo.Builder setUserId​(java.lang.String value)
       User who initiated the run.
       This field is deprecated as of MLflow 1.0, and will be removed in a future
       MLflow release. Use 'mlflow.user' tag instead.
       
      optional string user_id = 6;
    • clearUserId

      public Service.RunInfo.Builder clearUserId()
       User who initiated the run.
       This field is deprecated as of MLflow 1.0, and will be removed in a future
       MLflow release. Use 'mlflow.user' tag instead.
       
      optional string user_id = 6;
    • setUserIdBytes

      public Service.RunInfo.Builder setUserIdBytes​(com.google.protobuf.ByteString value)
       User who initiated the run.
       This field is deprecated as of MLflow 1.0, and will be removed in a future
       MLflow release. Use 'mlflow.user' tag instead.
       
      optional string user_id = 6;
    • hasStatus

      public boolean hasStatus()
       Current status of the run.
       
      optional .mlflow.RunStatus status = 7;
      Specified by:
      hasStatus in interface Service.RunInfoOrBuilder
    • getStatus

      public Service.RunStatus getStatus()
       Current status of the run.
       
      optional .mlflow.RunStatus status = 7;
      Specified by:
      getStatus in interface Service.RunInfoOrBuilder
    • setStatus

      public Service.RunInfo.Builder setStatus​(Service.RunStatus value)
       Current status of the run.
       
      optional .mlflow.RunStatus status = 7;
    • clearStatus

      public Service.RunInfo.Builder clearStatus()
       Current status of the run.
       
      optional .mlflow.RunStatus status = 7;
    • hasStartTime

      public boolean hasStartTime()
       Unix timestamp of when the run started in milliseconds.
       
      optional int64 start_time = 8;
      Specified by:
      hasStartTime in interface Service.RunInfoOrBuilder
    • getStartTime

      public long getStartTime()
       Unix timestamp of when the run started in milliseconds.
       
      optional int64 start_time = 8;
      Specified by:
      getStartTime in interface Service.RunInfoOrBuilder
    • setStartTime

      public Service.RunInfo.Builder setStartTime​(long value)
       Unix timestamp of when the run started in milliseconds.
       
      optional int64 start_time = 8;
    • clearStartTime

      public Service.RunInfo.Builder clearStartTime()
       Unix timestamp of when the run started in milliseconds.
       
      optional int64 start_time = 8;
    • hasEndTime

      public boolean hasEndTime()
       Unix timestamp of when the run ended in milliseconds.
       
      optional int64 end_time = 9;
      Specified by:
      hasEndTime in interface Service.RunInfoOrBuilder
    • getEndTime

      public long getEndTime()
       Unix timestamp of when the run ended in milliseconds.
       
      optional int64 end_time = 9;
      Specified by:
      getEndTime in interface Service.RunInfoOrBuilder
    • setEndTime

      public Service.RunInfo.Builder setEndTime​(long value)
       Unix timestamp of when the run ended in milliseconds.
       
      optional int64 end_time = 9;
    • clearEndTime

      public Service.RunInfo.Builder clearEndTime()
       Unix timestamp of when the run ended in milliseconds.
       
      optional int64 end_time = 9;
    • hasArtifactUri

      public boolean hasArtifactUri()
       URI of the directory where artifacts should be uploaded.
       This can be a local path (starting with "/"), or a distributed file system (DFS)
       path, like ``s3://bucket/directory`` or ``dbfs:/my/directory``.
       If not set, the local ``./mlruns`` directory is  chosen.
       
      optional string artifact_uri = 13;
      Specified by:
      hasArtifactUri in interface Service.RunInfoOrBuilder
    • getArtifactUri

      public java.lang.String getArtifactUri()
       URI of the directory where artifacts should be uploaded.
       This can be a local path (starting with "/"), or a distributed file system (DFS)
       path, like ``s3://bucket/directory`` or ``dbfs:/my/directory``.
       If not set, the local ``./mlruns`` directory is  chosen.
       
      optional string artifact_uri = 13;
      Specified by:
      getArtifactUri in interface Service.RunInfoOrBuilder
    • getArtifactUriBytes

      public com.google.protobuf.ByteString getArtifactUriBytes()
       URI of the directory where artifacts should be uploaded.
       This can be a local path (starting with "/"), or a distributed file system (DFS)
       path, like ``s3://bucket/directory`` or ``dbfs:/my/directory``.
       If not set, the local ``./mlruns`` directory is  chosen.
       
      optional string artifact_uri = 13;
      Specified by:
      getArtifactUriBytes in interface Service.RunInfoOrBuilder
    • setArtifactUri

      public Service.RunInfo.Builder setArtifactUri​(java.lang.String value)
       URI of the directory where artifacts should be uploaded.
       This can be a local path (starting with "/"), or a distributed file system (DFS)
       path, like ``s3://bucket/directory`` or ``dbfs:/my/directory``.
       If not set, the local ``./mlruns`` directory is  chosen.
       
      optional string artifact_uri = 13;
    • clearArtifactUri

      public Service.RunInfo.Builder clearArtifactUri()
       URI of the directory where artifacts should be uploaded.
       This can be a local path (starting with "/"), or a distributed file system (DFS)
       path, like ``s3://bucket/directory`` or ``dbfs:/my/directory``.
       If not set, the local ``./mlruns`` directory is  chosen.
       
      optional string artifact_uri = 13;
    • setArtifactUriBytes

      public Service.RunInfo.Builder setArtifactUriBytes​(com.google.protobuf.ByteString value)
       URI of the directory where artifacts should be uploaded.
       This can be a local path (starting with "/"), or a distributed file system (DFS)
       path, like ``s3://bucket/directory`` or ``dbfs:/my/directory``.
       If not set, the local ``./mlruns`` directory is  chosen.
       
      optional string artifact_uri = 13;
    • hasLifecycleStage

      public boolean hasLifecycleStage()
       Current life cycle stage of the experiment : OneOf("active", "deleted")
       
      optional string lifecycle_stage = 14;
      Specified by:
      hasLifecycleStage in interface Service.RunInfoOrBuilder
    • getLifecycleStage

      public java.lang.String getLifecycleStage()
       Current life cycle stage of the experiment : OneOf("active", "deleted")
       
      optional string lifecycle_stage = 14;
      Specified by:
      getLifecycleStage in interface Service.RunInfoOrBuilder
    • getLifecycleStageBytes

      public com.google.protobuf.ByteString getLifecycleStageBytes()
       Current life cycle stage of the experiment : OneOf("active", "deleted")
       
      optional string lifecycle_stage = 14;
      Specified by:
      getLifecycleStageBytes in interface Service.RunInfoOrBuilder
    • setLifecycleStage

      public Service.RunInfo.Builder setLifecycleStage​(java.lang.String value)
       Current life cycle stage of the experiment : OneOf("active", "deleted")
       
      optional string lifecycle_stage = 14;
    • clearLifecycleStage

      public Service.RunInfo.Builder clearLifecycleStage()
       Current life cycle stage of the experiment : OneOf("active", "deleted")
       
      optional string lifecycle_stage = 14;
    • setLifecycleStageBytes

      public Service.RunInfo.Builder setLifecycleStageBytes​(com.google.protobuf.ByteString value)
       Current life cycle stage of the experiment : OneOf("active", "deleted")
       
      optional string lifecycle_stage = 14;
    • setUnknownFields

      public final Service.RunInfo.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Service.RunInfo.Builder>
    • mergeUnknownFields

      public final Service.RunInfo.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Service.RunInfo.Builder>