Class Service.CreateRun.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Service.CreateRun.Builder>
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, 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 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.CreateRun.Builder>
    • clear

      public Service.CreateRun.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.CreateRun.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.CreateRun.Builder>
    • getDefaultInstanceForType

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

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

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

      public Service.CreateRun.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.CreateRun.Builder>
    • setField

      public Service.CreateRun.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.CreateRun.Builder>
    • clearField

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

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

      public Service.CreateRun.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.CreateRun.Builder>
    • addRepeatedField

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

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

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

      public Service.CreateRun.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.CreateRun.Builder>
      Throws:
      IOException
    • hasExperimentId

      public boolean hasExperimentId()
       ID of the associated experiment.
       
      optional string experiment_id = 1;
      Specified by:
      hasExperimentId in interface Service.CreateRunOrBuilder
      Returns:
      Whether the experimentId field is set.
    • getExperimentId

      public String getExperimentId()
       ID of the associated experiment.
       
      optional string experiment_id = 1;
      Specified by:
      getExperimentId in interface Service.CreateRunOrBuilder
      Returns:
      The experimentId.
    • getExperimentIdBytes

      public com.google.protobuf.ByteString getExperimentIdBytes()
       ID of the associated experiment.
       
      optional string experiment_id = 1;
      Specified by:
      getExperimentIdBytes in interface Service.CreateRunOrBuilder
      Returns:
      The bytes for experimentId.
    • setExperimentId

      public Service.CreateRun.Builder setExperimentId(String value)
       ID of the associated experiment.
       
      optional string experiment_id = 1;
      Parameters:
      value - The experimentId to set.
      Returns:
      This builder for chaining.
    • clearExperimentId

      public Service.CreateRun.Builder clearExperimentId()
       ID of the associated experiment.
       
      optional string experiment_id = 1;
      Returns:
      This builder for chaining.
    • setExperimentIdBytes

      public Service.CreateRun.Builder setExperimentIdBytes(com.google.protobuf.ByteString value)
       ID of the associated experiment.
       
      optional string experiment_id = 1;
      Parameters:
      value - The bytes for experimentId to set.
      Returns:
      This builder for chaining.
    • 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 interface Service.CreateRunOrBuilder
      Returns:
      Whether the userId field is set.
    • getUserId

      public 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 interface Service.CreateRunOrBuilder
      Returns:
      The userId.
    • 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 interface Service.CreateRunOrBuilder
      Returns:
      The bytes for userId.
    • setUserId

      public Service.CreateRun.Builder setUserId(String value)
       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;
      Parameters:
      value - The userId to set.
      Returns:
      This builder for chaining.
    • clearUserId

      public Service.CreateRun.Builder 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;
      Returns:
      This builder for chaining.
    • setUserIdBytes

      public Service.CreateRun.Builder setUserIdBytes(com.google.protobuf.ByteString value)
       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;
      Parameters:
      value - The bytes for userId to set.
      Returns:
      This builder for chaining.
    • hasRunName

      public boolean hasRunName()
       Name of the run.
       
      optional string run_name = 3;
      Specified by:
      hasRunName in interface Service.CreateRunOrBuilder
      Returns:
      Whether the runName field is set.
    • getRunName

      public String getRunName()
       Name of the run.
       
      optional string run_name = 3;
      Specified by:
      getRunName in interface Service.CreateRunOrBuilder
      Returns:
      The runName.
    • getRunNameBytes

      public com.google.protobuf.ByteString getRunNameBytes()
       Name of the run.
       
      optional string run_name = 3;
      Specified by:
      getRunNameBytes in interface Service.CreateRunOrBuilder
      Returns:
      The bytes for runName.
    • setRunName

      public Service.CreateRun.Builder setRunName(String value)
       Name of the run.
       
      optional string run_name = 3;
      Parameters:
      value - The runName to set.
      Returns:
      This builder for chaining.
    • clearRunName

      public Service.CreateRun.Builder clearRunName()
       Name of the run.
       
      optional string run_name = 3;
      Returns:
      This builder for chaining.
    • setRunNameBytes

      public Service.CreateRun.Builder setRunNameBytes(com.google.protobuf.ByteString value)
       Name of the run.
       
      optional string run_name = 3;
      Parameters:
      value - The bytes for runName to set.
      Returns:
      This builder for chaining.
    • hasStartTime

      public boolean hasStartTime()
       Unix timestamp in milliseconds of when the run started.
       
      optional int64 start_time = 7;
      Specified by:
      hasStartTime in interface Service.CreateRunOrBuilder
      Returns:
      Whether the startTime field is set.
    • getStartTime

      public long getStartTime()
       Unix timestamp in milliseconds of when the run started.
       
      optional int64 start_time = 7;
      Specified by:
      getStartTime in interface Service.CreateRunOrBuilder
      Returns:
      The startTime.
    • setStartTime

      public Service.CreateRun.Builder setStartTime(long value)
       Unix timestamp in milliseconds of when the run started.
       
      optional int64 start_time = 7;
      Parameters:
      value - The startTime to set.
      Returns:
      This builder for chaining.
    • clearStartTime

      public Service.CreateRun.Builder clearStartTime()
       Unix timestamp in milliseconds of when the run started.
       
      optional int64 start_time = 7;
      Returns:
      This builder for chaining.
    • getTagsList

      public List<Service.RunTag> getTagsList()
       Additional metadata for run.
       
      repeated .mlflow.RunTag tags = 9;
      Specified by:
      getTagsList in interface Service.CreateRunOrBuilder
    • getTagsCount

      public int getTagsCount()
       Additional metadata for run.
       
      repeated .mlflow.RunTag tags = 9;
      Specified by:
      getTagsCount in interface Service.CreateRunOrBuilder
    • getTags

      public Service.RunTag getTags(int index)
       Additional metadata for run.
       
      repeated .mlflow.RunTag tags = 9;
      Specified by:
      getTags in interface Service.CreateRunOrBuilder
    • setTags

      public Service.CreateRun.Builder setTags(int index, Service.RunTag value)
       Additional metadata for run.
       
      repeated .mlflow.RunTag tags = 9;
    • setTags

      public Service.CreateRun.Builder setTags(int index, Service.RunTag.Builder builderForValue)
       Additional metadata for run.
       
      repeated .mlflow.RunTag tags = 9;
    • addTags

      public Service.CreateRun.Builder addTags(Service.RunTag value)
       Additional metadata for run.
       
      repeated .mlflow.RunTag tags = 9;
    • addTags

      public Service.CreateRun.Builder addTags(int index, Service.RunTag value)
       Additional metadata for run.
       
      repeated .mlflow.RunTag tags = 9;
    • addTags

      public Service.CreateRun.Builder addTags(Service.RunTag.Builder builderForValue)
       Additional metadata for run.
       
      repeated .mlflow.RunTag tags = 9;
    • addTags

      public Service.CreateRun.Builder addTags(int index, Service.RunTag.Builder builderForValue)
       Additional metadata for run.
       
      repeated .mlflow.RunTag tags = 9;
    • addAllTags

      public Service.CreateRun.Builder addAllTags(Iterable<? extends Service.RunTag> values)
       Additional metadata for run.
       
      repeated .mlflow.RunTag tags = 9;
    • clearTags

      public Service.CreateRun.Builder clearTags()
       Additional metadata for run.
       
      repeated .mlflow.RunTag tags = 9;
    • removeTags

      public Service.CreateRun.Builder removeTags(int index)
       Additional metadata for run.
       
      repeated .mlflow.RunTag tags = 9;
    • getTagsBuilder

      public Service.RunTag.Builder getTagsBuilder(int index)
       Additional metadata for run.
       
      repeated .mlflow.RunTag tags = 9;
    • getTagsOrBuilder

      public Service.RunTagOrBuilder getTagsOrBuilder(int index)
       Additional metadata for run.
       
      repeated .mlflow.RunTag tags = 9;
      Specified by:
      getTagsOrBuilder in interface Service.CreateRunOrBuilder
    • getTagsOrBuilderList

      public List<? extends Service.RunTagOrBuilder> getTagsOrBuilderList()
       Additional metadata for run.
       
      repeated .mlflow.RunTag tags = 9;
      Specified by:
      getTagsOrBuilderList in interface Service.CreateRunOrBuilder
    • addTagsBuilder

      public Service.RunTag.Builder addTagsBuilder()
       Additional metadata for run.
       
      repeated .mlflow.RunTag tags = 9;
    • addTagsBuilder

      public Service.RunTag.Builder addTagsBuilder(int index)
       Additional metadata for run.
       
      repeated .mlflow.RunTag tags = 9;
    • getTagsBuilderList

      public List<Service.RunTag.Builder> 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 interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Service.CreateRun.Builder>
    • mergeUnknownFields

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