Class Service.RestoreRun.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Service.RestoreRun.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<Service.RestoreRun.Builder>
org.mlflow.api.proto.Service.RestoreRun.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, Service.RestoreRunOrBuilder
Enclosing class:
Service.RestoreRun

public static final class Service.RestoreRun.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Service.RestoreRun.Builder> implements Service.RestoreRunOrBuilder
Protobuf type mlflow.RestoreRun
  • 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.RestoreRun.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.RestoreRun.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.RestoreRun.Builder>
    • getDefaultInstanceForType

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

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

      public Service.RestoreRun buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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.RestoreRun.Builder>
    • setField

      public Service.RestoreRun.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.RestoreRun.Builder>
    • clearField

      public Service.RestoreRun.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.RestoreRun.Builder>
    • clearOneof

      public Service.RestoreRun.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.RestoreRun.Builder>
    • setRepeatedField

      public Service.RestoreRun.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.RestoreRun.Builder>
    • addRepeatedField

      public Service.RestoreRun.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.RestoreRun.Builder>
    • mergeFrom

      public Service.RestoreRun.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.RestoreRun.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Service.RestoreRun.Builder>
    • mergeFrom

      public Service.RestoreRun.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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.RestoreRun.Builder>
      Throws:
      IOException
    • hasRunId

      public boolean hasRunId()
       ID of the run to restore.
       
      optional string run_id = 1 [(.mlflow.validate_required) = true];
      Specified by:
      hasRunId in interface Service.RestoreRunOrBuilder
      Returns:
      Whether the runId field is set.
    • getRunId

      public String getRunId()
       ID of the run to restore.
       
      optional string run_id = 1 [(.mlflow.validate_required) = true];
      Specified by:
      getRunId in interface Service.RestoreRunOrBuilder
      Returns:
      The runId.
    • getRunIdBytes

      public com.google.protobuf.ByteString getRunIdBytes()
       ID of the run to restore.
       
      optional string run_id = 1 [(.mlflow.validate_required) = true];
      Specified by:
      getRunIdBytes in interface Service.RestoreRunOrBuilder
      Returns:
      The bytes for runId.
    • setRunId

      public Service.RestoreRun.Builder setRunId(String value)
       ID of the run to restore.
       
      optional string run_id = 1 [(.mlflow.validate_required) = true];
      Parameters:
      value - The runId to set.
      Returns:
      This builder for chaining.
    • clearRunId

      public Service.RestoreRun.Builder clearRunId()
       ID of the run to restore.
       
      optional string run_id = 1 [(.mlflow.validate_required) = true];
      Returns:
      This builder for chaining.
    • setRunIdBytes

      public Service.RestoreRun.Builder setRunIdBytes(com.google.protobuf.ByteString value)
       ID of the run to restore.
       
      optional string run_id = 1 [(.mlflow.validate_required) = true];
      Parameters:
      value - The bytes for runId to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final Service.RestoreRun.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.RestoreRun.Builder>
    • mergeUnknownFields

      public final Service.RestoreRun.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.RestoreRun.Builder>