Class Issues.CreateIssue.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, Issues.CreateIssueOrBuilder
    Enclosing class:
    Issues.CreateIssue

    public static final class Issues.CreateIssue.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Issues.CreateIssue.Builder>
    implements Issues.CreateIssueOrBuilder
     Request to create a new issue.
     
    Protobuf type mlflow.issues.CreateIssue
    • 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<Issues.CreateIssue.Builder>
      • clear

        public Issues.CreateIssue.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<Issues.CreateIssue.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<Issues.CreateIssue.Builder>
      • getDefaultInstanceForType

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

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

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

        public Issues.CreateIssue.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<Issues.CreateIssue.Builder>
      • setField

        public Issues.CreateIssue.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<Issues.CreateIssue.Builder>
      • clearField

        public Issues.CreateIssue.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<Issues.CreateIssue.Builder>
      • clearOneof

        public Issues.CreateIssue.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<Issues.CreateIssue.Builder>
      • setRepeatedField

        public Issues.CreateIssue.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<Issues.CreateIssue.Builder>
      • addRepeatedField

        public Issues.CreateIssue.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<Issues.CreateIssue.Builder>
      • mergeFrom

        public Issues.CreateIssue.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<Issues.CreateIssue.Builder>
      • isInitialized

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

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

        public boolean hasExperimentId()
         Experiment ID.
         
        optional string experiment_id = 1 [(.mlflow.validate_required) = true];
        Specified by:
        hasExperimentId in interface Issues.CreateIssueOrBuilder
        Returns:
        Whether the experimentId field is set.
      • getExperimentId

        public java.lang.String getExperimentId()
         Experiment ID.
         
        optional string experiment_id = 1 [(.mlflow.validate_required) = true];
        Specified by:
        getExperimentId in interface Issues.CreateIssueOrBuilder
        Returns:
        The experimentId.
      • getExperimentIdBytes

        public com.google.protobuf.ByteString getExperimentIdBytes()
         Experiment ID.
         
        optional string experiment_id = 1 [(.mlflow.validate_required) = true];
        Specified by:
        getExperimentIdBytes in interface Issues.CreateIssueOrBuilder
        Returns:
        The bytes for experimentId.
      • setExperimentId

        public Issues.CreateIssue.Builder setExperimentId​(java.lang.String value)
         Experiment ID.
         
        optional string experiment_id = 1 [(.mlflow.validate_required) = true];
        Parameters:
        value - The experimentId to set.
        Returns:
        This builder for chaining.
      • clearExperimentId

        public Issues.CreateIssue.Builder clearExperimentId()
         Experiment ID.
         
        optional string experiment_id = 1 [(.mlflow.validate_required) = true];
        Returns:
        This builder for chaining.
      • setExperimentIdBytes

        public Issues.CreateIssue.Builder setExperimentIdBytes​(com.google.protobuf.ByteString value)
         Experiment ID.
         
        optional string experiment_id = 1 [(.mlflow.validate_required) = true];
        Parameters:
        value - The bytes for experimentId to set.
        Returns:
        This builder for chaining.
      • hasName

        public boolean hasName()
         Short descriptive name for the issue.
         
        optional string name = 2 [(.mlflow.validate_required) = true];
        Specified by:
        hasName in interface Issues.CreateIssueOrBuilder
        Returns:
        Whether the name field is set.
      • getName

        public java.lang.String getName()
         Short descriptive name for the issue.
         
        optional string name = 2 [(.mlflow.validate_required) = true];
        Specified by:
        getName in interface Issues.CreateIssueOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Short descriptive name for the issue.
         
        optional string name = 2 [(.mlflow.validate_required) = true];
        Specified by:
        getNameBytes in interface Issues.CreateIssueOrBuilder
        Returns:
        The bytes for name.
      • setName

        public Issues.CreateIssue.Builder setName​(java.lang.String value)
         Short descriptive name for the issue.
         
        optional string name = 2 [(.mlflow.validate_required) = true];
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public Issues.CreateIssue.Builder clearName()
         Short descriptive name for the issue.
         
        optional string name = 2 [(.mlflow.validate_required) = true];
        Returns:
        This builder for chaining.
      • setNameBytes

        public Issues.CreateIssue.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Short descriptive name for the issue.
         
        optional string name = 2 [(.mlflow.validate_required) = true];
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • hasDescription

        public boolean hasDescription()
         Detailed description of the issue.
         
        optional string description = 3 [(.mlflow.validate_required) = true];
        Specified by:
        hasDescription in interface Issues.CreateIssueOrBuilder
        Returns:
        Whether the description field is set.
      • getDescription

        public java.lang.String getDescription()
         Detailed description of the issue.
         
        optional string description = 3 [(.mlflow.validate_required) = true];
        Specified by:
        getDescription in interface Issues.CreateIssueOrBuilder
        Returns:
        The description.
      • getDescriptionBytes

        public com.google.protobuf.ByteString getDescriptionBytes()
         Detailed description of the issue.
         
        optional string description = 3 [(.mlflow.validate_required) = true];
        Specified by:
        getDescriptionBytes in interface Issues.CreateIssueOrBuilder
        Returns:
        The bytes for description.
      • setDescription

        public Issues.CreateIssue.Builder setDescription​(java.lang.String value)
         Detailed description of the issue.
         
        optional string description = 3 [(.mlflow.validate_required) = true];
        Parameters:
        value - The description to set.
        Returns:
        This builder for chaining.
      • clearDescription

        public Issues.CreateIssue.Builder clearDescription()
         Detailed description of the issue.
         
        optional string description = 3 [(.mlflow.validate_required) = true];
        Returns:
        This builder for chaining.
      • setDescriptionBytes

        public Issues.CreateIssue.Builder setDescriptionBytes​(com.google.protobuf.ByteString value)
         Detailed description of the issue.
         
        optional string description = 3 [(.mlflow.validate_required) = true];
        Parameters:
        value - The bytes for description to set.
        Returns:
        This builder for chaining.
      • hasStatus

        public boolean hasStatus()
         Issue status.
         
        optional string status = 4;
        Specified by:
        hasStatus in interface Issues.CreateIssueOrBuilder
        Returns:
        Whether the status field is set.
      • getStatusBytes

        public com.google.protobuf.ByteString getStatusBytes()
         Issue status.
         
        optional string status = 4;
        Specified by:
        getStatusBytes in interface Issues.CreateIssueOrBuilder
        Returns:
        The bytes for status.
      • setStatus

        public Issues.CreateIssue.Builder setStatus​(java.lang.String value)
         Issue status.
         
        optional string status = 4;
        Parameters:
        value - The status to set.
        Returns:
        This builder for chaining.
      • clearStatus

        public Issues.CreateIssue.Builder clearStatus()
         Issue status.
         
        optional string status = 4;
        Returns:
        This builder for chaining.
      • setStatusBytes

        public Issues.CreateIssue.Builder setStatusBytes​(com.google.protobuf.ByteString value)
         Issue status.
         
        optional string status = 4;
        Parameters:
        value - The bytes for status to set.
        Returns:
        This builder for chaining.
      • hasSeverity

        public boolean hasSeverity()
         Severity level indicator.
         
        optional string severity = 5;
        Specified by:
        hasSeverity in interface Issues.CreateIssueOrBuilder
        Returns:
        Whether the severity field is set.
      • getSeverity

        public java.lang.String getSeverity()
         Severity level indicator.
         
        optional string severity = 5;
        Specified by:
        getSeverity in interface Issues.CreateIssueOrBuilder
        Returns:
        The severity.
      • getSeverityBytes

        public com.google.protobuf.ByteString getSeverityBytes()
         Severity level indicator.
         
        optional string severity = 5;
        Specified by:
        getSeverityBytes in interface Issues.CreateIssueOrBuilder
        Returns:
        The bytes for severity.
      • setSeverity

        public Issues.CreateIssue.Builder setSeverity​(java.lang.String value)
         Severity level indicator.
         
        optional string severity = 5;
        Parameters:
        value - The severity to set.
        Returns:
        This builder for chaining.
      • clearSeverity

        public Issues.CreateIssue.Builder clearSeverity()
         Severity level indicator.
         
        optional string severity = 5;
        Returns:
        This builder for chaining.
      • setSeverityBytes

        public Issues.CreateIssue.Builder setSeverityBytes​(com.google.protobuf.ByteString value)
         Severity level indicator.
         
        optional string severity = 5;
        Parameters:
        value - The bytes for severity to set.
        Returns:
        This builder for chaining.
      • getRootCausesList

        public com.google.protobuf.ProtocolStringList getRootCausesList()
         Analysis of the root causes of the issue.
         
        repeated string root_causes = 6;
        Specified by:
        getRootCausesList in interface Issues.CreateIssueOrBuilder
        Returns:
        A list containing the rootCauses.
      • getRootCausesCount

        public int getRootCausesCount()
         Analysis of the root causes of the issue.
         
        repeated string root_causes = 6;
        Specified by:
        getRootCausesCount in interface Issues.CreateIssueOrBuilder
        Returns:
        The count of rootCauses.
      • getRootCauses

        public java.lang.String getRootCauses​(int index)
         Analysis of the root causes of the issue.
         
        repeated string root_causes = 6;
        Specified by:
        getRootCauses in interface Issues.CreateIssueOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The rootCauses at the given index.
      • getRootCausesBytes

        public com.google.protobuf.ByteString getRootCausesBytes​(int index)
         Analysis of the root causes of the issue.
         
        repeated string root_causes = 6;
        Specified by:
        getRootCausesBytes in interface Issues.CreateIssueOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the rootCauses at the given index.
      • setRootCauses

        public Issues.CreateIssue.Builder setRootCauses​(int index,
                                                        java.lang.String value)
         Analysis of the root causes of the issue.
         
        repeated string root_causes = 6;
        Parameters:
        index - The index to set the value at.
        value - The rootCauses to set.
        Returns:
        This builder for chaining.
      • addRootCauses

        public Issues.CreateIssue.Builder addRootCauses​(java.lang.String value)
         Analysis of the root causes of the issue.
         
        repeated string root_causes = 6;
        Parameters:
        value - The rootCauses to add.
        Returns:
        This builder for chaining.
      • addAllRootCauses

        public Issues.CreateIssue.Builder addAllRootCauses​(java.lang.Iterable<java.lang.String> values)
         Analysis of the root causes of the issue.
         
        repeated string root_causes = 6;
        Parameters:
        values - The rootCauses to add.
        Returns:
        This builder for chaining.
      • clearRootCauses

        public Issues.CreateIssue.Builder clearRootCauses()
         Analysis of the root causes of the issue.
         
        repeated string root_causes = 6;
        Returns:
        This builder for chaining.
      • addRootCausesBytes

        public Issues.CreateIssue.Builder addRootCausesBytes​(com.google.protobuf.ByteString value)
         Analysis of the root causes of the issue.
         
        repeated string root_causes = 6;
        Parameters:
        value - The bytes of the rootCauses to add.
        Returns:
        This builder for chaining.
      • hasSourceRunId

        public boolean hasSourceRunId()
         MLflow run ID that discovered this issue.
         
        optional string source_run_id = 7;
        Specified by:
        hasSourceRunId in interface Issues.CreateIssueOrBuilder
        Returns:
        Whether the sourceRunId field is set.
      • getSourceRunId

        public java.lang.String getSourceRunId()
         MLflow run ID that discovered this issue.
         
        optional string source_run_id = 7;
        Specified by:
        getSourceRunId in interface Issues.CreateIssueOrBuilder
        Returns:
        The sourceRunId.
      • getSourceRunIdBytes

        public com.google.protobuf.ByteString getSourceRunIdBytes()
         MLflow run ID that discovered this issue.
         
        optional string source_run_id = 7;
        Specified by:
        getSourceRunIdBytes in interface Issues.CreateIssueOrBuilder
        Returns:
        The bytes for sourceRunId.
      • setSourceRunId

        public Issues.CreateIssue.Builder setSourceRunId​(java.lang.String value)
         MLflow run ID that discovered this issue.
         
        optional string source_run_id = 7;
        Parameters:
        value - The sourceRunId to set.
        Returns:
        This builder for chaining.
      • clearSourceRunId

        public Issues.CreateIssue.Builder clearSourceRunId()
         MLflow run ID that discovered this issue.
         
        optional string source_run_id = 7;
        Returns:
        This builder for chaining.
      • setSourceRunIdBytes

        public Issues.CreateIssue.Builder setSourceRunIdBytes​(com.google.protobuf.ByteString value)
         MLflow run ID that discovered this issue.
         
        optional string source_run_id = 7;
        Parameters:
        value - The bytes for sourceRunId to set.
        Returns:
        This builder for chaining.
      • hasCreatedBy

        public boolean hasCreatedBy()
         Identifier for who created this issue.
         
        optional string created_by = 8;
        Specified by:
        hasCreatedBy in interface Issues.CreateIssueOrBuilder
        Returns:
        Whether the createdBy field is set.
      • getCreatedBy

        public java.lang.String getCreatedBy()
         Identifier for who created this issue.
         
        optional string created_by = 8;
        Specified by:
        getCreatedBy in interface Issues.CreateIssueOrBuilder
        Returns:
        The createdBy.
      • getCreatedByBytes

        public com.google.protobuf.ByteString getCreatedByBytes()
         Identifier for who created this issue.
         
        optional string created_by = 8;
        Specified by:
        getCreatedByBytes in interface Issues.CreateIssueOrBuilder
        Returns:
        The bytes for createdBy.
      • setCreatedBy

        public Issues.CreateIssue.Builder setCreatedBy​(java.lang.String value)
         Identifier for who created this issue.
         
        optional string created_by = 8;
        Parameters:
        value - The createdBy to set.
        Returns:
        This builder for chaining.
      • clearCreatedBy

        public Issues.CreateIssue.Builder clearCreatedBy()
         Identifier for who created this issue.
         
        optional string created_by = 8;
        Returns:
        This builder for chaining.
      • setCreatedByBytes

        public Issues.CreateIssue.Builder setCreatedByBytes​(com.google.protobuf.ByteString value)
         Identifier for who created this issue.
         
        optional string created_by = 8;
        Parameters:
        value - The bytes for createdBy to set.
        Returns:
        This builder for chaining.
      • getCategoriesList

        public com.google.protobuf.ProtocolStringList getCategoriesList()
         Categories of the issue.
         
        repeated string categories = 9;
        Specified by:
        getCategoriesList in interface Issues.CreateIssueOrBuilder
        Returns:
        A list containing the categories.
      • getCategories

        public java.lang.String getCategories​(int index)
         Categories of the issue.
         
        repeated string categories = 9;
        Specified by:
        getCategories in interface Issues.CreateIssueOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The categories at the given index.
      • getCategoriesBytes

        public com.google.protobuf.ByteString getCategoriesBytes​(int index)
         Categories of the issue.
         
        repeated string categories = 9;
        Specified by:
        getCategoriesBytes in interface Issues.CreateIssueOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the categories at the given index.
      • setCategories

        public Issues.CreateIssue.Builder setCategories​(int index,
                                                        java.lang.String value)
         Categories of the issue.
         
        repeated string categories = 9;
        Parameters:
        index - The index to set the value at.
        value - The categories to set.
        Returns:
        This builder for chaining.
      • addCategories

        public Issues.CreateIssue.Builder addCategories​(java.lang.String value)
         Categories of the issue.
         
        repeated string categories = 9;
        Parameters:
        value - The categories to add.
        Returns:
        This builder for chaining.
      • addAllCategories

        public Issues.CreateIssue.Builder addAllCategories​(java.lang.Iterable<java.lang.String> values)
         Categories of the issue.
         
        repeated string categories = 9;
        Parameters:
        values - The categories to add.
        Returns:
        This builder for chaining.
      • clearCategories

        public Issues.CreateIssue.Builder clearCategories()
         Categories of the issue.
         
        repeated string categories = 9;
        Returns:
        This builder for chaining.
      • addCategoriesBytes

        public Issues.CreateIssue.Builder addCategoriesBytes​(com.google.protobuf.ByteString value)
         Categories of the issue.
         
        repeated string categories = 9;
        Parameters:
        value - The bytes of the categories to add.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final Issues.CreateIssue.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<Issues.CreateIssue.Builder>
      • mergeUnknownFields

        public final Issues.CreateIssue.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<Issues.CreateIssue.Builder>