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,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 TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()URI of the directory where artifacts should be uploaded.Unix timestamp of when the run ended in milliseconds.The experiment ID.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Current life cycle stage of the experiment : OneOf("active", "deleted")clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Unique identifier for the run.The name of the run.[Deprecated, use run_id instead] Unique identifier for the run.Unix timestamp of when the run started in milliseconds.Current status of the run.User who initiated the run.clone()URI of the directory where artifacts should be uploaded.com.google.protobuf.ByteStringURI of the directory where artifacts should be uploaded.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlongUnix timestamp of when the run ended in milliseconds.The experiment ID.com.google.protobuf.ByteStringThe experiment ID.Current life cycle stage of the experiment : OneOf("active", "deleted")com.google.protobuf.ByteStringCurrent life cycle stage of the experiment : OneOf("active", "deleted")getRunId()Unique identifier for the run.com.google.protobuf.ByteStringUnique identifier for the run.The name of the run.com.google.protobuf.ByteStringThe name of the run.[Deprecated, use run_id instead] Unique identifier for the run.com.google.protobuf.ByteString[Deprecated, use run_id instead] Unique identifier for the run.longUnix timestamp of when the run started in milliseconds.Current status of the run.User who initiated the run.com.google.protobuf.ByteStringUser who initiated the run.booleanURI of the directory where artifacts should be uploaded.booleanUnix timestamp of when the run ended in milliseconds.booleanThe experiment ID.booleanCurrent life cycle stage of the experiment : OneOf("active", "deleted")booleanhasRunId()Unique identifier for the run.booleanThe name of the run.boolean[Deprecated, use run_id instead] Unique identifier for the run.booleanUnix timestamp of when the run started in milliseconds.booleanCurrent status of the run.booleanUser who initiated the run.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(Service.RunInfo other) final Service.RunInfo.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setArtifactUri(String value) URI of the directory where artifacts should be uploaded.setArtifactUriBytes(com.google.protobuf.ByteString value) URI of the directory where artifacts should be uploaded.setEndTime(long value) Unix timestamp of when the run ended in milliseconds.setExperimentId(String value) The experiment ID.setExperimentIdBytes(com.google.protobuf.ByteString value) The experiment ID.setLifecycleStage(String value) Current life cycle stage of the experiment : OneOf("active", "deleted")setLifecycleStageBytes(com.google.protobuf.ByteString value) Current life cycle stage of the experiment : OneOf("active", "deleted")setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Unique identifier for the run.setRunIdBytes(com.google.protobuf.ByteString value) Unique identifier for the run.setRunName(String value) The name of the run.setRunNameBytes(com.google.protobuf.ByteString value) The name of the run.setRunUuid(String value) [Deprecated, use run_id instead] Unique identifier for the run.setRunUuidBytes(com.google.protobuf.ByteString value) [Deprecated, use run_id instead] Unique identifier for the run.setStartTime(long value) Unix timestamp of when the run started in milliseconds.setStatus(Service.RunStatus value) Current status of the run.final Service.RunInfo.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) User who initiated the run.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, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, 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, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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, 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, 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, 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 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:
IOException
-
hasRunId
public boolean hasRunId()Unique identifier for the run.
optional string run_id = 15;- Specified by:
hasRunIdin interfaceService.RunInfoOrBuilder- Returns:
- Whether the runId field is set.
-
getRunId
Unique identifier for the run.
optional string run_id = 15;- Specified by:
getRunIdin interfaceService.RunInfoOrBuilder- Returns:
- The runId.
-
getRunIdBytes
public com.google.protobuf.ByteString getRunIdBytes()Unique identifier for the run.
optional string run_id = 15;- Specified by:
getRunIdBytesin interfaceService.RunInfoOrBuilder- Returns:
- The bytes for runId.
-
setRunId
Unique identifier for the run.
optional string run_id = 15;- Parameters:
value- The runId to set.- Returns:
- This builder for chaining.
-
clearRunId
Unique identifier for the run.
optional string run_id = 15;- Returns:
- This builder for chaining.
-
setRunIdBytes
Unique identifier for the run.
optional string run_id = 15;- Parameters:
value- The bytes for runId to set.- Returns:
- This builder for chaining.
-
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- Returns:
- Whether the runUuid field is set.
-
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- Returns:
- The runUuid.
-
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- Returns:
- The bytes for runUuid.
-
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;- Parameters:
value- The runUuid to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
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;- Parameters:
value- The bytes for runUuid to set.- Returns:
- This builder for chaining.
-
hasRunName
public boolean hasRunName()The name of the run.
optional string run_name = 3;- Specified by:
hasRunNamein interfaceService.RunInfoOrBuilder- Returns:
- Whether the runName field is set.
-
getRunName
The name of the run.
optional string run_name = 3;- Specified by:
getRunNamein interfaceService.RunInfoOrBuilder- Returns:
- The runName.
-
getRunNameBytes
public com.google.protobuf.ByteString getRunNameBytes()The name of the run.
optional string run_name = 3;- Specified by:
getRunNameBytesin interfaceService.RunInfoOrBuilder- Returns:
- The bytes for runName.
-
setRunName
The name of the run.
optional string run_name = 3;- Parameters:
value- The runName to set.- Returns:
- This builder for chaining.
-
clearRunName
The name of the run.
optional string run_name = 3;- Returns:
- This builder for chaining.
-
setRunNameBytes
The name of the run.
optional string run_name = 3;- Parameters:
value- The bytes for runName to set.- Returns:
- This builder for chaining.
-
hasExperimentId
public boolean hasExperimentId()The experiment ID.
optional string experiment_id = 2;- Specified by:
hasExperimentIdin interfaceService.RunInfoOrBuilder- Returns:
- Whether the experimentId field is set.
-
getExperimentId
The experiment ID.
optional string experiment_id = 2;- Specified by:
getExperimentIdin interfaceService.RunInfoOrBuilder- Returns:
- The experimentId.
-
getExperimentIdBytes
public com.google.protobuf.ByteString getExperimentIdBytes()The experiment ID.
optional string experiment_id = 2;- Specified by:
getExperimentIdBytesin interfaceService.RunInfoOrBuilder- Returns:
- The bytes for experimentId.
-
setExperimentId
The experiment ID.
optional string experiment_id = 2;- Parameters:
value- The experimentId to set.- Returns:
- This builder for chaining.
-
clearExperimentId
The experiment ID.
optional string experiment_id = 2;- Returns:
- This builder for chaining.
-
setExperimentIdBytes
The experiment ID.
optional string experiment_id = 2;- Parameters:
value- The bytes for experimentId to set.- Returns:
- This builder for chaining.
-
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- Returns:
- Whether the userId field is set.
-
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- Returns:
- The userId.
-
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- Returns:
- The bytes for userId.
-
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;- Parameters:
value- The userId to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
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;- Parameters:
value- The bytes for userId to set.- Returns:
- This builder for chaining.
-
hasStatus
public boolean hasStatus()Current status of the run.
optional .mlflow.RunStatus status = 7;- Specified by:
hasStatusin interfaceService.RunInfoOrBuilder- Returns:
- Whether the status field is set.
-
getStatus
Current status of the run.
optional .mlflow.RunStatus status = 7;- Specified by:
getStatusin interfaceService.RunInfoOrBuilder- Returns:
- The status.
-
setStatus
Current status of the run.
optional .mlflow.RunStatus status = 7;- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
Current status of the run.
optional .mlflow.RunStatus status = 7;- Returns:
- This builder for chaining.
-
hasStartTime
public boolean hasStartTime()Unix timestamp of when the run started in milliseconds.
optional int64 start_time = 8;- Specified by:
hasStartTimein interfaceService.RunInfoOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public long getStartTime()Unix timestamp of when the run started in milliseconds.
optional int64 start_time = 8;- Specified by:
getStartTimein interfaceService.RunInfoOrBuilder- Returns:
- The startTime.
-
setStartTime
Unix timestamp of when the run started in milliseconds.
optional int64 start_time = 8;- Parameters:
value- The startTime to set.- Returns:
- This builder for chaining.
-
clearStartTime
Unix timestamp of when the run started in milliseconds.
optional int64 start_time = 8;- Returns:
- This builder for chaining.
-
hasEndTime
public boolean hasEndTime()Unix timestamp of when the run ended in milliseconds.
optional int64 end_time = 9;- Specified by:
hasEndTimein interfaceService.RunInfoOrBuilder- Returns:
- Whether the endTime field is set.
-
getEndTime
public long getEndTime()Unix timestamp of when the run ended in milliseconds.
optional int64 end_time = 9;- Specified by:
getEndTimein interfaceService.RunInfoOrBuilder- Returns:
- The endTime.
-
setEndTime
Unix timestamp of when the run ended in milliseconds.
optional int64 end_time = 9;- Parameters:
value- The endTime to set.- Returns:
- This builder for chaining.
-
clearEndTime
Unix timestamp of when the run ended in milliseconds.
optional int64 end_time = 9;- Returns:
- This builder for chaining.
-
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- Returns:
- Whether the artifactUri field is set.
-
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- Returns:
- The artifactUri.
-
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- Returns:
- The bytes for artifactUri.
-
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;- Parameters:
value- The artifactUri to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
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;- Parameters:
value- The bytes for artifactUri to set.- Returns:
- This builder for chaining.
-
hasLifecycleStage
public boolean hasLifecycleStage()Current life cycle stage of the experiment : OneOf("active", "deleted")optional string lifecycle_stage = 14;- Specified by:
hasLifecycleStagein interfaceService.RunInfoOrBuilder- Returns:
- Whether the lifecycleStage field is set.
-
getLifecycleStage
Current life cycle stage of the experiment : OneOf("active", "deleted")optional string lifecycle_stage = 14;- Specified by:
getLifecycleStagein interfaceService.RunInfoOrBuilder- Returns:
- The lifecycleStage.
-
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- Returns:
- The bytes for lifecycleStage.
-
setLifecycleStage
Current life cycle stage of the experiment : OneOf("active", "deleted")optional string lifecycle_stage = 14;- Parameters:
value- The lifecycleStage to set.- Returns:
- This builder for chaining.
-
clearLifecycleStage
Current life cycle stage of the experiment : OneOf("active", "deleted")optional string lifecycle_stage = 14;- Returns:
- This builder for chaining.
-
setLifecycleStageBytes
Current life cycle stage of the experiment : OneOf("active", "deleted")optional string lifecycle_stage = 14;- Parameters:
value- The bytes for lifecycleStage to set.- Returns:
- This builder for chaining.
-
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>
-