Class Service.Experiment.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.ExperimentOrBuilder
    Enclosing class:
    Service.Experiment

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

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

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

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

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

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

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

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

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

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

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

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

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

        public boolean hasExperimentId()
         Unique identifier for the experiment.
         
        optional string experiment_id = 1;
        Specified by:
        hasExperimentId in interface Service.ExperimentOrBuilder
        Returns:
        Whether the experimentId field is set.
      • getExperimentId

        public java.lang.String getExperimentId()
         Unique identifier for the experiment.
         
        optional string experiment_id = 1;
        Specified by:
        getExperimentId in interface Service.ExperimentOrBuilder
        Returns:
        The experimentId.
      • getExperimentIdBytes

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

        public Service.Experiment.Builder setExperimentId​(java.lang.String value)
         Unique identifier for the experiment.
         
        optional string experiment_id = 1;
        Parameters:
        value - The experimentId to set.
        Returns:
        This builder for chaining.
      • clearExperimentId

        public Service.Experiment.Builder clearExperimentId()
         Unique identifier for the experiment.
         
        optional string experiment_id = 1;
        Returns:
        This builder for chaining.
      • setExperimentIdBytes

        public Service.Experiment.Builder setExperimentIdBytes​(com.google.protobuf.ByteString value)
         Unique identifier for the experiment.
         
        optional string experiment_id = 1;
        Parameters:
        value - The bytes for experimentId to set.
        Returns:
        This builder for chaining.
      • hasName

        public boolean hasName()
         Human readable name that identifies the experiment.
         
        optional string name = 2;
        Specified by:
        hasName in interface Service.ExperimentOrBuilder
        Returns:
        Whether the name field is set.
      • getName

        public java.lang.String getName()
         Human readable name that identifies the experiment.
         
        optional string name = 2;
        Specified by:
        getName in interface Service.ExperimentOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Human readable name that identifies the experiment.
         
        optional string name = 2;
        Specified by:
        getNameBytes in interface Service.ExperimentOrBuilder
        Returns:
        The bytes for name.
      • setName

        public Service.Experiment.Builder setName​(java.lang.String value)
         Human readable name that identifies the experiment.
         
        optional string name = 2;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public Service.Experiment.Builder clearName()
         Human readable name that identifies the experiment.
         
        optional string name = 2;
        Returns:
        This builder for chaining.
      • setNameBytes

        public Service.Experiment.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Human readable name that identifies the experiment.
         
        optional string name = 2;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • hasArtifactLocation

        public boolean hasArtifactLocation()
         Location where artifacts for the experiment are stored.
         
        optional string artifact_location = 3;
        Specified by:
        hasArtifactLocation in interface Service.ExperimentOrBuilder
        Returns:
        Whether the artifactLocation field is set.
      • getArtifactLocation

        public java.lang.String getArtifactLocation()
         Location where artifacts for the experiment are stored.
         
        optional string artifact_location = 3;
        Specified by:
        getArtifactLocation in interface Service.ExperimentOrBuilder
        Returns:
        The artifactLocation.
      • getArtifactLocationBytes

        public com.google.protobuf.ByteString getArtifactLocationBytes()
         Location where artifacts for the experiment are stored.
         
        optional string artifact_location = 3;
        Specified by:
        getArtifactLocationBytes in interface Service.ExperimentOrBuilder
        Returns:
        The bytes for artifactLocation.
      • setArtifactLocation

        public Service.Experiment.Builder setArtifactLocation​(java.lang.String value)
         Location where artifacts for the experiment are stored.
         
        optional string artifact_location = 3;
        Parameters:
        value - The artifactLocation to set.
        Returns:
        This builder for chaining.
      • clearArtifactLocation

        public Service.Experiment.Builder clearArtifactLocation()
         Location where artifacts for the experiment are stored.
         
        optional string artifact_location = 3;
        Returns:
        This builder for chaining.
      • setArtifactLocationBytes

        public Service.Experiment.Builder setArtifactLocationBytes​(com.google.protobuf.ByteString value)
         Location where artifacts for the experiment are stored.
         
        optional string artifact_location = 3;
        Parameters:
        value - The bytes for artifactLocation to set.
        Returns:
        This builder for chaining.
      • hasLifecycleStage

        public boolean hasLifecycleStage()
         Current life cycle stage of the experiment: "active" or "deleted".
         Deleted experiments are not returned by APIs.
         
        optional string lifecycle_stage = 4;
        Specified by:
        hasLifecycleStage in interface Service.ExperimentOrBuilder
        Returns:
        Whether the lifecycleStage field is set.
      • getLifecycleStage

        public java.lang.String getLifecycleStage()
         Current life cycle stage of the experiment: "active" or "deleted".
         Deleted experiments are not returned by APIs.
         
        optional string lifecycle_stage = 4;
        Specified by:
        getLifecycleStage in interface Service.ExperimentOrBuilder
        Returns:
        The lifecycleStage.
      • getLifecycleStageBytes

        public com.google.protobuf.ByteString getLifecycleStageBytes()
         Current life cycle stage of the experiment: "active" or "deleted".
         Deleted experiments are not returned by APIs.
         
        optional string lifecycle_stage = 4;
        Specified by:
        getLifecycleStageBytes in interface Service.ExperimentOrBuilder
        Returns:
        The bytes for lifecycleStage.
      • setLifecycleStage

        public Service.Experiment.Builder setLifecycleStage​(java.lang.String value)
         Current life cycle stage of the experiment: "active" or "deleted".
         Deleted experiments are not returned by APIs.
         
        optional string lifecycle_stage = 4;
        Parameters:
        value - The lifecycleStage to set.
        Returns:
        This builder for chaining.
      • clearLifecycleStage

        public Service.Experiment.Builder clearLifecycleStage()
         Current life cycle stage of the experiment: "active" or "deleted".
         Deleted experiments are not returned by APIs.
         
        optional string lifecycle_stage = 4;
        Returns:
        This builder for chaining.
      • setLifecycleStageBytes

        public Service.Experiment.Builder setLifecycleStageBytes​(com.google.protobuf.ByteString value)
         Current life cycle stage of the experiment: "active" or "deleted".
         Deleted experiments are not returned by APIs.
         
        optional string lifecycle_stage = 4;
        Parameters:
        value - The bytes for lifecycleStage to set.
        Returns:
        This builder for chaining.
      • hasLastUpdateTime

        public boolean hasLastUpdateTime()
         Last update time
         
        optional int64 last_update_time = 5;
        Specified by:
        hasLastUpdateTime in interface Service.ExperimentOrBuilder
        Returns:
        Whether the lastUpdateTime field is set.
      • setLastUpdateTime

        public Service.Experiment.Builder setLastUpdateTime​(long value)
         Last update time
         
        optional int64 last_update_time = 5;
        Parameters:
        value - The lastUpdateTime to set.
        Returns:
        This builder for chaining.
      • clearLastUpdateTime

        public Service.Experiment.Builder clearLastUpdateTime()
         Last update time
         
        optional int64 last_update_time = 5;
        Returns:
        This builder for chaining.
      • hasCreationTime

        public boolean hasCreationTime()
         Creation time
         
        optional int64 creation_time = 6;
        Specified by:
        hasCreationTime in interface Service.ExperimentOrBuilder
        Returns:
        Whether the creationTime field is set.
      • setCreationTime

        public Service.Experiment.Builder setCreationTime​(long value)
         Creation time
         
        optional int64 creation_time = 6;
        Parameters:
        value - The creationTime to set.
        Returns:
        This builder for chaining.
      • clearCreationTime

        public Service.Experiment.Builder clearCreationTime()
         Creation time
         
        optional int64 creation_time = 6;
        Returns:
        This builder for chaining.
      • getTagsCount

        public int getTagsCount()
         Tags: Additional metadata key-value pairs.
         
        repeated .mlflow.ExperimentTag tags = 7;
        Specified by:
        getTagsCount in interface Service.ExperimentOrBuilder
      • clearTags

        public Service.Experiment.Builder clearTags()
         Tags: Additional metadata key-value pairs.
         
        repeated .mlflow.ExperimentTag tags = 7;
      • removeTags

        public Service.Experiment.Builder removeTags​(int index)
         Tags: Additional metadata key-value pairs.
         
        repeated .mlflow.ExperimentTag tags = 7;
      • getTagsBuilder

        public Service.ExperimentTag.Builder getTagsBuilder​(int index)
         Tags: Additional metadata key-value pairs.
         
        repeated .mlflow.ExperimentTag tags = 7;
      • addTagsBuilder

        public Service.ExperimentTag.Builder addTagsBuilder()
         Tags: Additional metadata key-value pairs.
         
        repeated .mlflow.ExperimentTag tags = 7;
      • addTagsBuilder

        public Service.ExperimentTag.Builder addTagsBuilder​(int index)
         Tags: Additional metadata key-value pairs.
         
        repeated .mlflow.ExperimentTag tags = 7;
      • getTagsBuilderList

        public java.util.List<Service.ExperimentTag.Builder> getTagsBuilderList()
         Tags: Additional metadata key-value pairs.
         
        repeated .mlflow.ExperimentTag tags = 7;
      • setUnknownFields

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

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