Package org.mlflow.api.proto
Class Service.Experiment.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
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
,java.lang.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 Type Method Description Service.Experiment.Builder
addAllTags(java.lang.Iterable<? extends Service.ExperimentTag> values)
Tags: Additional metadata key-value pairs.Service.Experiment.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Service.Experiment.Builder
addTags(int index, Service.ExperimentTag value)
Tags: Additional metadata key-value pairs.Service.Experiment.Builder
addTags(int index, Service.ExperimentTag.Builder builderForValue)
Tags: Additional metadata key-value pairs.Service.Experiment.Builder
addTags(Service.ExperimentTag value)
Tags: Additional metadata key-value pairs.Service.Experiment.Builder
addTags(Service.ExperimentTag.Builder builderForValue)
Tags: Additional metadata key-value pairs.Service.ExperimentTag.Builder
addTagsBuilder()
Tags: Additional metadata key-value pairs.Service.ExperimentTag.Builder
addTagsBuilder(int index)
Tags: Additional metadata key-value pairs.Service.Experiment
build()
Service.Experiment
buildPartial()
Service.Experiment.Builder
clear()
Service.Experiment.Builder
clearArtifactLocation()
Location where artifacts for the experiment are stored.Service.Experiment.Builder
clearCreationTime()
Creation timeService.Experiment.Builder
clearExperimentId()
Unique identifier for the experiment.Service.Experiment.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Service.Experiment.Builder
clearLastUpdateTime()
Last update timeService.Experiment.Builder
clearLifecycleStage()
Current life cycle stage of the experiment: "active" or "deleted".Service.Experiment.Builder
clearName()
Human readable name that identifies the experiment.Service.Experiment.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Service.Experiment.Builder
clearTags()
Tags: Additional metadata key-value pairs.Service.Experiment.Builder
clone()
java.lang.String
getArtifactLocation()
Location where artifacts for the experiment are stored.com.google.protobuf.ByteString
getArtifactLocationBytes()
Location where artifacts for the experiment are stored.long
getCreationTime()
Creation timeService.Experiment
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getExperimentId()
Unique identifier for the experiment.com.google.protobuf.ByteString
getExperimentIdBytes()
Unique identifier for the experiment.long
getLastUpdateTime()
Last update timejava.lang.String
getLifecycleStage()
Current life cycle stage of the experiment: "active" or "deleted".com.google.protobuf.ByteString
getLifecycleStageBytes()
Current life cycle stage of the experiment: "active" or "deleted".java.lang.String
getName()
Human readable name that identifies the experiment.com.google.protobuf.ByteString
getNameBytes()
Human readable name that identifies the experiment.Service.ExperimentTag
getTags(int index)
Tags: Additional metadata key-value pairs.Service.ExperimentTag.Builder
getTagsBuilder(int index)
Tags: Additional metadata key-value pairs.java.util.List<Service.ExperimentTag.Builder>
getTagsBuilderList()
Tags: Additional metadata key-value pairs.int
getTagsCount()
Tags: Additional metadata key-value pairs.java.util.List<Service.ExperimentTag>
getTagsList()
Tags: Additional metadata key-value pairs.Service.ExperimentTagOrBuilder
getTagsOrBuilder(int index)
Tags: Additional metadata key-value pairs.java.util.List<? extends Service.ExperimentTagOrBuilder>
getTagsOrBuilderList()
Tags: Additional metadata key-value pairs.boolean
hasArtifactLocation()
Location where artifacts for the experiment are stored.boolean
hasCreationTime()
Creation timeboolean
hasExperimentId()
Unique identifier for the experiment.boolean
hasLastUpdateTime()
Last update timeboolean
hasLifecycleStage()
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
internalGetFieldAccessorTable()
boolean
isInitialized()
Service.Experiment.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Service.Experiment.Builder
mergeFrom(com.google.protobuf.Message other)
Service.Experiment.Builder
mergeFrom(Service.Experiment other)
Service.Experiment.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Service.Experiment.Builder
removeTags(int index)
Tags: Additional metadata key-value pairs.Service.Experiment.Builder
setArtifactLocation(java.lang.String value)
Location where artifacts for the experiment are stored.Service.Experiment.Builder
setArtifactLocationBytes(com.google.protobuf.ByteString value)
Location where artifacts for the experiment are stored.Service.Experiment.Builder
setCreationTime(long value)
Creation timeService.Experiment.Builder
setExperimentId(java.lang.String value)
Unique identifier for the experiment.Service.Experiment.Builder
setExperimentIdBytes(com.google.protobuf.ByteString value)
Unique identifier for the experiment.Service.Experiment.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Service.Experiment.Builder
setLastUpdateTime(long value)
Last update timeService.Experiment.Builder
setLifecycleStage(java.lang.String value)
Current life cycle stage of the experiment: "active" or "deleted".Service.Experiment.Builder
setLifecycleStageBytes(com.google.protobuf.ByteString value)
Current life cycle stage of the experiment: "active" or "deleted".Service.Experiment.Builder
setName(java.lang.String value)
Human readable name that identifies the experiment.Service.Experiment.Builder
setNameBytes(com.google.protobuf.ByteString value)
Human readable name that identifies the experiment.Service.Experiment.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Service.Experiment.Builder
setTags(int index, Service.ExperimentTag value)
Tags: Additional metadata key-value pairs.Service.Experiment.Builder
setTags(int index, Service.ExperimentTag.Builder builderForValue)
Tags: Additional metadata key-value pairs.Service.Experiment.Builder
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
-
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, java.lang.Object value)- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.Experiment.Builder>
-
clearField
public Service.Experiment.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.Experiment.Builder>
-
clearOneof
public Service.Experiment.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)- 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, java.lang.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, java.lang.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 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.Experiment.Builder>
- Throws:
java.io.IOException
-
hasExperimentId
public boolean hasExperimentId()Unique identifier for the experiment.
optional string experiment_id = 1;
- Specified by:
hasExperimentId
in interfaceService.ExperimentOrBuilder
-
getExperimentId
public java.lang.String getExperimentId()Unique identifier for the experiment.
optional string experiment_id = 1;
- Specified by:
getExperimentId
in interfaceService.ExperimentOrBuilder
-
getExperimentIdBytes
public com.google.protobuf.ByteString getExperimentIdBytes()Unique identifier for the experiment.
optional string experiment_id = 1;
- Specified by:
getExperimentIdBytes
in interfaceService.ExperimentOrBuilder
-
setExperimentId
Unique identifier for the experiment.
optional string experiment_id = 1;
-
clearExperimentId
Unique identifier for the experiment.
optional string experiment_id = 1;
-
setExperimentIdBytes
Unique identifier for the experiment.
optional string experiment_id = 1;
-
hasName
public boolean hasName()Human readable name that identifies the experiment.
optional string name = 2;
- Specified by:
hasName
in interfaceService.ExperimentOrBuilder
-
getName
public java.lang.String getName()Human readable name that identifies the experiment.
optional string name = 2;
- Specified by:
getName
in interfaceService.ExperimentOrBuilder
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Human readable name that identifies the experiment.
optional string name = 2;
- Specified by:
getNameBytes
in interfaceService.ExperimentOrBuilder
-
setName
Human readable name that identifies the experiment.
optional string name = 2;
-
clearName
Human readable name that identifies the experiment.
optional string name = 2;
-
setNameBytes
Human readable name that identifies the experiment.
optional string name = 2;
-
hasArtifactLocation
public boolean hasArtifactLocation()Location where artifacts for the experiment are stored.
optional string artifact_location = 3;
- Specified by:
hasArtifactLocation
in interfaceService.ExperimentOrBuilder
-
getArtifactLocation
public java.lang.String getArtifactLocation()Location where artifacts for the experiment are stored.
optional string artifact_location = 3;
- Specified by:
getArtifactLocation
in interfaceService.ExperimentOrBuilder
-
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
-
setArtifactLocation
Location where artifacts for the experiment are stored.
optional string artifact_location = 3;
-
clearArtifactLocation
Location where artifacts for the experiment are stored.
optional string artifact_location = 3;
-
setArtifactLocationBytes
Location where artifacts for the experiment are stored.
optional string artifact_location = 3;
-
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
-
getLifecycleStage
public java.lang.String 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
-
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
-
setLifecycleStage
Current life cycle stage of the experiment: "active" or "deleted". Deleted experiments are not returned by APIs.
optional string lifecycle_stage = 4;
-
clearLifecycleStage
Current life cycle stage of the experiment: "active" or "deleted". Deleted experiments are not returned by APIs.
optional string lifecycle_stage = 4;
-
setLifecycleStageBytes
Current life cycle stage of the experiment: "active" or "deleted". Deleted experiments are not returned by APIs.
optional string lifecycle_stage = 4;
-
hasLastUpdateTime
public boolean hasLastUpdateTime()Last update time
optional int64 last_update_time = 5;
- Specified by:
hasLastUpdateTime
in interfaceService.ExperimentOrBuilder
-
getLastUpdateTime
public long getLastUpdateTime()Last update time
optional int64 last_update_time = 5;
- Specified by:
getLastUpdateTime
in interfaceService.ExperimentOrBuilder
-
setLastUpdateTime
Last update time
optional int64 last_update_time = 5;
-
clearLastUpdateTime
Last update time
optional int64 last_update_time = 5;
-
hasCreationTime
public boolean hasCreationTime()Creation time
optional int64 creation_time = 6;
- Specified by:
hasCreationTime
in interfaceService.ExperimentOrBuilder
-
getCreationTime
public long getCreationTime()Creation time
optional int64 creation_time = 6;
- Specified by:
getCreationTime
in interfaceService.ExperimentOrBuilder
-
setCreationTime
Creation time
optional int64 creation_time = 6;
-
clearCreationTime
Creation time
optional int64 creation_time = 6;
-
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
public Service.Experiment.Builder setTags(int index, Service.ExperimentTag.Builder builderForValue)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
public Service.Experiment.Builder addTags(int index, Service.ExperimentTag.Builder builderForValue)Tags: Additional metadata key-value pairs.
repeated .mlflow.ExperimentTag tags = 7;
-
addAllTags
public Service.Experiment.Builder addAllTags(java.lang.Iterable<? extends Service.ExperimentTag> values)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>
-