Package org.mlflow.api.proto
Class Service.Experiment.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Service.Experiment.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<Service.Experiment.Builder>
org.mlflow.api.proto.Service.Experiment.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,Service.ExperimentOrBuilder
- Enclosing class:
Service.Experiment
public static final class Service.Experiment.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Service.Experiment.Builder>
implements Service.ExperimentOrBuilder
ExperimentProtobuf type
mlflow.Experiment
-
Method Summary
Modifier and TypeMethodDescriptionaddAllTags
(Iterable<? extends Service.ExperimentTag> values) Tags: Additional metadata key-value pairs.addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addTags
(int index, Service.ExperimentTag value) Tags: Additional metadata key-value pairs.addTags
(int index, Service.ExperimentTag.Builder builderForValue) Tags: Additional metadata key-value pairs.addTags
(Service.ExperimentTag value) Tags: Additional metadata key-value pairs.addTags
(Service.ExperimentTag.Builder builderForValue) Tags: Additional metadata key-value pairs.Tags: Additional metadata key-value pairs.addTagsBuilder
(int index) Tags: Additional metadata key-value pairs.build()
clear()
Location where artifacts for the experiment are stored.Creation timeUnique identifier for the experiment.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Last update timeCurrent life cycle stage of the experiment: "active" or "deleted".Human readable name that identifies the experiment.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Tags: Additional metadata key-value pairs.clone()
Location where artifacts for the experiment are stored.com.google.protobuf.ByteString
Location where artifacts for the experiment are stored.long
Creation timestatic final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Unique identifier for the experiment.com.google.protobuf.ByteString
Unique identifier for the experiment.long
Last update timeCurrent life cycle stage of the experiment: "active" or "deleted".com.google.protobuf.ByteString
Current life cycle stage of the experiment: "active" or "deleted".getName()
Human readable name that identifies the experiment.com.google.protobuf.ByteString
Human readable name that identifies the experiment.getTags
(int index) Tags: Additional metadata key-value pairs.getTagsBuilder
(int index) Tags: Additional metadata key-value pairs.Tags: Additional metadata key-value pairs.int
Tags: Additional metadata key-value pairs.Tags: Additional metadata key-value pairs.getTagsOrBuilder
(int index) Tags: Additional metadata key-value pairs.List
<? extends Service.ExperimentTagOrBuilder> Tags: Additional metadata key-value pairs.boolean
Location where artifacts for the experiment are stored.boolean
Creation timeboolean
Unique identifier for the experiment.boolean
Last update timeboolean
Current life cycle stage of the experiment: "active" or "deleted".boolean
hasName()
Human readable name that identifies the experiment.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(Service.Experiment other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeTags
(int index) Tags: Additional metadata key-value pairs.setArtifactLocation
(String value) Location where artifacts for the experiment are stored.setArtifactLocationBytes
(com.google.protobuf.ByteString value) Location where artifacts for the experiment are stored.setCreationTime
(long value) Creation timesetExperimentId
(String value) Unique identifier for the experiment.setExperimentIdBytes
(com.google.protobuf.ByteString value) Unique identifier for the experiment.setLastUpdateTime
(long value) Last update timesetLifecycleStage
(String value) Current life cycle stage of the experiment: "active" or "deleted".setLifecycleStageBytes
(com.google.protobuf.ByteString value) Current life cycle stage of the experiment: "active" or "deleted".Human readable name that identifies the experiment.setNameBytes
(com.google.protobuf.ByteString value) Human readable name that identifies the experiment.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setTags
(int index, Service.ExperimentTag value) Tags: Additional metadata key-value pairs.setTags
(int index, Service.ExperimentTag.Builder builderForValue) Tags: Additional metadata key-value pairs.setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) 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
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.Experiment.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.Experiment.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.Experiment.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.Experiment.Builder>
-
setField
public Service.Experiment.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.Experiment.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.Experiment.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.Experiment.Builder>
-
setRepeatedField
public Service.Experiment.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.Experiment.Builder>
-
addRepeatedField
public Service.Experiment.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.Experiment.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Service.Experiment.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.Experiment.Builder>
-
mergeFrom
public Service.Experiment.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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.Experiment.Builder>
- Throws:
IOException
-
hasExperimentId
public boolean hasExperimentId()Unique identifier for the experiment.
optional string experiment_id = 1;
- Specified by:
hasExperimentId
in interfaceService.ExperimentOrBuilder
- Returns:
- Whether the experimentId field is set.
-
getExperimentId
Unique identifier for the experiment.
optional string experiment_id = 1;
- Specified by:
getExperimentId
in interfaceService.ExperimentOrBuilder
- Returns:
- The experimentId.
-
getExperimentIdBytes
public com.google.protobuf.ByteString getExperimentIdBytes()Unique identifier for the experiment.
optional string experiment_id = 1;
- Specified by:
getExperimentIdBytes
in interfaceService.ExperimentOrBuilder
- Returns:
- The bytes for experimentId.
-
setExperimentId
Unique identifier for the experiment.
optional string experiment_id = 1;
- Parameters:
value
- The experimentId to set.- Returns:
- This builder for chaining.
-
clearExperimentId
Unique identifier for the experiment.
optional string experiment_id = 1;
- Returns:
- This builder for chaining.
-
setExperimentIdBytes
Unique identifier for the experiment.
optional string experiment_id = 1;
- Parameters:
value
- The bytes for experimentId to set.- Returns:
- This builder for chaining.
-
hasName
public boolean hasName()Human readable name that identifies the experiment.
optional string name = 2;
- Specified by:
hasName
in interfaceService.ExperimentOrBuilder
- Returns:
- Whether the name field is set.
-
getName
Human readable name that identifies the experiment.
optional string name = 2;
- Specified by:
getName
in interfaceService.ExperimentOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Human readable name that identifies the experiment.
optional string name = 2;
- Specified by:
getNameBytes
in interfaceService.ExperimentOrBuilder
- Returns:
- The bytes for name.
-
setName
Human readable name that identifies the experiment.
optional string name = 2;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
Human readable name that identifies the experiment.
optional string name = 2;
- Returns:
- This builder for chaining.
-
setNameBytes
Human readable name that identifies the experiment.
optional string name = 2;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasArtifactLocation
public boolean hasArtifactLocation()Location where artifacts for the experiment are stored.
optional string artifact_location = 3;
- Specified by:
hasArtifactLocation
in interfaceService.ExperimentOrBuilder
- Returns:
- Whether the artifactLocation field is set.
-
getArtifactLocation
Location where artifacts for the experiment are stored.
optional string artifact_location = 3;
- Specified by:
getArtifactLocation
in interfaceService.ExperimentOrBuilder
- Returns:
- The artifactLocation.
-
getArtifactLocationBytes
public com.google.protobuf.ByteString getArtifactLocationBytes()Location where artifacts for the experiment are stored.
optional string artifact_location = 3;
- Specified by:
getArtifactLocationBytes
in interfaceService.ExperimentOrBuilder
- Returns:
- The bytes for artifactLocation.
-
setArtifactLocation
Location where artifacts for the experiment are stored.
optional string artifact_location = 3;
- Parameters:
value
- The artifactLocation to set.- Returns:
- This builder for chaining.
-
clearArtifactLocation
Location where artifacts for the experiment are stored.
optional string artifact_location = 3;
- Returns:
- This builder for chaining.
-
setArtifactLocationBytes
Location where artifacts for the experiment are stored.
optional string artifact_location = 3;
- Parameters:
value
- The bytes for artifactLocation to set.- Returns:
- This builder for chaining.
-
hasLifecycleStage
public boolean hasLifecycleStage()Current life cycle stage of the experiment: "active" or "deleted". Deleted experiments are not returned by APIs.
optional string lifecycle_stage = 4;
- Specified by:
hasLifecycleStage
in interfaceService.ExperimentOrBuilder
- Returns:
- Whether the lifecycleStage field is set.
-
getLifecycleStage
Current life cycle stage of the experiment: "active" or "deleted". Deleted experiments are not returned by APIs.
optional string lifecycle_stage = 4;
- Specified by:
getLifecycleStage
in interfaceService.ExperimentOrBuilder
- Returns:
- The lifecycleStage.
-
getLifecycleStageBytes
public com.google.protobuf.ByteString getLifecycleStageBytes()Current life cycle stage of the experiment: "active" or "deleted". Deleted experiments are not returned by APIs.
optional string lifecycle_stage = 4;
- Specified by:
getLifecycleStageBytes
in interfaceService.ExperimentOrBuilder
- Returns:
- The bytes for lifecycleStage.
-
setLifecycleStage
Current life cycle stage of the experiment: "active" or "deleted". Deleted experiments are not returned by APIs.
optional string lifecycle_stage = 4;
- Parameters:
value
- The lifecycleStage to set.- Returns:
- This builder for chaining.
-
clearLifecycleStage
Current life cycle stage of the experiment: "active" or "deleted". Deleted experiments are not returned by APIs.
optional string lifecycle_stage = 4;
- Returns:
- This builder for chaining.
-
setLifecycleStageBytes
Current life cycle stage of the experiment: "active" or "deleted". Deleted experiments are not returned by APIs.
optional string lifecycle_stage = 4;
- Parameters:
value
- The bytes for lifecycleStage to set.- Returns:
- This builder for chaining.
-
hasLastUpdateTime
public boolean hasLastUpdateTime()Last update time
optional int64 last_update_time = 5;
- Specified by:
hasLastUpdateTime
in interfaceService.ExperimentOrBuilder
- Returns:
- Whether the lastUpdateTime field is set.
-
getLastUpdateTime
public long getLastUpdateTime()Last update time
optional int64 last_update_time = 5;
- Specified by:
getLastUpdateTime
in interfaceService.ExperimentOrBuilder
- Returns:
- The lastUpdateTime.
-
setLastUpdateTime
Last update time
optional int64 last_update_time = 5;
- Parameters:
value
- The lastUpdateTime to set.- Returns:
- This builder for chaining.
-
clearLastUpdateTime
Last update time
optional int64 last_update_time = 5;
- Returns:
- This builder for chaining.
-
hasCreationTime
public boolean hasCreationTime()Creation time
optional int64 creation_time = 6;
- Specified by:
hasCreationTime
in interfaceService.ExperimentOrBuilder
- Returns:
- Whether the creationTime field is set.
-
getCreationTime
public long getCreationTime()Creation time
optional int64 creation_time = 6;
- Specified by:
getCreationTime
in interfaceService.ExperimentOrBuilder
- Returns:
- The creationTime.
-
setCreationTime
Creation time
optional int64 creation_time = 6;
- Parameters:
value
- The creationTime to set.- Returns:
- This builder for chaining.
-
clearCreationTime
Creation time
optional int64 creation_time = 6;
- Returns:
- This builder for chaining.
-
getTagsList
Tags: Additional metadata key-value pairs.
repeated .mlflow.ExperimentTag tags = 7;
- Specified by:
getTagsList
in interfaceService.ExperimentOrBuilder
-
getTagsCount
public int getTagsCount()Tags: Additional metadata key-value pairs.
repeated .mlflow.ExperimentTag tags = 7;
- Specified by:
getTagsCount
in interfaceService.ExperimentOrBuilder
-
getTags
Tags: Additional metadata key-value pairs.
repeated .mlflow.ExperimentTag tags = 7;
- Specified by:
getTags
in interfaceService.ExperimentOrBuilder
-
setTags
Tags: Additional metadata key-value pairs.
repeated .mlflow.ExperimentTag tags = 7;
-
setTags
Tags: Additional metadata key-value pairs.
repeated .mlflow.ExperimentTag tags = 7;
-
addTags
Tags: Additional metadata key-value pairs.
repeated .mlflow.ExperimentTag tags = 7;
-
addTags
Tags: Additional metadata key-value pairs.
repeated .mlflow.ExperimentTag tags = 7;
-
addTags
Tags: Additional metadata key-value pairs.
repeated .mlflow.ExperimentTag tags = 7;
-
addTags
Tags: Additional metadata key-value pairs.
repeated .mlflow.ExperimentTag tags = 7;
-
addAllTags
Tags: Additional metadata key-value pairs.
repeated .mlflow.ExperimentTag tags = 7;
-
clearTags
Tags: Additional metadata key-value pairs.
repeated .mlflow.ExperimentTag tags = 7;
-
removeTags
Tags: Additional metadata key-value pairs.
repeated .mlflow.ExperimentTag tags = 7;
-
getTagsBuilder
Tags: Additional metadata key-value pairs.
repeated .mlflow.ExperimentTag tags = 7;
-
getTagsOrBuilder
Tags: Additional metadata key-value pairs.
repeated .mlflow.ExperimentTag tags = 7;
- Specified by:
getTagsOrBuilder
in interfaceService.ExperimentOrBuilder
-
getTagsOrBuilderList
Tags: Additional metadata key-value pairs.
repeated .mlflow.ExperimentTag tags = 7;
- Specified by:
getTagsOrBuilderList
in interfaceService.ExperimentOrBuilder
-
addTagsBuilder
Tags: Additional metadata key-value pairs.
repeated .mlflow.ExperimentTag tags = 7;
-
addTagsBuilder
Tags: Additional metadata key-value pairs.
repeated .mlflow.ExperimentTag tags = 7;
-
getTagsBuilderList
Tags: Additional metadata key-value pairs.
repeated .mlflow.ExperimentTag tags = 7;
-
setUnknownFields
public final Service.Experiment.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.Experiment.Builder>
-
mergeUnknownFields
public final Service.Experiment.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.Experiment.Builder>
-