Class Assessments.Assessment.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetMapField

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Assessments.Assessment.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Assessments.Assessment.Builder>
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Assessments.Assessment.Builder>
      • clear

        public Assessments.Assessment.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<Assessments.Assessment.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<Assessments.Assessment.Builder>
      • getDefaultInstanceForType

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

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

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

        public Assessments.Assessment.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<Assessments.Assessment.Builder>
      • setField

        public Assessments.Assessment.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<Assessments.Assessment.Builder>
      • clearField

        public Assessments.Assessment.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<Assessments.Assessment.Builder>
      • clearOneof

        public Assessments.Assessment.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<Assessments.Assessment.Builder>
      • setRepeatedField

        public Assessments.Assessment.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<Assessments.Assessment.Builder>
      • addRepeatedField

        public Assessments.Assessment.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<Assessments.Assessment.Builder>
      • isInitialized

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

        public Assessments.Assessment.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<Assessments.Assessment.Builder>
        Throws:
        java.io.IOException
      • hasAssessmentId

        public boolean hasAssessmentId()
         Unique ID of the assessment.
         NB: This is not marked as required field via "validate_required", because the message is
          used in the context of creating a new assessment, where the ID is not known.
         
        optional string assessment_id = 1;
        Specified by:
        hasAssessmentId in interface Assessments.AssessmentOrBuilder
        Returns:
        Whether the assessmentId field is set.
      • getAssessmentId

        public java.lang.String getAssessmentId()
         Unique ID of the assessment.
         NB: This is not marked as required field via "validate_required", because the message is
          used in the context of creating a new assessment, where the ID is not known.
         
        optional string assessment_id = 1;
        Specified by:
        getAssessmentId in interface Assessments.AssessmentOrBuilder
        Returns:
        The assessmentId.
      • getAssessmentIdBytes

        public com.google.protobuf.ByteString getAssessmentIdBytes()
         Unique ID of the assessment.
         NB: This is not marked as required field via "validate_required", because the message is
          used in the context of creating a new assessment, where the ID is not known.
         
        optional string assessment_id = 1;
        Specified by:
        getAssessmentIdBytes in interface Assessments.AssessmentOrBuilder
        Returns:
        The bytes for assessmentId.
      • setAssessmentId

        public Assessments.Assessment.Builder setAssessmentId​(java.lang.String value)
         Unique ID of the assessment.
         NB: This is not marked as required field via "validate_required", because the message is
          used in the context of creating a new assessment, where the ID is not known.
         
        optional string assessment_id = 1;
        Parameters:
        value - The assessmentId to set.
        Returns:
        This builder for chaining.
      • clearAssessmentId

        public Assessments.Assessment.Builder clearAssessmentId()
         Unique ID of the assessment.
         NB: This is not marked as required field via "validate_required", because the message is
          used in the context of creating a new assessment, where the ID is not known.
         
        optional string assessment_id = 1;
        Returns:
        This builder for chaining.
      • setAssessmentIdBytes

        public Assessments.Assessment.Builder setAssessmentIdBytes​(com.google.protobuf.ByteString value)
         Unique ID of the assessment.
         NB: This is not marked as required field via "validate_required", because the message is
          used in the context of creating a new assessment, where the ID is not known.
         
        optional string assessment_id = 1;
        Parameters:
        value - The bytes for assessmentId to set.
        Returns:
        This builder for chaining.
      • hasAssessmentName

        public boolean hasAssessmentName()
         Name of the assessment. The name must not contain ".".
         
        optional string assessment_name = 2 [(.mlflow.validate_required) = true];
        Specified by:
        hasAssessmentName in interface Assessments.AssessmentOrBuilder
        Returns:
        Whether the assessmentName field is set.
      • getAssessmentName

        public java.lang.String getAssessmentName()
         Name of the assessment. The name must not contain ".".
         
        optional string assessment_name = 2 [(.mlflow.validate_required) = true];
        Specified by:
        getAssessmentName in interface Assessments.AssessmentOrBuilder
        Returns:
        The assessmentName.
      • getAssessmentNameBytes

        public com.google.protobuf.ByteString getAssessmentNameBytes()
         Name of the assessment. The name must not contain ".".
         
        optional string assessment_name = 2 [(.mlflow.validate_required) = true];
        Specified by:
        getAssessmentNameBytes in interface Assessments.AssessmentOrBuilder
        Returns:
        The bytes for assessmentName.
      • setAssessmentName

        public Assessments.Assessment.Builder setAssessmentName​(java.lang.String value)
         Name of the assessment. The name must not contain ".".
         
        optional string assessment_name = 2 [(.mlflow.validate_required) = true];
        Parameters:
        value - The assessmentName to set.
        Returns:
        This builder for chaining.
      • clearAssessmentName

        public Assessments.Assessment.Builder clearAssessmentName()
         Name of the assessment. The name must not contain ".".
         
        optional string assessment_name = 2 [(.mlflow.validate_required) = true];
        Returns:
        This builder for chaining.
      • setAssessmentNameBytes

        public Assessments.Assessment.Builder setAssessmentNameBytes​(com.google.protobuf.ByteString value)
         Name of the assessment. The name must not contain ".".
         
        optional string assessment_name = 2 [(.mlflow.validate_required) = true];
        Parameters:
        value - The bytes for assessmentName to set.
        Returns:
        This builder for chaining.
      • hasTraceId

        public boolean hasTraceId()
         ID of the trace this assessment is associated with.
         
        optional string trace_id = 3;
        Specified by:
        hasTraceId in interface Assessments.AssessmentOrBuilder
        Returns:
        Whether the traceId field is set.
      • getTraceId

        public java.lang.String getTraceId()
         ID of the trace this assessment is associated with.
         
        optional string trace_id = 3;
        Specified by:
        getTraceId in interface Assessments.AssessmentOrBuilder
        Returns:
        The traceId.
      • getTraceIdBytes

        public com.google.protobuf.ByteString getTraceIdBytes()
         ID of the trace this assessment is associated with.
         
        optional string trace_id = 3;
        Specified by:
        getTraceIdBytes in interface Assessments.AssessmentOrBuilder
        Returns:
        The bytes for traceId.
      • setTraceId

        public Assessments.Assessment.Builder setTraceId​(java.lang.String value)
         ID of the trace this assessment is associated with.
         
        optional string trace_id = 3;
        Parameters:
        value - The traceId to set.
        Returns:
        This builder for chaining.
      • clearTraceId

        public Assessments.Assessment.Builder clearTraceId()
         ID of the trace this assessment is associated with.
         
        optional string trace_id = 3;
        Returns:
        This builder for chaining.
      • setTraceIdBytes

        public Assessments.Assessment.Builder setTraceIdBytes​(com.google.protobuf.ByteString value)
         ID of the trace this assessment is associated with.
         
        optional string trace_id = 3;
        Parameters:
        value - The bytes for traceId to set.
        Returns:
        This builder for chaining.
      • hasSpanId

        public boolean hasSpanId()
         ID of the span if the assessment is for a particular span (optional).
         
        optional string span_id = 4;
        Specified by:
        hasSpanId in interface Assessments.AssessmentOrBuilder
        Returns:
        Whether the spanId field is set.
      • getSpanId

        public java.lang.String getSpanId()
         ID of the span if the assessment is for a particular span (optional).
         
        optional string span_id = 4;
        Specified by:
        getSpanId in interface Assessments.AssessmentOrBuilder
        Returns:
        The spanId.
      • getSpanIdBytes

        public com.google.protobuf.ByteString getSpanIdBytes()
         ID of the span if the assessment is for a particular span (optional).
         
        optional string span_id = 4;
        Specified by:
        getSpanIdBytes in interface Assessments.AssessmentOrBuilder
        Returns:
        The bytes for spanId.
      • setSpanId

        public Assessments.Assessment.Builder setSpanId​(java.lang.String value)
         ID of the span if the assessment is for a particular span (optional).
         
        optional string span_id = 4;
        Parameters:
        value - The spanId to set.
        Returns:
        This builder for chaining.
      • clearSpanId

        public Assessments.Assessment.Builder clearSpanId()
         ID of the span if the assessment is for a particular span (optional).
         
        optional string span_id = 4;
        Returns:
        This builder for chaining.
      • setSpanIdBytes

        public Assessments.Assessment.Builder setSpanIdBytes​(com.google.protobuf.ByteString value)
         ID of the span if the assessment is for a particular span (optional).
         
        optional string span_id = 4;
        Parameters:
        value - The bytes for spanId to set.
        Returns:
        This builder for chaining.
      • hasSource

        public boolean hasSource()
         The source this assessment came from.
         
        optional .mlflow.assessments.AssessmentSource source = 5;
        Specified by:
        hasSource in interface Assessments.AssessmentOrBuilder
        Returns:
        Whether the source field is set.
      • clearSource

        public Assessments.Assessment.Builder clearSource()
         The source this assessment came from.
         
        optional .mlflow.assessments.AssessmentSource source = 5;
      • hasCreateTime

        public boolean hasCreateTime()
         The creation time of this assessment.
         
        optional .google.protobuf.Timestamp create_time = 6;
        Specified by:
        hasCreateTime in interface Assessments.AssessmentOrBuilder
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        public com.google.protobuf.Timestamp getCreateTime()
         The creation time of this assessment.
         
        optional .google.protobuf.Timestamp create_time = 6;
        Specified by:
        getCreateTime in interface Assessments.AssessmentOrBuilder
        Returns:
        The createTime.
      • setCreateTime

        public Assessments.Assessment.Builder setCreateTime​(com.google.protobuf.Timestamp value)
         The creation time of this assessment.
         
        optional .google.protobuf.Timestamp create_time = 6;
      • setCreateTime

        public Assessments.Assessment.Builder setCreateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         The creation time of this assessment.
         
        optional .google.protobuf.Timestamp create_time = 6;
      • mergeCreateTime

        public Assessments.Assessment.Builder mergeCreateTime​(com.google.protobuf.Timestamp value)
         The creation time of this assessment.
         
        optional .google.protobuf.Timestamp create_time = 6;
      • clearCreateTime

        public Assessments.Assessment.Builder clearCreateTime()
         The creation time of this assessment.
         
        optional .google.protobuf.Timestamp create_time = 6;
      • getCreateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
         The creation time of this assessment.
         
        optional .google.protobuf.Timestamp create_time = 6;
      • getCreateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         The creation time of this assessment.
         
        optional .google.protobuf.Timestamp create_time = 6;
        Specified by:
        getCreateTimeOrBuilder in interface Assessments.AssessmentOrBuilder
      • hasLastUpdateTime

        public boolean hasLastUpdateTime()
         The last update time of this assessment.
         
        optional .google.protobuf.Timestamp last_update_time = 7;
        Specified by:
        hasLastUpdateTime in interface Assessments.AssessmentOrBuilder
        Returns:
        Whether the lastUpdateTime field is set.
      • getLastUpdateTime

        public com.google.protobuf.Timestamp getLastUpdateTime()
         The last update time of this assessment.
         
        optional .google.protobuf.Timestamp last_update_time = 7;
        Specified by:
        getLastUpdateTime in interface Assessments.AssessmentOrBuilder
        Returns:
        The lastUpdateTime.
      • setLastUpdateTime

        public Assessments.Assessment.Builder setLastUpdateTime​(com.google.protobuf.Timestamp value)
         The last update time of this assessment.
         
        optional .google.protobuf.Timestamp last_update_time = 7;
      • setLastUpdateTime

        public Assessments.Assessment.Builder setLastUpdateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         The last update time of this assessment.
         
        optional .google.protobuf.Timestamp last_update_time = 7;
      • mergeLastUpdateTime

        public Assessments.Assessment.Builder mergeLastUpdateTime​(com.google.protobuf.Timestamp value)
         The last update time of this assessment.
         
        optional .google.protobuf.Timestamp last_update_time = 7;
      • clearLastUpdateTime

        public Assessments.Assessment.Builder clearLastUpdateTime()
         The last update time of this assessment.
         
        optional .google.protobuf.Timestamp last_update_time = 7;
      • getLastUpdateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getLastUpdateTimeBuilder()
         The last update time of this assessment.
         
        optional .google.protobuf.Timestamp last_update_time = 7;
      • getLastUpdateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder()
         The last update time of this assessment.
         
        optional .google.protobuf.Timestamp last_update_time = 7;
        Specified by:
        getLastUpdateTimeOrBuilder in interface Assessments.AssessmentOrBuilder
      • hasFeedback

        public boolean hasFeedback()
         The feedback on the trace from this assessment.
         
        .mlflow.assessments.Feedback feedback = 9;
        Specified by:
        hasFeedback in interface Assessments.AssessmentOrBuilder
        Returns:
        Whether the feedback field is set.
      • clearFeedback

        public Assessments.Assessment.Builder clearFeedback()
         The feedback on the trace from this assessment.
         
        .mlflow.assessments.Feedback feedback = 9;
      • getFeedbackBuilder

        public Assessments.Feedback.Builder getFeedbackBuilder()
         The feedback on the trace from this assessment.
         
        .mlflow.assessments.Feedback feedback = 9;
      • hasExpectation

        public boolean hasExpectation()
         A representation of the guidelines and/or expected response from the agent.
         
        .mlflow.assessments.Expectation expectation = 10;
        Specified by:
        hasExpectation in interface Assessments.AssessmentOrBuilder
        Returns:
        Whether the expectation field is set.
      • clearExpectation

        public Assessments.Assessment.Builder clearExpectation()
         A representation of the guidelines and/or expected response from the agent.
         
        .mlflow.assessments.Expectation expectation = 10;
      • getExpectationBuilder

        public Assessments.Expectation.Builder getExpectationBuilder()
         A representation of the guidelines and/or expected response from the agent.
         
        .mlflow.assessments.Expectation expectation = 10;
      • hasRationale

        public boolean hasRationale()
         Justification for the assessment.
         
        optional string rationale = 11;
        Specified by:
        hasRationale in interface Assessments.AssessmentOrBuilder
        Returns:
        Whether the rationale field is set.
      • getRationale

        public java.lang.String getRationale()
         Justification for the assessment.
         
        optional string rationale = 11;
        Specified by:
        getRationale in interface Assessments.AssessmentOrBuilder
        Returns:
        The rationale.
      • getRationaleBytes

        public com.google.protobuf.ByteString getRationaleBytes()
         Justification for the assessment.
         
        optional string rationale = 11;
        Specified by:
        getRationaleBytes in interface Assessments.AssessmentOrBuilder
        Returns:
        The bytes for rationale.
      • setRationale

        public Assessments.Assessment.Builder setRationale​(java.lang.String value)
         Justification for the assessment.
         
        optional string rationale = 11;
        Parameters:
        value - The rationale to set.
        Returns:
        This builder for chaining.
      • clearRationale

        public Assessments.Assessment.Builder clearRationale()
         Justification for the assessment.
         
        optional string rationale = 11;
        Returns:
        This builder for chaining.
      • setRationaleBytes

        public Assessments.Assessment.Builder setRationaleBytes​(com.google.protobuf.ByteString value)
         Justification for the assessment.
         
        optional string rationale = 11;
        Parameters:
        value - The bytes for rationale to set.
        Returns:
        This builder for chaining.
      • hasError

        @Deprecated
        public boolean hasError()
        Deprecated.
         [Deprecated, use the ``error`` field in ``feedback`` instead]
         An error encountered while computing the assessment.
         
        optional .mlflow.assessments.AssessmentError error = 12 [deprecated = true];
        Specified by:
        hasError in interface Assessments.AssessmentOrBuilder
        Returns:
        Whether the error field is set.
      • getError

        @Deprecated
        public Assessments.AssessmentError getError()
        Deprecated.
         [Deprecated, use the ``error`` field in ``feedback`` instead]
         An error encountered while computing the assessment.
         
        optional .mlflow.assessments.AssessmentError error = 12 [deprecated = true];
        Specified by:
        getError in interface Assessments.AssessmentOrBuilder
        Returns:
        The error.
      • setError

        @Deprecated
        public Assessments.Assessment.Builder setError​(Assessments.AssessmentError value)
        Deprecated.
         [Deprecated, use the ``error`` field in ``feedback`` instead]
         An error encountered while computing the assessment.
         
        optional .mlflow.assessments.AssessmentError error = 12 [deprecated = true];
      • setError

        @Deprecated
        public Assessments.Assessment.Builder setError​(Assessments.AssessmentError.Builder builderForValue)
        Deprecated.
         [Deprecated, use the ``error`` field in ``feedback`` instead]
         An error encountered while computing the assessment.
         
        optional .mlflow.assessments.AssessmentError error = 12 [deprecated = true];
      • mergeError

        @Deprecated
        public Assessments.Assessment.Builder mergeError​(Assessments.AssessmentError value)
        Deprecated.
         [Deprecated, use the ``error`` field in ``feedback`` instead]
         An error encountered while computing the assessment.
         
        optional .mlflow.assessments.AssessmentError error = 12 [deprecated = true];
      • clearError

        @Deprecated
        public Assessments.Assessment.Builder clearError()
        Deprecated.
         [Deprecated, use the ``error`` field in ``feedback`` instead]
         An error encountered while computing the assessment.
         
        optional .mlflow.assessments.AssessmentError error = 12 [deprecated = true];
      • getErrorBuilder

        @Deprecated
        public Assessments.AssessmentError.Builder getErrorBuilder()
        Deprecated.
         [Deprecated, use the ``error`` field in ``feedback`` instead]
         An error encountered while computing the assessment.
         
        optional .mlflow.assessments.AssessmentError error = 12 [deprecated = true];
      • getMetadataCount

        public int getMetadataCount()
        Description copied from interface: Assessments.AssessmentOrBuilder
         Additional metadata describing the assessment and store additional information,
         such as the chunk relevance chunk_index. This metadata is required to be JSON-serializable.
         
        map<string, string> metadata = 13;
        Specified by:
        getMetadataCount in interface Assessments.AssessmentOrBuilder
      • containsMetadata

        public boolean containsMetadata​(java.lang.String key)
         Additional metadata describing the assessment and store additional information,
         such as the chunk relevance chunk_index. This metadata is required to be JSON-serializable.
         
        map<string, string> metadata = 13;
        Specified by:
        containsMetadata in interface Assessments.AssessmentOrBuilder
      • getMetadataMap

        public java.util.Map<java.lang.String,​java.lang.String> getMetadataMap()
         Additional metadata describing the assessment and store additional information,
         such as the chunk relevance chunk_index. This metadata is required to be JSON-serializable.
         
        map<string, string> metadata = 13;
        Specified by:
        getMetadataMap in interface Assessments.AssessmentOrBuilder
      • getMetadataOrDefault

        public java.lang.String getMetadataOrDefault​(java.lang.String key,
                                                     java.lang.String defaultValue)
         Additional metadata describing the assessment and store additional information,
         such as the chunk relevance chunk_index. This metadata is required to be JSON-serializable.
         
        map<string, string> metadata = 13;
        Specified by:
        getMetadataOrDefault in interface Assessments.AssessmentOrBuilder
      • getMetadataOrThrow

        public java.lang.String getMetadataOrThrow​(java.lang.String key)
         Additional metadata describing the assessment and store additional information,
         such as the chunk relevance chunk_index. This metadata is required to be JSON-serializable.
         
        map<string, string> metadata = 13;
        Specified by:
        getMetadataOrThrow in interface Assessments.AssessmentOrBuilder
      • removeMetadata

        public Assessments.Assessment.Builder removeMetadata​(java.lang.String key)
         Additional metadata describing the assessment and store additional information,
         such as the chunk relevance chunk_index. This metadata is required to be JSON-serializable.
         
        map<string, string> metadata = 13;
      • getMutableMetadata

        @Deprecated
        public java.util.Map<java.lang.String,​java.lang.String> getMutableMetadata()
        Deprecated.
        Use alternate mutation accessors instead.
      • putMetadata

        public Assessments.Assessment.Builder putMetadata​(java.lang.String key,
                                                          java.lang.String value)
         Additional metadata describing the assessment and store additional information,
         such as the chunk relevance chunk_index. This metadata is required to be JSON-serializable.
         
        map<string, string> metadata = 13;
      • putAllMetadata

        public Assessments.Assessment.Builder putAllMetadata​(java.util.Map<java.lang.String,​java.lang.String> values)
         Additional metadata describing the assessment and store additional information,
         such as the chunk relevance chunk_index. This metadata is required to be JSON-serializable.
         
        map<string, string> metadata = 13;
      • hasOverrides

        public boolean hasOverrides()
         The ID of the assessment which this assessment overrides.
         
        optional string overrides = 14;
        Specified by:
        hasOverrides in interface Assessments.AssessmentOrBuilder
        Returns:
        Whether the overrides field is set.
      • getOverrides

        public java.lang.String getOverrides()
         The ID of the assessment which this assessment overrides.
         
        optional string overrides = 14;
        Specified by:
        getOverrides in interface Assessments.AssessmentOrBuilder
        Returns:
        The overrides.
      • getOverridesBytes

        public com.google.protobuf.ByteString getOverridesBytes()
         The ID of the assessment which this assessment overrides.
         
        optional string overrides = 14;
        Specified by:
        getOverridesBytes in interface Assessments.AssessmentOrBuilder
        Returns:
        The bytes for overrides.
      • setOverrides

        public Assessments.Assessment.Builder setOverrides​(java.lang.String value)
         The ID of the assessment which this assessment overrides.
         
        optional string overrides = 14;
        Parameters:
        value - The overrides to set.
        Returns:
        This builder for chaining.
      • clearOverrides

        public Assessments.Assessment.Builder clearOverrides()
         The ID of the assessment which this assessment overrides.
         
        optional string overrides = 14;
        Returns:
        This builder for chaining.
      • setOverridesBytes

        public Assessments.Assessment.Builder setOverridesBytes​(com.google.protobuf.ByteString value)
         The ID of the assessment which this assessment overrides.
         
        optional string overrides = 14;
        Parameters:
        value - The bytes for overrides to set.
        Returns:
        This builder for chaining.
      • hasValid

        public boolean hasValid()
         Whether this assessment is valid (i.e. has not been superseded)
         defaults to true, and is set to false if a new superseding assessment
         is created.
         
        optional bool valid = 15 [default = true];
        Specified by:
        hasValid in interface Assessments.AssessmentOrBuilder
        Returns:
        Whether the valid field is set.
      • getValid

        public boolean getValid()
         Whether this assessment is valid (i.e. has not been superseded)
         defaults to true, and is set to false if a new superseding assessment
         is created.
         
        optional bool valid = 15 [default = true];
        Specified by:
        getValid in interface Assessments.AssessmentOrBuilder
        Returns:
        The valid.
      • setValid

        public Assessments.Assessment.Builder setValid​(boolean value)
         Whether this assessment is valid (i.e. has not been superseded)
         defaults to true, and is set to false if a new superseding assessment
         is created.
         
        optional bool valid = 15 [default = true];
        Parameters:
        value - The valid to set.
        Returns:
        This builder for chaining.
      • clearValid

        public Assessments.Assessment.Builder clearValid()
         Whether this assessment is valid (i.e. has not been superseded)
         defaults to true, and is set to false if a new superseding assessment
         is created.
         
        optional bool valid = 15 [default = true];
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final Assessments.Assessment.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<Assessments.Assessment.Builder>
      • mergeUnknownFields

        public final Assessments.Assessment.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<Assessments.Assessment.Builder>