Package org.mlflow.api.proto
Class Service.CreateRun.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Service.CreateRun.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<Service.CreateRun.Builder>
org.mlflow.api.proto.Service.CreateRun.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,Service.CreateRunOrBuilder
- Enclosing class:
Service.CreateRun
public static final class Service.CreateRun.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Service.CreateRun.Builder>
implements Service.CreateRunOrBuilder
Protobuf type
mlflow.CreateRun
-
Method Summary
Modifier and TypeMethodDescriptionaddAllTags
(Iterable<? extends Service.RunTag> values) Additional metadata for run.addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addTags
(int index, Service.RunTag value) Additional metadata for run.addTags
(int index, Service.RunTag.Builder builderForValue) Additional metadata for run.addTags
(Service.RunTag value) Additional metadata for run.addTags
(Service.RunTag.Builder builderForValue) Additional metadata for run.Additional metadata for run.addTagsBuilder
(int index) Additional metadata for run.build()
clear()
ID of the associated experiment.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Name of the run.Unix timestamp in milliseconds of when the run started.Additional metadata for run.ID of the user executing the run.clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
ID of the associated experiment.com.google.protobuf.ByteString
ID of the associated experiment.Name of the run.com.google.protobuf.ByteString
Name of the run.long
Unix timestamp in milliseconds of when the run started.getTags
(int index) Additional metadata for run.getTagsBuilder
(int index) Additional metadata for run.Additional metadata for run.int
Additional metadata for run.Additional metadata for run.getTagsOrBuilder
(int index) Additional metadata for run.List
<? extends Service.RunTagOrBuilder> Additional metadata for run.ID of the user executing the run.com.google.protobuf.ByteString
ID of the user executing the run.boolean
ID of the associated experiment.boolean
Name of the run.boolean
Unix timestamp in milliseconds of when the run started.boolean
ID of the user executing the run.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.CreateRun other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeTags
(int index) Additional metadata for run.setExperimentId
(String value) ID of the associated experiment.setExperimentIdBytes
(com.google.protobuf.ByteString value) ID of the associated experiment.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRunName
(String value) Name of the run.setRunNameBytes
(com.google.protobuf.ByteString value) Name of the run.setStartTime
(long value) Unix timestamp in milliseconds of when the run started.setTags
(int index, Service.RunTag value) Additional metadata for run.setTags
(int index, Service.RunTag.Builder builderForValue) Additional metadata for run.setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) ID of the user executing the run.setUserIdBytes
(com.google.protobuf.ByteString value) ID of the user executing the run.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.CreateRun.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.CreateRun.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.CreateRun.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.CreateRun.Builder>
-
setField
public Service.CreateRun.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.CreateRun.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.CreateRun.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.CreateRun.Builder>
-
setRepeatedField
public Service.CreateRun.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.CreateRun.Builder>
-
addRepeatedField
public Service.CreateRun.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.CreateRun.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Service.CreateRun.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.CreateRun.Builder>
-
mergeFrom
public Service.CreateRun.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.CreateRun.Builder>
- Throws:
IOException
-
hasExperimentId
public boolean hasExperimentId()ID of the associated experiment.
optional string experiment_id = 1;
- Specified by:
hasExperimentId
in interfaceService.CreateRunOrBuilder
- Returns:
- Whether the experimentId field is set.
-
getExperimentId
ID of the associated experiment.
optional string experiment_id = 1;
- Specified by:
getExperimentId
in interfaceService.CreateRunOrBuilder
- Returns:
- The experimentId.
-
getExperimentIdBytes
public com.google.protobuf.ByteString getExperimentIdBytes()ID of the associated experiment.
optional string experiment_id = 1;
- Specified by:
getExperimentIdBytes
in interfaceService.CreateRunOrBuilder
- Returns:
- The bytes for experimentId.
-
setExperimentId
ID of the associated experiment.
optional string experiment_id = 1;
- Parameters:
value
- The experimentId to set.- Returns:
- This builder for chaining.
-
clearExperimentId
ID of the associated experiment.
optional string experiment_id = 1;
- Returns:
- This builder for chaining.
-
setExperimentIdBytes
ID of the associated experiment.
optional string experiment_id = 1;
- Parameters:
value
- The bytes for experimentId to set.- Returns:
- This builder for chaining.
-
hasUserId
public boolean hasUserId()ID of the user executing 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 = 2;
- Specified by:
hasUserId
in interfaceService.CreateRunOrBuilder
- Returns:
- Whether the userId field is set.
-
getUserId
ID of the user executing 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 = 2;
- Specified by:
getUserId
in interfaceService.CreateRunOrBuilder
- Returns:
- The userId.
-
getUserIdBytes
public com.google.protobuf.ByteString getUserIdBytes()ID of the user executing 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 = 2;
- Specified by:
getUserIdBytes
in interfaceService.CreateRunOrBuilder
- Returns:
- The bytes for userId.
-
setUserId
ID of the user executing 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 = 2;
- Parameters:
value
- The userId to set.- Returns:
- This builder for chaining.
-
clearUserId
ID of the user executing 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 = 2;
- Returns:
- This builder for chaining.
-
setUserIdBytes
ID of the user executing 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 = 2;
- Parameters:
value
- The bytes for userId to set.- Returns:
- This builder for chaining.
-
hasRunName
public boolean hasRunName()Name of the run.
optional string run_name = 3;
- Specified by:
hasRunName
in interfaceService.CreateRunOrBuilder
- Returns:
- Whether the runName field is set.
-
getRunName
Name of the run.
optional string run_name = 3;
- Specified by:
getRunName
in interfaceService.CreateRunOrBuilder
- Returns:
- The runName.
-
getRunNameBytes
public com.google.protobuf.ByteString getRunNameBytes()Name of the run.
optional string run_name = 3;
- Specified by:
getRunNameBytes
in interfaceService.CreateRunOrBuilder
- Returns:
- The bytes for runName.
-
setRunName
Name of the run.
optional string run_name = 3;
- Parameters:
value
- The runName to set.- Returns:
- This builder for chaining.
-
clearRunName
Name of the run.
optional string run_name = 3;
- Returns:
- This builder for chaining.
-
setRunNameBytes
Name of the run.
optional string run_name = 3;
- Parameters:
value
- The bytes for runName to set.- Returns:
- This builder for chaining.
-
hasStartTime
public boolean hasStartTime()Unix timestamp in milliseconds of when the run started.
optional int64 start_time = 7;
- Specified by:
hasStartTime
in interfaceService.CreateRunOrBuilder
- Returns:
- Whether the startTime field is set.
-
getStartTime
public long getStartTime()Unix timestamp in milliseconds of when the run started.
optional int64 start_time = 7;
- Specified by:
getStartTime
in interfaceService.CreateRunOrBuilder
- Returns:
- The startTime.
-
setStartTime
Unix timestamp in milliseconds of when the run started.
optional int64 start_time = 7;
- Parameters:
value
- The startTime to set.- Returns:
- This builder for chaining.
-
clearStartTime
Unix timestamp in milliseconds of when the run started.
optional int64 start_time = 7;
- Returns:
- This builder for chaining.
-
getTagsList
Additional metadata for run.
repeated .mlflow.RunTag tags = 9;
- Specified by:
getTagsList
in interfaceService.CreateRunOrBuilder
-
getTagsCount
public int getTagsCount()Additional metadata for run.
repeated .mlflow.RunTag tags = 9;
- Specified by:
getTagsCount
in interfaceService.CreateRunOrBuilder
-
getTags
Additional metadata for run.
repeated .mlflow.RunTag tags = 9;
- Specified by:
getTags
in interfaceService.CreateRunOrBuilder
-
setTags
Additional metadata for run.
repeated .mlflow.RunTag tags = 9;
-
setTags
Additional metadata for run.
repeated .mlflow.RunTag tags = 9;
-
addTags
Additional metadata for run.
repeated .mlflow.RunTag tags = 9;
-
addTags
Additional metadata for run.
repeated .mlflow.RunTag tags = 9;
-
addTags
Additional metadata for run.
repeated .mlflow.RunTag tags = 9;
-
addTags
Additional metadata for run.
repeated .mlflow.RunTag tags = 9;
-
addAllTags
Additional metadata for run.
repeated .mlflow.RunTag tags = 9;
-
clearTags
Additional metadata for run.
repeated .mlflow.RunTag tags = 9;
-
removeTags
Additional metadata for run.
repeated .mlflow.RunTag tags = 9;
-
getTagsBuilder
Additional metadata for run.
repeated .mlflow.RunTag tags = 9;
-
getTagsOrBuilder
Additional metadata for run.
repeated .mlflow.RunTag tags = 9;
- Specified by:
getTagsOrBuilder
in interfaceService.CreateRunOrBuilder
-
getTagsOrBuilderList
Additional metadata for run.
repeated .mlflow.RunTag tags = 9;
- Specified by:
getTagsOrBuilderList
in interfaceService.CreateRunOrBuilder
-
addTagsBuilder
Additional metadata for run.
repeated .mlflow.RunTag tags = 9;
-
addTagsBuilder
Additional metadata for run.
repeated .mlflow.RunTag tags = 9;
-
getTagsBuilderList
Additional metadata for run.
repeated .mlflow.RunTag tags = 9;
-
setUnknownFields
public final Service.CreateRun.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.CreateRun.Builder>
-
mergeUnknownFields
public final Service.CreateRun.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.CreateRun.Builder>
-