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.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Service.RunInfobuild()Service.RunInfobuildPartial()Service.RunInfo.Builderclear()Service.RunInfo.BuilderclearArtifactUri()URI of the directory where artifacts should be uploaded.Service.RunInfo.BuilderclearEndTime()Unix timestamp of when the run ended in milliseconds.Service.RunInfo.BuilderclearExperimentId()The experiment ID.Service.RunInfo.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Service.RunInfo.BuilderclearLifecycleStage()Current life cycle stage of the experiment : OneOf("active", "deleted")Service.RunInfo.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Service.RunInfo.BuilderclearRunId()Unique identifier for the run.Service.RunInfo.BuilderclearRunUuid()[Deprecated, use run_id instead] Unique identifier for the run.Service.RunInfo.BuilderclearStartTime()Unix timestamp of when the run started in milliseconds.Service.RunInfo.BuilderclearStatus()Current status of the run.Service.RunInfo.BuilderclearUserId()User who initiated the run.Service.RunInfo.Builderclone()java.lang.StringgetArtifactUri()URI of the directory where artifacts should be uploaded.com.google.protobuf.ByteStringgetArtifactUriBytes()URI of the directory where artifacts should be uploaded.Service.RunInfogetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()longgetEndTime()Unix timestamp of when the run ended in milliseconds.java.lang.StringgetExperimentId()The experiment ID.com.google.protobuf.ByteStringgetExperimentIdBytes()The experiment ID.java.lang.StringgetLifecycleStage()Current life cycle stage of the experiment : OneOf("active", "deleted")com.google.protobuf.ByteStringgetLifecycleStageBytes()Current life cycle stage of the experiment : OneOf("active", "deleted")java.lang.StringgetRunId()Unique identifier for the run.com.google.protobuf.ByteStringgetRunIdBytes()Unique identifier for the run.java.lang.StringgetRunUuid()[Deprecated, use run_id instead] Unique identifier for the run.com.google.protobuf.ByteStringgetRunUuidBytes()[Deprecated, use run_id instead] Unique identifier for the run.longgetStartTime()Unix timestamp of when the run started in milliseconds.Service.RunStatusgetStatus()Current status of the run.java.lang.StringgetUserId()User who initiated the run.com.google.protobuf.ByteStringgetUserIdBytes()User who initiated the run.booleanhasArtifactUri()URI of the directory where artifacts should be uploaded.booleanhasEndTime()Unix timestamp of when the run ended in milliseconds.booleanhasExperimentId()The experiment ID.booleanhasLifecycleStage()Current life cycle stage of the experiment : OneOf("active", "deleted")booleanhasRunId()Unique identifier for the run.booleanhasRunUuid()[Deprecated, use run_id instead] Unique identifier for the run.booleanhasStartTime()Unix timestamp of when the run started in milliseconds.booleanhasStatus()Current status of the run.booleanhasUserId()User who initiated the run.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Service.RunInfo.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Service.RunInfo.BuildermergeFrom(com.google.protobuf.Message other)Service.RunInfo.BuildermergeFrom(Service.RunInfo other)Service.RunInfo.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Service.RunInfo.BuildersetArtifactUri(java.lang.String value)URI of the directory where artifacts should be uploaded.Service.RunInfo.BuildersetArtifactUriBytes(com.google.protobuf.ByteString value)URI of the directory where artifacts should be uploaded.Service.RunInfo.BuildersetEndTime(long value)Unix timestamp of when the run ended in milliseconds.Service.RunInfo.BuildersetExperimentId(java.lang.String value)The experiment ID.Service.RunInfo.BuildersetExperimentIdBytes(com.google.protobuf.ByteString value)The experiment ID.Service.RunInfo.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Service.RunInfo.BuildersetLifecycleStage(java.lang.String value)Current life cycle stage of the experiment : OneOf("active", "deleted")Service.RunInfo.BuildersetLifecycleStageBytes(com.google.protobuf.ByteString value)Current life cycle stage of the experiment : OneOf("active", "deleted")Service.RunInfo.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)Service.RunInfo.BuildersetRunId(java.lang.String value)Unique identifier for the run.Service.RunInfo.BuildersetRunIdBytes(com.google.protobuf.ByteString value)Unique identifier for the run.Service.RunInfo.BuildersetRunUuid(java.lang.String value)[Deprecated, use run_id instead] Unique identifier for the run.Service.RunInfo.BuildersetRunUuidBytes(com.google.protobuf.ByteString value)[Deprecated, use run_id instead] Unique identifier for the run.Service.RunInfo.BuildersetStartTime(long value)Unix timestamp of when the run started in milliseconds.Service.RunInfo.BuildersetStatus(Service.RunStatus value)Current status of the run.Service.RunInfo.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Service.RunInfo.BuildersetUserId(java.lang.String value)User who initiated the run.Service.RunInfo.BuildersetUserIdBytes(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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Service.RunInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.RunInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Service.RunInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein 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:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.RunInfo.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.RunInfo.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin 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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin 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:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.RunInfo.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Service.RunInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
hasRunIdin interfaceService.RunInfoOrBuilder
-
getRunId
public java.lang.String getRunId()Unique identifier for the run.
optional string run_id = 15;- Specified by:
getRunIdin interfaceService.RunInfoOrBuilder
-
getRunIdBytes
public com.google.protobuf.ByteString getRunIdBytes()Unique identifier for the run.
optional string run_id = 15;- Specified by:
getRunIdBytesin 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:
hasRunUuidin 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:
getRunUuidin 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:
getRunUuidBytesin 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:
hasExperimentIdin interfaceService.RunInfoOrBuilder
-
getExperimentId
public java.lang.String getExperimentId()The experiment ID.
optional string experiment_id = 2;- Specified by:
getExperimentIdin interfaceService.RunInfoOrBuilder
-
getExperimentIdBytes
public com.google.protobuf.ByteString getExperimentIdBytes()The experiment ID.
optional string experiment_id = 2;- Specified by:
getExperimentIdBytesin 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:
hasUserIdin 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:
getUserIdin 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:
getUserIdBytesin 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:
hasStatusin interfaceService.RunInfoOrBuilder
-
getStatus
Current status of the run.
optional .mlflow.RunStatus status = 7;- Specified by:
getStatusin 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:
hasStartTimein interfaceService.RunInfoOrBuilder
-
getStartTime
public long getStartTime()Unix timestamp of when the run started in milliseconds.
optional int64 start_time = 8;- Specified by:
getStartTimein 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:
hasEndTimein interfaceService.RunInfoOrBuilder
-
getEndTime
public long getEndTime()Unix timestamp of when the run ended in milliseconds.
optional int64 end_time = 9;- Specified by:
getEndTimein 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:
hasArtifactUriin 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:
getArtifactUriin 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:
getArtifactUriBytesin 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:
hasLifecycleStagein 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:
getLifecycleStagein 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:
getLifecycleStageBytesin 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.RunInfo.Builder>
-
mergeUnknownFields
public final Service.RunInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.RunInfo.Builder>
-