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 type
mlflow.CreateRun
-
Method Summary
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
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.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
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
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 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, 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
- 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, 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
- 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 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
-
getExperimentId
public java.lang.String getExperimentId()ID of the associated experiment.
optional string experiment_id = 1;
- Specified by:
getExperimentId
in interfaceService.CreateRunOrBuilder
-
getExperimentIdBytes
public com.google.protobuf.ByteString getExperimentIdBytes()ID of the associated experiment.
optional string experiment_id = 1;
- Specified by:
getExperimentIdBytes
in interfaceService.CreateRunOrBuilder
-
setExperimentId
ID of the associated experiment.
optional string experiment_id = 1;
-
clearExperimentId
ID of the associated experiment.
optional string experiment_id = 1;
-
setExperimentIdBytes
ID of the associated experiment.
optional string experiment_id = 1;
-
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
-
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
-
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
-
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;
-
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;
-
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;
-
hasStartTime
public boolean hasStartTime()Unix timestamp in milliseconds of when the run started.
optional int64 start_time = 7;
- Specified by:
hasStartTime
in interfaceService.CreateRunOrBuilder
-
getStartTime
public long getStartTime()Unix timestamp in milliseconds of when the run started.
optional int64 start_time = 7;
- Specified by:
getStartTime
in interfaceService.CreateRunOrBuilder
-
setStartTime
Unix timestamp in milliseconds of when the run started.
optional int64 start_time = 7;
-
clearStartTime
Unix timestamp in milliseconds of when the run started.
optional int64 start_time = 7;
-
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>
-