Class Service.CreateRun.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.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 Detail

      • 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,
                                                  java.lang.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,
                                                          java.lang.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,
                                                          java.lang.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>
      • 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 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.CreateRun.Builder>
        Throws:
        java.io.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 java.lang.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​(java.lang.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 java.lang.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​(java.lang.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.
      • 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.
      • 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;
      • 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 java.util.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>