Package org.mlflow.api.proto
Class Service.CreateExperiment.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Service.CreateExperiment.Builder>
-
- org.mlflow.api.proto.Service.CreateExperiment.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.CreateExperimentOrBuilder
- Enclosing class:
- Service.CreateExperiment
public static final class Service.CreateExperiment.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Service.CreateExperiment.Builder> implements Service.CreateExperimentOrBuilder
Protobuf typemlflow.CreateExperiment
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Service.CreateExperiment.Builder
addAllTags(java.lang.Iterable<? extends Service.ExperimentTag> values)
A collection of tags to set on the experiment.Service.CreateExperiment.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Service.CreateExperiment.Builder
addTags(int index, Service.ExperimentTag value)
A collection of tags to set on the experiment.Service.CreateExperiment.Builder
addTags(int index, Service.ExperimentTag.Builder builderForValue)
A collection of tags to set on the experiment.Service.CreateExperiment.Builder
addTags(Service.ExperimentTag value)
A collection of tags to set on the experiment.Service.CreateExperiment.Builder
addTags(Service.ExperimentTag.Builder builderForValue)
A collection of tags to set on the experiment.Service.ExperimentTag.Builder
addTagsBuilder()
A collection of tags to set on the experiment.Service.ExperimentTag.Builder
addTagsBuilder(int index)
A collection of tags to set on the experiment.Service.CreateExperiment
build()
Service.CreateExperiment
buildPartial()
Service.CreateExperiment.Builder
clear()
Service.CreateExperiment.Builder
clearArtifactLocation()
Location where all artifacts for the experiment are stored.Service.CreateExperiment.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Service.CreateExperiment.Builder
clearName()
Experiment name.Service.CreateExperiment.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Service.CreateExperiment.Builder
clearTags()
A collection of tags to set on the experiment.Service.CreateExperiment.Builder
clone()
java.lang.String
getArtifactLocation()
Location where all artifacts for the experiment are stored.com.google.protobuf.ByteString
getArtifactLocationBytes()
Location where all artifacts for the experiment are stored.Service.CreateExperiment
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getName()
Experiment name.com.google.protobuf.ByteString
getNameBytes()
Experiment name.Service.ExperimentTag
getTags(int index)
A collection of tags to set on the experiment.Service.ExperimentTag.Builder
getTagsBuilder(int index)
A collection of tags to set on the experiment.java.util.List<Service.ExperimentTag.Builder>
getTagsBuilderList()
A collection of tags to set on the experiment.int
getTagsCount()
A collection of tags to set on the experiment.java.util.List<Service.ExperimentTag>
getTagsList()
A collection of tags to set on the experiment.Service.ExperimentTagOrBuilder
getTagsOrBuilder(int index)
A collection of tags to set on the experiment.java.util.List<? extends Service.ExperimentTagOrBuilder>
getTagsOrBuilderList()
A collection of tags to set on the experiment.boolean
hasArtifactLocation()
Location where all artifacts for the experiment are stored.boolean
hasName()
Experiment name.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Service.CreateExperiment.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Service.CreateExperiment.Builder
mergeFrom(com.google.protobuf.Message other)
Service.CreateExperiment.Builder
mergeFrom(Service.CreateExperiment other)
Service.CreateExperiment.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Service.CreateExperiment.Builder
removeTags(int index)
A collection of tags to set on the experiment.Service.CreateExperiment.Builder
setArtifactLocation(java.lang.String value)
Location where all artifacts for the experiment are stored.Service.CreateExperiment.Builder
setArtifactLocationBytes(com.google.protobuf.ByteString value)
Location where all artifacts for the experiment are stored.Service.CreateExperiment.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Service.CreateExperiment.Builder
setName(java.lang.String value)
Experiment name.Service.CreateExperiment.Builder
setNameBytes(com.google.protobuf.ByteString value)
Experiment name.Service.CreateExperiment.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Service.CreateExperiment.Builder
setTags(int index, Service.ExperimentTag value)
A collection of tags to set on the experiment.Service.CreateExperiment.Builder
setTags(int index, Service.ExperimentTag.Builder builderForValue)
A collection of tags to set on the experiment.Service.CreateExperiment.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 Detail
-
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.CreateExperiment.Builder>
-
clear
public Service.CreateExperiment.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.CreateExperiment.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.CreateExperiment.Builder>
-
getDefaultInstanceForType
public Service.CreateExperiment getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Service.CreateExperiment build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Service.CreateExperiment buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Service.CreateExperiment.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.CreateExperiment.Builder>
-
setField
public Service.CreateExperiment.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.CreateExperiment.Builder>
-
clearField
public Service.CreateExperiment.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.CreateExperiment.Builder>
-
clearOneof
public Service.CreateExperiment.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.CreateExperiment.Builder>
-
setRepeatedField
public Service.CreateExperiment.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.CreateExperiment.Builder>
-
addRepeatedField
public Service.CreateExperiment.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.CreateExperiment.Builder>
-
mergeFrom
public Service.CreateExperiment.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Service.CreateExperiment.Builder>
-
mergeFrom
public Service.CreateExperiment.Builder mergeFrom(Service.CreateExperiment other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.CreateExperiment.Builder>
-
mergeFrom
public Service.CreateExperiment.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.CreateExperiment.Builder>
- Throws:
java.io.IOException
-
hasName
public boolean hasName()
Experiment name.
optional string name = 1 [(.mlflow.validate_required) = true];
- Specified by:
hasName
in interfaceService.CreateExperimentOrBuilder
- Returns:
- Whether the name field is set.
-
getName
public java.lang.String getName()
Experiment name.
optional string name = 1 [(.mlflow.validate_required) = true];
- Specified by:
getName
in interfaceService.CreateExperimentOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Experiment name.
optional string name = 1 [(.mlflow.validate_required) = true];
- Specified by:
getNameBytes
in interfaceService.CreateExperimentOrBuilder
- Returns:
- The bytes for name.
-
setName
public Service.CreateExperiment.Builder setName(java.lang.String value)
Experiment name.
optional string name = 1 [(.mlflow.validate_required) = true];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Service.CreateExperiment.Builder clearName()
Experiment name.
optional string name = 1 [(.mlflow.validate_required) = true];
- Returns:
- This builder for chaining.
-
setNameBytes
public Service.CreateExperiment.Builder setNameBytes(com.google.protobuf.ByteString value)
Experiment name.
optional string name = 1 [(.mlflow.validate_required) = true];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasArtifactLocation
public boolean hasArtifactLocation()
Location where all artifacts for the experiment are stored. If not provided, the remote server will select an appropriate default.
optional string artifact_location = 2;
- Specified by:
hasArtifactLocation
in interfaceService.CreateExperimentOrBuilder
- Returns:
- Whether the artifactLocation field is set.
-
getArtifactLocation
public java.lang.String getArtifactLocation()
Location where all artifacts for the experiment are stored. If not provided, the remote server will select an appropriate default.
optional string artifact_location = 2;
- Specified by:
getArtifactLocation
in interfaceService.CreateExperimentOrBuilder
- Returns:
- The artifactLocation.
-
getArtifactLocationBytes
public com.google.protobuf.ByteString getArtifactLocationBytes()
Location where all artifacts for the experiment are stored. If not provided, the remote server will select an appropriate default.
optional string artifact_location = 2;
- Specified by:
getArtifactLocationBytes
in interfaceService.CreateExperimentOrBuilder
- Returns:
- The bytes for artifactLocation.
-
setArtifactLocation
public Service.CreateExperiment.Builder setArtifactLocation(java.lang.String value)
Location where all artifacts for the experiment are stored. If not provided, the remote server will select an appropriate default.
optional string artifact_location = 2;
- Parameters:
value
- The artifactLocation to set.- Returns:
- This builder for chaining.
-
clearArtifactLocation
public Service.CreateExperiment.Builder clearArtifactLocation()
Location where all artifacts for the experiment are stored. If not provided, the remote server will select an appropriate default.
optional string artifact_location = 2;
- Returns:
- This builder for chaining.
-
setArtifactLocationBytes
public Service.CreateExperiment.Builder setArtifactLocationBytes(com.google.protobuf.ByteString value)
Location where all artifacts for the experiment are stored. If not provided, the remote server will select an appropriate default.
optional string artifact_location = 2;
- Parameters:
value
- The bytes for artifactLocation to set.- Returns:
- This builder for chaining.
-
getTagsList
public java.util.List<Service.ExperimentTag> getTagsList()
A collection of tags to set on the experiment. Maximum tag size and number of tags per request depends on the storage backend. All storage backends are guaranteed to support tag keys up to 250 bytes in size and tag values up to 5000 bytes in size. All storage backends are also guaranteed to support up to 20 tags per request.
repeated .mlflow.ExperimentTag tags = 3;
- Specified by:
getTagsList
in interfaceService.CreateExperimentOrBuilder
-
getTagsCount
public int getTagsCount()
A collection of tags to set on the experiment. Maximum tag size and number of tags per request depends on the storage backend. All storage backends are guaranteed to support tag keys up to 250 bytes in size and tag values up to 5000 bytes in size. All storage backends are also guaranteed to support up to 20 tags per request.
repeated .mlflow.ExperimentTag tags = 3;
- Specified by:
getTagsCount
in interfaceService.CreateExperimentOrBuilder
-
getTags
public Service.ExperimentTag getTags(int index)
A collection of tags to set on the experiment. Maximum tag size and number of tags per request depends on the storage backend. All storage backends are guaranteed to support tag keys up to 250 bytes in size and tag values up to 5000 bytes in size. All storage backends are also guaranteed to support up to 20 tags per request.
repeated .mlflow.ExperimentTag tags = 3;
- Specified by:
getTags
in interfaceService.CreateExperimentOrBuilder
-
setTags
public Service.CreateExperiment.Builder setTags(int index, Service.ExperimentTag value)
A collection of tags to set on the experiment. Maximum tag size and number of tags per request depends on the storage backend. All storage backends are guaranteed to support tag keys up to 250 bytes in size and tag values up to 5000 bytes in size. All storage backends are also guaranteed to support up to 20 tags per request.
repeated .mlflow.ExperimentTag tags = 3;
-
setTags
public Service.CreateExperiment.Builder setTags(int index, Service.ExperimentTag.Builder builderForValue)
A collection of tags to set on the experiment. Maximum tag size and number of tags per request depends on the storage backend. All storage backends are guaranteed to support tag keys up to 250 bytes in size and tag values up to 5000 bytes in size. All storage backends are also guaranteed to support up to 20 tags per request.
repeated .mlflow.ExperimentTag tags = 3;
-
addTags
public Service.CreateExperiment.Builder addTags(Service.ExperimentTag value)
A collection of tags to set on the experiment. Maximum tag size and number of tags per request depends on the storage backend. All storage backends are guaranteed to support tag keys up to 250 bytes in size and tag values up to 5000 bytes in size. All storage backends are also guaranteed to support up to 20 tags per request.
repeated .mlflow.ExperimentTag tags = 3;
-
addTags
public Service.CreateExperiment.Builder addTags(int index, Service.ExperimentTag value)
A collection of tags to set on the experiment. Maximum tag size and number of tags per request depends on the storage backend. All storage backends are guaranteed to support tag keys up to 250 bytes in size and tag values up to 5000 bytes in size. All storage backends are also guaranteed to support up to 20 tags per request.
repeated .mlflow.ExperimentTag tags = 3;
-
addTags
public Service.CreateExperiment.Builder addTags(Service.ExperimentTag.Builder builderForValue)
A collection of tags to set on the experiment. Maximum tag size and number of tags per request depends on the storage backend. All storage backends are guaranteed to support tag keys up to 250 bytes in size and tag values up to 5000 bytes in size. All storage backends are also guaranteed to support up to 20 tags per request.
repeated .mlflow.ExperimentTag tags = 3;
-
addTags
public Service.CreateExperiment.Builder addTags(int index, Service.ExperimentTag.Builder builderForValue)
A collection of tags to set on the experiment. Maximum tag size and number of tags per request depends on the storage backend. All storage backends are guaranteed to support tag keys up to 250 bytes in size and tag values up to 5000 bytes in size. All storage backends are also guaranteed to support up to 20 tags per request.
repeated .mlflow.ExperimentTag tags = 3;
-
addAllTags
public Service.CreateExperiment.Builder addAllTags(java.lang.Iterable<? extends Service.ExperimentTag> values)
A collection of tags to set on the experiment. Maximum tag size and number of tags per request depends on the storage backend. All storage backends are guaranteed to support tag keys up to 250 bytes in size and tag values up to 5000 bytes in size. All storage backends are also guaranteed to support up to 20 tags per request.
repeated .mlflow.ExperimentTag tags = 3;
-
clearTags
public Service.CreateExperiment.Builder clearTags()
A collection of tags to set on the experiment. Maximum tag size and number of tags per request depends on the storage backend. All storage backends are guaranteed to support tag keys up to 250 bytes in size and tag values up to 5000 bytes in size. All storage backends are also guaranteed to support up to 20 tags per request.
repeated .mlflow.ExperimentTag tags = 3;
-
removeTags
public Service.CreateExperiment.Builder removeTags(int index)
A collection of tags to set on the experiment. Maximum tag size and number of tags per request depends on the storage backend. All storage backends are guaranteed to support tag keys up to 250 bytes in size and tag values up to 5000 bytes in size. All storage backends are also guaranteed to support up to 20 tags per request.
repeated .mlflow.ExperimentTag tags = 3;
-
getTagsBuilder
public Service.ExperimentTag.Builder getTagsBuilder(int index)
A collection of tags to set on the experiment. Maximum tag size and number of tags per request depends on the storage backend. All storage backends are guaranteed to support tag keys up to 250 bytes in size and tag values up to 5000 bytes in size. All storage backends are also guaranteed to support up to 20 tags per request.
repeated .mlflow.ExperimentTag tags = 3;
-
getTagsOrBuilder
public Service.ExperimentTagOrBuilder getTagsOrBuilder(int index)
A collection of tags to set on the experiment. Maximum tag size and number of tags per request depends on the storage backend. All storage backends are guaranteed to support tag keys up to 250 bytes in size and tag values up to 5000 bytes in size. All storage backends are also guaranteed to support up to 20 tags per request.
repeated .mlflow.ExperimentTag tags = 3;
- Specified by:
getTagsOrBuilder
in interfaceService.CreateExperimentOrBuilder
-
getTagsOrBuilderList
public java.util.List<? extends Service.ExperimentTagOrBuilder> getTagsOrBuilderList()
A collection of tags to set on the experiment. Maximum tag size and number of tags per request depends on the storage backend. All storage backends are guaranteed to support tag keys up to 250 bytes in size and tag values up to 5000 bytes in size. All storage backends are also guaranteed to support up to 20 tags per request.
repeated .mlflow.ExperimentTag tags = 3;
- Specified by:
getTagsOrBuilderList
in interfaceService.CreateExperimentOrBuilder
-
addTagsBuilder
public Service.ExperimentTag.Builder addTagsBuilder()
A collection of tags to set on the experiment. Maximum tag size and number of tags per request depends on the storage backend. All storage backends are guaranteed to support tag keys up to 250 bytes in size and tag values up to 5000 bytes in size. All storage backends are also guaranteed to support up to 20 tags per request.
repeated .mlflow.ExperimentTag tags = 3;
-
addTagsBuilder
public Service.ExperimentTag.Builder addTagsBuilder(int index)
A collection of tags to set on the experiment. Maximum tag size and number of tags per request depends on the storage backend. All storage backends are guaranteed to support tag keys up to 250 bytes in size and tag values up to 5000 bytes in size. All storage backends are also guaranteed to support up to 20 tags per request.
repeated .mlflow.ExperimentTag tags = 3;
-
getTagsBuilderList
public java.util.List<Service.ExperimentTag.Builder> getTagsBuilderList()
A collection of tags to set on the experiment. Maximum tag size and number of tags per request depends on the storage backend. All storage backends are guaranteed to support tag keys up to 250 bytes in size and tag values up to 5000 bytes in size. All storage backends are also guaranteed to support up to 20 tags per request.
repeated .mlflow.ExperimentTag tags = 3;
-
setUnknownFields
public final Service.CreateExperiment.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.CreateExperiment.Builder>
-
mergeUnknownFields
public final Service.CreateExperiment.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.CreateExperiment.Builder>
-
-