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,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 type
mlflow.CreateExperiment-
Method Summary
Modifier and TypeMethodDescriptionaddAllTags(Iterable<? extends Service.ExperimentTag> values) A collection of tags to set on the experiment.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addTags(int index, Service.ExperimentTag value) A collection of tags to set on the experiment.addTags(int index, Service.ExperimentTag.Builder builderForValue) A collection of tags to set on the experiment.addTags(Service.ExperimentTag value) A collection of tags to set on the experiment.addTags(Service.ExperimentTag.Builder builderForValue) A collection of tags to set on the experiment.A collection of tags to set on the experiment.addTagsBuilder(int index) A collection of tags to set on the experiment.build()clear()Location where all artifacts for the experiment are stored.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Experiment name.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) A collection of tags to set on the experiment.clone()Location where all artifacts for the experiment are stored.com.google.protobuf.ByteStringLocation where all artifacts for the experiment are stored.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetName()Experiment name.com.google.protobuf.ByteStringExperiment name.getTags(int index) A collection of tags to set on the experiment.getTagsBuilder(int index) A collection of tags to set on the experiment.A collection of tags to set on the experiment.intA collection of tags to set on the experiment.A collection of tags to set on the experiment.getTagsOrBuilder(int index) A collection of tags to set on the experiment.List<? extends Service.ExperimentTagOrBuilder>A collection of tags to set on the experiment.booleanLocation where all artifacts for the experiment are stored.booleanhasName()Experiment name.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeTags(int index) A collection of tags to set on the experiment.setArtifactLocation(String value) Location where all artifacts for the experiment are stored.setArtifactLocationBytes(com.google.protobuf.ByteString value) Location where all artifacts for the experiment are stored.Experiment name.setNameBytes(com.google.protobuf.ByteString value) Experiment name.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setTags(int index, Service.ExperimentTag value) A collection of tags to set on the experiment.setTags(int index, Service.ExperimentTag.Builder builderForValue) A collection of tags to set on the experiment.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) 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.CreateExperiment.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.CreateExperiment.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.CreateExperiment.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.CreateExperiment.Builder>
-
setField
public Service.CreateExperiment.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.CreateExperiment.Builder>
-
clearField
public Service.CreateExperiment.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.CreateExperiment.Builder>
-
clearOneof
public Service.CreateExperiment.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.CreateExperiment.Builder>
-
setRepeatedField
public Service.CreateExperiment.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.CreateExperiment.Builder>
-
addRepeatedField
public Service.CreateExperiment.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.CreateExperiment.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Service.CreateExperiment.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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 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.CreateExperiment.Builder>- Throws:
IOException
-
hasName
public boolean hasName()Experiment name.
optional string name = 1 [(.mlflow.validate_required) = true];- Specified by:
hasNamein interfaceService.CreateExperimentOrBuilder- Returns:
- Whether the name field is set.
-
getName
Experiment name.
optional string name = 1 [(.mlflow.validate_required) = true];- Specified by:
getNamein interfaceService.CreateExperimentOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Experiment name.
optional string name = 1 [(.mlflow.validate_required) = true];- Specified by:
getNameBytesin interfaceService.CreateExperimentOrBuilder- Returns:
- The bytes for name.
-
setName
Experiment name.
optional string name = 1 [(.mlflow.validate_required) = true];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Experiment name.
optional string name = 1 [(.mlflow.validate_required) = true];- Returns:
- This builder for chaining.
-
setNameBytes
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:
hasArtifactLocationin interfaceService.CreateExperimentOrBuilder- Returns:
- Whether the artifactLocation field is set.
-
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:
getArtifactLocationin 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:
getArtifactLocationBytesin interfaceService.CreateExperimentOrBuilder- Returns:
- The bytes for artifactLocation.
-
setArtifactLocation
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
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
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:
getTagsListin 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:
getTagsCountin interfaceService.CreateExperimentOrBuilder
-
getTags
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:
getTagsin interfaceService.CreateExperimentOrBuilder
-
setTags
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
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
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
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(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
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
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
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
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:
getTagsOrBuilderin interfaceService.CreateExperimentOrBuilder
-
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:
getTagsOrBuilderListin interfaceService.CreateExperimentOrBuilder
-
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
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
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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.CreateExperiment.Builder>
-
mergeUnknownFields
public final Service.CreateExperiment.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.CreateExperiment.Builder>
-