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 type mlflow.UpdateRun
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Service.UpdateRun.Builder>
    • clear

      public Service.UpdateRun.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<Service.UpdateRun.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Service.UpdateRun.Builder>
    • getDefaultInstanceForType

      public Service.UpdateRun getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Service.UpdateRun build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Service.UpdateRun buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public Service.UpdateRun.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.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 interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.UpdateRun.Builder>
    • clearField

      public Service.UpdateRun.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.UpdateRun.Builder>
    • clearOneof

      public Service.UpdateRun.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.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 interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.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 interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.UpdateRun.Builder>
    • mergeFrom

      public Service.UpdateRun.Builder mergeFrom​(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.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 interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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 interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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 interface Service.UpdateRunOrBuilder
    • getRunId

      public java.lang.String getRunId()
       ID of the run to update. Must be provided.
       
      optional string run_id = 4;
      Specified by:
      getRunId in interface Service.UpdateRunOrBuilder
    • 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 interface Service.UpdateRunOrBuilder
    • setRunId

      public Service.UpdateRun.Builder setRunId​(java.lang.String value)
       ID of the run to update. Must be provided.
       
      optional string run_id = 4;
    • clearRunId

      public Service.UpdateRun.Builder clearRunId()
       ID of the run to update. Must be provided.
       
      optional string run_id = 4;
    • 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;
    • 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 interface Service.UpdateRunOrBuilder
    • 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 interface Service.UpdateRunOrBuilder
    • 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 interface Service.UpdateRunOrBuilder
    • 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;
    • 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;
    • 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;
    • hasStatus

      public boolean hasStatus()
       Updated status of the run.
       
      optional .mlflow.RunStatus status = 2;
      Specified by:
      hasStatus in interface Service.UpdateRunOrBuilder
    • getStatus

      public Service.RunStatus getStatus()
       Updated status of the run.
       
      optional .mlflow.RunStatus status = 2;
      Specified by:
      getStatus in interface Service.UpdateRunOrBuilder
    • setStatus

      public Service.UpdateRun.Builder setStatus​(Service.RunStatus value)
       Updated status of the run.
       
      optional .mlflow.RunStatus status = 2;
    • clearStatus

      public Service.UpdateRun.Builder clearStatus()
       Updated status of the run.
       
      optional .mlflow.RunStatus status = 2;
    • hasEndTime

      public boolean hasEndTime()
      Unix timestamp in milliseconds of when the run ended.
       
      optional int64 end_time = 3;
      Specified by:
      hasEndTime in interface Service.UpdateRunOrBuilder
    • getEndTime

      public long getEndTime()
      Unix timestamp in milliseconds of when the run ended.
       
      optional int64 end_time = 3;
      Specified by:
      getEndTime in interface Service.UpdateRunOrBuilder
    • setEndTime

      public Service.UpdateRun.Builder setEndTime​(long value)
      Unix timestamp in milliseconds of when the run ended.
       
      optional int64 end_time = 3;
    • clearEndTime

      public Service.UpdateRun.Builder clearEndTime()
      Unix timestamp in milliseconds of when the run ended.
       
      optional int64 end_time = 3;
    • setUnknownFields

      public final Service.UpdateRun.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Service.UpdateRun.Builder>
    • mergeUnknownFields

      public final Service.UpdateRun.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Service.UpdateRun.Builder>