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,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 type
mlflow.UpdateRun-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Unix timestamp in milliseconds of when the run ended.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) ID of the run to update.Updated name of the run.[Deprecated, use run_id instead] ID of the run to update..Updated status of the run.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlongUnix timestamp in milliseconds of when the run ended.getRunId()ID of the run to update.com.google.protobuf.ByteStringID of the run to update.Updated name of the run.com.google.protobuf.ByteStringUpdated name of the run.[Deprecated, use run_id instead] ID of the run to update..com.google.protobuf.ByteString[Deprecated, use run_id instead] ID of the run to update..Updated status of the run.booleanUnix timestamp in milliseconds of when the run ended.booleanhasRunId()ID of the run to update.booleanUpdated name of the run.boolean[Deprecated, use run_id instead] ID of the run to update..booleanUpdated status of the run.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(Service.UpdateRun other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setEndTime(long value) Unix timestamp in milliseconds of when the run ended.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) ID of the run to update.setRunIdBytes(com.google.protobuf.ByteString value) ID of the run to update.setRunName(String value) Updated name of the run.setRunNameBytes(com.google.protobuf.ByteString value) Updated name of the run.setRunUuid(String value) [Deprecated, use run_id instead] ID of the run to update..setRunUuidBytes(com.google.protobuf.ByteString value) [Deprecated, use run_id instead] ID of the run to update..setStatus(Service.RunStatus value) Updated status of the run.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.UpdateRun.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.UpdateRun.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.UpdateRun.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.UpdateRun.Builder>
-
setField
public Service.UpdateRun.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.UpdateRun.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.UpdateRun.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.UpdateRun.Builder>
-
setRepeatedField
public Service.UpdateRun.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.UpdateRun.Builder>
-
addRepeatedField
public Service.UpdateRun.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.UpdateRun.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Service.UpdateRun.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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 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.UpdateRun.Builder>- Throws:
IOException
-
hasRunId
public boolean hasRunId()ID of the run to update. Must be provided.
optional string run_id = 4;- Specified by:
hasRunIdin interfaceService.UpdateRunOrBuilder- Returns:
- Whether the runId field is set.
-
getRunId
ID of the run to update. Must be provided.
optional string run_id = 4;- Specified by:
getRunIdin 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:
getRunIdBytesin interfaceService.UpdateRunOrBuilder- Returns:
- The bytes for runId.
-
setRunId
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
ID of the run to update. Must be provided.
optional string run_id = 4;- Returns:
- This builder for chaining.
-
setRunIdBytes
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:
hasRunUuidin interfaceService.UpdateRunOrBuilder- Returns:
- Whether the runUuid field is set.
-
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:
getRunUuidin 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:
getRunUuidBytesin interfaceService.UpdateRunOrBuilder- Returns:
- The bytes for runUuid.
-
setRunUuid
[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
[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
[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:
hasStatusin interfaceService.UpdateRunOrBuilder- Returns:
- Whether the status field is set.
-
getStatus
Updated status of the run.
optional .mlflow.RunStatus status = 2;- Specified by:
getStatusin interfaceService.UpdateRunOrBuilder- Returns:
- The status.
-
setStatus
Updated status of the run.
optional .mlflow.RunStatus status = 2;- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
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:
hasEndTimein 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:
getEndTimein interfaceService.UpdateRunOrBuilder- Returns:
- The endTime.
-
setEndTime
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
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:
hasRunNamein interfaceService.UpdateRunOrBuilder- Returns:
- Whether the runName field is set.
-
getRunName
Updated name of the run.
optional string run_name = 5;- Specified by:
getRunNamein interfaceService.UpdateRunOrBuilder- Returns:
- The runName.
-
getRunNameBytes
public com.google.protobuf.ByteString getRunNameBytes()Updated name of the run.
optional string run_name = 5;- Specified by:
getRunNameBytesin interfaceService.UpdateRunOrBuilder- Returns:
- The bytes for runName.
-
setRunName
Updated name of the run.
optional string run_name = 5;- Parameters:
value- The runName to set.- Returns:
- This builder for chaining.
-
clearRunName
Updated name of the run.
optional string run_name = 5;- Returns:
- This builder for chaining.
-
setRunNameBytes
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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.UpdateRun.Builder>
-
mergeUnknownFields
public final Service.UpdateRun.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.UpdateRun.Builder>
-