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