Package org.mlflow.api.proto
Class Service.UpdateRun.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Service.UpdateRun.Builder>
-
- org.mlflow.api.proto.Service.UpdateRun.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.UpdateRunOrBuilder
- Enclosing class:
- Service.UpdateRun
public static final class Service.UpdateRun.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Service.UpdateRun.Builder> implements Service.UpdateRunOrBuilder
Protobuf typemlflow.UpdateRun
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Service.UpdateRun.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Service.UpdateRun
build()
Service.UpdateRun
buildPartial()
Service.UpdateRun.Builder
clear()
Service.UpdateRun.Builder
clearEndTime()
Unix timestamp in milliseconds of when the run ended.Service.UpdateRun.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Service.UpdateRun.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Service.UpdateRun.Builder
clearRunId()
ID of the run to update.Service.UpdateRun.Builder
clearRunName()
Updated name of the run.Service.UpdateRun.Builder
clearRunUuid()
[Deprecated, use run_id instead] ID of the run to update..Service.UpdateRun.Builder
clearStatus()
Updated status of the run.Service.UpdateRun.Builder
clone()
Service.UpdateRun
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
long
getEndTime()
Unix timestamp in milliseconds of when the run ended.java.lang.String
getRunId()
ID of the run to update.com.google.protobuf.ByteString
getRunIdBytes()
ID of the run to update.java.lang.String
getRunName()
Updated name of the run.com.google.protobuf.ByteString
getRunNameBytes()
Updated name of the run.java.lang.String
getRunUuid()
[Deprecated, use run_id instead] ID of the run to update..com.google.protobuf.ByteString
getRunUuidBytes()
[Deprecated, use run_id instead] ID of the run to update..Service.RunStatus
getStatus()
Updated status of the run.boolean
hasEndTime()
Unix timestamp in milliseconds of when the run ended.boolean
hasRunId()
ID of the run to update.boolean
hasRunName()
Updated name of the run.boolean
hasRunUuid()
[Deprecated, use run_id instead] ID of the run to update..boolean
hasStatus()
Updated status of the run.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Service.UpdateRun.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Service.UpdateRun.Builder
mergeFrom(com.google.protobuf.Message other)
Service.UpdateRun.Builder
mergeFrom(Service.UpdateRun other)
Service.UpdateRun.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Service.UpdateRun.Builder
setEndTime(long value)
Unix timestamp in milliseconds of when the run ended.Service.UpdateRun.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Service.UpdateRun.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Service.UpdateRun.Builder
setRunId(java.lang.String value)
ID of the run to update.Service.UpdateRun.Builder
setRunIdBytes(com.google.protobuf.ByteString value)
ID of the run to update.Service.UpdateRun.Builder
setRunName(java.lang.String value)
Updated name of the run.Service.UpdateRun.Builder
setRunNameBytes(com.google.protobuf.ByteString value)
Updated name of the run.Service.UpdateRun.Builder
setRunUuid(java.lang.String value)
[Deprecated, use run_id instead] ID of the run to update..Service.UpdateRun.Builder
setRunUuidBytes(com.google.protobuf.ByteString value)
[Deprecated, use run_id instead] ID of the run to update..Service.UpdateRun.Builder
setStatus(Service.RunStatus value)
Updated status of the run.Service.UpdateRun.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.UpdateRun.Builder>
-
clear
public Service.UpdateRun.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.UpdateRun.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.UpdateRun.Builder>
-
getDefaultInstanceForType
public Service.UpdateRun getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Service.UpdateRun build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Service.UpdateRun buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Service.UpdateRun.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.UpdateRun.Builder>
-
setField
public Service.UpdateRun.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.UpdateRun.Builder>
-
clearField
public Service.UpdateRun.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.UpdateRun.Builder>
-
clearOneof
public Service.UpdateRun.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.UpdateRun.Builder>
-
setRepeatedField
public Service.UpdateRun.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.UpdateRun.Builder>
-
addRepeatedField
public Service.UpdateRun.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.UpdateRun.Builder>
-
mergeFrom
public Service.UpdateRun.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.UpdateRun.Builder>
-
mergeFrom
public Service.UpdateRun.Builder mergeFrom(Service.UpdateRun other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.UpdateRun.Builder>
-
mergeFrom
public Service.UpdateRun.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.UpdateRun.Builder>
- Throws:
java.io.IOException
-
hasRunId
public boolean hasRunId()
ID of the run to update. Must be provided.
optional string run_id = 4;
- Specified by:
hasRunId
in interfaceService.UpdateRunOrBuilder
- Returns:
- Whether the runId field is set.
-
getRunId
public java.lang.String getRunId()
ID of the run to update. Must be provided.
optional string run_id = 4;
- Specified by:
getRunId
in interfaceService.UpdateRunOrBuilder
- Returns:
- The runId.
-
getRunIdBytes
public com.google.protobuf.ByteString getRunIdBytes()
ID of the run to update. Must be provided.
optional string run_id = 4;
- Specified by:
getRunIdBytes
in interfaceService.UpdateRunOrBuilder
- Returns:
- The bytes for runId.
-
setRunId
public Service.UpdateRun.Builder setRunId(java.lang.String value)
ID of the run to update. Must be provided.
optional string run_id = 4;
- Parameters:
value
- The runId to set.- Returns:
- This builder for chaining.
-
clearRunId
public Service.UpdateRun.Builder clearRunId()
ID of the run to update. Must be provided.
optional string run_id = 4;
- Returns:
- This builder for chaining.
-
setRunIdBytes
public Service.UpdateRun.Builder setRunIdBytes(com.google.protobuf.ByteString value)
ID of the run to update. Must be provided.
optional string run_id = 4;
- Parameters:
value
- The bytes for runId to set.- Returns:
- This builder for chaining.
-
hasRunUuid
public boolean hasRunUuid()
[Deprecated, use run_id instead] ID of the run to update.. This field will be removed in a future MLflow version.
optional string run_uuid = 1;
- Specified by:
hasRunUuid
in interfaceService.UpdateRunOrBuilder
- Returns:
- Whether the runUuid field is set.
-
getRunUuid
public java.lang.String getRunUuid()
[Deprecated, use run_id instead] ID of the run to update.. This field will be removed in a future MLflow version.
optional string run_uuid = 1;
- Specified by:
getRunUuid
in interfaceService.UpdateRunOrBuilder
- Returns:
- The runUuid.
-
getRunUuidBytes
public com.google.protobuf.ByteString getRunUuidBytes()
[Deprecated, use run_id instead] ID of the run to update.. This field will be removed in a future MLflow version.
optional string run_uuid = 1;
- Specified by:
getRunUuidBytes
in interfaceService.UpdateRunOrBuilder
- Returns:
- The bytes for runUuid.
-
setRunUuid
public Service.UpdateRun.Builder setRunUuid(java.lang.String value)
[Deprecated, use run_id instead] ID of the run to update.. This field will be removed in a future MLflow version.
optional string run_uuid = 1;
- Parameters:
value
- The runUuid to set.- Returns:
- This builder for chaining.
-
clearRunUuid
public Service.UpdateRun.Builder clearRunUuid()
[Deprecated, use run_id instead] ID of the run to update.. This field will be removed in a future MLflow version.
optional string run_uuid = 1;
- Returns:
- This builder for chaining.
-
setRunUuidBytes
public Service.UpdateRun.Builder setRunUuidBytes(com.google.protobuf.ByteString value)
[Deprecated, use run_id instead] ID of the run to update.. This field will be removed in a future MLflow version.
optional string run_uuid = 1;
- Parameters:
value
- The bytes for runUuid to set.- Returns:
- This builder for chaining.
-
hasStatus
public boolean hasStatus()
Updated status of the run.
optional .mlflow.RunStatus status = 2;
- Specified by:
hasStatus
in interfaceService.UpdateRunOrBuilder
- Returns:
- Whether the status field is set.
-
getStatus
public Service.RunStatus getStatus()
Updated status of the run.
optional .mlflow.RunStatus status = 2;
- Specified by:
getStatus
in interfaceService.UpdateRunOrBuilder
- Returns:
- The status.
-
setStatus
public Service.UpdateRun.Builder setStatus(Service.RunStatus value)
Updated status of the run.
optional .mlflow.RunStatus status = 2;
- Parameters:
value
- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
public Service.UpdateRun.Builder clearStatus()
Updated status of the run.
optional .mlflow.RunStatus status = 2;
- Returns:
- This builder for chaining.
-
hasEndTime
public boolean hasEndTime()
Unix timestamp in milliseconds of when the run ended.
optional int64 end_time = 3;
- Specified by:
hasEndTime
in interfaceService.UpdateRunOrBuilder
- Returns:
- Whether the endTime field is set.
-
getEndTime
public long getEndTime()
Unix timestamp in milliseconds of when the run ended.
optional int64 end_time = 3;
- Specified by:
getEndTime
in interfaceService.UpdateRunOrBuilder
- Returns:
- The endTime.
-
setEndTime
public Service.UpdateRun.Builder setEndTime(long value)
Unix timestamp in milliseconds of when the run ended.
optional int64 end_time = 3;
- Parameters:
value
- The endTime to set.- Returns:
- This builder for chaining.
-
clearEndTime
public Service.UpdateRun.Builder clearEndTime()
Unix timestamp in milliseconds of when the run ended.
optional int64 end_time = 3;
- Returns:
- This builder for chaining.
-
hasRunName
public boolean hasRunName()
Updated name of the run.
optional string run_name = 5;
- Specified by:
hasRunName
in interfaceService.UpdateRunOrBuilder
- Returns:
- Whether the runName field is set.
-
getRunName
public java.lang.String getRunName()
Updated name of the run.
optional string run_name = 5;
- Specified by:
getRunName
in interfaceService.UpdateRunOrBuilder
- Returns:
- The runName.
-
getRunNameBytes
public com.google.protobuf.ByteString getRunNameBytes()
Updated name of the run.
optional string run_name = 5;
- Specified by:
getRunNameBytes
in interfaceService.UpdateRunOrBuilder
- Returns:
- The bytes for runName.
-
setRunName
public Service.UpdateRun.Builder setRunName(java.lang.String value)
Updated name of the run.
optional string run_name = 5;
- Parameters:
value
- The runName to set.- Returns:
- This builder for chaining.
-
clearRunName
public Service.UpdateRun.Builder clearRunName()
Updated name of the run.
optional string run_name = 5;
- Returns:
- This builder for chaining.
-
setRunNameBytes
public Service.UpdateRun.Builder setRunNameBytes(com.google.protobuf.ByteString value)
Updated name of the run.
optional string run_name = 5;
- Parameters:
value
- The bytes for runName to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Service.UpdateRun.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.UpdateRun.Builder>
-
mergeUnknownFields
public final Service.UpdateRun.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.UpdateRun.Builder>
-
-