Package org.mlflow.api.proto
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 Summary
Modifier and Type Method Description Service.RunInfo.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Service.RunInfo
build()
Service.RunInfo
buildPartial()
Service.RunInfo.Builder
clear()
Service.RunInfo.Builder
clearArtifactUri()
URI of the directory where artifacts should be uploaded.Service.RunInfo.Builder
clearEndTime()
Unix timestamp of when the run ended in milliseconds.Service.RunInfo.Builder
clearExperimentId()
The experiment ID.Service.RunInfo.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Service.RunInfo.Builder
clearLifecycleStage()
Current life cycle stage of the experiment : OneOf("active", "deleted")Service.RunInfo.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Service.RunInfo.Builder
clearRunId()
Unique identifier for the run.Service.RunInfo.Builder
clearRunUuid()
[Deprecated, use run_id instead] Unique identifier for the run.Service.RunInfo.Builder
clearStartTime()
Unix timestamp of when the run started in milliseconds.Service.RunInfo.Builder
clearStatus()
Current status of the run.Service.RunInfo.Builder
clearUserId()
User who initiated the run.Service.RunInfo.Builder
clone()
java.lang.String
getArtifactUri()
URI of the directory where artifacts should be uploaded.com.google.protobuf.ByteString
getArtifactUriBytes()
URI of the directory where artifacts should be uploaded.Service.RunInfo
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
long
getEndTime()
Unix timestamp of when the run ended in milliseconds.java.lang.String
getExperimentId()
The experiment ID.com.google.protobuf.ByteString
getExperimentIdBytes()
The experiment ID.java.lang.String
getLifecycleStage()
Current life cycle stage of the experiment : OneOf("active", "deleted")com.google.protobuf.ByteString
getLifecycleStageBytes()
Current life cycle stage of the experiment : OneOf("active", "deleted")java.lang.String
getRunId()
Unique identifier for the run.com.google.protobuf.ByteString
getRunIdBytes()
Unique identifier for the run.java.lang.String
getRunUuid()
[Deprecated, use run_id instead] Unique identifier for the run.com.google.protobuf.ByteString
getRunUuidBytes()
[Deprecated, use run_id instead] Unique identifier for the run.long
getStartTime()
Unix timestamp of when the run started in milliseconds.Service.RunStatus
getStatus()
Current status of the run.java.lang.String
getUserId()
User who initiated the run.com.google.protobuf.ByteString
getUserIdBytes()
User who initiated the run.boolean
hasArtifactUri()
URI of the directory where artifacts should be uploaded.boolean
hasEndTime()
Unix timestamp of when the run ended in milliseconds.boolean
hasExperimentId()
The experiment ID.boolean
hasLifecycleStage()
Current life cycle stage of the experiment : OneOf("active", "deleted")boolean
hasRunId()
Unique identifier for the run.boolean
hasRunUuid()
[Deprecated, use run_id instead] Unique identifier for the run.boolean
hasStartTime()
Unix timestamp of when the run started in milliseconds.boolean
hasStatus()
Current status of the run.boolean
hasUserId()
User who initiated the run.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Service.RunInfo.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Service.RunInfo.Builder
mergeFrom(com.google.protobuf.Message other)
Service.RunInfo.Builder
mergeFrom(Service.RunInfo other)
Service.RunInfo.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Service.RunInfo.Builder
setArtifactUri(java.lang.String value)
URI of the directory where artifacts should be uploaded.Service.RunInfo.Builder
setArtifactUriBytes(com.google.protobuf.ByteString value)
URI of the directory where artifacts should be uploaded.Service.RunInfo.Builder
setEndTime(long value)
Unix timestamp of when the run ended in milliseconds.Service.RunInfo.Builder
setExperimentId(java.lang.String value)
The experiment ID.Service.RunInfo.Builder
setExperimentIdBytes(com.google.protobuf.ByteString value)
The experiment ID.Service.RunInfo.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Service.RunInfo.Builder
setLifecycleStage(java.lang.String value)
Current life cycle stage of the experiment : OneOf("active", "deleted")Service.RunInfo.Builder
setLifecycleStageBytes(com.google.protobuf.ByteString value)
Current life cycle stage of the experiment : OneOf("active", "deleted")Service.RunInfo.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Service.RunInfo.Builder
setRunId(java.lang.String value)
Unique identifier for the run.Service.RunInfo.Builder
setRunIdBytes(com.google.protobuf.ByteString value)
Unique identifier for the run.Service.RunInfo.Builder
setRunUuid(java.lang.String value)
[Deprecated, use run_id instead] Unique identifier for the run.Service.RunInfo.Builder
setRunUuidBytes(com.google.protobuf.ByteString value)
[Deprecated, use run_id instead] Unique identifier for the run.Service.RunInfo.Builder
setStartTime(long value)
Unix timestamp of when the run started in milliseconds.Service.RunInfo.Builder
setStatus(Service.RunStatus value)
Current status of the run.Service.RunInfo.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Service.RunInfo.Builder
setUserId(java.lang.String value)
User who initiated the run.Service.RunInfo.Builder
setUserIdBytes(com.google.protobuf.ByteString value)
User who initiated the run.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
Method Details
-
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.Builder<Service.RunInfo.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.RunInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.RunInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.RunInfo.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.RunInfo.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.RunInfo.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Service.RunInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.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 interfaceService.RunInfoOrBuilder
-
getRunId
public java.lang.String getRunId()Unique identifier for the run.
optional string run_id = 15;
- Specified by:
getRunId
in interfaceService.RunInfoOrBuilder
-
getRunIdBytes
public com.google.protobuf.ByteString getRunIdBytes()Unique identifier for the run.
optional string run_id = 15;
- Specified by:
getRunIdBytes
in interfaceService.RunInfoOrBuilder
-
setRunId
Unique identifier for the run.
optional string run_id = 15;
-
clearRunId
Unique identifier for the run.
optional string run_id = 15;
-
setRunIdBytes
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 interfaceService.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 interfaceService.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 interfaceService.RunInfoOrBuilder
-
setRunUuid
[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
[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
[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 interfaceService.RunInfoOrBuilder
-
getExperimentId
public java.lang.String getExperimentId()The experiment ID.
optional string experiment_id = 2;
- Specified by:
getExperimentId
in interfaceService.RunInfoOrBuilder
-
getExperimentIdBytes
public com.google.protobuf.ByteString getExperimentIdBytes()The experiment ID.
optional string experiment_id = 2;
- Specified by:
getExperimentIdBytes
in interfaceService.RunInfoOrBuilder
-
setExperimentId
The experiment ID.
optional string experiment_id = 2;
-
clearExperimentId
The experiment ID.
optional string experiment_id = 2;
-
setExperimentIdBytes
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 interfaceService.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 interfaceService.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 interfaceService.RunInfoOrBuilder
-
setUserId
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
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
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 interfaceService.RunInfoOrBuilder
-
getStatus
Current status of the run.
optional .mlflow.RunStatus status = 7;
- Specified by:
getStatus
in interfaceService.RunInfoOrBuilder
-
setStatus
Current status of the run.
optional .mlflow.RunStatus status = 7;
-
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 interfaceService.RunInfoOrBuilder
-
getStartTime
public long getStartTime()Unix timestamp of when the run started in milliseconds.
optional int64 start_time = 8;
- Specified by:
getStartTime
in interfaceService.RunInfoOrBuilder
-
setStartTime
Unix timestamp of when the run started in milliseconds.
optional int64 start_time = 8;
-
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 interfaceService.RunInfoOrBuilder
-
getEndTime
public long getEndTime()Unix timestamp of when the run ended in milliseconds.
optional int64 end_time = 9;
- Specified by:
getEndTime
in interfaceService.RunInfoOrBuilder
-
setEndTime
Unix timestamp of when the run ended in milliseconds.
optional int64 end_time = 9;
-
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 interfaceService.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 interfaceService.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 interfaceService.RunInfoOrBuilder
-
setArtifactUri
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
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
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 interfaceService.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 interfaceService.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 interfaceService.RunInfoOrBuilder
-
setLifecycleStage
Current life cycle stage of the experiment : OneOf("active", "deleted")
optional string lifecycle_stage = 14;
-
clearLifecycleStage
Current life cycle stage of the experiment : OneOf("active", "deleted")
optional string lifecycle_stage = 14;
-
setLifecycleStageBytes
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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.RunInfo.Builder>
-
mergeUnknownFields
public final Service.RunInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.RunInfo.Builder>
-